text:
Error when using in nuxt + electron

TypeError [ERR_INVALID_ARG_TYPE]: The "id" argument must be of type string. Received an instance of Array
at validateString (internal/validators.js:117)
at Module.require (internal/modules/cjs/loader.js:1016)
at require (internal/modules/cjs/helpers.js:77)
at onGotAmdLoader (MonacoLoader.js?3e05:21)
at Object.load (MonacoLoader.js?3e05:57)
at VueComponent.fetchEditor (Monaco.vue?3f8d:114)
at VueComponent.mounted (Monaco.vue?3f8d:25)
at invokeWithErrorHandling (vue.runtime.esm.js?2b0e:1863)
at callHook (vue.runtime.esm.js?2b0e:4235)
at Object.insert (vue.runtime.esm.js?2b0e:3158)
_callee$ @ client.js?1a29:102
tryCatch @ runtime.js?96cf:63
invoke @ runtime.js?96cf:294
eval @ runtime.js?96cf:119
asyncGeneratorStep @ asyncToGenerator.js?1da1:3
_next @ asyncToGenerator.js?1da1:25
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js?1da1:13
_next @ asyncToGenerator.js?1da1:25
eval @ asyncToGenerator.js?1da1:32
eval @ asyncToGenerator.js?1da1:21
eval @ client.js?1a29:64
globalHandleError @ vue.runtime.esm.js?2b0e:1879
handleError @ vue.runtime.esm.js?2b0e:1848
invokeWithErrorHandling @ vue.runtime.esm.js?2b0e:1871
callHook @ vue.runtime.esm.js?2b0e:4235
insert @ vue.runtime.esm.js?2b0e:3158
invokeInsertHook @ vue.runtime.esm.js?2b0e:6390
patch @ vue.runtime.esm.js?2b0e:6609
Vue._update @ vue.runtime.esm.js?2b0e:3963
updateComponent @ vue.runtime.esm.js?2b0e:4075
get @ vue.runtime.esm.js?2b0e:4495
run @ vue.runtime.esm.js?2b0e:4570
flushSchedulerQueue @ vue.runtime.esm.js?2b0e:4326
eval @ vue.runtime.esm.js?2b0e:1989
flushCallbacks @ vue.runtime.esm.js?2b0e:1915
Promise.then (async)
timerFunc @ vue.runtime.esm.js?2b0e:1942
nextTick @ vue.runtime.esm.js?2b0e:1999
queueWatcher @ vue.runtime.esm.js?2b0e:4418
update @ vue.runtime.esm.js?2b0e:4560
Vue.$forceUpdate @ vue.runtime.esm.js?2b0e:3984
eval @ index.js?6435:244
eval @ index.js?6435:242
eval @ index.js?6435:119
eval @ script.vue?8220:29
./renderer/components/editor/script.vue @ app.js:731
webpack_require @ runtime.js:854
hotApplyInternal @ runtime.js:750
hotApply @ runtime.js:412
cb @ process-update.js?e135:76
eval @ process-update.js?e135:91
Promise.then (async)
check @ process-update.js?e135:90
module.exports @ process-update.js?e135:52
processMessage @ client.js?1b93:279
handleMessage @ client.js?1b93:139
handleMessage @ client.js?1b93:102

Here is the page
`

`

repo: matt-oconnell/vue-monaco-editor


text:
Acrylic case and 3d printed case problems

Hello, i sent the acrylic case files to my local laser cutting shop but they are having a problem with the size. It says the file is too small and it has to be scaled but i do not know what the scale factor is.
In the 3d printed case files when i export it as .stl from f360 and try to 3d print itl; it shows the file too small.
Any idea why this is happening also an instruction of the acrylic case files would help a bunch

Hello @konisteel,
could this be an issue with the imported unit of measurement? I'm pretty sure I exported the files with metric measurement, if by default your CAD is set to imperial there might be some issues.

other than than any idea which ones will be stacked over each other and which is optional? Why are there same design for 3mm and 2mm

other than than any idea which ones will be stacked over each other and which is optional? Why are there same design for 3mm and 2mm

@TahuTech might help here answering your questions

source: gharchive/issue

authors: konisteel mattdibi

repo: mattdibi/yampad

license: MIT

license_type: permissive

license_source: github-api


text:
Custom Font not getting applied in Xamarin.forms.

hi,
I am using this plugin for showing html content in Label but it not picking my custom font. I am using FontFamily property for setting the font. Any other property available for custom font or need change in renderer please suggest.
Thanks in advance.

Hi,
I know there's this issue, I think it is because if you render HTML the font is specified in the HTML so the label skips the FontFamily property. Try to wrap your HTML into a YOUR HTML CONTENT. If it works I'll try to update my plugin, wrapping automatically the content in the div if the FontFamily property is specified.

Thanks for the reply @matteobortolazzo .
It is picking font when I apply following code.
"
"+ some text +""
but bold label tag is not working

Are you using text?

yes, also tried with  tag but no luck.

Is it working without the font-family change? I need to investigate but last time I used the plugin bold was working.

yes, but I want to render content with the specified font.

Sorry for the late answer, maybe the bold version of your font is not installed. It's an HTML issue.

During the holidays I'll update the font thing. I close this this issue.

authors: DnyaneshwarWadghanePM matteobortolazzo

repo: matteobortolazzo/HtmlLabelPlugin

license: mit

license_source: bigquery


text:
[Bug]: Vuejs Version is not working

Contact Details
No response
What happened?
Getting this error:
"Uncaught SyntaxError: Cannot use import statement outside a module"
tsParticles Version
2.5.1
Which library are you using?
Vue.js 2.x (vue2-particles, particles.vue)
tsParticles Configuration
<Particles
      id="tsparticles"
      :particlesInit="particlesInit"
      :particlesLoaded="particlesLoaded"
      :options="{
        background: {
          color: {
            value: '#0d47a1',
          },
        },
        fpsLimit: 120,
        interactivity: {
          events: {
            onClick: {
              enable: true,
              mode: 'push',
            },
            onHover: {
              enable: true,
              mode: 'repulse',
            },
            resize: true,
          },
          modes: {
            bubble: {
              distance: 400,
              duration: 2,
              opacity: 0.8,
              size: 40,
            },
            push: {
              quantity: 4,
            },
            repulse: {
              distance: 200,
              duration: 0.4,
            },
          },
        },
        particles: {
          color: {
            value: '#ffffff',
          },
          links: {
            color: '#ffffff',
            distance: 150,
            enable: true,
            opacity: 0.5,
            width: 1,
          },
          collisions: {
            enable: true,
          },
          move: {
            direction: 'none',
            enable: true,
            outMode: 'bounce',
            random: false,
            speed: 6,
            straight: false,
          },
          number: {
            density: {
              enable: true,
              area: 800,
            },
            value: 80,
          },
          opacity: {
            value: 0.5,
          },
          shape: {
            type: 'circle',
          },
          size: {
            random: true,
            value: 5,
          },
        },
        detectRetina: true,
      }"
    />

What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Code of Conduct

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

This is the demo project for Vue 2.x version: https://github.com/matteobruni/tsparticles/tree/main/demo/vue
It works as expected, can you please share a way to reproduce the bug?

Thank you for answering @matteobruni I checked at provided example and found that it requires to install more packages
tsparticles-engine
tsparticles
So vue2-particles is just tip of the iceberg  =)  Also everything is written at TS and I couldn't run at demo.  Maybe you should mention it in docs? Seems like this package is too advanced for me..
I couldn't even run demo example, it throws following error:
Cannot find module 'tsparticles-engine' or its corresponding type declarations.

Thank you a lot @matteobruni

authors: artrayd matteobruni

repo: matteobruni/tsparticles


text:
Update Deployments.md

0x6216cd49BdA21751f9Ec4eb2aF7Df3A4b59d825b contract

merged! thanks for doing the workshop 🤙

source: gharchive/pull-request


text:
Electron 4.0 breaking change

I confirm (by marking "x" in the [ ] below: [x]):

[x] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[x] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[x] I have read contributing guidelines.

Summary
Electron 3.X alerts with this message:

(electron) 'app.makeSingleInstance(cb)' is deprecated. Use 'app.requestSingleInstanceLock() and app.on('second-instance', cb)' instead

When I updated to Electron 4.X and tried to start Mattermost, an error ocurred. Its a breaking change.
Environment

Operating System: ArchLinux
Mattermost Desktop App version: 4.2.0
Mattermost Server version: 5.7.1

Steps to reproduce

Start mattermost-desktop.

Expected behavior
Mattermost starts without errors.
Observed behavior
Mattermost doesn't load and terminal shows this error:

App threw an error during load
TypeError: app.makeSingleInstance is not a function
at Module. (/usr/lib/mattermost-desktop/app.asar/main_bundle.js:302:9)
at webpack_require (/usr/lib/mattermost-desktop/app.asar/main_bundle.js:20:30)
at /usr/lib/mattermost-desktop/app.asar/main_bundle.js:84:18
at Object. (/usr/lib/mattermost-desktop/app.asar/main_bundle.js:87:10)
at Object. (/usr/lib/mattermost-desktop/app.asar/main_bundle.js:16670:3)
at Module._compile (internal/modules/cjs/loader.js:693:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10)
at Module.load (internal/modules/cjs/loader.js:602:32)
at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
at Function.Module._load (internal/modules/cjs/loader.js:533:3)
/usr/lib/mattermost-desktop/app.asar/main_bundle.js:12225
throw err;

Possible fixes
Fix breaking changes: https://github.com/electron/electron/blob/master/docs/api/breaking-changes.md#appmakesingleinstance
Workaround: downgrade Electron to 3.X version.

Hi @fraviemor,
are you building the desktop app yourself or are you using a pre-built binary from our releases page?
There is a bug in the release-4.2 branch currently that's hindering from building, but I've already have a PR open to fix this.
It's because of an outdated webpack version. It's already fixed in the master branch but that change hasn't been ported back to the release-4.2 branch yet.

Any idea when a release against a newer version of Electron will be released?
Bugs like #317 and #899 are serious usability issues and seem to require a less bugged version of Electron.

I believe the master branch is adapted to this breaking change. If you wish to build the desktop app from v4.2 source code with Electron v4, probably you can use this patch: https://github.com/mattermost/desktop/commit/40257cf93e153a84a94f888aea3225788fbb9d3a

This issue is probably obsolete. Electron 6 is the current specified dependency!

authors: alerque fraviemor skewty svelle yuya-oc

repo: mattermost/desktop


text:
Update working-at-mattermost.rst

Updated USA/Canada holidays for 2020
@lindy65 FYI (you may have already done this, but adding just in case)

Thanks @comharris - I hadn't updated 2020 holidays ...

/check-cla

authors: comharris jasonblais lindy65

repo: mattermost/docs


