remote plugins: setState() must be usable before call to prepare()

Currently https://github.com/atsushieno/aap-juce/issues/6 is stuck at the code where plugin state is being restored by tracktion_engine, because (by tracktion_engine) it is called before call to prepare(). It happens because at instantiation we don't really instantiate the plugin because extensions are not initialized there yet.
Extensions are not initialized at instantiation because AAP AIDL expects extensions to be transmitted after instantiation, while LV2 wrapper expects that LV2 plugin instance is created with extensions.
We should change the way how extensions are dispatched and then the actual instantiation is done, like:

beginInstantiation
addExtension (repeats n times)
endInstantiation

It is somewhat messy, but as AIDL communication is totally internal, it's not plugin/host developers annoyance.

both aap-lv2 and aap-juce are fixed now (aap-juce as of 87ee060, aap-lv2 is still side-by-side build).


fix: do not modify original pyproject.toml

Hey :wave:
Small change to copy the pyproject.toml directly, instead of reserializing it.
Why?
Some security tools (e.g. guarddog) will try to detect changes between the repository and the files available on pypi, to try and detect malicious packages.
While we don't modify the TOML content, it's still detected as the files don't match.
I don't see any editing of the pyproject.toml, so the change should not be a breaking change.
We may want to go a step further and keep a copy or the original file on first load, but if you're editing files while building, you'll probably already have some issues.
Any feedback is welcomed :)
Thanks and have a great day!

I don't see any editing of the pyproject.toml, so the change should not be a breaking change.

We allow to modify pyproject.toml in build hooks: https://backend.pdm-project.org/hooks/#modify-the-project-metadata

@frostming would it be acceptable to add a check to only save the pyproject.toml with tomli when it has been modified?


Help Thomas Get Started with SAP HANA

Tutorial URL: https://developers.sap.com/tutorials/hana-trial-advanced-analytics.html
Step 6: Can't make a build:
5:22:58 PM (Executor) The "task for hdb build" process started.
5:22:58 PM (Executor) Started the "task for hdb build" provision.
5:23:01 PM (Provision) Service provisioning for module: "/db"
5:23:01 PM (Provision) Could not create the 'my-hdi' instance of the 'hana' service type for the 'hdi_db' resource. No hdi-shared plan available found in this space.
5:23:01 PM (Provision) Provision fail since one of the provision tasks finished with error.
5:23:01 PM (Executor) The "task for hdb build" provision finished with an error: Provision failed. See console for more details.
5:23:01 PM (HDB) Build of /hana-cf-get-started-trial/db failed due to Provision failed. See console for more details..

No hdi-shared plan available found in this space.

That the key error message here.  It says that hdi-shared isn't available in your space.  So did you configure the workspace in the IDE to point to your trial space as described in Step 4. And also did you configure the entitlements as described in Step 3 and the linked help documentation: https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/5ba357b4fa1e4de4b9fcc4ae771609da.html
For this error you are either not pointing to the Trial space in your project or you don't have the correct entitlement configured in that space.

Make sure your entitlements contain both SAP HANA Cloud and SAP HANA Schemas & HDI Containers

I've added a step to the tutorial to ask people to double check their entitlement configuration at this point. Hopefully that helps clarify.  If this wasn't the core of your issue or you have follow up question, please re-open the issue.

Thanks for help!


Data directories

We currently have 3 different directories in the project. @dingdonged do you know which of the 3 we are actually working out of so we can remove the other 2 directories and clean up the repo?

addressed with PR #14


add endpoint-id to az monitor data-collection rule association

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command

az monitor data-collection rule association
General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.
closed https://github.com/Azure/azure-cli/issues/26628

Thank you for your contribution! We will review the pull request and get back to you soon.


update: numpy bottom of range 1.21.5 -> 1.22.0

testing if this fixes whitesource security check

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

We should just merge this in before cutting the new 0.5.0 release since it will be a clean slate in terms of indirectly dropping 3.7 support.

Going to make a new PR and fix the GH Actions. 3.7 won't work and will cause the pipeline to fail. Thanks @chtompki for the test here.

Thanks @fdosani I'll close this one.


Navbar links too small on mobile

Solved by wrapping icons in a Nav.Link. Use custom CSS as last resort


Crash in validate mode on regex matches in routes since 1.23

Title: Crash in validate mode on regex matches in routes since 1.23
Description:
Hi,
We’ve identified a crash that occurs in validate mode (and only validate mode) when a route includes a regex match against a header. There appears to be no issue when mode is set to ‘serve’. Please find attached a static config and a Dockerfile (with the same config baked in) for reproduction.
We’ve tested this case in various versions and it appears to have been introduced in 1.23 and remains present in all current 1.24 releases.
Any other kind of string matcher works, and the deprecated google_re2 matcher also works (with the expected deprecation warning). The only issue appears to be the new ‘regex’ option introduced in 1.23.0
Dockerfile:
FROM envoyproxy/envoy:v1.24.1

RUN echo 'static_resources:\n\
  listeners:\n\
  - address:\n\
      socket_address:\n\
        address: "<IP_ADDRESS>"\n\
        port_value: 80\n\
    filter_chains:\n\
      filters:\n\
      - name: envoy.http_connection_manager\n\
        typed_config:\n\
          "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager\n\
          stat_prefix: example\n\
          route_config:\n\
            name: demo\n\
            virtual_hosts:\n\
            - name: default\n\
              domains:\n\
              - "*"\n\
              routes:\n\
              - match:\n\
                  prefix: "/"\n\
                  headers:\n\
                    - name: "X-Whatever"\n\
                      string_match:\n\
                        safe_regex:\n\
                            regex: ".*"\n\
                direct_response:\n\
                  status: 200' > /etc/envoy/envoy.yaml

CMD ["envoy", "-c", "/etc/envoy/envoy.yaml", "--mode", "validate"]

Sample envoy template:
static_resources:
  listeners:
  - address:
      socket_address:
        address: "<IP_ADDRESS>"
        port_value: 80
    filter_chains:
      filters:
      - name: envoy.http_connection_manager
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
          stat_prefix: example
          route_config:
            name: demo
            virtual_hosts:
            - name: default
              domains:
              - "*"
              routes:
              - match:
                  prefix: "/"
                  headers:
                    - name: "X-Whatever"
                      string_match:
                        safe_regex:
                          regex: ".*"
                direct_response:
                  status: 200

Sample output from the issue:
[2022-12-22 16:33:56.805][1][info][main] [source/server/server.cc:808] runtime: {}
[2022-12-22 16:33:56.805][1][info][config] [source/server/configuration_impl.cc:131] loading tracing configuration
[2022-12-22 16:33:56.805][1][info][config] [source/server/configuration_impl.cc:91] loading 0 static secret(s)
[2022-12-22 16:33:56.805][1][info][config] [source/server/configuration_impl.cc:97] loading 0 cluster(s)
[2022-12-22 16:33:56.806][1][info][config] [source/server/configuration_impl.cc:101] loading 1 listener(s)
[2022-12-22 16:33:56.807][1][critical][assert] [./source/common/singleton/threadsafe_singleton.h:56] assert failure: loader_ != nullptr. Details: InjectableSingleton used prior to initialization
[2022-12-22 16:33:56.807][1][critical][backtrace] [./source/server/backtrace.h:104] Caught Aborted, suspect faulting address 0x6500000001
[2022-12-22 16:33:56.807][1][critical][backtrace] [./source/server/backtrace.h:91] Backtrace (use tools/stack_decode.py to get line numbers):
[2022-12-22 16:33:56.807][1][critical][backtrace] [./source/server/backtrace.h:92] Envoy version: 69958e4fe32da561376d8b1d367b5e6942dfba24/1.24.1/Clean/RELEASE/BoringSSL
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:96] #0: __kernel_rt_sigreturn [0xffffa3cf0790]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:96] #1: abort [0xffffa3a65aac]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #2: [0xaaaad48524e0]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #3: [0xaaaad4851bd4]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #4: [0xaaaad62e407c]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #5: [0xaaaad4974ad8]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #6: [0xaaaad6060e4c]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #7: [0xaaaad6068c00]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #8: [0xaaaad607f42c]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #9: [0xaaaad606a740]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #10: [0xaaaad6069d64]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #11: [0xaaaad606b8e8]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #12: [0xaaaad606d350]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #13: [0xaaaad5fc1e5c]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #14: [0xaaaad5fc8e78]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #15: [0xaaaad5fbcd14]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #16: [0xaaaad5fc03c0]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #17: [0xaaaad5fc77b4]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #18: [0xaaaad5fbe6e4]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #19: [0xaaaad5fbc9c4]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #20: [0xaaaad5f37a50]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #21: [0xaaaad5f36504]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #22: [0xaaaad5ed1438]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #23: [0xaaaad5edb350]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #24: [0xaaaad5edafb0]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #25: [0xaaaad5ee3d88]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #26: [0xaaaad5ec3c54]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #27: [0xaaaad5ed6da0]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #28: [0xaaaad5ed6028]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #29: [0xaaaad5f2b7f0]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #30: [0xaaaad5acdbe8]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #31: [0xaaaad5accd58]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #32: [0xaaaad5acc24c]
[2022-12-22 16:33:56.808][1][critical][backtrace] [./source/server/backtrace.h:98] #33: [0xaaaad46f02e4]
[2022-12-22 16:33:56.809][1][critical][backtrace] [./source/server/backtrace.h:98] #34: [0xaaaad46f09c8]
[2022-12-22 16:33:56.809][1][critical][backtrace] [./source/server/backtrace.h:98] #35: [0xaaaad46ed13c]
[2022-12-22 16:33:56.809][1][critical][backtrace] [./source/server/backtrace.h:96] #36: __libc_start_main [0xffffa3a65e10]

