Use of missing() makes catalogueExport a little harder to use

Currently the catalogueExport function uses the built-in R function missing() to check for non-default function arguments:
 if (!missing(analysisIds)) {

This is in contrast to checking the argument's value:
 if (analysisIds != "") {

This makes life a bit harder for code that calls catalogueExport because you can't do something like this:
config <- loadConfig()
catalogueExport(
    config$connectionDetails,
    cdmDatabaseSchema = config$cdmSchema,
    analysisIds = config$analysisIds
)

...because no possible value of config$analysisIds can specify that you want the default behavior (where no analysisIds argument was specified).
I've tried using substitute() to make an argument appear to be missing, but then that masks the default value of analysisIds from the catalogueExport function definition.
I can use conditionals to build up a list of function arguments and pass that via do.call but that makes the code a bit less clear and it fixes my problem but leaves it for other people.
How would you feel about a PR that replaces missing() checks with value checks?
The current uses of missing():

https://github.com/EHDEN/CatalogueExport/blob/066b8e7005890ae916e19a92a61c815e1fec7ff8/R/CatalogueExport.R#L114
https://github.com/EHDEN/CatalogueExport/blob/066b8e7005890ae916e19a92a61c815e1fec7ff8/R/CatalogueExport.R#L142
https://github.com/EHDEN/CatalogueExport/blob/066b8e7005890ae916e19a92a61c815e1fec7ff8/R/CatalogueExport.R#L151

BTW here's an article/video from a prominent R developer (former Rstudio employee, current senior engineer at Netflix, fromer bioconductor core dev) which recommends not using missing() for this purpose  https://www.jimhester.com/post/2019-04-17-missing/

Good point. If I summarise: the default values in the catalogueExport are never used. If not user-provided, they will be overridden by whatever is in the if-body.
If you can open a PR, that would be great. Thanks already for all the detailed info!

thanks I'll get a PR in this week


Add admin pages tests

Current coverage is 93.17% (diff: 100%)

Merging #54 into master will increase coverage by 3.03%

@@             master        #54   diff @@
==========================================
  Files            11         11
  Lines           659        659
  Methods           0          0
  Messages          0          0
  Branches         78         78
==========================================
+ Hits            594        614    +20
+ Misses           51         32    -19
+ Partials         14         13     -1

Powered by Codecov. Last update b0e71ca...5d35a1c


EDU-1074 Simplify password reset form

Closes https://educandu.atlassian.net/browse/EDU-1074

Nice that all account related pages now use the panel display :heart_eyes:


Delete devices automatically from C8y in a system test workflow

As a thin-edge tester,
I want to automatically delete devices from C8y before we start a test run,
So that we always start with a clean environment in C8y.
As a side effect, we need to automatically derive the Cumulocity ID after the first connect via REST.
Open question so far is, if we want to store the ID on the device (e.g. in a file) or if we request the ID when needed in a workflow.
Note: Work is already half done and needs to be refactored and

PR is here https://github.com/thin-edge/thin-edge.io/pull/839 (Draft)


Ability to customize commandCenter width

Within VS Code, I would like to be able to expand the width of the new commandCenter functionality. Currently there are file names which are longer than the width of the bar, and it is limited to only seeing some information, which is limiting. I was previously using a Monkey Patch to be able to expand the width.
Thanks!

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Cannot reconnect. Please reload the window.

Web Browser: Firefox 68.10.0esr (64-bit)
OS: Debian GNU/Linux 10 (buster)
code-server --version: 3.4.1

When I build release package following the steps from CONTRIBUTING.md and try to run release-standalone/code-server I have the same situation as here: https://github.com/cdr/code-server/issues/1227 - the server runs and I can access it from the browser, but basically I cannot do anything because after a second or two I get "Cannot reconnect. Please reload the window." error.
 Will give up now!  Code:  0  Signal:  null abstractExtensionService.ts:166:10
    _onExtensionHostCrashed abstractExtensionService.ts:166
    _onExtensionHostCrashOrExit abstractExtensionService.ts:158
    _startExtensionHosts abstractExtensionService.ts:148
    fire event.ts:587
    _onExtHostConnectionLost remoteExtensionHost.ts:201
    start remoteExtensionHost.ts:134
    fire event.ts:587
    fire ipc.net.ts:453
    acceptDisconnect ipc.net.ts:708
    x remoteAgentConnection.ts:542
    _gotoPermanentFailure remoteAgentConnection.ts:481
    triggerPermanentFailure remoteAgentConnection.ts:356
    triggerPermanentFailure remoteAgentConnection.ts:356
    _runReconnectingLoop remoteAgentConnection.ts:444
The connection to ws://localhost:8080/?type=Management&reconnectionToken=6bd470be-6961-47e5-bb82-32c20b86d20f&reconnection=false&skipWebSocketFrames=false was interrupted while the page was loading. browserSocketFactory.ts:162:30
Error received from starting extension host extensionHostManager.ts:72:12
    _proxy extensionHostManager.ts:72
timeout extensionHostManager.ts:73:12
    _proxy extensionHostManager.ts:73

Could you post the output from code-server? Usually this is because VS Code is crashing and the output should explain why.

Sometimes I think this can happen if using a reverse proxy that isn't set up to handle websockets.

***** This script will soon be removed!
***** See the release notes at https://github.com/cdr/code-server/releases/tag/v3.4.0
info  Using config file ~/.config/code-server/config.yaml
debug parsed command line {"args":{"_":[],"bind-addr":"<IP_ADDRESS>:8080","auth":"password","password":"8f296ab4f862ff3288f0c96d"}}
debug spawned inner process 26157
debug parsed command line {"args":{"_":[],"log":"debug"}}
debug parsed command line {"args":{"_":[],"bind-addr":"<IP_ADDRESS>:8080","auth":"password","password":"8f296ab4f862ff3288f0c96d"}}
debug wrapper 26132 received message from 26157 {"message":{"type":"handshake"}}
debug inner process 26157 received message from 26132 {"message":{"type":"handshake"}}
info  Using user-data-dir ~/.local/share/code-server
info  code-server 3.4.1 fb9ebeb7aa6a6b88f8711860a8416a2230dd1531
info  HTTP server listening on http://<IP_ADDRESS>:8080
info      - Using password from ~/.config/code-server/config.yaml
info      - To disable use `--auth none`
info    - Not serving HTTPS
debug forking vs code...
debug got message from vs code {"message":{"type":"ready"}}
debug setting up vs code...
debug vscode got message from code-server {"message":{"type":"init","id":"noz3r0ppnIwdKEHZeQFq2EY3","options":{"args":{"_":[],"bind-addr":"<IP_ADDRESS>:8080","auth":"password","password":"8f296ab4f862ff3288f0c96d","log":"debug","verbose":false,"config":"/home/efengler/.config/code-server/config.yaml","user-data-dir":"/home/efengler/.local/share/code-server","extensions-dir":"/home/efengler/.local/share/code-server/extensions"},"remoteAuthority":"localhost:8080"}}}
debug got message from vs code {"message":{"type":"options","id":"noz3r0ppnIwdKEHZeQFq2EY3","options":{"workbenchWebConfiguration":{"remoteAuthority":"localhost:8080","logLevel":1,"workspaceProvider":{"payload":[["userDataPath","/home/efengler/.local/share/code-server"]]}},"remoteUserDataUri":{"$mid":1,"path":"/home/efengler/.local/share/code-server","scheme":"vscode-remote","authority":"localhost:8080"},"productConfiguration":{"nameShort":"Code - OSS","nameLong":"Code - OSS","applicationName":"code-oss","dataFolderName":".vscode-oss","win32MutexName":"vscodeoss","licenseName":"MIT","licenseUrl":"https://github.com/Microsoft/vscode/blob/master/LICENSE.txt","win32DirName":"Microsoft Code OSS","win32NameVersion":"Microsoft Code OSS","win32RegValueName":"CodeOSS","win32AppId":"{{E34003BB-9E10-4501-8C11-BE3FAA83F23F}","win32x64AppId":"{{D77B7E06-80BA-4137-BCF4-654B95CCEBC5}","win32arm64AppId":"{{D1ACE434-89C5-48D1-88D3-E2991DF85475}","win32UserAppId":"{{C6065F05-9603-4FC4-8101-B9781A25D88E}","win32x64UserAppId":"{{C6065F05-9603-4FC4-8101-B9781A25D88E}","win32arm64UserAppId":"{{3AEBF0C8-F733-4AD4-BADE-FDB816D53D7B}","win32AppUserModelId":"Microsoft.CodeOSS","win32ShellNameShort":"C&ode - OSS","darwinBundleIdentifier":"com.visualstudio.code.oss","linuxIconName":"com.visualstudio.code.oss","licenseFileName":"LICENSE.txt","reportIssueUrl":"https://github.com/cdr/code-server/issues/new","urlProtocol":"code-oss","extensionAllowedProposedApi":["ms-vscode.vscode-js-profile-flame","ms-vscode.vscode-js-profile-table","ms-vscode.references-view"],"builtInExtensions":[{"name":"ms-vscode.node-debug","version":"1.44.7","repo":"https://github.com/Microsoft/vscode-node-debug","metadata":{"id":"b6ded8fb-a0a0-4c1c-acbd-ab2a3bc995a6","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.node-debug2","version":"1.42.5","repo":"https://github.com/Microsoft/vscode-node-debug2","metadata":{"id":"36d19e17-7569-4841-a001-947eb18602b2","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.references-view","version":"0.0.60","repo":"https://github.com/Microsoft/vscode-reference-view","metadata":{"id":"dc489f46-520d-4556-ae85-1f9eab3c412d","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.js-debug-companion","version":"1.0.2","repo":"https://github.com/microsoft/vscode-js-debug-companion","metadata":{"id":"99cb0b7f-7354-4278-b8da-6cc79972169d","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.js-debug","version":"1.47.3","repo":"https://github.com/Microsoft/vscode-js-debug","metadata":{"id":"25629058-ddac-4e17-abba-74678e126c5d","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.vscode-js-profile-table","version":"0.0.6","repo":"https://github.com/Microsoft/vscode-js-debug","metadata":{"id":"7e52b41b-71ad-457b-ab7e-0620f1fc4feb","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}}],"commit":"fb9ebeb7aa6a6b88f8711860a8416a2230dd1531","date":"2020-07-16T08:47:20Z","version":"1.47.0","extensionsGallery":{"serviceUrl":"https://extensions.coder.com/api","itemUrl":"","controlUrl":"","recommendationsUrl":""}},"nlsConfiguration":{"locale":"en","availableLanguages":{}},"commit":"fb9ebeb7aa6a6b88f8711860a8416a2230dd1531"}}}
debug vscode got message from code-server {"message":{"type":"socket","query":{"type":"Management","reconnectionToken":"06cc94bd-787b-4ba8-a4d8-a7b8743a35a3","reconnection":"false","skipWebSocketFrames":"false"}}}
debug vscode got message from code-server {"message":{"type":"socket","query":{"type":"ExtensionHost","reconnectionToken":"49c6e0f1-e560-4590-b6b6-cf4a8313201c","reconnection":"false","skipWebSocketFrames":"false"}}}
debug vscode got message from code-server {"message":{"type":"socket","query":{"type":"ExtensionHost","reconnectionToken":"49c6e0f1-e560-4590-b6b6-cf4a8313201c","reconnection":"true","skipWebSocketFrames":"false"}}}

Is happening to me too, I'm on Catalina and latest code-server master/raw. Compiled successfully, and except some issue where if fsevents was  less than 1.1.13 It would fail ... but still complete the build (seems common with node > 11 and fsevents < 1.1.13).
I don't see errors in my server' logs, and the client (ui) is saying that the WebSocke the token is invalid...

Interesting, it looks like only the extension host is crashing then.
Is there anything in the VS Code logs? Should be in ~/.local/share/code-server/logs/[date].
Are y'all building and running on the same machine or building on one machine and then running on another? Could be some kind of libc issue.

Hi, this the output on a fresh raw/mainstream:
➜ tail -fn 10000 ~/.local/share/code-server/logs/20200720T185022/remoteagent.log
[2020-07-20 18:50:25.184] [remoteagent] [error] /Users/daddye/.local/share/code-server/extensions {"errno":-2,"code":"ENOENT","syscall":"scandir","path":"/Users/daddye/.local/share/code-server/extensions"}
[2020-07-20 18:50:52.426] [remoteagent] [error] [File Watcher (node.js)] Error: ENOENT: no such file or directory, stat '/Users/daddye/.local/share/code-server/User/snippets'
[2020-07-20 18:50:52.426] [remoteagent] [error] [File Watcher (node.js)] Error: ENOENT: no such file or directory, stat '/Users/daddye/.local/share/code-server/User/snippets'
[2020-07-20 18:50:53.979] [remoteagent] [error] Extension host stderr internal/modules/cjs/loader.js:969
  throw err;
  ^

Error: Cannot find module './bootstrap-node'
Require stack:
- /Users/daddye/code-server/release-standalone/lib/vscode/out/bootstrap-fork.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
    at Function.Module._load (internal/modules/cjs/loader.js:842:27)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/Users/daddye/code-server/release-standalone/lib/vscode/out/bootstrap-fork.js:5:67)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/daddye/code-server/release-standalone/lib/vscode/out/bootstrap-fork.js'
  ]
}

I'm building and running on the same machine

Ahhh found the issue, thank you both for reporting and debugging. Will have a fix soon.

I pushed a fix, please let me know if it works. Thanks again!

I pushed a fix, please let me know if it works. Thanks again!
Confirming that fixed the issue! Thank you!

Hi @code-asher! Thanks for the fix. I’m still seeing the error in 3.4.1 installed last night via yarn. I’m on a Raspberry Pi 4b and have https set up with caddy. I’ll look at the logs and try to upload later. I was just wondering if you know whether the fix made it into the versions compile via yarn.

@code-asher I built code-server with yarn per the guide and I was running into this error message. It seems to be working now though so nothing to report. I lost the logs because I have it running in a docker container that I’ve rebuilt a few times since seeing the error. I’ll post logs if I see the issue again.
I have this running on a Raspberry Pi 4b in a docker container with https running on top of the Ubuntu Eoan image. It took a while to figure out the right OS that would be compatible with everything but it’s working great now.
I only wish the Microsoft’s Remote Containers extension was allowed and that scrolling would work from the Magic Keyboard’s trackpad on the iPad Pro.
Thanks for the great work!


feat: bump to gateway api v0.7.0-rc1

Carries foward https://github.com/envoyproxy/gateway/pull/1266 so upstream can get some feedback on the rc release

Disables mesh conformance tests recently introduced

Relates to https://github.com/envoyproxy/gateway/issues/1267

blocked on https://github.com/kubernetes-sigs/controller-runtime/issues/2295


How to make after a tap on the chart point, popup text will display without disappearance

Is it possible to make after a tap on the chart point, popup text will display without disappearance? Especially on Line Chart.
And hide the popup text when you tap on the chart again? How to do it?

You can implement it yourself in your project by overriding touch behaviors.
Check this sample.

You can implement it yourself in your project by overriding touch behaviors.
Check this sample.


configuration about consul config

Describe the bug
I want to user consul config instead of cloud config . but it seemed not flexible.
Sample
there is a yml configuration:

application:
  name: myTest
spring:
  cloud:
    consul:
      config:
        enabled: true
        format: yaml
        prefix: config/local
        data-key: data

maybe you have two requests to consul like:

http://localhost:8500/v1/kv/config/local/myTest/?recurse&token=blablabla

if i config data2 in myTest/ and the response like this:
[
{
"LockIndex": 0,
"Key": "config/local/myTest/data",
"Flags": 0,
"Value": "dGVzdDogdGVzdA==",
"CreateIndex": 949,
"ModifyIndex": 949
},
{
"LockIndex": 0,
"Key": "config/local/myTest/data2",
"Flags": 0,
"Value": "dGVzdDI6IHRlc3Qy",
"CreateIndex": 1091,
"ModifyIndex": 1091
}
]

how can i active both data and data2?
ps: this is you how to handle data-key in org.springframework.cloud.consul.config.ConsulPropertySource:
for (GetValue getValue : values) {
			String key = getValue.getKey().replace(this.context, "");
			if (this.configProperties.getDataKey().equals(key)) {
				parseValue(getValue, format);
			}
		}

Duplicates #450


Mccalluc/do not use GitHub pages

Just pushed a fresh demo, so I was reminded of some vestigial code around github-pages. Does this look good now?
Before merging, it should be turned off in the repo settings... I just wanted to check with you to see if there's any reason we should keep it?

Were the docs what was hosted on the pages? Just trying to understand what go deleted/why?

We were never really using the github pages: There's a placeholder there, with just a "hello world" example, and a second page which redirected to the current deploy.

@ilan-gold : Is this good, or are there other questions?

Sorry - saw the last message but forgot to hit approve, yes this is ok.


[refactor](rpc fn) decouple vectorized remote function from row-based one

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 36.12 seconds
load time: 493 seconds
storage size:<PHONE_NUMBER>1 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230112135149_clickbench_pr_78786.html


WebMockManticoreClient#response_object_for incorrectly invokes call

WebMockManticoreClient#response_object_for overrides Manticore::Client#response_object_for.
WebMockManticoreClient#response_object_for invokes the call method on the response object, whereas Manticore::Client#response_object_for returns a response object without invoking the call method.
Implementations that depend on the behavior of the actual Manticore::Client may end up receiving an Already called error.

Closed by https://github.com/bblimke/webmock/pull/811


Make sure GetObjectDescription falls back to the Objective-C runtime.

This fixes an unintended regression introduced by
https://reviews.llvm.org/D61451 by making sure the Objective-C runtime
is also tried when the "correct" language runtime failed to return an
object description.
rdar://problem/50791055
Differential Revision: https://reviews.llvm.org/D62015
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@360929 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 109c11f1afcc6a82325aa1ab8d61ceef3e8fafcb)

@swift-ci test and merge

@swift-ci test and merge

@swift-ci test and merge


Fix a typo in the filename of the python requirements file

Description
Rename examples/python/{requirments.txt => requirements.txt}
Type of change

[x] Code cleanup

Nice catch. Thank you so much!


Google Authentication using firebase

Is your proposal related to a problem?
when users have difficulty signing up or logging into applications due to the complexity of creating and remembering passwords. This often leads to user abandonment and lower engagement with the app.
Describe the solution you'd like
I would like to implement Google Authentication using Firebase in my application. This would allow users to log in quickly and securely using their Google accounts, simplifying the authentication process and improving user experience.
(Write your answer here.)
Requirement/Document

(Share it here.)

@subhadipbhowmik could you please assign this issue to me


Could we use tensorboard to visualize the model?

Hi,
I have noticed that you have used the tensorboard to save and plot the loss and learning_rate as follows:

So I want to ask have you ever used the tensorboard to also save and visualize the details of layers, weights and biases of the model?

details of layers: You can just print the network and it will show the layers
weights and biases: I never visualize them yet


integrate keyprotect root key crn while creating buckets

Test results -
Secret structure
---
apiVersion: v1
data:
  access-key: xxx
  secret-key: xxx
  kp-customer-root-key-crn: <keyprotect-root-key-crn in base64 encoded format>
kind: Secret
metadata:
  name: satstoragesecretkp
type: ibm/ibmc-s3fs

PVC yaml
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: bha-pvc-01
  namespace: default
  annotations:
    ibm.io/auto-create-bucket: "false"
    ibm.io/auto-delete-bucket: "false"
    ibm.io/bucket: "abha-kp-01"
    ibm.io/secret-name: "satstoragesecretkp"
    ibm.io/secret-namespace: "default"
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 10Gi
  storageClassName: ibmc-s3fs-flex-regional

PVC created successfully
$ kubectl get pvc
NAME         STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS              AGE
bha-pvc-01   Bound    pvc-66f8e5ec-7b30-4658-b0b3-b4a4c391b4f7   10Gi       RWO            ibmc-s3fs-flex-regional   104m

test logs -
I0105 12:00:43.109756       1 event.go:282] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"default", Name:"bha-pvc-01", UID:"66f8e5ec-7b30-4658-b0b3-b4a4c391b4f7", APIVersion:"v1", ResourceVersion:"27232324", FieldPath:""}): type: 'Normal' reason: 'Provisioning' External provisioner is provisioning volume for claim "default/bha-pvc-01"
{"level":"info","ts":"2023-01-05T12:00:43.110Z","caller":"provisioner/ibm-s3fs-provisioner.go:454","msg":"bha-pvc-01:cdib6s7d0lkcjp42qru0:Provisioning storage with these spec","requestID":"adba6dc3-c779-468e-92e8-d4902262afd2"}
{"level":"info","ts":"2023-01-05T12:00:43.110Z","caller":"provisioner/ibm-s3fs-provisioner.go:455","msg":"bha-pvc-01:cdib6s7d0lkcjp42qru0:PVC Details: ","requestID":"adba6dc3-c779-468e-92e8-d4902262afd2","pvc":"pvc-66f8e5ec-7b30-4658-b0b3-b4a4c391b4f7"}
{"level":"info","ts":"2023-01-05T12:00:43.110Z","caller":"provisioner/ibm-s3fs-provisioner.go:231","msg":"bha-pvc-01:cdib6s7d0lkcjp42qru0:validate annotations and assign default values to annotations","requestID":"9490ddba-635e-49da-bde6-babc5643b371"}
{"level":"info","ts":"2023-01-05T12:00:43.135Z","caller":"provisioner/ibm-s3fs-provisioner.go:510","msg":"bha-pvc-01:cdib6s7d0lkcjp42qru0 ConfigBucketAccessPolicy: false, SetQuotaLimit: false","requestID":"adba6dc3-c779-468e-92e8-d4902262afd2"}
{"level":"info","ts":"2023-01-05T12:00:43.135Z","caller":"provisioner/ibm-s3fs-provisioner.go:609","msg":"bha-pvc-01:cdib6s7d0lkcjp42qru0 :creating bucket: abha-kp-01","requestID":"adba6dc3-c779-468e-92e8-d4902262afd2"}
{"level":"info","ts":"2023-01-05T12:00:46.351Z","caller":"provisioner/ibm-s3fs-provisioner.go:711","msg":"bha-pvc-01:cdib6s7d0lkcjp42qru0: acccess mode is.. ","requestID":"adba6dc3-c779-468e-92e8-d4902262afd2","access mode":["ReadWriteOnce"]}
I0105 12:00:46.351921       1 controller.go:1439] provision "default/bha-pvc-01" class "ibmc-s3fs-flex-regional": volume "pvc-66f8e5ec-7b30-4658-b0b3-b4a4c391b4f7" provisioned
I0105 12:00:46.351997       1 controller.go:1456] provision "default/bha-pvc-01" class "ibmc-s3fs-flex-regional": succeeded
I0105 12:00:46.352014       1 volume_store.go:212] Trying to save persistentvolume "pvc-66f8e5ec-7b30-4658-b0b3-b4a4c391b4f7"
I0105 12:00:46.385080       1 volume_store.go:219] persistentvolume "pvc-66f8e5ec-7b30-4658-b0b3-b4a4c391b4f7" saved
I0105 12:00:46.385246       1 event.go:282] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"default", Name:"bha-pvc-01", UID:"66f8e5ec-7b30-4658-b0b3-b4a4c391b4f7", APIVersion:"v1", ResourceVersion:"27232324", FieldPath:""}): type: 'Normal' reason: 'ProvisioningSucceeded' Successfully provisioned volume pvc-66f8e5ec-7b30-4658-b0b3-b4a4c391b4f7

