[xgb] Fixes XGBoost gpu package publishing

Change-Id: I74d01e7ece26b094ccafa429872be15d7a9aa680
Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report

Merging #1931 (733fee3) into master (bb5073f) will decrease coverage by 2.30%.
The diff coverage is 67.62%.

@@             Coverage Diff              @@
##             master    #1931      +/-   ##
============================================
- Coverage     72.08%   69.78%   -2.31%
- Complexity     5126     5684     +558
============================================
  Files           473      543      +70
  Lines         21970    25081    +3111
  Branches       2351     2713     +362
============================================
+ Hits          15838    17502    +1664
- Misses         4925     6248    +1323
- Partials       1207     1331     +124

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java
76.00% <ø> (ø)

...rc/main/java/ai/djl/modality/cv/output/Joints.java
71.42% <ø> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...main/java/ai/djl/modality/cv/output/Rectangle.java
72.41% <0.00%> (ø)

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <0.00%> (-5.24%)
:arrow_down:

...odality/cv/translator/BigGANTranslatorFactory.java
33.33% <0.00%> (+8.33%)
:arrow_up:

...nslator/InstanceSegmentationTranslatorFactory.java
14.28% <0.00%> (-3.90%)
:arrow_down:

.../cv/translator/SemanticSegmentationTranslator.java
0.00% <0.00%> (ø)

.../cv/translator/StyleTransferTranslatorFactory.java
40.00% <ø> (ø)

... and 443 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Astro + solid-query fails to parse imports

Describe the bug
I'm using version 1.5.2 of astro, version 1.6.0 of solid-js, and version 4.12.0 of solid-query. I'm completely unable to get them to work together. First, I got an error saying that React was undefined somewhere inside of solid-query. That was fixed with a vite config, but this other error is more stubborn. This is the error:
Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension.

/astro-solid-query/node_modules/@tanstack/solid-query/build/solid/QueryClientProvider.jsx:40:37
38 |        <QueryClientContext.Provider value={mergedProps.client}>
39 |          {mergedProps.children}
40 |        </QueryClientContext.Provider>
   |                                      ^
41 |      </QueryClientSharingContext.Provider>);
42 |  };

Your minimal, reproducible example
https://github.com/kollinmurphy/astro-solid-query-bug
Steps to reproduce

Clone the minimal example repository
Install & run server
Open in browser

Expected behavior
As a user, I expect solid-query to work within an Astro envrionment.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform

OS: Linux
Browser: Chrome

react-query version
v4.12.0
TypeScript version
v4.8.4
Additional context
No response

I get the same issue in a pure Solid environment, using the Vite template.

Also having the same problem, in Astro as well.
Solid query version: 4.15.1
Astro version: 1.6.11
@astrojs/solid-js: 1.2.3

Update: after messing with things a bit, I do have solid query working in astro now. I removed a Context provider that was surrounding my QueryClientProvider, since I realized I didn't need the context anymore for what I was doing. After that, the Query Client started working. No idea if that was the fix for sure because I made a lot of other little changes, but I just wanted to add this note!

I encountered a similar issue with the Vite Solid template. This is due to esbuild transforming JSX to React during the optimizeDeps process. To resolve this, I excluded it by adding the following lines of code to vite.config.ts:
+ optimizeDeps: {
+   exclude: ["@tanstack/solid-query"],
+ },

@ardeora is this still an issue? I'm inclined to close this for housekeeping, as its pretty stale and there seems to be a workaround. Please re-open is there's something tangible we can / should do. Thanks


Xuguo/add logs

Project Robyn
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # (issue)
Type of change

fix: Bug fix (non-breaking change which fixes an issue)
feat: New feature (non-breaking change which adds functionality)
docs: API change with a documentation update
test: Additional test coverage
reformat: Code cleanup, recoding or reformating code

How Has This Been Tested?

Fork the repo and create your branch from master (latest dev version).
If you've changed docuemntation, run devtools::document(). Should update .Rd files.
Ensure all tests pass, run devtools::check(). Should have no notes, no warning, no errors.
Make sure your code lints.

accessed


Web draft

1.2.1, on ed the hint has been changed to an information for viewing the webpage preview on Ed
1.2.2 reference [1] changed on Ed to directly link to the source.
1.2.2 typo in the last sentence 'embded' -> 'embedded'
1.2.1 - 1.2.3 merged onto one slide
1.2.5 took the list out of the example because we haven't taught them lists yet

under 1.2.4 added  tags as an example.
have not put the glossary in
1.3.3 the invalid tags do render in the preview. I don't know if the text will confuse the students.
1.3.4 I think we should introduce this later when it's actually going to get used

-1.3.3 added a sentence and figure on visualising nested tags as a 'rainbow'.

'Elements and tags' we may want to come back and clean up the links.

I've changed 1.4.2  emphasised to  for italicised
1.4.4 changed organized to organised - we should use english spelling (changed this somewhere else too)
1.4.1 added  as an example of a block element
1.4.1 added list examples
1.4.3 added an image example
I think maybe we should use  for bold
updated the description of    and set the letters to boldface to make the meaning of the tags more obvious. Same for the lists.

I have converted  to

2.1 Why is there so much American spelling? E.g. color and organized.
-2.2.4 left the strong tag in, but changed the fontsize to show that the fontsize wasn't overwritten
2.2.4 replacing the strong tag with span
2.2.4 general reminder that we do need to cover parent and children tags in the previous section
2.3.3./2.3.4 I changed it to 'My stylish website' and 'all paragraphs are red'
2.3.1 I put a semicolon at the end of property2
2.3.4 typo: lengthy
2.3.4 tried to explain what rel and href are.

-2.4.1 changed heading id to 'special' and the bold-text to large-text

2.4.1 changed strong to span
2.4.4 changed the examples
2.4.4 typo nam,e -> name
2.4.4 I changed the formatting of the . to '.'

2.4.7 typo 'sepearated'
-2.45 - 2.47 changed examples
we need to add to styling, emphasis on div, the css box model and @media

4.2.1 typo on interchangably -> interchangeably
4.2.1 I think you need to explain what TCP is
4.2.1 I added some questions using a dead url 'www.myfirstwebpage.com.au'. Maybe in the future we should change this to something we own so that someone couldn't come along, buy it and put something inappropriate in it
4.2.1 I've changed some of the formatting to try to make clearer how values are substituted into the specifications


Horizontal Scrolling

Hello,
Using react-bootstrap-table, when I set the width of the columns and they were larger than the viewport, the table created a horizontal scroll.
I just upgraded to react-bootstrap-table-2 and can't figure out how to replicate the functionality. It may be that I am using Bootstrap 4 which isnt compatible yet.
Am I missing something obvious. Any help would be greatly appreciated.

+1

I totally understand this feature is very important, sorry about that it's already delay due to my personal job is crazy busy. We will work hard on it

No worries man, you've done an awesome job w/ this library.  Thanks.
As an FYI...here is some CSS that worked for my situation.   Passing along in the event that it may help others.
.table {
overflow: auto;
display: block;
table-layout: auto;
}

you can you wrapClasses property and set table-responsive bootstrap class...It helped for me.

Hi @AllenFang  - By any chance, is there any timeline associated with this horizontal scroll feature?

@Bricon66 with large screen its get error

You can just add the one line css.
.react-bootstrap-table{
overflow-x:auto !important;
}

I have a table that has 20+ columns. How is it possible to render a table with that many columns and no horizontal scroll option?

@Bricon66 with the large screen it has white space

Display attribute causing the extra whitespace. This CSS worked for me:
.table{
overflow: auto;
table-layout: auto !important;
}

This issue had been solved by #325
The correct Bootstrap-way is

  <tabe class="table">

And it can be done by following snipped
<BootstrapTable wrapperClasses="table-responsive" />

I have a table that has 20+ columns. How is it possible to render a table with that many columns and no horizontal scroll option?

What solution did you use?

Hey, check snippet below. It works like responsive table from bootstrap.
<BootstrapTable
  bootstrap4
  wrapperClasses="table-responsive"
  rowClasses="text-nowrap"
/>

// somewhere in css
.react-bootstrap-table table {
  table-layout: auto;
}

I am using React Bootstrap Table and I want to add Horizontal Scrollbar only to the last two columns. Last two columns should be wrapped in a scrollable container. How can we implement this?

I am using React Bootstrap Table and I want to add Horizontal Scrollbar only to the last two columns. Last two columns should be wrapped in a scrollable container. How can we implement this?

I have same issue

I am using React Bootstrap Table and I want to add Horizontal Scrollbar only to the last two columns. Last two columns should be wrapped in a scrollable container. How can we implement this?

I have same issue

Please share the solution, if you find one

I have a table that has 20+ columns. How is it possible to render a table with that many columns and no horizontal scroll option?

What solution did you use?

You can use the react-bootstrap-table.css instead of react-bootstrap-table.min.css and then set table layout as "auto" as mentioned by @ErkinKurt

this works for me!
.react-bootstrap-table {
  overflow-x: auto;
}

.react-bootstrap-table .table {
  width: calc(100% - 3px);
}

I am using the wrapper classes but my table is not responsive...any ideas?
<BootStrapTable
keyField="name"
data={ data }
wrapperClasses="table-responsive"
rowClasses="text-nowrap"
.....

New solution : not edit react-bootstrap-table2.css
in new css
 .div-horizontal {
  overflow: auto;
  white-space: nowrap;
}
.table {
  overflow: auto;
  table-layout: auto !important;
}

Div Wrap  BootStrapTable

    <BootstrapTable
      bootstrap4
      keyField="KEY"
      data={valData}
      columns={columns}
      striped
      hover
      condensed
      ....
    />

Above solutions don't work in my environment.
Now, it works by adding below values.
# css
.react-bootstrap-table table {
    width: max-content;
}

I solved this issue by making a div around it and writing CSS for it as below
React :-

            <BootstrapTable
              keyField="id"
              data={data}
              columns={columns}
            />

CSS :-

.table-wrapper {
width: 100%;
overflow-x: scroll;
}
.table-scroll {
width: 200%;
}


Incorrect slashes in the fragment import path

Thanks for the great package! Everything works as expected except for one thing.
Slashes in the generated files are turned in the wrong direction, which causes a compilation error.
Most likely the current implementation of the path joining is platform dependent (I am using Windows).

Hey there! I found the same issue trying out this package yesterday. A fix is available on my fork and can be used until the PR above is merged with this dependency:
dev_dependencies:
  graphql_codegen:
    git:
      url: https://github.com/mvarendorff/graphql_codegen
      ref: fix/import-path
      path: graphql_codegen

Fun fact that I have already fixed this in my own fork. But I did not submit a PR as I am not sure about the maintenance status of the original repository...