Seems https://github.com/envoyproxy/envoy/pull/24037 fixed this bug

@doujiang24, Was this fix released as part for the latest envoy version? I'm currently using v1.24.1 and still seeing the same error.

@sankethb27 I'm afraid not. It's merged in this commit, which is only in the main branch.

@doujiang24, Is there any ETA on when this is going to be available?

@sankethb27 Sorry, I'm not familiar with the release schedule. Maybe maintainers could give you an answer.

/backport

backport PRs raised:

#24821
#24822


:ghost: Refactor Dependencies details drawer layout and unique row handling

Changes:

Refactor the header and layout of tabs for the dependencies detail drawer following the changes in #1542.

Show the dependency name and provider in the header since those two fields together are the row unique key (see #1554).

Update the filter for the dependency applications to include both the name and the provider to match the row unique key (see #1554).

Screenshot before:

After:


Attachments in compose and reply

Fixed the page for replying with attachments, and added tests for the new onFileUpload function. Fixed other tests to include attachments.

LGTM, safe to merge.

Rebased via 86185ae


About evaluating existing result file (xlsx for MMBench)

Hello, I have locally generated the result file for LLaVA-1.5-13B on MMBench-Dev-EN and obtained llava-v1.5-13b.xlsx. I would like to evaluate this result file directly. However, it seems that currently, only evaluation from scratch after generating the result file is supported as introduced in Quick Start. Could you please tell me if the current repository supports this feature?

Hi,  @ligeng0197 ,
Would you please paste the file here so I can check what's wrong?
Besides, the name of the result file should be llava-v1.5-13b_MMBench_DEV_EN.xlsx, if you didn't explicitly specify it.

Thank you very much for your prompt response! I apologize if my explanation was unclear. The llava-v1.5-13b.xlsx file was generated using the original LLaVA 1.5 code. However, I would like to use VLMEvalKit locally to directly calculate the MMBench-dev metrics for the generated xlsx file, but I am not sure if this functionality feature is currently supported.

Hi, @ligeng0197 , Would you please paste the file here so I can check what's wrong? Besides, the name of the result file should be llava-v1.5-13b_MMBench_DEV_EN.xlsx, if you didn't explicitly specify it.

llava-v1.5-13b.xlsx
The generated file for reference.

Hi, @ligeng0197 ,
You have to log in to use our evaluation service.
The approach to evaluate MMBench DEV set w. VLMEvalKit has been sent to you via email.


Merge ai branch into master

I've rebased the ai branch against master & it looks in reasonable shape. It compiles successfully. I've made a few minor modifications/ renames were conflicts existed, hopefully they're reasonable.
However there is currently (at least) one issue.
It seems that when the wav file & log file file are simultaneously open or simultaneously been written to a crash occurs, along the lines of 'a corrupted task':
***ERROR*** A stack overflow in task Wav file writer has been detected.

Backtrace: 0x400848a5:0x3ffdf420 0x40095765:0x3ffdf440 0x400997aa:0x3ffdf460 0x40097cb9:0x3ffdf4d0 0x400959cc:0x3ffdf4f0 0x4009597e:0xa5a5a5a5 |<-CORRUPTED

ELF file SHA256: 2a53431754edece7

I wonder if it's multiple threads accessing a shared resource(the SD card) that needs mutexes to resolve? Just a guess at this point without further investigation...
Disabling the logging in main.cpp currently resolves the crashes.
I'll hopefully get some time over the next few days to look at this but wanted to start things moving on the merge..

I've rebased the ai branch against master & it looks in reasonable shape. It compiles successfully. I've made a few minor modifications/ renames were conflicts existed, hopefully they're reasonable.
However there is currently (at least) one issue.
It seems that when the wav file & log file file are simultaneously open or simultaneously been written to a crash occurs, along the lines of 'a corrupted task':
***ERROR*** A stack overflow in task Wav file writer has been detected.

Backtrace: 0x400848a5:0x3ffdf420 0x40095765:0x3ffdf440 0x400997aa:0x3ffdf460 0x40097cb9:0x3ffdf4d0 0x400959cc:0x3ffdf4f0 0x4009597e:0xa5a5a5a5 |<-CORRUPTED

ELF file SHA256: 2a53431754edece7

I wonder if it's multiple threads accessing a shared resource(the SD card) that needs mutexes to resolve? Just a guess at this point without further investigation...
Disabling the logging in main.cpp currently resolves the crashes.
I'll hopefully get some time over the next few days to look at this but wanted to start things moving on the merge..

I hope this should not be due to shared log file on the SD card. This should be fully protected by the mutex scope guard.
However it could be a read stack problem. Redirecting the ESP log requires use of vprintf which could use quiet a lot of stack memory, depending on .
It could also be a problem with the number or size of the logfiles you could change the config via BT:
setLogPersitent#cfg={"logToSdCard":"true","filename":"/sdcard/log/eloc.log","maxFiles":6,"maxFileSize":1024}
or change it change it persistent via the setConfig command.
I'm using Bluetooth Serial Terminal for Windows or this for Android both work pretty good with the ELOC.

I've rebased the ai branch against master & it looks in reasonable shape. It compiles successfully. I've made a few minor modifications/ renames were conflicts existed, hopefully they're reasonable.
However there is currently (at least) one issue.
It seems that when the wav file & log file file are simultaneously open or simultaneously been written to a crash occurs, along the lines of 'a corrupted task':
***ERROR*** A stack overflow in task Wav file writer has been detected.

Backtrace: 0x400848a5:0x3ffdf420 0x40095765:0x3ffdf440 0x400997aa:0x3ffdf460 0x40097cb9:0x3ffdf4d0 0x400959cc:0x3ffdf4f0 0x4009597e:0xa5a5a5a5 |<-CORRUPTED

ELF file SHA256: 2a53431754edece7

I wonder if it's multiple threads accessing a shared resource(the SD card) that needs mutexes to resolve? Just a guess at this point without further investigation...
Disabling the logging in main.cpp currently resolves the crashes.
I'll hopefully get some time over the next few days to look at this but wanted to start things moving on the merge..

I hope this should not be due to shared log file on the SD card. This should be fully protected by the mutex scope guard.
However it could be a read stack problem. Redirecting the ESP log requires use of vprintf which could use quiet a lot of stack memory, depending on . It could also be a problem with the number or size of the logfiles you could change the config via BT:
setLogPersitent#cfg={"logToSdCard":"true","filename":"/sdcard/log/eloc.log","maxFiles":6,"maxFileSize":1024}
or change it change it persistent via the setConfig command.
I'm using Bluetooth Serial Terminal for Windows or this for Android both work pretty good with the ELOC.

Does the mutex protect against multiple process writing to the one log file or does it serve some other purpose? I haven't had a chance to look through the code in detail yet.
I'll try reducing the logfiles number & size as a first step, the EI code uses a lot of stack memory so perhaps could be the issue. If that doesn't work I'll try creating a semaphore in main.cpp to pass to any tasks accessing the SD card.
I'm on a linux machine but I'm sure there an application to monitor the BT serial output.

The mutex in the RotateFile protects against simultaneous writes to the same file by multiple processes. Still the log of all processes are stored in the same file.
I've tested this with a separate project
with excessive log messages from multiple tasks which run asynchronously and had no problems with it.
But there could still be some hidden bugs in it, so best if you have a look at it
I don't think multiple process accessing the SD card with different files must be protected, as the Esp IDF FS is threadsafe protected.
Maybe you can increase the stack size of the wave writer task.

@LIFsCode
Maybe you can increase the stack size of the wave writer task.
That's solved the issue! The ai branch seems to be running now without any crashes for the last 10 min or so..
I  had assumed that the thread stack was only for local variables created in the subsequent thread/ task but from this result it would suggest that this understanding is incorrect.
@EDsteve It seems that this PR can now be moved from a draft to an actual PR unless anyone has further changes?

@OOHehir Nothing to add for now. Still on the road. But will be home tomorrow and then do testing testing testing :)

@LIFsCode Not sure how you'd like to proceed? Do you want to review this or would you like me to resolve the conflicts & complete the merge?

@OOHehir Feel free to resolve the conflicts and complete the merge. Thanks a lot :)

@LIFsCode No problem. Branches merged. I had to make some subsequent changes to fix crashes on the 'non-EI' or 'esp32dev' build. Amongst others this involved modifying 'sdkconfig.esp32dev' to enable SPIRAM / PSRAM & changing the flash size to 16MB to match the chip model on the WROVER.
@EDsteve Just a quick test but both the EI & non-EI versions of the code build & run (at least in the short term) successfully.


Webpack 3 scss compilation/extraction

I cannot seem to get your scss into my css build output.
In my .vue loaders I have:
{scss: 'vue-style-loader!css-loader!sass-loader'}

It builds without errors but I have no trace of your range-slider styles.

