[BUG]: Segmentation fault (core dumped) when running ldm on Cifer-10dataset

🐛 Describe the bug
...
Setting up MemoryEfficientCrossAttention. Query dim is 320, context_dim is 1024 and using 5 heads.
DiffusionWrapper has 865.91 M params.
=========================================================================================
No pre-built kernel is found, build and load the cpu_adam kernel during runtime now
=========================================================================================
Emitting ninja build file /home/fangfei/.cache/colossalai/torch_extensions/torch1.13_cu11.7/build.ninja...
Building extension module cpu_adam...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: no work to do.
Loading extension module cpu_adam...
Time to load cpu_adam op: 2.413104295730591 seconds
=========================================================================================
No pre-built kernel is found, build and load the fused_optim kernel during runtime now
=========================================================================================
Detected CUDA files, patching ldflags
Emitting ninja build file /home/fangfei/.cache/colossalai/torch_extensions/torch1.13_cu11.7/build.ninja...
Building extension module fused_optim...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: no work to do.
Loading extension module fused_optim...
Time to load fused_optim op: 1.8385069370269775 seconds
Segmentation fault (core dumped)

when running stable diffusion with python main.py --logdir /tmp/ --train --base configs/train_colossalai_cifar10.yaml, and I cannot locate the cause of the error
Environment
pytorch-lightning ==1.8.1

There's maybe some problems with your --logdir, please check your /tmp folder whether it has enough space to store the log files.

We have updated a lot. This issue was closed due to inactivity. Thanks.


Change permission of entrypoint.sh file

This Pull request use for prevent problem with permission of entrypoint.sh file

Thanks @mrnonz for the pull request!
Per the CONTRIBUTING.md file displayed when you created this pull request, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
This is a standard procedure for many open source projects. Your form should be processed within 24 hours and reviewers for your pull request will be able to proceed.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.


Unfocused window slowes down and lagging in the background

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
No
System Info and Version
 System/Version info
<Paste the output of the command here>

Description
I have games/programs opened in one workspace, when im switching to another workspace they are slowing down in the background and FPS(in case of a game) drops drastically, and moreover its messes up in-game behavior(im guess because slower CPU cycles or smth). Important note: its NOT behavior of applications themselves, in KDE Plasma everything works fine.
How to reproduce
Open any game, start any long-running in-game task, switch to another workspace, everything almost froze while you were in different workspace.
Crash reports, logs, images, videos
No response

P.S: KDE Plasma is also wayland, working fine

are you actually sure it's not the behavior of apps that KDE somehow tricks into not doing it?
Try sway

are you actually sure it's not the behavior of apps that KDE somehow tricks into not doing it?
Try sway

Im completely sure that it is not the app behavior. It is online game and something like this is not acceptable.
I've searched online and found "renderunfocused" window rule. It may be solution for my issue but i cannot test is because i encountered even bigger issue.
Now in-game my mouse stutters and causing frame lags, game stutters only when im trying to move my mouse. Appeared after i updated from v0.42 to 0.45. Option "no_hardware_cursors" doesn't help.

Correction: updated from v0.41.2, not v0.42

Option "direct_scanout" solves issue with mouse stutters, but enables horrible rendering artifacts.

Closing due to likely solution by "renderunfocused", which i cannot test now and appearence of new issue with cursor.


STF Design Enhancement Proposal

I find it cumbersome to make changes to Stf and StfState because it is all entangled with enclave code.
This is just a rough idea, but I believe we can improve this greatly:
The StfState is mostly intertwined with the enclave concerning serialization, crypto and hashing. In my option we could get rid of this by introducing traits in the Stf crate ; SgxDeSerialize, StateCrypto, StateHash (naming to be improved). These traits are then implemented in the enclave. Then we could make the Stf generic over these traits and even handle stuff concerning these three traits under the hood of Stf, which saves a lot of boilerplate code in the enclave. It gets even more elegant if we make Stf a trait.
A snipped of the proposed Stf code follows to give an idea:
pub trait Stf<StfState>
where
    StfState: SgxDeSerialize + StateCrypto + StateHash