Verified creating a bucket with other secret that doesnt have kp-customer-root-key-crn entry, that works as usual. (No regression)
with the kp secret, if you try to create a pvc with any existing bucket, it fails with below error
I0105 12:42:59.299678       1 event.go:282] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"default", Name:"bha-pvc-03", UID:"f33c82cb-08f2-4c08-9ba0-4fc0480635e7", APIVersion:"v1", ResourceVersion:"27245082", FieldPath:""}): type: 'Warning' reason: 'ProvisioningFailed' failed to provision volume with StorageClass "ibmc-s3fs-flex-regional": bha-pvc-03 : cdib6s7d0lkcjp42qru0 :cannot access bucket amb-csi: NotFound: Not Found

@Bhagyashreek8  Adding couple of scenarios that we have to verify

To make sure we don't log the encryption key [ both valid and error cases ].

KP deletion - usecase1

Create Key Protect Instance with root key
Create Secret  using KP
Create PVC using above secret
Once volume is up -> Delete root Key
Mount a pod to the volume

KP deletion - usecase2

Create Key Protect Instance with root key
Create Secret  using KP
Create PVC using above secret
Once volume is up -> Delete root Key
Create new PVC using same secret and validate the error message

It would be good to document the error messages for troubleshooting for any customer issues.

Verification of above mentioned usecases