Can you provide a minimal reproduction as Github repo?

Closing for inactivity. If you can follow up with any information please open a new issue.


generate requirements traceability matrix as plantuml diagrams

closes #86

Preview available on https://capsulecorplab.github.io/sealion-mission-architecture/


Destroying one drawrpalette destroys the global event handlers for all of the drawrpalettes.

Destroying one drawrpalette destroys the global event handlers for all of the drawrpalettes.

See the answer by Nick Craver on how to deal with this:
https://stackoverflow.com/questions/3972886/how-to-unbind-a-specific-event-handler


Add custom CSS and JS hooks for Swagger UI

This adds custom CSS and JS hook files in order to customize the Swagger UI.
Place the files swagger-ui-custom.css and/or swagger-ui-custom.js in the static folder. These files are automatically loaded and applied to the Swagger UI.

Thanks again for the reviews.


Migrate tests to componentRunner

Component Runner based tests are cleaner, and easier to write.
We should migrate the old tests.

I can work on tests from the bottom of the alphabet upwards, if you want to go the other direction.

Yeah sounds good.
Would you rate this as higher priority compared to the performance work? The performance work could be useful from a "marketing" standpoint as well. Accompanied by a clickbaity "We made forgo 5x faster with this simple trick".

My thought is perf would be a big win. I know I've looked at several frameworks just because I noticed them scoring well on that benchmark, and even modest rankings improvements are a nice confidence booster for prospective users.
Hopefully we spot some quick wins, and I'd say those would be the priority. That would naturally involve touching some existing tests, which can be migrated as we go.
After the quick wins, anything else might wind up happening in stages, and we can't judge priority on that until we've assessed possible gains. Tests migrations can be done incrementally too, so a tick-tock rhythm might be appropriate here.

I've got a WIP branch where I'm converting everything.


US974183: Updated zypper command

https://internal.almoctane.com/ui/entity-navigation?p=131002/6001&entityType=work_item&id=974183

A developer build has not yet been created for this branch. Click here to go ahead and create the build...


Can't activate dess secondary on staging

Describe the bug
Blocker for #491
Unable to activate a @ cicd3 running on a dess VM:

In the app logs I see:
flutter: SEVERE|2022-02-21 15:10:31.063655|Onboarding Service|error in authenticating =>  Exception: Auth failed
flutter: SEVERE|2022-02-21 15:10:31.063655|QR Scan|Error in authenticateWith cram secret

On the server I see:
cicd3_secondary.1.fmypp29n1sac@cicd1x64    | SEVERE|2022-02-21 15:10:27.233968|DefaultVerbExecutor|exception in processing command :cram:eb051b0393b1aa99da8167013380c126a3be2ff54b5fad4926377c5b652810d8ce5e9686c446bb740d9c1a1d2a42b9d2e43381c1d92cc046f52c8054c6f9d0fb: Exception: privatekey:at_secret does not exist in keystore
cicd3_secondary.1.fmypp29n1sac@cicd1x64    |
cicd3_secondary.1.fmypp29n1sac@cicd1x64    | WARNING|2022-02-21 15:10:27.234009|GlobalExceptionHandler|Exception: privatekey:at_secret does not exist in keystore

To Reproduce
Steps to reproduce the behavior:

First I update .env on mwc_demo/flutter/iot_receiver to set ROOT_DOMAIN=root.atsign.wtf
Then I start the iot_receiver flutter run -d windows
And then click on SETUP NEW @SIGN
And then click on Upload QR code
Then I upload cicd3qr.PNG grabbed from sudo dess-reshowqr @cicd3 in an SSH session to the cicd1 VM

Expected behavior
Atsign should be activated and .atKeys generated for download

@cpswan I checked entry was done in root, that's what I have control
@murali-shris @kalluriramkumar @sarika01 can you please check this once and let me know if you need my help
@tinashe404  can you please link this with QR code upload not working issue

I have checked that the QR code contains the right CRAM key and that the secondary (cicd3) also has the right CRAM key..
I set up an app to point to root.atsign.wft and I see the same error in the log as Chris
cicd3_secondary.1.fmypp29n1sac@cicd1x64    | SEVERE|2022-02-21 16:08:01.303744|DefaultVerbExecutor|exception in processing command :cram:7db49ee48a5ad63267908648c0c1349a37e0c502e280b5d9a01dd813afbfbca824c1d4da8e71b7110e379b37fae248994da0d2383ccbc71ae4a6626075ae0e7d: Exception: privatekey:at_secret does not exist in keystore
cicd3_secondary.1.fmypp29n1sac@cicd1x64    |
cicd3_secondary.1.fmypp29n1sac@cicd1x64    | WARNING|2022-02-21 16:08:01.303775|GlobalExceptionHandler|Exception: privatekey:at_secret does not exist in keystore
cicd3_secondary.1.fmypp29n1sac@cicd1x64    |

To fault find further probably needs a secondary running dart interpreter so we can see more of what is going on..

Migrated to prod secondary image and hit same issue..

Thanks @cconstab clearing down the state worked, though it's worrying that those secondaries were able to get into a state where CRAM wasn't working.


Fixed "Error: Can not find module 'bluebird'"

Fixed that "Error: Can not find module 'bluebird'" occurs at startup when setting file upload locally.

Thank you so much!!


Update examples readme

Summary
Update examples readme to mention the exceptions.
Description
The readme now mention the exceptions thrown by the examples during their exits and specified a way to check if the examples executed correctly.
Additional Reviewers
@alexey-temnikov
@alexr-bq
@jeremyp-bq
@jonathanl-bq

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


improvement: Make dialogs look more like dialogs

Preview: https://excalidraw-git-modal.excalidraw.now.sh
Before

After

TODO

[x] Border
[x] Border radius
[x] Box shadow
[x] Center aligned
[x] Small Caps
[x] Title background
[x] Mobile view
[x] Close button
[x] Dark mode

I'd maybe add it to Islands in general? E.g. the Stats dialog could use one.
Btw, why do we add overflow-y: scroll to modals by default? Kinda ugly:

I'd maybe add it to Islands in general? E.g. the Stats island could use one.

Let's experiment with Islands in another PR... they have a shadow so they seem fine.

Btw, why do we add overflow-y: scroll to modals by default? Kinda ugly:

Removed the scroll..

Trying out box-shadow instead of border (as discussed in chat):
border:

shadow:

If the shadow is too big, we can decrease. IMO looks more discrete.
Anyway, the border was also causing some overflow/scrollbar issue on body for smaller viewports (we'd have to investigate).

Needs some tweaks on mobile

Let's drop the title background. It adds too many visual boxes. Without it looks better and cleaner:

Updated.

Why the small caps for the title? I feel like the design on master for the title is mostly OK already (except maybe for centering the title)

Why the small caps for the title? I feel like the design on master for the title is mostly OK already (except maybe for centering the title)

It made more sense with the title background.. and it was too big (h2)..

I have a strange fetish for small caps titles as well, but what do I know.
@lipis btw, I meant for the box-shadow to replace the border. IMO the border is too strong and doesn't add much value on top of the shadow.

@lipis btw, I meant for the box-shadow to replace the border. IMO the border is too strong and doesn't add much value on top of the shadow.

Yeah, I know.. I think it makes it sharper and the shadow is not that visible in the dark mode.. I tweaked the colors are bit.

Ok, looks good!

Ok, looks good!


Introduce better edge duplicate checking

based on

endpoints
direction
type
weight

... based on some well-formed assumptions.
first attempt:

integrated uuid-v4 library for node / edge ID generation

Dupes checking class written & tested - but when integrating this into JSONInput, all kind of hell breaks loose: probably due to (check):

[ ] JSONInput directed mode
[ ] JSONInput weighted mode
[ ] JSONInput typed mode

CLOSED -> Dupe checking works, next problem: integrate into JSONInput


nothing shows

i have set the token and tag but nothing in page.
https://www.hwj6.cn/COC

besides could you teach me
why https://www.hwj6.cn/clan1.php is ok
but  https://www.hwj6.cn/clan.php error 500
the code and token is same i just change the tag

It does not work for me

besides could you teach me
why https://www.hwj6.cn/clan1.php is ok
but https://www.hwj6.cn/clan.php error 500
the code and token is same i just change the tag

Dude, you should change the token with your own token. Go to CoC developers site and create a new API (make sure to whitelist your host IP) and apply that token. It is completely working :')


Add disableFormatting prop

What has been done

Added disableFormatting prop

Added disableFormatting key to getCountryMaskFormat util config
Updated docs

:tada: This PR is included in version 4.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Make more entities destructible

Catwalks, floor tiles, conveyers, and materials.
The damage values weren't really balanced, a cloth requires as much damage as diamond. But I don't think that really matters, in the majority of cases no one is directly attacking sheets of materials. This is mostly just so that consecutive large explosions don't just lave behind lots of metal sheets or floor tiles.

Ah. Completely forgot about damageable.


[TACHYON-224] Change master and worker to use TThreadPoolServer instead of TThreadedSelectorServer

Use TThreadPoolServer in both Tachyon Master and Worker

Can one of the admins verify this patch?

Can one of the admins verify this patch?

We can’t automatically merge this pull request.

Jenkins, test this please.

Jenkins, add to whitelist.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/2718/
Test PASSed.

@haoyuan what can I do to merge conflicts?

It's pretty weird why it happens here. But I think one way you can do is to create a clean patch.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/2719/
Test PASSed.

should be good to be merged now :)