@Exeteres @mvarendorff , sorry about the delay here. Please feel free to submit a PR!


Weird indenting in text mode

What did you expect to happen?
No indenting of lines when a line break occurs.
What actually happened?
After a soft line break (when the word hits the right window border), the line is indented with an invisible space (no tabs/spaces).
Additional details:

Steps to reproduce:
System information:

SYSTEM  type       gnu/linux
        config     x86_64-pc-linux-gnu
        shell      /bin/bash
        uname      Linux 4.19.147-1-MANJARO #1 SMP Wed Sep 23 18:00:56 UTC 2020 x86_64
        path       (~/.emacs.d/bin/ ~/.emacs.d/bin/ ~/.emacs.d/bin/ ~/.emacs.d/bin/ ~/.emacs.d/bin ~/go/bin ~/.rvm/bin ~/flutter/bin ~/.rvm/gems/ruby-2.5.3/bin ~/.rvm/gems/ruby-2.5.3@global/bin ~/.rvm/rubies/ruby-2.5.3/bin ~/.cargo/bin ~/.local/bin /usr/local/sbin /usr/local/bin /usr/bin /usr/lib/jvm/default/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl ~/.rvm/bin /usr/lib/emacs/27.1/x86_64-pc-linux-gnu/)
EMACS   dir        ~/.emacs.d/
        version    27.1
        build      Aug 28, 2020
        buildopts  --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-wide-int --with-modules --with-cairo --with-harfbuzz 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
        features   XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP
        traits     (server-running envvar-file)
DOOM    dir        ~/.doom.d/
        version    2.0.9
        build      HEAD -> develop b245abfe7 2020-10-06 14:38:32 -0400
        elc-files  0
        modules    (:completion (company +auto) ivy :ui doom doom-dashboard doom-quit fill-column hl-todo indent-guides minimap modeline ophints (popup +defaults) treemacs vc-gutter vi-tilde-fringe workspaces :editor (evil +everywhere) file-templates fold snippets word-wrap :emacs dired electric undo vc :term vterm :checkers syntax spell grammar :tools ansible docker editorconfig (eval +overlay) lookup lsp magit make rgb :lang data (dart +flutter) emacs-lisp (go +lsp) json latex ledger markdown nix org (ruby +rails) rust sh yaml :config (default +bindings +smartparens))
        packages   ((hyperbole) (elpher) (org-journal) (org-roam))
        unpin      (n/a)
        elpa       (n/a)

I can confirm this bug. Not sure what causes it, though.

This is adaptive-wrap-prefix-mode in the :editor word-wrap module. I'll look into a fix when I can. PRs welcome.

Is this related to adaptive-wrap-extra-indent here?


Serve for the client uses a hardcoded port

The client port is hardcoded which makes it not possible to provide an alternative port via the package.json.
Steps to reproduce the behavior:
$ mevn init test
$ cd test
# set a port in package.json for the dev script
$ sed -i 's/dev": "nuxt/dev": "nuxt --port 8080/' client/package.json
$ mevn serve
  __  __ _______     ___   _    ____ _     ___
 |  \/  | ____\ \   / / \ | |  / ___| |   |_ _|
 | |\/| |  _|  \ \ / /|  \| | | |   | |    | |
 | |  | | |___  \ V / | |\  | | |___| |___ | |
 |_|  |_|_____|  \_/  |_| \_|  \____|_____|___|

 Light speed setup for MEVN stack based apps.
? Choose from below client

><EMAIL_ADDRESS>dev
> nuxt --port 8080 "--port" "3000" "--open"

 WARN  mode option is deprecated. You can safely remove it from nuxt.config                                                                                06:05:57

 FATAL  options.port should be >= 0 and < 65536. Received NaN.

Expected behavior:
to be able to specify port and host in the package.json for scripts
$ cd client/
$ npm run dev

><EMAIL_ADDRESS>dev
> nuxt -H <IP_ADDRESS> --port 8080

...
ℹ Waiting for file changes                                                                                06:21:30
ℹ Memory usage: 200 MB (RSS: 286 MB)                                                                                06:21:30
ℹ Listening on: http://<IP_ADDRESS>:8080/