We are not logging the keys in any scenario.

create secret with kp-root-key-crn, create pvc.

$ kubectl create -f satStorageSecret.yaml
secret/satstoragesecretkp created
Bhagyashrees-MacBook-Pro-2:keyprotect bhagyashree$
Bhagyashrees-MacBook-Pro-2:keyprotect bhagyashree$
Bhagyashrees-MacBook-Pro-2:keyprotect bhagyashree$ kubectl create -f kp_pvc.yaml
persistentvolumeclaim/bha-pvc-01 created
Bhagyashrees-MacBook-Pro-2:keyprotect bhagyashree$ kubectl get pvc
NAME         STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS              AGE
bha-pvc-01   Bound    pvc-37793345-1220-47ac-85f5-db2fc5b4926f   10Gi       RWO            ibmc-s3fs-flex-regional   6s

Now delete the kp-root-key-crn from the key protect instance.
Now try to create a workload pod using the above PVC. Pod got created but read/write is not happening in the mount path.
$ kubectl exec -it test-pod-kp1 -- /bin/bash
groups: cannot find name for group ID 2000
2000@test-pod-kp1:/$
2000@test-pod-kp1:/$
2000@test-pod-kp1:/$ df -h
Filesystem      Size  Used Avail Use% Mounted on
overlay          98G   71G   22G  77% /
tmpfs            64M     0   64M   0% /dev
tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
shm              64M     0   64M   0% /dev/shm
/dev/vda2        98G   71G   22G  77% /etc/hosts
s3fs             16E     0   16E   0% /mnt/cosvol
tmpfs            13G   24K   13G   1% /run/secrets/kubernetes.io/serviceaccount
tmpfs           7.9G     0  7.9G   0% /proc/acpi
tmpfs           7.9G     0  7.9G   0% /proc/scsi
tmpfs           7.9G     0  7.9G   0% /sys/firmware
2000@test-pod-kp1:/$ cd /mnt/cosvol/
2000@test-pod-kp1:/mnt/cosvol$ ls
2000@test-pod-kp1:/mnt/cosvol$ vi test.txt
2000@test-pod-kp1:/mnt/cosvol$ echo "Hello" > test.txt
2000@test-pod-kp1:/mnt/cosvol$ ls
2000@test-pod-kp1:/mnt/cosvol$ touch test.txt
touch: failed to close 'test.txt': No such file or directory
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$ ls
2000@test-pod-kp1:/mnt/cosvol$ echo "Hello" >> test.txt
2000@test-pod-kp1:/mnt/cosvol$ ls
2000@test-pod-kp1:/mnt/cosvol$

Aslo Key Protect support temporary disable/enable of root keys - https://cloud.ibm.com/docs/key-protect?topic=key-protect-disable-keys&interface=ui
When the key is disabled, it behaves as if the key is deleted and no data associated with the key is accessible.
Restoring deleted keys - https://cloud.ibm.com/docs/key-protect?topic=key-protect-restore-keys&interface=ui

usecase - create a secret with kp-root-key-crn. Delete the root-key. Create a PVC using this secret.
=> Throws error saying The KMS key id was not found.
E0106 09:03:18.959865       1 controller.go:964] Giving up syncing claim "062bf82a-4129-48f2-8983-e7301c6be419" because failures 1 >= threshold 1
E0106 09:03:18.959921       1 controller.go:981] error syncing claim "062bf82a-4129-48f2-8983-e7301c6be419": failed to provision volume with StorageClass "ibmc-s3fs-flex-regional": bha-pvc-02:cdib6s7d0lkcjp42qru0 :cannot create bucket abha-kp-4: InvalidRequest: The KMS key id was not found.
	status code: 400, request id: 69309f7a-3ab5-453a-965d-64597b418235, host id:
I0106 09:03:18.960044       1 event.go:282] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"default", Name:"bha-pvc-02", UID:"062bf82a-4129-48f2-8983-e7301c6be419", APIVersion:"v1", ResourceVersion:"27609366", FieldPath:""}): type: 'Warning' reason: 'ProvisioningFailed' failed to provision volume with StorageClass "ibmc-s3fs-flex-regional": bha-pvc-02:cdib6s7d0lkcjp42qru0 :cannot create bucket abha-kp-4: InvalidRequest: The KMS key id was not found.
	status code: 400, request id: 69309f7a-3ab5-453a-965d-64597b418235, host id:

usecase - create pvc and pod, and then delete the kp-root-key-crn. Now try to access files and write to files from the mounted pod to the bucket.
=> After deleting the root-key-crn, the behavior of read/write to the bucket was not constant(when tested within 5 mins of root-key deletion). Some times it allowed read/write sometimes it threw error.
$ kubectl exec -it test-pod-kp1 -- /bin/bash
groups: cannot find name for group ID 2000
2000@test-pod-kp1:/$ df -h
Filesystem      Size  Used Avail Use% Mounted on
overlay          98G   72G   22G  77% /
tmpfs            64M     0   64M   0% /dev
tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
shm              64M     0   64M   0% /dev/shm
/dev/vda2        98G   72G   22G  77% /etc/hosts
s3fs             16E     0   16E   0% /mnt/cosvol
tmpfs            13G   24K   13G   1% /run/secrets/kubernetes.io/serviceaccount
tmpfs           7.9G     0  7.9G   0% /proc/acpi
tmpfs           7.9G     0  7.9G   0% /proc/scsi
tmpfs           7.9G     0  7.9G   0% /sys/firmware
2000@test-pod-kp1:/$ cd /mnt/cosvol/
2000@test-pod-kp1:/mnt/cosvol$ ls
my.txt	new.txt  test.txt
2000@test-pod-kp1:/mnt/cosvol$ cat my.txt
cos with kp
new write2
root-key-crn deleted and tring edit
2000@test-pod-kp1:/mnt/cosvol$ cat test.txt
hello
2000@test-pod-kp1:/mnt/cosvol$ vi test.txt
E72: Close error on swap file2000@test-pod-kp1:/mnt/cosvol$ cat test.txt
cat: test.txt: No such file or directory
2000@test-pod-kp1:/mnt/cosvol$ ls
my.txt	new.txt  test.txt
2000@test-pod-kp1:/mnt/cosvol$ cat test.txt
cat: test.txt: No such file or directory
2000@test-pod-kp1:/mnt/cosvol$ cat new.txt
new write
2000@test-pod-kp1:/mnt/cosvol$ echo "write2" >> new.txt
2000@test-pod-kp1:/mnt/cosvol$ cat new.txt
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$ ls
my.txt	new.txt  test.txt
2000@test-pod-kp1:/mnt/cosvol$ cat my.txt

cat: my.txt: No such file or directory
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$ cat new.txt
cat: new.txt: No such file or directory
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$ ls
my.txt	new.txt  test.txt
2000@test-pod-kp1:/mnt/cosvol$ cat my.txt
cos with kp
new write2
root-key-crn deleted and tring edit
2000@test-pod-kp1:/mnt/cosvol$ cat new.txt

new write
2000@test-pod-kp1:/mnt/cosvol$