Jenkins, test this please.

Thanks @SiyuanHe ; Please address @calvinjia 's comments.

Forgot to do that. comments addressed.. @calvinjia, can you take a look

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/2720/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/2721/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/2722/
Test PASSed.

@SiyuanHe Did a pass, mostly format/style issues.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/2726/
Test PASSed.

Thanks!

@haoyuan @calvinjia  Thanks for reviewing!


python312Packages.impacket: 0.11.0 -> 0.12.0

Changelog: https://github.com/fortra/impacket/releases/tag/impacket_0_12_0
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

75 packages built:

acltoolkit
acltoolkit.dist
adenum
adidnsdump
adidnsdump.dist
bloodhound-py (python312Packages.bloodhound-py)
bloodhound-py.dist (python312Packages.bloodhound-py.dist)
breads-ad
breads-ad.dist
certi
certi.dist
certipy (python312Packages.certipy-ad)
certipy.dist (python312Packages.certipy-ad.dist)
certsync
certsync.dist
coercer
coercer.dist
conpass
conpass.dist
donpapi
donpapi.dist
enum4linux-ng
enum4linux-ng.dist
erosmb
erosmb.dist
hekatomb
hekatomb.dist
keepwn
keepwn.dist
kerbrute
kerbrute.dist
knowsmore
knowsmore.dist
krbjack
krbjack.dist
ldapmonitor
netexec
netexec.dist
ntlm-challenger
pre2k
pre2k.dist
pysqlrecon
pysqlrecon.dist
python311Packages.bloodhound-py
python311Packages.bloodhound-py.dist
python311Packages.certipy-ad
python311Packages.certipy-ad.dist
python311Packages.dploot
python311Packages.dploot.dist
python311Packages.impacket
python311Packages.impacket.dist
python311Packages.lsassy
python311Packages.lsassy.dist
python311Packages.masky
python311Packages.masky.dist
python311Packages.patator
python311Packages.patator.dist
python311Packages.pywerview
python311Packages.pywerview.dist
python312Packages.dploot
python312Packages.dploot.dist
python312Packages.impacket
python312Packages.impacket.dist
python312Packages.lsassy
python312Packages.lsassy.dist
python312Packages.masky
python312Packages.masky.dist
python312Packages.patator
python312Packages.patator.dist
python312Packages.pywerview
python312Packages.pywerview.dist
smbmap
smbmap.dist
smbscan
social-engineer-toolkit


create use statements for classes

$this->container->get(Manager::class)
is it possible with an keystroke to generate use statements?
in phpstorm alt+enter it displays an menu for this Manager Entry when more Classes exists

Both jump to definition and completion are vim/neovim's builtin feature. Is is a little hard to implement this feature.


Allow to select ledger when writing an object to the ledger

Currently the first ledger will always be used when writing an object to the ledger. It would be nice to select the ledger to use when writing objects to the ledger
This could be as simple as passing the pool id to the method, however a better approach would probably be to pass the did to use. This will remove the need for the publicDid property that we currently use (because you always pass it), and we could just require the dids to be did indy formatted dids so we can extract the ledger to write to from it. #965 adds the indyNamespace property to the pool configs. We could then match that against the namespace form the provided did and use that ledger.
E.g. agent.ledger.registerSchema() could take a publisherDid property of value did:indy:sovrin:xxx so we know it needs to be registered on mainnet. The advantage of this approach is that it will also work when we add support for other ledgers with anoncreds. You just pass e.g. did:cheqd:mainnet and we would write it to cheqd mainnet instead

A good addition! 100% in favour of the second method with the proper way. Once full support for did:indy this would be a nice addition as well :).

@TimoGlastra someone seems to already be working on this. How do I proceed?

I don't think so, these messages are unrelated to this issue.
But this reminds me I still need to add some extra info to this issue 😁


Fixing message parsing to recursively cache names.

Fixes #143.

@kdeus Anything left here?

LGTM.


adding basic set of visualizations

Closes #

Adding the following plotting functions:

raw data plot (from peakdet)
average peak (using a peak detection step)
power spectrum
histogram wrapper

Proposed Changes

Adding visualization submodule to the new interface folder.

Change Type

[ ] bugfix (+0.0.1)
[x] minor (+0.1.0)
[ ] major  (+1.0.0)
[ ] refactoring (no version update)
[ ] test (no version update)
[ ] infrastructure (no version update)
[ ] documentation (no version update)
[ ] other

Checklist before review

[x] I added everything I wanted to add to this PR.
[ ] [Code or tests only] I wrote/updated the necessary docstrings.
[ ] [Code or tests only] I ran and passed tests locally.
[ ] [Documentation only] I built the docs locally.
[x] My contribution is harmonious with the rest of the code: I'm not introducing repetitions.
[x] My code respects the adopted style, especially linting conventions.
[x] The title of this PR is explanatory on its own, enough to be understood as part of a changelog.
[ ] I added or indicated the right labels.

[ ] I added information regarding the timeline of completion for this PR.

[x] Please, comment on my PR while it's a draft and give me feedback on the development!

In general, the changes are functional and look good! I was testing using Python 3.11.4 in Windows. I am leaving some specific feedback to improve small things throughout, particularly for the plot_average_peak function.
Other things that should be considered, possibly in a future PR (?) but also reasonably in this one, include:
* [ ]  functionality to save plots

* [ ]  logging functionality

* [ ]  raising errors, especially if the plotting function does not receive a Physio-type object

* [ ]  adding test coverage

Hi, thanks for the feedback, the idea for PhysioQC (as far as I remember) was to create MRIQC like reportlets. I have that already implemented in a very quick and dirty fashion, building on #11
In principle, what would happen is that you call the CLI on the raw physiological data in your BIDS directory and it creates html outputs. In that workflow the images would be saved.
That logic might provide some context regarding a few of the coding decisions. But also it has been a long while, so I'll have a closer look :)
Do you have a good guideline for implementing logging? That is something I have no experience in.