{
   fn init_state() -> StfState
   fn update_storage(shard: ShardIdentifier, update_map: HashMap<Vec<u8>> -> StfResult<()>;
   // maybe we can even make that generic over the TrustedCallSigned if it is abstracted as a trait
   fn execute(&mut self, call: TrustedCallSigned) -> StfResult<()>
   ...
}

impl Stf for StfState {
   fn update_storage(shard ....) -> StfResult<()> {
     // deserialize would essentially contain the methods we have in enclave/lib/state currently.
      let state = <Self as SgxDeSerialize>::unseal(shard)?;
     state.execute_with(|| ...)?;
   }

   /// the rest follows a similar procedure...
}

We should also consider that our two first client use cases don't make use of the stf. It should be very modular, so we can easily leave away he stf (or replace it with things we used for PolkaDEX or Ternoa) @haerdib can you comment if an abstraction of the stf would be helpful here? In the end, PolkaDEX GW is stateful as well, so it could be an stf. But it was too different from our sgx-runtime setup.

I think that could be really helpful. First of all, with a stf trait we could do better and simpler unit testing. However, for this to cover all possible use cases of state persistence it needs to be extremely abstract. For PolkaDEX we have implemented several different "caches" to represent the states, but none of it actually uses file sealing within the enclave. If necessary, the actual file storage is done outside of the enclave.
For example:

Market Cache (No file storage at all)
Create Order Cache (Not file storage at all)
Balance Storage (File storage will be outside of enclave)
Order Book Storage (File storage outside of enclave)

The trusted getter get_balance interacts with the balance storage, the trusted call create_order interacts with the create order cache and so on.  Maybe PolkaDex is too extreme of an example.. ?
I think some more thoughts are necessary on this topic, starting with the basic question what we actually want to represent with a "state", respective when does a call count as a "state transfer function"?

what is the status of this now? CC @mullefel

As far as I know, we have not touched this.

We have not done any refactoring work on the STF crate yet, this is still open


Use rpaframework-google from our private PyPI

This example change introduces the following:

Using a real PyPI server (ours) which luckily requires authentication. (robocorp:f*****r -- public/leaked creds with read-only access, so no worries)
Installs (pre-run script) a package found there (rpaframework-google==6.0.0) but not included by default in our main library. (older versions are available too, so this package is safe to remain pinned -- we can also unpin it just to be sure we get the latest one (and is assured there's at least one version since they get published automatically on master change))
Injects PyPI credentials from Vault  into the pip install execution env. These are used with the index URL provided directly in the requirements file.

Closing this in favor to: https://github.com/robocorp/example-private-pypi/pull/2


Workflow draw_args not applied

I am trying to use the ZMK generation as part of my GitHub workflow, unfortunately the draw_args are not applied.
As you can see in my config I want to select the keybaord with --qmk-keybard or -k.
When I do this on the CLI it works as intended, when I try to apply this to the action it unfortunately does not apply the keybard. (latest log: https://github.com/Roang-zero1/zmk-soflev2/actions/runs/6095789469/job/16540062027)
PS: The sample workflow is missing the permissions to write back to the repository: e.g. https://github.com/Roang-zero1/zmk-soflev2/blob/main/.github/workflows/draw-keymaps.yml#L13-L14

The draw args is a mapping from keyboard name to the arguments, so try the following instead:
draw_args: "splitkb_aurora_sofle:'--qmk-keyboard splitkb/aurora/sofle_v2/rev1'"

That being said, I just added support for it in the default mapping so hopefully it should work without custom draw_args if you use the main branch via install_branch: main in the workflow inputs.

PS: The sample workflow is missing the permissions to write back to the repository: e.g. https://github.com/Roang-zero1/zmk-soflev2/blob/main/.github/workflows/draw-keymaps.yml#L13-L14

I added it to the reusable workflow itself via https://github.com/caksoylar/keymap-drawer/blob/main/.github/workflows/draw-zmk.yml#L51, but maybe it doesn't work that way. Thanks, I'll have a look.

Thanks for the quick response, I can confirm both variants work.
I think the permissions need to be given in the workflow configuration of the affected repository...

For prosperity: If you want to include the generated image in the Readme, you can do it via ![Current Keybpard Layout](keymap-drawer/<keyboard>.svg?raw=true "Current Keybpard Layout")

Good trick with the ?raw=true 👍

For permissions, I had to make the same change as well to get the workflow to build:
https://github.com/debashisbiswas/Adv360-Pro-ZMK/blob/V3.0/.github/workflows/draw-keymaps.yml#L14-L15
Seems like this needs to be specified in the repo that is using the workflow for security (for example I have to explicitly allow you to make commits in my repo, you can't allow yourself)
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

Thanks @debashisbiswas for confirming the issue (and reminding me to fix it)! a6e3b18


Clean up the public and private CoreGraphics headers.

There's still work to be done, but this deletes a huge swath of unused code and cleans up our public export surface to be slightly more sane.

This change is

:shipit:


Update sketchlib api call

In v2.0.0 order of args has changed here:
https://github.com/johnlees/mandrake/blob/master/mandrake/dists.py#L64-L71
Better to use kwargs

Will also want to add GPU args in, once available upstream


GridAPPS-D Utils process for initialize client with java token authentication

Update documentation on how to initialize GridAPPS-D Client
need to do gapps = GridAPPSD() or gapps = GridAPPSD(opts.simulation_id)
look here for example :

https://github.com/GRIDAPPSD/gridappsd-sample-app/blob/3a01bd98c5f7066bee94aec753efcfaf1f0aa9ff/sample_app/runsample.py#L232
to run an application outside application container, GRIDAPPSD_USER and GRIDAPPSD_PASSWORD needs to be set in the environment variables.

Duplicate of #6


[ie/Radioradicale] Merge "master"; merge subtitles; clean code

Follow your steps! https://github.com/yt-dlp/yt-dlp/pull/5607

merged in https://github.com/yt-dlp/yt-dlp/pull/5607/commits/6311170b6adb4391d2ec844639c08ecdd3cc3d67

Thanks.


go: added README and examples

[x]  Can you add an example GET and POST request to the /go folder that showcase how to use the code
[x]  All go code should be contained in the /go folder - the go.mod and go.sum should be moved in there - Update - Kevin was wrong about this, thank you for explaining
[x]  Can you add a README to the directory with instructions on how to run? (See other folders of examples)

The JS and Python folders in the directory contain the "structure" we are looking to have - the helper function, an example get, an example post, and then a README on how to get started:
https://github.com/NCR-Corporation/ncr-bsp-hmac/tree/main/js

@kg185155 I've moved the go.mod file into the go directory. Please let me know, if everything looks good.

Looks great! Thank you @sd185317 🔥


Finetuning on UCF101: Assertion cur_target >= 0 && cur_target < n_classes

Hello,
When I try to run the finetune_tsm_ucf101_rgb_8f.sh script, I get the following error:

Traceback (most recent call last):
File "main.py", line 380, in
main()
File "main.py", line 196, in main
train(train_loader, model, criterion, optimizer, epoch, log_training, tf_writer)
File "main.py", line 247, in train
loss = criterion(output, target_var)
File "/anaconda3/envs/ml/lib/python3.6/site-packages/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/anaconda3/envs/ml/lib/python3.6/site-packages/torch/nn/modules/loss.py", line 942, in forward
ignore_index=self.ignore_index, reduction=self.reduction)
File "/anaconda3/envs/ml/lib/python3.6/site-packages/torch/nn/functional.py", line 2056, in cross_entropy
return nll_loss(log_softmax(input, 1), target, weight, None, ignore_index, None, reduction)
File "/anaconda3/envs/ml/lib/python3.6/site-packages/torch/nn/functional.py", line 1871, in nll_loss
ret = torch._C._nn.nll_loss(input, target, weight, _Reduction.get_enum(reduction), ignore_index)
RuntimeError: Assertion `cur_target >= 0 && cur_target < n_classes' failed.  at ../aten/src/THNN/generic/ClassNLLCriterion.c:92

I have encountered this error before in other projects, and back then it meant that I had a mismatch between the amount of classes in my final layer, and the amount of classes that are present in the dataset.
Since I do not have access to the actual model here (at least I could only find that it loads in the PyTorch ResNet), I cannot make these changes.
Anybody had a similar error? and how did you fix it?

did you resolve it?


Invalid context error

CGContextDrawImage: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context  and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.

this is coming from SDWebImage and not from this library. the image you are trying to download might be corrupted.

tks


Fixes CDN Auth Token Retrieval

The proto CMsgClientGetCDNAuthToken requires both the appID and depotID to get the auth token or else it'll return 401 when used.

:+1: Thanks


support $ref paramter

Related issues
https://github.com/koxudaxi/fastapi-code-generator/issues/24

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c106a6e). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #49   +/-   ##
=========================================
  Coverage          ?   94.66%
=========================================
  Files             ?        2
  Lines             ?      300
  Branches          ?        0
=========================================
  Hits              ?      284
  Misses            ?       16
  Partials          ?        0

Flag
Coverage Δ

unittests
94.66% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


Added a dependency "fire"

The Python Command Line Tool docker_tests/run_dockerfile.py depends on "fire"

Closed in favor of https://github.com/Qiskit-Extensions/qiskit-alt/pull/36


Specify c++11 for broader compiler compatibility

Tested on Linux with GCC 4 and MacOS (Clang 10)

Singularity build tested working under sylabs/singularity-ce-3.9-ubuntu-bionic64


how to disable the grey bar which highlighting the clause

I don't know how to diable the grey bar in the picture below , somebody help pls!!!

add these code in .vimrc.local ：
(mabe you only to add the first line)
let g:indent_guides_enable_on_vim_startup = 0
let g:indent_guides_start_level = 2
let g:indent_guides_guide_size = 1

Thanks a lot @keer2345 and it works like magic!!!!  Really appreciate it!!


Replace array_init with array::from_fn of latest Rust version

What's been done:

Update rust-toolchain to latest version(1.63.0)
Replace the array_init with array::from_fn in all the codebase

Reference:
Closes #716

Hey @duguorong009 ! Thanks for the PR. We had another one like this but are waiting on some more updates on the OCaml side (Mina) to bump the Rust version here. So this will have to wait a bit : o

(looks like there is a toolchain error as well)

I'm not sure why the CI's rust version is different here: https://github.com/o1-labs/proof-systems/blob/master/.github/workflows/rust.yml#L33 but I'm guessing it picks up the rust-toolchain.toml otherwise it wouldn't be able to build

Hey @duguorong009 ! Thanks for the PR. We had another one like this but are waiting on some more updates on the OCaml side (Mina) to bump the Rust version here. So this will have to wait a bit : o
in the mean time can you remove array_init from Cargo.toml files as well? Thanks :)

Done https://github.com/o1-labs/proof-systems/pull/723/commits/96cd9395d2af86565d63b705879e97dfead91fe3

I'm not sure why the CI's rust version is different here: https://github.com/o1-labs/proof-systems/blob/master/.github/workflows/rust.yml#L33 but I'm guessing it picks up the rust-toolchain.toml otherwise it wouldn't be able to build

Updated the rust toolchain in CI (https://github.com/o1-labs/proof-systems/pull/723/commits/e6d2e3c98f9089c65090caadc28e791dfaabb0b6)

One question, @mimoo
It looks like the PR needs the maintainer's approval for running workflow every time it pushes a new commit.
Can you plz check what I can do for better contribution flow?

yeah sorry this is because you are a first timer, after we approve this PR we won't have to manually click on the button :c can you fix the merge conflict also? So sorry

yeah sorry this is because you are a first timer, after we approve this PR we won't have to manually click on the button :c can you fix the merge conflict also? So sorry

Thanks for the info!
Yes, I will resolve the conflict.


Add support for Theme Plugins

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Proposed changes
This PR builds on top of the Plugins PR (#2779) to define a new type of plugin that provide custom editor themes.
This allows a theme to be published to npm and allows an end-user to install the module and activate it by setting editorTheme.theme to the name of the theme.
To create a theme plugin, its package.json must have a node-red section that lists the plugins in the package:
  "node-red": {
      "plugins": {
          "my-theme": "my-theme.js"
      }
  }

my-theme.js will then look like this:
module.exports = function(RED) {
    RED.plugins.registerPlugin("my-theme", {
        type: "node-red-theme",
        css: "theme.css"
    })
}

Key points:

this will register a plugin called my-theme
it has a type of node-red-theme - this is used to identify this plugin as containing a theme
the css property lists css files from the package that should be loaded by the editor to apply the theme. The setting can be either a string (for a single file) or an array of strings.
(not shown in this example) the plugin can also have a scripts property that identifies one or more .js files that should be loaded by the editor.

A single plugin .js file can register multiple themes by calling RED.plugins.registerPlugin multiple times.
This PR lays ground work to allow the user to choose the active theme from the editor, but it isn't complete and won't be for the initial release of this feature. Currently, the theme is applied by added the css/scripts to the index.mst template initially loaded by the browser. This request does not include any user authentication information - that means it isn't currently possible to modify which theme is added to index.mst on a per-user basis. In the future we'll move over to cookie-based auth (#2657) which will allow for this.

will the signature ( "node-red" : { "plugins": ...   also apply to other types of plugin ? like Storage ? Middleware ? should it be consistent for all plugin types ?

will the signature ( "node-red" : { "plugins": ...   also apply to other types of plugin ? like Storage ? Middleware ? should it be consistent for all plugin types ?

will the signature ( "node-red" : { "plugins": ... also apply to other types of plugin ? like Storage ? Middleware ? should it be consistent for all plugin types ?

Yes - that is what the Plugins design spells out - https://github.com/node-red/designs/pull/39
A plugin is defined by having a node-red.plugins section in its package.json, in the same way nodes have a node-red.nodes section.
We will have some predefined types of plugin (such as the Library Plugins in #2785 or the Theme Plugins in this PR). They are identified by the type property of the plugin when it registers itself. You can see in the example in the PR description it registers with a type of node-red-theme.

will the signature ( "node-red" : { "plugins": ... also apply to other types of plugin ? like Storage ? Middleware ? should it be consistent for all plugin types ?

Yes - that is what the Plugins design spells out - https://github.com/node-red/designs/pull/39
A plugin is defined by having a node-red.plugins section in its package.json, in the same way nodes have a node-red.nodes section.
We will have some predefined types of plugin (such as the Library Plugins in #2785 or the Theme Plugins in this PR). They are identified by the type property of the plugin when it registers itself. You can see in the example in the PR description it registers with a type of node-red-theme.

Coverage decreased (-0.09%) to 68.328% when pulling 1f6328bf4e9a4f12e914816782008376f6c4b3bd on theme-plugins into 8e7a230dbc9078047aa725813355c3a0ee884891 on plugins.

Coverage decreased (-0.09%) to 68.328% when pulling 1f6328bf4e9a4f12e914816782008376f6c4b3bd on theme-plugins into 8e7a230dbc9078047aa725813355c3a0ee884891 on plugins.


Syntax Error in "def scanningAnimation(text)"

Hi there. I keep running into issues when trying to start this program, and this is one of the main ones.
(xenial)anonymous@localhost:~/Desktop/kickthemout$ sudo python3 kickthemout.py
  File "kickthemout.py", line 63
    define scanningAnimation(text):
         ^
SyntaxError: invalid syntax

Any help would be appreciated.

Hi there @MrFoxyBR. Could you please share the output of the following command: python3 -vvv kickthemout.py. Thanks!


Fix truncated/invalid bearer token exceptions

Using a very short/truncated bearer token causes an exception in verify.update() instead of a more graceful access denial message. This commit fixes this.

@lance I think we're good to go now, right?

With all of the changes just merged from https://github.com/keycloak/keycloak-nodejs-auth-utils/pull/14 this will not merge cleanly now. It's a simple fix. @Toumal if you want to rebase and push changes you can, or let me know and I will include this in my next PR.

@lance coolio +1

Landed here https://github.com/keycloak/keycloak-nodejs-auth-utils/pull/14


[nightly][netlify] Netlify preset doesn't have to redirect to builder function anymore

Environment

Operating System: Darwin
Node Version:     v20.12.2
Nuxt Version:     3.12.0-28598578.dad89c2b
CLI Version:      3.11.2-1715877301.34e6224
Nitro Version:    2.10.0-28597966.b2831dd5
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, routeRules
Runtime Modules:  -
Build Modules:    -

Reproduction
https://cdn-cache-control--netlify-v2-nitro.netlify.app/?page=3
https://github.com/Rigo-m/netlify-v2-repro/tree/cdn-cache-control
Describe the bug
~Query is not passed to nitro server side, Netlify-Vary header also seems to be stripped off from response headers. probably a regression due to the fix introduced in https://github.com/unjs/nitro/pull/2440~
Nitro should not add builders redirect anymore when isr/cache is set with the new Netlify-functions v2 preset and netlify standard cache headers implementation.
Additional context
No response
Logs
No response

@serhalp FYI

For context, here's some relevant logs in netlify build
4:21:49 PM: $ bun run build
4:21:49 PM: $ nuxt build
4:21:50 PM: [log] Nuxt 3.12.0-28598578.dad89c2b with Nitro 2.10.0-28597966.b2831dd5
4:21:51 PM: [info] Building client...
4:21:51 PM: [info] vite v5.2.11 building for production...
4:21:51 PM: [info] transforming...
4:21:52 PM: [info] ✓ 106 modules transformed.
4:21:52 PM: [info] rendering chunks...
4:21:53 PM: [info] computing gzip size...
4:21:53 PM: [info] .nuxt/dist/client/manifest.json                   1.22 kB │ gzip:  0.33 kB
4:21:53 PM: [info] .nuxt/dist/client/_nuxt/error-500.DFBAsgKS.css    1.88 kB │ gzip:  0.72 kB
4:21:53 PM: [info] .nuxt/dist/client/_nuxt/error-404.CjGVuf6H.css    3.56 kB │ gzip:  1.10 kB
4:21:53 PM: [info] .nuxt/dist/client/_nuxt/Dwk1kIDk.js               0.47 kB │ gzip:  0.32 kB
4:21:53 PM: [info] .nuxt/dist/client/_nuxt/BQ-ZZeHz.js               2.77 kB │ gzip:  1.24 kB
4:21:53 PM: [info] .nuxt/dist/client/_nuxt/NRS1rHnR.js               7.97 kB │ gzip:  3.27 kB
4:21:53 PM: [info] .nuxt/dist/client/_nuxt/_94wzuVU.js             112.94 kB │ gzip: 43.09 kB
4:21:53 PM: [info] ✓ built in 1.15s
4:21:53 PM: [success] Client built in 1174ms
4:21:53 PM: [info] Building server...
4:21:53 PM: [info] vite v5.2.11 building SSR bundle for production...
4:21:53 PM: [info] transforming...
4:21:53 PM: [info] ✓ 47 modules transformed.
4:21:53 PM: [info] rendering chunks...
4:21:53 PM: [info] .nuxt/dist/server/_nuxt/error-404-styles.CibK9Qn2.mjs           0.08 kB
4:21:53 PM: [info] .nuxt/dist/server/_nuxt/error-500-styles.JhxDD0mW.mjs           0.08 kB
4:21:53 PM: [info] .nuxt/dist/server/_nuxt/error-404-styles.WpyeoFtc.mjs           0.15 kB
4:21:53 PM: [info] .nuxt/dist/server/_nuxt/error-500-styles.BFuVBFDJ.mjs           0.15 kB
4:21:53 PM: [info] .nuxt/dist/server/styles.mjs                                    0.69 kB
4:21:53 PM: [info] .nuxt/dist/server/_nuxt/_plugin-vue_export-helper-Bp6Oo5Q3.js   1.18 kB │ map:  5.90 kB
4:21:53 PM: [info] .nuxt/dist/server/_nuxt/error-500-styles-1.mjs-D_pjx06j.js      2.10 kB │ map:  0.12 kB
4:21:53 PM: [info] .nuxt/dist/server/_nuxt/error-404-styles-1.mjs-DaBoFDuU.js      3.80 kB │ map:  0.12 kB
4:21:53 PM: [info] .nuxt/dist/server/_nuxt/error-500-D3P5ixdj.js                   3.89 kB │ map:  4.59 kB
4:21:53 PM: [info] .nuxt/dist/server/nuxt/error-404-BLAGmBS.js                  12.55 kB │ map: 23.16 kB
4:21:53 PM: [info] .nuxt/dist/server/server.mjs                                   29.28 kB │ map: 67.75 kB
4:21:53 PM: [info] ✓ built in 410ms
4:21:53 PM: [success] Server built in 415ms
4:21:53 PM: [success] [nitro] Generated public dist
4:21:53 PM: [info] [nitro] Building Nuxt Nitro server (preset: netlify)
4:21:55 PM: [success] [nitro] Nuxt Nitro server built

Although, when running NITRO_PRESET=netlify nuxt build in local it logs that the build is using netlify-legacy preset

Closing this issue. Currently it seems to be a problem with nuxt nightly not building with latest nitro nightly version. Will open a new issue after a more thorough investigation.


Fix spacing on little life payment cards on mobile

This is obsolete because the site has been over to SquareSpace.


v21.2.9 update composer.json

[Current coverage][cc-pull] is 100%

Merging [#548][cc-pull] into [master][cc-base-branch] will not change coverage

@@           master   #548   diff @@
====================================
  Files          28     28
  Lines         439    439
  Methods       111    111
  Messages        0      0
  Branches        0      0
====================================
  Hits          439    439
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last updated by [00910f4...48edec6][cc-compare]
[cc-base-branch]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/compare/00910f4736c4e9d7a49387e8f24ba6d87ee441bd...48edec6a67e01b686171d407668dceb1d8c4d0be?src=pr
[cc-pull]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/pull/548?src=pr


Outstanding development tasks and issues for Dojo-CLI

Tasks

Allow user to specify model image version.
Move docker server url (on linux this is unix://var/run/docker.sock) to configuration file.
Check model container status.
Get model (docker container) logs.
Get results path.

runmodel could probably return this and print it in the console after the run.

Issues

Docker Hub image download needs progress bar implementation.
The specified results folder has root:root ownership in the container when mounted. The current fix for this is to execute chown clouseau:clouseau on those folders in the container; but there should be a way to specify the folder owner when running the container.
python -m build has been screwy on Linux; it does something weird with the path.

https://python-poetry.org/ might be a option for this.

For #1 withCHIRPS-GEFS Monthly the structure is:
runs/
   CHIRPS-GEFS Monthly/
<PHONE_NUMBER>2416/
         ddd12a2c-2939-44f6-91e1-6d6146752b8a/
            chirps.csv

Where ddd12a2c-2939-44f6-91e1-6d6146752b8a is the id of the outputfile. Do we need this? I think it is going to confuse people.

Here is an example of accessories for a model with captions: https://dojo-test.com/dojo/accessories/33cf1a60-2544-420f-ae08-b453a9751cfc

Once Docker is installed on Linux or Mac you can add the current user to the Docker group with:
sudo groupadd docker
sudo gpasswd -a $USER docker

then log out/back in so changes can take effect. This should be done after installing Docker (include this in README, as well as link to Docker install instructions)

1. There seems to be an unnecessary extra directory layer inside the run directory...can this be avoided?

Changed this folder to output. Need to test a bit more.

2. Can we write the parameters file used back out to the run result directory for posterity's sake?

Done.

3. We should try to do some kind of model search where you can put in a word/keyword and see a list of ranked matching models

TODO.

4. We should give the model container a name that is somewhat descriptive (e.g. the model name with some timestamp or something)

Done. ModelNameDatetimeStamp e.g. stochasticgriddedconflictmodel20211209164335

5. we should aim to have this `pip installable` so instead of `python dojocli/cli.py` it would be something like `dojo-cli runmodel` etc

Done, got build to work on by specifying sdist and wheel: python -m build --sdist ~/source/repos/dojo-cli --wheel

6. Are accessories being sucked out of the container? If not, we should grab them and possibly to to write a `captions.txt` file that would have captions for them.

Yes, try --model="Stochastic Gridded Conflict Model". Captions written to accessories-captions.json

7. I don't think dockerhub auth is needed--all these images should be public

Correct; dockerhub auth is removed.

8. We might want to consider some kind of "interactive mode" which asks the user a set of questions such as:

   * what kind of model are you looking for? -> user enters some text
   * select model from list -> user enters a number
   * select from options `[describe model, choose parameters]` -> user picks from 2 options and either learns more about the model from its description/maintainer info or gets to set parameters
   * user is iteratively asked to set each parameter (or shown the default)

Need to decide if it is worth the effort.

9. We should definitely have a mechanism to get the model description (sanitized of the UAZ ontologies). This is a `describe` command.

describe command implemented

10. We should show users parameter descriptions so they can make good choices somewhere. This is a `get parameters` command (could name it something more elegant)

printparams implemented

11. We should show users output variable descriptions so they can interpret the output. This is a `get output variables` command.

printoutputs implemented
See the updated README.MD for examples of describe, printparams, and printoutputs.
"Stochastic Gridded Conflict Model" is a good test model because it has multiple accessory and output files. printparams does not find any example params in the command_raw, so I run it with no params it apparently uses default values.
Other items:

progress bar on docker image download
option to not detach container i.e. have it stop on model completion
handle model versions
container status?
container logs?

@GoogleSheets thanks for the update on this! Will take a look--let's plan to circle up on next steps on Monday.

I think we should rename dojocli to just dojo for the install.
I think we should change printparams to parameters and printoutputs to just `outputs.
We probably should have a versions command to list versions and commit messages; then --version option for the other commands.

Adding version flag
Adding listversions command
Write logs.txt to run directory
Quotes around all the things
Stop/remove container after run completes
Clean up README
Move repo to "dojo-modeling" organization on Github
attach to model (default to true)

###Updated TODO
@brandomr

[X] Adding version flag
[X] Adding listversions command: versions
[X] Write logs.txt to run directory
[X] Quotes around all the things
[X] Stop/remove container after run completes (attached only)
[ ]  Clean up README
[ ]  Move repo to "dojo-modeling" organization on Github (make main branch default)
[X] Attach to model (default to true)
[ ] Stream logs for detached containers.
[ ] Add user alerts for details of using detached containers.
[ ] push build to PyPi
[ ] Prefix container names with dojo-
[ ] Include model name and version/model_id in screen output
[ ] Return models without images to list. Direct user to versions with attempting to model lacking image.
[ ] Fix container command formatting for model commands that include bash -c e.g. Flee and Topoflow

@brandomr Repo is moved to https://github.com/dojo-modeling/dojo-cli but I will continue updating this issue or we can create a new issue there.
The detached container logging is outstanding.

@brandomr Noting a few issues or updates after seeing demo:

[ ] dojo-cli requirements.txt is missing Jinja2>=2.11.3
[ ] cite demo script in README.md
[ ] cite pypi install (pip install dojo-cli) in installation instructions

PyPi 0.1.3 published with --results command to check if a detached model run is complete. If it is, the outputs and logs will be copied locally and the container removed.


Failed to connect to VSCode

Failed to connect to VSCode !data.ok
Machine ID: 228442ef-5ac7-4dad-97ed-0c7065e621e4

[!NOTE]
Book a call

key
value

id
j8gare036vr1721547159523

url
http://localhost:3000/

wifi
4g

cpu
16

mem
8

gpu
ANGLE (Intel, Intel(R) Iris(R) Xe Graphics (0x000046A6) Direct3D11 vs_5_0 ps_5_0, D3D11)

time
1721547162597

items
56

bytes
955

Hi @icantcodefyi , we've just deployed a fix for you. Can you try running the setup script npx million@latest. Once it's done, please restart your VSCode/Cursor. Let me know if that works for you!


React experimental concurrent issue

https://github.com/facebook/react/pull/18838
I tried swr with suspense mode, with a recent 0.0.0-experimental-7f28234f8 react build, and I get errors Can't perform a React state update on a component that hasn't mounted yet for each useSWR call.

This indicates that there's a side-effect spawned during render, that then asynchronously tries to set state when the response comes back. E.g. kick off a request and then setState with the result. It's a common mistake when implementing Suspense.

This should be done in useEffect.

Does this make sense to you?
Unfortunately I can't help you a lot more than that, it doesn't help to where the error comes exactly.

I'm seeing the exact same issue. Looks like this is just a warning and there isn't (as far as I can tell) anything user facing that actually breaks b/c of this. Would still be nice to see this resolved of course :)

hi @bbenezech @bradenhs
I tried the experiemental build locally with suspense demo (in swr examples folder). I didn't see any warnings logging out in the console. the console tab is slient.

could you provide more details about the repro steps or the code snippet? codesandbox link will be great. and some related info like swr version. thanks!

Here's a codesandbox link: https://codesandbox.io/s/quirky-burnell-cn51p?file=/src/App.tsx. The problem only appears when there are multiple useSWR hooks used. Also, the warning doesn't appear on the  initial load of the page. You have to refresh the codesandbox specifically for some reason (I'm guessing that's a codesandbox specific issue though since locally I see the warning on the initial load).

@bradenhs thanks for the code example, I filed a PR to fix it. it will be released in next patch or major version. and thanks again all of you for the reporting this issue! 👍

@huozhi This is still occurring on 0.3.0

@huozhi https://codesandbox.io/s/frosty-lamarr-xzmq6 the error is still present in 0.3.8. Would you consider reopening?

@huw @Jakst 0.3.9 should fix this issue. could you bump version to try again? thanks!

Works 👍 Thanks!


Observatory Http Exception stops Flutter execution

I have faced the "Error connecting to the service protocol: HttpException: Connection closed before full header was received..." for some different reasons over the time and searching in the issues I have found lots of different errors like this.
It is generally not a Flutter error but a network configuration error or an OS bug. But when I get this error, the app is launched in the device or emulator but Flutter stops working and outputing messages to the terminal or IDE console.
I'd like to know if there is an option to disable observatory's url and just keep flutter running and outputing messages to the console. I rarely use observatory's url but use the console outputs to debug all the time.

The connection to the VM service is required for Flutter to function (it's how many things work, such as reloading sources and all debugging functionality).
Did you happen to create an Android emulator using Q level API? If so, you might be seeing https://github.com/flutter/flutter/issues/33050 and should try creating one using API level 28 to see if that solves the issue until there's a fix.


Keys stick - glfwGetKey() continues to return GLFW_PRESS even after onblur, loses focus

Haven't track down the steps yet, but both the native and web-based clients are affected: sometimes, a key acts as if it is continuously held down, even when it isn't, usually occurs when switching in/out of focus to the app. For example, "A" may be held down and keep moving the player left. Pressing and releasing the key again unsticks it, but shouldn't it losing focus also release all keys?

Here's an easy technique to trigger it, much of the time:

Right-click to place a block, verify it works
Cmd-Tab to another window and back
Repeat step 1

Step 3 acts like Cmd-Right-Click, illuminating the block, because Cmd is stuck down from step 2.

This is related to https://github.com/satoshinm/NetCraft/issues/44 Mouse look triggers even when pointer lock inactivated - which was fixed by "Sync glfw cursor to pointer lock disable state.": https://github.com/satoshinm/NetCraft/commit/9f8a56f7d7290f8be91dacad59d79f17c01f4f6a (but maybe a better fix would be in emscripten itself?). Should released pointer lock also release key states?

Issue in emscripten: https://github.com/kripken/emscripten/issues/5122
On the fence whether should attempt to workaround in the app.. is it even possible? Maybe add blur/focus callbacks, set a global blurred=1, then replace all glfwGetKey with !blurred && glfwGetKey but could get ugly fast. Maybe not too bad. There are 11 instances of glfwGetKey in Craft.

+static int blurred = 0;
+int craftGetKey(GLFWwindow *window, int key) {
+    // Workaround stuck keys in web, TODO: fix upstream in https://github.com/kripken/emscripten/issues/5122
+    if (blurred) return GLFW_RELEASE;
+
+    return glfwGetKey(window, key);
+}
+
+#ifdef __EMSCRIPTEN__
+EM_BOOL on_focus(int eventType, const EmscriptenFocusEvent *focusEvent, void *userData) {
+   switch(eventType) {
+       case EMSCRIPTEN_EVENT_BLUR:
+           blurred = 1;
+           printf("onblur (keyboard interaction disabled)\n");
+           break;
+       case EMSCRIPTEN_EVENT_FOCUS:
+           blurred = 0;
+           printf("onfocus\n");
+           break;
+   }
+   return EM_FALSE;
+}
+#endif
+
 void handle_movement(double dt) {
     static float dy = 0;
     State *s = &g->players->state;
@@ -2593,21 +2617,21 @@ void handle_movement(double dt) {
     int sx = 0;
     if (!g->typing) {
         float m = dt * 1.0;
-        g->ortho = glfwGetKey(g->window, CRAFT_KEY_ORTHO) ? 64 : 0;
-        g->fov = glfwGetKey(g->window, CRAFT_KEY_ZOOM) ? 15 : 65;
-        if (glfwGetKey(g->window, CRAFT_KEY_FORWARD)) sz--;
-        if (glfwGetKey(g->window, CRAFT_KEY_BACKWARD)) sz++;
-        if (glfwGetKey(g->window, CRAFT_KEY_LEFT)) sx--;
-        if (glfwGetKey(g->window, CRAFT_KEY_RIGHT)) sx++;
-        if (glfwGetKey(g->window, GLFW_KEY_LEFT)) s->rx -= m;
-        if (glfwGetKey(g->window, GLFW_KEY_RIGHT)) s->rx += m;
-        if (glfwGetKey(g->window, GLFW_KEY_UP)) s->ry += m;
-        if (glfwGetKey(g->window, GLFW_KEY_DOWN)) s->ry -= m;
+        g->ortho = craftGetKey(g->window, CRAFT_KEY_ORTHO) ? 64 : 0;
+        g->fov = craftGetKey(g->window, CRAFT_KEY_ZOOM) ? 15 : 65;
+        if (craftGetKey(g->window, CRAFT_KEY_FORWARD)) sz--;
+        if (craftGetKey(g->window, CRAFT_KEY_BACKWARD)) sz++;
+        if (craftGetKey(g->window, CRAFT_KEY_LEFT)) sx--;
+        if (craftGetKey(g->window, CRAFT_KEY_RIGHT)) sx++;
+        if (craftGetKey(g->window, GLFW_KEY_LEFT)) s->rx -= m;
+        if (craftGetKey(g->window, GLFW_KEY_RIGHT)) s->rx += m;
+        if (craftGetKey(g->window, GLFW_KEY_UP)) s->ry += m;
+        if (craftGetKey(g->window, GLFW_KEY_DOWN)) s->ry -= m;
     }
     float vx, vy, vz;
     get_motion_vector(g->flying, sz, sx, s->rx, s->ry, &vx, &vy, &vz);
     if (!g->typing) {
-        if (glfwGetKey(g->window, CRAFT_KEY_JUMP)) {
+        if (craftGetKey(g->window, CRAFT_KEY_JUMP)) {
             if (g->flying) {
                 vy = 1;
             }
@@ -2956,6 +2980,8 @@ int main(int argc, char **argv) {
     // OUTER LOOP //
     g_running = 1;
 #ifdef __EMSCRIPTEN__
+    emscripten_set_blur_callback(NULL, NULL, EM_TRUE, on_focus);
+    emscripten_set_focus_callback(NULL, NULL, EM_TRUE, on_focus);
     emscripten_push_main_loop_blocker(main_init, NULL); // run before main loop
     emscripten_set_main_loop(one_iter, 0, 1);
     //main_shutdown(); // called in one_iter() if g_inner_break

An insufficient workaround - partly works in that keyboard interaction is disabled when focus is lost, so say if you were pressing space when switching out, you stop jumping. But once you switch back, you begin jumping again.

diff --git a/src/main.c b/src/main.c
index 6952ab6..4690fae 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2586,6 +2586,61 @@ void handle_mouse_input() {
     }
 }

+// Workaround stuck keys in web, TODO: fix upstream in https://github.com/kripken/emscripten/issues/5122 and delete all this
+// TODO: this fixes character keys, but not modifiers like Cmd :(
+static int blurred = 0;
+static int was_blurred = 0;
+static int last_pressed_key = 0;
+int craftGetKey(GLFWwindow *window, int key) {
+    if (blurred) {
+        //printf("key ignored since blurred: %d\n", key);
+        // When the window is not focused, take no key events.
+        return GLFW_RELEASE;
+    }
+
+    int status = glfwGetKey(window, key);
+    if (status == GLFW_PRESS) {
+        // Save the last pressed key for if the user switches to another window (onblur).
+        printf("set last_pressed_key=%d\n", last_pressed_key);
+        if (key == last_pressed_key && was_blurred) {
+            // After returning from onblur, back to onfocus, ignore this keystroke.
+            // An ugly hack - and creates a new bug: keys ignored right after returning,
+            // but hopefully better than sticking, and since the key is ignored, the user
+            // knows what they pressed that was ignored, so they can press it again.
+            printf("key %d ignored since last_pressed_key=%d and was_blurred=%d\n", key, last_pressed_key, was_blurred);
+            return GLFW_RELEASE;
+        }
+        last_pressed_key = key;
+    } else if (status == GLFW_RELEASE && key == last_pressed_key) {
+        printf("resetting last pressed key %d, since was released\n", key);
+        // ... until it is pressed and released again, then return to normal.
+        was_blurred = 0;
+        last_pressed_key = 0;
+    }
+    return status;
+}
+#ifdef __EMSCRIPTEN__
+EM_BOOL on_focus(int eventType, const EmscriptenFocusEvent *focusEvent, void *userData) {
+   switch(eventType) {
+       case EMSCRIPTEN_EVENT_BLUR:
+           blurred = 1;
+           printf("onblur (keyboard interaction disabled), last_pressed_key=%d\n", last_pressed_key);
+           if (glfwGetKey(g->window, last_pressed_key) != GLFW_PRESS) {
+               printf("resetting last_pressed_key since was since released\n");
+               last_pressed_key = 0;
+               was_blurred = 0;
+           }
+           break;
+       case EMSCRIPTEN_EVENT_FOCUS:
+           blurred = 0;
+           was_blurred = 1;
+           printf("onfocus\n");
+           break;
+   }
+   return EM_FALSE;
+}
+#endif
+
 void handle_movement(double dt) {
     static float dy = 0;
     State *s = &g->players->state;
@@ -2593,21 +2648,21 @@ void handle_movement(double dt) {
     int sx = 0;
     if (!g->typing) {
         float m = dt * 1.0;
-        g->ortho = glfwGetKey(g->window, CRAFT_KEY_ORTHO) ? 64 : 0;
-        g->fov = glfwGetKey(g->window, CRAFT_KEY_ZOOM) ? 15 : 65;
-        if (glfwGetKey(g->window, CRAFT_KEY_FORWARD)) sz--;
-        if (glfwGetKey(g->window, CRAFT_KEY_BACKWARD)) sz++;
-        if (glfwGetKey(g->window, CRAFT_KEY_LEFT)) sx--;
-        if (glfwGetKey(g->window, CRAFT_KEY_RIGHT)) sx++;
-        if (glfwGetKey(g->window, GLFW_KEY_LEFT)) s->rx -= m;
-        if (glfwGetKey(g->window, GLFW_KEY_RIGHT)) s->rx += m;
-        if (glfwGetKey(g->window, GLFW_KEY_UP)) s->ry += m;
-        if (glfwGetKey(g->window, GLFW_KEY_DOWN)) s->ry -= m;
+        g->ortho = craftGetKey(g->window, CRAFT_KEY_ORTHO) ? 64 : 0;
+        g->fov = craftGetKey(g->window, CRAFT_KEY_ZOOM) ? 15 : 65;
+        if (craftGetKey(g->window, CRAFT_KEY_FORWARD)) sz--;
+        if (craftGetKey(g->window, CRAFT_KEY_BACKWARD)) sz++;
+        if (craftGetKey(g->window, CRAFT_KEY_LEFT)) sx--;
+        if (craftGetKey(g->window, CRAFT_KEY_RIGHT)) sx++;
+        if (craftGetKey(g->window, GLFW_KEY_LEFT)) s->rx -= m;
+        if (craftGetKey(g->window, GLFW_KEY_RIGHT)) s->rx += m;
+        if (craftGetKey(g->window, GLFW_KEY_UP)) s->ry += m;
+        if (craftGetKey(g->window, GLFW_KEY_DOWN)) s->ry -= m;
     }
     float vx, vy, vz;
     get_motion_vector(g->flying, sz, sx, s->rx, s->ry, &vx, &vy, &vz);
     if (!g->typing) {
-        if (glfwGetKey(g->window, CRAFT_KEY_JUMP)) {
+        if (craftGetKey(g->window, CRAFT_KEY_JUMP)) {
             if (g->flying) {
                 vy = 1;
             }
@@ -2956,6 +3011,8 @@ int main(int argc, char **argv) {
     // OUTER LOOP //
     g_running = 1;
 #ifdef __EMSCRIPTEN__
+    emscripten_set_blur_callback(NULL, NULL, EM_TRUE, on_focus);
+    emscripten_set_focus_callback(NULL, NULL, EM_TRUE, on_focus);
     emscripten_push_main_loop_blocker(main_init, NULL); // run before main loop
     emscripten_set_main_loop(one_iter, 0, 1);
     //main_shutdown(); // called in one_iter() if g_inner_break

Continued iterating, but the state machine is becoming increasingly complex, and still doesn't quite fix all the edge cases.

Went with the partial fix, ignoring keystrokes onblur - still gets "stuck" when go back onfocus, but is a (slight) mild improvement in experience. May not be feasibly fixable without changing emscripten to change its keyboard state for glfw onblur, rather than layering another state machine over it.


all ngql statements running throw error after a socket timeout

Describe the bug (must be provided)
when we set GraphServiceTimeout a value of 5s, it will throw errors after a socket request timeout.
errors like:

read tcp <IP_ADDRESS>:64072-><IP_ADDRESS>:9669: i/o timeout
ErrInternalServer::execute failed: out of sequence response
ErrInternalServer::Invalid data length
...

so we make GraphServiceTimeout a value of long timeout
// set the timeout for the graph service: 8 hours
// once the timeout is reached, the connection will be closed
// all requests running ngql will be failed, so keepping a long timeout is necessary, make the connection alive
const GraphServiceTimeout = 8 * time.Hour

Your Environments (must be provided)

OS: Linux,Mac or Windows
Node-version: node --version
Studio-version: display in studio navBar

How To Reproduce(must be provided)
Steps to reproduce the behavior:

Step 1
Step 2
Step 3

Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Provide logs and configs, or any other context to trace the problem.

https://github.com/vesoft-inc/nebula-studio/issues/384


Dynamically adding rows to table

Hi, this is very useful thanks for all of the work.
I'm looking at the features example and wondering how I can dynamically add rows to the table. I have some basic Bubbletea demos working where I'm using something like p.send(struct{}) to add items to a list. Is this supported in the features example ? Could you provide a simple example ?

Hey there, glad it's helpful!
The general idea is that you don't programmatically "add" or "remove" data from the table, you provide a single full view each time the view updates.  If you want to add data, you would add those items to an internal list that you keep yourself and then update the table by sending it a message with the updated data.
The best example of this would be the update example, which pretends an API is sending new data on some timer.  The idea is that once new data is sent as a message, we see that here and update the table state.  In the case of the example, it then starts a timer to update data here, but in your case some other trigger would be sending the updated list of data.
Hopefully that makes sense.  Let me know if I can explain further.

Thanks for the reply here. This all makes sense and I'll try it today.

I'm going to close this for now to keep things tidy, but please feel free to reopen this or open a new issue if you have any questions!


Not able to browse files with explorer.exe if the directory was mounted with SSHFS

Please use the following bug reporting template to help produce issues which are actionable and reproducible, including all command-line steps necessary to induce the failure condition. Please fill out all the fields! Issues with missing or incomplete issue templates will be closed.
If you have a feature request, please post to the UserVoice.
If this is a console issue (a problem with layout, rendering, colors, etc.), please post to the console issue tracker.
Important: Do not open GitHub issues for Windows crashes (BSODs) or security issues.  Please direct all Windows crashes and security issues to<EMAIL_ADDRESS> Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".
Please fill out the below information:

Your Windows build number:  (Type ver at a Windows Command Prompt)

Microsoft Windows [Version 10.0.18917.1000]

What you're doing and what's happening:  (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)

Mounting a directory with sshfs in WSL2 and browsing it using explorer.exe.
sudo apt-get update
sudo apt-get install -y sshfs
mkdir directory_for_testing_fuse
sudo sshfs -o allow_other root@xxx.xxx.xx.xx:/ ./directory_for_testing_fuse
ls directory_for_testing_fuse
cd directory_for_testing_fuse
explorer.exe .

"This folder is empty"

What's wrong / what should be happening instead:

I should see the files (root, home, etc, dev...) as they are listed in WSL

Strace of the failing command, if applicable:  (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here).

No command is failing. So no trace available.

For WSL launch issues, please collect detailed logs.

See our contributing instructions for assistance.
I wonder if this is a bug report or a feature request. Should we expect this scenario to work with WSL2 ?

Thanks for filing this issue, this is due to how we isolated DrvFs mounts for admin / non admin access via mount namespaces.  I have some ideas how to solve this in a future update.

Thanks for the quick response. I'll wait then.
WSL 2 is awesome. You guys rock.

I have a change in CR right now that makes this work.  Stay tuned for an upcoming Insiders build.

Niiiiiice :)

Hi,
I am on 18945.1001 and am trying to get SSHFS  to work, but then I type
sudo sshfs -o allow_other root@xxx.xxx.xx.xx:/ ./directory_for_testing_fuse
I get an error: fuse: device not found, try 'modprobe fuse' first
and on modprobe fuse I get:
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.0-18945-Microsoft/modules.dep.bin'
modprobe: FATAL: Module fuse not found in directory /lib/modules/4.4.0-18945-Microsoft
What can it be? Thanks in advance!

@alexbogun You are using WSL1 becasue it shows the build number 18945.
Fuse should work in WSL2 and if it doesn't at least it would say "modprobe: FATAL: Module fuse not found in directory /lib/modules/4.19.55-microsoft-standard"

@onomatopellan if I'm getting the "modprobe: FATAL: Module fuse not found in directory /lib/modules/4.19.55-microsoft-standard" error in WSL2, is there a way to fix this?

@jmstrampe I think WSL2 doesn't support kernel modules. Instead you will need to compile the linux kernel from here with the options you need and then load it with .wslconfig file.

I think WSL2 doesn't support kernel modules.

Did you try it? I have not any sshfs system. Throw me any alternative test procedure.

@Biswa96 I mean modprobe won't work in WSL2 because modules can't be loaded. But I can be wrong too.

In my wsl2 (w10 1903 18995.1) sshfs is able to mount remote resource and it works well, I can read and write files (in bash), browse folders (with mc) and so on. But when I try to launch explorer.exe . in my sshfs-mounted folder it displays error message
kristjan@Latirostris:~/Xenops$ explorer.exe .
/mnt/c/WINDOWS/explorer.exe: Invalid argument
(Xenops is my sshfs-mounted folder).
In other folders the explorer works. When I launch explorer.exe in another folder and then try to open Xenops it displays error
\wsl$\Ubuntu\home\kristjan\Xenops is not accessible. You might not have permission to use
this network resource. Contact the administrator of this server to find out if you have access
permissions. Attempt to access invalid address.
The rights, displayed in my wsl2 ubuntu are following:
kristjan@Latirostris:~$ getfacl Xenops
file: Xenops
owner: kristjan
group: kristjan
user::rwx
group::r-x
other::r-x
In windows explorer, Properties -> Advanced displays following info for the sshfs-mounted folder.
Unable to display current owner.
Even Administrator's explorer cannot open this folder.

I'm glad to have fuse working in WSL 2. Huge thank you to everyone involved for making it a reality.
Just so people know I'm running.
Microsoft Windows [Version 10.0.19030.1]
I can open explorer fine so as far I'm concerned it's fixed (if it was broken)
I will post my mount command for people in case it helps.
sshfs -o allow_other,reconnect,ServerAliveInterval=15,ServerAliveCountMax=3,cache_timeout=3600 user@host.com:/home/user/ /mnt/sshfs/
Thank you @benhillis

I don't have a server to test the fix anymore so if you think the fix has landed @benhilis feel free to close this issue.
Thanks a lot.

The command described by @EwolBash works for me, but when my computer sleeps and wakes back up again, SSHFS seems to be in a bad state. The mount can’t be read or unmounted and I have to kill the SSHFS process.

How are you trying to unmount it? I'm assuming fusermount -zu /mnt/whatever

Ah! I was trying to umount. (I’m new to FUSE.) I guess, as far as I can tell so far, everything is working as expected! This is very exciting!


Made AvgCycleScreen

Closes #49. Please review @sarthology

There is a bug in it.

Will it suffix @sarthology??

Use this
https://github.com/rdhox/react-native-smooth-picker

Please review the changes @sarthology

Works for now.


Melodic build error

Hi, I'm Geon.
Thanks for your contribution and I want to build pedsim_ros on ROS melodic.
I tried to build but error occurred like below. It is hard to track the problem since build error log didn't show anything. If you know what the problem is, please give me help. Thanks!
vidualwaypointplanner.cpp.o
[100%] Building CXX object pedsim_ros/pedsim_simulator/CMakeFiles/pedsim_simulator.dir/include/pedsim_simulator/waypointplanner/moc_groupwaypointplanner.cpp.o
[100%] Building CXX object pedsim_ros/pedsim_simulator/CMakeFiles/pedsim_simulator.dir/include/pedsim_simulator/waypointplanner/moc_shoppingplanner.cpp.o
[100%] Building CXX object pedsim_ros/pedsim_simulator/CMakeFiles/pedsim_simulator.dir/include/pedsim_simulator/waypointplanner/moc_queueingplanner.cpp.o
[100%] Linking CXX executable /home/syscon/collision_avoidance_ws/devel/lib/pedsim_simulator/pedsim_simulator
//usr/lib/x86_64-linux-gnu/libapr-1.so.0: undefined reference to<EMAIL_ADDRESS>collect2: error: ld returned 1 exit status
pedsim_ros/pedsim_simulator/CMakeFiles/pedsim_simulator.dir/build.make:1571: recipe for target '/home/syscon/collision_avoidance_ws/devel/lib/pedsim_simulator/pedsim_simulator' failed
make[2]: *** [/home/syscon/collision_avoidance_ws/devel/lib/pedsim_simulator/pedsim_simulator] Error 1
CMakeFiles/Makefile2:13191: recipe for target 'pedsim_ros/pedsim_simulator/CMakeFiles/pedsim_simulator.dir/all' failed
make[1]: *** [pedsim_ros/pedsim_simulator/CMakeFiles/pedsim_simulator.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed

After I deleted comments w.r.t  EXECUTABLE_NAME , catkin_make build succeeded.


Fixed a bug in determining if a lint rule is exclusive to Flutter

Issue

close #121

Overview (Required)
Fixed a bug in determining if a lint rule is exclusive to Flutter, and added/removed some lint rules in all.yaml for dart and flutter.
See<PHONE_NUMBER>7017bd5bd3968676a6693c42997d19 for the difference in all.yaml.
Links
N/A
Screenshot
N/A

Merge as it needs to be released by 5/7.


Updating Preview

Using Pomelo (new username system)
Added tooltips
I did this on my mom's laptop since I cannot find mine and it took me ages to log into everything and install the needed fonts :skull:

Can you make the contrast for the tooltips higher? Or should we leave that original?

also shouldn't they overlap with "Playing a game"?

overlapping shows that its nothing that will be constant visible thats also my issue with the contrast

also that would be more like the orignal screenshot

perfect could you quickly squash the commits?

perfect could you quickly squash the commits?

Done!


The sound is played on the wrong audio device when launch via Air Link with Oculus SDK

I'm using Godot 3.4 on Windows 10 with Oculus Quest 2 connected via Air Link.
The Air Link creates a separate audio device for the HMD: Oculus Virtual Audio Device. All of the games using Oculus SDK (Beat Saber, Pavlov, etc) auto-select that device and I can hear the sound from the game without changing the default audio output for my PC.
However, when I launch my Godot project with Oculus SDK, the game still plays sound to that default audio output, not to the Oculus one, so no sound is there unless I capture the desktop.
If I launch the game via SteamVR everything works fine.
I can upload the video of the bug in action, if it's necessary

OpenXR has no APIs that would inform us of which audio output to use.
SteamVR will change the default audio output to the headset when SteamVR starts. One would assume that Airlink would do the same, this was definitely the behavior of the Rift and Rift S when the Oculus client starts.
Godot indeed by default outputs to the default audio device and has no idea to do otherwise. Code will need to be added that switches this but again, the OpenXR plugin has no influence on this, it would need to be solved in your game (and possibly something we could add to the default startup script).
This can be achieved by changing the audio output to the correct device through the AudioServer:
https://docs.godotengine.org/en/stable/classes/class_audioserver.html#class-audioserver-property-device


Would you make API URL configurable?

for example
the API URL is:
https://stream.twitter.com/1.1/statuses/sample.json
would you make the host configurable.
like:
TWITTER_STREAM_HOST = stream.twitter.com:443
https://TWITTER_STREAM_HOST/1.1/statuses/sample.json

Hi @hellojinjie is there a particular reason that you need this? We recently added proxy support which may be what you are after?

@stve Thank you for your reply.
We can not reach twitter api directly in China.
I have tried proxy, it worked fine with REST api, but did not work with streaming api.
So, I set up a https relay proxy, here -> https://hellojinjie.com:444/1.1/statuses/user_timeline.json
to use this https relay proxy , i need to replace the host and port of the api endpoint.

I would appreciate a configurable API URL since that might enable me to use this interface to talk to a GNU social instance. (GNU social is the new StatusNet and an opensource approach to a decentralized twitter.)


Write SDMX-ML elements in XSD schema order

Closes #210
PR checklist

[x] Checks all ✅
~Update documentation~ N/A, bugfix
[x] Update doc/whatsnew.rst

@3nz01 changing that one line I pointed to appears to resolve the issue—at least in the one test added on this branch.
Please let me know if you will be able to test the fix in your actual workflow, or not. Once I hear from you I will merge and make a patch release.

@khaeru We weren't able to bring the entire project into our environment to test. However we did replicate the change you made on line 303 of sdmx/sdmx/writer/xml.py and it worked perfectly. From our POV the solution works and you can release the patch.
You might want to leave a note on the SIS-CC's gitlab saying that this has been taken care of also. I don't mind doing it, but I figure you deserve the credit :)
Many thanks from the entire StatCan SDMX team.


Power AOE

Area of effects of potions will be a great power to add. When activated, the potion effects can be applied to all entities in a custom range for a specified time from the center player.
An option to decide whether the effect will apply to the player using this item will be better I think.

Sounds great! So for creating the power, would the command "/rpgitem ... aoe   [SelfApplication (default true?)]" fit?
Furthermore, should the Bukkit names for potions be used or should a function be added that resolves them to their real names or potentially even to those found in the locale?

I think the range variable should be added too.
Full command /rpgitem [item] aoe [potion effect] [area range] [duration] [SelfApplication] will be good.
There's already a wiki page for potion names here

Seems like I had deleted the other arguments in my earlier comment, this was the command I was going for aswell :)


chore: update README.md

Codecov Report

Merging #8 (c5a4c97) into main (e68fb97) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #8   +/-   ##
=======================================
  Coverage   76.09%   76.09%
=======================================
  Files          15       15
  Lines         711      711
=======================================
  Hits          541      541
  Misses        170      170

Continue to review full report at Codecov.

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


Result of call to xxx is unused

Some of the function do not need the result value. So could you please modify some of the function to use@discardableResult?

Thanks will look into this.

Want to +1 this.
I'm currently having to do add _ =  in order to avoid the result, for example:
_ = array.eachWithIndex { ... }

Created a branch for this. Will merge after testing and publish it as 6.0.3 https://github.com/ankurp/Cent/pull/20


Improve Smart QR Code Scanner [Fiji]

It is a bit complex task.
Zeplin:

When scanning ETH Address
a) Send to this Address https://app.zeplin.io/project/5d088205bff2d15de6a4397b/dashboard?seid=5e6f641b060131115f1bc1c6
b) Add to Address Book https://app.zeplin.io/project/5d088205bff2d15de6a4397b/dashboard?seid=5e6f648d82a344183b52c43c
c) Watch Wallet https://app.zeplin.io/project/5d088205bff2d15de6a4397b/dashboard?seid=5e6f64c5fae46e11eefb46ae

When scanning Payment Request
https://app.zeplin.io/project/5d088205bff2d15de6a4397b/dashboard?seid=5e6f6531bc13e3160fe28da9

When scanning to add custom token
https://app.zeplin.io/project/5d088205bff2d15de6a4397b/dashboard?seid=5e6f63483eea5014c74bec75

When scanned QR is not ETH
https://app.zeplin.io/project/5d088205bff2d15de6a4397b/dashboard?seid=5e6f65e9599980122923f129

When QR is a link (to open in browser)
https://app.zeplin.io/project/5d088205bff2d15de6a4397b/dashboard?seid=5e6f6503de850113ba370a97

Flow (from iOS)
https://drive.google.com/a/alphawallet.com/file/d/14ge8G3pIM513myKZbDrUyjA2bvRGzFXR/view?usp=sharing

When scanning ETH Address - Add to Contacts

When scanning ETH Address - Watch Wallet

When scanning ETH Address - Send to the Address

When scanning Payment Request

When scanning to Add Custom Token

When scanned QR is not ETH

When QR is a link (to open in browser)

Which ones of these aren't working?

@tomekalphawallet could you clarify the 'add custom token' flow? Currently we access that through the + button on the wallet screen. Does this issue replace that behaviour, and if so do we need to remove that plus button? Or do you still get to the scan via clicking the plus, then clicking the scan button on the 'add custom token' activity?

It does not replace that behaviour, but goes in parallel. So if you want to add custom token you can:
a) launch a qr code scanner, scan a smart contract qr, hit "Add Token" to confirm adding prefilled form (symbol, balance, contract address, token's name)
b) you can add a custom token by: hit add/hide token in the wallet tab, hit "+", and enter details.
Makes sense?
--
Also, can I request you to update + button? I got a feedback that is not so visible. We can make it more prominent. The new one is the same size (24x24). So should be easy to replace.
https://zpl.io/2yAgxNo
This icon is used:

Change Wallet
Address Book
Add/Hide Tokens

@ChintanRathod I applied Tomek's suggestion to display an error within the QR scanner and resume scanning, rather than fold back to home and show scan error (as I mistakenly directed you to do), so no need to apply that fix now.
Addressbook integration is still being designed, so you can just add this as a hidden option that doesn't go anywhere for now.

@mpaschenko This is a very old issue, but still waiting for implementation. Please check out how this works in iOS.

Run QR Code camera (top right in the wallet tab) and scan the above QR in iOS.

iOS

@hboon The only one task left from Fiji.

Bump: @JamesSmartCell @mpaschenko

Hi @colourfreak can you clarify - in the graphic above underneath 'When scanning Payment Request', the ActionSheet looks like it pops up directly after the scan rather than going to the send screen. I like this (I have seen cases where people needed to implement something this simple at conferences, and failed terribly) this is your intention right?

Also @colourfreak when scanning a pure address, then clicking on 'send' it defaults to Ethereum Mainnet. It would be good to be able to pick which network we want to send to, although this isn't critical.

Hi @colourfreak can you clarify - in the graphic above underneath 'When scanning Payment Request', the ActionSheet looks like it pops up directly after the scan rather than going to the send screen. I like this (I have seen cases where people needed to implement something this simple at conferences, and failed terribly) this is your intention right?

@JamesSmartCell I remember that Weiwu wanted me to add this. I was not sure about the usage. However, I have seen something similar at a conference.


React Foundations: code mistake in Chapter 2

First of all, sorry if this is the wrong place to post an issue.
I think document.createTextNode only accepts strings, but is it a typo with a comma at the end?
here
const headerContent = document.createTextNode(
  'Develop. Preview. Ship. 🚀',
);

Hey @kijikunnn, this is the right place :)
I see, looks like prettier is automatically adding the comma. You can also use this alternative:
const text = 'Develop. Preview. Ship. 🚀';
const headerContent = document.createTextNode(text);


Website Revamp

Purpose

A complete revamp of the website using Docusaurus to support the following key goals:

Faceted search of best practices, with a registry of best practice guide metadata as the source to populate the faceted search
Folders for each best practice guide, to support misc. files in addition to a write-up
Use Docusaurus instead of RETYPE given the latter's free license page limitations
Easier way for people to contribute best practices

Proposed Changes

[ADD] Docusaurus framework
[CHANGE] Migrated all existing guides in current website to new framework

Issues

#5
#21
#80
#90

Testing

Locally built and tested
Live demo deployed at: https://riverma.github.io/slim/

NOTE: The guides themselves need some work to be made more consistent, since different templates and organizational structures are being used. I propose another PR to address the written material specifically. This ticket is about website framework migration.

Feedback from @stirlingalgermissen:

Dark mode seems broken
Having the sidebar in the guides be expanded by default (to the first level) would be more informative
Contributing guide is pretty lengthy / complex. Can it be reorganized?
About page has lots of content useful for the front page of the website

Clicking on any actual "view" button of a guide on the search feature points to a broken link. I know the guides do exist because they appear in the side bar, but the URL path on the "view" button is different from the guides on the side bar. I think the URL from the "view" button is missing "/slim/" at the base of the URL

Changes made based on @stirlingalgermissen and @jeffreypon feedback.
See demo: https://riverma.github.io/slim/


Zwave Light dimmer transition has no effect.

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
**Home Assistant release: 0.62.1
**Python release: 3.5.3
**Component/platform: service LIGHT.TURN_ON
**Description of problem: I have a zmnhsd1 Zwave dimmer, in automation, argument 'transition' have no effect.
So when i make an automation whith a "brightness: 10"  it take more than 5 seconds (a lot of time for a hallway)
Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:

Problem with device naming.


Side menu doesn't reflect URL

When navingating to a url directly the side menu does not highlight the right menu item.

Actual
navigate to http://met .../survey
Engagements in the side menu is highlighted
Expected
navigate to http://met .../survey
Survey in the side menu is highlighted

@tiagograf-AOT plz verify it


[Gemm] Nim devel compiler gets stuck when compiling older commits

Trying to bisect #32 but Nim devel compiler gets stuck while calling GCC/Clang or the linker.

This was due tothe new name mangling: (https://github.com/nim-lang/Nim/issues/11202, https://github.com/nim-lang/Nim/commit/651ae68567a71085bf4c0fc58fba18d5acbbe693)
Monkey patching the nim.cfg during bisection works (see 7b9fd9b32283fa13680ac5f7223fa31283c0d3a4)


Cleaner separation between ServiceAccount and custom authentication in K8S SD

What does this do?
It provides a clearer separation between using ServiceAccount based authentication on K8S and other authentication schemes.
It is generally accepted as best-practice for applications that need to access the Kubernetes API from inside a cluster to use service accounts for authenticating. The ServiceAccounts are a well specified identity mechanism in Kubernetes which is entirely managed by the cluster control plane.
ServiceAccounts provide the path of least resistance to authentication inside the cluster, when used according to the specification and guidelines. Kubernetes provides convenience features in the client to easily make use of ServiceAccount authentication through the rest.InClusterConfig() function. It's return value is a ready-to-use client config and should be used as-is for maximum reliability.
There is very little reason for modifying the result of  rest.InClusterConfig() and users should explicitly be aware when choosing to do so. Specifically, the use of basic-http, token or TLS client certs instead of ServiceAccount authentication should be a decision users make with full awareness.
This change allows to do so and prevents accidental misconfigurations that could prevent ServiceAccount auth from working as expected.
Advanced users that want full control of the authentication setup, can still conveniently do so by explicitly populating the api_server field along with all other relevant parameters.
Documentation around using service accounts:

https://kubernetes.io/docs/user-guide/service-accounts/
https://kubernetes.io/docs/admin/service-accounts-admin/
https://kubernetes.io/docs/user-guide/accessing-the-cluster/#accessing-the-api-from-a-pod

@brian-brazil FYI – this is a theoretical breaking change unlikely to affect most users.

👍


Ability to load different next.config.js files based on lifecycle hook

With introduction of next-plugins we've got more functionality and dependencies exposed in next.config.js, using plugins like next-sass and others adds extra development dependencies to the runtime, even in production mode, since next.config.js is execute at server start time.
Requiring us to carry along node modules that we'd never use with production baked artifacts.

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

As we discussed last week, possible solution would be to allow next.js to read lifecycle specific configs, like next.config.dev.js and next.config.build.js with fallback to next.config.js.
Current Behavior
Loads next.config.js irrespectively of the lifecycle stage.
Thank you.

You may easily tweak/compose next.config.js as:
import webpackProdConf from './prod';

module.exports = (nextConfig = {}) => {
  const isProd = process.env.NODE_ENV === 'production'

  return Object.assign({}, nextConfig, {
    webpack(config, options) {
      if (isDev) {
        Object.assign(config, webpackProdConf);
      }
      // ...
      return config
    }
  })
}``

Thanks for the suggestion @vorillaz – looks like in your example it keeps prod config separate, and in my use case we have that module.exports = withCss(withSass(config)) that bring all sorts of dependencies.
There is a workaround to move require call inside webpack config function, but it would be a hack rather than stable solution. And during prior conversation with @rauchg this is what we agreed on – better "API" for the community as a whole. Added this issue, so it won't get lost in the woods.

I see @alexindigo . I still think that splitting the logic within separate files causes lots of problems. IMHO it looks more natural sharing dependencies across development and production with composed config files.


[Go Live][Jun 6]

Push to live

Docs Build status updates of commit d702135:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/deploy-and-publish/appsource/prepare/submission-checklist.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/deploy-and-publish/appsource/prepare/teams-store-validation-guidelines.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[efibootorderfix] fix device path for md devices

In cases where /boot/efi resided on an md device, the wrong device path was being passed to efibootmgr. Need to pass the path to an underlying physical device rather than the logical md device.

This particular change only seems to be working intermittently for me. Need to investigate further.

Actually, looking at the the upgrade log, this appears to have executed correctly:
2022-10-12 15:48:28.414 INFO     PID: 3 leapp.workflow.Finalization: Executing actor efi_finalization_fix
2022-10-12 15:48:28.458 DEBUG    PID: 1835 leapp.workflow.Finalization.efi_finalization_fix: External command has started: ['/sbin/efibootmgr', '-c', '-d', '/dev/sdb3', '-p 1', '-l', '\\EFI\\rocky\\shimx64.efi', '-L', 'Rocky Linux']
2022-10-12 15:48:28.506 DEBUG    PID: 1835 leapp.workflow.Finalization.efi_finalization_fix: BootCurrent: 0001
2022-10-12 15:48:28.511 DEBUG    PID: 1835 leapp.workflow.Finalization.efi_finalization_fix: Timeout: 3 seconds
2022-10-12 15:48:28.512 DEBUG    PID: 1835 leapp.workflow.Finalization.efi_finalization_fix: BootOrder: 0004,0001,0000,0002,0003
2022-10-12 15:48:28.513 DEBUG    PID: 1835 leapp.workflow.Finalization.efi_finalization_fix: Boot0000* CentOS
2022-10-12 15:48:28.515 DEBUG    PID: 1835 leapp.workflow.Finalization.efi_finalization_fix: Boot0001* CentOS
2022-10-12 15:48:28.516 DEBUG    PID: 1835 leapp.workflow.Finalization.efi_finalization_fix: Boot0002* UEFI: Built-in EFI Shell
2022-10-12 15:48:28.517 DEBUG    PID: 1835 leapp.workflow.Finalization.efi_finalization_fix: Boot0003* UEFI: PXE IP4 Cisco 1GigE I350 LOM
2022-10-12 15:48:28.518 DEBUG    PID: 1835 leapp.workflow.Finalization.efi_finalization_fix: Boot0004* Rocky Linux
2022-10-12 15:48:28.520 DEBUG    PID: 1835 leapp.workflow.Finalization.efi_finalization_fix: External command has finished: ['/sbin/efibootmgr', '-c', '-d', '/dev/sdb3', '-p 1', '-l', '\\EFI\\rocky\\shimx64.efi', '-L', 'Rocky Linux']

The failures I'm seeing may be the result of problematic server BIOS, and not the fault of leapp/ELevate. While the efibootmgr clearly shows the new bootloader entry being created, it doesn't show up in the actual BIOS boot options. The fact that it seems to work sometimes on the same model of hardware with identical system configs leads me to believe this is a possible firmware problem and not something that should block the merging of this PR.


Enumerable.Except method filters the enumerable to distinct items; this isn't stated.

From @ekolis on August 12, 2018 18:0
For instance if I have
var nums = new int[] { 1, 1, 2, 3 };
foreach (var num in nums.Except(new int[] { 3 }))
Console.Write(num);

I expect to see 112 but I only see 12.
Copied from original issue: dotnet/coreclr#19443

From @Tornhoof on August 12, 2018 18:13
According to https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.except?view=netcore-2.1#System_Linq_Enumerable_Except__1_System_Collections_Generic_IEnumerable___0__System_Collections_Generic_IEnumerable___0__
it's defined as the set difference, a set in mathematics is not allowed to have duplicate values.
The source code example even shows that (two 2.0, 2.3 in numbers1, output is only one 2 and one 2.3).

I believe https://github.com/dotnet/dotnet-api-docs/pull/1217 took care of this.
The Remarks now mention that only unique elements are returned.


5829 - Add Category Code column for each Category Label

What
The dp-api-clients-go version update will enable:

A new column with the same Label string appended with Code should
precede it's respective Label column.

Move "Count" column to the end of row
Rather than the beginning of the sheet.
The word Count should also be updated to Observation

Resolves: 5829
Depends on: https://github.com/ONSdigital/dp-api-clients-go/pull/306
How to review
Sense check it and ensure tests are green
Who can review
Any ONS developer

@j-s-rawat the changes were done as part of https://github.com/ONSdigital/dp-api-clients-go/pull/306


How to Remove default favicon bundle with beta.22-1

Please provide us with the following information:

OS?

os: win32 x64

Versions.

angular-cli: 1.0.0-beta.22-1
node: 7.1.0

Repro steps.

Remove the line <link rel="icon" type="image/x-icon" href="favicon.ico"> from index.html
ng build
ng serve
browse through http://localhost:4200/ ,still shows the default angular favicon.

Also tried the above steps after clearing the browser cache and still the same issue.
Below browser are used to reproduced the issue:

Chrome(Version 54.0.2840.99 m)
IE(Version 11.0.98600.18499)

Thanks! We'll be in touch soon.

You need to do three things to remove the icon from the build:

remove <link rel="icon" type="image/x-icon" href="favicon.ico"> from index.html
remove "favicon.ico" from apps[0].assets in angular-cli.json
delete src/favicon.ico

This way you eliminate all traces of the default favicon. If you still see it in your browser, it is likely being cached somewhere and should go away in time.

thanks @filipesilva its working but after

Restart the app , If still not change
Restart the system (I dont know it is better way or not but it works for me)
Clear browsing data and cache.

If still not working then follow this i am sure it works.
To refresh your site's favicon you can force browsers to download a new version using the link tag and a query string on your filename. This is especially helpful in production environments to make sure your users get the update.

clear cache ...after deleting the favicon icon..it will work


Fix options in README

Current branch is v5.2. So rebase was very difficult.
Please check: https://github.com/postcss/autoprefixer-core/tree/v5.2


Nuget package is not available for EntityFramework.SQLserver

https://www.nuget.org/packages?q=EntityFramework.SqlServer
Hi there
The nuget package is not available on nuget .org.  Is there another repository I should be using?

The EF6 package for SQL Server is https://www.nuget.org/packages/EntityFramework/ - there is no seperate .SqlServer package

Thanks.
Did I dream it, or didn't there used to be one?
Regards
Brian

On 17 May 2017, at 17:48, Arthur Vickers<EMAIL_ADDRESS>wrote:
Closed #279.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Maybe during the EF Core preview/beta, yes

Thanks. Did I dream it, or didn't there used to be one? Regards Brian
…
On 17 May 2017, at 17:48, Arthur Vickers @.***> wrote: Closed #279. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Yeah there was, I have it in one of my existing projects, so of course I thought I needed it in this new one, but, saw the answer and am going to assume I don't. 🤷♂


#5051 entity name updated

Signed-off-by: shoeb<EMAIL_ADDRESS>Hey, I just made a Pull Request!
I have updated the entity name with label selector annotation
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@shoebsd31 this still needs a changeset. You can read more here https://github.com/backstage/backstage/blob/master/CONTRIBUTING.md#creating-changesets

Hey @shoebsd31, think you need to rebase on top of master. We had some problems with it being unstable before :)

Hey @shoebsd31, think you need to rebase on top of master. We had some problems with it being unstable before :)

Just rebased and re-created the changeset again

Do we need to update the docs?

BACKSTAGE_ENTITY_NAME
here I think needs to be changed https://github.com/backstage/backstage/blob/master/docs/features/kubernetes/configuration.md#labeling-kubernetes-components
and
entity-service-name In this page https://github.com/backstage/backstage/blob/master/docs/features/kubernetes/troubleshooting.md

oh yes, that's true. I am sorry I missed it.


fix: Downgrade Vite from 2.9.5 to 2.8.6

:tada: This PR is included in version 3.11.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Consider StartImmediateAsTask instead of StartAsTask to prevent a thread hop

In PR #114 (adding support for Async in Bind), @bartelink raised the question whether it would be better to use StartImmediateAsTask instead of StartAsTask.
Specifically, it is about this part:
let mutable awaiter =
    Async
        .StartAsTask(asyncSource, cancellationToken = sm.Data.cancellationToken)
        .GetAwaiter()

The current approach was taken to mimic the same approach taken for task in F# Core: https://github.com/dotnet/fsharp/blob/d91b6c5c97accf363d135d1f99816410da4ec341/src/FSharp.Core/tasks.fs#L462, basically:
member inline this.Bind(computation: Async<'TResult1>, continuation: ('TResult1 -> TaskCode<'TOverall, 'TResult2>)) : TaskCode<'TOverall, 'TResult2> =
    this.Bind(Async.StartAsTask computation, continuation)

For comparison, see what was done in async2, which was poised to be the new async based on resumable code, like task is, but unlike task cold-started like the current async.
So, we have two scenarios:

use StartAsTask to get similar semantics as the task CE, but this causes a thread hop
use StartImmediateAsTask, which uses the current context

I'm not aware of any downside of using the latter. It definitely saves a thread switch in the general case (note that the thread pool may not always cause a physical thread switch).

This seems relevant as well: https://github.com/dotnet/fsharp/discussions/11043#discussioncomment-345815
That comment by @dsyme basically suggests not to use StartAsStask. Tbh, I didn't know it started in the thread pool, we have Async.Start already, I figured, as a task, it behaves like task: stay in the same context.

Thanks for bringing this @bartelink. It required some digging, and writing a context-switching test case, but I'm now convinced this is a bad scenario to be in. Will write a PR to fix it.

The thread hop in F# Core task has been fixed. We should follow suit. See https://github.com/dotnet/fsharp/pull/14499.


feat(worker): add start method to worker farms

Summary
When a worker farm is created, you synchronously get back a Farm. Then, once you call methods on it, it'll get a worker (by default via round-robin), and initialise it (calling an exported setup if it exists).
If you use workers in a server environment it's useful to initialise all workers as part of the server's startup, rather than taking a hit when actually invoking workers later.

Test plan
Verified in a work project that initial hit when first invoking a worker is gone.

https://github.com/facebook/jest/releases/tag/v29.5.0


Memory bug in validation

I have conducted several experiments to find out why the training is always killed after some time. I have found out that at the beginning of each validation something is loaded into the memory (I am using lazy mode on val_dataset) and then it is not released or reused.
When I disable validation, this problem do not occur (or maybe i didn't run the experiment for enough time to ocur).
I have tried to find the source of the problem but I do not see anything in the code which should stay in memory indefinitely

Does it happen even if you don't use LazyDataset for the validation. My guess is it is because the validation file remains open after printing the examples in the log (because the file was not read until the end).
As a simple solution, I would just ban using lazy dataset for validation data. It makes sense to have them in memory because they are used often (unlike the training data).

The proper solution would be: readers will use file handles instead of file names and a lazy dataset instance will keep a dictionary of the handles and every time you want to start reading the series, the dataset will check whether the series' file handle isn't open. We were also taking about asynchronous validation. In that case, we would need to keep the file-handle table for each thread separately.

Yes, it does happen even when using Lazy mode. And I would guess it happens even faster. And also I am talking about 500MB per validation (when not using Lazy ... note that the validation set has onlu 200kb) so it will not be anything simple as forgotten pointer.

It sounds to me like a problem with CPU memory allocation in tensorflow.. Can we profile the code using something like this: https://pypi.python.org/pypi/memory_profiler ?

Coudn't reproduce.

I check the problem with monster decoder and it didn't appear.

There's no monster decoder in master for a week now - did you mean this master or you did not update the newest changes?

I know there is no monster decoder in master :) ... I only wanted to specify, that I run it with the new version of decoder (master branch from last tuesday)


Add validation for file extensions

Closes #212

I think it would be safer to check for spaces or special characters. However, I am unsure whether we should check for multiple periods. We might prefer to skip the latter for simplicity.


add startupProbe to all provisioned containers

This ensures the readinessProbe kicks in only after the container has started
max startup time is 300s - 30 (failureThreshold) x 10 (periodSeconds). After this the container is killed and the restartPolicy kicks in https://kubernetes.io/docs/concepts/configuration/liveness-readiness-startup-probes/#startup-probe

Fixes: https://github.com/envoyproxy/gateway/issues/3511

/retest


Unexpected completions returned for function inside object literal

From https://github.com/microsoft/vscode/issues/98686
TypeScript Version:  4.0.0-dev.20200529

Search Terms:

completion
suggest / suggestions
completionInfo

Code
For the JS:
const z = {
  z: function() {}
}

Inside the function parens, type .
Bug
Completions are returned. Also isNewIdentifierLocation is set to false.
No completions are returned when you type . in a top level function
Here are the completions:
[Trace  - 07:24:46.568] <semantic> Sending request: completionInfo (284). Response expected: yes. Current queue length: 0
Arguments: {
    "file": "/Users/matb/projects/san/index.jsx",
    "line": 2,
    "offset": 16,
    "includeExternalModuleExports": true,
    "includeInsertTextCompletions": true,
    "triggerCharacter": "."
}
[Trace  - 07:24:46.597] <semantic> Response received: completionInfo (284). Request took 29 ms. Success: true
Result: {
    "isGlobalCompletion": false,
    "isMemberCompletion": true,
    "isNewIdentifierLocation": false,
    "entries": [
        {
            "name": "apply",
            "kind": "method",
            "kindModifiers": "declare",
            "sortText": "0"
        },
        {
            "name": "arguments",
            "kind": "property",
            "kindModifiers": "declare",
            "sortText": "0"
        },
        {
            "name": "bind",
            "kind": "method",
            "kindModifiers": "declare",
            "sortText": "0"
        },
        {
            "name": "call",
            "kind": "method",
            "kindModifiers": "declare",
            "sortText": "0"
        },
        {
            "name": "caller",
            "kind": "property",
            "kindModifiers": "declare",
            "sortText": "0"
        },
        {
            "name": "length",
            "kind": "property",
            "kindModifiers": "declare",
            "sortText": "0"
        },
        {
            "name": "name",
            "kind": "property",
            "kindModifiers": "declare",
            "sortText": "0"
        },
        {
            "name": "prototype",
            "kind": "property",
            "kindModifiers": "declare",
            "sortText": "0"
        },
        {
            "name": "toString",
            "kind": "method",
            "kindModifiers": "declare",
            "sortText": "0"
        },
        {
            "name": "z",
            "kind": "warning",
            "kindModifiers": "",
            "sortText": "6"
        }
    ]
}

const f4 = {
    x: function (.props) {}
}

I think that's because .props parsed as a PropertyAccessExpression, not as Parameter like in the following case
const x = function (.props) {}

Not sure off the top of my head, but I would look into how we've dealt with stuff like in
let x = {
    ./**/
}


Apply element sorter in AssertIncludeQuery

AssertIncludeQuery currently ignores the provided element sorter.
I don't have all the context so I'm not sure I did the right thing here. It's fine to punt this after 3.1 if we want to, I have two affected test failures in Npgsql which I can skip.

oversight :shipit:


Login modal does not disappear on Cancel on game submission page

When on a game submission page, e.g. https://ldjam.com/events/ludum-dare/44/magical-resonance, if I click "Login" at the top, and the login modal appears, I cannot seem to make it disappear by clicking "Cancel", nor by clicking on the modal's semi-transparent background. The only way I can close it is by using Back in the browser, possibly twice. The issue does not seem to exist on the home page.

This is an old one that I'm not able to reproduce. Closing for now. Feel free to open again if it returns.


Follow up on renaming vcs_PullRequestCommitAssociation to vcs_PullRequestCommit

Description
Follow up on #169
Type of change

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] Have you checked to there aren't other open Pull Requests for the same update/change?
[x] Have you lint your code locally before submission?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your core changes, as applicable?
[x] Have you successfully run tests with your changes locally?

Depends on https://github.com/faros-ai/faros-events-cli/pull/77

Depends on faros-ai/faros-events-cli#77

Merged and released faros-events-cli:0.5.2

Don't rename migration files. It will break. Please read the flyway docs on this.
Generally a safe migration os to add a file and alter previous change in it. All the other cases are difficult.

OK, let's merge

If the cli was released, then rerunning the test should pass

Don't rename migration files. It will break. Please read the flyway docs on this.
Generally a safe migration is to add a file and alter previous change in it. All the other cases are difficult.

It's a new migration file

If the cli was released, then rerunning the test should pass and then we can merge

The integ tests in the PR workflow won't pass, because the events-cli now hits the new endpoint -- vcs_pull_request_commit and this endpoint doesn't exist in the latest faros-ce image.
OTOH, The integ test in the release workflow should pass, since the endpoint is added (via renaming the .gql file) in this PR.


[android/crashfix] BTDownload, th.isValid() checks to avoid Runtime exception crashes

you know, sometimes blank/empty lines improve code readability :)


tracing: add minitrace to RisingLight

... so that it will be easier to debug our system.

[ ] Add log to possible places.
[ ] Add TraceWrapper. When creating each executor, a TraceWrapper will be created over the ones that developers want to trace. The wrapper will check if the output array is the same as the schema, print the timing, etc.
[ ] Add docs on debugging.

This sounds like an easy thing to implement -- if you want to add tracing information to any of our executors, feel free to create a tracking issue and start working on it.

The wrapper will check if the output array is the same as the schema. What do you mean by array here? @skyzh

Every executor will produce a data chunk (which contains several arrays of different types). We can check if it is consistent with the schema from plan node.

Emm... So it's more like a debug tool when developing risinglight, rather than a runtime tracing tool? And I need to adding some tracing like:

spend time
some detail of chunks
...

Did I catch it? @skyzh

Exactly, and all of them can be done easily with the tracing ecosystem.

spend time -- we can use tracing_futures::Instrument to instrument the executors and their time spent
detail of chunks -- tracing::event

Ok, got it, @skyzh Let me pickup this issue, I'll try to add it this weekend.

cc @WindowsXp-Beta will take a look at this.


Fix warnings coming from common_interfaces.

Fixes #1274

This should fix the regression introduced by https://github.com/ros2/common_interfaces/pull/247 .  @Crola1702 FYI.

Pulls: https://github.com/ros2/rviz/pull/1275
Gist: https://gist.githubusercontent.com/clalancette/fd69808d2c02048defc582d8f3bf8c70/raw/5bacd674f3e97c3ff0498844b26dc4c4b96d6dcf/ros2.repos
BUILD args:  --packages-above-and-dependencies sensor_msgs
TEST args:  --packages-above sensor_msgs
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/14519

Linux
Linux-aarch64
Linux-rhel
Windows

Actually, never mind.  That PR to common_interfaces caused unrelated warnings on Windows.  I'm going to close this out and actually revert that commit.