When tried after 30 mins, read/write access was completely revoked
$ kubectl exec -it test-pod-kp1 -- /bin/bash
groups: cannot find name for group ID 2000
2000@test-pod-kp1:/$ cd /mnt/cosvol/
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$ ls
my.txt	new.txt  test.txt
2000@test-pod-kp1:/mnt/cosvol$ cat my.txt
cat: my.txt: No such file or directory
2000@test-pod-kp1:/mnt/cosvol$ cat new.txt
cat: new.txt: No such file or directory
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$ cat test.txt
cat: test.txt: No such file or directory
2000@test-pod-kp1:/mnt/cosvol$ vi my.txt

E72: Close error on swap file2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$ touch 30minslater.txt
touch: failed to close '30minslater.txt': No such file or directory
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$
2000@test-pod-kp1:/mnt/cosvol$ echo  "try write" >> after30mins.txt
2000@test-pod-kp1:/mnt/cosvol$ ls
my.txt	new.txt  test.txt
2000@test-pod-kp1:/mnt/cosvol$


Font resources for a text widget can be in appearance

In file https://github.com/mozilla/pdf.js/files/5249872/product1.pdf, the fifth text widget has a default appearance using font F1 and this one is neither in DR nor in AcroForm but in AP::N::Resources.

Fix in review: https://github.com/mozilla/pdf.js/pull/12394


omittable: true is ignored when set by transform_types

#!/usr/bin/env ruby
gem     'dry-types', '=1.0.0'
gem     'dry-struct', '=1.0.0'
require 'dry-types'
require 'dry-struct'

module MyTypes
  include Dry.Types
end

class Foo < Dry::Struct
  transform_types do |type|
    type.meta(omittable: true)
  end

  attribute :attribute1, MyTypes::String
end

Foo.new

When I run the code above I get a Dry::Types::MissingKeyError on :attribute1 but transform_type sets it to omittable.
Setting attribute :attribute1, MyTypes::String.meta(omittable: true) works.

Please use type.required(false) instead. Setting omittable keys via meta should be done via the new API, however, it wasn't the goal to break the old one. I'll see if I can ship a patch with a warning so that people will know what exactly to update.

Hi,
thanks for the fast response. In my real app, I want to make every optional attribute omittable. Is this the "new API" you refer to?
class MyStruct < Dry::Struct
  transform_types do |type|
    if type.optional?
      type.required(false)
    else
      type
    end
  end
end

class Foo < MyStruct
  attribute :attribute1, MyTypes::String
  attribute :attribute2, MyTypes::String.optional
end

Foo.new(attribute1: "Foo")

Yes, this will work fine. Also, .required(false) == .omittable, choose what you like more.

In 1.1.0 it'll be possible to load a patch restoring old behavior. This patch will later be removed so please migrate
require 'dry/types/compat/omittable_meta'

I changed my mind and replaced the patch with a warning.


Travis

