arduino

Is there an existing issue for this?

[X] I have searched the existing issues

I want to suggest:

[X] support for a new product
[X] new functionality for a product
[ ] documentation improvement
[X] other

Feature description
Could you please make a version of this library for arduino/esp? Or at least make a tutorial for rasberry? I tried your serial line method, but unfortunately the console output was nothing (the temperature should have been displayed). Thank you
Additional information
No response
Product page
No response
Code of Conduct

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

Hi!
Unfortunately, this library is written in Python and cannot be easily ported for ESP or Arduino platform. If this ever happens, it'll be a whole separate project.
As for tutorial for RPi, this is standard Python library, you install it via pip and use it as specified in documentation.
In order to better understand the issue you're having, please provide more info, such as controller model, what connection method you're using to connect ecoMAX controller to RPi, code that you've tried and log output it produced (if any).
Please note, that you cannot directly connect ecoMAX controller to RPi serial pins, you'll need RS485 to TTL converter.

Hi,
I checked your source code and I think that problem is, that my RAM is 0x08
(data in ram, temperatures etc...). I have no connect boiler to ecoMAX or
ecoSTER, I want read out data from boiler.
I send you map of my red out memory where data(temperatures, oxygens ets)
are.
Unfortunetly i did not find map of ecoMAX or ecoSTER in your project.
Meaning that start address is 0x68 for example and boiler temperature
starting byte is 0x08 --> 0x68+0x08 and read out 4 bytes for calculation of
boiler temperature..
Highligted registers meaning that i did found solutions for that numbers..
ending address of packet is 0x16 but i dont show on console..
Michal
--
S pozdravem / Best regards
Ing. Michal Hedvíček
@.***
@.***
+420 733 617 369
+420 545 555 301
---------- Původní e-mail ----------
Od: Denis Paavilainen @.>
Komu: denpamusic/PyPlumIO @.>
Kopie: Michal He2 @.>, Author @.>
Datum: 14. 9. 2022 18:02:35
Předmět: Re: [denpamusic/PyPlumIO] arduino (Issue #4)
"
Hi!
Unfortunately, this library is written in Python and cannot be easily ported
for ESP or Arduino platform. If this ever happens, it'll be a whole separate
project.
As for tutorial for RPi, this is standard Python library, you install it via
pip and use it as specified in documentation.
In order to better understand the issue you're having, please provide more
info, such as controller model, what connection method you're using to
connect ecoMAX controller to RPi, code that you've tried and log output it
produced (if any).
Please note, that you cannot directly connect ecoMAX controller to RPi
serial pins, you'll need RS485 to TTL converter.
—
Reply to this email directly, view it on GitHub
(https://github.com/denpamusic/PyPlumIO/issues/4#issuecomment-1246984433),
or unsubscribe
(https://github.com/notifications/unsubscribe-auth/AKLUAFK5KRXG3GKPSFGZDA3V6HZJNANCNFSM6AAAAAAQENVXXQ)
.
You are receiving this because you authored the thread. Message ID: <
@.***>
"

I am also interested of expanding plum finctionality by adding arduino for additional outputs and logic. Trying to integrate my heat pump with ecomax clearly.

Found out and ordered PI Pico controller. It supports python, so seems to be some kind of solution.

Pi Pico supports a particular flavor of Python 3, called MicroPython(MP). While it uses python's syntax, it lacks python's asyncio library, using lightweight replacement (uasyncio) instead.
Asyncio is mandatory for running PyPlumIO and asyncio-pyserial library that it uses for serial communication. So while it should be a lot easier to port PyPlumIO to MP, than to C/C++, it is sadly still needs to be ported and will not work as is.
I still recommend getting RPi or alternatives, such as Orange Pi, that can run full Python, but I'll look into making MP version of this library if it's feasible.

@zASSAz @hedva92
Is this still a relevant issue? PyPlumIO currently approaches pre-release stability, which means that it's API is relatively settled. Once we're there, I'm willing to at least try to port it to MicroPython if there's interest in it.

Closing for now, as there seems to be no interest in MP library for now.
Feel free to reopen if that changes.


precompiling html templates into $templateCache breaks translation

during our build process we inject all html templates into the $templateCache to reduce server requests. for the most part it seems to work. however, we get seemingly random instances of broken translation...even on the same page some elements will translate while others will not. Anyone else seeing this?

anyone?

Could you please make a standalone test case showing the problem? For example with plunkr, jsfiddle.

Here's a plunkr of the issue I'm seeing. Anything using the directive translates, anything using the filter does not...

Well:
a) you should use the latest angular-translate and not 2.2.0
b) you should use the right keys "login.password" and not "password"
Here is the working, updated plunker (I was to lazy to swap the loader to a current version - so I left it at 2.2.0 as it seems to work ok for this demo:
http://plnkr.co/edit/76oAY5y40BpFxCbi0WeR?p=preview
Any defects or issues left?

looks like the update solved it, thanks!

@tspaeth Sir, you saved my day.

Huh, but thanks :smiley:


Add lint check for no-newline-at-end-of-file

Removing the newline at the end of files is a pretty common issue in Zulip pull requests; this is a classic example of something best checked by computers rather than being checked in code review, so we should modify tools/lint-all to add a check for this.
Googling a bit, it seems like eslint has a plugin to do this, so it's possible that as part of making progress on this we should do the migration from jslint to eslint for our javascript linter (#535).

@timabbott Will it be fine if I do like, opening every file and going to the end and checking or should I be doing something better than this?

custom_check_file in tools/lint-all is already reading every file to the end, so I think you can just add a bit of code in that function to check that there's a newline at the end of the file.

I think we should close this issue now, since #540 has been merged.

Yep, thanks for catching this @sharmaeklavya2 !


add gif as img mimetype

Related to the issue described in https://github.com/USGS-VIZLAB/how-to-gdp/pull/28 where gifs would make it to target, but would not end up being used in index.html.

Coverage remained the same at 71.438% when pulling f09fc70dbcf29b29417bde084998b6f5be7cc4c1 on lindsaycarr:master into d38ee8d61d060f7e6da2d6f4fe930cbb7dc773c0 on USGS-VIZLAB:master.


[Focus] Generate Isos rather than Lenses for single-argument case classes

@kenbot Iso have a replace method https://github.com/optics-dev/Monocle/blob/master/core/shared/src/main/scala/monocle/Iso.scala#L79
Iso extends Lens, they are strictly more powerful.

Oh, I've completely confused myself! You're right of course. All good

I also get confused regularly!


2.2.1 version changes

coverage: 77.682%. remained the same when pulling e02e8a7447a0d5f982f55c4ef394ba6995186411 on vladvildanov:2.2.1-version-change into df14e11c3a047217a16ad2430c1587a583c2268c on predis:v2.x.


Fixed broken link to Auto-Swap section

The document was missing a markdown destination for the Auto-Swap section, and as a result, there was a broken link. I added the correct markdown destination and fixed the broken link.
This was done in the same style as other links to page-sections in this document

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@mjalwajeeh : Thanks for your contribution to the Azure documentation! The author, @cephalin, has been notified to review your proposed change.

@mjalwajeeh Thanks for the catch!
#sign-off


PulseAudio echo-cancellation module doesn't exist

Description
When trying to load echo-cancellation module, pactl returns and error because the module doesn't exist.
Type of PR

[ ] Bugfix
[ ] Feature implementation
[ ] Refactor of code (without functional changes)
[X] Documentation improvements
[ ] Test improvements

Testing
$ pactl load-module echo-cancellation
Failure: Module initialization failed

The correct module name is module-echo-cancel:
$ pactl load-module module-echo-cancel
20

Ah thanks for this - have sent through the CLA now
Hope you had a good Christmas too :)

Bam, you are quick :)
Merging now


Upgrade Go Linter

In what area(s)?
 Must be done in sync with changes in components-contrib since components-contrib will be added in as a dependency.

I  didn’t approve to have someone running my whole damn phone!!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dapr/dapr/issues/3024#event-5010556562, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ARJTMDVKG6NO5UVMA5KWH3DTXOGJDANCNFSM42NXQFHA
.

--
Mrs. Amanda Luft


Preview site front page rendering

Front page has some issues rendering. Brave browser, Chrome browser, Android 10 and 11, phone and other narrow viewports.

Fixed on the new PR that I will upload soon.


shadow variable