I'm not sure this is exactly what you are looking for, but:
https://betterstack.com/community/guides/logging/loguru/
(see also phys2bids for a standard python logger implementation: https://github.com/physiopy/phys2bids/blob/d796fe17f7af4aed9605bd51f4ab3d8c0609a3ae/phys2bids/phys2bids.py#L46)
In general, you will need to declare a log object at the beginning of each file (always the same object), then any time you would print something, make a log item instead.
If the print message is utterly important (e.g. you're changing an input parameter, or something doesn't seem right with the input parameters, but not wrong enough to raise an exception, or you're doing some unexpected trick to make the input work, e.g. transposing arrays) that's a log warning. If the print message is to inform the user that something is happening (good to do that from time to time), that's a log info, and if you are implementing loguru, it's good to throw a success every now and then after something worked out (e.g. you finished computing a metric, or created a graph, or put together the report).
@maestroque might be able to help you better!

For logging specifically, I think we can make another PR - what do you think @smoia ? It's mostly the code coverage/testing that I think needs to be added in before we can merge this.

That sounds like a sensible idea - especially after #11 is merged as well, so we have one complete log-related PR. It would be better to open an issue to track the log points raised here though!

I know this might break the general development cycle, but it might be worth also move testing to a different PR so we can make progress on #11 .

@SRSteinkamp I agree! In that case, I think that the main thing to address before we merge the PR are the specific comments we've made so far. @smoia what are your thoughts about opening a separate issue for adding test coverage?

Actually, there's already an open Loguru issue, so no need to open a new one for logging.

We've never been strict about testing, so I'm inclined to say ok, given we're not in beta stage yet - as long as the testing happens (chatGPT is a great friend for that), that's fine!

:rocket: PR was released in 0.4.0 :rocket:


Multi-color plotting length error

I'll find a reproducible example, but looks like the multi-class color isn't quite right, introduced in #789
Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "/blue/ewhite/b.weinstein/miniconda3/envs/AirborneFieldGuide/lib/python3.10/site-packages/deepforest/visualize.py", line 405, in plot_results
    if num_labels > 1 and len(results_color_sv) != num_labels:
TypeError: object of type 'Color' has no len()

image_annotations = read_file(image_annotations, root_dir=train_image_dir)
visualize.plot_results(image_annotations, res)

image_annotations.iloc[0]
xmin                                                      804.0
ymin                                                       23.0
xmax                                                      854.0
ymax                                                       73.0
label                                                White Ibis
image_path               C4_L24_F873_T20240417_075715_656_7.png
annotator                 Brier Klossing<EMAIL_ADDRESS>20
geometry      POLYGON ((854 23, 854 73, 804 73, 804 23, 854 ...
Name: 256, dtype: object

We'll need another look at this.

Closed by #791


Add validation to CRDUpgradeSafety preflight check to ensure default values for a field are not changed during an upgrade

Now that there is a base CRDUpgradeSafety preflight check in place, we can continue adding validation logic based on the CRDUpgradeSafety preflight check proposal.
This issue focuses on adding another field change validation to the CRD Upgrade Safety checks to prevent changes to a fields default value for a given CRD version during an upgrade
As a potential source of inspiration, here is how a couple of the existing validations are implemented:

Definitions:

func NoScopeChange(old, new v1.CustomResourceDefinition) error {
 	if old.Spec.Scope != new.Spec.Scope {
 		return fmt.Errorf("scope changed from %q to %q", old.Spec.Scope, new.Spec.Scope)
 	}
 	return nil
 }

 func NoStoredVersionRemoved(old, new v1.CustomResourceDefinition) error {
 	newVersions := sets.New[string]()
 	for _, version := range new.Spec.Versions {
 		if !newVersions.Has(version.Name) {
 			newVersions.Insert(version.Name)
 		}
 	}

 	for _, storedVersion := range old.Status.StoredVersions {
 		if !newVersions.Has(storedVersion) {
 			return fmt.Errorf("stored version %q removed", storedVersion)
 		}
 	}

 	return nil
 }

Consumption:

Validations: []Validation{
 	NewValidationFunc("NoScopeChange", NoScopeChange),
 	NewValidationFunc("NoStoredVersionRemoved", NoStoredVersionRemoved),
 },

Closing as completed via PR merged into kapp: https://github.com/carvel-dev/kapp/pull/950


Rename does not update aliased imports

From https://github.com/microsoft/vscode/issues/91940

TypeScript Version:  3.9.0-dev.20200303

Search Terms:
Code
foo.ts
export interface IFoo {
    bla(): void;
}

bar.ts
import { IFoo as SomeAlias } from './index'

export class K implements SomeAlias {
    bla(): void { }
}

In foo.ts, rename IFoo to IFoo

Expected behavior:
Reference to IFoo in bar.ts is updated
Actual behavior:
The reference is not updated

hello typescript team! i'd love to help with this. could you point me in the right direction? this would be my first open source contribution.

@martinjaime this is probably a bit of a tricky one that might not be a good first issue. I'd recommend choosing something from this list if you'd like to make a contribution. Thanks!


fix(ios): ensure controls are not displayed when disabled by user

Fix an issue found when testing with basic sample.
if you disable controls, set fullscreen={true} and fullscreen={false}
when leaving fullscreen controls are displayed even if controls are false

LGTM!


Make InterstellarTechnologies install only the correct folder

Make InterstellarTechnologies install only the correct folder

@sswelm, can you please describe the problem you're trying to solve? This change would have no effect, as the default installs stanza looks for a folder named after the identifier and installs it to GameData. In other words, CKAN is already doing this.
https://github.com/KSP-CKAN/CKAN/blob/2a2b12e399818e39534070ccf888e3ac08fd47af/Core/Types/ModuleInstallDescriptor.cs#L208-L221

so what went wrong exactly?

The error was because of the syntax here:
install:
  - find: GameData/InterstellarTechnologies
  - install_to: GameData

That creates two separate objects in the list, one per hyphen, as in:
  "install": [
    {
      "find": "GameData/InterstellarTechnologies"
    },
    {
      "install_to": "GameData"
    }
  ]

The right syntax is to omit the second hyphen:
install:
  - find: GameData/InterstellarTechnologies
    install_to: GameData


Added git config lfs.locksverify false to quickstart

When going through Getting started document there is an 405 error that occurs while accessing locks/verify method on LFS.
Now when I added lfs.locksverify configuration that is skipped for whole repo and it's working fine.
Also when calling the command:  git lfs track "*.bin" it changes the newly created '.bin' file so I moved code for creating dummy file after git lfs track method.

@anuveyatsu @shubham-mahajan can you guys check this?
Thanks,
Svetozar

Issue that this PR fixes: https://github.com/datopian/giftless/issues/110

LGTM
@anuveyatsu Could you please check once from your end.


feat: drag the window when the cursor starts moving

Describe your PR, what does it fix/add?
When cursor is clicked on a window but the cursor is not moving, the window will not float until cursor starts moving
#8099
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
Nah.
Is it ready for merging, or does it need work?
Ready

Describe your PR, what does it fix/add?
When cursor is clicked on a window but the cursor is not moving, the window will not float until cursor starts moving #8099
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
Nah.
Is it ready for merging, or does it need work?
Not ready


Creating an index on an abstract type doesn't create it on types that extend it

EdgeDB Version: EdgeDB 1.0+9236fa8
OS Version: Mac OS monterey

Steps to Reproduce:
abstract type WithPgId {
  required property pg_id -> str {
    constraint exclusive;
  };
  index on (.pg_id);
}

type User extending WithPgId{
  property name -> str;
}

Fill the user type with 1 million rows and try a select query
Add an index to the pg_id on the User type --> the query is now fast

I'm not able to reproduce this. When I try this, we do create an index on WithPgId. We actually create an index even without the index declaration, because of the exclusive constraint on pg_id.
When I tried this, I could verify that the query plan was doing a sequential scan, and that querying by pg_id was much faster than by name.
I'm not sure what issue you were hitting--the first run of a query is usually much slower, since we need to run the compiler. Maybe it was that?

I'm going to close this issue. Feel free to open up a discussion about the perf issue you are seeing, or to reopen this if you think I'm mistaken about the index issue and have some more detailed reproduction instructions to share?
Thanks!

the first run of a query is usually much slower
I noticed it on the first run. So maybe that's it


Doesn't handle header IP addresses

Should use the X-Forwarded-For as a default to check and allow custom header names to try and pull IPs from.

Closed by #11 :)


create lookup closure function

takes in the name of the function and the current env, returns the whole closure

closed by ae0e8de


[Feature Request]: Docs site to support Typescript live TSX

Description
Support live TSX in addition to live JSX to enable better documentation of components, e.g. DataTable, where Typescript is pivotal in the component API
https://docusaurus.io/docs/markdown-features/code-blocks#interactive-code-editor
Examples
Code of Conduct

[X] I agree to the Code of Conduct.
[X] I have reviewed the current issues for duplicate tickets.

Found the problem -- Docusuarus implements a live-codeblocks plugin that wraps react-live<EMAIL_ADDRESS>supports Typescript but Docusaurus' live-codeblocks is on<EMAIL_ADDRESS>😞

I attempted a quick PR to Docusaurus here updating the dependency, but the builds failed in an unhelpful. I saw some folks in the Discord also struggling to get through webpack and other errors when upgrading react-live https://github.com/facebook/docusaurus/pull/9145/files

I have created an issue in Docusaurus' feedback board https://docusaurus.io/feature-requests/p/typescript-live-code-blocks


Getting an unhandled promise rejection error

Hi, I am trying to convert my electron app to appX using electron-windows-store and have been getting this error. My version of windows 10 sdk is Windows 10 SDK, version 1903.
PS C:\WINDOWS\system32> electron-windows-store --input-directory C:\Projects\Javascript\simplephotoviewer\dist\simplephotoviewer-win32-x64 --output-directory c:\projects\javascript\simplephotoviewer\dist\AppX --package-version <IP_ADDRESS> --package-name simplephotoviewer
You need at least Node 4.x to run this script
? Did you download and install the Desktop App Converter? It is not required to run this tool.  No
? You need to install a development certificate in order to run your app. Would you like us to create one?  No
Welcome to the Electron-Windows-Store tool!
This tool will assist you with turning your Electron app into
a swanky Windows Store app.
We need to know some settings. We will ask you only once and store
your answers in your profile folder in a .electron-windows-store
file.
? Please enter your publisher identity:  CN=IggyMakesThings
? Please enter the location of your Windows Kit's bin folder:
Setup complete, moving on to package your app!
Configuration:
Desktop Converter Location:    undefined
Expanded Base Image:           undefined
Publisher:                     CN=IggyMakesThings
Dev Certificate:               undefined
Windows Kit Location:
(node:15548) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'match' of undefined
at inquirer.prompt.then.then (C:\Users\igweo\AppData\Roaming\npm\node_modules\electron-windows-store\lib\params.js:86:29)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:15548) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:15548) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
PS C:\WINDOWS\system32>
Would appreciate any help

I am also getting this problem. My error message:
(node:2144) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'match' of undefined
at inquirer.prompt.then.then (C:\Users\samho\AppData\Roaming\npm\node_modules\electron-windows-store\lib\params.js:86:29)
at processTicksAndRejections (internal/process/next_tick.js:81:5)
(node:2144) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2144) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Im getting the same error. The error gives some hint as to what is going on and its because all of us are choosing "no" for the dev certificate question so it is undefined. Doing a .match on an undefined object will error out.
find you global node modules folder and go into windows-store-manager/lib/params.js
on line 86 there is a .match check for a dev certificate. Simply just check if there is a dev certificate. Im not sure if this is the actual fix however I was able to move past this error doing this fix:
if (program.devCert && program.devCert.match(/.p12$/i)) {

However this lead me to another error 🤷♂


view pdf as svg  GUI is not same as PDF file

Link to PDF file (or attach  here):
http://techexcel.devsuite.net/appweb/k6.pdf
Configuration:

Web browser and its version:
Operating system and its version:
PDF.js version:
Is an extension:

Steps to reproduce the problem:

view this pdf file as svg is not good!
please see two screenshot in below.

What is the expected behavior? (add screenshot)
http://techexcel.devsuite.net/appweb/2.png
What went wrong? (add screenshot)
http://techexcel.devsuite.net/appweb/1.png

This is mostly fixed now. Only blend modes are missing and the calendar icon at the top of each page misses a line.

Given that blend modes support for the SVG back-end is already being tracked in issue #10935, we can probably close this issue as a duplicate of that one (also given the unsupported status of the SVG back-end itself).
Duplicate of #10935


Valid Parentheses

Problem: Validating parentheses in an expression in C
The user is expected to enter a mathematical expression (string) containing parentheses (e.g., (), {}, []).The program will then analyze the input expression to determine whether the parentheses are valid or not by using stack. For example, the user might input an expression like ((3 + 2) * {4 - 1}). The program will then evaluate the validity of the parentheses in this expression.

please assign this to me

Hello Sir, I wish to contribute in this issue. Kindly assign this to me.

can i solve it!

Assign this task to me


Distinguishing between texture and array of textures (for bindless)

I'm having a bit of trouble distinguishing in the reflection information between a normal texture declared as Texture2D myTex and the bindless equivalent Texture2D myArrayOfTex[42], I've been poring through get_type to see if it was any different to a normal texture but I can't really find what I need. Have you got any pointers? Thanks!

You can look at resource.type_id. It holds the full array information.

Ah, I can see that there's an array member of SPIRVType called array that is a SmallVector that contains the size of the array as its first member (says there that it can be an array of arrays)
When I declare it as an unbound array, the size becomes 4. Is that correct?

Doesn't seem like there's more to do in this issue, so closing.

Agh I apologize for not replying, but you were most helpful :) Thanks again


System.IO.IOException thrown by MultipartReaderStream

From @dvdobrovolskiy on March 25, 2018 0:28
Have this code
FileUploadSample
works perfectly well on 2.0 but is I implement it in 1.0 (version 1.1.7) project throws "'System.IO.IOException' in mscorlib.dll" exception.
Here controller
        [HttpPost]
        [DisableFormValueModelBinding]
        [ValidateAntiForgeryToken]
        public async Task<IActionResult> Upload()
        {
            if (!MultipartRequestHelper.IsMultipartContentType(Request.ContentType))
            {
                return BadRequest($"Expected a multipart request, but got {Request.ContentType}");
            }

            // Used to accumulate all the form url encoded key value pairs in the
            // request.
            var formAccumulator = new KeyValueAccumulator();
            string targetFilePath = null;

            var boundary = MultipartRequestHelper.GetBoundary(
                MediaTypeHeaderValue.Parse(Request.ContentType),
                _defaultFormOptions.MultipartBoundaryLengthLimit);
            var reader = new MultipartReader(boundary, HttpContext.Request.Body);

            var section = await reader.ReadNextSectionAsync();     //<===Exception here

Sorry if I forgot to set temp path somewhere but I am far before reading data to my stream or temp file
Copied from original issue: dotnet/coreclr#17197

Could you please share the exception message and stacktrace to help us route this?

The exception is thrown here: https://github.com/aspnet/HttpAbstractions/blob/87cd79d6fc54bb4abf07c1e380cd7a9498a78612/src/Microsoft.AspNetCore.WebUtilities/MultipartReaderStream.cs#L229 . This belongs to ASP.NET.

From @dvdobrovolskiy on March 25, 2018 14:58
Sure
I just noticed one more exception after this. Might be some problem with my data
The thread 0x6e5c has exited with code 0 (0x0).
Exception thrown: 'System.IO.IOException' in mscorlib.dll
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker: Information: Executed action TNPK.Controllers.HomeController.Upload (TNPK) in 7343.1796ms
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware: Error: An unhandled exception has occurred while executing the request
System.IO.IOException: Unexpected end of Stream, the content may have already been read by another component.
at Microsoft.AspNetCore.WebUtilities.MultipartReaderStream.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.WebUtilities.StreamHelperExtensions.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.WebUtilities.MultipartReader.d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()    at TNPK.Controllers.HomeController.<Upload>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__27.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__25.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextResourceFilter>d__22.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ResourceExecutedContext context)    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeAsync>d__20.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.<Invoke>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware1.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware1.<Invoke>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware1.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware1.<Invoke>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware1.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware1.<Invoke>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware1.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.MigrationsEndPointMiddleware.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.DatabaseErrorPageMiddleware.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.DatabaseErrorPageMiddleware.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.d__7.MoveNext()
Microsoft.AspNetCore.Hosting.Internal.WebHost: Information: Request finished in 7359.91ms 500 text/html; charset=utf-8

@rynowak?

From reading the issue it sounds like the problem is only present in .NET Core 1.0, which is is a Long Term Servicing release. Support requests for that go through Microsoft Product Support.
If you're still seeing this issue in a 2.x release, feel free to ping here!


Atom hangs on opening file with very long line

I've got a compressed js file that has 1 line which is about about 29,000 columns long. Attempting to open this file freezes the entire UI, but eventually it is able to load. Syntax highlighting also stops at col. 251 on this particular file.
Other files that are much larger (such as jQuery minified javascript) never end up loading properly. After waiting a while, a notice pops up that the editor has stopped responding, and the editor screen reverts back to the file I was viewing previously. Navigating back to that jQuery script shows that it has then loaded, but syntax highlighting still stops, and then becomes very sporadic throughout the rest of the file.
version: 1.0.6
os: Mac OSX 10.10.4

Thanks for the report! This looks like a duplicate of https://github.com/atom/atom/issues/979 – please subscribe there for updates.


Row access policy always marked as changed when using heredoc style SQLs

Provider Version
0.70.1
Terraform Version
1.5.4
Describe the bug
When configuring the row access expression of a snowflake_row_access_policy using heredoc instead of a regular string, the resource is always marked as changed by terraform plan/apply.
Expected behavior
I expect the resource to not be marked as changed after applying it.
Code samples and commands
Example config to trigger the issue:
resource "snowflake_row_access_policy" "example_row_access_policy" {
  name     = "EXAMPLE_ROW_ACCESS_POLICY"
  database = "EXAMPLE_DB"
  schema   = "EXAMPLE_SCHEMA"
  signature = {
    A = "VARCHAR",
    B = "VARCHAR"
  }
  row_access_expression = <<-EOT
    case
      when current_role() in ('ANALYST') then true
      else false
    end
EOT
}

Additional context
I suspect this is a similar issue as in https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/534?

Or perhaps related to https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/1422 / https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/1097?

Verified that it's an issue with trailing newline in the heredoc style row access expression, similar to #1422 / #1097.
I moved the expression to a local variable and changed the row access policy resource to use row_access_expression = trim(local.expression, "\n") and the issue disappeared.

Hi @fredriv 👋
Sorry for a late response from our side. We are currently reworking row access policies. The issues you mentioned are related to other resources, but https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/1151 is related to row access policies as well. To be sure, could you paste terraform apply output?

Hi, we've released v0.96.0, which includes adjusting and fixing row access policies. Please upgrade with the migration guide.

Closing the issue due to inactivity. Please create a new one if the issue persists in the newest version of the provider.


Strange org agenda issue with TAB

What did you expect to happen?
I have a split view: agenda mode and org file. In agenda buffer, I used to press TAB key to go to the other buffer and move to the item that is currently selected in agenda mode.
What actually happened?
This doesn't work now fully. I open a fresh emacs instance, load an org file and split view with agenda buffer. Suppose I focus (in agenda view) on item X from file A.org. Now I press TAB (I have agenda compiled from multiple org files). If file A.org wasn't opened yet by agenda, agenda buffer is replaced by file A.org (but not focused on item X) and cursor is moved to the other buffer. Then I open agenda once more, press TAB on the same item and it works as expected, i.e. agenda buffer is preserved, cursor is moved to other window and focused on file A.org, item X.
System information:
https://pastebin.com/3AXWBWhD

I am facing the same issue (with org-agenda-follow-mode active). Following is the debug information.
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  org-agenda-do-context-action()
  org-agenda-next-line()
  #<subr funcall-interactively>(org-agenda-next-line)
  apply(#<subr funcall-interactively> org-agenda-next-line)
  funcall-interactively(org-agenda-next-line)
  #<subr call-interactively>(org-agenda-next-line nil nil)
  apply(#<subr call-interactively> (org-agenda-next-line nil nil))
  explain-pause--wrap-call-interactively(#<subr call-interactively> org-agenda-next-line nil nil)
  apply(explain-pause--wrap-call-interactively #<subr call-interactively> (org-agenda-next-line nil nil))
  call-interactively(org-agenda-next-line nil nil)
  command-execute(org-agenda-next-line)

May I just comment that this issue started several weeks ago, I didn't report it as I thought it's temporary.

Think it is relevant with https://github.com/hlissner/doom-emacs/issues/4759#issuecomment-822100632. It had to do with killing buffer rather than restarting it from bare bone org buffer to complete one, which has changed by https://github.com/hlissner/doom-emacs/commit/9f08db8e334c1018c95fbb7046b9a3e20d3e2a28

I wonder if it is related to this discussion on discord
Copying my message

I also just upgraded Doom (haven't done for a while), and it broke TAB in agenda for me, I think I 'fixed' it though. I searched for occurrence of TAB in git logs, and the most recent one was this https://github.com/hlissner/doom-emacs/commit/55cfe0cca468d09b415374955968cfa70ed3d711
Can't say I understand what it's doing exactly, but anyway I tried doing git checkout cb194a31b1a89d6c3b89c0591c8e6892fd9f2fcd (which is the parent commit, and you might want to run git fetch --unshallow first).
And then doom clean/doom sync/doom build. To my surprise this helped and now TAB/org-agenda-goto works as expected.

Just did it again while setting up on a new computer -- and again it helped.

Thank you @karlicoss but I guess this serves only as a temporary solution, I don't want to be stuck with an old commit :)

Just noticed but maybe it's related: when I have a calendar (via SPC m d s org org-time-stamp-inactive) and I start scrolling through dates, when I reach the end of current page (June 30 as of today), the whole popup is reloaded and I'm back in a new popup with May 4rth.


fixed bugs

Fixed some bugs in index.html/blog.html

The changes looks good, but :

Use the proper PR Template
Link your PR to the issue you raised.

The changes looks good, but :

Use the proper PR Template
Link your PR to the issue you raised.

Yes tamal, I am new to this opensource and ur guidance really help me lot.
Next time I will never do this mistakes again.. thank you

Responsive footer section..

Responsive footer section..


Mental Models

What got you here won’t get you there. You need to unlearn certain principles and tactics so you can make room for better ones.

 We are prone to seeking things that confirm our existing beliefs. We relentlessly search for facts that support everything we think. But this leads us to nowhere. We simply stay in the same position. Never advancing.
A big part of thinking better is unlearning old mental models and replacing them with better ones.
Something that often happens in our daily life and as well in big organizations is that they hold to things they did for years. Never updating their views. That’s why the following is considered the most dangerous phrase in business: “We’ve always done it this way!”
But as smart folks say, “What got you here won’t get you there.”
Or if I can slightly change a quote from the great book Accelerated Expertise, your “learning thinking advances when flawed mental models are replaced, and is stable when a model is refined and gets harder to disconfirm.”
All of this requires abandoning/unlearning outdated concepts that you currently hold and replacing them with better ones.
In the simplification of reality, creating a model can find a sense of reality, seeking to overcome systemic thinking and system dynamics.
These two disciplines can help to construct a better coordination with the reality of mental models and simulate it accurately. They increase the probability that the consequences of how to decide and act in accordance with how to plan.
[System dynamics](https://en.wikipedia.org/wiki/System_dynamics) – extending mental models through the creation of explicit models, which are clear, easily communicated and can be compared with each other.

[Systemic thinking](https://en.wikipedia.org/wiki/Systemic_thinking) – seeking the means to improve the mental models and thereby improve the quality of dynamic decisions that are based on mental models.

After analyzing the basic characteristics, it is necessary to bring the process of changing the mental models, or the process of learning. Learning is a back-loop process, and feedback loops can be illustrated as: single-loop learning or double-loop learning.
Single-loop learning
Mental models affect the way that people work with information, and also how they determine the final decision. The decision itself changes, but the mental models remain the same. It is the predominant method of learning, because it is very convenient.
Double-loop learning
Double-loop learning is used when it is necessary to change the mental model on which a decision depends. Unlike single loops, this model includes a shift in understanding, from simple and static to broader and more dynamic, such as taking into account the changes in the surroundings and the need for expression changes in mental models.

Resource

https://en.wikipedia.org/wiki/Mental_model
https://copyconstruct.medium.com/effective-mental-models-for-code-and-systems-7c55918f1b3e
https://durmonski.com/self-improvement/types-of-thinking
https://durmonski.com/self-improvement/how-to-think-better

Mental models are cross-cutting and also multi-level.
Potential pathway of failed implementation.

How to Use Mental Models in Overcoming Implementation Challenges
If we accept that mental models can have a powerful influence over whether implementation happens or not, or happens well and is sustained, it is helpful to know how to identify an individual or group's mental model and assess if these mental models are facilitating or serving as barriers to implementation.
Consider the use of an implementation science framework. The Practical, Robust, Implementation and Sustainability Model (PRISM) provides guidance regarding the contextual factors that influence the outcomes of reach, effectiveness, adoption, implementation and maintenance (RE-AIM outcomes, which are part of PRISM).

How can you identify mental models?
Overview of common mental model elicitation methods.
Method	Description	Considerations
Survey	A series of questions with a closed ended response format (e.g., Likert scale from 1 to 5)	Efficient way to measure specific beliefs from a large group when one knows what the range of beliefs can be. Less suited for eliciting complex relationships in mental models. Models may have to be inferred.
Forced choice	A series of two-option choices presented to a participant, who is asked to choose one option over the other based on some criterion (e.g., preference, commonness, cost)	Suitable for eliciting rank and order among a narrower set of beliefs known beforehand. Less suited for eliciting complex relationships in mental models.
Card sort	A task in which the participant is given a set of cards with concepts to arrange in a way that is meaningful to him, either according to some set criterion (e.g., causal relationships) or not.	Suitable for eliciting grouping, sequencing, taxonomies, or processes. Cards can include images or be left blank for participants to fill in.
Semi-structured interviews	An interview in which a set of questions is prepared beforehand but can be deviated from opportunistically to learn more about the target topic.	 Can capture complex relationships, but is time-consuming, expensive, and requires skilled interviewers.
Cognitive task analysis (47, 48)	A specific type of interview designed to elicit mental model and macrocognitive processes	Specifically designed to elicit and improve how teams function together in real world circumstances, but requires expert interviewers.
Causal mapping (49) and dynamic system diagraming (50, 51)	Mapping out causal relationships, feedback loops, and causal conditions/ or rules.
Delphi process	Multi-phase process of eliciting beliefs from several individuals, synthesizing responses, and sending the synthesis back for feedback.	Useful for building a shared mental model among non-co-located individuals and identifying points of disagreement. The process is slow and can be expensive (may need to pay experts).
Observation	Watching the performance of an individual or groups of individuals by an objective observer.	Because only behavior is observed and cognitions are not elicited, beliefs need to be inferred, unless recorded and combined with retrospective think aloud (see below).
Think aloud	A process in which the participants explains aloud what she is thinking as she performs a task (concurrent) or watches a recording of herself performing a task (retrospective).	Concurrent think aloud requires some practice by both the interviewer and participant and can sometimes interfere with the task. Elicits rich information about mental models in context.
Synthesizing documents	Using existing documents, such as reports of adverse events and near misses, to infer beliefs, and connections between beliefs.	Mental models are inferred and verification would require an additional method.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8290163/

How can you challenge your mental models, identify them in others, and use them in a way that is actually effective and beneficial?
Here are a few tips you can apply to master mental models, rather than being enslaved by them.
Be aware of your thinking by asking yourself provoking questions
Gather information to challenge your thinking with actual facts
Inquire into other people’s thinking and challenge their views
Resist jumping to conclusions and suspend your assumptions
Look for recurring thought patterns and unlearn them
A tool is only as good as its user. Only once you’re aware of your mental models, you can use them effectively to achieve your goals.
https://nesslabs.com/mental-models

https://fs.blog/mental-models/

https://ro.uow.edu.au/cgi/viewcontent.cgi?article=1108&context=smartpapers


Cleanup generated code for export default declaration

For:
export default function f() {}

We used to generate:
function f() {}
var $__default = f;
... = {
  get default() {
    return $__default;
  }
}

With this change we skip the $__default var:
function f() {}
... = {
  get default() {
    return f;
  }
}

LGTM Seems like there is a small risk of name collisions here that could not happen in the old version.

Not sure what you mean about name collision?

function f() {} // from export default
// Is there any way for user code to appear here and redefine 'f'?
... = {
  get default() {
    return f;
  }
}

The semantics is that you can actually change f afterwards. We do not implement this mutability on the importer side.


It it possible to group migrations into subfolders?

I use pgmigrate and I have about 100 migrations in one of my projects. Is it possible to group migrations in subfolders? For instance "2017", "2018" and so on. Now list of migration files looks too long and it makes me feel uncomfortable.

Hello, with 1305fd1 it should be possible.


Tutorial - Intermediate - Incorrect print message

Mentioned by OmniOwl on Discord.
In your AsyncWebApi code example from the Intermediate C# template, you have a line that says "Press A to get Api data from..."
However your Input conditional is looking at the "G" key. Not A.
DebugText.Print($"Press A to get Api data from https://opencollective.com/stride3d", new Int2(drawX, drawY));

if (Input.IsKeyPressed(Stride.Input.Keys.G))
{
    await RetrieveStrideRepos();
    await Script.NextFrame();
}

Hi, just checking you are looking to change the print out message and not the actual key that needs to be pressed?

I think @VaclavElias was asking to change the key binding to A rather D. And I think I can help with that Can you assign me with the issue so that I can start working on it immediately

Hello. Please double check what should be there in the accompanying video https://www.youtube.com/watch?v=xWozou1AJGM I think it should be 'A'. Also please use the staging branch, which is our New Docs, to be released soon, so your PR should go to staging and you need to clone staging as well.
Our staging web:
https://stride-doc-staging.azurewebsites.net/latest/en/

@Vidhanvyrs you can go ahead with the update as we have recently published new docs.


[reggen] Make reggen library MyPy-clean

Fix some mypy errors in the reggen library. It looks like the version of MyPy that we're using in CI at the moment isn't new enough to notice the problems, so we won't really see much change from this commit. However, these changes fix things with 1.0.1 (the latest release), which spat out lots of messages without them.
Getting things happy again is mostly a case of adding some types to guide the tool so that it knows what's going on. There's also a small re-write in gen_selfdoc.py: there, the doc_tbl_head function used an optional int as a way of encoding a bool. This seemed a bit silly (and hard to encode!), so I've switched it to use True/False instead.
Finally, we fix a type error in register.py, where the code was missing some parentheses and testing a function (rather than its return value) against None.

Should an issue be filed to use the newer version of mypy?

Are the CI failures expected?

I think we know why the failures occur: https://github.com/lowRISC/opentitan/pull/19110#discussion_r1251730408
The UVM classes only know the access shorthands like W1C but not the prefix SwAccess. which is specific to our scripting.
Looks like @rswarbrick might have a fix for that already.


Remove TypeRepr::clone()

All the places this was called did so unnecessarily.

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@swift-ci Please test


User create quiz js

adding questions is now available after creating a quiz
slight change in questions route
ids added to handlebars

looks good!

nice!


_base_body - save yaml_file_contents

Short description:
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

!verified


Add release to shard build

Add --release to shards build like Rust/Cargo
shards allow to append custom options to build command
https://github.com/crystal-lang/shards/blob/master/src/commands/build.cr#L33

OMG...:scream:
I've drop the option at somewhere... thanks!


Always use ES modules from geotiff.js

When geotiffjs/geotiff.js#267 is released and both this pull request and #13179 are merged, server side rendering scenarios and other uses of OpenLayers with Node will work even with imports from ol/source.js. See https://github.com/openlayers/openlayers/issues/13114#issuecomment-994134162.

Thanks for digging into this, @ahocevar.


cannot find the log file

cannot find the log file when running docker image. I even did a find / -name *.log within container and no luck.

Gekko logs to stdout, it doesn't write anything to a log file. This way you can use docker logs to view the logs:
First check the name of the container:
docker ps

Then check the logs
docker logs -f gekko_gekko_1

would that be good if can have some log file get persistent for debug and trace purpose? Especially for live trading. I assume once the container is stopped, all the record will be gone.

Good point, and yes. Though you would be able to find all order information
on the exchange itself.
If you really want to keep logs I would recommend:

using docker logging drivers (see here
https://docs.docker.com/engine/admin/logging/overview/ )
not running gekko within Docker but using a tool like pm2 (see here
http://pm2.keymetrics.io/ )

On Thu, Jul 27, 2017 at 3:03 PM, Jacky<EMAIL_ADDRESS>wrote:

would that be good if can have some log file get persistent for debug and
trace purpose? Especially for live trading. I assume once the container is
stopped, all the record will be gone.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/askmike/gekko/issues/888#issuecomment-318371460, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA7MD9kOnks5oO0zQEoxdiEJE0rSbr8Zks5sSJibgaJpZM4OkxhB
.

--
PGP key at keybase.io/mikevanrossum
https://keybase.io/mikevanrossum/key.asc


Add Linux Dependancies?

I recently had to reinstall of my OS (Ubuntu 20.04) which lead to build errors which I narrowed down to egui-baseview (baseview built successfully).  Its possible this is an upstream error which I failed to uncover, but I didnt have any luck tracking down similar issues in the x11 or raw-gl-context crates.
After running sudo apt-get install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev, the build error below went away.  Should we add these as dependencies similar to baseview's readme?
Original build error:
$ cargo build
   Compiling x11 v2.19.1
error: failed to run custom build command for `x11 v2.19.1`

Caused by:
  process didn't exit successfully: `/xxx/target/debug/build/x11-da52e72baa0be2cc/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=GL_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=GL_STATIC
  cargo:rerun-if-env-changed=GL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: `"pkg-config" "--libs" "--cflags" "gl" "gl >= 1"` did not exit successfully: exit status: 1
  error: could not find system library 'gl' required by the 'x11' crate

  --- stderr
  Package gl was not found in the pkg-config search path.
  Perhaps you should add the directory containing `gl.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'gl' found
  Package gl was not found in the pkg-config search path.
  Perhaps you should add the directory containing `gl.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'gl' found
  ', /yyy/.cargo/registry/src/github.com-1ecc6299db9ec823/x11-2.19.1/build.rs:40:14
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Sorry, really late to this one. Yeah, this makes sense. I'll do that!


341- Transferring funds to non-existing or pre-compiled addresses

Closing this PR. New PR created at #373


Sage Intacct - Able to connect to Sage Intacct without upgrading to control policy

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v9.0.33-1
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Log into newdot app
Navigate to settings > workspace > create new workspace
Go to more features > enable accounting
Navigate to the accounting page > Connect to Sage Intacct
When the modal to upgrade the workspace to control appears, dismiss it by clicking on back button

Expected Result:
RHP closes and user is not able to proceed with Sage Intacct connection
Actual Result:
The upgrade modal is dismissed and the app proceeds to Sage Intacct connection and user is able to connect while still in a collect policy
Workaround:
Unknown
Platforms:

[ ] Android: Native
[x Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/d98f7e61-fc34-4e6c-b453-faec4c6f39d2

View all open jobs on GitHub

We think that this bug might be related to #wave-control

Offending PR https://github.com/Expensify/App/pull/48673

I confirmed it locally, thanks!

This is fixed on staging

No payments due since this was a regression. Closing.


Proposal: Newline as optional separator for lists / records

This is similar to #978 without going quite as far.
The compiler should allow newlines to serve as the separator in lists and records.
Example:
type alias Model =
  { viewMode     : ViewMode
    docs         : List Doc
    currentDocId : Maybe Identifier
    currentDoc   : Doc
  }

The newlines divide the visual structure of this code for the programmer, not the commas. This is statement of fact... test it by trying to use the commas without newlines. It's a jumble past a certain size. Example:
type alias Model =  { viewMode: ViewMode, docs: List Doc, currentDocId: Maybe Identifier, currentDoc: Doc }
(Wrapping occurs above, not an intentional newline.)
Adding a comma in cases where a newline is also used may be your preference, but it is superfluous to the more important concept of organizing the code with newlines.
type alias Model =
  { viewMode     : ViewMode
  , docs         : List Doc
  , currentDocId : Maybe Identifier
  , currentDoc   : Doc
  }

Being an optional feature would allow those who like the explicit separators to continue to use them, and the change would be backwards compatible with existing code.
My experience with this issue: I've used both methods in F#. Initially, I only used the default separator (semi-colon) for lists and records in F#. Later, I started using newlines-as-separators for those structures where they were multi-line. My experience is that the latter makes the code less fiddly to change and more readable for fresh eyes.

This has been discussed before. I don't want to track discussions like this as issues, but I think it'd be good on elm-discuss or on the Slack channel. There are benefits and downsides to something like this, but for now, I am trying to focus on making currently-impossible-things possible rather than making possible things slightly nicer.

Round-filed. Gotcha. Thanks for the response.


Move Atlas clients to atlas.shopifysvc.com

Description
Part of https://github.com/Shopify/atlas/issues/811
This migration is related to project mobius. The purpose is outlined in the following document: https://docs.google.com/document/d/1QX61cLH5txKZS9ErbgpWj4MeHntOGkPCOl4R7wKYZFQ/edit
Type of change

[ ]  Patch: Bug (non-breaking change which fixes an issue)
[ ]  Minor: New feature (non-breaking change which adds functionality)
[x]  Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] I have added a changelog entry, prefixed by the type of change noted above (Documentation fix and Test update does not need a changelog as we do not publish new version)

Looks good, merge when you're ready.
Could you expand on the rational for why you consider this a breaking change? I imagine requests are still going to the same server and responding in the same way.
Do you think there there would be other issues with changing the hostname?

I probably could have tagged this as a minor change as well. My consideration was that changing the URL could break things in other places, but this new endpoint has been tested and we are confident that it is hitting the same server and responding in the correct way.

/shipit

While this doesn't change the API, it does break integrations as we need to update our Content Security Policy to make it work.

Small feedback in case that helps for the future. As users of @shopify/address this was a breaking change for us at Open Collective, breaking our Content Security Policy. We noticed a major version, read the notes but could not see anything mentioning it.


No Login Controller

Hi, I have installed compreFace locally and I created user but there is no login controller at all, Do I have to create it by myself because I want to create an app and get ApiKey but it requires jwt token if I am not mistaken because it says oops something went wrong

I do not need web camera I only want to use endpoints and send photos through api

or what should I do after registration of user ? which api should I use in order to get apikey I have read documentation but it wasn't clear for me

Hi, do you use UI or REST API?
By default, we expect users will use UI for creating apps.

if I am not mistaken because it says oops something went wrong"

Could you send me logs? it's docker-compose logs command

Hi, I have solved yesterdays issue by making some changes

yeah I use REST API, because I want to use it for mobile app, so do I have to make login controller which returns jwt token? because it is checking everywhere userId.

Also could you please explain which steps do I have to take in order to get right apiKey, I mean
step 1. register user through user REST API
step 2. create app using app REST API
step3. create module ..... staff like that

Next issue is
{
"message": "Error during synchronization between servers: compreface-core executing POST http://compreface-core:3000/find_faces",
"code": 41
}

Tensorflow doesn't support ARM devices by default. This is why you didn't manage to install it on the M1 processor. There are workarounds, but I am afraid there are other not supported libraries as well. See this thread - https://github.com/exadel-inc/CompreFace/issues/610.
What is the problem when you install uWSGI on Windows?