:white_check_mark: Build karma 2836 completed (commit https://github.com/karma-runner/karma/commit/f52d460a9e by @johnjbarton)

:white_check_mark: Build karma 2839 completed (commit https://github.com/karma-runner/karma/commit/c3f4768255 by @johnjbarton)

:white_check_mark: Build karma 2839 completed (commit https://github.com/karma-runner/karma/commit/c3f4768255 by @johnjbarton)

:x: Build karma 2843 failed (commit https://github.com/karma-runner/karma/commit/8d0f9b1690 by @johnjbarton)

:x: Build karma 2843 failed (commit https://github.com/karma-runner/karma/commit/8d0f9b1690 by @johnjbarton)

:white_check_mark: Build karma 2845 completed (commit https://github.com/karma-runner/karma/commit/f54e940610 by @johnjbarton)

:white_check_mark: Build karma 2845 completed (commit https://github.com/karma-runner/karma/commit/f54e940610 by @johnjbarton)

:white_check_mark: Build karma 2848 completed (commit https://github.com/karma-runner/karma/commit/fa55723533 by @johnjbarton)

:white_check_mark: Build karma 2848 completed (commit https://github.com/karma-runner/karma/commit/fa55723533 by @johnjbarton)

:white_check_mark: Build karma 2850 completed (commit https://github.com/karma-runner/karma/commit/1323c6c808 by @johnjbarton)

:white_check_mark: Build karma 2850 completed (commit https://github.com/karma-runner/karma/commit/1323c6c808 by @johnjbarton)

:white_check_mark: Build karma 2852 completed (commit https://github.com/karma-runner/karma/commit/e36bccfa36 by @johnjbarton)

:white_check_mark: Build karma 2852 completed (commit https://github.com/karma-runner/karma/commit/e36bccfa36 by @johnjbarton)

Obsolete, see #3606

Obsolete, see #3606


Allow bindings to non-Polymer element properties.

Polymer can create bindings to published properties of Polymer elements, but it can't create bindings to element properties in general. There should be support in the binding syntax for denoting that an attribute name used in a binding really represents a property, not an attribute, similar to how attribute names starting with "on-" indicated a binding of an event handler.
See this lengthly discussion on polymer-dev@: https://groups.google.com/d/msg/polymer-dev/eAA0SeVu-8E/OO59I6ZyNwEJ
A possible encoding would be a "this.", ".", ":", or "prop-" prefix:
<template>
  <x-not-a-polymer-element this.myproperty="{{ foo }}">
</template>

Closing this issue due to age and the release of version 1 release of Polymer - please feel free to re-open if this is incorrect.


Loaders with same test parameter operate with one source.

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

What is the current behavior?
Loaders with same test param gets source modified by prev loader.
If the current behavior is a bug, please provide the steps to reproduce.
Stackoverflow issue  link https://stackoverflow.com/questions/45349178/webpack-loaders-source
Sandbox to reproduce bug https://github.com/sshmyg/webpack-test
What is the expected behavior?
Different rules with same test should get pure content, not modified prev rule.
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.

MacOS latest
node 7.4.0
npm 4.6.1
webpack latest 3.4.1

This is working as expected. You can apply multiple loaders to a file.
If you don't want this you could use the oneOf rule to enforce only a single match.

@sokra I want to get pure (not medified) content for each loader with same test param. Can you give an advice how to achieve this goal?


Check failed: storage_id >= 0 (-1 vs. 0) Do not support runtime shape op

Hi,
I get an error "Check failed: storage_id >= 0 (-1 vs. 0) Do not support runtime shape op" when deploying nnvm model using C++ API with newest version of libtvm_runtime.so. The source codes are in https://github.com/zhangxinqian/example-of-nnvm-in-cpp/blob/master/cpp_deploy.cc. When it runs to this line "tvm::runtime::Module mod = (*tvm::runtime::Registry::Get("tvm.graph_runtime.create"))(json_data, mod_syslib, device_type, device_id);", the error occurs, which is:
"
terminate called after throwing an instance of 'dmlc::Error'
what():  [04:23:03] src/runtime/graph/graph_runtime.cc:485: Check failed: storage_id >= 0 (-1 vs. 0) Do not support runtime shape op
Stack trace returned 10 entries:
[bt] (0) ./resnet18_v1_dynamic(_ZN4dmlc10StackTraceB5cxx11Ev+0x54) [0x403dd1]
[bt] (1) ./resnet18_v1_dynamic(_ZN4dmlc15LogMessageFatalD1Ev+0x2a) [0x4040b8]
[bt] (2) ../nnvm/tvm/lib/libtvm_runtime.so(_ZN3tvm7runtime12GraphRuntime12SetupStorageEv+0x929) [0x7efeaf0c6279]
[bt] (3) ../nnvm/tvm/lib/libtvm_runtime.so(_ZN3tvm7runtime18GraphRuntimeCreateENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_6ModuleEii+0x2fb) [0x7efeaf0c74bb]
[bt] (4) ../nnvm/tvm/lib/libtvm_runtime.so(+0x928bc) [0x7efeaf0c78bc]
[bt] (5) ./resnet18_v1_dynamic() [0x404cc8]
[bt] (6) ./resnet18_v1_dynamic() [0x404f10]
[bt] (7) ./resnet18_v1_dynamic() [0x402f2d]
[bt] (8) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7efeae6f3830]
[bt] (9) ./resnet18_v1_dynamic() [0x402a59]
"
But the codes work well with old version of libtvm_runtime.so. Then I check file "src/runtime/graph/graph_runtime.cc" and  find the difference in function "void GraphRuntime::SetupStorage()" between two versions. Code changes can be seen in https://github.com/dmlc/tvm/commit/6287a99b9c65ae3a2453047a69d5db73838bd932#diff-5243f3909dfa484d85d3d8471f259169.
Is it a bug or my fault?
Thanks.

please update your nnvm to the latest version in the master

@tqchen Still can't work.

I also encountered this error recently. Updating both TVM and NNVM to the latest version fixed it (see here. You may want to double check the version and perhaps re-make both.

@tqchen @yidawang Thanks for your help. I'v solved the problem by re-generating graph json file, lib model and parameters using the latest nnvm. Because my model was generated by old version of nnvm, it could not work with the latest tvm.


Added tests for RadioButton.

Hi Grommet Team,
I've added tests for the RadioButton.

I believe I've fixed the issue! Can someone please review? Thanks!

Thanks for your contribution!


Added-value of pip-sync over pip install

Hello,
I think I have a good understanding of pip-compile's (incredibly useful) functionality, but I'm having a hard time understanding the benefit of using pip-sync over simply running pip install -r with the requirements.txt file generated by pip-compile.
The README provides an in-depth explanation of what pip-compile does but is pretty brief regarding pip-sync
Thank you!

The main thing is that in addition to installing everything listed in the txt, it uninstalls everything not in the txt (excepting pip-tools itself and its few dependencies).

Thank you for clarifying @AndydeCleyre !


Correct spelling in docs and README

Minor spelling corrections in the docs

Codecov Report

Merging #10 (d1051b0) into master (ccc443e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #10   +/-   ##
=======================================
  Coverage   94.42%   94.42%
=======================================
  Files          14       14
  Lines        1077     1077
=======================================
  Hits         1017     1017
  Misses         60       60

Impacted Files
Coverage Δ

src/automations/flow.py
93.18% <0.00%> (ø)

...automations/management/commands/automation_step.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

Thanks!


[tests-only]scenerio added only for Deutsch and Spanish language (#6523)

This PR back ports https://github.com/owncloud/ocis/pull/6523.
Part of https://github.com/owncloud/ocis/issues/6255

:boom: Acceptance test localApiTests-apiGraph-ocis failed. Further test are cancelled...


Clickhouse driver doesn't working

Sqlpad docker image: latest tag
Clickhouse version: <IP_ADDRESS>
When I try create a new connection using clickhouse driver the connection test fails shown me the error below
403: Code: 516, e.displayText() = DB::Exception: Invalid authentication: it is not allowed to use Authorization HTTP header and authentication via parameters simultaneously (version <IP_ADDRESS> (official build))

I chaged my clickhouse version to <IP_ADDRESS>, but the problem related here #915  remains - the databases and tables doesn't shown in the panel, but them are return in the connections request.
This issue doesn't worked for me #1011

I use the latest sqlpad and thelatestclickhouse, and I test successfully. Look at my connection setup screenshot, and I can query the sql with this connection successfully.
my sqlpad connection setup screenshot:

and my clickhouser server user.xml configuration:
<users>
        <testuser3>
                <password>testplpassword</password>
                <networks incl="networks" replace="replace">
                <ip><IP_ADDRESS>/24</ip>
                <ip><IP_ADDRESS>/8</ip>
                <ip><IP_ADDRESS>/8</ip>
                </networks>
        <profile>default</profile>
        <quota>default</quota>
                 <allow_databases>
                    <database>testu1</database>
                    <database>testu3</database>
                    <database>testu2</database>
                </allow_databases>
            </testuser3>
</users>

@dengc367 It's not working
I keep getting errors:

docker-compose
services:
  sqlpad:
    image: sqlpad/sqlpad:latest
    container_name: sqlpad
    ports:
      - "3001:3000"
    environment:
     SQLPAD_AUTH_DISABLED: "true"
      SQLPAD_AUTH_DISABLED_DEFAULT_ROLE: "admin"
    volumes:
      - sqlpad:/etc/sqlpad/seed-data

  clickhouse:
    container_name: clickhouse
    image: yandex/clickhouse-server:latest
    volumes:
      - $PWD/clickhouse/config/users.xml:/etc/clickhouse-server/users.xml

users.xml
<users>
        <!-- If user name was not specified, 'default' user is used. -->
        <default>
            <password></password>
            <networks>
                <ip>::/0</ip>
            </networks>

            <!-- Settings profile for user. -->
            <profile>default</profile>
        </default>

        <sqlpad>
            <password>sqlpad</password>
            <networks>
                <ip>::/0</ip>
            </networks>

            <!-- Settings profile for user. -->
            <profile>default</profile>
        </sqlpad>
    </users>

@jasondavindev I find the docker version doesn't contain the commit https://github.com/sqlpad/sqlpad/commit/a7c883efea88b6ac965e08963cf1891ecbd5f26f , which is fixed later than the 6.6.0 version. you can test this commit which is now in master branch. @rickbergfalk Please publish a new release from the master branch, if you have time.

I manually built the image and then this worked for me. I'm waiting for the new release for the fix my container image.

Apologies both! I'll tag new release shortly

Docker hub should have updated build shortly under version 6.7.1


[model] implement save best acc logic

[model] implement save best acc logic

This patch implements saving best accuracy when training

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1551. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.


[libmysql] Build error

Package: libmysql[core]:x64-windows -> 8.0.20#9
Host Environment

Host: x64-windows
Compiler: MSVC 19.33.31630.0
vcpkg-tool version: 2022-10-17-3247920fbdd47d08f36cbd480addd9890d3c2435
vcpkg-scripts version: e6a79ac01 2022-11-07 (7 days ago)

To Reproduce
C:\Users\dmn\GitHub\vcpkg>vcpkg install libmysql:x64-windows
Computing installation plan...
The following packages will be built and installed:
    libmysql[core]:x64-windows -> 8.0.20#9
Detecting compiler hash for triplet x64-windows...
Restored 0 package(s) from C:\Users\dmn\AppData\Local\vcpkg\archives in 420.1 us. Use --debug to see more details.
Installing 1/1 libmysql:x64-windows...
Building libmysql[core]:x64-windows...
CMake Error at ports/libmysql/portfile.cmake:2 (message):
  FATAL ERROR: libmysql and libmariadb are incompatible.
Call Stack (most recent call first):
  scripts/ports.cmake:147 (include)

error: building libmysql:x64-windows failed with: BUILD_FAILED
error: Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
    https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libmysql
You can submit a new issue at:
    https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[libmysql]+Build+error
Include '[libmysql] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
    vcpkg-tool version: 2022-10-17-3247920fbdd47d08f36cbd480addd9890d3c2435
    vcpkg-scripts version: e6a79ac01 2022-11-07 (7 days ago)

Please use the prefilled template from C:\Users\dmn\GitHub\vcpkg\installed\vcpkg\issue_body.md when reporting your issue.

C:\Users\dmn\GitHub\vcpkg>

Failure logs
CMake Error at ports/libmysql/portfile.cmake:2 (message):
  FATAL ERROR: libmysql and libmariadb are incompatible.
Call Stack (most recent call first):
  scripts/ports.cmake:147 (include)

Additional context

In vcpkg, you must not use libmariadb and libmysql at the same time. Please remove libmariadb and try again.

Yes! It works.


Fixes  to handling colorization during tests

Let's not expose enable/disable color api... I took best parts from here and integrated to #1117


ZEPPELIN-694 Remove remote option on InterpreterOption

What is this PR for?
Removing some redundant codes for simplifying Zeppelin.
What type of PR is it?
[Refactoring]
Todos

[x] - Remove remote option from InterpreterOption

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-694

How should this be tested?
Users must be able to use Zeppelin without any changes
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

I'll make a new PR after I finish some preceding tasks.


Incompatible with Moonlight Lib

Every Compat 1.20-2.6.57
Origins 1.10.0
Minecraft 1.20.1
The origins:replace_loot_table just causes the loot table to drop nothing.

I just realized this is with any mod that uses Moonlight Lib. (but just moonlight doesnt break anything.)


compatibility of v.0.35.0 and VS Code 1.86.0

Hello,
I'm using VS Code on WSL running Ubuntu 22.04 on Windows 11,
I appréciate using ShellCheck extention, but I had an issue with latest VS Code version 1.86.0
When I try to click on button 'Install in WSL: Ubuntu', notification popup is showing this error message:
Can't install 'timonwong.shellcheck' extension because it is not compatible with the current version of Visual Studio Code (version 1.86.0).
Do you plan to release new ShellCheck extension version?

That's weird. It's working perfectly fine for me, vscode 1.86.1.

Can you please take some screenshots?

https://github.com/vscode-shellcheck/vscode-shellcheck/assets/29582865/785f8ee3-dcba-4e4d-930b-909dd206b07b

That's weird. It's working perfectly fine for me, vscode 1.86.1. Including WSL and Remote SSH.

Can you please take some screenshots?
Thanks for your reply,
I updated VSCode to 1.86.2, then I tried to install it again, and this time it worked!
so guess it worked since 1.86.1 too


Add ODM like mongoosejs

I'd like to propose an Object Document Mapper library added to the dotnet sdk, with functionality similar to the mongoose library for mongo/node ( http://mongoosejs.com/ ) or the morphia library for mongo/java ( https://github.com/mongodb/morphia )
Core functionality of a DDB ODM should include:

Simplified connection methods
Annotation definitions for POCO's
CRUD operations (w/ LINQ support)

It would also be nice to have:

External relationship mapping between objects
Plugin framework

There is already LINQ support. What additional LINQ support would you like?

What do you mean by "annotation definitions for POCOs"? Could you give an example, please.

What do you mean by "Simplified connection methods"? Could you give an example, please.

I meant that the ODM shouldn't break LINQ support, rather complement it

Tags that would be attached to the POCO's to let the ODM know what to do with those fields (e.g. ID, Reference).  Here are the Morphia annotations:
http://mongodb.github.io/morphia/1.0/guides/annotations/

Just like the two MongoDB libraries can be operational with a few lines of code, connecting to DocumentDB should be quick with this library too.  For example, it would be nice if this library would just create a database if it doesn't find the one that is requested.

Ok. Will take it under consideration. As it is not an issue with the current SDK, but a feature request for future could you please vote for this on https://feedback.azure.com/forums/263030-documentdb


[BUG] android_metadata table is not ignored when using validateDatabaseSchema

When I use validateDatabaseSchema(), I get error because the android_metadata table
E/flutter (28772): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: Schema does not match
E/flutter (28772): additional:
E/flutter (28772):  Contains the following unexpected entries: android_metadata
E/flutter (28772):
E/flutter (28772): #0      verify
package:drift_dev/…/schema/verifier_impl.dart:132
E/flutter (28772): #1      VerifySelf.validateDatabaseSchema
package:drift_dev/api/migrations.dart:96
E/flutter (28772): <asynchronous suspension>

I've run into this with some of our tools too - there's also sqlite_sequence where auto-increment metadata is stored, and sqlite_stat1/sqlite_stat4 (depending on sqlite version) where the ANALYZE command writes query planner metadata.

Are you aware of a list for those internal tables? We're ignoring sqlite_autoindex* and any table that starts with $v_ if there's a virtual table named v. I'm wondering if it's safe to just ignore to all tables starting with sqlite_, I guess it is?

Yeah looks like sqlite_% is the right heuristic:

The names of internal schema objects always begin with "sqlite_" and any table, index, view, or trigger whose name begins with "sqlite_" is an internal schema object. SQLite prohibits applications from creating objects whose names begin with "sqlite_".

https://www.sqlite.org/fileformat2.html#storage_of_the_sql_database_schema

Nice find! I've adapted this in 7be4e90569cd5647cfbfe689688c05c677ffd4cb.


[Bug] The documentation is wrong for dashboard creation

Bug report
I'm trying to create some custom admin pages, and was told to copy the dashboard as an example. However in the theme documentation you have this:
cp -i vendor/backpack/theme-tabler/resources/views/dashboard.blade.php resources/views/vendor/backpack/theme-tabler/dashboard.blade.php

But the dashboard.blade.php file doesn't exist at the source to be copied.
What I did
Fresh install, followed instructions as the default Backpack dashboard looks broken.
What I expected to happen
A copying of the dashboard to replace the broken black text on black background of the core dashboard.
What happened
Error cp: vendor/backpack/theme-tabler/resources/views/dashboard.blade.php: No such file or directory
What I've already tried to fix it
Went looking for the file at source but doesn't exist, can't find in theme anywhere, copying the documented Backpack dashboard to the folder specified also doesn't appear to work - nothing happens.

Hello @SilverComet89
Sorry, we will check docs, can you try:
cp -i vendor/backpack/crud/src/resources/views/ui/dashboard.blade.php resources/views/vendor/backpack/ui/dashboard.blade.php

Let me know if you need anything else.
Cheers.

That gives me no change - currently looks like this:

DId you customize the file? can you share the content of file with me please.
Thanks.

That was the key I think - sorry.
cp -i vendor/backpack/crud/src/resources/views/ui/dashboard.blade.php resources/views/vendor/backpack/ui/dashboard.blade.php

does work - though the text being black on black in light mode is pretty rough, I needed to update the content of @content.
So to summarise - the issues that remain are:

The source file in the documentation does not exist at that path.
The source file when copied in is black text on black when using the "light" mode.

Thanks i will take action on this bug.
Cheers.

Hello @SilverComet89 light mode problem will be fixed with this PR https://github.com/Laravel-Backpack/theme-tabler/pull/179
Cheers.

Command issue will be fixed in this https://github.com/Laravel-Backpack/theme-tabler/pull/180
I will close the issue, but please feel free to re-open or create a new one if needed.
Cheers.


HTML in profiles/templates/profiles/show_profile.html missing

There is a closing </div> missing in show_profiles.html:

This isn't immediately obvious until you try a full-width footer ;)

Thanks!


Switch GitHub integration to use Deploy Keys

Is your feature request related to a problem? Please describe.
Switch Github integration from personal access keys to Deployment keys.  This will also limit the access Keptn is getting on a specific GitHub account.  https://developer.github.com/v3/guides/managing-deploy-keys/#deploy-keys

I like the idea, as this restricts the potential issues that one could have when such a token/key is leaked by accident.
Some things to add from my side:

We can not "just remove" the old implementation. We need to add the new integration to the existing ones (see https://keptn.sh/docs/0.6.0/manage/project/#select-git-based-upstream ).
Generating deploy keys requires you to use yet another tool (ssh-keygen), and we should link to the existing tutorials.
Authentication using SSH keys is nothing specific to GitHub. We should not make this implementation GitHub specific, but generic for all platforms.

Also, the following issues are related:

https://github.com/keptn/keptn/issues/1335
https://github.com/keptn/keptn/issues/1336


[RSDK-6869] add edited map option to GetPointCloudMapRequest

https://viam.atlassian.net/browse/RSDK-6869
will not merge until sdk PRs are ready. SDKs
go: https://github.com/viamrobotics/rdk/pull/3667
python: https://github.com/viamrobotics/viam-python-sdk/pull/556
typescript: https://github.com/viamrobotics/viam-typescript-sdk/pull/261

re-requesting review to try to get protos to compile


Fix Array Deserialization Panic

Description

closes: #834

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (master)
[x] Linked to GitHub issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[x] Wrote unit tests
[ ] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[ ] Re-reviewed Files changed in the GitHub PR explorer

Just use arrayvec here, my code stupidly had a memopry leak if T allocates.  https://github.com/arkworks-rs/algebra/issues/834#issuecomment-2178950139


TextField Mask loses key when typing over a constant

Steps to reproduce:

Create a TextField with mask="11/11"
Type two numbers, cursor will appear after the forward slash 11/|__
Press Backspace, the cursor moves to 11|/__
Type a number

Expected behavior:
The character typed appears after the /.
Actual behavior:
The cursor moves after the / but the key press is consumed and never appears.
This could be related to the fact that Backspace should consume the 11 and not move the cursor (it's trying to remove the constant). It could be a bug with the mask library and not our code, we should verify and try to resolve.

mask library documentation: https://github.com/insin/inputmask-core
it looks like we're using mask.backspace, and that seems to be intended behavior for mask.backspace - see  the quote below.
backspace() : boolean
Performs a backspace operation based on the current selection.

If the cursor is positioned after a static part of the mask, the cursor will be placed before it.

Backspace behavior doesn't bother me. The issue that typing into a constant loses a valid key press that is not backspace is a problem.

yeah, still looking to see if that's a library thing or the way we're using it


added flask-canvas to extension list

Closing this because the links are 404 and the last commit on GitHub is 2 years ago.  If this is still active, please make a new PR.


Redesign forgot/reset/confirm pages

Fixed #44

There is one more screen: https://dev.applatix.net/setup/signup/faketoken
Do we still need it? I created new account and this screen is not used during process of creation. I'm not sure but it looks like death code.

@felixApplatix Good you found it. I see it is general issue and we just validate if password contains any of uppercase or lowercase letters. Our requirement is to have uppercase AND lowercase letters. I'll update regexp validator and it will be fixed for all the places where we use this validator.


Multi Dice Types

Figured out how your data storage works.
I'm working on trying to implement storage for other dice types.
It involves a big storage redesign though so will prolly take a bit.

Storing data a different way is taking a major redesign just making a local repo and seeing if I can get it working. Feel free to contribute! trying to store die rolls as
d20 = new array(20)
d20.fill(0)
increment positions to hold data instead of a continuously growing array.


Feature: set curl timeout

It would be nice if it was possible to set the curl timeout-limit.

You are right, it would be a great feature when server is not responding like today..
I should implement this soon.

Implemented in v0.9.14: the ApiHandler (and QuietApiHandler) constructor takes now a timeout in third parameter. The timeout is expressed in milliseconds .
API was already up but I was able to test it with small value (40 ms for connection, or 400 for a request that takes times)
<?php

require realpath(__DIR__) .'/vendor/autoload.php';

$handler = new \Kristuff\AbuseIPDB\QuietApiHandler('munged',[], 400);

$query = $handler->check('<IP_ADDRESS>', 365, true); // verbose check on 365 days takes times...

if ($query->hasError()){
    foreach ($query->errors() as $err){
        echo "Error: " . $err->detail . "\n";
    }
    return;
}

echo $query->getPlaintext() . PHP_EOL;

Error: Operation timed out after 400 milliseconds with 46107 bytes received

or

Error: Operation timed out after 40 milliseconds with 0 out of 0 bytes received

Thanks for the prompt solution!

You're welcome. Also added  ApiHandler::setTimeout(int $timeout) method in latest release, to allow to change/reset timeout between requests.


Failed build: The return type of the method 'ComponentSet.removeAll' is 'void', which does not match the return type

Trying to get started with Flame, but no such luck. Flutter cannot build and returns error regarding an overridden function returning the wrong type.
flutter run -d windows
Launching lib\main.dart on Windows in debug mode...
../../../../flutter_windows_2.2.2-stable/flutter/.pub-cache/hosted/pub.dartlang.org/flame-1.0.0-releasecandidate.16/lib/src/components/component_set.dart(132,8): error G6EB16203: The return type of the method 'ComponentSet.removeAll' is 'void', which does not match the return type, 'Iterable<Component>', of the overridden method, 'OrderedSet.removeAll'. [C:\Users\Dakun\Downloads\_stuff\code\flutter\pong\build\windows\flutter\flutter_assemble.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'C:\Users\Dakun\Downloads\_stuff\code\flutter\pong\build\windows\CMakeFiles\d7e0bb9d83f607e3b43d14f17a30d6bb\flutter_windows.dll.rule;C:\Users\Dakun\Downloads\_stuff\code\flutter\pong\build\windows\CMakeFiles\6bc00265ba31d1f75c6be0bce11fa9b6\flutter_assemble.rule' exited with code 1. [C:\Users\Dakun\Downloads\_stuff\code\flutter\pong\build\windows\flutter\flutter_assemble.vcxproj]
Building Windows application...
Exception: Build process failed.

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel dev, 2.6.0-11.0.pre, on Microsoft Windows [Version 10.0.19042.1288], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.2)
[√] Android Studio (version 2020.3)
[√] VS Code (version 1.62.3)
[√] Connected device (3 available)

• No issues found!

pubspec.yaml
name: pong
description: A new Flutter project.

publish_to: 'none' # Remove this line if you wish to publish to pub.dev

version: 1.0.0+1

environment:
  sdk: ">=2.15.0-116.0.dev <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  cupertino_icons: ^1.0.2
  flame: ^1.0.0-releasecandidate.16
  forge2d: ^0.8.1

dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_lints: ^1.0.0

flutter:
  uses-material-design: true

main.dart
import 'package:flame/game.dart';
import 'package:flame/input.dart';
import 'package:flame/timer.dart';
import 'package:flutter/material.dart';

class TimerExample extends FlameGame with TapDetector {
  static const String description = '''
    This example shows how to use the `Timer`.\n\n
    Tap down to start the countdown timer, it will then count to 5 and then stop
    until you tap the canvas again and it restarts.
  ''';

  final TextPaint textConfig = TextPaint(
    //style: const TextStyle(color: Colors.white, fontSize: 20),
    config: TextPaintConfig(color: Colors.white, fontSize: 20.0),
  );
  late Timer countdown;
  late Timer interval;

  int elapsedSecs = 0;

  @override
  Future<void> onLoad() async {
    await super.onLoad();
    countdown = Timer(5);
    interval = Timer(
      1,
      callback: () => elapsedSecs += 1,
      repeat: true,
    );
    interval.start();
  }

  @override
  void onTapDown(_test) {
    countdown.start();
  }

  @override
  void update(double dt) {
    super.update(dt);
    countdown.update(dt);
    interval.update(dt);
  }

  @override
  void render(Canvas canvas) {
    super.render(canvas);
    textConfig.render(
      canvas,
      'Countdown: ${countdown.current.toStringAsPrecision(3)}',
      Vector2(30, 100),
    );
    textConfig.render(canvas, 'Elapsed time: $elapsedSecs', Vector2(30, 130));
  }
}

We had some problems with a dependency of ours, if you try to pub get/pub upgrade now it should work again.

We had some problems with a dependency of ours, if you try to pub get/pub upgrade now it should work again.

Not working for me:
Launching lib/main.dart on Linux in debug mode...
Building Linux application...
ERROR: ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flame-1.0.0-releasecandidate.16/lib/src/components/component_set.dart:132:8: Error: The return type of the method 'ComponentSet.removeAll' is 'void', which does not match the return type, 'Iterable<Component>', of the overridden method, 'OrderedSet.removeAll'.
ERROR:  - 'Iterable' is from 'dart:core'.
ERROR:  - 'Component' is from 'package:flame/src/components/component.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flame-1.0.0-releasecandidate.16/lib/src/components/component.dart').
ERROR: Change to a subtype of 'Iterable<Component>'.
ERROR:   void removeAll(Iterable<Component> components) {
ERROR:        ^
ERROR: ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/ordered_set-4.1.0/lib/ordered_set.dart:128:15: Context: This is the overridden method ('removeAll').
ERROR:   Iterable<E> removeAll(Iterable<E> elements) {
ERROR:               ^
Exception: Build process failed

Still getting this pub get/pub upgrade had no effect.

Still getting this pub get/pub upgrade had no effect.

You can try to flutter pub clean and then flutter pub get, if that doesn't work, can you send the output of grep ordered_set -A4 pubspec.lock?

You can now use 1.0.0-releasecandidate.17 too.


Supporting Different Languages

As our app will be used by users all over the world, its a plus point to have different localisation support. Presently we have only English support. It would be great to have many more.

[ ] Chinese
[ ] Spanish
[ ] Hindi
[ ] Arabic + adding missing RTL supports( if any)
[ ] Bengali
[ ] Russian
[ ] Japanese

Follow this order for string xml files
Eg:
res/
       values/
           strings.xml
       values-es/
           strings.xml
       values-fr/
           strings.xml

Similar issue for templates: https://github.com/BuildmLearn/Toolkit-mobile-templates/issues/40

@opticod Can I help with hindi language?

Sure, go ahead. 👍

Hey @opticod ,Can I work on Bengali Language? Please assign me if it's fine.

@codingblazer , ok u can proceed. 👍

Hey! @opticod , Can I help with Japanese?

@opticod Can i help with Spanish language?

@saketkumar95 , sure . you can proceed.


DRAFT: feat: [EMI-1409] Address autocomplete

The type of this PR is: FEAT
This PR implements a basic address autocomplete using our autocomplete provider. Before merging it will be hidden behind a feature flag with basic unit tests in place. The hope is that we can enable it relatively soon and begin testing in staging to find and iterate on the hopefully minor papercuts which follow.

This PR solves EMI-1409
Description

This PR adds a hook that can be used to query for address suggestions and suggest them to a user with the Palette AutocompleteInput component. We will continue iterating on the functionality as part of the autocomplete epic.
Notes:

in the current, draft state, the code is messy due to some implementation being copy-pasted from smarty docs
we used fetch instead of the javascript sdk supplied by smarty because importing it breaks force. Need to look into better handling of query params than just appending to a string, but it works as is.
when accepting an address with sub-entries (generally apt numbers) the react hook submits a special query for the sub-entries, but in order to see them you have to click back into the input. Hopefully this can be fixed with a simple ref + focus() call but it hasn't worked yet (after only about 2 minutes of trying).
For now autocomplete requests are debounced at around 1/2 second, which makes the form seem less responsive than it would be on release. This is to reduce the number of requests we make while testing. when you want to see your suggestions, stop typing.

The only (minor) concern I have is that useAddressAutocomplete is responsible for determining whether autocompletion should be happening. I think that AddressForm should be responsible for determining that to simplify the code a bit.

@iskounen I'm sympathetic to this but maybe need more information. Another side effect of the current setup is that it makes sure autocomplete results are reset when the country changes, which prevents a behavior of showing old results when you click back into the line 1 input, but if you are ok with this for a first iteration I'm totally open to revisiting.


+layout.server.ts is inconsistant host

Describe the bug
import type { LayoutServerLoad } from "./$types";

export const load: LayoutServerLoad = async ({ fetch, cookies, url }) => {
  return {
    host: url.href,
  };
};

<script lang="ts">
  import "../app.postcss";
  import "./styles.css";
  import ModalQueue from "$lib/components/ModalQueue.svelte";
  import { onMount } from "svelte";
  import { get } from "svelte/store";

  export let data: { host: string }

  onMount(() => {
    // Seems very broken, does not work on root :-/ 3 hours debugging
    console.log(`Client Hook Info: ${JSON.stringify(data)}`);
  });
</script>

<div class="app">
  <main>
    <slot />
  </main>
</div>

Reproduction
Above
Logs
We need to load an environmental var for both server and client for server url address. This url needs to be interchangeably and user switchable/savable.

The issue is, we use the domain to determine the original url, and for all instances except development this domain is showing as "http://sveltekit-prerender/" for the root only domain.

Anything that is not root works as expected; showing the url.

System Info
System:
    OS: macOS 13.4.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 89.66 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.3.1 - /opt/homebrew/bin/node
    npm: 9.6.7 - /opt/homebrew/bin/npm
    pnpm: 8.6.12 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 116.0.5845.96
    Safari: 16.5.1

Severity
blocking all usage of SvelteKit
Additional Information
No response

If you need to control the origin used in prerendered pages, use kit.prerender.origin
If you need this to be dynamic for different on a given route, you can't use prerendering for that route and need to disabled it - https://kit.svelte.dev/docs/page-options#prerender

@Conduitry hey, thanks for closing so fast but this doesn't seem like expected behavior.
It should be consistent, if I visit a url it should show what that url is instead of hiding it and warping the result. I spent a few debugging for something that feels like a core platform issue.
To be honest I'm not too happy that SvelteKit is doing funky stuff like this; makes me want to leave the platform.

@Conduitry for example, all these values for root say "http://sveltekit-prerender/" which is completely incorrect, they do not reflect real host values. This issue should be reopened..
When visiting 'mydomain.com'
export const load: LayoutServerLoad = async ({ cookies, url, fetch, request }) => {
  return {
    host: JSON.stringify(url), // Incorrect: http://sveltekit-prerender/
    fetch: JSON.stringify(fetch),  // Incorrect: http://sveltekit-prerender/
    request: request.url,  // Incorrect: http://sveltekit-prerender/
  };
};

When visiting 'mydomain.com/some-url'

export const load: LayoutServerLoad = async ({ cookies, url, fetch, request }) => {
  return {
    host: JSON.stringify(url), // Correct
    fetch: JSON.stringify(fetch) // Correct
    request: request.url // Correct
  };
};

@Conduitry and based of the link you sent, which by the way is almost useless. It doesn't explain anything or how to fix this. This is a bug.

@Conduitry also why does this 'request' work for other urls except root, that makes no sense?  Because if yes, then there's no way how SvelteKit can magically know where you're deplying to, and you need to use said prerendering setting. If no, please provide a reproduction.

@dummdidumm yes I'm per-rendering all roots. I've noticed that +layout.server.ts is not called for root but all other pre-rendered routes which is incorrect.

Please provide a reproduction then.

@dummdidumm if you create a base project and use +layout.server.ts with +layout.page.ts you can see the bug.
on "/" it's not called. On other roots it is.
With hooks it doesn't show the correct url. For other SSR routes it does.
I can create a whole project for you if yo want?

Yes, please share a full repository of Stackblitz link. I think we're talking past each other and having a full code example where you say what you expect to work that doesn't it's easier

@dummdidumm btw it seems to only bug when hosted (built and deployed) using the node-adaptor
Make a fresh project
npm create svelte@latest my-app
cd my-app
npm install
npm run dev

then
add +layout.server.ts
/** @type {import('./$types').PageServerData} */
export async function load({url}) {

    console.log('load layout', url.host);

    return {
      empty: ''
    };
  }

@dummdidumm this only fires for anything that isn't root.

Again, please provide a reproduction linking to a Stackblitz or Github project. These scattered infos and manual steps that gloss over details are all prone to misunderstanding.

Sure, here is a project that emulates the broken functionality, you will need to look at server logs to validate it, not sure how to do that on StackBlitz, I'm hosting with K8.
https://github.com/ollyde/example-sveltekit-root-page-load-broken


[BUG] sddm does not start with nvidia mode

Describe the bug
A clear and concise description of what the bug is.

Can confirm I get the same result.

Did you manage to fix it?

still having the issue too

Is this a regression (it worked before with the same setup)?

Is this a regression (it worked before with the same setup)?

It's my first time using envycontrol, so I cannot confirm

Could you attach the output of cat /usr/share/sddm/scripts/Xsetup after switching to Nvidia? no need to reboot so you can revert back to hybrid

I get this:
sudo envycontrol -s nvidia
#!/bin/sh
# Automatically generated by EnvyControl

xrandr --setprovideroutputsource "modesetting" NVIDIA-0
xrandr --auto

I get the same bug with the normal nvidia-dkms and with nvidia-open-dkms but fortunatly i can just CTRL + F3 and then start the session without issue but its kinda anoying .

I tried different stuff with sessions and sddm complains about the display.


Separate script injection and tracker setup methods

Resolves #152

Backwards compatible change to split the create script methods along
separation of concern lines.
registerScriptTags replaces both create*ScriptTag methods.
registerTrackers performs all tracker setup.
Added deprecation warnings to all deprecated methods.

@Toxantron and @Kyoss79 please review this PR when you have a chance as it provides a resolution to issue #152. Thanks.

Apart from that one comment I couldn't find anything. You have been busy, this is quite the refactoring.


Add license file

Signed-off-by: Itxaka<EMAIL_ADDRESS>

This also bumps to 1.18 and signs the binaries with cosign on release


Specify dependencies without building

I have a library that takes a long time to build. When its listed as a dependency using pipenv, the locking process takes a long time. I believe pipenv builds the library to try to determine the dependencies of the library.
Is there a way that I can specify the dependencies and pipenv will skip the build process?
$ pipenv --support
Pipenv version: '2020.6.2'
Pipenv location: '/home/jobevers/.local/lib/python3.6/site-packages/pipenv'
Python location: '/usr/bin/python3'
Python installations found:

3.8.3: /home/jobevers/.pyenv/versions/3.8.3/bin/python3.8
3.8.2: /home/jobevers/.pyenv/versions/3.8.2/bin/python3.8
3.7.7: /home/jobevers/.pyenv/versions/3.7.7/bin/python3.7
3.6.9: /usr/bin/python3
3.6.9: /usr/bin/python3.6m
3.6.9: /usr/bin/python3.6
2.7.17: /usr/bin/python2.7
2.7.17: /usr/bin/python2

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.6.9',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '5.3.0-1026-gcp',
 'platform_system': 'Linux',
 'platform_version': '#28~18.04.1-Ubuntu SMP Sat Jun 6 00:09:26 UTC 2020',
 'python_full_version': '3.6.9',
 'python_version': '3.6',
 'sys_platform': 'linux'}

System environment variables:

SSH_CONNECTION
LANG
SSH_AUTH_SOCK
XDG_SESSION_ID
USER
PWD
HOME
LC_CTYPE
LC_TERMINAL
SSH_CLIENT
LC_TERMINAL_VERSION
XDG_DATA_DIRS
SSH_TTY
MAIL
TERM
SHELL
SHLVL
LOGNAME
DBUS_SESSION_BUS_ADDRESS
XDG_RUNTIME_DIR
PATH
OLDPWD
ZSH
PAGER
LESS
LSCOLORS
LS_COLORS
PYENV_ROOT
PYENV_SHELL
EDITOR
SPARK_HOME
PD_DEPENDENCIES
PD_PROJECTS
PIPENV_IGNORE_VIRTUALENVS
CLOUDSDK_PYTHON
_
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:

PIPENV_IGNORE_VIRTUALENVS: 1

Debug–specific environment variables:

PATH: /opt/google-cloud-sdk/bin:/home/jobevers/.pyenv/shims:/home/jobevers/.pyenv/bin:/home/jobevers/.local/bin:/opt/gopath/bin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
SHELL: /bin/zsh
EDITOR: nano
LANG: C.UTF-8

It would be nice to be able to skip this line: https://github.com/pypa/pipenv/blob/d69198c0fb13a0ff92a6d105f2eb07f23ceb70b5/pipenv/vendor/requirementslib/models/setup_info.py#L1784

I don't believe there is a way to get the metadata without building the package.   That code has changed a bit since your issue report, but it appears to still build.  Can you confirm if this is still an issue for you @jobevers ?


Is there a way to set background color for the "out" days view?

@Struki84 Currently not no, IMHO it'll look weird to have a different background for a certain part of the view. What are you trying to achieve?

I was thinking something like this:

This calendar has a little more "boxed in" view. Could be I understood something wrong. I just want put all the days not in the current month in something like those grey boxes.

@Struki84, this makes sense. I think we should consider implementing this feature. Thank you for the suggestion!
@elsesiy, we need to add issues with Bugs, Enhancements and Questions. Like #28

@Mozharovsky Alright, hit me up on Skype so we can discuss further :+1:


Warning in GetRecentPlayedGames() method if user has no recent game

Hi,
I'm working on PHP 7+ environment.
I got a warning by using GetRecentPlayedGames() for a user without recent games at this line:
https://github.com/Secco2112/SteamAPI/blob/4f59231ac46c3ea6385edcbade6346c68e171e65/SteamAPI.class.php#L186
I didn't test it but probably it's the same for GetPlayerGames() method if the user has no game at all in his library.
To fix this simply check for $h['games'] not to be empty.

Hi @LucaBn!
Thanks by your comment. I'm currently working in a new and best implementation of this SDK, and this issue will be fixed in the next version.


Add filter columns to SNP effects dataframe

Rather than adding a site_mask parameter and actually removing filtered SNPs from the resulting dataframe, it might be more convenient to return a dataframe with all SNPs, including the three filters as dataframe columns. Then the user can see all SNPs but also have access to information on which filters are passed/failed.

Decided not to do this for now.


view-samples/announcements issue - blank

I have an issue with the view-samples/announcements
It worked well few days ago, but today the list is just blank - if I switch to non-list layout, data is there, but the view formatting no longer works. There is also a suggestion in the JSON code - see screenshot below:

Any ideas what has changed?

Hello @xsomej .
I tried it on my end and it displayed correctly.

If I look at the code of announcements, it is set to hide if the value of RemoveDate is smaller than it is @now.
Is it possible that RemoveDate is set to a smaller date than it is now?

Hi @tecchan1107 ,
Facepalm...that was indeed the issue there. Thanks! :)

Glad you were able to resolve the issue!


WIP: CFE-977: Implementation of a blob gatherer for images in the local cache

Description
This PR is part of a larger user story CFE-977 - Generate smaller archives
In this PR, we focus on identifying those blobs (both layers, config and manifests of various formats (docker-v2 or oci), both single arch and multi arch) that form a container image that is saved to oc-mirror's local cache.
The implementation relies on  interacting directly with the local cache registry using containers/image/v5 api.
This PR replaces #730
For the moment, the use of BlobGatherer is not fully integrated with the MirrorToDisk workflow. Following PRs will be in charge of that.
Fixes # CFE-979
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Expected Outcome
Please describe the outcome expected from the tests

[aguidi@fedora oc-mirror]$ curl http://localhost:7000/v2/_catalog | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   329  100   329    0     0  84035      0 --:--:-- --:--:-- --:--:--  107k
{
  "repositories": [
    "albo/aws-load-balancer-controller-rhel8",
    "albo/aws-load-balancer-operator-bundle",
    "albo/aws-load-balancer-rhel8-operator",
    "openshift/graph-image",
    "openshift-release-dev/ocp-release",
    "openshift-release-dev/ocp-v4.0-art-dev",
    "openshift4/ose-kube-rbac-proxy",
    "redhat/redhat-operator-index",
    "ubi8/ubi",
    "ubi9/ubi"
  ]
}

[aguidi@fedora oc-mirror]$ curl http://localhost:7000/v2/albo/aws-load-balancer-controller-rhel8/tags/list | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   120  100   120    0     0  39267      0 --:--:-- --:--:-- --:--:-- 40000
{
  "name": "albo/aws-load-balancer-controller-rhel8",
  "tags": [
    "d7bc36451217",
    "cfd210a2cb70",
    "cad8f6380b4d",
    "537fc6c0219e"
  ]
}

[aguidi@fedora oc-mirror]$ curl http://localhost:7000/v2/albo/aws-load-balancer-operator-bundle/tags/list | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   119  100   119    0     0  41564      0 --:--:-- --:--:-- --:--:-- 59500
{
  "name": "albo/aws-load-balancer-operator-bundle",
  "tags": [
    "50b9402635dd",
    "3939323bc858",
    "d4d65d0d7c24",
    "e4799ae4d44a"
  ]
}

[aguidi@fedora oc-mirror]$ curl http://localhost:7000/v2/albo/aws-load-balancer-rhel8-operator/tags/list | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   118  100   118    0     0  20622      0 --:--:-- --:--:-- --:--:-- 23600
{
  "name": "albo/aws-load-balancer-rhel8-operator",
  "tags": [
    "95c45fae0ca9",
    "ab38b37c14f7",
    "cbb31de2108b",
    "b13db5fb28d1"
  ]
}

[aguidi@fedora oc-mirror]$ curl http://localhost:7000/v2/openshift/graph-image/tags/list | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    51  100    51    0     0  13253      0 --:--:-- --:--:-- --:--:-- 17000
{
  "name": "openshift/graph-image",
  "tags": [
    "latest"
  ]
}

[aguidi@fedora oc-mirror]$ curl http://localhost:7000/v2/openshift-release-dev/ocp-release/tags/list | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    71  100    71    0     0  12491      0 --:--:-- --:--:-- --:--:-- 14200
{
  "name": "openshift-release-dev/ocp-release",
  "tags": [
    "4.13.10-x86_64"
  ]
}

[aguidi@fedora oc-mirror]$ curl http://localhost:7000/v2/openshift4/ose-kube-rbac-proxy/tags/list | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   111  100   111    0     0  53468      0 --:--:-- --:--:-- --:--:-- 55500
{
  "name": "openshift4/ose-kube-rbac-proxy",
  "tags": [
    "3658954f1990",
    "e3dad360d035",
    "422e4fbe1ed8",
    "1dddb0988d16"
  ]
}

[aguidi@fedora oc-mirror]$ curl http://localhost:7000/v2/redhat/redhat-operator-index/tags/list | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    57  100    57    0     0  25076      0 --:--:-- --:--:-- --:--:-- 28500
{
  "name": "redhat/redhat-operator-index",
  "tags": [
    "v4.12"
  ]
}

[aguidi@fedora oc-mirror]$ curl http://localhost:7000/v2/ubi8/ubi/tags/list | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    38  100    38    0     0  13581      0 --:--:-- --:--:-- --:--:-- 19000
{
  "name": "ubi8/ubi",
  "tags": [
    "latest"
  ]
}

[aguidi@fedora oc-mirror]$ curl http://localhost:7000/v2/ubi9/ubi/tags/list | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    44  100    44    0     0  15094      0 --:--:-- --:--:-- --:--:-- 22000
{
  "name": "ubi9/ubi",
  "tags": [
    "20f695d2a913"
  ]
}```

/label acknowledge-critical-fixes-only

/lgtm


Added missing button text

@akkspros you have deleted your branch :/

@GeoSot Really Sorry mistakenly deleted the Branch and now I just submitted the new PR ( #35656 )  for this


log version of tx-generator on startup

Add a version command to the tx-generator and write the tx-generator version to the logs on startup.

#3951

This PR was merged, as part of #4056


fix: properly populate the 'BSONFieldName' attribute for both 'AttributesMap' & 'LowerCaseAttributesMap'

Context
This PR fixes a bug related to populating the elemental.AttributeSpecification type.
The BSONFieldName attribute should be populated for both:

{{ .Spec.Model.EntityName }}AttributesMap
{{ .Spec.Model.EntityName }}LowerCaseAttributesMap

It is currently only being populated for:

{{ .Spec.Model.EntityName }}LowerCaseAttributesMap

This is a clear mistake which this PR addresses by updating the model Go template.
Next steps ⏩
Once this PR is in, I will raise another PR in gaia to fix all existing models.
Related issue

https://redlock.atlassian.net/browse/CNS-298

/build


feat(progress bar): reduces size of large variant, creates xl for old size

The ProgressBar component has a large size that's entirely too big for new designs. The only place this size is used is in the Syllabus, which is currently being replaced. This PR updates the large size to meet the new size requirements for the progress bar, while still supporting the bigger size as xl
**Here's the discussion in slack **

This Change:

Halves size of large variant
Creates xl variant with old giant size to support old syllabus design
Storybook:

Adjusts ProgressBar layout to show new variant (4th column), and adjust to smaller screen sizes
Adds variants as headings in the size display (feel free to tell me to remove these 😄 )

Reduces size of ProgressBar's large variant
Adds xl variant to support bigger size

PR Checklist

[x] Related to designs: Syllabus Redesign in Figma
[x] Related to JIRA ticket: LX-5100
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-kit@0.4.67-alpha.e8c80f.0@codecademy/gamut-labs@19.16.5-alpha.e8c80f.0@codecademy/gamut@34.16.0-alpha.e8c80f.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60f23e36bc7fd140e2301a4a--gamut-preview.netlify.appDeploy Logs


Something wrong with spin lidar(ouster64)

Hi, friends,
I modify the feature extract moudle for my spin lidar--ouster,and the code is implemented based on lio_sam.
Now, the feature extract module is normal. And the result is good with the IMU_Mode is 0 and 1.
But there's something wrong when IMU_Mode is 2(Tightly Coupled IMU).

As the picture above, when process "Frame:4654", the trajectory starts to shift.
The points and imu data record by ouster laser(OS1-64), so the transformation matrix of the laser and imu is the unit matrix. Other parameters are default.
The printing parameters are as follows:

What causes this? Someone has a similar situation?
Thanks again.

Hi,
I've tested  3 bags recored by my ouster OS1-64 lidar. Everything is ok at the first few hundred seconds, but after a period of time(500+/1000+ second), there is a drift after a bump or rotation, it's strange.
I'll test more bag.
Last, I uploaded the modified code  here

The problem solved. It's my mistake. The ALGO is very nice.

Hi,
I've tested 3 bags recored by my ouster OS1-64 lidar. Everything is ok at the first few hundred seconds, but after a period of time(500+/1000+ second), there is a drift after a bump or rotation, it's strange.
I'll test more bag.
Last, I uploaded the modified code here

Hi, @chengwei0427
How is the performance in special scenarios like tunnel scene, dynamic urban scene, complex large scale urban scene, compared with LIO-Livox?

Hi, @liang0724s

No tunnel-related scenarios have been tested;
For dynamic urban scene, I've tested several sets of data collected while riding a scooter on the road, and the it works well;
For complex large scale urban scene, the maximum test scenario is 400X400 city roads;


Added audio length (in seconds) to database. Added relative confidence value

Now we can know the length of the song that we have recognized

This also resolves the issue #132 created by me

Thanks Jpery!

I've added a "relative confidence" value based on the number of fingerprints to match and the matched fingerprints. After studying this value with some audios, as we can see in this
, we have achieve a value that only increases if the match is correct.
In the graph, the blue line represents an audio NOT in the database and the green one represents a part of an audio in the database.

This request is continued in #197