/lib/jxl/dec_patch_dictionary.cc line 117
code:
for (size_t i = 0; i < id_count; i++) {
PatchPosition pos;
pos.ref_pos = ref_pos;
// .. some lines
for (size_t i = 0; i < shared_->metadata->m.extra_channel_info.size() + 1; // <-- shadow variable
i++) {

I don't mind if you do these as issues, but it would be more convenient if you could do it as pull requests :)
Anyway thanks for spotting this!


Plans for adding support for signTypedData/signMessage

👋 I'm David from ImmutableX, while we are planning to support StarkNet for ImmutableX's multi-rollup Orderbook, we noticed that off-chain signing & verification is a hard dependency.
Although these features are already supported in other languages like JS & Cairo I see that Caigo seems to only support the basic Account.Sign() as of now.
Do you have any plans to support this in the near future? This seems to be a need for many other projects as well since this is a frequently used functionality.
Also, does anyone know any case or example/implementation of signTypedData or signMessage in Golang?

Sorry for the delay. It should be available already, no? We are using to sign the session key at least.

We are using to sign the session key at least.

Thanks for the answer @gregoryguillou, can you please elaborate on what you're exactly referring to here?
Do you have any links or code snippets I can refer to with this/and your comment, by any chance?


How to use \n in replacement string?

When I use \n in the replacement string, it doesn't work:
$ ambr -r "(?m)Vec3A as Vec3,\n" "Vec3,\n"
./spheres/src/lib.rs:   pub resolution: Vec3A as Vec3,
        pub time: f32,
                   ->   pub resolution: Vec3,\n pub time: f32,
Replace keyword? [Y]es/[n]o/[a]ll/[q]uit: q

I've added escaped charactor support in keyword and replacement like below:
$ ambr "Vec3A as Vec3,\n" "Vec3,\n"

it's not clear to me how to prevent expansion of escape sequences in the replacement
e.g. to print \n (backslash n) instead of replacing it with a newline


AttributeError: 'list' object has no attribute 'shape'

list.shape()
-->
list.shape

np.shape(list)


Sticky header functionality not working

Describe the bug
There is the closed issue #1824, stating that the sticky header functionality should work, but that doesn't seem to be the case in the current version (0.24.16).
I tested the following assignments to the sticky-header prop:
sticky-header="true"
sticky-header="100"
sticky-header="100px"
sticky-header="100%"
I couldn't observe any effect with all of these.
Reproduction
https://stackblitz.com/edit/github-sylkhu-6f7ffl?file=src%2FApp.vue
Used Package Manager
npm
Validations

[X] Have tested with the latest version. This is still alpha version and sometime things change rapidly.
[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

sticky-header="true" is invalid -- it should be :sticky-header="true"
The stackblitz is using a very old version
"node_modules/bootstrap-vue-next": {
      "version": "0.16.6",
      "resolved": "https://registry.npmjs.org/bootstrap-vue-next/-/bootstrap-vue-next-0.16.6.tgz",
      "integrity": "sha512-CDjq3KgIOALJO/Zvmcgxqavv1NznFROUl7yWHAmp4T4R8IRJLfyMj1zizjw2OzCvQ+uJ9PZ28T1Cx7xq8+m2xg==",
      "dependencies": {
        "@floating-ui/vue": "^1.0.6",
        "@vueuse/core": "^10.7.2"
      },
      "funding": {
        "type": "opencollective",
        "url": "https://opencollective.com/bootstrap-vue-next"
      },
      "peerDependencies": {
        "vue": "^3.4.18"
      }
    },

Lastly, sticky-header="100%" doesn't make logical sense. It is sticky, but doesn't work because it takes up the full length of the page

Oh, sorry. My mistake. I didn't verify the version and was assuming stackblitz would use the most current version automatically when  "bootstrap-vue-next": "*" is specified.


feat: add initBucketURL and initBucketSecretName

This adds the possibility to use initBucketURL and initBucketSecretName with the MysqlCluster chart.
As this is a new feature, the chart version is bumped to 0.3.0.

[x] I've made sure the Changelog.md will remain up-to-date after this PR is merged.

Closed and reopenend to retrigger checks.

I can’t see why this check is failing, if someone who knows that check can tell me more about it, I’d be glad :)

@AMecea There is still a fail in verify-generate
-	github.com/onsi/ginkgo v1.14.0
+	github.com/onsi/ginkgo v1.14.1

could you look into that for a moment?

Some dependencies have not specified a version I've fixed this on master and merge it.
Thanks @morremeyer for your contribution and patience! Best regards!


feat: quicknode retry

ref #4894
adds quicknode error code as retriable error
fyi @sakulstra

@mattsse, there seems to be a regression.
Starting to again see:

[FAIL. Reason: backend: failed while inspecting: Database error: failed to get storage for0xsth at slot: Server returned an error response: ErrorPayload code -32012, message: "credits limited to 6000/sec", contains payload: false]

when using quicknode with i think the most expensive plan/ generous api limits.


IBM User Build - Various problems downloading logs after running the build

Development environment used

Z Open Editor version: 3.0.0
Editor Platform

[X] Visual Studio Code
[ ] Red Hat CodeReady Workspaces
[ ] Eclipse Che
[ ] Standalone Theia

Editor Platform Version: 1.72.2
Operating System: Windows 10
Java Version: 11
[ ] Related to RSE API?

RSE API Plugin version:
Zowe CLI version:
Node.js version:

Logs attached (see here how to get them): yes/no

Problem Description
ZOE seems to have trouble identifying log files to download after a user build.

If we don't specify a filter with the logFilePatterns parameters, it downloads all the files of all the builds it finds, and ends up with an error:
profiles:
  - name: dbb-userbuild
    type: dbb
    settings:
      application: CEAB3.MVP2
      command: "$DBB_HOME/bin/groovyz"
      buildScriptPath: "/var/DBB/PROD/SCRIPTS/buildBPCE.groovy"
      buildScriptArgs:
        - "--userBuild"
        - "--workspace ${zopeneditor.userbuild.userSettings.dbbWorkspace}"
        - "--application ${application}"
        - "--hlq ${zopeneditor.userbuild.userSettings.dbbHlq}.${application}"
        - "--outDir ${zopeneditor.userbuild.userSettings.dbbLogDir}"                 <== log root folder
      additionalDependencies:
        - application-conf
        - .build
        - "src\\**\\${buildFile}.build"

Running User Build...
Identified the local root workspace path as c:\Trv\DepotsGIT\ceab3-environn-outinfr-central-mvp2
---------------------
Checking dbb profile settings defined in your repository's zapp.yaml or zapp.json
User setting dbbDefaultZappProfile: **dbb-userbuild**
Will read settings from ZAPP profile called dbb-userbuild defined in User Settings
    application: CEAB3.MVP2
    command: $DBB_HOME/bin/groovyz
    buildScriptArgs: --userBuild,--workspace /u/J070188/dbb,--application CEAB3.MVP2,--hlq J070188.DBB.CEAB3.MVP2,--outDir /u/J070188/dbb/logs
    buildScriptPath: /var/DBB/PROD/SCRIPTS/buildBPCE.groovy
    additionalDependencies: application-conf,.build,src\**\S9TL1A.cbl.build
    logFilePatterns: **Optional setting is missing**
---------------------
Checking user settings...
User settings should be defined in your VS Code or Theia Settings under zopeneditor.userbuild.userSettings
    dbbWorkspace: /u/J070188/dbb
    dbbHlq: J070188.DBB
    dbbLogDir: /u/J070188/dbb/logs
    dbbDefaultZappProfile: dbb-userbuild
    localLogDir: .reports
[...]
-------------------------------------------------------------------------------------------------------------------------
** Writing build report data to /u/J070188/dbb/logs/build.20221129.191008.010/BuildReport.json
** Writing build report to /u/J070188/dbb/logs/build.20221129.191008.010/BuildReport.html
-------------------------------------------------------------------------------------------------------------------------
** Build ended at Tue Nov 29 19:10:16 CET 2022
** Build State : CLEAN
** Total files in build list : 1
** Total build time  : 7.956 seconds
-------------------------------------------------------------------------------------------------------------------------
** Build finished
$ exit $?
Looking for user build logs in "/u/J070188/dbb/logs".       <== given value on --outDir parameter
Downloading logs to c:\Trv\DepotsGIT\ceab3-environn-outinfr-central-mvp2\.reports
Downloading log file /u/J070188/dbb/logs/.userbuilddependencies. Binary: false
Downloading log file /u/J070188/dbb/logs/build.20221129.162418.024. Binary: false
Downloading log file /u/J070188/dbb/logs/build.20221129.170139.001. Binary: false
Downloading log file /u/J070188/dbb/logs/build.20221129.171827.018. Binary: false
Downloading log file /u/J070188/dbb/logs/build.20221129.183526.035. Binary: false
Downloading log file /u/J070188/dbb/logs/build.20221129.184044.040. Binary: false
Downloading log file /u/J070188/dbb/logs/build.20221129.185218.052. Binary: false
Downloading log file /u/J070188/dbb/logs/build.20221129.191008.010. Binary: false   <== only this folder in concerned by current build
Error: Failed to download logs: Error: z/OSMF REST API Error:       <== unidentified error
Rest API failure with HTTP(S) status 500
category: 6
rc:       8
reason:   92078512
message:  file lock via fcntl() failed
details:
  - EDC5121I Invalid argument. (errno2=0x055501B0)

/u/J070188/dbb/logs/build.<date>.<time>.<mmm> are folders... ZOE try to download files...

Specifying a filter with the File Patterns log parameters does not download any logs:
profiles:
  - name: dbb-userbuild
    type: dbb
    settings:
      application: CEAB3.MVP2
      command: "$DBB_HOME/bin/groovyz"
      buildScriptPath: "/var/DBB/PROD/SCRIPTS/buildBPCE.groovy"
      buildScriptArgs:
        - "--userBuild"
        - "--workspace ${zopeneditor.userbuild.userSettings.dbbWorkspace}"
        - "--application ${application}"
        - "--hlq ${zopeneditor.userbuild.userSettings.dbbHlq}.${application}"
        - "--outDir ${zopeneditor.userbuild.userSettings.dbbLogDir}"
      additionalDependencies:
        - application-conf
        - .build
        - "src\\**\\${buildFile}.build"
      logFilePatterns:
        - "${buildFile.basename}*.log"
        - "BuildReport.*"

Running User Build...
Identified the local root workspace path as c:\Trv\DepotsGIT\ceab3-environn-outinfr-central-mvp2
---------------------
Checking dbb profile settings defined in your repository's zapp.yaml or zapp.json
User setting dbbDefaultZappProfile: **dbb-userbuild**
Will read settings from ZAPP profile called dbb-userbuild defined in User Settings
    application: CEAB3.MVP2
    command: $DBB_HOME/bin/groovyz
    buildScriptArgs: --userBuild,--workspace /u/J070188/dbb,--application CEAB3.MVP2,--hlq J070188.DBB.CEAB3.MVP2,--outDir /u/J070188/dbb/logs
    buildScriptPath: /var/DBB/PROD/SCRIPTS/buildBPCE.groovy
    additionalDependencies: application-conf,.build,src\**\S9TL1A.cbl.build
    logFilePatterns: S9TL1A*.log,BuildReport.*
---------------------
Checking user settings...
User settings should be defined in your VS Code or Theia Settings under zopeneditor.userbuild.userSettings
    dbbWorkspace: /u/J070188/dbb
    dbbHlq: J070188.DBB
    dbbLogDir: /u/J070188/dbb/logs
    dbbDefaultZappProfile: dbb-userbuild
    localLogDir: .reports
[...]
** Writing build report data to /u/J070188/dbb/logs/build.20221129.192630.026/BuildReport.json
** Writing build report to /u/J070188/dbb/logs/build.20221129.192630.026/BuildReport.html
-------------------------------------------------------------------------------------------------------------------------
** Build ended at Tue Nov 29 19:26:36 CET 2022
** Build State : CLEAN
** Total files in build list : 1
** Total build time  : 6.417 seconds
-------------------------------------------------------------------------------------------------------------------------
** Build finished
$ exit $?
Looking for user build logs in "/u/J070188/dbb/logs".
Will download logs matching the following patterns: S9TL1A*.log,BuildReport.*
Downloading logs to c:\Trv\DepotsGIT\ceab3-environn-outinfr-central-mvp2\.reports
Successfully finished downloading of 0 log files to c:\Trv\DepotsGIT\ceab3-environn-outinfr-central-mvp2\.reports.   <== 0 log found

List from ssh session:
J070188:/u/J070188/dbb/logs: >find . -name S9TL1A* -o -name BuildReport*
./build.20221129.162418.024/BuildReport.json
./build.20221129.162418.024/BuildReport.html
./build.20221129.185218.052/logs/SIRIS/S9TL1A.log
./build.20221129.185218.052/logs/SIRIS/S9TL1A.lked.log
./build.20221129.185218.052/BuildReport.json
./build.20221129.185218.052/BuildReport.html
./build.20221129.191008.010/logs/SIRIS/S9TL1A.log
./build.20221129.191008.010/logs/SIRIS/S9TL1A.lked.log
./build.20221129.191008.010/BuildReport.json
./build.20221129.191008.010/BuildReport.html
./build.20221129.192630.026/logs/SIRIS/S9TL1A.log            <== last build run
./build.20221129.192630.026/logs/SIRIS/S9TL1A.lked.log    <== last build run
./build.20221129.192630.026/BuildReport.json                     <== last build run
./build.20221129.192630.026/BuildReport.html                    <== last build run

profiles:
  - name: dbb-userbuild
    type: dbb
    settings:
      application: CEAB3.MVP2
      command: "$DBB_HOME/bin/groovyz"
      buildScriptPath: "/var/DBB/PROD/SCRIPTS/buildBPCE.groovy"
      buildScriptArgs:
        - "--userBuild"
        - "--workspace ${zopeneditor.userbuild.userSettings.dbbWorkspace}"
        - "--application ${application}"
        - "--hlq ${zopeneditor.userbuild.userSettings.dbbHlq}.${application}"
        - "--outDir ${zopeneditor.userbuild.userSettings.dbbLogDir}"
      additionalDependencies:
        - application-conf
        - .build
        - "src\\**\\${buildFile}.build"
      logFilePatterns:
        - "${zopeneditor.userbuild.userSettings.dbbWorkspace}/**/${buildFile.basename}*.log"
        - "${zopeneditor.userbuild.userSettings.dbbWorkspace}/**/BuildReport.*"

** Writing build report data to /u/J070188/dbb/logs/build.20221129.201336.013/BuildReport.json
** Writing build report to /u/J070188/dbb/logs/build.20221129.201336.013/BuildReport.html
-------------------------------------------------------------------------------------------------------------------------
** Build ended at Tue Nov 29 20:13:42 CET 2022
** Build State : CLEAN
** Total files in build list : 1
** Total build time  : 6.545 seconds
-------------------------------------------------------------------------------------------------------------------------
** Build finished
$ exit $?
Looking for user build logs in "/u/J070188/dbb/logs".
Will download logs matching the following patterns: /u/J070188/dbb/**/S9TL1A*.log,/u/J070188/dbb/**/BuildReport.*
Downloading logs to c:\Trv\DepotsGIT\ceab3-environn-outinfr-central-mvp2\.reports
Successfully finished downloading of 0 log files to c:\Trv\DepotsGIT\ceab3-environn-outinfr-central-mvp2\.reports.   <== 0 log found

The problem has been identified...
The people in charge of implementing DBB on our site have modified the access paths for storing logs to meet constraints related to our context:
Original version (zAppbuil 1.0.3)

build.groovy

if (props.userBuild) {	// do not create a subfolder for user builds
  props.buildOutDir = "${props.outDir}" as String }
else {// validate createBuildOutputSubfolder build property
  props.buildOutDir = ((props.createBuildOutputSubfolder && props.createBuildOutputSubfolder.toBoolean()) ? "${props.outDir}/${props.applicationBuildLabel}" : "${props.outDir}") as String
}

Cobol.groovy

File logFile = new File(props.userBuild ? "${props.buildOutDir}/${member}.log": "${props.buildOutDir}/${member}.cobol.log")`

Modified version

build.groovy

if (props.userBuild) {	// do not create a subfolder for user builds
  //props.buildOutDir = "${props.outDir}" as String
  props.buildOutDir = ((props.createBuildOutputSubfolder && props.createBuildOutputSubfolder.toBoolean()) ? "${props.outDir}/${props.applicationBuildLabel}" : "${props.outDir}") as String
}
else {// validate createBuildOutputSubfolder build property
  props.buildOutDir = ((props.createBuildOutputSubfolder && props.createBuildOutputSubfolder.toBoolean()) ? "${props.outDir}/${props.applicationBuildLabel}" : "${props.outDir}") as String
}

Cobol.groovy

File logFile = new File( props.userBuild ? "${props.buildOutDir}/logs/$systemName/${member}.log": "${props.buildOutDir}/logs/$systemName/${member}.cobol .log")

This demonstrates that IBM User Build of ZOE is in strong adherence with zAppbuild and that any modification made to zAppbuild breaks IBM User Build...
There should be more independence between IBM User Build and zAppbuild.

After restoring the build.groovy script to its initial state for managing userBuild logs:
** Writing build report data to /u/J070188/dbb/logs/BuildReport.json
** Writing build report to /u/J070188/dbb/logs/BuildReport.html
-------------------------------------------------------------------------------------------------------------------------
** Build ended at Tue Nov 29 20:51:33 CET 2022
** Build State : CLEAN
** Total files in build list : 1
** Total build time  : 6.520 seconds
-------------------------------------------------------------------------------------------------------------------------
** Build finished
$ exit $?
Looking for user build logs in "/u/J070188/dbb/logs".
Will download logs matching the following patterns: S9TL1A*.log,BuildReport.*
Downloading logs to c:\Trv\DepotsGIT\ceab3-environn-outinfr-central-mvp2\.reports
Downloading log file /u/J070188/dbb/logs/BuildReport.json. Binary: true
Downloading log file /u/J070188/dbb/logs/BuildReport.html. Binary: true
Successfully finished downloading of 2 log files to c:\Trv\DepotsGIT\ceab3-environn-outinfr-central-mvp2\.reports.

There remains a problem to retrieve the logs of the built program because we cannot store them at the root of the "log" folder (constraint of our context):

@FALLAI-Denis currently we can only apply the glob files to the files located directly in the logs folder and not its sub-folders, yet. We need to fix our documentation to be clear about this and file an extension to evaluate any sub-directories as well. As it is a remote system there will be a performance cost, though.

GLOB patterns will now evaluate sub-directories on USS as well in v3.1.0.


How to add columns to a junction table?

@JunctionTable(name = "junctionTable") creates a junction table with two columns. But what if I want to add extra columns to it? There is column field but how can it be used to define DataType?
For example I wand an extra column with name "xyz" and of type Long.

Hi thanks for reporting currently that is not supported, but worth adding I think. Basically I think a way to provided the JunctionTable type will be provided, but then you have to specify the required foreign key fields in it along with the custom fields you want.

The beta17 version a new type() value on @JunctionTable that allows you to provide your own implementation of the join table entity.

Hello, I'm using Requery 1.0.2. When type of JunctionTable annotation is set with my own join table entity, new columns, which are not foreign keys, are still asked for referenced Class. If the referenced Class is null, the error would happen. The related error code in Requery is "type.getClassType().isAssignableFrom(a.getReferencedClass())".  The code path is "https://github.com/requery/requery/blob/master/requery/src/main/java/io/requery/sql/EntityReader.java".
I feel if a.getReferencedClass() is null, the for statement should continue.
The segment of code is below:
case MANY_TO_MANY: {
@SuppressWarnings("unchecked")
Class uType = (Class) attribute.getElementClass();
QueryAttribute<E, Object> tKey = null;
QueryAttribute<Q, Object> uKey = null;
Type<?> junctionType = context.getModel().typeOf(attribute.getReferencedClass());
for (Attribute a : junctionType.getAttributes()) {
if (type.getClassType().isAssignableFrom(a.getReferencedClass())) {
tKey = Attributes.query(a);
} else if (uType.isAssignableFrom(a.getReferencedClass())) {
uKey = Attributes.query(a);
}
}
Objects.requireNotNull(tKey);
Objects.requireNotNull(uKey);
QueryAttribute<E, Object> tId = Attributes.get(tKey.getReferencedAttribute());
QueryAttribute<Q, Object> uId = Attributes.get(uKey.getReferencedAttribute());
Object id = proxy.get(tId);
if (id == null) {
throw new IllegalStateException();
}
// create the many to many join query
return order(queryable.select(uType)
.join(junctionType.getClassType()).on(uId.equal(uKey))
.join(type.getClassType()).on(tKey.equal(tId))
.where(tId.equal(id)), attribute.getOrderByAttribute());
}


the verison of nnunet in your work

Dear  Authors:
Thank you for contibuting the excellent work! And I want to konw the version of nnunet of your work. Is it v1 or v2? Looking forward to your reply. Thank you very much!

we are using v1 at the moment. I am currently working on upgrading to v2.

ok, thank you for your reply!


gnu(8640)

After 66 hours on Ubuntu 16.04 on Azure cloud standard DS3 v2 instance (4 cores, 14 GB RAM) GAP uses 4G and shows
#I   extend candidate number 1707 of 1709 with size 8640
#I   extend candidate number 1708 of 1709 with size 8640
#I   extend candidate number 1709 of 1709 with size 8640
#I  found 446171 extensions

Error, reached the pre-set memory limit

I've restarted that, and that's the latest known details:
...
#I     Iso: test isomorphism on groups of size 8640
#I  RandomIsomorphismTestUEM: 51840 generating system candidates
#I  RandomIsomorphismTestUEM found isomorphism
#I     Iso: reduced to 22 groups
#I  extensions for steps [ 1, 2, 4 ]
****************************************
Constructed a list of length 449245
It contains 449138 groups and 107 sublists
Length of sublists are [ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  3, 3, 3, 3, 3, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 2, 2,
  2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2,
  2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 ]

449245<=gnu(8640)<=449362

Runtime of this construction:<PHONE_NUMBER> ms (12.71 days)
Checking of sublists with more than two groups is not yet supported
Returning all constructed groups for further manual checks
gap>


Wrong match in Settings search

VSCode Version: 1.12.2
OS Version: Windows 10 x64

Steps to Reproduce:

Open User Settings
Type "long" in search bar

Expected: "long" in Settings file matched and highlighted
Actual: One setting "window.title" matched. The highlighted text is "g. V" in this line:
// ${appName}: e.g. VS Code

Weird. "Long" appears a few lines above.

VSCode Version: Code - Insiders 1.13.0-insider (376c52b955428d205459bea6619fc161fc8faacf, 2017-06-07T22:51:42.990Z)
OS Version: Windows_NT ia32 10.0.15063

Same here:


feat: added image service

Current dependencies on/for this PR:

main

PR #8   👈

PR #9

This stack of pull requests is managed by Graphite.


Clarify how often PRs will be reviewed in README

Given that one of Tidbyt's main features is that it's developer friendly, I think it's reasonable to expect relatively quick turnaround time for PRs submitted to this repo.
Looking at currently open and recently closed PRs, there have been no approvals of new apps or fixes (or comments on them by Tidbyt developers) since at least February 8th, 2024, almost a full month ago. (The oldest PR open is currently #2261.)
It would be helpful to add a section in the Contributing Changes section of the README clarifying the cadence with which developers can expect their changes to be reviewed and approved. Other important business work is clearly taking priority, and that's okay, but setting expectations around this up front would ease the frustration of a PR sitting around for weeks. (I opened #2276 23 days ago.)
Another frustrated developer from 23 days ago:

Just curious how long it is going to take to publish this. I'm really dying to use it on my Tidbyt. It's the missing experience and the reason why I bought this thing.

+1

+1

Another thing to note: I would plug the private app hosting option in the app as a way to allow devs to start enjoying their apps immediately. I didn’t know it existed until just now, but I happily would have shelled out $5 a month ago until my PR was approved (which just happened btw—yay!)

Private apps are also great for testing out something in "real life" before submitting a PR. If I submit a PR and my app has an issue, I have to make another one to fix it. Easier to just work out the kinks before the submission.

Context on why PRs are taking forever: https://github.com/tidbyt/community/pull/2270#issuecomment-2000004021

We're doing a lot of work on Tidbyt Gen 2 right now, and the community repo suffers as a consequence.

Hey guys. We hear you and feel you. Our ambition has been to review PRs weekly, usually on Thursdays, but as @mokolodi1 mentioned this has been completely thrown out of whack by the ongoing work on Gen 2. I think it would be best to hold off on documenting review cadence until we're through the bulk of the Gen 2 work.
As @jmanske mentioned, we hope that private apps can be part of the solution here, but also totally get that it's not the same thing as having your work published for the world to see.

No worries, @matslina. I appreciate all your hard work on Gen 2, and holding off on documenting the future cadence makes sense. (I'm personally excited to get a Gen 2 given the new features, so I appreciate your work in fixing the bugs before I do!)


Publish to PyPI workflow

As suggested in the code review from Python Discord, it would be beneficial to have a Github Actions workflow that publishes the package to PyPI on commits to main, or tagged commits.

I would be willing to set this up.

@doublevcodes That would be great! I'll assign you

@doublevcodes, If it's not too much for this issue, I'd like to see this improve tox.ini so that it runs pytest on 3.7, 3.8, 3.9, and 3.10dev and add documentation, possibly to CONTRIBUTING.md on how to run the tests with tox locally.
Either way, we appreciate the help!

That seems totally fine, I'll figure that out and ask about for any questions.

@doublevcodes How is it coming along? Do you need any help?


samples: bluetooth: ipsp: Mark accepted socket correctly in accept()

The TCP code expects that we know when the socket has called accept()
in order to continue connection attempt.
Signed-off-by: Jukka Rissanen<EMAIL_ADDRESS>

@jfischer-phytec-iot This is related to #20628. I just realized that the IPSP sample is actually not using BSD socket thus we were missing the setting of one flag. Can you try this one if it fixes the issues you were seeing. I was not able to test this as the IPSP sample app was just giving me <wrn> bt_hci_core: opcode 0x200c pool id 7 pool 0x0013eb74 != &hci_cmd_pool 0x0013eb4c when running with btproxy in qemu_x86 and nothing seemed to work properly after that.

@jfischer-phytec-iot This is related to #20628. I just realized that the IPSP sample is actually not using BSD socket thus we were missing the setting of one flag. Can you try this one if it fixes the issues you were seeing. I was not able to test this as the IPSP sample app was just giving me <wrn> bt_hci_core: opcode 0x200c pool id 7 pool 0x0013eb74 != &hci_cmd_pool 0x0013eb4c when running with btproxy in qemu_x86 and nothing seemed to work properly after that.

@jukkar
Could you check if there is any stackoverflow issues? Do you know which pool 0x0013eb74 is? I have seen that warning before, but no sure way to reproduce it, if it is reproducible could you please create and issue so that we can follow up?

@joerchan @jukkar to explain the warning: the stack is designed so that it reuses the HCI command net_buf for the matching command complete/status event (to guarantee that we have a buffer available). Since the host stack only sends one command at a time, the next command complete/status event should always be for that command. What this log warning implies that there was a command complete/status event but no pending HCI command, i.e. the buffer got picked from the normal RX buffer pool (I suspect that's what the pool reference will resolve to).


Route is removed from react-router-native?

Have a usage question?
in the documentation and previous versions using Route was like:
import { Route } from 'react-router-native'
now, it's not exported in that package any more!
Think you found a bug?
maybe!
Have a feature request?
No
Version
5.0.0
Test Case
Steps to reproduce
install the package and try importing Route as mentioned above.
Expected Behavior
Actual Behavior

sorry it was a bug from my code.


Migration to a new version of api

Response type changes, sending image in bytes.
Replaced Scene At to Scene From and Scene To
	fmt.Print("⌚ Scene From: ")
	helpers.PrintSceneTime(animeResp.Result[0].From)
	fmt.Print("⌚ Scene To: ")
	helpers.PrintSceneTime(animeResp.Result[0].To)

Yo thanks for migrating, i am really busy rn and good job with multipart (i didn't know how to do this)
Also hit me up in Telegram @irevenko or Discord Ilya Revenko#4742


Cast button showing up irrespective of settings

Current Behavior:
Using the most basic implementation of Vidstack with no layout, and controls set to false, a button to cast media still appears in the top-left of media in Chromium-based browsers.
Expected Behavior:
Control to appear only if specified.
Steps To Reproduce:
See this codesandbox for basic reproduction. Tested using Chrome v121.0.6167.139 on MacOS.
Environment:
Framework: React
Meta Framework: Next.js
Device: Macbook Pro
Browser: Chrome v121.0.6167.139
Anything Else?
See screenshot for additional clarification; button is top left.

I don't see it. Could it be coming from a plugin or something you're using. That's not rendered by our player.

I don't see it. Could it be coming from a Chrome plugin or something you're using? That's not rendered by our player.

I see it also. Chrome/Macbook See screenshot below.

Being added by the browser if casting is available. Can be hidden with CSS..
video::-internal-media-controls-overlay-cast-button {     display: none; }

Oh I see, this is just standard video element behaviour. Typically need to add disableRemotePlayback to the <video> element to prevent this showing. We can't determine when to add that from our end so you can either use CSS to hide as @wplit has shown above, or you can set the disableRemotePlayback prop on the <video> element. Refer to this link on how to get the element reference.

Thanks for the suggestion @wplit.
For anyone who stumbles here in the future looking for an answer on how to disable this for your browser globally (vs just via CSS on a specific site), disabling the media-remoting-without-fullscreen flag in chrome://flags will stop the button from displaying!


Cannot read property 'matches' of undefined

I am getting this error in the console when i try to use a regular expression.  Am i doing something wrong?
var heightSelector = "input[name$='Height']";
var widthSelector = "input[name$='Width']";

var mask = "^\s*(((\d+)(\d{2})(\d{2}))|(([\d.]+)'?)?[\s-]*((\d+)?[\s-]*((\d+)\/(\d+))?\"?)?)\s*$";

$(document).ready(function() {
      if ($(heightSelector).length){
     $(heightSelector).inputmask(mask)
    }
if ($(widthSelector).length){
	$(widthSelector).inputmask(mask);
  }
});

@pricejt ,
You need to use the regex extension to use regular expressions as a mask.  See https://github.com/RobinHerbots/jquery.inputmask/blob/3.x/README_regex.md

Ok i am getting no errors now but my text box doesn't allow me to type numbers anymore only alpha characters. Here is my new code.
if ($(heightSelector).length){
	$(heightSelector).inputmask('Regex', {regex: "^\s*(((\d+)(\d{2})(\d{2}))|(([\d.]+)'?)?[\s-]*((\d+)?    [\s-]*((\d+)\/(\d+))?\"?)?)\s*$" });
}

@pricejt ,
I will have a look at it


No icon for me.

No icon for me.
This is my Azure Data Studio window ui:

Can't see the icon, but it still works fine.

Is this still happening?

Sorry, I haven't used it recently.
Has anyone else had the same problem?

Is this issue based on your system locale/language settings?

Is this issue based on your system locale/language settings?

I don't think it's directly related to language, use English:

It's a bit strange.
The icon showed up correctly when I first started, then I upgraded to v1.41.1 and now the icon shows up halfway.

Can you file this issue at https://github.com/microsoft/azuredatastudio ,  then paste a link to that new issue here?
The display of this icon is not within the control of the SandDance extension.


Issue with menu selectors not working

I am not quite sure if this should be raised here or on electron-prebuilt, but for some reason when I am trying to use what I think are the shorthand selectors for native actions, it blows up on me like so:

I have gotten the latest version of the prebuilt, as I was following the basic tutorial then expanding from there, but every menu item I touch that has one of those native selectors on blows up with same error, here is an example of part of my menu:
label: 'Edit',
        submenu: [
            { label: "Undo", accelerator: "Command+Z", selector: "undo:" },
            { label: "Redo", accelerator: "Shift+Command+Z", selector: "redo:" },
            { type: "separator" },
            { label: 'Cut', accelerator: 'CommandOrControl+X', selector: "cut:" },
            { label: 'Copy', accelerator: 'CommandOrControl+C', selector: "copy:" },
            { label: 'Paste', accelerator: 'CommandOrControl+V', selector: "paste:" },
        ]

This is all applied using: (obviously the full menu not just the bit above)
var menu = Menu.buildFromTemplate(template);
        Menu.setApplicationMenu(menu);

The menu appears fine, but every time one of those with a selector is used it just throws the error, I also have the example:
{
        label: 'Quit',
        accelerator: 'Command+Q',
        selector: 'terminate:'
      },

And that also blows up when trying to use it, and that is in the menu docs... If this is not the right place to raise this, let me know and I will go take it to the pre-built one, but I assume the pre-built is just a gulp/(other build script) around these core files.
I am using Windows 8.1 pro for developing and testing.

The selector label is only on OS X, see https://github.com/atom/electron/blob/master/docs/api/menu.md#standard-menu-item-actions

ah ok, is there a way to achieve this functionality for windows/other OS? i dont mind if it is click delegates that go off and do something.

https://github.com/atom/electron/blob/master/docs/api/accelerator.md

I know how to do keyboard shortcuts, thats not the issue. I just want to know how I can copy paste etc via native commands.

https://github.com/atom/electron/blob/652843f44769d59b59745ef69351d3ea4bd1e4c0/docs/api/browser-window.md#webcontentsundo

Awesome, thanks for that, the documentation is great when you can find the right bit to look at :)

Unfortunately the link by @paulcbetts is gone. Would love to find the answer for this.


Wuhan pneumonia epidemic -- download link not valid

Wuhan pneumonia epidemic -- download/keyword link not valid

Wuhan pneumonia epidemic -- download/keyword link not valid,could you fix it,thank you

It will coming soon

@frifin @MoreInterest The word "Wuhan pneumonia" makes me (and many others, I believe) really uncomfortable. Could you change it to "Covid-19"? It's standard to NOT name a disease by the place name. Wuhan has suffered a lot through this epidemic, we should never ever hurt Wuhan people with such expressions.
Thanks.


Complete rebuild

Pull Request Test Coverage Report for Build 452788622

-7 of 71 (90.14%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-11.4%) to 88.571%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/config/index.js
20
27
74.07%

Totals

Change from base Build 450483186:
-11.4%

Covered Lines:
71

Relevant Lines:
78

💛  - Coveralls

Pull Request Test Coverage Report for Build 452788622

64 of 71 (90.14%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-11.4%) to 88.571%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/config/index.js
20
27
74.07%

Totals

Change from base Build 450483186:
-11.4%

Covered Lines:
71

Relevant Lines:
78

💛  - Coveralls


pivot table row type is select_multiple Select All

Laravel Version: 5.3.0
Voyager Version: 0.10.0
PHP Version: 7.0
Database Driver & Version: mysql 5.6

Description:
@elseif($row->type == "select_multiple")
    <?php $options = json_decode($row->details); ?>
    {{-- If this is a relationship and the method does not exist, show a warning message --}}
    @if(isset($options->relationship) && !method_exists( $dataType->model_name, $row->field ) )

 Make sure to setup the appropriate relationship in the {{ $row->field . '()' }} method of the {{ $dataType->model_name }} class.

    @endif

    <select class="form-control select2" name="{{ $row->field }}[]" multiple>
        @if(isset($options->relationship))

            @if( method_exists( $dataType->model_name, $row->field ) )
                <?php $selected_values = isset($dataTypeContent) ? $dataTypeContent->{$row->field}()->getRelated()->pluck($options->relationship->key)->all() : array(); ?>
                <?php $relationshipClass = get_class(app($dataType->model_name)->{$row->field}()->getRelated()); ?>
                <?php $relationshipOptions = $relationshipClass::all(); ?>
                @foreach($relationshipOptions as $relationshipOption)
                    <option value="{{ $relationshipOption->{$options->relationship->key} }}" @if(in_array($relationshipOption->{$options->relationship->key}, $selected_values)){{ 'selected="selected"' }}@endif>{{ $relationshipOption->{$options->relationship->label} }}</option>
                @endforeach
            @endif
        @endif
    </select>

Steps To Reproduce:
$selected_values = isset($dataTypeContent) ? $dataTypeContent->{$row->field}()->getRelated()->pluck($options->relationship->key)->all() : array();

this is bug  ! Will be selected all!

Please explain what the problem is and how to reproduce it in the Voyager panel.

@marktopper Look！

Look database.

Thanks, will look into it.

@zanjs  I can not reproduce it with 0.10.10 . Could you please try again with the latest release version?

@peacemoon Thinks!


allow InfluDB selection to use Template variable

this plugin is really cool
but if you have several different Influx databases you need to enter edit mode to select wot one u are interested in.
I have a template variable, which automatically lists the influx databases, it would be nice to be able to use the template variable $datasource in the >Options/InfluxDB
If you can already do this another better way even better

added template variable support in master... it will be in the next release (hopefully this week)

Is there a way to use the $timeFilter variable as well?


upload_files fails if it hits a symlink

What's your CLI version?
0.80.6
Description & steps to reproduce
I had a Bazel project directory which has symlinks bazel-bin, bazel-out, etc. inside.
I tried calling plan.upload_files on this directory, but it failed with:
There was an error executing Starlark code
An error occurred executing instruction (number 1) at github.com/foo/bar[3:40]:
  upload_files(src="github.com/foo/bar/workspace")
  Caused by: An error occurred while compressing the files '/kurtosis-data/startosis-packages/foo/bar/workspace'
  Caused by: Failed to compress '/kurtosis-data/startosis-packages/foo/bar/workspace'.
  Caused by: walking /kurtosis-data/startosis-packages/foo/bar/workspace/bazel-bin: /kurtosis-data/startosis-packages/foo/bar/workspace/bazel-bin: stat: stat /kurtosis-data/startosis-packages/foo/bar/workspace/bazel-bin: no such file or directory

Error encountered running Starlark code.

Desired behavior
Symlinks don't choke plan.upload_files
What is the severity of this bug?
Painful; this is causing significant friction in my workflow.

@mieubrisse ok, first thing I found: this error is not related to the upload_files instruction, it's related to what happens with symlinks files when a package is copied into the enclave's volume.
This is the symlink new-symlink link in the host machine
dir ❯ ls -l
lrwxr-xr-x  1 lporoli  staff  8 Jul 18 14:53 new-symlink -> file.txt

And this is the same symlink in the kurtosis-data folder inside the enclave's volume
/kurtosis-data/startosis-packages/foo/bar/dir # ls -l
lrwxrwxrwx    1 root     root            15 Jul 18 18:21 new-symlink -> dir/new-symlink

We can see that the symlink in the enclave's volume has a wrong link.
I'll continue exploring what is modifying it


Fix ComposedStore types to account for primitives

When using CompositeStore, it is possible for the type of the contents of a child store to be a primitive. The type of CompositeStore assumes that it is always an object, so simplify this.

Oops.... hadn't realized this was targeting the other branch :facepalm:


backend: use pd tso as commit ts in local and importer backend

What problem does this PR solve?
Before this commit we use unix timestamp as commit ts for each kv pair in tikv.
And when we want use commits as filter(e.g. difference backup with BR), this would filter wrong result.
so I think we should encode all commit ts as pd tso.
What is changed and how it works?
use compose to encode commit ts.
Check List
Tests

Manual test (add detailed scripts or steps below)

before this commit(local and importer backend are same):

after this commit(local and importer backend are same):

Related changes

Need to cherry-pick to the release branch
Need to be included in the release note

LGTM if test passed

with this commit, we can backup successfully.
[2020/08/27 17:29:23.082 +08:00] [INFO] [collector.go:60] ["Full backup Success summary: total backup ranges: 2, total success: 2, total failed: 0, total take(s): 0.03, total kv: 2000, total size(Byte): 410000, avg speed(Byte/s): 11854717.37"] ["backup total regions"=4] [BackupTS=419042574470217732] [Size=457451]

and before this commit, the same command will backup nothing.


msvcrt uses #[pymodule]

I tried to hide it from https://github.com/RustPython/RustPython/pull/3303/commits/63c5830d900530324dd9d7088bd0d646833a12f4


Invoke the Search when a user clicks on the element, not only on the LookingGlass icon

Some users can feel weird that they searched a city, but when they select it, the UI don't change

@Israel-Laguan so, get city weather data on click list item?

Yes, I think it's a better UX and not too hard to achieve in the code

done


rri-204-4 (situated explanations)

The following root file has been created:

Title: Situated Explanations
Module: Explainability (SAFE-D Principle)
Skills Track: RRI
Section: 4

Tasks

[ ] Review root file (Clau)
[ ] Answer comments (Chris)
[ ] Draft web version (Clau)
[ ] Review web version (Chris)
[ ] Create slides (Chris)
[ ] Review slides and draft script (Clau)

Link to file: https://github.com/alan-turing-institute/turing-commons/blob/drafts/drafts/rri-skillstrack/rri-modules/root-files/rri-204-4.md

@ClauFischer: I'm cretaing this issue before the root file is 100% complete. There are a couple of reasons for this:

There is a possible section on social trust and explainability, which I was wondering if you'd be interested in authoring based on the PED chapter you wrote.
I'd appreciate general feedback about the overall scope of the section before I decide what else needs to be added or revised. I don't believe the section is that focused at the moment.

[ ] Look up resources for ethics of generative AI:
https://github.com/alan-turing-institute/turing-commons/blob/673de90f4aff4b8c0d3fd28ba380d26cb2587d07/drafts/rri-skillstrack/rri-modules/root-files/rri-204-4.md?plain=1#L40

[ ] Insert explanatory graphic on attention mechanisms for LLMs:
https://github.com/alan-turing-institute/turing-commons/blob/673de90f4aff4b8c0d3fd28ba380d26cb2587d07/drafts/rri-skillstrack/rri-modules/root-files/rri-204-4.md?plain=1#L73

[ ] I'm not sure if this section is the clearest but perhaps it's just the nature of the topic:
https://github.com/alan-turing-institute/turing-commons/blob/673de90f4aff4b8c0d3fd28ba380d26cb2587d07/drafts/rri-skillstrack/rri-modules/root-files/rri-204-4.md?plain=1#L62

[  ] I'm not sure I understand the relevance of the situated cognition admonition.
https://github.com/alan-turing-institute/turing-commons/blob/82de42b600ae7951651688eccb064cf44ac47882/drafts/rri-skillstrack/rri-modules/root-files/rri-204-4.md?plain=1#L181

[ ] Add section
https://github.com/alan-turing-institute/turing-commons/blob/82de42b600ae7951651688eccb064cf44ac47882/drafts/rri-skillstrack/rri-modules/root-files/rri-204-4.md?plain=1#L199

The situated cognition section is an optional one. If you think it is distracting, feel free to remove it.
Let's talk about the explanatory graphic for LLM. It's not a trivial task.


Lots of small cleanups, DRY up more code

Generate master/ui init_command the same
Create tx_snapshot_dir at the same time as other dirs
Set JAVA_HOME for zookeeper
Remove ui and web_app files from /etc/default, as cdap-env.sh provides same functionality
Use string for modes

👍 lgtm


[Chip] Fix warning when using onRequestDelete

This removes the prepareStyles call for the style of a Chip's delete icon. The SvgIcon already calls prepareStyle itself, resulting in a warning.
It's a regression introduced in v0.18.6 by #7320
This fixes #7394 and is related to TeamWertarbyte/material-ui-chip-input#123 and erikras/redux-form#3164

[ ] PR has tests / docs demo, and is linted.
[X] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[X] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

@leMaik Thanks


NIFI-10518: Adding intended state to ScheduledStateChangeListener

Summary
NIFI-10518
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[ ] Apache NiFi Jira issue created

Pull Request Tracking

[ ] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[ ] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[ ] Pull Request based on current revision of the main branch
[ ] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 8
[ ] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Thanks @gresockj all looks good to me. +1 will merge


Extensions: confirmation dialog not coming

OS: Win 10
Latest insider

Install some extension
Click to uninstal it in the extensions viewlet -> the confirmation dialog never arrives and leaves the viewlet in a bad state
Only once I close vscode I get the dialog

I can reproduce this constantly on my win10 vm. However I can not get this bug on my mac
Assigning to October so you investigate

I cannot reproduce it in my win10 VM and also on win7 machine.
@isidorn Unassigning milestone. We can look into this why it is happening on your VM

@sandy081 sure, drop by my table whenver you want. It is probably an electron issue.


I tried to implement your in pub.dev null safety is not migrated in your dependency so it is giving error kindly tell me how to fix it.

Hello @ManavBrothers, did you find any alternative or fix the null safety issue?


Voxels

Provides resources for managing and manipulating Octrees and Voxels.

Uniform Buffer Object (UBO) and buffer range range binding support are useful for shader interface blocks and shader storage buffers.  These may be spun off into a sub-branch and merged separately.


[wordpress] Add a FTP server

Original issue: https://community.cloud.online.net/t/wordpress-image-needs-ftp-server/455?u=manfred

Related to #4

This is not clear, Is the wordpress image have a ftp service ?

@cedrox no, we configured the wordpress to be able to upgrade/install plugins without ftp access
do you still need ftp access ?

As I want to use it as a development plateform frist, I would love to know how to activate/desactivate it from the console and add a ftp user.

Totally unnecessary and unsecure!
Because you have SSH access by default, you can use SFTP.

Please let me choose what's necessary or not... FTP is still really usefull for dev purpose because some IDE don't support SFTP... You can always turn it off when deploying in prod... Thanks


Emojis work properly but sometimes they don't.

Environment
Windows build number: Microsoft Windows [Version 10.0.18362.418]
Windows Terminal version : 1.0.1401.0

Git Bash might not really be tied to only this.

Steps to reproduce
Have a javascript file which console.logs emojis and some text. run that thru node or do a yarn install with --emoji true flag.
Expected behavior
To display emojis perfectly alright
Actual behavior
It works for some emojis and not always but if cat or type is run then it shows emojis perfectly.

The sparkles emoji is fine but the others are not

As you can see, in node it doesnt work. but while catting it it does work and the check mark and some others are the only that works

I just tested the same on Hyper Terminal and can say that the issues with yarn occurs there as well and in  a same way, the single width characters such as ✅ or ✨ show up correctly.

An update, i had a screen recording for a vide dated in Apr 2 2020, in which i used a tool callled vercel to deploy my website. Their CLI just like yarn used emojis and the emojis worked fine although the check mark was small.

But in my version now, only the checkmark shows up not the other ones.

If you copy/paste those <?> characters into a text editor, do they come back out as Emoji?

Debugging: the character coming out of node has already been replaced with U+FFFD. It's been corrupted before the console subsystem even gets it.
They must have changed something that made them even worse console citizens than they already were.

1

If you copy/paste those <?> characters into a text editor, do they come back out as Emoji?

If i just  copy and paste, they still remain the same <?> characters.
2
If i put the output to a file while in node, it works fine and are emojis.

And this is more interesting

maybe it is infering when to use emojis if it is in console or not.

This condition checks for the os and the platform/terminal
https://github.com/yarnpkg/yarn/blob/ac21dbf16a5d2d5f4cb032f5da5313949db3fb71/src/cli/index.js#L112
So yarn kinda will not bother much. But the thing still will persist with Vercel as they render emojis whatsoever and also with a tool called now-config which prints emojis whatsoever

hey @DHowett any updates / investigations / thoughts about this issue?

Unfortunately, all I can find here is applications or runtimes that are failing to pass the emoji through.
Node for Windows refuses to send the emoji correctly. Evidence: node under WSL works fine, with the same javascript file. ☹

I've gotta resolve this one as external. If we go make enough noise over on the Node repo, perhaps they'll listen.

Some more info here; https://github.com/nodejs/node/commit/086482da6dc50693c72a25a64774103e6c1a5e1a

And here is the code where they make an incorrect assertion about our Unicode support.
https://github.com/nodejs/node/blob/1198aebd2db710b22bfed003edcf8cca2db8a174/deps/uv/src/win/tty.c#L2124-L2129

/dup https://github.com/libuv/libuv/issues/2909


SF Symbols

Should there be any updates to support SF symbols?

afaik you cannot use SF Symbols as a 'font'. It's a part of other San Francisco fonts. You can however, use it as an attachment e.g. in a label .-.

@thisIsTheFoxe Yeah this seems about right, I was thinking along the lines of defining symbol names somewhere but maybe its best left as is.


Feature request: Make the system tray icon blink during data collection

In order to make ongoing data collection more salient to the user, the system try icon should blink at a rate of about 0.5 Hz, in addition to turning red.

As noted in https://github.com/TeamGleason/SpeakFaster/issues/7, flashing the icon is a visual distraction. We should be very careful about anything which would add persistent visual distraction, and as-such potentially negatively impact the results we are collecting. 0.5Hz may be slow enough to not be a distraction, but it is something we should be thoughtful about if we do implement it.


multiple mode bug?

If I use multiple=true then I get Assertion Failed: When ember-selectize is in multiple mode, the provided selection must be an array.

oh I see. I need provide selectedValue: []
its ok?

correct 👍


Support mutating multi-arch images

What would you like to be added?
The current mutating endpoint only supports resolving a tag which applies to a single platform. We probably need to support resolving multi-arch images in the future. There is an API in Oras-go that can do it<EMAIL_ADDRESS>which requires a platform option passed in.
Therefore, Ratify would need to get the platform from the GK external data request.
Anything else you would like to add?
No response
Are you willing to submit PRs to contribute to this feature?

[ ] Yes, I am willing to implement it.

Here's an exploration doc I had written explaining the issue and potential solutions. https://hackmd.io/@akashsinghal/r1gOTxOgo

As you mentioned, implementation wise we would lean on ORAS go to the heavy lifting of the actual manifest selection however we would need to provide the manifest platform to ORAS. Adding a field to the ED request would work however I don't believe there's a good way for Gatekeeper to also provide this information since the Pod spec doesn't have the platform selected during this stage of the resource creation process. The user would somehow have to specify it in the policy. But this is kind of awkward and not flexible.
Maybe we can get away with this option coupled with some smart defaults? Such as assuming by default the platform will match the one that the Ratify Pod is running on and then user has to override this in the policy if otherwsie...


give a new look to the home page[Feature]

Description
will beautify the web page with different features
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a IWOC'24 contributor.
[X] I am a JWOC'24 contributor.
[X] I am a SWOC'24 contributor.

Code of Conduct

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

I would like to work o this project.Please assign to me

I would like to contribute to this amazing project. Please assign task to me.


Fix/support not registered apps and improve handling of registry server cannot be reached

Related to https://github.com/aiidalab/aiidalab/pull/222 .

Test in combination with: https://github.com/aiidalab/aiidalab/pull/222


chore(main): release 1.0.0-b30

:robot: I have created a release beep boop
1.0.0-b30 (2023-10-03)
Features

Can now specify calendar for <span> events using data-calendar (32e1bfd)
New event parsing path experience (e5f429e)

Bug Fixes

Some new API hooks (44209e5)

Miscellaneous Chores

release 1.0.0-b30 (0243f67)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/javalent/the-calendarium/releases/tag/1.0.0-b30 :sunflower:


add local paths

I added alias to .bashrc like
alias chatgpt="python /home/path/to/chatgpt-cli/chatgpt.py"
so I wanted to get access to config/history files from work directory
this changes resolved my problem.

Nice little addition, thank you. I just made a little change because I don't like the "/" syntax in Pathlib.


Whoever hosts the draw is not drawn if he is the only one to participate in the draw and the draw starts with 0 winners

I am testing the project and I came across some problems, Whoever hosts the draw is not drawn if he is the only one to participate in the draw, and the draw starts with 0 winners.
If you start the draw with 0 winners at the end of the time, he does not draw anyone, the draw could not start with 0 winners and the person who creates the draw must be drawn if he is the only one to participate in the draw.

Hello @powerflips. I think the person who creates the giveaway is not drawn because it's an administrator. Also, the giveaway is drawn even if there is no participants, but it should display an error message.

yes, but if he is clumsy, he can make a draw with 0 participants a week, many people participate in the draw and the error is e sampled at the end of the session .. that is, everyone who participated a week does not get the draw  because of a lack of attention from the host that put 0 participants.  besides some places like Discord Bot List, are not accepting the bot with this problem


The version of Pytorch

Hi, could you tell me which versions are supported by this project? I used torch 1.8.1, but got this error. I think it's related to the version of Pytorch. Could you give me any hint about this? Thanks.

Maybe  pytorch1.12 can solve your problem，I don't have your problem with 1.12, but I do have a problem with dataset preprocessing!

Hi @sonnefred - I verified that the code works with:

Python 3.7, Pytorch 1.12.1, CUDA 11.6
Python 3.8, Pytorch 2.1.1, CUDA 12.1

Hopefully this helps. I also updated the instructions in Readme.

Hi @sonnefred - I verified that the code works with:
* Python 3.7, Pytorch 1.12.1, CUDA 11.6

* Python 3.8, Pytorch 2.1.1, CUDA 12.1

Hopefully this helps. I also updated the instructions in Readme.

Thanks for your reply, and I will have a try!


Improve regex for parsing negative numbers

@cli2022 I just improved the number parsing regex to negative handle values where there is no whole integer value like '-.20'


Be able to configure a model context length

Let me go ahead and merge to test with the overall helm chart.


Add a tap helper

This is a helper I had to create myself to help test components with touch capabilities.
Example: https://github.com/cibernox/ember-basic-dropdown/blob/master/test-support/helpers/ember-basic-dropdown.js#L8-L15
My initial idea is to create it with this code. I'm unfamiliar with the pointerevents spec and I don't know if it should be taken into consideration.

As expected, tests fail. I'm investigating a way of enabling device emulation mode in chrome in travis.

Closed via #22


Feature/tweaks

More info about the meta tag available 👉  https://support.google.com/webmasters/answer/93710?hl=en

:rocket: deployed to http://gp-redirect-pr-7.dev.c2s.nhschoices.net


misc/cgo: intermittent failures in misc/cgo/testsanitizers on ppc64le builders

The environment is ppc64le with investigation on various distros (thus various gcc versions). The builders have Debian buster which uses gcc 8.3.
Previously the testsanitizers tests were disabled on ppc64le due to the same random failures mentioned in https://github.com/golang/go/issues/45040.
The test was re-enabled in https://go-review.googlesource.com/c/go/+/424534 with the thought that some signal fixes and other changes since then that might have fixed the problem. However the intermittent failures continue. Those intermittent failures are not easily reproducible on other machines and seem to be dependent on the gcc version and distro since some distros don't provide libtsan.a which the test requires.
Now that we have access to the builder machine and I have gomote access I can investigate further to understand why this is failing. One interesting note is that the randomize_va_space is 2 on the builders, indicating high ASLR randomization.
After some investigation, I found that the failure in this test is related to this issue that happened with the race detector: https://github.com/golang/go/issues/35547. In that issue, it was noted that there can be failures on ppc64le with the thread sanitizer when ASLR is enabled. The race option uses code from LLVM to use the thread sanitizer, and that code disables ASLR when on ppc64e. Originally the seccomp permissions for the Docker container didn't allow the use of the syscall to disable ASLR. That problem has since been fixed.
The builders have gcc 8.3. Code was added in gcc-9 to do the same check as LLVM does, if running on ppc64le with TSAN then disable ASLR. That means the test should work if gcc is >=9 but could get random errors for <= gcc 8.
I'm going to add a check to this test when on ppc64le to verify the gcc version is >= 9, otherwise skip it and see if that will avoid the intermittent error.

This change should fix the problem in terms of running it only on systems where it makes sense. However there is also the question of whether the ppc64le builders should be updated to a distro with a newer gcc.


Don't attach pulsar-*-{src,bin}.tar.gz to maven artifacts

Motivation
Currently, the src and bin distribution archives are getting attached as maven artifacts and thus deployed and uploaded on the maven repo. That is not necessary, since these archives are not meant to be download from maven.
Setting attach=false should fix this and avoid copying the 40Mb file multiple times.

retest this please


Factory example fails to compile Espressif releases > 2.0.3

Issue
Factory example fails to compile with Espressif Arduino releases > 2.0.3.
Description
Your factory example as of commit ebec56d02c5e87aa1f4cf522d27f678849e3dafe uses the Espressif Arduiono library version 2.0.3, as defined in platformio.ini:
platform_packages =     framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git#2.0.3
You state that it should work above these versions, but the factory example project fails to compile with #2.0.4, #2.0.5 or #master, and fails with the following error:
lv_conf_kconfig.h:15:14: fatal error: sdkconfig.h: No such file or directory
The LvlGL version tested in platformio.ini is:
lib_deps =<EMAIL_ADDRESS>Mitigation
Use version 2.0.3 but it's not ideal.

It can compile 2.0.4 and 2.0.5.
The reason for the error is because here is modified in the above two versions. https://github.com/Xinyuan-LilyGO/T-Display-S3/blob/c4e22fca21e07d27a1d4df8f262494901ea4d6d2/example/factory/platformio.ini#L34

It can compile 2.0.4 and 2.0.5. The reason for the error is because here is modified in the above two versions.
https://github.com/Xinyuan-LilyGO/T-Display-S3/blob/c4e22fca21e07d27a1d4df8f262494901ea4d6d2/example/factory/platformio.ini#L34

+1 for the fix, it works - thanks!


TypeError: nv.dispatch.render_start is not a function

I've been trying to put the examples to work and I can't do it. I've had a lot of errors and now is this one.
I tried literally everything online and I still can't put the easiest example to work.
It must be versions incompatibility. Link for plunker, worpking: http://plnkr.co/edit/AjsXMGkUBcVVODbpA9jL?p=preview
I'm working with Electron (but that shouldn't matter) and I have the following versions:
angular->1.5.8
angularJS-nvd3-directives->0.08
d3->3.3.7
nvd3->1.8.4

@Jmales do you get any chances or any fixes for above Error?

It was some time ago but yes, the problem really was incompatibility between versions.
I'm not sure but I think upgrading d3 to 3.5.5 solved this.


add nodejs requirement to readme

Recently when building Doccano, I had to change a few configurations in order to setup npm and node.js properly.  Given the following lines of the installation instructions...
cd server
npm install
npm run build
cd ..

...adding Node.js 8.0+ as a requirement made sense to me.

Thanks!


can i search two column  data  in single filter  text on ng-gird

If you mean ng-grid, then yes, you put the column names in the filter box - something like 'gender: male age:30'
If you mean ui-grid, then not in a single filter text, you put the filter against each individual column. So you'd put 'male' in the gender column filter, and 30 in the age column filter.

thanks paul.. can i filter age is less than 20  or greater than 20....?


Update sourceCaches to _otherSourceCaches

Renamed sourceCaches to match mapbox gl js. Otherwise _updateSource method doesn't work
https://github.com/mapbox/mapbox-gl-js/blob/c44c760a9d801bf1cb59f064d787a7bb4c115c23/src/style/style.js#LL152C1-L153C1

Hi @alexchang0229 - thanks for flagging this issue and submitting a fix. I've closed this PR and included a slightly more advanced fix in https://github.com/frontiersi/mapbox-gl-esri-sources/commit/275f1d9d7ef3048e272258b54c0aa2032e1ac60e and have just released as v0.0.6


Store all enabled capabilities in the feature manger.

In order to keep track of all of the implicit capabilities as well as
the explicit ones, we will add them all to the feature manager.  That is
the object that needs to be queried when checking if a capability is
enabled.
The name of the "HasCapability" function in the module was changed to
make it more obvious that it does not check for implied capabilities.
Fixes issue #1101.

Rebased, squashed, and pushed into master as 756b277fb


[Bug]: Arma Reforger

Panel Version
1.11.7
Wings Version
1.11.13
Service
Arma Reforger
Modified
No, I did not modify the egg
Expected Behavior
Changing the VISIBLE variable should change the game config's visible key to true or false, depending on what is set to the variable
Changing the ENABLE_THIRD variable should change the game config's visible key to true or false, depending on what is set to the variable
Actual Behavior
The config does not reflect any changes to the VISIBLE variable
The config does not reflect any changes to the DISABLE_THIRD variable
Steps To Reproduce

Check if the game's config has the disableThirdPerson or visible key set to true
Go ahead and change the DISABLE_THIRD or VISIBLE variable to false
Start the server
Check the game's config again, no changes were made to disableThirdPerson or visible key

Install logs
not needed

is not pe parsed,, so the variable is more or lesser useless. Change it by hand
{
    "config.json": {
        "parser": "json",
        "find": {
            "bindAddress": "<IP_ADDRESS>",
            "bindPort": "{{server.allocations.default.port}}",
            "publicAddress": "{{server.allocations.default.ip}}",
            "publicPort": "{{server.allocations.default.port}}",
            "game.name": "{{server.environment.SERVER_NAME}}",
            "game.password": "{{server.environment.SERVER_PASS}}",
            "game.passwordAdmin": "{{server.environment.ADMIN_PASS}}",
            "game.scenarioId": "{{server.environment.SCENARIO_ID}}",
            "game.maxPlayers": "{{server.environment.MAX_PLAYERS}}",
            "game.gameProperties.fastValidation": true
        }
    }
}

Is not parsed, so the variable is more or lesser useless. Change it by hand or add the parsing
{
    "config.json": {
        "parser": "json",
        "find": {
            "bindAddress": "<IP_ADDRESS>",
            "bindPort": "{{server.allocations.default.port}}",
            "publicAddress": "{{server.allocations.default.ip}}",
            "publicPort": "{{server.allocations.default.port}}",
            "game.name": "{{server.environment.SERVER_NAME}}",
            "game.password": "{{server.environment.SERVER_PASS}}",
            "game.passwordAdmin": "{{server.environment.ADMIN_PASS}}",
            "game.scenarioId": "{{server.environment.SCENARIO_ID}}",
            "game.maxPlayers": "{{server.environment.MAX_PLAYERS}}",
            "game.gameProperties.fastValidation": true
        }
    }
}

Thank you. I figured this out by my own, but this should probably be changed in the egg, because it does not really make sense to include it if it does not work, it just creates confusion for users.

yeah, its a "bug" in the egg.

@hafometh88 Agreed; sorry for the confusion. I vaguely remember figuring out that the visible setting is possibly useless because it may make the server unable to connect to, and it's possible I just forgot to take out the variable. As for the DISABLE_THIRD variable, it looks like it's set during install but not on subsequent boots. I'll try to fix these issues soon. Thanks for the Issue report!

@lilkingjr1 Thank you very much!

I vaguely remember figuring out that the visible setting is possibly useless because it may make the server unable to connect to, and it's possible I just forgot to take out the variable.

It might have been a bug in some previous versions, but now it works fine. I use it to hide my servers all the time. You have to manually connect via IP and port, but it works alright, no issues there.

Fix pending review. Please test the above PR and leave a review if it works for you.

@lilkingjr1 Thank you very much for the fixes. I can confirm all works as intended now.


Better error handling for ServicePodWorker#image_outdated?

In case of Docker::Image.get raised some error the image_outdated? would just return true with no indication why it failed. rescue nil strikes-again. :)
With the fix any un-expected errors are just let through and eventually seen on cli and event logs:
$ k service deploy nginx
 [fail] Deploying service nginx
 [error] Kontena::Errors::StandardErrorArray : halting deploy of e2e/null/nginx, one or more instances failed:
	⊗ Failed to deploy instance e2e/null/nginx-1 to node moby: GridServiceInstanceDeployer::ServiceError: RuntimeError: BoomBoom

$ k service events nginx
TIME                      TYPE                 MESSAGE
2017-05-09T12:29:51.492Z  deploy               service e2e/null/nginx deploy started
2017-05-09T12:29:54.682Z  deploy               Failed to deploy service instance e2e/null/nginx-1 to node moby: GridServiceInstanceDeployer::ServiceError: RuntimeError: BoomBoom
2017-05-09T12:29:54.688Z  deploy               deploy of e2e/null/nginx errored: halting deploy of e2e/null/nginx, one or more instances failed

Closing as not-relevant, see the discussion for reasonings.


Add guidance on where we can take breaks

As you say in the intro, the whole process can take several hours. It would be good to add some guidance as to where someone could take a break, if they can't do it in one go.
Is it the case that anywhere the 3DS is being rebooted, that it could be powered off instead? What about the n3DS while it's on 2.1.0 and not safe to sleep - is it OK to power off then? Probably best to suggest that, if you need to take a break, ideally do so at the end of a page or a section, but whatever you do, make a good note on exactly where you got to.

You can take a break pretty much at any point in the process... As long is
nothing is currently doing something (like the downgrade is going, or the
ctrtransfer happening) then it is safe to simply power the device off and
leave it until next time... I wouldn't recommend sleep mode at any point,
as n3ds users on 2.1 can brick simply by putting it in sleep mode (hence
why I suggest just powering off)
On Sat, Sep 17, 2016, 2:07 AM JohnVeness<EMAIL_ADDRESS>wrote:

As you say in the intro, the whole process can take several hours. It
would be good to add some guidance as to where someone could take a break,
if they can't do it in one go.
Is it the case that anywhere the 3DS is being rebooted, that it could be
powered off instead? What about the n3DS while it's on 2.1.0 and not safe
to sleep - is it OK to power off then? Probably best to suggest that, if
you need to take a break, ideally do so at the end of a page or a section,
but whatever you do, make a good note on exactly where you got to.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Plailect/Guide/issues/514, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADd1uIkbaZiNG6e3QPuE1pjDaysWFkfNks5qq4OJgaJpZM4J_hTo
.

Thanks. Although I was asking the questions here, what I really meant was for the guide to say something. It seems to me that it is slightly easier to say that the 3DS can be switched off instead whenever it is being rebooted, because otherwise you may have to explain how to get back to where you were after power on, which can vary depending where you are in the process.


Losing minus sign "-" in yaml output

Create a pod with "-" prefixed args
kubectl apply -f - <<EOF
apiVersion: v1
kind: Pod
metadata:
  name: test-pod
spec:
  containers:
    - name: main
      image: remrain/tiny-hello
      args:
      - -test
EOF

"-" is missing in yaml output
kubecolor get pod test-pod -o yaml
...
spec:
  containers:
  - args:
    - test  <---------- HERE
kubectl get pod test-pod -o yaml
...
spec:
  containers:
  - args:
    - -test

Thank you and nice catch!
fixed in #57


routing my profile - stop creating backup

From @kikipluche on October 17, 2017 14:4
location: make backup profile https://github.com/swarmcity/sc-boardwalk-production/wiki/make-backup-profile
Actual behaviour: routing : my profile > make backup > Xbutton > Stop creating account
Expected behaviour: routing : my profile > make backup > X button > My profile
To do: match route as described in wiki.
Copied from original issue: swarmcity/sc-boardwalk-production#290

is already done


[CT-435] [Bug] Saving macro causes Partial Parsing 'Nonetype' error

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When working in Cloud IDE v1.0.3, user is experiencing the following partial parse error whenever they save a change to one of their macros: : 'NoneType' object has no attribute 'read'
They have 2 subfolders in the macros folder:
1st folder has 2 sql, 1 md (blank), 1 yml (blank)
2nd folder has 1 sql, 1 md (filled), 1 yml (filled)
+ macros
| - subfolder1
|  | - macro1.sql
|  | - macro2.sql
|  | - macros.yml
|  | - macros.md
| - subfolder2
|  | - macro3.sql
|  | - macros.yml
|  | - macros.md

As a troubleshooting step, I advised user to update the macros/subfolder1/macros.yml file to include a comment but still gets the same error.
Expected Behavior
Changes to the macros should be saved without error. It should compile and return to Ready status.
Steps To Reproduce

Log in to the dbt Cloud account
Access a dev environment on a project connected to Snowflake
Edit any macro files by adding a space or some other non-substantive change
Compilation error should appear.
Update blank yml file with comment and same error should appear.

Relevant log output
No response
Environment
- dbt: 1.0.3

What database are you using dbt with?
snowflake
Additional Context
No response

@crystalro0 and I chatted about this in slack.  Here's where we ended up:
I was not able to reproduce this behavior.  @crystalro0 will check with the customer now that they are in 1.0.5-rc1 in dev and see if they are still experiencing the issue.
For future reference, this is the project I attempted to recreate the issue on.

I don't know if I should open a new issue or build upon this one but there are multiple reports in Slack of users getting this issue when they overwrite generate_schema_name. One of them is this Slack thread (also pointing to another one). In the linked thread deleting target worked.

@b-per keeping the conversation in a single issue is always preferred so that all the context is together!
Transitioning this back to triage state to take a look in the next few days.


How to determine the type of currently logged-in user?

I'm trying to do something like:
if( Auth::user()->isAdmin ) {
    // some admin stuff...
} else if (Auth::user()->isTeacher ) {
    // some teacher stuff
}

and so on.
Is there a way we can accomplish this?

Since Auth::user() returns back a user model object, it will be nice if you create probably a function in your User Model class (or as it is named). See a sample.
In your case, it might not be User Model, depending on what you named your provider/ multi-auth.
class User extends Model
{
    ... // other model fields and method here

    public function isTeacher() {
        $teacher = App\Teacher::where('email', $this->email)->first();

        return is_null($teacher);
    }
}

This is definitely a very good answer! And totally works. It is a very nice way of simplifying the stuff on the controllers' code. Maybe it will be worth adding this method when generating model on php artisan multi-auth:install ?
Anyway, thank you very much :)

You're welcome. I'll do a PR for that feature and hope it gets accepted.


Bypasses via Blob URIs

f = document.createElement('iframe');
document.body.appendChild(f);
f.src = URL.createObjectURL(new Blob(["<script>alert.call(top, top.origin)</script>"], {type: "text/html"}));

window.location = URL.createObjectURL(new Blob(["<script>alert(window.origin)</script>"], {type: "text/html"}));

window.open(URL.createObjectURL(new Blob(["<script>window.opener.location='about:blank'; setTimeout(()=>{window.opener.alert(window.origin)}, 100);</script>"], {type: "text/html"})))

This is awesome - great catch!
I have to admit I'm fairly confused, when I began this project I remember researching blobs specifically knowing they might cause trouble and for some reason came to the conclusion they are cross origin by definition - I'm surprised to see that is clearly not the case.
Here's my fix attempt #45, if you wanna have a look that'd be great, feel free also not to.
Regarding your 2nd find, tricks that involve redirecting the top realm are currently out of Snow's scope. That is because AFAIK controlling redirection is impossible with JS and also an attack that involves redirecting the top main realm of the attacked page is rather rare and intrusive, not something you'd probably see.
Nevertheless, I can see real potential damage with such a technique, so I'm open to suggestions if anyone has a clever idea on how to defend against that.

As pointed out by @arxenix, the #45 solution attempt is far from being complete.
Will have to revisit this, hopefully will have a solution to this issue soon (am very much open to suggestions!)

It was decided to disable creation of URL object out of Blob/File completely until a clever solution is proposed.
Visit https://github.com/LavaMoat/snow/pull/69#issue-1588707243 for full course of events

if disallowing creation of URL object out of Blob/File completely the way Snow does in #69 prevents your application from running correctly, please share so in this issue thread so we can discuss the problem and understand how to best deal with it

linking this issue also to #87 where an improvement to this logic was introduced


Still maintained?

I'm updating the list of WYSIWYG editors.

The absence of reply probably answers the question…

Too bad 😞

You can use https://github.com/yabwe/medium-editor


generate list of people with duplicate VIAF ids

just a one-time list, report for data work

Ran queryset annotation & filter in the django console. Find all non-empty viaf ids that appear more than once, then find all people with those viaf ids.
from django.db.models import Count
from mep.people.models import Person

viaf_ids = Person.objects.values('viaf_id').exclude(viaf_id='').annotate(Count('viaf_id')).filter(viaf_id__count__gt=1).values_list('viaf_id')
Person.objects.filter(viaf_id__in=viaf_ids).order_by('viaf_id').values_list('name', 'sort_name', 'viaf_id')

Nearly all of these appear to be authors that have been entered more than once, sometimes with variant names.
mep-duplicate-viafids.txt

Generated list and shared via email.


JQ Expressions in Unit Test not consistent with specs standards and examples

I was looking at adding unit test and looked at parser/testdata/workflows/applicationrequest.json with the following DSL:
...
"dataConditions": [
        {
          "condition": "{{<EMAIL_ADDRESS>>= 18)] }}",
          "transition": {
            "nextState": "StartApplication"
          }
        },
...

I noticed that "condition" expression is not in accordance with the specs - the specs says that Jq expression should be within the ${ } rather than {{ }} - is this a mistake or is this intentional (ie. different expression language) ?
Also in the [1.7 versions of the examples in the specs] (https://github.com/serverlessworkflow/specification/blob/v0.7/examples/README.md#Applicant-Request-Decision-Example),
it was
...
 "dataConditions": [
            {
              "condition": "${ .applicants | .age >= 18 }",
              "transition": "StartApplication"
            },
...

I noticed that "condition" expression is not in accordance with the specs - the specs says that Jq expression should be within the ${ } rather than {{ }} - is this a mistake or is this intentional (ie. different expression language) ?

I think I don't understand your question. The question is whether or not the SDK should validate the expression?

Actually, I was wondering why the test json specs do not use jq expressions

It's jsonpath if I recall correctly. But the SDK is not parsing the expressions, so won't matter.
I think we can add at least a validation to the expressions based on the workflow.expressionLang attribute.

Should we close the issue because all jsonpath have been changed to jq:

https://github.com/serverlessworkflow/sdk-go/pull/73


Preparing insert statements

Hello,
I need to insert a large amount of data, but I can't use bulk_create because I need to retrieve the ids (and I am using sqlite). So I wanted to prepare the queries, since that can make a significant difference.
I tried the following:
p = models.Persona.prepared_objects.create(name=BindParam('name')).prepare()
pp = p.execute(name='@unknown')

but I then get the following error:
AttributeError: 'InsertQuery' object has no attribute 'add_prepare_param'

Is there any chance that django-prepared-query can be used for create() ?

Hi, create with prepare statements will be added in future. Now it works only with SELECT queries. Also this library doesn't support sqlite for now.


Add :strftime to parsing example

I think the :strftime argument of the one parsing example was missing. Unless you were using it as a n00b detector - in which case, you got me :)

Oh good catch! Thanks for the PR!

Thanks - and thanks for an awesome library!