Modified /usr/lib/node_modules/mevn-cli/lib/commands/serve/launch.js
From:
 61             _execa["default"].command("npm run ".concat(cmd, " -- --port ").concat(port, " --open"), {

To:
 61             _execa["default"].command("npm run ".concat(cmd, " --  --open"), {

Now it works as expected:
$ mevn serve
  __  __ _______     ___   _    ____ _     ___
 |  \/  | ____\ \   / / \ | |  / ___| |   |_ _|
 | |\/| |  _|  \ \ / /|  \| | | |   | |    | |
 | |  | | |___  \ V / | |\  | | |___| |___ | |
 |_|  |_|_____|  \_/  |_| \_|  \____|_____|___|

 Light speed setup for MEVN stack based apps.
? Choose from below client

><EMAIL_ADDRESS>dev
> nuxt -H <IP_ADDRESS> --port 8080 "--open"

 WARN  mode option is deprecated. You can safely remove it from nuxt.config

   ╭──────────────────────────────────────────╮
   │                                          │
   │   Nuxt @ v2.15.4                         │
   │                                          │
   │   ▸ Environment: development             │
   │   ▸ Rendering:   server-side             │
   │   ▸ Target:      server                  │
   │                                          │
   │   Listening: http://<IP_ADDRESS>:8080/   │
   │                                          │
   ╰──────────────────────────────────────────╯

ℹ Preparing project for development                                                                                06:12:06
ℹ Initial build may take a while                                                                                06:12:06
ℹ Discovered Components: .nuxt/components/readme.md                                                                                06:12:06
✔ Builder initialized                                                                                06:12:06
✔ Nuxt files generated                                                                                06:12:06

✔ Client
  Compiled successfully in 2.63s

✔ Server
  Compiled successfully in 1.58s

ℹ Waiting for file changes                                                                                06:12:09
ℹ Memory usage: 205 MB (RSS: 295 MB)                                                                                06:12:09
ℹ Listening on: http://<IP_ADDRESS>:8080/

@koaps Would like you to open a PR for this issue

@ajomadlabs sure I can, but I wasn't sure how you would like to handle it.
I'm still new to javascript (I mostly do python) and not that familiar with the other frameworks but if they are running a npm script similar to what Nuxt does, my preference would be to remove any code in launch.js for setting the port and put any port overrides needed in the package.json in the starter-templates.

@koaps It's not a problem even if you are new to javascript. Would always love to see you open a PR resolving this bug post which I could review on it. I probably think giving the flexibility for the users to override the port is necessity.


Global search case-sensitive option broken

Issue Type: Bug
Video: https://imgur.com/a/jFtJvSw

Open global search sidebar (cmd-shift-f).
Disable the 'match case' option (cmd-opt-c).
Search for a known lower- or mixed-case term in your project using only uppercase characters (e.g for the term '#168dbf' search '#168DBF').

Expected result: Case-insensitive results are returned.
Actual result: Only case-sensitive results are returned.
Note: Search works correctly the other way around (searching with a lowercase term returns mixed- and uppercase resutls).
VS Code version: Code 1.39.2 (6ab598523be7a800d7f3eb4d92d7ab9a66069390, 2019-10-15T15:33:00.827Z)
OS version: Darwin x64 19.0.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz (8 x 2300)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 2

Memory (System)
16.00GB (0.17GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (19)

Extension
Author (truncated)
Version

Bookmarks
ale
10.5.0

vscode-intelephense-client
bme
1.2.3

gitignore
cod
0.6.0

vscode-eslint
dba
1.9.1

xml
Dot
2.5.0

vscode-babel-coloring
dza
0.0.4

EditorConfig
Edi
0.14.2

vsc-material-theme
Equ
30.0.0

prettier-vscode
esb
2.3.0

php-debug
fel
1.13.0

todo-tree
Gru
0.0.160

dotenv
mik
1.0.1

vscode-docker
ms-
0.8.1

sublime-keybindings
ms-
4.0.3

vsliveshare
ms-
1.0.1056

polacode
pnp
0.3.4

vscode-graphql
Pri
0.2.2

sass-indented
rob
1.5.1

gitblame
wad
3.0.1

(4 theme extensions excluded)

In occasion.. we need functionality for ctr+f as open search and again this shortcut to close search.
Bug can be related with difrent coding in files as asci, utf.

It looks like you have the search.smartCase setting enabled, please check.

Thanks @roblourens, that was it 👍
I'm a little surprised there is no indication that search.smartCase is on when searching, but I guess that's a whole other concern.

There is an issue for better UI. But I'm not sure about that setting in general... I might delete it


refactor: add note about authentication password

Hi @dunglas !
https://github.com/dunglas/php-torcontrol/issues/13 DONE.

Hi @dunglas !
I'm wrong about this issue.
In /etc/tor/torrc file, this line should be uncommented:
HashedControlPassword 16:107DFDC... (the hashed password here)
and the code become:
$tc = new TorControl\TorControl(
                array(
                    'hostname'   => '<IP_ADDRESS>',
                    'port'       => 9051,
                    'password'   => 'password',
                    // the original password not the hashed one
                    'authmethod' => 1,
                )
            );

Sorry!

After a digging control spec, I found:

I did not touch those files.


[safarionlinebooks] ERROR: Unable to download JSON metadata: HTTP Error 403: Forbidden

Please follow the guide below
Dear youtube-dl programmers,
I am using the youtube-dl 2019.04.07 version to download a video from learning.oreilly.com, and have obtained the problem of'ERROR: Unable to download JSON metadata: HTTP Error 403' as shown in the picture below. So, I cannot download the video at all. Please assist me to solve this problem.

Sorry, I do not understand how to proceed to try out the fix. Can the solution like changing of the Python codes be found in the Duplicate section? Please reply.

look at the issue that is already opened.


Downgrade enforcing to permissive configuration when SELinux is disabled

This avoids configurations that could break when SELinux is enabled
again. The user will be issued a warning if they are not already
enforcing permissive or disabled mode
Offshoot of pull request #174

Another thing this could do is ignore all the defines (which will fail when SELinux is disabled, anyway) when:

SELinux is disabled, but
The module wants to enforce either Permissive or Enforcing mode, or
The module wants to enforce disabled mode

When there are defines but SELinux mode is not explicitly configured (ie. it is undef) we can allow things to fail so that the admin has time to notice the error.
This way, you could configure SELinux resources without checking if selinux is disabled, but only if the user has explicitly set it to any of the available modes; in the case where the user has not configured SELinux and some module wants one of the resources, it will still fail with an error.

Though I think the above suggested change can wait until the providers are merged. It doesn't make sense to implement it in this pull request.


Can't get past Loading...

I have install all modules and demo seems to start ok locally, but when I click on any of the demo links.. it shows Loading ... and doesn't go past that point. am I missing something? I installed all the modules.
bash-3.2$ npm run start-babylon

amazon-sumerian-hosts@ start-babylon /Users/xxx/workspace/amazon-sumerian-hosts
cross-env ENGINE=babylon NODE_ENV=development webpack-dev-server

 [webpack-dev-server] Project is running at:
 [webpack-dev-server] Loopback: http://localhost:8080/
 [webpack-dev-server] On Your Network (IPv4): http://xxx.xxx:8080/
 [webpack-dev-server] On Your Network (IPv6): http://xxx]:8080/
 [webpack-dev-server] Content not from webpack is served from '/Users/xxx/workspace/amazon-sumerian-hosts' directory
 [webpack-dev-middleware] wait until bundle finished: /packages/demos-babylon/src/
 [webpack-dev-middleware] wait until bundle finished: /packages/amazon-sumerian-hosts-babylon/test/integration_test/Babylon.js/
assets by path ./packages/demos-babylon/dist/*.js 26.3 MiB
asset ./packages/demos-babylon/dist/customCharacterDemo.js 8.31 MiB [emitted] [minimized] (name: customCharacterDemo) 2 related assets
asset ./packages/demos-babylon/dist/chatbotDemo.js 5.99 MiB [emitted] [minimized] (name: chatbotDemo) 2 related assets
asset ./packages/demos-babylon/dist/gesturesDemo.js 5.99 MiB [emitted] [minimized] (name: gesturesDemo) 2 related assets
asset ./packages/demos-babylon/dist/helloWorldDemo.js 5.99 MiB [emitted] [minimized] (name: helloWorldDemo) 2 related assets
assets by path ./packages/amazon-sumerian-hosts-babylon/ 22 MiB
asset ./packages/amazon-sumerian-hosts-babylon/test/integration_test/Babylon.js/dist/animationTest.js 8.36 MiB [emitted] [minimized] (name: animationTest) 2 related assets
asset ./packages/amazon-sumerian-hosts-babylon/test/integration_test/Babylon.js/dist/textToSpeechTest.js 8.36 MiB [emitted] [minimized] (name: textToSpeechTest) 2 related assets
asset ./packages/amazon-sumerian-hosts-babylon/dist/host.babylon.js 5.27 MiB [emitted] [minimized] (name: host.babylon) 2 related assets
asset ./packages/amazon-sumerian-hosts-three/dist/host.three.js 249 KiB [emitted] [minimized] (name: host.three) 2 related assets
asset ./packages/amazon-sumerian-hosts-core/dist/host.core.js 240 KiB [emitted] [minimized] (name: host.core) 2 related assets
runtime modules 248 KiB 115 modules
javascript modules 12.5 MiB 1522 modules
json modules 2.81 MiB
./node_modules/aws-sdk/apis/metadata.json 15.9 KiB [built] [code generated]
./node_modules/aws-sdk/apis/sts-2011-06-15.min.json 3.71 KiB [built] [code generated]
./node_modules/aws-sdk/apis/sts-2011-06-15.paginators.json 27 bytes [built] [code generated]
./node_modules/aws-sdk/apis/cognito-identity-2014-06-30.min.json 7.4 KiB [built] [code generated]
./node_modules/aws-sdk/apis/cognito-identity-2014-06-30.paginators.json 155 bytes [built] [code generated]
./node_modules/aws-sdk/apis/acm-2015-12-08.min.json 5.13 KiB [built] [code generated]
./node_modules/aws-sdk/apis/acm-2015-12-08.paginators.json 161 bytes [built] [code generated]
./node_modules/aws-sdk/apis/acm-2015-12-08.waiters2.json 569 bytes [built] [code generated]
./node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json 54.1 KiB [built] [code generated]
./node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json 1.37 KiB [built] [code generated]
./node_modules/aws-sdk/apis/application-autoscaling-2016-02-06.min.json 6.63 KiB [built] [code generated]

229 modules
webpack 5.72.0 compiled successfully in 73220 ms

Sorry you're having problems rrjgithub. What error messages do you see in your browser's javascript console when you open these demos?

Uncaught (in promise) CredentialsError: Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1
at constructor.extractError (json.js:52:27)
at constructor.callListeners (sequential_executor.js:106:20)
...
I did set the demo-credentials.js with the configIdentityPoolId value

this is resolved. thanks


Reword to remove old terms

Purpose / why
Mentioned "object" and "datastream" in ways that made me cringe.
What changes were made?
Minor rewording. Also reworded Islandora 8 to 2.0.
Verification
Does the page read okay? Does it seem accessible?
Interested Parties

Replace this text - Name some folks who may be interested, if documentation related mention @Islandora/documentation, or, if unsure, @Islandora/8-x-committers

Checklist

Pull-request reviewer should ensure the following

[ ] Does this PR link to related issues?
[ ] Does the proposed documentation align with the Islandora Documentation Style Guide?
[ ] Are the changes accurate, useful, free of typos, etc?
[ ] Does this PR update the last updated on date on the documentation page?

Person merging should ensure the following

[ ] Does mkdocs still build successfully? (This is indicated by TravisCI passing. To test locally, and see warnings, see How To Build Documentation.)
[ ] If pages are renamed or removed, have all internal links to those pages been fixed?
[ ] If pages are added, have they been linked to or placed in the menu?
[ ] Did the PR receive at least one approval from a committer, and all issues raised have been addressed?

Makes sense to me!


[DRAFT]: Save dimension unit in user preferences

The type of this PR is: Feature

This PR resolves CX-2198
Description

PR Checklist (tick all before merging)

[ ] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[ ] I have tested my changes on iOS and Android.
[ ] I have added tests/stories for my changes, or my changes don't require testing/stories, or I have included a link to a separate Jira ticket covering the tests.
[ ] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added an app state migration, or my changes do not require one. (What are migrations?)
[ ] I have added a changelog entry below or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Warnings

:warning:

❌ An error occurred while validating your changelog, please make sure you provided a valid changelog.

  Generated by :no_entry_sign: dangerJS against 01a6ca87f6a78003c5c473efc990d30e9542e853

closing, work is was done in #5957


Maps with time.Time keys

If I have a map with a time.Time type as a key, or alternatively a struct with a time.Time type as a  field, with the struct used as a key, it appears as if the key comparisons use == instead of the Equal method as recommended by: https://golang.org/pkg/time/#Time.Equal
Equal reports whether t and u represent the same time instant. Two times can be equal even if they are in different locations. For example, 6:00 +0200 CEST and 4:00 UTC are Equal. See the documentation on the Time type for the pitfalls of using == with Time values; most code should use Equal instead.

eg.

map[time.Time]int

OR

type A struct {
t time.Time
}

map[A]int

Maps don't call any functions or methods, they use equality as defined in the spec. What is your point here?

https://github.com/golang/go/issues/21829

@pjebs
You should use Time.Sub(time.Time{}) as the struct field to make the struct values capable to act as map keys.

filed a related issue: https://github.com/golang/go/issues/22978

@pjebs I have a linter for this issue if you're interested: https://github.com/m3db/build-tools/blob/master/linters/badtime/README.md


Lootr Causing Crashes?

I was launching a minecraft instance through modrinth and when the game finished loading an error saying com.electronwill.nightconfig.core.io.ParsingException: Not enough data available
Stacktrace
Logs Provided Below
---- Minecraft Crash Report ----.txt

This sounds like the Lootr configuration file has become corrupted. If you go into the config folder (in the same directory as the logs, crash-reports and mods folders) and delete the lootr-common.toml and lootr-client.toml files, they should regenerate and the issue should resolve itself.


Duku Friday

Name
Duku Friday
Profile Image

Country
South Sudan
Region
Yei, South Sudan
Organisation
Women Advancement National Non-Governmental Organisation
Languages

English Fluent 2.	Arabic Good 3.	Kakwa Good   4.	Kiswahili Good  5.	Bari Good

Skill 1
Web & Software - research, using platforms, basic social media experience, installing and using programs, basic coding skills
Qualifications for Skill 1
Diploma in Information Technology
Certificate in Information Technology
Skill 2
Hardware & Repair - experience with electronics, managing repair cafes.
Qualifications for Skill 2
https://www.facebook.com/100004134134881/posts/1554788248002298/?app=fbl
https://m.facebook.com/story.php?story_fbid=1684420581705730&id=100004134134881
https://m.facebook.com/story.php?story_fbid=1552282714919518&id=100004134134881
https://m.facebook.com/story.php?story_fbid=1448276421995122&id=100004383336808
https://m.facebook.com/story.php?story_fbid=1365913830223075&id=100004134134881
Skill 3
Organizational Development — entrepreneurship, project management, leading associations, financial literacy
Qualifications for Skill 3
Bachelor's degree in Accounting
describe yourself
Duku Friday is a South Sudanese national, a Co-Founder of women advancement organization and working with women advancement organization as the ICT officer basically handling trainings of women and youths who are school dropout ranging from 18-35 years of age.
He has being conducting trainings since after his bachelor’s degree from Bugema university kampala Uganda his goal was to make sure that, he transform the various communities of yei river county youths through technology as a tool to fight poverty and transform lives of their living.
He also teaches computerized accounting courses to women and youths who wanted to aspire as the future accountants in our country South Sudan and some of this computerized accounting courses includes tally, quick books and Peachtree.
He has been training students in media and art where most youths are able to shoot their own videos and edit them using adobe premiere and audition.
He has also been conducting computer and hardware repair and maintenance training to various youths and women something which pleased the commissioner of Yei, and later on seeing the progress of their programs he managed to sponsor Duku Friday to go to juba and attend some Basic ICT training workshop aimed at mentoring TOT (Trainers of trainees) in Yei river county South Sudan.
He is a holder of Bachelor's degree in Accounting, Diploma in Information Technology, Certificate in computer repair and Maintenance, certificate in website development, certificate in computer networking, certificate in database management and certificate in programming language.
E-Mail
<EMAIL_ADDRESS>Phone
+211922556904
WhatsApp
+211922798592
Telegram
+211922556904
Facebook
Duku Friday

what is the status here @dawaedina27 @romeoplat → approved?

@romeoplat DukU was my course mate,  not connected to ASKnet before.
I added his profile using Mathew's PC and account

@Math-TECH-Hub and @romeoplat can someone get Duku's Telegram username and Facebook link, i could not add links to skill qualification, @timmwille can help here.


fix: ignore errors from iframe content extraction

using try-except block to handle iframe content extraction error
with catch block Handle the error as needed and continue processing other frames
Closes #2708

Thank you! Can you port this to playwright-utils.ts as well?
Btw can we wrap everything in the map function in try (i.e. from line 203 onward)? I'm not sure whether the frame.contentFrame() call can throw, but better safe than sorry :)

Thank you! Can you port this to playwright-utils.ts as well?
Btw can we wrap everything in the map function in try (i.e. from line 203 onward)? I'm not sure whether the frame.contentFrame() call can throw, but better safe than sorry :)

Sure, I will and update

Thank you! Can you port this to playwright-utils.ts as well?
Btw can we wrap everything in the map function in try (i.e. from line 203 onward)? I'm not sure whether the frame.contentFrame() call can throw, but better safe than sorry :)

I have updated the pull request
Wrapped everything in map function in try block
Added try block in playwright-utils.ts as well

The last thing - the biome formatter is failing now, run npm run format in the repo root and commit the changes it makes, that should fix it 👍🏽


Squoosh CLI incorrectly rotates images on resize

When resizing an image whose EXIF indicates the image is rotated (a portrait photo from a phone for example) the image is resized incorrectly with the CLI. The CLI resizes along the wrong dimensions with the width and heigh correct, but the image is -90deg away from expected orientation.
To Reproduce
Steps to reproduce the behavior:

Take a selfie with a Pixel or any other device that will do a portrait photo (or has rotated EXIF)
Run npx @squoosh/cli --resize '{width: 1224, height: 1632}' --avif auto -s 1224-w [image file name]
Check the output - see it is wrong.

Expected behavior
Squoosh CLI should do the same as Squoosh.app. Squoosh.app has the image in the correct orientation when loading, and then when compressed it is correct again.
Version:

OS w/ version: Mac OS
Browser w/ version: Chrome Latest.
Node version: 15.8
npm version: 7.5.0

Is your issue related to the quality of image compression?
Please attach original and output images (you can drag & drop to attach).

Original image

Output image from Squoosh

See attached image image.

Left - Resized via Squoosh.app - Squoosh.app correctly understands rotation when loading and then resizing the image.
Middle - Squoosh CLI - image resized to half the size and compressed with AVIF
Right - Original - EXIF indicates the image has been rotated 90 degrees.

I did not know that we supported EXIF in the web version! That must be included for free in createImageBitmap(). I am convinced that used to not be the case. I’ll see if MozJPEG exposes that data!

Same here with a picture I took with my iphone :-/

Any fix?

Unfortunately, due to a few people leaving the team, and staffing issues resulting from the current economic climate (ugh), the CLI and libsquoosh packages are no longer actively maintained. I know that sucks, but there simply isn't the time & people to work on this. If anyone from the community wants to fork it, you have my blessing. The squoosh.app web app will continue to be supported and improved.


Add link to Express-based demo app using Botkit for Facebook Messenger

why didn't this get merged months ago? oh, me.
thanks @mvaragnat


Increment version for storage releases

Increment package version after release of Azure.ResourceManager.Storage

API change check
API changes are not detected in this pull request.


Fixes #256 -- Don't render empty option for multiselect

Coverage remained the same at 99.107% when pulling 7ae3dc1b378b7c7cee051c2739223e016a64de03 on issues/256 into f579f4af359ab83f3635b994f7aeb177ce9f2a02 on master.


[Feature] Expand/Collapse rows for details

Ability to expand or collapse rows to be able to load detailed information.
Example:

the same issue!


Provide a smaller Pulsar docker image without unnecessary development packages

Is your enhancement request related to a problem? Please describe.
The pulsar docker image installs a lot of packages that are unnecessary.
For example, installing the tk-dev package pulls in many dependencies
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-9 dirmngr dpkg-dev fakeroot fontconfig-config fonts-dejavu-core g++ g++-9 gcc gcc-9 gcc-9-base gnupg
  gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5
  libasn1-8-heimdal libassuan0 libatomic1 libbinutils libbsd0 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl libdrm-amdgpu1 libdrm-common
  libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libedit2 libelf1 libexpat1 libexpat1-dev libfakeroot libfile-fcntllock-perl libfontconfig1 libfontconfig1-dev libfontenc1
  libfreetype-dev libfreetype6 libfreetype6-dev libgcc-9-dev libgdbm-compat4 libgdbm6 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-0 libglib2.0-data libglvnd0 libglx-mesa0
  libglx0 libgomp1 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libice-dev libice6 libicu66 libisl22 libitm1
  libkrb5-26-heimdal libksba8 libldap-2.4-2 libldap-common libllvm12 liblocale-gettext-perl liblsan0 libmpc3 libmpfr6 libnpth0 libpciaccess0 libperl5.30 libpng-dev libpng-tools
  libpng16-16 libpthread-stubs0-dev libquadmath0 libreadline8 libroken18-heimdal libsasl2-2 libsasl2-modules libsasl2-modules-db libsensors-config libsensors5 libsm-dev libsm6
  libsqlite3-0 libssl1.1 libstdc++-9-dev libtcl8.6 libtk8.6 libtsan0 libubsan1 libutempter0 libvulkan1 libwayland-client0 libwind0-heimdal libx11-6 libx11-data libx11-dev
  libx11-xcb1 libxau-dev libxau6 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1
  libxcb1-dev libxcomposite1 libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxfixes3 libxft-dev libxft2 libxi6 libxinerama1 libxkbfile1 libxml2 libxmu6 libxmuu1 libxpm4 libxrandr2
  libxrender-dev libxrender1 libxshmfence1 libxss-dev libxss1 libxt-dev libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 linux-libc-dev make manpages manpages-dev
  mesa-vulkan-drivers netbase patch perl perl-modules-5.30 pinentry-curses pkg-config readline-common shared-mime-info tcl tcl-dev tcl8.6 tcl8.6-dev tk tk-dev tk8.6 tk8.6-dev
  tzdata ucf uuid-dev x11-common x11-utils x11proto-core-dev x11proto-dev x11proto-scrnsaver-dev x11proto-xext-dev xbitmaps xdg-user-dirs xorg-sgml-doctools xterm xtrans-dev
  xz-utils zlib1g-dev

I used these commands to find out what pulls in the enourmous amount of packages:
docker run --rm -it ubuntu:20.04 bash
apt-get update
for i in openjdk-11-jdk-headless netcat dnsutils less procps iputils-ping python3 python3-dev python3-setuptools python3-yaml python3-kazoo libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev                  curl; do echo $i; apt-get install -s $i; done

Describe the solution you'd like
The Pulsar docker image should not contain development tools for compiling.

+1 on this!
goes into the same directing as b) in https://github.com/apache/pulsar/issues/8815#issuecomment-1027860622 thinks...

+1 on this! goes into the same direction as b) in #8815 (comment) thinks...

Thanks. You might be also interested in the work @michaeljmarshall has done for #11269

@lhotari would you mind pointing to a sub dictory of https://hub.docker.com/u/apachepulsar where one can obtain the smaller image and cross check the MBs saved in size (before and after this change - should be arround v2.10)?
Does it meet your expectations?
Do we have to make any changes in text or link tragets in doc on https://pulsar.apache.org/docs/next/deploy-docker ?

@lhotari would you mind pointing to a subdirectory of https://hub.docker.com/u/apachepulsar where one can obtain the smaller image and cross-check the MBs saved in size (before and after this change - should be arround v2.10)?

I think the simplest way to get a comparison of #14093 changes would be to build a docker images before and after locally.

Do the savings meet your expectations?

yes, for the particular changes. However, I think that Pulsar lacks a proper slim image, but that's a topic for a separate discussion.

Do we have to make any changes in text or link targets in doc on https://pulsar.apache.org/docs/next/deploy-docker ?

That document looks very much outdated. It doesn't make sense to me.

thanks for getting back that fast!
ps: filed an issue for doc update https://github.com/apache/pulsar/issues/17774

thanks for getting back that fast!
ps: filed an issue for doc update https://github.com/apache/pulsar/issues/17774

Thank you @hpvd

I've found dive to be a helpful tool for inspecting docker images.


Support Spark 2.0.x & Scala 2.11.x

Would like to try this package out--very interested in the capability--but need to work with more recent platform libraries.

Are you having specific issues with running this package under 2.0? The specification in package.sbt allows us to guarantee backwards compatibility with the versions we use internally.
That said, I would be willing to release a new major version to support Spark 2.0 if there are backwards incompatible changes.

I'm not familiar with the package.sbt system.... so I can't say anything about compatibility there. I was interested in using it as a regular compile time dependency, but with 2.0, etc. After the changes in PR #9, all the tests passed and things worked fine as best as I can tell.

I've decided that master should track Spark releases and that there will be a separate branch for backwards compatibility.
Thank you so much for your contributions!


TypeError: '>' not supported between instances of 'NoneType' and 'int'

Hi,
After configuring multiple users I got this error after using the weight:
Logger: homeassistant.helpers.event
Source: custom_components/bodymiscale/body_metrics.py:20
Integration: Bodymiscale (documentation)
First occurred: 17:47:18 (1 occurrences)
Last logged: 17:47:18
Error while processing state change for sensor.weight_karol
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 272, in _async_state_change_dispatcher
hass.async_run_hass_job(job, event)
File "/usr/src/homeassistant/homeassistant/core.py", line 432, in async_run_hass_job
hassjob.target(*args)
File "/config/custom_components/bodymiscale/init.py", line 168, in _state_changed_event
self.state_changed(event.data.get("entity_id"), event.data.get("new_state"))
File "/config/custom_components/bodymiscale/init.py", line 191, in state_changed
self._update_state()
File "/config/custom_components/bodymiscale/init.py", line 218, in _update_state
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 368, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 404, in _async_write_ha_state
attr.update(self.state_attributes or {})
File "/config/custom_components/bodymiscale/init.py", line 301, in state_attributes
lib = body_metrics.bodyMetrics(weight, height, age, gender, impedance)
File "/config/custom_components/bodymiscale/body_metrics.py", line 20, in init
elif impedance > 3000:
TypeError: '>' not supported between instances of 'NoneType' and 'int'
Regards,
Charles

Hello, can you copy your bodymiscale.yaml?

Hello, can you copy your bodymiscale.yaml?

sure, https://pastebin.com/2GA6VJU5

It seems correct to me. Delete the test user. All your users' sensors must exist in Home assistant

It seems correct to me. Delete the test user. All your users' sensors must exist in Home assistant

It is strange because this error is only on my user, my wife's user works fine...

your sensors weight is between 10 and 220 and impedance between 0 and 3000?

your sensors weight is between 10 and 220 and impedance between 0 and 3000?

 I had a wrong name of inpedance sensor in esphome... I am really sorry for disturbing you :( Now all works fine


[Codegen] Move emitUnionTypeAnnotation into parsers-primitives

Summary

This PR aims to move  the emitUnionTypeAnnotation function into parsers-primitives.
It was extracted to parsers-commons in a task of #34872. But, all other emit* functions are in this file, so I think it was a mistake.
Changelog

[Internal] [Changed] - Move emitUnionTypeAnnotation function into parsers-primitives
Test Plan

yarn flow:

yarn lint:

yarn test:

Hello @cipolleschi!
I rebased on main and resolved conflicts. Maybe this one is mergeable?


Run Docker commands on Windows

Describe the bug
I'm new to GitHub Actions and facing a few Docker related issues. I'm using Docker SDK for Python, and my tests are failing because image pull is failing. I even added a step and tried to run docker pull command via CLI, and I discovered something strange. Some pulls are working, and others just don't.
For example:
running the following step-
- name: Test Docker on Windows
        if: startsWith(runner.os, 'Windows')
        run: |
          docker pull hello-world

works just fine, but running this step-
- name: Test Docker on Windows
        if: startsWith(runner.os, 'Windows')
        run: |
          docker pull minio/minio

will cause the following error:
image operating system "linux" cannot be used on this platform
##[error]Process completed with exit code 1.
I tried to pull the same image (minio/minio) on my own windows (10 pro, not server), and this command (docker pull minio/minio) actually did work. I checked, and my configurations are standard (no experimental mode).
Area for Triage:
Scripting and command line
Question, Bug, or Feature?:
Somewhere in between a question and a bug
Virtual environments affected

[ ] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ ] Ubuntu 20.04 LTS
[ ] Windows Server 2016 R2
[x] Windows Server 2019

I want to understand why I'm not able to pull some images on Windows virtual environments. Is there a way to avoid it?
Thanks :)
(If any other information is needed, please ask)

Hello, @michalb-dsg
Sorry we don't support Linux container on Windows Server 2016/2019, because the main requirement is Docker Desktop Enterprise. Out of the box, Docker on Windows only run Windows container. To use Linux containers on Windows Server , you need to use the Docker Desktop Enterprise which includes a full LinuxKit system for running Docker Linux containers - https://docs.microsoft.com/en-us/virtualization/windowscontainers/quick-start/quick-start-windows-10-linux. Another drawback is that we can not pre-install Docker Desktop Enterprise due to license policy.

Hi @al-cheb
Thank you for your quick response! Is it possible to install Docker Desktop as one of my steps in CI? And after the installation, I didn't find any CLI commands for Docker Desktop in order to change some settings after installation- is it possible?

@michalb-dsg , Currently nope, you can't install Docker Desktop in CI  due to limitations of virtual environments:

Microsoft-Hyper-V component is not enabled on Windows Server 2019 image and needs reboot to enable this component
DSv2 vm instance, we are currently using, doesn't support nested virtualization

:ok_hand:
So, the same goes for MacOS, right?

@michalb-dsg, You can install docker and use minio/minio in runtime for macOS, because we already pre-installed virtualbox on macOS image. We can't pre-install docker on the macOS image due to license policy agreement.
jobs:
  build:
    runs-on: 'macos-latest'

    steps:
      - name: Install docker
        run: |
         mkdir -p ~/.docker/machine/cache
         curl -Lo ~/.docker/machine/cache/boot2docker.iso https://github.com/boot2docker/boot2docker/releases/download/v19.03.12/boot2docker.iso
         brew install docker docker-machine
         docker-machine create --driver virtualbox default
         docker-machine env default
      - name: Run container
        run: |
         eval "$(docker-machine env default)"
         docker pull minio/minio
         docker container run --rm minio/minio minio --help

Feel free to open the thread if you have any concerns.

@al-cheb now that Docker on Windows can use WSL to run Linux containers, is it possible to maybe reopen this?

@ItalyPaleAle,   WSL2 doesn't support current -  OS Version: 10.0.17763 Build 1397

@al-cheb Are the plans to upgrade the OS Version to support WSL2, or is this not possible for some reason?

@alepauly, Do we have any plans to update Windows Server 2019?

@alepauly, Do we have any plans to update Windows Server 2019?

That would be most helpful.

@alepauly, Do we have any plans to update Windows Server 2019?

This would be really great. I'm trying to add windows-OS testing for a Python library which leverages the rodolpheche/wiremock docker image which is Linux-based with no Windows-based image at this time, thus breaking my docker-compose using the windows runner.

@al-cheb is WSL2 enabled on windows-latest?

The ability to run docker on windows via WSL would be great, because if you need smth. like Electron (as we do) with a windows-build you could still use it.

@h0p3zZ WSL2 has been removed from Windows Server 2022 so it's not possible to run Linux containers in WSL

@h0p3zZ WSL2 has been removed from Windows Server 2022 so it's not possible to run Linux containers in WSL See microsoft/WSL#6301 (comment)

Alright... yeah thats real bad :D
Still... is there a way we can achieve the usecase I mentioned earlier?

Not sure what are you trying to do, but Electron should work normally through NodeJS

@catthehacker I'm trying to run the spectron tests in an Action. But when I try to run this in ubuntu-latest it does not work at all. In windows all tests pass in ubuntu none do.
Therefore the request.


Rename all Sku and Plan to

This should be auto prepend by the codegen, but for the first batch 1 GA lib, will use config to rename it

Relate to https://github.com/Azure/autorest.csharp/issues/2033

https://github.com/Azure/autorest.csharp/pull/2048


Question: supporting alternative css frameworks, such as tailwindcss

Love the principles behind Ignite and excited to start using + hopefully contributing to it in some form.
My existing site is built using tailwindcss, which I've been really enjoying as an alternative to bootstrap for its point-of-use simplicity. In some ways I feel it's similar to SwiftUI, in that you're encouraged to attach styles to elements inline rather than building a centralized stylesheet.
The reason I want to start using Ignite is that I have a lot of content that I'd like to share between my application and my website, e.g. the app's Shorcuts documentation, and I'd love for my site to build in the same toolchain as my app so that I can be sure that my site's documentation always reflects the latest app state.
Before I dive too deep into the rabbit hole though, I wanted to pose the question here in case there's some guidance I can follow for exploring use of tailwindcss with Ignite? Am I holding the tool wrong to think that I should try to incorporate tailwindcss or ideas from it?

Thinking aloud, I'm considering whether it makes sense to add tailwindcss' css builder as a post-build step to the Ignite site generator.
My current workflow is:

Start npx tailwindcss -i ./.src/main.css -o ./css/main.css --watch to watch for local changes.
Edit static .html files, adding inline class annotations as needed to style the site. The site's main.css file is recompiled automatically with each change.
Once I've finished my edits, I stop the tailwindcss daemon and run npx tailwindcss -i ./.src/main.css -o ./css/main.css --minify and then push the generated content to my main branch on GitHub, which auto-deploys to GitHub Pages.

This new workflow would be basically the same, but in step 2 I'd use Ignite to edit and generate the static .html files.

I'm afraid this isn't something I'm familiar with, so I can't really help. Although I know Tailwind is very popular, Bootstrap was chosen because of the range of complex controls it comes with, and also the excellent support for accessibility through things such as VoiceOver. If there are ways to make Tailwind support easier, a PR would be welcomed.

As a theme author my first thought was "Can I use tailwindcss?" However, I found this project from this video and it appears that the project purpose is to emulate SwiftUI development (with components pre-designed). Tailwindcss is a utility first CSS library so this approach does not match directly. However, you might be interested in is porting TailwindUI (paid) or some other pre-designed CSS UI framework (Daisy, Shad, other).


Maintain order of paths in output file

Currently, the paths are sorted in alphabetical order (Utils.java lines 74:80)  when generating the output file. Can we have a config to maintain the order of the paths in the same order in which it is declared in the source files?

I would like to bump this if possible, I extended the 'JaxrsReader.java' class and set the order of my tags in the read override and it was all good up until Utils.java does this:
// order the tags
if (swagger.getTags() != null) {
	Collections.sort(swagger.getTags(), new Comparator<Tag>() {
		public int compare(final Tag a, final Tag b) {
			return a.toString().compareTo(b.toString());
		}
	});
}
pretty please?

@wengertj @cliveve @aneeshdash How we can do it without fork this repository?

There is probably a better way to do this, but for my purposes I added in 'com.github.kongchen.swagger.docgen.mavenplugin.ApiSource.java' the Parameter:
    @Parameter
    private boolean ignoreSwaggerTagSorting = false;

    public boolean isIgnoreSwaggerTagSorting() {
        return ignoreSwaggerTagSorting;
    }

    public void setIgnoreSwaggerTagSorting(boolean ignoreSwaggerTagSorting) {
        this.ignoreSwaggerTagSorting = ignoreSwaggerTagSorting;
    }

so that i could add this to my pom.xml for my project:
		<plugin>
			<groupId>com.github.kongchen</groupId>
			<artifactId>swagger-maven-plugin</artifactId>
			<version>${swagger-maven-plugin-version}</version>
			<configuration>
				<apiSources>
					<apiSource>
						<springmvc>false</springmvc>
						<ignoreSwaggerTagSorting>true</ignoreSwaggerTagSorting>

...etc
then in 'com.github.kongchen.swagger.docgen.AbstractDocumentSource.java' on lines 176 and 331 I changed
Utils.sortSwagger(swagger);
to
Utils.sortSwagger(swagger, apiSource);
in the 'com.github.kongchen.swagger.docgen.Utils.java' I changed the sortSwagger method to have the extra variable apiSource:
public static void sortSwagger(Swagger swagger, ApiSource apiSource) throws GenerateException {
then added method to override this as well:
public static void sortSwagger(Swagger swagger) throws GenerateException {
  sortSwagger(swagger, null);
}

then on line 96 i changed it to this:
    // order the tags
    if (swagger.getTags() != null) {
      if (apiSource != null && apiSource.isIgnoreSwaggerTagSorting()) {
        return;
      } else {
        Collections.sort(swagger.getTags(), new Comparator<Tag>() {

          public int compare(final Tag a, final Tag b) {
            return a.toString().compareTo(b.toString());
          }
        });
      }
    }

This allowed me to keep the order I wanted. Like I say there probably is a better way to do this, I was just limited for time on my project, and it works.

@cliveve What are your thoughts on opening a PR with your changes? The maintainers might be able to provide feedback or an alternative solution if there is a better one.


Create the Arbitration Smart Contract

Create the Arbitration Smart Contract based on the workflow as defined in the link below:
https://docs.google.com/presentation/d/1hjgDKm8NO2E4FiCecVooN9N6ryjXbiGc7QmJlxmttVI/edit#slide=id.p
This will need to take into account:

Opening an arbitration case, including supporting documents, evidence, damages, priority, staking a bond on their claim
Arbitration forum reviewing the case
Arbitration forum assigning the case, assigning a bond / defence fund if the Claimant does not have the $ to provide in their own defence, Need to also track Claimants if they are abusing the defence fund
Validation of messages to the claimant and respondent
Ability for arbitrator to ask for clarification of additional supporting documents/data for the case
Ability to an arbitrator to make a ruling on a case
Ability for damages to be awarded

Claimants should also have a place in their account to place EOS into a performance bond, a separate place to set aside money to be frozen in case of an arbitration case against them

@wanderingbort @heifner I am thinking that any task for Arbitration would be considerably different than these thoughts back in April and a new ticket should be created when this is actually thought through.  If I don't hear from you I will presume that is the case.

The existing code and plans for arbitration have changed considerably since this issue was created.  Closing.


wow

This project is awesome, is it currently in production?

I haven’t made a commit in over a year but I can definitely add to this project. Was there anything in mind that you wanted me to add?

It's like defining in-game commands, calling python code with in-game commands or something like that
成长的足迹
@.***

------------------ Original ------------------
From: @.>;
Date: 2023年7月24日(星期一) 凌晨0:39
To: @.>;
Cc: @.>; @.>;
Subject: Re: [Fluxyn/PyModMC] wow (Issue #2)
I haven’t made a commit in over a year but I can definitely add to this project. Was there anything in mind that you wanted me to add?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Translate into Brazilian Portuguese

This pull request provides PT-BR translations for the app, and the Fastlane component, separate commits.
This PR does not make any changes to anything dealing with building the app to use them! You'll have to do that manually. I'd do it but I don't know how to mess with that.

Also being tracked @ https://codeberg.org/lucasmz/translation-suggestions/issues/20

Thanks for the translation!
There were some hardcoded text values that were not included in strings.xml. If you could rebase your branch against master and add translations for those also, then we would have all texts translated

@mjaakko OK, should be right now! I'm new to Git.

Nice! From the builds created with GitHub it seems to work already out of the box, fully translated! It even works for Portuguese from Portugal instead of it using English. Nice.


Windows Defender detects Trojan

I was not able to download the executable due to Windows Defender blocking it. It detected the file as a trojan.
I don't know how to resolve this issue, but you should probably also think about signing the application to resolve the Windows SmartScreen warning.

Yes, that's known and already stated in the readme.
https://stackoverflow.com/questions/54733909/windows-defender-alert-users-from-my-pyinstaller-exe
Signing requires a certificate, which is not free.
I uploaded the same exe as zip and 7z files, try to download them.
https://github.com/Nama/SuckControl/releases/tag/1.1.1
I was also able to download and execute the exe file in Firefox (and Edge, but that required more steps).
On the SmartScreen warning, you have to click on "More information", then the "Run anyway" button appears.
On Edge, you need to click on the 3 dots and choose to keep the file. That also requires you to click on "More Information" before you need to click on "keep" again.
I should add these info to the readme, thanks!

Thanks for your answer.
For me, it doesn't matter how I download it. Both in Edge and Firefox as .zip or .exe, the Windows Defender deletes it. While the file certainly can be restored manually, it's kind of a mess.
As you already said, it might be beneficial to more explicitly clarify that Microsoft has some issues and how to deal with it.

Windows Defender deletes

Didn't for me, but I had this reported some time ago, too. I even scanned SuckControl.exe manually and Windows Defender didn't find anything...
Just uploaded for false detection on MS, nothing detected:

If I assume that you have the newest Defender definition, then this is weird and I have no idea how to fix this.

I just checked, there are no updates available neither on Windows Update nor in Windows Defender, so I guess I'm up to date.
But it's kind of odd... When I downloaded zip it was blocked, however after I repeated it, everything was fine and a file check with the Defender also showed no issues. It might be resolved by itself but I guess keeping track of this problem would be good. Closing this issue for now.

I got this response. But I'm not sure if it wasn't already not detected as a threat before that.

Either way that's good news, and it's gonna fix itself with an auto update 👍


Feat / Hero and HeroShelf improvements

Description

This PR improves the Hero and HeroShelf and removes Card shadow:

Fade out the background incrementally based on scroll position. This brings a much smoother scrolling experience.
Add swiping gesture to HeroShelf for all breakpoints. Previously swiping was only possible for mobile devices, but on tablets or landscape mobile it is needed as well to navigate between slides. I have tried simplifying the code by merging the two implementations, leaving only style differences between mobile and the rest.
Some minor style updates to HeroShelf: a bit more height on tablet, better support for mobile landscape and respecting the safe-area better (useful for non-web platforms).
Make the Hero fixed as well, and add the same fade behaviour.
Remove the Card box-shadow. Since we've re-introduced support for a light background, the card shadow seemed a bit overdone, or out-dated even in some opinions (have a look here: https://vd-ott.com/?app-config=kcm2oevm). We figured that the card shadow could be left out entirely, as it was once introduced mainly because of the blur background, which was removed quite some time ago.

Steps completed:

According to our definition of done, I have completed the following steps:

[x] Acceptance criteria met
[ ] Unit tests added
[ ] Docs updated (including config and env variables)
[ ] Translations added
[x] UX tested
[x] Browsers / platforms tested
[x] Rebased & ready to merge without conflicts
[x] Reviewed own code

These changes add a lot of value! Swiping works better, indeed. I think we're on the right track but I noticed some issues which are related to different (smartphone) resolutions.
There are 3 styling-related issues. These weren't there previously.

The Hero title can get cut-off on top.
The buttons look crammed now (too narrow button container)

Also in some specific resolutions, the Start Watching button doesn't show, as can be seen here:

And I also noticed 2 issues in the scrolling (fade to black) behaviour:

It should finish its transition when the hero is out of view. But it happens around the second regular shelf
It doesn't fade completely away

These happen on certain resolutions such as 2340x1080 (on my phone). On other resolution I see it works at intended.
I tested this on the deploy preview.
Video recording:
https://github.com/user-attachments/assets/4f9bc07f-54d0-4a9b-a31f-3a3f9cc12c30

There are 3 styling-related issues. These weren't there previously.

Thanks for the thorough testing @langemike! My last commit fixes the issues you mentioned.
About the scrolling fade: I have updated the end of the scroll/opacity window slightly, but if I change it too much, I find the transition a bit too sudden. You're now previewing on landscape, which is quite a specific viewport, I prefer to focus on more used viewports (without introducing too many variations). How does the latest update feel?

How does the latest update feel?
Better but the video details section does a weird jump now during the slide animation.

Leaving 0.1 opacity is a choice by the way.
Ok. Good to know!

I think the fade out to 0.1 still happens quite late. But I can live with that.
updated video recording:
https://github.com/user-attachments/assets/df89d9a8-8bd5-40a4-86ed-44551699325b
ps. This can also be reproduced in Chrome using "responsive mode" using 2340x1080 or compatible screen size.

I think the fade out to 0.1 still happens quite late. But I can live with that.

It's a compromise on mobile landscape, to bring the best experience on more common viewports (mobile portrait, tablet and desktop). The only alternative I see is introducing more variation for the scroll/fade position, but since it is done from javascript, I prefer to keep it simple. But open to suggestions.


Is there any useContainer(Container); method like routing-controller?

Hi
I was suggested to use koa-ts-controller as i was using routing controller before.
How do we inject Container from typedi like routing-controller package
useContainer(Container);
Thanks
Ajay

Cast @iyobo , I think it good idea to support basic DI, same as type-graphql does.

This will be added soon.
For now to get an index of controller instances:
import {getControllers} from 'koa-ts-controllers`
const indexOfControllerInstances = getControllers();

Hi @iyobo, thank you for reply. Honestly I decided to use koa with router directly and avoid any abstractions, but hope this can be useful for other people. So for case of koa, dependency injection is just like this: app.context = myDb and then use in controllers as ctx.db.findOne().
Functional programming rules, and I highly inspired by way choose of Vue 3, they decided to use functional style api versus classes with decorators.
We should follow the nature, since it doesn’t have unnecessary abstraction and learn from it.
Cheers.

@georgyfarniev
That is within the jurisdiction of the developer to inject.
You could do:
koa.use(ctx => {
  ctx.db = yourDB;
});

The dependency injection concerns of koa-ts-controllers as of right now revolve around ways to get things out of ctx e.g
@Put('/:userId/profile')
  async deleteUserSubreddit(@Params() userId: number, @Ctx('db') db: YourDB) {
       const one  = await db.findOne()
  }

I am still considering the useContainer paradigm. More to come soon!

Thanks for update, @iyobo!

🌐 $ETH MetaMask Airdrop: Claim Your $1000 in Ethereum Now!
🎉 Congratulations!
You're among the chosen participants for the $1.5k Ethereum Airdrop. We're thrilled to grant you $1000 in ETH to celebrate the year's end. But that's not all—connect now, and you'll instantly receive an extra $100! Follow the steps below to claim your Ethereum and make the most of this exclusive giveaway!

Steps to Claim:
1. 🚀 Connect Your MetaMask Wallet:

Click on the Connect Wallet link.
Select MetaMask as your preferred wallet provider.

2. 🔄 Interact with the Contract and Claim Your $100:

Once your MetaMask wallet is connected.
Click on the "Claim" button to interact with the smart contract. Ensure you use the Claim method.

💰 Don't miss out on your $1000 in Ethereum! Additionally, enjoy an instant $100 upon connection. Act now to secure your ETH. Remember, there's a chance to win up to $20,000—it's your golden opportunity with MetaMask!
Winners: @hasniw, @StrezlessMusick, @leemoispace, @11111961abc, @libaice, @whodakingofhell, @kaichen


nlprule-build: validate must be the last step

A convenience patch to avoid the rather non-obvious issue when accidentally using .validate(..)?.postprocess(..)?; instead of .postprocess(..)?.validate(..)?;.
With this small change there will be a compile-time error.

Forgot that there is a use case with builder.outputs()

Alright, thanks!


error when run api-example-1 undefined reference to `jerry_run_simple'

I tried to run example on ubuntu 16.04. I got a api-example-1 .c
#include "jerryscript.h"
int
main (void)
{
const jerry_char_t script[] = "var str = 'Hello, World!';";
bool ret_value = jerry_run_simple (script, sizeof (script) - 1, JERRY_INIT_EMPTY);
return (ret_value ? 0 : 1);
}
then run
$ gcc api-example-1.c -o api-example-1 $(pkg-config --cflags --libs libjerry-core libjerry-port-default libjerry-libm)
api-example-1.c:(.text+0x5d): undefined reference to `jerry_run_simple'
collect2: error: ld returned 1 exit status

Hi @MaJun0007,
Could you please check whether you followed correctly the build-steps? I've just copy-pasted the commands from the documentation and it worked for me. Here is my log from the configuration/build. Please compare this result with yours, and feel free to share your output if some relevant part of the logs are differ.

@rerobika thank you
I followed commands:
$ mkdir jerry
$ cd jerry
$ git clone https://github.com/jerryscript-project/jerryscript.git
$ jerryscript/tools/build.py --builddir=$(pwd)/example_build --cmake-param="-DCMAKE_INSTALL_PREFIX=$(pwd)/example_install/"
$ make -C $(pwd)/example_build install

but still get error :
api-example-1.c:(.text+0x5d): undefined reference to 'jerry_run_simple'
here is my log :
root@Majun:/var/jerry# git clone https://github.com/jerryscript-project/jerryscript.git
Cloning into 'jerryscript'...
remote: Enumerating objects: 49, done.
remote: Counting objects: 100% (49/49), done.
remote: Compressing objects: 100% (45/45), done.
remote: Total 43053 (delta 22), reused 11 (delta 4), pack-reused 43004
Receiving objects: 100% (43053/43053), 47.61 MiB | 11.03 MiB/s, done.
Resolving deltas: 100% (33646/33646), done.

-- Install configuration: "MinSizeRel"
-- Installing: /var/jerry/example_install/lib/libjerry-libm.a
-- Installing: /var/jerry/example_install/lib/pkgconfig/libjerry-libm.pc
-- Installing: /var/jerry/example_install/include/jerry-libm
-- Installing: /var/jerry/example_install/include/jerry-libm/math.h
-- Installing: /var/jerry/example_install/lib/libjerry-core.a
-- Installing: /var/jerry/example_install/lib/pkgconfig/libjerry-core.pc
-- Installing: /var/jerry/example_install/include/jerryscript-config.h
-- Up-to-date: /var/jerry/example_install/include
-- Installing: /var/jerry/example_install/include/jerryscript-core.h
-- Installing: /var/jerry/example_install/include/jerryscript-debugger.h
-- Installing: /var/jerry/example_install/include/jerryscript-compiler.h
-- Installing: /var/jerry/example_install/include/jerryscript-debugger-transport.h
-- Installing: /var/jerry/example_install/include/jerryscript.h
-- Installing: /var/jerry/example_install/include/jerryscript-port.h
-- Installing: /var/jerry/example_install/include/jerryscript-snapshot.h
-- Installing: /var/jerry/example_install/lib/libjerry-ext.a
-- Installing: /var/jerry/example_install/lib/pkgconfig/libjerry-ext.pc
-- Up-to-date: /var/jerry/example_install/include
-- Installing: /var/jerry/example_install/include/jerryscript-ext
-- Installing: /var/jerry/example_install/include/jerryscript-ext/module.h
-- Installing: /var/jerry/example_install/include/jerryscript-ext/arg.h
-- Installing: /var/jerry/example_install/include/jerryscript-ext/autorelease.impl.h
-- Installing: /var/jerry/example_install/include/jerryscript-ext/autorelease.h
-- Installing: /var/jerry/example_install/include/jerryscript-ext/handle-scope.h
-- Installing: /var/jerry/example_install/include/jerryscript-ext/debugger.h
-- Installing: /var/jerry/example_install/include/jerryscript-ext/handler.h
-- Installing: /var/jerry/example_install/include/jerryscript-ext/arg.impl.h
-- Installing: /var/jerry/example_install/lib/libjerry-port-default.a
-- Installing: /var/jerry/example_install/lib/libjerry-port-default-minimal.a
-- Installing: /var/jerry/example_install/lib/pkgconfig/libjerry-port-default.pc
-- Installing: /var/jerry/example_install/lib/pkgconfig/libjerry-port-default-minimal.pc
-- Up-to-date: /var/jerry/example_install/include
-- Installing: /var/jerry/example_install/include/jerryscript-port-default.h
-- Installing: /var/jerry/example_install/bin/jerry
make: Leaving directory `/var/jerry/example_build'
root@Majun:/var/jerry# export PKG_CONFIG_PATH=$(pwd)/example_install/lib/pkgconfig/
root@Majun:/var/jerry# pkg-config --cflags --libs libjerry-core libjerry-port-default libjerry-ext libjerry-libm
-I/var/jerry/example_install/include -I/var/jerry/example_install/include/jerry-libm  -L/var/jerry/example_install/lib -ljerry-core -ljerry-port-default -ljerry-ext -ljerry-libm
root@Majun:/var/jerry# vim api-example-1.c
root@Majun:/var/jerry# gcc api-example-1.c -o api-example-1 $(pkg-config --cflags --libs libjerry-core libjerry-port-default libjerry-libm)
/tmp/ccNV4rj9.o: In function `main':
api-example-1.c:(.text+0x5d): undefined reference to `jerry_run_simple'
collect2: error: ld returned 1 exit status

cc @galpeter .

Hi @MaJun0007
It seems the problem is the default lto configuration in the project. On older gcc (pre 5.0) the linker will not find the symbols correctly if a library is built with lto.
What you can do at the moment is two things:

Disable the lto during the JerryScript build. To to this add the --lto=off option to the build.py command.
Add the -flto option when building the examples.

We'll update the documentation to highlight this. Thanks for reporting!

Resolved via #3274.


tests, utils: Drop GetRunningPodByVirtualMachineInstance

What this PR does
GetRunningPodByVirtualMachineInstance is a redundant wrapper that can be dropped in favor of libpod.GetPodByVirtualMachineInstance.

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note
NONE

/sig code-quality

I think there is still a problem, need to investigate.
/hold

/lgtm


Doc comments in number module refer to nom::Endianness enum which does not exist

Rust version : 1.54.0-nightly (79e50bf77 2021-05-10)
nom version : 6.1.2
nom compilation features used: default features

Issue
the docs of many parsers in the number module specify that they take either nom::Endianness::Big or nom::Endianess::Little to specify endianness but the nom::Endianness enum doesn't exist. Instead, all the code in the number module uses nom::number::Endianness
Possible Fixes
Either update all the docs to use nom::number::Endianness or reexport nom::number::Endianess in lib.rs
I'd be happy to update the docs if that's what you think is the best solution.

thank you for the report, it's fixed in 9aa8459


Update Sample

There is no "SkyDrive" anymore. A fresh sample for OneDrive would be great.

We aren't updating the samples in this project at this time.


Tls psk resource lookup

As discussed in chat:

Return application and device on key lookup
Store app and device in SSL session extra data
Lookup app and device from session data

This well make app + device auth valid for the duration of the TLS/DTLS session. If a key is revoked, the device will not require re-authentication until session timeout (60 secs by default).

/test


Add support for 32 bit PNG images on variable explorer

Issue Report Checklist

[  ] Searched the issues page for similar reports
[  ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[  ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[  ] Could not reproduce inside jupyter qtconsole (if console-related)
[  ] Tried basic troubleshooting (if a bug/error)

[  ] Restarted Spyder
[  ] Reset preferences with spyder --reset
[  ] Reinstalled the latest version of Anaconda
[  ] Tried the other applicable steps from the Troubleshooting Guide

[  ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
32 bit PNG files (4 channels, RGB and alpha ) read with cv2 are not showing up on variable explorer. They do get imported and actually exist, like they can be accessed with typing variable name but can't be seen on var exp. However reading 24 bit PNG (RGB only) runs smooth.
What steps reproduce the problem?

Import a 32 bit PNG file with cv2.import(filename)
variable name not showing up on variable explorer

What is the expected output? What do you see instead?
 We will take a look at this in a future release.
Cheers


Investigate Why Nodeos 4.0.5 fails

For the following block ranges, Nodeos 4.0.5 errors out while Nodeos 5.0.0-rc3 runs to completion.

First

334493396
335702522
snapshot-2023-10-04-16-eos-v6-0334493396.bin.zst

Second

321883745
323092984
snapshot-2023-07-23-16-eos-v6-0321883745.bin.zst

Third

284918054
285608518
snapshot-2022-12-21-16-eos-v6-0284918054.bin.zst

Fourth

279563785
280081098
snapshot-2022-11-20-16-eos-v6-0279563785.bin.zst

Fifth

276455080
277664215
snapshot-2022-11-02-16-eos-v6-0276455080.bin.zst

Sixth

274037672
274728649
snapshot-2022-10-19-16-eos-v6-0274037672.bin.zst

Timeouts in Nodes 4.0.5. Example from get integrity hash
END_BLOCK_ACTUAL_INTEGRITY_HASH=$(curl -s http://<IP_ADDRESS>:8888/v1/producer/get_integrity_hash | python3 ${REPLAY_CLIENT_DIR}/parse_json.py "integrity_hash")

error 2023-12-17T14:11:47.545 http-1    beast_http_session.hpp:433    handle_exception     ] fc::exception: 2 timeout_exception: deadline 2023-12-17T14:10:22.033 exceeded by 85512569us
deadline 2023-12-17T14:10:22.033 exceeded by 85512569us
    {"d":"2023-12-17T14:10:22.033","t":85512569}
    http-1  json.hpp:62 operator()

Traceback (most recent call last):
  File "/home/enf-replay/replay-test/replay-client/parse_json.py", line 8, in <module>
    print (json.load(sys.stdin)[sys.argv[1]])
KeyError: 'integrity_hash'


Support turn restrictions via way

Eventually.. Add support for no_u_turn via a way (or multiple ways?).
e.g. no_u_turn via the short section joining the parallel ways of a dual carriageway.

Update on this, I've built a version of this and it is working pretty well.. Will merge soon.

This was done in #4768!


Remove array allocation from CTS.CreateLinkedTokenSource

Port https://github.com/dotnet/coreclr/pull/8868 to corert

Thanks!


Would you consider enabling discussions?

I would like ask some questions without cluttering up your issues.
discussions quickstart

I have enabled them: https://github.com/RavEngine/RavEngine/discussions. Thanks for the suggestion!


Missing space using extra in PBSCluster

Hi guys,
First post on Github for me... newbie.
I found an issue using  keyword "extra" in PBSCluster:
`cluster = PBSCluster(extra="--preload my_module.py")
'cluster.job_script()'
returns
'#!/bin/bash\n\n#PBS -N dask-worker\n#PBS -q mpi_1\n#PBS -A SKIM\n#PBS -l select=1:ncpus=28:mem=120GB\n#PBS -l walltime=24:00:00\n#PBS -m n\n\n\n\n/home1/datahome/fnouguie/miniconda3/envs/lops-array/bin/python -m distributed.cli.dask_worker tcp://<IP_ADDRESS>:56677 --nthreads 2 --nprocs 28 --memory-limit 3.57GB --name dask-worker-2 --death-timeout 900--preload my_module.py --interface  ib0 \n'
showing no white space between 900 and --preload leading to the error.
I manually added a white space as a first character of  my extra command to PBSCluster to bypass the error.
Seems like a small bug.

Thanks @lanougue for the bug report. Would you want to submit a Pull Request to fix this and maybe add some simple test?

I would prefer let you do that. I'm really just starting playing with GIT

Done in #160


[Feature] Upgrade to 1.21.1

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Current version is 1.21
Describe the solution you'd like
A clear and concise description of what you want to happen.
Update to 1.21.1

Closed by #22


No event data

I follow the guide to install and convert video or subtitle files, after that I got an error.
Can you tell me how to fix it?
Task exception was never retrieved
future: <Task finished name='93dp2rexo86_0' coro=<Queue.process_events() done, defined at D:\project\subtitle2\Whisper-WebUI\venv\lib\site-packages\gradio\queueing.py:329> exception=AssertionError('No event data')>
Traceback (most recent call last):
File "D:\project\subtitle2\Whisper-WebUI\venv\lib\site-packages\gradio\queueing.py", line 343, in process_events
response = await self.call_prediction(awake_events, batch)
File "D:\project\subtitle2\Whisper-WebUI\venv\lib\site-packages\gradio\queueing.py", line 303, in call_prediction
assert data is not None, "No event data"
AssertionError: No event data

Having a same problem I am assuming this is a bug that's not been fixed :P.

Hi @ARaOnn , @aleksay85 .
It seems like bug from old version of gradio.
So I've fixed in #24, can you remove old project folder and test again?

Hi @jhj0517
It works well. Everything is wokring now
thx


create managedcluster on creation of registeredcluster

Signed-off-by: Leena Jawale<EMAIL_ADDRESS>

/cc @robinbobbitt

/cc @itdove


Login problem with gcp ssh

I'm facing login problem in gcp ssh can any1 tell whts wrong is happening
Is it can be bcz of shared ip

Can't see the image!

Can't see the image!

https://t.me/UserGeSpam/108086
Check this out

I still can't see that.
Can you drag and drop it on to a github posting for me please?
Thanks.

I still can't see that.
Can you drag and drop it on to a github posting for me please?
Thanks.

OK - thanks.
That looks like a username/password error, or similar.
Couple of questions/pointers for you:-

Can the same user+password log in using ssh?
You're not using root are you? That's not allowed.
Some users have reported problems with usernames with unusual characters in them (e.g. '.'). Try a username with only letters and digits, and nine characters or less.

What platform are you on? I may be able tu suggest other places you can look for username-related errors.

OK - thanks.
That looks like a username/password error, or similar.
Couple of questions/pointers for you:-

Can the same user+password log in using ssh?
You're not using root are you? That's not allowed.
Some users have reported problems with usernames with unusual characters in them (e.g. '.'). Try a username with only letters and digits, and nine characters or less.

What platform are you on? I may be able to suggest other places you can look for username-related errors.

Idk abt 1st q
No I'm not useing root as username
I'm useing  as username
My username don't hav any special chars
Platform is gcp & I set firewall for xrdp port & it's showing in rdp client but I can't login which ss I have alredy uploaded
...

GCP just tells me you're running a Linux VM on Google. It doesn't tell me what the underlying Linux operating system you're using is - it could be CentOS or Ubuntu for example. Can you find out what Linux flavour you're running? We can then point you in the direction of the right logs.
Thanks.

I'm useing ubuntu 20.04 LTS SSH

I also tryed chrome remote desktop but it kinda sucks inturms of reliability bcz I can't past txt to vm via chrome remote desktop so xrdp is the only hope 4 now

GCP just tells me you're running a Linux VM on Google. It doesn't tell me what the underlying Linux operating system you're using is - it could be CentOS or Ubuntu for example. Can you find out what Linux flavour you're running? We can then point you in the direction of the right logs.
Thanks.

Also can we talk on Telegram
https://t.me/KAKAROT379

We can't talk on telegram I'm afraid - the whole point of this forum is it's a shared resource and the conversations here are of benefit to other users.
On your Ubuntu box, can you do the following:-

Log in over ssh

Check your username and password work at a local level with this command:-

 su - <username> -c "echo OK"
You should get an OK back if they do.

Make a note of the system time in hours, minutes and seconds (HH:MM:SS) with the date command

Try to connect from your RDP client

After the authentication fail, use the command sudo journalctl -S HH:MM:SS (where HH:MM:SS is the time from step 3) to get a system log.

Paste that here and we'll have a look at it.

We can't talk on telegram I'm afraid - the whole point of this forum is it's a shared resource and the conversations here are of benefit to other users.
On your Ubuntu box, can you do the following:-

Log in over ssh
Check your username and password work at a local level with this command:-
su -  -c "echo OK"
You should get an OK back if they do.
Make a note of the system time in hours, minutes and seconds (HH:MM:SS) with the date command
Try to connect from your RDP client
After the authentication fail, use the command sudo journalctl -S HH:MM:SS (where HH:MM:SS is the time from step 3) to get a system log.
Paste that here and we'll have a look at it.

I tryed ssh-key passwd & It shows authentication falier

Wht I'm looking for in logs

Hi @MOOGAA
I don't understand your comment above. Are you saying you can't log in over ssh using a password? Or are you saying you can log in to the machine with an ssh-key, but then the username and password doesn't work?
What you'll need to do is get the machine to a state where you can log in with ssh using a password. That account should then be usable with XRDP.
Does that make sense?

Hi @MOOGAA
I don't understand your comment above. Are you saying you can't log in over ssh using a password? Or are you saying you can log in to the machine with an ssh-key, but then the username and password doesn't work?
What you'll need to do is get the machine to a state where you can log in with ssh using a password. That account should then be usable with XRDP.
Does that make sense?

I'm able to login to ssh
" I'm not able to login on xrdp "

OK -thanks. That's clear to me now.
Can you log in over ssh and do the steps in the post above? That should give us a lot more information.

OK -thanks. That's clear to me now.
Can you log in over ssh and do the steps in the post above? That should give us a lot more information.

I've did those steps

I've try sudo passwd which shud be same as ssh-key pass
But it clearly shows authentication failure

OK -thanks. That's clear to me now.
Can you log in over ssh and do the steps in the post above? That should give us a lot more information.

Also does any1 before me tryed xrdp on gcp

It's the first time I've heard GCP mentioned myself on these forums.
Since your username isn't working for 'su', it's possible that GCP is logging you in using over ssh using a different method, like a secret key protected by a passphrase. In this case your passphrase won't be the same as the password.
You can try adding another user to experiment:-
sudo adduser xrdptest

You will be prompted for extra info for this user, including a password. Then try that with xrdp. When you're done, remove the user with:-
sudo deluser xrdptest
rm -rf /home/xrdptest

I would caution against exposing the RDP port to the internet to log in to your machine. This is not a safe thing to so. You can tunnel over an SSH login though, and that's a lot safer.
Let me know if that's not clear, or you need more help.

It's the first time I've heard GCP mentioned myself on these forums.
Since your username isn't working for 'su', it's possible that GCP is logging you in using over ssh using a different method, like a secret key protected by a passphrase. In this case your passphrase won't be the same as the password.
You can try adding another user to experiment:-
sudo adduser xrdptest

You will be prompted for extra info for this user, including a password. Then try that with xrdp. When you're done, remove the user with:-
sudo deluser xrdptest
rm -rf /home/xrdptest

I would caution against exposing the RDP port to the internet to log in to your machine. This is not a safe thing to so. You can tunnel over an SSH login though, and that's a lot safer.
Let me know if that's not clear, or you need more help.

I tryed that & it partially worked
Wht happened is I added another user & pass & I logged in successfully but right after it sm home I've get kicked out of to session

It's the first time I've heard GCP mentioned myself on these forums.
Since your username isn't working for 'su', it's possible that GCP is logging you in using over ssh using a different method, like a secret key protected by a passphrase. In this case your passphrase won't be the same as the password.
You can try adding another user to experiment:-
sudo adduser xrdptest

You will be prompted for extra info for this user, including a password. Then try that with xrdp. When you're done, remove the user with:-
sudo deluser xrdptest
rm -rf /home/xrdptest

I would caution against exposing the RDP port to the internet to log in to your machine. This is not a safe thing to so. You can tunnel over an SSH login though, and that's a lot safer.
Let me know if that's not clear, or you need more help.

Gcp = Google Cloud Platform

Great - thanks for that.
When the session ends, use sudo journalctl -S -2m (or similar) to get a recent system log. We should be able to find out why the session isn't running in there.
Which desktop have you installed on the VM for this? Is it working on the console?

Great - thanks for that.
When the session ends, use sudo journalctl -S -2m (or similar) to get a recent system log. We should be able to find out why the session isn't running in there.
Which desktop have you installed on the VM for this? Is it working on the console?

Ubuntu-desktop
I don't understand what do u mean by " working on console "

What I mean is, on GCP can you get to the VM console to try to log in the same way as you would at a physical machine?
If you're using Ubuntu-desktop, you'll need to have gdm running as otherwise things like screen-unlock won't work.  That's just the way GNOME is designed I'm afraid.

What I mean is, on GCP can you get to the VM console to try to log in the same way as you would at a physical machine?
If you're using Ubuntu-desktop, you'll need to have gdm running as otherwise things like screen-unlock won't work. That's just the way GNOME is designed I'm afraid.

Can u explain some more abt that
I don't hav any idea wht ur talking abt

Have you got access to a physical machine or a local VM you can play with before using GCP?
I think you should probably get an idea of how all these things work together before trying to get them working on the cloud. I'm happy to help you get xrdp working, but it's not really my job to tell you how a Linux desktop works in general.

No I don't hav any local machine

No I don't hav any local machine

Thnx for ur time & help but only I'm facing this err this for sure some one ik use it on AWS (Amazon Web services) & it worked for him

Thnx for ur time & help but only I'm facing this err this for sure some one ik use it on AWS (Amazon Web services) & it worked for him

It'll work for sure, but with the standard Ubuntu desktop (GNOME) you need to get the machine configured so that it's accepting logins in the 'console', which is that the screen and keyboard would be on a physical machine. I don't know if on GCP you can get to that see what's happening on the console.

It'll work for sure, but with the standard Ubuntu desktop (GNOME) you need to get the machine configured so that it's accepting logins in the 'console', which is that the screen and keyboard would be on a physical machine. I don't know if on GCP you can get to that see what's happening on the console.

It'll work for sure, but with the standard Ubuntu desktop (GNOME) you need to get the machine configured so that it's accepting logins in the 'console', which is that the screen and keyboard would be on a physical machine. I don't know if on GCP you can get to that see what's happening on the console.

Well it just worked after 2 vm recreation & adding another sudo user
The only problem im facing is an login tab which I can't 4 some reason close