text:
[mattermost-team-edition] read only file system on start up

While installing the mattermost team edition helm chart on my GKE for the first time, i got a read only file system error without modifying anything :
Error message :
{"level":"error","ts":1563295457.9649801,"caller":"app/config.go:54","msg":"Failed to update config","error":"failed to persist: failed to write file: open /mattermost/config/config.json: read-only file system","errorVerbose":"open /mattermost/config/config.json: read-only file system
**My values.yaml file : **
Image tag
image:
tag: 5.12.1
Persistense for mattermost
persistence:
data:
enabled: true
size: 20Gi
storageClass: standard
accessMode: ReadWriteOnce
Ingress params to access the cluster from outside
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
certmanager.k8s.io/cluster-issuer: XXX
hosts:
- XXX
tls:
- secretName: XXX-tls
hosts:
- XXX
Mysql Params
mysql:
enabled: true
mysqlRootPassword: "Password"
mysqlUser: "USer"
mysqlPassword: "Password"
mysqlDatabase: db_name
repository: mysql
tag: 5.7
imagePullPolicy: IfNotPresent
persistence:
enabled: true
storageClass: standard
accessMode: ReadWriteOnce
size: 10Gi
Config File for mattermost
configJSON: {
"ServiceSettings": {
"SiteURL": "XXXX",
"GoogleDeveloperKey": "XXXXX",
"EnablePostUsernameOverride": true,
"EnablePostIconOverride": true,
"EnableLinkPreviews": true,
},
"TeamSettings": {
"SiteName": "XXX",
"EnableCustomBrand": true,
},
"EmailSettings": {
"SendEmailNotifications": true,
"RequireEmailVerification": true,
"SMTPUsername": "XXX",
"SMTPPassword": "XXX",
"EnableSMTPAuth": true,
"SMTPServer": "XXX",
"SMTPPort": "587",
"ConnectionSecurity": "STARTTLS",
"EnableEmailBatching": true,
},
"PluginSettings": {
"Enable": true,
"EnableUploads": true,
}
}

Same issue
│ {"level":"info","ts":1565862568.4581082,"caller":"app/server.go:216","msg":"Current working directory is /mattermost"}                                                                                │ {"level":"info","ts":1565862568.4581385,"caller":"app/server.go:217","msg":"Loaded config","source":"file:///mattermost/config/config.json"}                                                                                │ {"level":"error","ts":1565862568.462423,"caller":"app/config.go:54","msg":"Failed to update config","error":"failed to persist: failed to write file: open /mattermost/config/config.json: read-only file system","errorVerbose":"open /mattermost/config/config.json: read-on  │ ly file system\nfailed to write file\ngithub.com/mattermost/mattermost-server/config.(*FileStore).persist\n\t/go/src/github.com/mattermost/mattermost-server/config/file.go:117\ngithub.com/mattermost/mattermost-server/config.(*commonStore).set\n\t/go/src/github.com/matte  │ rmost/mattermost-server/config/common.go:72\ngithub.com/mattermost/mattermost-server/config.(*FileStore).Set\n\t/go/src/github.com/mattermost/mattermost-server/config/file.go:97\ngithub.com/mattermost/mattermost-server/app.(*Server).UpdateConfig\n\t/go/src/github.com/ma  │ ttermost/mattermost-server/app/config.go:53\ngithub.com/mattermost/mattermost-server/app.NewServer\n\t/go/src/github.com/mattermost/mattermost-server/app/server.go:229\ngithub.com/mattermost/mattermost-server/cmd/mattermost/commands.runServer\n\t/go/src/github.com/matte  │ rmost/mattermost-server/cmd/mattermost/commands/server.go:64\ngithub.com/mattermost/mattermost-server/cmd/mattermost/commands.serverCmdF\n\t/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/commands/server.go:53\ngithub.com/mattermost/mattermost-server/vend  │ or/github.com/spf13/cobra.(*Command).execute\n\t/go/src/github.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra/command.go:762\ngithub.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra.(*Command).ExecuteC\n\t/go/src/github.com/mattermost/matte  │ rmost-server/vendor/github.com/spf13/cobra/command.go:852\ngithub.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra.(*Command).Execute\n\t/go/src/github.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra/command.go:800\ngithub.com/mattermost/mat  │ termost-server/cmd/mattermost/commands.Run\n\t/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/commands/root.go:15\nmain.main\n\t/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/main.go:30\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:20  │ 0\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1337\nfailed to persist\ngithub.com/mattermost/mattermost-server/config.(*commonStore).set\n\t/go/src/github.com/mattermost/mattermost-server/config/common.go:73\ngithub.com/mattermost/mattermost-server/config.(  │ *FileStore).Set\n\t/go/src/github.com/mattermost/mattermost-server/config/file.go:97\ngithub.com/mattermost/mattermost-server/app.(*Server).UpdateConfig\n\t/go/src/github.com/mattermost/mattermost-server/app/config.go:53\ngithub.com/mattermost/mattermost-server/app.NewS  │ erver\n\t/go/src/github.com/mattermost/mattermost-server/app/server.go:229\ngithub.com/mattermost/mattermost-server/cmd/mattermost/commands.runServer\n\t/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/commands/server.go:64\ngithub.com/mattermost/mattermos  │ t-server/cmd/mattermost/commands.serverCmdF\n\t/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/commands/server.go:53\ngithub.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra.(*Command).execute\n\t/go/src/github.com/mattermost/mattermost-serv  │ er/vendor/github.com/spf13/cobra/command.go:762\ngithub.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra.(*Command).ExecuteC\n\t/go/src/github.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra/command.go:852\ngithub.com/mattermost/mattermost-s  │ erver/vendor/github.com/spf13/cobra.(*Command).Execute\n\t/go/src/github.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra/command.go:800\ngithub.com/mattermost/mattermost-server/cmd/mattermost/commands.Run\n\t/go/src/github.com/mattermost/mattermost-server  │ /cmd/mattermost/commands/root.go:15\nmain.main\n\t/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/main.go:30\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:200\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1337"}                              │ {"level":"info","ts":1565862568.5106914,"caller":"mlog/sugar.go:19","msg":"Scheduling next survey for Sep 5, 2019","plugin_id":"com.mattermost.nps"}

│ {"level":"info","ts":1565862568.4581082,"caller":"app/server.go:216","msg":"Current working directory is /mattermost"}                                                                                │ {"level":"info","ts":1565862568.4581385,"caller":"app/server.go:217","msg":"Loaded config","source":"file:///mattermost/config/config.json"}                                                                                │ {"level":"error","ts":1565862568.462423,"caller":"app/config.go:54","msg":"Failed to update config","error":"failed to persist: failed to write file: open /mattermost/config/config.json: read-only file system","errorVerbose":"open /mattermost/config/config.json: read-on  │ ly file system\nfailed to write file\ngithub.com/mattermost/mattermost-server/config.(*FileStore).persist\n\t/go/src/github.com/mattermost/mattermost-server/config/file.go:117\ngithub.com/mattermost/mattermost-server/config.(*commonStore).set\n\t/go/src/github.com/matte  │ rmost/mattermost-server/config/common.go:72\ngithub.com/mattermost/mattermost-server/config.(*FileStore).Set\n\t/go/src/github.com/mattermost/mattermost-server/config/file.go:97\ngithub.com/mattermost/mattermost-server/app.(*Server).UpdateConfig\n\t/go/src/github.com/ma  │ ttermost/mattermost-server/app/config.go:53\ngithub.com/mattermost/mattermost-server/app.NewServer\n\t/go/src/github.com/mattermost/mattermost-server/app/server.go:229\ngithub.com/mattermost/mattermost-server/cmd/mattermost/commands.runServer\n\t/go/src/github.com/matte  │ rmost/mattermost-server/cmd/mattermost/commands/server.go:64\ngithub.com/mattermost/mattermost-server/cmd/mattermost/commands.serverCmdF\n\t/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/commands/server.go:53\ngithub.com/mattermost/mattermost-server/vend  │ or/github.com/spf13/cobra.(*Command).execute\n\t/go/src/github.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra/command.go:762\ngithub.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra.(*Command).ExecuteC\n\t/go/src/github.com/mattermost/matte  │ rmost-server/vendor/github.com/spf13/cobra/command.go:852\ngithub.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra.(*Command).Execute\n\t/go/src/github.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra/command.go:800\ngithub.com/mattermost/mat  │ termost-server/cmd/mattermost/commands.Run\n\t/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/commands/root.go:15\nmain.main\n\t/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/main.go:30\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:20  │ 0\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1337\nfailed to persist\ngithub.com/mattermost/mattermost-server/config.(*commonStore).set\n\t/go/src/github.com/mattermost/mattermost-server/config/common.go:73\ngithub.com/mattermost/mattermost-server/config.(  │ *FileStore).Set\n\t/go/src/github.com/mattermost/mattermost-server/config/file.go:97\ngithub.com/mattermost/mattermost-server/app.(*Server).UpdateConfig\n\t/go/src/github.com/mattermost/mattermost-server/app/config.go:53\ngithub.com/mattermost/mattermost-server/app.NewS  │ erver\n\t/go/src/github.com/mattermost/mattermost-server/app/server.go:229\ngithub.com/mattermost/mattermost-server/cmd/mattermost/commands.runServer\n\t/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/commands/server.go:64\ngithub.com/mattermost/mattermos  │ t-server/cmd/mattermost/commands.serverCmdF\n\t/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/commands/server.go:53\ngithub.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra.(*Command).execute\n\t/go/src/github.com/mattermost/mattermost-serv  │ er/vendor/github.com/spf13/cobra/command.go:762\ngithub.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra.(*Command).ExecuteC\n\t/go/src/github.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra/command.go:852\ngithub.com/mattermost/mattermost-s  │ erver/vendor/github.com/spf13/cobra.(*Command).Execute\n\t/go/src/github.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra/command.go:800\ngithub.com/mattermost/mattermost-server/cmd/mattermost/commands.Run\n\t/go/src/github.com/mattermost/mattermost-server  │ /cmd/mattermost/commands/root.go:15\nmain.main\n\t/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/main.go:30\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:200\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1337"}                              │ {"level":"info","ts":1565862568.5106914,"caller":"mlog/sugar.go:19","msg":"Scheduling next survey for Sep 5, 2019","plugin_id":"com.mattermost.nps"}

Same issue.  @mehdouch77 @ywang146 have you figured this out?  Any help Mattermost folks?

The problem is that /mattermost/config/config.json is mounted from a secret and is read only.
My workarround was create a new volume for /mattermost/config and create a config.json inside it.
With that I could change the configs on the admin UI,

@kiov  Can you show me your deployment. yaml?
I tried to remounted config. json, but it never started properly. thanks（15215796876@163.com）

Same issue. I added below settings to values.yaml, and then it works.
Note that config.json is perhaps able to be changed on the admin UI, but it would be overwritten when the pod restarts.
Also note that it's insecure because the tokens in config.json are put into the persistent volume.
extraInitContainers:
  - name: copy-config
    image: "alpine:latest"
    imagePullPolicy: IfNotPresent
    volumeMounts:
    - mountPath: /mattermost/config/config.json
      name: config-json
      subPath: config.json
    - mountPath: /mattermost/data
      name: mattermost-data
    command: ["/bin/ash", "-c", "cp -f /mattermost/config/config.json /mattermost/data/config.json"]
extraEnvVars:
  - name: MM_CONFIG
    value: "/mattermost/data/config.json"

Same issue. I added below settings to values.yaml, and then it works.
Note that config.json is perhaps able to be changed on the admin UI, but it would be overwritten when the pod restarts.
Also note that it's insecure because the tokens in config.json are put into the persistent volume.
extraInitContainers:
  - name: copy-config
    image: "alpine:latest"
    imagePullPolicy: IfNotPresent
    volumeMounts:
    - mountPath: /mattermost/config/config.json
      name: config-json
      subPath: config.json
    - mountPath: /mattermost/data
      name: mattermost-data
    command: ["/bin/ash", "-c", "cp -f /mattermost/config/config.json /mattermost/data/config.json"]
extraEnvVars:
  - name: MM_CONFIG
    value: "/mattermost/data/config.json"

I will determine whether to copy according to whether there is a config.json file in the folder /mattermost/data/.
This may temporarily solve the coverage problem  when the pod restarts.
    command: ["/bin/ash", "-c", "if [[ ! -f \"/mattermost/data/config.json\" ]] ;then echo \"copy configJSON\"; cp -f /mattermost/config/config.json /mattermost/data/config.json;else echo \"configJSON exist\"; fi;"]

    extraInitContainers:
    - name: copy-config
      image: "alpine:latest"
      imagePullPolicy: IfNotPresent
      volumeMounts:
      - mountPath: /mattermost/config/config.json
        name: config-json
        subPath: config.json
      - mountPath: /mattermost/data
        name: mattermost-data
      command: ["/bin/ash", "-c", "if [[ ! -f \"/mattermost/data/config.json\" ]] ;then echo \"copy configJSON\"; cp -f /mattermost/config/config.json /mattermost/data/config.json;else echo \"configJSON exist\"; fi;"]
    extraEnvVars:
      - name: MM_CONFIG
        value: "/mattermost/data/config.json"

 {"level":"info","ts":1581544225.523905,"caller":"app/server.go:222","msg":"Loaded config","source":"file:///mattermost/data/config.json"}
│ {"level":"error","ts":1581544225.5526595,"caller":"app/config.go:54","msg":"Failed to update config","error":"failed to persist: failed to write file: open /mattermost/data/config.json: permission denied","errorVerbose":"open /mattermost/data/config.json: permission denied\nf

is the proposed solution working for you?

@masterkain I haven't encountered such an error. Maybe you should check permissions in directory/mattermost/data . And persistence.data.accessMode in values.yaml

    extraInitContainers:
    - name: copy-config
      image: "alpine:latest"
      imagePullPolicy: IfNotPresent
      volumeMounts:
      - mountPath: /mattermost/config/config.json
        name: config-json
        subPath: config.json
      - mountPath: /mattermost/data
        name: mattermost-data
      command: ["/bin/ash", "-c", "if [[ ! -f \"/mattermost/data/config.json\" ]] ;then echo \"copy configJSON\"; cp -f /mattermost/config/config.json /mattermost/data/config.json;else echo \"configJSON exist\"; fi;"]
    extraEnvVars:
      - name: MM_CONFIG
        value: "/mattermost/data/config.json"

 {"level":"info","ts":1581544225.523905,"caller":"app/server.go:222","msg":"Loaded config","source":"file:///mattermost/data/config.json"}
│ {"level":"error","ts":1581544225.5526595,"caller":"app/config.go:54","msg":"Failed to update config","error":"failed to persist: failed to write file: open /mattermost/data/config.json: permission denied","errorVerbose":"open /mattermost/data/config.json: permission denied\nf

is the proposed solution working for you?

Hi, are you using the "old" version 5.13.2? The latest one is not run under the root but unter the mattermost user (2000:2000) and default persistenVolume mount permission are root:root

@simonxlh @kissi7 I think I'm using release-5.17, will try adjusting for the new mattermost user, thanks for the hints

To make the above work with the latest version, change the command to set file owner like so:
    command: ["/bin/ash", "-c", "if [[ ! -f \"/mattermost/data/config.json\" ]] ;then echo \"copy configJSON\"; cp -f /mattermost/config/config.json /mattermost/data/config.json && chown 2000:2000 /mattermost/data/config.json;else echo \"configJSON exist\"; fi;"]

Any updates on this?

using mattermost/mattermost-team-edition:5.31.0 I can't start the pod. tested some command as you can be see below with the same results.
│ Error: failed to load configuration: failed to create store: unable to load on store creation: failed to persist: failed to write file: open /mattermost/data/config.json: permission denied

    extraInitContainers:
    - name: copy-config
      image: "alpine:latest"
      imagePullPolicy: IfNotPresent
      volumeMounts:
      - mountPath: /mattermost/config/config.json
        name: config-json
        subPath: config.json
      - mountPath: /mattermost/data
        name: mattermost-data
      # command: ["/bin/ash", "-c", "if [[ ! -f \"/mattermost/data/config.json\" ]] ;then echo \"copy configJSON\"; cp -f /mattermost/config/config.json /mattermost/data/config.json;else echo \"configJSON exist\"; fi; chown 2000:2000 /mattermost/data/config.json; chgrp 2000 /mattermost/data/config.json; "]
      command: ["/bin/ash", "-c", "if [[ ! -f \"/mattermost/data/config.json\" ]] ;then echo \"copy configJSON\"; cp -f /mattermost/config/config.json /mattermost/data/config.json && chown 2000:2000 /mattermost/data/config.json;else echo \"configJSON exist\"; fi;"]
      # command: ["/bin/ash", "-c", "cp -f /mattermost/config/config.json /mattermost/data/config.json"]
    extraEnvVars:
      - name: MM_CONFIG
        value: "/mattermost/data/config.json"

any hint?

using mattermost/mattermost-team-edition:5.31.0 I can't start the pod. tested some command as you can be see below with the same results.
│ Error: failed to load configuration: failed to create store: unable to load on store creation: failed to persist: failed to write file: open /mattermost/data/config.json: permission denied

    extraInitContainers:
    - name: copy-config
      image: "alpine:latest"
      imagePullPolicy: IfNotPresent
      volumeMounts:
      - mountPath: /mattermost/config/config.json
        name: config-json
        subPath: config.json
      - mountPath: /mattermost/data
        name: mattermost-data
      # command: ["/bin/ash", "-c", "if [[ ! -f \"/mattermost/data/config.json\" ]] ;then echo \"copy configJSON\"; cp -f /mattermost/config/config.json /mattermost/data/config.json;else echo \"configJSON exist\"; fi; chown 2000:2000 /mattermost/data/config.json; chgrp 2000 /mattermost/data/config.json; "]
      command: ["/bin/ash", "-c", "if [[ ! -f \"/mattermost/data/config.json\" ]] ;then echo \"copy configJSON\"; cp -f /mattermost/config/config.json /mattermost/data/config.json && chown 2000:2000 /mattermost/data/config.json;else echo \"configJSON exist\"; fi;"]
      # command: ["/bin/ash", "-c", "cp -f /mattermost/config/config.json /mattermost/data/config.json"]
    extraEnvVars:
      - name: MM_CONFIG
        value: "/mattermost/data/config.json"

any hint?

Here is the config change to do to have it working:
extraEnvVars:
  - name: MM_CONFIG
    value: "/mattermost/data/config.json"

extraInitContainers:
  - name: copy-config
    image: "alpine:latest"
    imagePullPolicy: IfNotPresent
    volumeMounts:
    - mountPath: /mattermost/config/config.json
      name: config-json
      subPath: config.json
    - mountPath: /mattermost/data
      name: mattermost-data
    command: ["/bin/ash", "-c", "if [[ ! -f \"/mattermost/data/config.json\" ]] ;then echo \"copy configJSON\"; cp -f /mattermost/config/config.json /mattermost/data/config.json && chown 2000:2000 /mattermost/data/config.json;else echo \"configJSON exist\"; fi;"]

Nothing new from previous posts, just gathered the solutions provided.
It is a hack though, and the chart needs a fix to have 5.30+ working out of the box. (wink wink maintainers <3)

repo: mattermost/mattermost-helm


text:
Images not shown in 1.28.0

Summary
Images are not shown
Environment Information

Mattermost App Version: 1.28.0 via F-Droid

Steps to reproduce
View chat with images
Expected behavior
Images are shown.
Observed behavior

At the moment discussed in https://github.com/mattermost/mattermost-mobile/issues/4043

When I click on an image, I do not display a detailed image. I'm checking the latest version, commit 3013 - Bump app build number to 280 (# 4139)

On 1.29.0, app reinstall helped restore image display. Maybe cache clear would've worked but I forgot to try it first.

Can't retest as https://github.com/mattermost/mattermost-mobile/issues/4146 is blocking

1.31.2 does not help?

Fxied, thanks

authors: AiTranXuan PanderMusubi licaon-kter lkraav

repo: mattermost/mattermost-mobile


text:
No sound nor banner alerts in the iOS (and Android?) apps

Summary
iOS app has no sound nor banner alert for incoming messages.
Environment Information

Device Name: iPhone 5
OS Version: 10.3.3.
Mattermost App Version: 1.2.0 build 49
Mattermost Server Version: 4.2.0 Team edition

Steps to reproduce
Check one or more incoming messages.
Expected behavior
There should be some kind of a sound and banner alert when the message arrives even in the closed start screen if the app is still open on the device. The settings for the Mattermos app is allow sound and banner alerts on the device settings.
Observed behavior
No sound nor banner alerts show up.
This is a team edition server without push notification settings configured.
If I understand right, the push notification server is only needed for alerts to the clients which are not open on the device, but if the client is open on the device, it should able to show alerts without the push notification server support, right?
This works for example with SpreedME app + server very nicely without the push notification server configured.

Hi @kaksikanaa - when you say "when the client is open on the device", do you mean while the app is running? Or when it is in background?
We have two types of notifications in the app right now.

Push notifications, which require push notifications to be set up on the server. I believe these are currently used for all notifications except when you have the app open.

In-app / local notifications that show up while you are using the app.

It sounds like you are suggesting we send local notifications more often so a push notification server is not required? Or are you suggesting something else?

Hi,
I've meant both situation or status of the app, while using it and while in background (but still open).
At the moment at least in our configuration, the only notification for incoming messages is the red number on the left corner of app screen (if the user is in another channel than were the new message was arriving (btw the Unreads at the top of the channel list is very handy, thank for that). But even the app is open and in front of you, there is no sound alerts nor banner alert. At least (user configurable on or off) sound alert should be played when new message arrives.
And yes, I would think that it would be nice if it is possible to avoid the push server setup + the recompiling your own apps if possible. Majority of people seems not to be bothered to leave the app open in the background if they want to be available while actually enjoying the possibility to stop all work(?) related communication by shutting the app totally.

For anyone interested in notifications without a push server, please upvote the feature here: https://mattermost.uservoice.com/forums/306457-general/suggestions/16853752-support-mobile-web-push-notifications

I have this issue as well - still. Extremely irritating for an app called mattermost, since if it really matters, you shouldn't use it... I see the issue was closed, but with no fix?

authors: kaksikanaa lfbrock steinhh


text:
Fix drawer according to number of teams

Summary
Fixes the channel drawer in portrait and landscape mode for multiple and single teams
Ticket Link
https://mattermost.atlassian.net/browse/RN-374

Did you test this with only 1 team? There was an issue I fixed last week where the drawer appeared empty because the teams list wasn't rendered

Tested with 1 and multiple teams, also tested in Android and iOS

authors: enahum hmhealey


text:
properly initialize fixture users

Summary
user-2 as a username doesn't actually exist -- its samuel.tucker in the test data -- and we weren't correctly initializing preferences for the welcome modal for this users, used in a few tests. I presume the failure itself was upstream from incoming changes around the welcome modal.
Ticket Link
None.
Checklist

[ ] Telemetry updated
[ ] Gated by experimental feature flag
[x] Unit tests updated

This should fix at least one of the flaky unit tests we've been encountering.


text:
Running mattermost + Jitsi Plugin in a subdir returns 404

When running mattermost in a subdir, the jitsi plugin is not working.
Same as described here: https://github.com/mattermost/mattermost-server/issues/14106 and https://github.com/mattermost/mattermost-plugin-zoom/issues/96

This is solved in the new plugin version that is going to be released soon.

is this solved?  I have the same issue and its been a while...

authors: chillenkoetter gstlouisgit jespino

repo: mattermost/mattermost-plugin-jitsi


text:
Automated cherry pick of #10152

Cherry pick of #10152 on release-6.6.
/cc  @lieut-data
NONE

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

authors: mattermod mattermost-build

repo: mattermost/mattermost-webapp


text:
[MM-50077] Race condition on work template execution

Summary
Sometimes we try to redirect the user to a newly created channel before the webapp is aware of it (websocket not processed yet). To fix this I added a method that will load the channel using the API if it's not already loaded before switching to the channel.
I did not change the existing method for BC reasons.
For QA it might get difficult, knowing that it was happening fairly rarely and there was not way to reproduce 100%. So I can try to create a bunch and make sure you are redirect to a new channel every time? 😓
Ticket Link
https://mattermost.atlassian.net/browse/MM-50077
Related Pull Requests
N/A
Screenshots
N/A
Release Note

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/release-note-none

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

authors: JulienTant mattermost-build


text:
Fix issues in Custom Status

Summary

Fix custom status failing with just the emoji and no message
Fix custom emojis for statuses not loaded on page refresh
Fixed the bot showing custom status emoji of integration owner

Fix channel sidebar misalignment
Fix emoji misaligned with tooltip
Fix custom status misalign next to username.
Fix custom status sitting too high in DM channel header
Fix No hover state on 'Set Status' button in modal

Ticket Link

https://mattermost.atlassian.net/browse/MM-33213
https://mattermost.atlassian.net/browse/MM-33197
https://mattermost.atlassian.net/browse/MM-33210

https://mattermost.atlassian.net/browse/MM-33200
https://mattermost.atlassian.net/browse/MM-33199
https://mattermost.atlassian.net/browse/MM-33191
https://mattermost.atlassian.net/browse/MM-33190
https://mattermost.atlassian.net/browse/MM-33194

Hello @chetanyakan,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@ogi-m can you help test this?

@chetanyakan can you let us know when you're ready for a UX review from @matthewbirtch?

@esethna Except for the one change suggested by @hmhealey, this should be good for a UX review by @matthewbirtch.
Test server: http://ec2-52-14-2-53.us-east-2.compute.amazonaws.com:8065/signup_user_complete/?id=d9wq9ni8njdk3p6p8t9jwjsahc

Rebase to HEAD of master

@amyblais lets make sure this gets cherry picked to cloud Mar 10 branch as well included in the v5.33 RC

@chetanyakan The changes look good, but the snapshot tests in the sidebar are failing now due to the default prop affecting them.
Also, would you mind merging master instead of rebasing? It makes it easier for us to tell what has changed since our last review, and it doesn't matter if it makes the commit history a bit messier since we rebase and squash the branch before merging to master anyway.

@hmhealey I've updated the snapshots. I'll keep in mind your point about using merge commits.

https://mattermost.atlassian.net/browse/MM-33193 is also fixed now.

Thanks @chetanyakan

Verified the status is removed from the integration post popover
"Update your status" alignment looks good and the hover state was added

LGTM 👍🏻

Cherry pick is scheduled.

/cherry-pick cloud

Cherry pick is scheduled.

authors: amyblais chetanyakan esethna hmhealey mattermod ogi-m


text:
Add objdump, binary view of the compilation

This is a request asking if it is possible to add objdump, binary view of the compilation.
Sometimes you would like to see what are the binary values for the instructions being shown.

Been a long time coming, but hopefully the latest update addresses this. Do take a look and reopen/file new issues as you see fit.

is it possible for arm, too? the binary filter is grayed out on all arm compilers.

It will need some work as most of the arm compilers aren't set up to do
full compilation and also I need to ensure the objdump is compiled with ARM
support (I think it already is)... Will take a look over the next few weeks!
On Mon, Dec 14, 2015 at 10:59 PM, ouned notifications@github.com wrote:

is it possible for arm, too? the binary filter is grayed out on all arm
compilers.
—
Reply to this email directly or view it on GitHub
https://github.com/mattgodbolt/gcc-explorer/issues/37#issuecomment-164557542
.

authors: auselen mattgodbolt ouned

repo: mattgodbolt/gcc-explorer


text:
Passing tags and attributes to nh3.clean()

Hi @matthiask — thanks for the great package, as always 🎁
I have a question about the nh3 sanitizer:
https://github.com/matthiask/django-prose-editor/blob/1a18e77c1ceb52f0b678e18d1c8dec8c21d267f7/django_prose_editor/sanitized.py#L4-L7
Here we’re using clean but I wonder if we could pass the tags and attributes arguments as well?
Deriving those from the types used to instantiate the prose editor would allow precisely limiting the allowed HTML, I’m hoping.
What do you think?

Thank you :)
So, I'm not 100% sure if this would be better achieved through settings, field arguments or some other way or if maybe it shouldn't be done at all.
The argument for not making the nh3 invocation configurable is that nh3's job here isn't to clean up the HTML, it's only to protect against XSS when someone circumvents the ProseMirror widget. As long as editors do not do anything strange ProseMirror will always serialize a cleaned up version of the HTML fragment already, even if you use the raw HTML popup. (That's also the reason why I use nh3 instead of something more opinionated such as html-sanitizer.)

So @adamchainz wrote a post on nh3 in which he says:

The nh3 defaults (from Ammonia) are generally safe, allowing only general content tags and attributes, but they are still pretty wide, allowing 75 different tags. Allowing some tags on this default list, such as , may lead to surprising results. In the worst case, an attacker may be able to craft official-looking content with evil instructions to users.
Typically, incoming HTML fragments come from a rich text editor on your site. In this case, use the arguments of nh3.clean() to limit allowed tags and attributes to only those your editor will create. This way, there won’t be any chance of surprise content.
(src)

I find that kind of compelling, and we do know the restricted set of tags and attributes that should be allowed (I think 🤔)
SanitizedProseEditorField knows the config that it will pass to the widget at __init__() so could determine the tags and attributes allowed and pass those parameters in a closure to the sanitize function (or similar). (Better than a setting no?)
I think it's safe as is, but could maybe be more so (hardened) by restricting the allowed tags.
No sure either. But just working it through with you.

I guess a validator here might show if someone was trying to be naughty 😅

I find that kind of compelling, and we do know the restricted set of tags and attributes that should be allowed (I think 🤔)

Yes, by looking at e.g. prosemirror-schema-basic, for example the link mark:
https://github.com/ProseMirror/prosemirror-schema-basic/blob/4e358f5443f15abe09406c9327e35aa9e3c1bf8c/src/schema-basic.ts#L113-L123
I think the nodes and marks definitions in prosemirror-schema-basic and prosemirror-schema-list have been unchanged (practically) since the beginning. I have had discussions in private about allowing id and name attributes, and maybe target could be useful, but that's a different issue.

SanitizedProseEditorField knows the config that it will pass to the widget at init() so could determine the tags and attributes allowed and pass those parameters in a closure to the sanitize function (or similar). (Better than a setting no?)

Deriving the list of allowed attributes and tags from the types list sounds like the way to go, I agree with that.

I think it's safe as is, but could maybe be more so (hardened) by restricting the allowed tags.
[...]
I guess a validator here might show if someone was trying to be naughty 😅

I totally agree with that, and I think there's value in hardening! A little more opinions on the server side would certainly be useful. Just to spell it out for everyone else, the cleaning is already more opinionated than nh3 is since e.g. the empty pararaph

 is replaced by an empty string so that "no content" is actually falsy instead of truthy.

Great. Makes sense. I will try and prototype something when I get a small window.

authors: carltongibson matthiask

repo: matthiask/django-prose-editor


text:
step info handling improvements

accumulate step info in arrays instead of summing values, pass last info to end of episode callbacks

Have you tested if that works the TrainEpisodeLogger (verbose=1)?

TrainEpisodeLogger doesn't have a verbose param ;) I did try verbose=1 and verbose=2 on the fit/train methods and didn't get any errors.

Alright. Can you clarify why this is needed? It seams reasonable to me to sum over the infos if action_repetition is > 1.

Now that I think I about it. Leaving the accumulated info as arrays is not needed any more now that I stick the final info into the log. I initially wanted the game info exposed as metrics and was going to move the summing to the loggers code that processed the metrics. None of that is needed if the info is just added to the info. I needed a way of getting end of episode stats into the logs. I will remove this change from the PR.

authors: RyanHope matthiasplappert

repo: matthiasplappert/keras-rl


text:
Wow.js with Swiper.js

Hi,
I was trying to get something like the Fiddle, but there is a issue i see that when swiper loads all the wow elements are executed. only the first time the wow animation is working and on other slides its not. Please help on it.
http://jsfiddle.net/impulseinflame/02achd8a/1/

Any Help Guys. I know there are expert programmers here please help on this

repo: matthieua/WOW


text:
Delphi IDE integration

A separate package project or?

It seems to be simpler to do it as package... Done


text:
Depicted people logic

Phabricator task T158549

This one can probably be abandoned (close without merge) Now that #28 has been merged.

Abandon this branch in favor of PR #28

authors: lokal-profil mattiasostmar


text:
Failed to call service media_player/volume_mute. must contain at least one of entity_id, device_id, area_id.

I am trying to create a volume slider, but with a call service to mute to speakers, I've setup a tap action on the icon to call a service media_player.volume_mute, but doesnt appear to be working, instead I receive the following error:
Failed to call service media_player/volume_mute. must contain at least one of entity_id, device_id, area_id.
This is despite the configuration containing an entity ID.
Please find below example configuration used to validate bug.
type: custom:slider-button-card
entity: media_player.garden_office
slider:
  direction: left-right
  background: gradient
  use_state_color: true
  use_percentage_bg_opacity: true
  show_track: false
  toggle_on_click: false
  force_square: false
show_name: true
show_state: true
compact: true
icon:
  show: true
  use_state_color: true
  icon: mdi:volume-high
  tap_action:
    action: call-service
    service: media_player.volume_mute
    service_data:
      is_volume_muted: true
    target:
      entity_id:
        - media_player.garden_office
action_button:
  mode: custom
  icon: mdi:power
  show: true
  show_spinner: true
  tap_action:
    action: toggle
name: Ceiling Speaker Volume

Same issue here, trying to call a service to reverse my fan direction and same error occurs.
Happy with a workaround if known or anything, am trying to call a service to toggle a switch value when I tap on the spinning fan icon. (and no can't use reverse speed codes for my fan, reverse is a separate toggle on my fan, same code to toggle forward/reverse meaning I need to call it as a switch).
Love this integration BTW, great work!

For me the issue was, that the setup from gui created the following yaml:
   action_button:       mode: custom       icon: mdi:power       show: true       show_spinner: true       tap_action:         action: call-service         service: switch.toggle         service_data: {}         target:           entity_id: switch.manual_control_schlafzimmer
however it shouldn't contain empty service_data.
Changing it in yaml to this made it work for me:
   action_button:       mode: custom       icon: mdi:power       show: true       show_spinner: true       tap_action:         action: call-service         service: switch.toggle         service_data:           entity_id: switch.manual_control_schlafzimmer

so just delete the {} behind service data and remove the target:

That's great will give it a go!
Just a UI issue if that is all!

Confirmed this fixes my problem. Thanks again!

repo: mattieha/slider-button-card


text:
Play nicely with CoffeeScript source maps

CoffeeScript now supports source maps - and correct line number mapping with errors.
http://jashkenas.github.com/coffee-script/documentation/docs/coffee-script.html
However, when longjohn is require'd, it messes with the line mapping (I imagine it's something to do with the override of Error.prepareStackTrace).

Gonna close this as there hasn't been any action on it in a while

Is lack of action really a sufficient reason to close the issue?  For anyone who starts using longjohn, only to have trouble with coffeescript source maps, being able to search open issues and see that one exists is a useful form of documentation.  Closing the issue artificially hides it.  Or, as I already suggested in an earlier comment, it might be worth noting this issue in the README.
Honestly, I might just open another issue for this and reference this one for the sake of documentation.  I wish it hadn't been closed without feedback.

Cool man, go for it – it's been a year and a half without any feedback from @mattinsler, so I'm not really gonna push the issue

Hey guys, check #51. @drauggres seems to have solved this issue and I integrated it into the codebase.

Published to npm as version 0.2.9.

authors: mattinsler mhart zacronos

repo: mattinsler/longjohn


text:
mutation subfields when no mutationHandlers seen yet

Scenario:

User enters application on a specific route, say /items/new
Route has a form with an action that executes "createItem" mutation
User enters data, clicks "Save"
Mutation executes
GraphQL blows up because no subfields requested
Cashay did not add subfields because (I think) the user has not visited other routes with components that would register mutationHandlers.

Is it possible to have Cashay ask for a minimum of an "id" or something?

Yes you can! This is a pattern we use rather regularly with Cashay/GraphQL in our application Action.
What we do is use Cashay's @cached operator to query locally. Cashay will return an object along the shape of our requested query. If it's the first time the route is accessed, the query will return with the proper shape but with empty data. When the mutation fires, the mutation handler can return the data for the query, and the @cached query will then return the subfields as requested.
For some example, see how admins can login as other users or how we authenticate and update user preferences.

@jordanh Interesting!  @cached looks really neat.  I'll have to play with this to figure out how to make it work for me.
Thanks for open-sourcing action.  That project has exponentially increased my GraphQL on-boarding velocity—truly grateful.

@jordanh this is working for me! (in Ember, but should look similar):
const newItemQuery = `
{
  item @cached(type: "Item") {
    id
    name
  }
}
`;

const stateToComputed = () => {

  const { data: { item } } = cashay.query(newItemQuery, {
    op: 'createItem',
    mutationHandlers: {
      // Registering so that Cashay selects an id
      createItem() { }
    },
    resolveCached: {
      // We don't actually care about this yet
      item: () => { }
    },
  });

  return { item };
};

const CreateItem = Component.extend({

  createItem: task(function *(changeset) {
    yield cashay.mutate('createItem', {
      variables: {
        // `change` will be something like:  { name: 'My New Item' }
        item_details: changeset.get('change')
      }
    }).then(response => {
      if (!response.error) {
        // "itemCreated" is an upstream action that will redirect to a the detail page
        this.sendAction('itemCreated', response.data.createItem.id);
      }
    });
  }).drop(),  // drop prevents this task from being called more than once

  layout: hbs`

    <!-- This is really cool because I can pass the empty `item` object from
         the cached query to the form component! -->

    {{create-map-form
      changeset=(changeset item)
      submit=(perform createItem)
    }}

  `
});

export default connect(stateToComputed)(CreateItem);

What I think might be possible, is to actually create the item in the background with empty data, then when the user clicks "Create" what's really happening is an update.  Then the user doesn't have to wait for an id to be redirected because it's already there.  Many ways to skin a cat here I'm sure.

This looks awesome! Nice work @dustinfarris!

authors: dustinfarris jordanh

repo: mattkrick/cashay


text:
Date properties are strings

OneLogin custom objects' date properties should be output as a datetime object, rather than a string. Also, this should convert UTC to local time and vice-versa.

fixed in commit #67eb778b9fe3d743af303e48cd90beab65fbec78

repo: mattmcnabb/OneLogin


text:
Implemented: gtk_container_child_get

gtk_container_child_set only handles int and bool
So for gtk_container_child_get I also implemented only int and bool. Is that enough?

Codecov Report

Merging #380 into master will decrease coverage by <.01%.
The diff coverage is 42.85%.

@@            Coverage Diff            @@
##           master    #380      +/-   ##
=========================================
- Coverage    4.97%   4.96%   -0.01%
=========================================
  Files           1       1
  Lines        4483    4491       +8
=========================================
  Hits          223     223
- Misses       4251    4259       +8
  Partials        9       9

Impacted Files
Coverage Δ

gtk/gtk.go
4.96% <42.85%> (-0.01%)
:arrow_down:

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 7d65db4...ff69bb3. Read the comment docs.

Replaced by new PR

authors: codecov-io pebbe

repo: mattn/go-gtk


text:
Recv: handle clientIQ

Hey!
As promised, here is another pull request regarding the C2S Ping! :D Recv() now can also handle the Pong response that is wrapped in a <iq/> tag, so I also created a new type IQ.
Greetings, Philip

You're right, I'll update the pull request. :)

thank you

:tada:

repo: mattn/go-xmpp


text:
Param default behave anormaly with a Boolean type set to false

Hello,
When the default is set to false the param is not present in the request, we get a nil instead of the false.
This is an example of failing test
    it 'coerces default booleans to false when default is false and its not provided' do
      get('/default/boolean/false') do |response|
        expect(response.status).to eql 200
        expect(JSON.parse(response.body)['arg']).to be false # this test fail and we get a `nil`
        expect(JSON.parse(response.body)['arg']).to_not be_nil
      end
    end
  end

Fixed by #77. Thanks again, @zimski!

authors: mattt zimski

repo: mattt/sinatra-param


text:
Support chat colour/formatting support (CTCP)

\u0002 - bold
\u001F - underline
\u0016 - italic
\u000F - cease further formatting.
Example: \u0002this is bold\u000F, bold formatting stopped
this is bold, bold formatting stopped
\u0003 - start colour followed by x or x,y x and y being colour codes. left pad with 0:

Number
Color
Number
Color

0
White
8
Yellow

1
Black
9
Green

2
Dark blue
10
Teal

3
Dark green
11
Cyan

4
Red
12
Blue

5
Brown
13
Magenta

6
Purple
14
Dark gray

7
Olive
15
Light gray

Example: \u000302hello there\u000F
This displays hello there in dark blue

Handle ACTION messages the same way?

Colour formatting support has been added to during milestone v0.4.0

repo: matty-r/urChat


text:
🛑 VQ PROD SV is down

In 11b8728, VQ PROD SV (http://demolatam.sidesys.com.ar/VirtualQueue_SV/index.html) was down:

HTTP code: 0
Response time: 0 ms

Resolved: VQ PROD SV is back up in c1e5d7f.

repo: mauribesson/upptime


text:
🛑 API transact - PROD is down

In b2be123, API transact - PROD (https://transact.prod.api.eflow.com.ar/swagger) was down:

HTTP code: 0
Response time: 0 ms

Resolved: API transact - PROD is back up in 47471a5.


text:
Promise based start, stop, startAll, stopAll

Assumes a global Promise object is available.
Figured code might be a better way of communicating the ideas.
Supports:
Core.start('a').then(function(result) {
  // Even if init did not return anything
  console.log('module a started', result);
});

Core.startAll().then(function(result) {
  console.log(result); // an object that maps module names to their resolved values (may be undefined)
});

Core.stop('a').then(function(result) {
  // Even if init did not return anything
  console.log('module a started', result);
});

Core.stopAll().then(function(result) {
  console.log(result); // an object that maps module names to their resolved values (may be undefined)
});

Coverage remained the same when pulling 2708d723e0370470acbfd0d5dab09f8b36e12628 on allain:patch-1 into b35840c778d08ceb7462a0bbd5ee3ad769234df1 on mauriciosoares:master.

Yup. That looks spot on to me. Simple and clean.

Hey @allain, I agree with @jaetask, that's an clean and elegant solution, also I've never worked with the native Promises, thanks for teaching me that.
But I have to argue about some things in your solution, first, according to the mdn docs, the Promise object doesn't seem to support IE (in any version :/), also is not supported by Android, so I suppose we are gonna need a polyfill on that, which I'd love to work on.
And other thing, we talked in the issue #26 about handling async stuff, I mean if I do an ajax request in the init method, the callback in start will get triggered even if the ajax has not finished, do you see that as a problem?

Correct Promises will need to be polyfilled. I'd put in a comment saying
that the code assumed a global Promise implementation.
If methods in the sandbox (which I haven't deep dived yet) returned
promises then in the init you could do something like this:
... init = function(sandbox) {
return sandbox.ajaxRequest(....).then(function(response) {
/// process response and finish setup
return true;
}});
}
On 18 January 2015 at 17:21, Mauricio Soares notifications@github.com
wrote:

Hey @allain https://github.com/allain, I agree with @jaetask
https://github.com/jaetask, that's an clean and elegant solution, also
I've never worked with the native Promises, thanks for teaching me that.
But I have to argue about some things in your solution, first, according
to the mdn docs
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise,
the Promise object doesn't seem to support IE (in any version :/), also
is not supported by Android, so I suppose we are gonna need a polyfill on
that, which I'd love to work on.
And other thing, we talked in the issue #26
https://github.com/mauriciosoares/core.js/issues/26 about handling
async stuff, I mean if I do an ajax request in the init method, the
callback in start will get triggered even if the ajax has not finished, do
you see that as a problem?
—
Reply to this email directly or view it on GitHub
https://github.com/mauriciosoares/core.js/pull/30#issuecomment-70429227.

Cool, I'll check out some promises polyfill.
For the ajax handling I'd have to that internally in Core.js, I'll stick to simple promises at first, and then take a look how to implement that inside Core.
You mind if I don't merge this PR? since there's some work to be done with the polyfills and tests?

authors: allain coveralls jaetask mauriciosoares


text:
Cannot Upgrade Firmware on MacOS

When I plug in my PX4 via a direct USB-C cable, i cannot upgrade the firmware on MacOS Sonoma 14.2.1.

That's a PX4 or QGC issue, not MAVSDK.

authors: ilysec julianoes

repo: mavlink/MAVSDK-Python


text:
SimplePing.h not found

Hello, I have an issue when I try to build my project.
The SimplePing.h is not found. Any ideas?
My deployment target is iOS 9.3
Thanks

Hi,
Did you tried one of the demos, install it manually or with Cocoapods?

I am closing this issue.

authors: mavris thibaultfloquet

repo: mavris/MMLanScan


text:
Added missing parameters to PaginatedDataTable2 and AsyncPaginatedDat…

Issue #214 should be fixed with these changes. Hit me up if anything else needs to be changed before its good to merge!

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.01% :tada:

Comparison is base (baf9357) 95.66% compared to head (3521248) 95.67%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #215      +/-   ##
==========================================
+ Coverage   95.66%   95.67%   +0.01%
==========================================
  Files           3        3
  Lines        1107     1111       +4
==========================================
+ Hits         1059     1063       +4
  Misses         48       48

Files Changed
Coverage Δ

lib/src/async_paginated_data_table_2.dart
85.11% <ø> (ø)

lib/src/paginated_data_table_2.dart
97.93% <100.00%> (+0.02%)
:arrow_up:

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

Thanks!


text:
simplify_claims: allow rich values for novalue & somevalue

Allow rich values for novalue and somevalue.
See #41

Here's an example where this is important: https://www.wikidata.org/wiki/Q56863125 (look at the author claims).

authors: larsgw noinkling

repo: maxlath/wikidata-sdk


text:
🛑 Transport Canada / Transports Canada is down

In cc81d80, Transport Canada / Transports Canada (https://www.tc.gc.ca/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Transport Canada / Transports Canada is back up in 88e5ed2 after 12 minutes.

repo: maxneuvians/status-statut


text:
🛑 Home / Canadian Museum of History is down

In df5d1a1, Home / Canadian Museum of History (https://www.historymuseum.ca/) was down:

HTTP code: 500
Response time: 137 ms

Resolved: Home / Canadian Museum of History is back up in 42070bc after 11 minutes.


text:
Add reactivity adapter for RxJS

https://rxjs.dev/

closing this as RxJS is not signal based and the main focus of signaldb are signal-based reactivity systems

repo: maxnowack/signaldb


text:
[TCID-DIR-GUI-OPENEBS-COMPONENTS-VERSION] test to verify openebs components version

Test to verify OpenEBS components version installed in DOP.

PR: https://github.com/mayadata-io/oep-e2e-aws/pull/29


text:
Add Native App "Install" Banner to your Progressive Web App

Native App "Install" Progressive Web App Support
After publishing your native app, say Android, the next thing that rings in your mind as a dev is how to get it out there to people for them to install. That matters.
The most ideal place to fall for is the Web. The question is, why the Web? It's the incredible reach that the Web has on all devices that your target users are using. So, most of you would build a single page site to get your native app out there with some fancy install button.
With the reach and capabilities that progressive web app have, you could rather build a progressive web app that automatically in a more engaging way prompts the user to install your native app.
Native app install banners give you the ability to let users quickly and seamlessly install your native app on their device from the app store, without leaving the browser, and without showing an annoying interstitial.
How do you get that done?
Well, with pwafire app, you will start your progressive web app project and add a few lines of code to the manifest.json to add that Native App Install capabilities on the web . Check the code snippet below.
"prefer_related_applications": true,
"related_applications": [
  {
    "platform": "play",
    "id": "your_native_app_id"
  }
]

prefer_related_applications
Tells the browser to prompt the user with your native app instead of the web app. Leaving this value unset, or false, the browser will prompt the user to install the web app instead.
related_applications
Is an array with a list of objects that tell the browser about your preferred native application. Each object must include a platform property and an id property. Where the platform is play and the id is your Play Store app ID.
Read more about this add on PWA Fire Bundle on this doc published.
Cheers and have fun!

Working

repo: mayeedwin/pwafire


text:
[Feature Request] Day/Month Formatting

Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
Add month/day and day/month to clock's date.
Additional Context
None.

Added in 1.0.1b6

repo: maykar/compact-custom-header


text:
Make LoA a required field and set a sane default

Currently, if no LoA is configured in the admin/model, an invalid request is sent to (at least) eHerkenning, since there is no LoA set.
We should set a sane default, which should have been done to make things backwards compatible.
LoA DigiD: midden
LoA eHerkenning 2+

We should set a sane default, which should have been done to make things backwards compatible.

This is not new behaviour. EherhenningConfiguration.loa hasn't been touched. The settings had a default value loa3, but wasn't required, so an active, accidental misconfigure was possible.
For the data migration I've used the suggested 2+, but kept the default 3.
Technically it's still possible to misconfigure; choices creates no integrity check on the database, just on the created admin forms. It's just even harder.

authors: CharString joeribekker

repo: maykinmedia/django-digid-eherkenning


text:
LiteDB takes more file size than XML file storage

We are using XML file storage for small scale (.NET CORE with angular hybrid desktop application using Electron). In that application we are storing the database schema in XML file database. But it was taking more time to storing and fetching the data in XML file, Also its throwing file read exception when more than one requests hits at same time.
So planned to switch the No SQL database like LiteDB .  we have tried the LITEDB , its files size is three times bigger than XML File storage for each database schema storage.

@vivekkingston Could you provide some examples? Like some code (so I can see how you're using LiteDB) and the datafile you're using. This is not expected, LiteDB internally uses a binary representation of JSON, and it should be many times more compact than XML.

@vivekkingston Could you provide some examples? Like some code (so I can see how you're using LiteDB) and the datafile you're using. This is not expected, LiteDB internally uses a binary representation of JSON, and it should be many times more compact than XML.

Database.zip
Please find the both database xml and flatfile db.

@vivekkingston The "xmlflatfile.dbdata" file seems to be completely garbled, I believe it is encrypted.
Could you provide some sample code on how you're using LiteDB? Currently, all entries have a single property Name containing the entire XML as a string, which is very inefficient.

authors: lbnascimento vivekkingston

repo: mbdavid/LiteDB


text:
MK20DX SWD port is enabled by default caused external debug adapter not applicable

In MK20DX PORT_SWD_SETUP, PTA4 is set to output low, which enables SWD port immediately, and external debug adapters cannot be used.

Hi @akmll, please re-open this issue on DAPLink if this is still a problem

repo: mbedmicro/CMSIS-DAP


text:
Chore: remove env loading from python_src

We should be able to use direnv to handle this for us, even inside of a poetry shell. The following steps worked for me, and should work in linux as well.

Install direnv to your machine. (i'm on version 2.32.2)
Update the config toml file to load dot env files.

https://stackoverflow.com/a/71635629

Run direnv allow . in the root dir
Run poetry install once more in python_src to install the dependencies into the new virtualenv.

Asana Task: https://app.asana.com/0/1189492770004753/1204390911340914/f

Should we be using asdf to install direnv in a more controlled manner?
I doubt there would be breaking changes but my system is on version 2.25.2 for direnv and asdf seems like a good way to make sure everyone using the project is one the same version.

This seems to be working for me. I followed the directions here https://github.com/asdf-community/asdf-direnv instead of the stackoverflow link you posted.
I ran asdf direnv local in our root project directory and that set direnv to allow in the folder and created  a .envrc file in our root project folder with just the following inside:
use asdf

authors: mzappitello rymarczy

repo: mbta/lamp


text:
same issue with msfs

im having same issue on hp reverb g2 MSFS wont launch into vr unless i disable the toolkit.i get a message that i dont have open xr installed.worked fine until i upgraded to 3080ti and did a clean windows 11 install
Originally posted by @mbucchia in https://github.com/mbucchia/OpenXR-Toolkit/issues/262#issuecomment-1068687724

Do you have EVGA software? Their software is breaking ours.
Try deleting file C:\Windows\system32\fw1fontwrapper.dll

The issue cause by EVGA is fixed in the 1.0.5 release that was just published. Please re-open if your issue persist.

Hi yes I have an evga 3080ti the only software I have is precision x1.my last card was an evga 2080ti and worked flawlessSent from my Verizon, Samsung Galaxy smartphone
-------- Original message --------From: Matthieu Bucchianeri @.> Date: 4/2/22  11:57 PM  (GMT-05:00) To: mbucchia/OpenXR-Toolkit @.> Cc: Rageinthecage77 @.>, Author @.> Subject: Re: [mbucchia/OpenXR-Toolkit] same issue with msfs  (Issue #294)
Do you have EVGA software? Their software is breaking ours.
Try deleting file C:\Windows\system32\fw1fontwrapper.dll
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I updated to the 1.05 release works perfectly now thank you so much been trying everything for days pulling my hair out before I found the forum thanks again....                                                        TimSent from my Verizon, Samsung Galaxy smartphone
-------- Original message --------From: Matthieu Bucchianeri @.> Date: 4/3/22  4:03 AM  (GMT-05:00) To: mbucchia/OpenXR-Toolkit @.> Cc: Rageinthecage77 @.>, Author @.> Subject: Re: [mbucchia/OpenXR-Toolkit] same issue with msfs  (Issue #294)
The issue cause by EVGA is fixed in the 1.0.5 release that was just published. Please re-open if your issue persist.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

repo: mbucchia/OpenXR-Toolkit


text:
1.1.2 app bad display and also crashed in DCS

Describe the bug
the app is missing the experimental setting tick box and the bottom labels about updates and report bugs
I also had a bug when making CTRL F2 in DCS with an error windows from the toolkit sw and a crash of DCS
Environment

1.1.2 toolkit, DCS world beta last update (working very well with 1.1.0)
HP reverb G2
110.2204.7007 0
AMD RX6900XT adrenaline 22.5.1

To Reproduce
Steps to reproduce the behavior:

Run WMR OPENXR OPENXR toolkit then DCS
in the display of app , in DCS when CTRL F2
See limited size of bottom of app, rror windows under DCS

Expected behavior
same perfect behavior as with 1.1.0 for the app display and in DCS
Screenshots
If applicable, add screenshots to help explain your problem. Use the Companion app to enable screenshots, then use Ctrl+F12 to capture. The file is placed in %LocalAppData%\OpenXR-Toolkit\screenshots.

the app is missing the experimental setting tick box

This option was doing nothing since version 1.0, so it was removed.

I also had a bug when making CTRL F2 in DCS with an error windows from the toolkit sw and a crash of DCS

Can't do anything unless you're going to attach log files. The error you displayed is coming from OpenComposite. It might be caused by OpenXR Toolkit but there is nothing I can do without the log files.

Hi thank you for your answer, after going back to 1.1.0 I started a new trial of 1.1.2 in DCS and was unable to reproduce the error window from open composite so I guess something has changed in my configuration possibly in the display organization as I switch regularly from VR to a multi MFD sim cockpit. Whatever being, I noticed also the disappearance of the link for update at the 3rd party licence level at the bottom of the app window.
For now so everything seems alright congratulation for your marvelous app
Jean Philippe

Le 22 mai 2022 à 23:31, Matthieu Bucchianeri @.***> a écrit :

the app is missing the experimental setting tick box
This option was doing nothing since version 1.0, so it was removed.
I also had a bug when making CTRL F2 in DCS with an error windows from the toolkit sw and a crash of DCS
Can't do anything unless you're going to attach log files. The error you displayed is coming from OpenComposite. It might be caused by OpenXR Toolkit but there is nothing I can do without the log files.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

I checked that and I have no problem. It shows correctly for me.

Can you send me a screenshot please?

Hi here is the screenshot of the app windows that seems cut off at the bottom. I’ve also exchanged with jabbah from opencomposite after downloading the last version updated he gave me link and the last openvr_api.dll (1388k size) from his in readme link, because I had yet the error windows -2 but only in the DCS start from runway in persian gulf map mission provided by DCS with the AH64 mod as well as problems on line 2 (mirror) and 7 (stats ) of open composite.ini. I was obliged putting these lines in commentaries. error -2 looks like to be solved by renaming D3Dcompiler_47.dll in D3Dcompiler_47_orig.dll like also recommended in the readme of opencomposite
I am using a HP 1920x1080 monitor with a RX6900XT and the last adrenaline driver  22.5.1
Have a good day
Jean Philippe
Envoyé de mon iPhone

Le 29 mai 2022 à 06:35, Matthieu Bucchianeri @.***> a écrit :

I checked that and I have no problem. It shows correctly for me.
Can you send me a screenshot please?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Thanks, but attachments don't work via email
You need to upload them from the web UI of GitHub.

Just performed a fresh install on a new SSD - after downloading and running MSFS and Open XR I am also not seeing the tick box for experimental settings
Several options are missing from the menu I have before. I will see if I can get some screen shots

@olly1615 the Experimental checkbox did not do anything at all since beta 2. That's why it's gone. I kept seeing videos online from people telling you how important it is to enable Experimental...but it was literally doing nothing for several months :)
What options are you missing? Are you sure what's missing is not for you to enable Expert settings in the Menu tab?

As can be seen in the picture I’ve sent, I’m just missing the links for reporting a bug and checking for new update at the bottom of the app window. Looks like some pixels are missing or the dimension of the window are wrong. I’m working with a 1920x1080 monitor 16/9 and a RX6900XT

Le 9 juin 2022 à 06:37, Matthieu Bucchianeri @.***> a écrit :

@olly1615 the Experimental checkbox did not do anything at all since beta 2. That's why it's gone. I kept seeing videos online from people telling you how important it is to enable Experimental...but it was literally doing nothing for several months :)
What options are you missing? Are you sure what's missing is not for you to enable Expert settings in the Menu tab?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

This will be fixed in release 1.2.0.

authors: Jiphou mbucchia olly1615


text:
can't find _http_common from /node_modules/restify/node_modules/spdy/lib/spdy

Hi . I use restify@3.0.2  and  browserify@9.0.8 .
When browserifying my app.js , it reports an error:
Error: Cannot find module '_http_common' from '/Users/youmoo/personal/nodejs/node-mybatis/node_modules/restify/node_modules/spdy/lib/spdy'

Can you help me solve this. Thank you

This seems like a browserify issue. I'd suggest you contact them.

I'm having the exact same issue with webpack.
Did you find a fix for this?

Also seeing this, under webpack. The module referenced doesn't exist, suggesting the dependency chain goes bad somewhere under restify.

@ssube @Youmoo @yunong  anyone ever solved this?

It's not recommended, and perhaps not even possible, to browserify/webpack bundle the server entry point due to all the dependencies in restify that are nodejs specific. Modules like _http_common, _http_incoming (as required by spdy) are modules that exist only in node and cannot be shimmed for browser usage.

authors: DonutEspresso Youmoo gebrits jadbaz ssube yunong

repo: mcavage/node-restify


text:
Added typeof check to the jsonp callback

When getting data via a jsonp request, its useful to have a check that ensures the callback function is defined before calling it. This prevents a reference error from being thrown in the browser if a function name is not defined when data is returned.

Hi, thanks for contributing! Could you please add a unit test for this? Please prefix the name with "gh #729".

The test has been added, however the tests failed due to using version 3.0.0 on Travis and my PR is from 2.8.4.
Thinking I should close this PR and open a new one with the most recent version.

authors: mbjordan yunong


text:
🛑 ChatGenie Client API is down

In 7b89c8d, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in ef99c4c.


text:
🛑 ChatGenie Client API is down

In f108072, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 8b1902e.


text:
🛑 ChatGenie Client API is down

In 37e5314, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 75510df.


text:
🛑 ChatGenie MiniApp API is down

In 04776f1, ChatGenie MiniApp API ($CHATGENIE_BOT_API) was down:

HTTP code: 404
Response time: 197 ms

Resolved: ChatGenie MiniApp API is back up in 262576c.


text:
🛑 ChatGenie MiniApp API is down

In d56d338, ChatGenie MiniApp API ($CHATGENIE_BOT_API) was down:

HTTP code: 404
Response time: 301 ms

Resolved: ChatGenie MiniApp API is back up in 7941c76.


text:
🛑 ChatGenie Client API is down

In 161b296, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 04aa11c.


text:
🛑 ChatGenie Client API is down

In cc3848c, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 82c642d.


text:
🛑 ChatGenie Client API is down

In d7f4295, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in e033473.


text:
🛑 ChatGenie Client API is down

In 28fc774, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in b973799 after 19 minutes.


text:
🛑 ChatGenie Client API is down

In b947699, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 2a30051 after 40 minutes.


text:
🛑 ChatGenie Client API is down

In 05bdeec, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 5639d72 after 16 minutes.


text:
🛑 ChatGenie Client API is down

In 2b440b0, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 047a1a9 after 18 minutes.


text:
🛑 ChatGenie Client API is down

In 5648152, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in f27221b.


text:
🛑 ChatGenie Client API is down

In e181f9c, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 1614033 after 17 minutes.


text:
🛑 ChatGenie Client API is down

In 5b16892, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 5a78929.


text:
🛑 ChatGenie Client API is down

In eb35e77, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 9f3fd53.


text:
Deleting files from the actor/out/temp directory

Hi, @adrianth
Is there a way to clear the actor/out/temp directory during the test (or during the start of the test or at the end, it doesn't matter)
Or maybe there is a way to clear downloaded files on remote selenium chrome node?
I searched a lot of things, but I could not find a solution, it seems like downloaded files should be deleted automatically at the end of the session, but this does not happen

ok, i found solution...
There is an undocumented file deletion function - org.getopentest.actions.files.DeleteFiles - link to source
3 arguments are accepted for input - 1 required (directory) and 2 more optional, but at least one of them must be present!

Argument
Description

directory
The directory where you want to delete files

fileName
The name of the file to delete

pattern
Pattern of files to delete

If the fileName argument is specified, the pattern argument will be ignored
Example: Delete all files, like run-config, main-config and etc., inside  /opt/opentest/actor/out/temp/downloads folder.
- description: Other - Delete all *-config from Downloads
  action: org.getopentest.actions.files.DeleteFiles
  args:
    directory: $tempDir + "/downloads"
    pattern: "*-config"

repo: mcdcorp/opentest


text:
Feature Request: Only scan areas with spawn points?

I noticed that you can see the spawn points with spawn times now. That's an awesome cool feature!
Wouldn't that make it possible to only scan those areas or even only at those times? Wouldn't it make things way more efficient and faster?

+1. First it should scan the whole area and after that only spawn points

you just need to update(/add a line in) main.js with --spawnpoint-scanning under var cmdLine = [

authors: datrinh pehmolelu toddstar

repo: mchristopher/PokemonGo-DesktopMap


text:
Fetching reads fails in annotate step

Hi,
I would like to run SVclone on some WGS data but I am getting the "Fetching reads failed" error. I saw in #3 that this error should have been fixed a while ago and I also don't get this error when running the run_example.sh, so I'm not sure what's going on.
Any help with this would be greatly appreciated!
Kerstin
svclone annotate -i $SVfiltered_path \
>     -b $BAMpath \
>     -s $region \
>     -o $region_out_dir \
>     --config $config_path \
>     --sv_format simple
Loading SV calls...
Recalibrating consensus alignments...
Fetching reads failed for loc: 1:1546850-1546874
Fetching reads failed for loc: 4:75662510-75662534
Fetching reads failed for loc: 1:30601540-30601564
Fetching reads failed for loc: 5:34537942-34537966
Fetching reads failed for loc: 1:152267992-152268016
Fetching reads failed for loc: 17:66161812-66161836
Fetching reads failed for loc: 1:154529076-154529100
Fetching reads failed for loc: 1:154529338-154529362
Fetching reads failed for loc: 1:182305170-182305194
Fetching reads failed for loc: 7:105411800-105411824
Fetching reads failed for loc: 1:194481520-194481544
Fetching reads failed for loc: 1:194481557-194481581
Fetching reads failed for loc: 1:247405670-247405694
Fetching reads failed for loc: 6:73649450-73649474
Fetching reads failed for loc: 2:9991560-9991584
Fetching reads failed for loc: 2:10199482-10199506
Fetching reads failed for loc: 2:42935975-42935999
Fetching reads failed for loc: X:9223036-9223060
Fetching reads failed for loc: 2:42935979-42936003

I would first check that your chromosome names for your locations and bam files match. Then have a look in IGV to see if you can see reads in those regions for your input bam.
If all that looks fine, if you could please post a small sample of your bam file from one of your regions I can have a look. You can extract regions using samtools' view function.

authors: kerstinth mcmero

repo: mcmero/SVclone


text:
optimization on steps

when defining multiple steps from the range of 2 to 50, the generator goes through all of them from step 0, it would be nice if the optimization happen so in the middle of the steps it saves the pictures and continue where it left off

So, that's actually a fun topic! It doesn't actually work that way!
going from 20 to 40 steps doesn't just do twice as many steps... it does twice as many steps with half as much change per step.
For example, here's Euler generating a cat for 6 steps:

and the same cat for 40 steps:

Compare sample-5 on the 6-step to sample-5 the 40-step.
Barely even similar!
The differences are even worse if you use SDE (stochastic) or any of the a (ancestral) variant samplers.
Each step of SD isn't just taking the image and trying to make it better, it's taking an image at for example 50% noise and trying to decide what the image should look like at 40% noise - this is the heart of 'diffusion' AI models. Rather than training an AI to generate images, they are trained to remove a small percent of noise per step, and do that repeatedly.
Adding more steps adds more quality because each step doesn't have to create as much new information, because the % of noise it needs to remove is lower.
The AI knows what step it's on... it's not just "remove 2% noise", it's "bring this image from 54% noisey to 52% noisey".
* Note for the record that even now I'm still slightly simplifying and anthropomorphizing.

Side note, if you wanted to see what would happen if you took the idea you had and applied it anyway despite SD not quite working how you thought, you can try that! Create an img in txt2img, then send it to img2img, copy the seed/sampler/prompt/etc over, pick a denoising amount and run the img2img. You'll get a different result than if you just increased the step count.

So, bad news: can't optimize things that way.
Good news: you learned something new about SD :D


text:
Cassandra version should be configurable

The cassandra version should be configurable at least at compile-time.
This can probably be done by using the maven-properties-plugin to write the version.cassandra value to a file, then read it back in to some configuration class at runtime.

This is a blocker for #1

This change from upstream is breaking some of the JMX event listening but shouldn't be that hard to fix.

repo: mcoffin/cassandra-mesos


text:
CLI compatible with upstream dot

I wonder if it's possible to provide the command-line interface or some API that takes command-line arguments that mimics the behavior of the upstream dot command.
Combining with https://github.com/nexe/nexe, we could build an alternative portable dot binary, that can run without any pre-installed shared libraries.

I think this is out of scope for Viz.js, but it should be straightforward to adapt the build to create such a package. I believe the dot command-line parsing code is available when using Graphviz as a library.

authors: mdaines trustin


text:
🛑 Functional Cafe is down

In 87a396e, Functional Cafe (https://functional.cafe) was down:

HTTP code: 502
Response time: 520 ms

Resolved: Functional Cafe is back up in fd83405.

repo: mdallastella/fc-uptime


text:
Topic: Setting Up Continuous Deployment with ArgoCD on Kubernetes

Describe the types of DevOps topics you'd add in HelpOps-Hub Resource pages
Include comprehensive guides on CI/CD, containerization, infrastructure as code, monitoring and logging, cloud platforms, and DevOps best practices.
How many and what types of DevOps tools are you adding?

Kubernetes
ArgoCD

How many years of experience do you have in the DevOps field?
3 months
Could you share some screenshots or a video of your previous DevOps work?
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[ ] I'm DevOps professional
[X] Soon, I'll complete it and create a Pull Request.
[X] I'm a beginner in DevOps, but I'll try to contribute the best resources with hands-on experience.

@mdazfar2
Kindly assign me this issue

@Aditi22Bansal As of now, we do not need it. We will let you know in the future if there is a need. Please search for another issue and raise it, which I'm happy to assign to you.


text:
Simple request :)

It would be useful if with a double click on a color (both of the palette or the custom colors) of the color picker, trigger the event that close the popup

I don't know if double click is a good idea, it doesn't work on mobile for one thing.
I was thinking of adding an option to automatically close the picker when a color swatch is clicked.

For my use (my site is only for desktop user) will be better double click,
if you can add two parameter, one for enable single click and one for
double click i use the second one for this site and maybe the first one the
next time :)
Il lun 27 dic 2021, 02:41 Momo Bassit @.***> ha scritto:

I don't know if double click is a good idea, it doesn't work on mobile for
one thing.
I was thinking of adding an option to automatically close the picker when
a color swatch is clicked.
—
Reply to this email directly, view it on GitHub
https://github.com/mdbassit/Coloris/issues/30#issuecomment-1001284051,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARVVRIRGERE6KBA45UJQCWTUS6757ANCNFSM5KR55RFA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

I still don't think double click is a good way of doing it, but if you would like to add it to your own website, add this code at the end of your page:
document.addEventListener('dblclick', function (event) {
  if ( event.target.matches('.clr-swatches button, #clr-color-marker') ) {
    Coloris.close();
  }
});

This will close the color picker when you double click on the swatches or the spectrum.

I'll try it when I'll return from my holidays in Sicilia :)
Thank so much and Happy new year!
Il gio 30 dic 2021, 02:08 Momo Bassit @.***> ha scritto:

I still don't think double click is a good way of doing it, but if you
would like to add it to your own website, add this code at the end of your
page:
document.addEventListener('dblclick', function (event) {
if ( event.target.matches('.clr-swatches button, #clr-color-marker') ) {
Coloris.close();
}});
This will close the color picker when you double click on the swatches or
the spectrum.
—
Reply to this email directly, view it on GitHub
https://github.com/mdbassit/Coloris/issues/30#issuecomment-1002831700,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARVVRIWXC6U2Q236HRRK2UDUTOWILANCNFSM5KR55RFA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

repo: mdbassit/Coloris


text:
New Share Option

Consider adding a share with https://www.devsfordevs.com/, as being a new dev.to competitor

Thanks for sharing this resource :)

authors: BenHerbst filipkappa

repo: mdbootstrap/TW-Elements


text:
Tailwind Elements and Angular

Issue
Hi everybody!
I tried to add Tailwind Elements to my Angular project to be able to use some of your components (eg: Date picker).
Unfortunately, it doesn't seem to work. I have some elements working (like the date picker field is transformed to a kinda material looking floating input). But when I click on it, my date picker calendar isn't fired.
I followed the steps given in the NPM installation guide :
1- I have Node installed and TailwindCss in my project
2- Installed Tailwind Elements via npm :
npm install tw-elements

3-  Added that code in my tailwind.config.ts file :
module.exports = {
  content: ['./src/**/*.{html,js}', './node_modules/tw-elements/dist/js/**/*.js'],
  plugins: [
    require('tw-elements/dist/plugin')
  ]
}

4- I'm kinda stuck on point 4 though... They ask to add in the index.html file this script call :
<script src="./TW-ELEMENTS-PATH/dist/js/index.min.js"></script>

What I tried
1- Add that javascript script code (the above one)... But I can't really do that in an Angular project (I tried but it doesn't work).
2- I tried as well to add this index.min.js file in my project and declare it in my angular.json file on the "scripts" section (doesn't work either).
3- I tried as well to call this script via a CDN (doesn't work).
So if someone has an idea to make Tailwind Elements work in an Angular project, I'll take any hint ;)

In fact the problem didn't really come from my install. I tried other components and it seems to work fine.
This freaking DatePicker refuses to get triggered though... Which seems to be a pretty recurrent problem among issues posted on this GitHub.
But if anyone has an idea about how to make it work... I'l take it ;)

Hi,
i've the same problem with react. The DatePicker is not working :(
did you get it working?

Hi,
i've the same problem with react. The DatePicker is not working :(
did you get it working?

Well, not really... But I found a post where a guy rebuild it in angular to make it work.
Not ideal, I would have preferred the A tailwinds elements native way, but hey...
Here's the link to this blog post :
https://dev.to/timsar2/create-datepicker-by-tailwindcss-angular-3p8k

I can chime in and say that I can confirm that the datepicker in tw-elements isn't working in Angular (v15.0.3).
I am glad that I found this post after a couple of hours of tweaking and pulling my hair out.
Hope it'll get sorted out soon.

https://dev.to/timsar2/create-datepicker-by-tailwindcss-angular-3p8k

Downside to that example is if you need to pick a year.  :(. but kudos to that person for a working tailwind + angular datepicker from scratch.
Yes, I too, cannot get the tw-elements datepicker to trigger in my angular v15 app.

Hi, unfortunately Tailwind Elements does not working properly with Angular but we do have plans for creating standalone Tailwind Elements Angular library. Without specific date yet.

authors: Esanic Saintenr Trochonovitz dphermes hiddenkirby

repo: mdbootstrap/Tailwind-Elements


text:
Add passive listener option

Make sure these boxes are checked before submitting your issue -- thank you!

[x] Check FAQ and Caveats
[x] Search if there's already one reported in Issues
[ ] Prepare a JSFiddle reproducing the issue

perfect-scrollbar JSFiddle

[ ] Provide a page or source code where the issue can be checked

It would be nice to have the option to add the event listeners passively.
See https://developers.google.com/web/tools/lighthouse/audits/passive-event-listeners?utm_source=lighthouse&utm_medium=cli

Latest related page on this: https://web.dev/uses-passive-event-listeners/

From https://github.com/mdbootstrap/perfect-scrollbar/issues/975#issuecomment-731771857, there is a PR to set the listener's passive: false since they call preventDefault(). It doesn't look like anyone plans to add support for making the value optionally set by consumers of this library.

authors: Splaktar dreitzner

repo: mdbootstrap/perfect-scrollbar


text:
display a palette to manage fields within the note

Display the same options as context menu in a tool palette, accessible with a hotkey

done in 0.2.8