Bug(SSR): npm run prerender fails with HttpErrorResponse

Is there an existing issue for this?

[X] I have searched the existing issues

Which Transloco package(s) are the source of the bug?
Transloco
Is this a regression?
No
Current behavior

ng new
ng add @nguniversal/express-engine
ng add @ngneat/transloco
Add {{ 'hello' | transloco }} to app.component.html
Add { "hello": "world" } to assets/i18n/en.json
ng build && ng run {app-name}:server <- works fine
npm run prerender <- fails with error below:

Prerendering 1 route(s) to (...)browser...Error while trying to load "en" HttpErrorResponse {
    headers: HttpHeaders {
      normalizedNames: Map(0) {},
      lazyUpdate: null,
      headers: Map(0) {}
    },
    status: 0,
    statusText: 'Unknown Error',
    url: 'http://localhost:4200/assets/i18n/en.json',
    ok: false,
    name: 'HttpErrorResponse',
    message: 'Http failure response for http://localhost:4200/assets/i18n/en.json: 0 Unknown Error',
    error: ProgressEvent2 {
      type: 'error',
      target: XMLHttpRequest2 {
        onloadstart: null,
        onprogress: null,
        onabort: null,
        onerror: null,
        onload: null,
        ontimeout: null,
        onloadend: null,
        _listeners: [Object],
        onreadystatechange: null,
        _anonymous: undefined,
        readyState: 4,
        response: null,
        responseText: '',
        responseType: 'text',
        responseURL: '',
        status: 0,
        statusText: '',
        timeout: 0,
        upload: [XMLHttpRequestUpload],
        _method: 'GET',
        _url: [Url],
        _sync: false,
        _headers: [Object],
        _loweredHeaders: [Object],
        _mimeOverride: null,
        _request: null,
        _response: null,
        _responseParts: null,
        _responseHeaders: null,
        _aborting: null,
        _error: null,
        _loadedBytes: 0,
        _totalBytes: 0,
        _lengthComputable: false
      },
      currentTarget: XMLHttpRequest2 {
        onloadstart: null,
        onprogress: null,
        onabort: null,
        onerror: null,
        onload: null,
        ontimeout: null,
        onloadend: null,
        _listeners: [Object],
        onreadystatechange: null,
        _anonymous: undefined,
        readyState: 4,
        response: null,
        responseText: '',
        responseType: 'text',
        responseURL: '',
        status: 0,
        statusText: '',
        timeout: 0,
        upload: [XMLHttpRequestUpload],
        _method: 'GET',
        _url: [Url],
        _sync: false,
        _headers: [Object],
        _loweredHeaders: [Object],
        _mimeOverride: null,
        _request: null,
        _response: null,
        _responseParts: null,
        _responseHeaders: null,
        _aborting: null,
        _error: null,
        _loadedBytes: 0,
        _totalBytes: 0,
        _lengthComputable: false
      },
      lengthComputable: false,
      loaded: 0,
      total: 0
    }
  }
  ERROR Error: Unable to load translation and all the fallback languages

Expected behavior
Prerender process should work the same way as ng build && ng run {app-name}:server
Please provide a link to a minimal reproduction of the bug, if you won't provide a link the issue won't be handled.
See current behavior (1-3)
Transloco Config
provideTransloco({
        config: {
          availableLangs: ['en', 'es'],
          defaultLang: 'en',
          // Remove this option if your application doesn't support changing language in runtime.
          reRenderOnLangChange: true,
          // prodMode: !isDevMode(),
        },
        loader: TranslocoHttpLoader
      }),

Please provide the environment you discovered this bug in
Transloco: 5.0.7
Angular: 16
Node: 18
Package Manager: yarn v1
OS: macOS (13.5.2)

Browser
SSR

Additional context
No response
I would like to make a pull request for this bug
No

Somebody know how to do prerendering with transloco ?

Heyo, I solved this by providing a special TranslocoLoader only for the server. I already use this in production with success.
This is the AppServerModule I updated to provide the new loader
@NgModule({
  imports: [AppModule, ServerModule, IonicServerModule],
  providers: [
    { provide: TRANSLOCO_LOADER, useClass: TranslocoServerHttpLoaderService },
  ],
  bootstrap: [AppComponent],
})
export class AppServerModule {}

The loader itself don't tries to get the JSON files by using a HTTP call and just uses the file system:
@Injectable({
  providedIn: 'root',
})
export class TranslocoServerHttpLoaderService implements TranslocoLoader {
  getTranslation(lang: string): Observable<Translation> {
    const assetsFolder = join(
      process.cwd(),
      'dist',
      'app',
      'browser',
      'assets',
      'i18n',
    );
    return of(
      JSON.parse(fs.readFileSync(`${assetsFolder}/${lang}.json`, 'utf8')),
    );
  }
}

With this solution I managed it to prerender the files for different languages.

Had a similar issue in an existing app, the new pre-rendering done in ng build failed.
I fixed it by following the docs' recommendation.
i.e changing
return this.http.get<Translation>(`${environment["baseUrl"]}/assets/i18n/${lang}.json`);

to
return this.http.get<Translation>(`/assets/i18n/${lang}.json`);

{ provide: TRANSLOCO_LOADER, useClass: TranslocoServerHttpLoaderService },

thanks. my project angular v17 with ssr without standalone. solved my problem

Heyo, I solved this by providing a special TranslocoLoader only for the server. I already use this in production with success. This is the AppServerModule I updated to provide the new loader
@NgModule({
  imports: [AppModule, ServerModule, IonicServerModule],
  providers: [
    { provide: TRANSLOCO_LOADER, useClass: TranslocoServerHttpLoaderService },
  ],
  bootstrap: [AppComponent],
})
export class AppServerModule {}

The loader itself don't tries to get the JSON files by using a HTTP call and just uses the file system:
@Injectable({
  providedIn: 'root',
})
export class TranslocoServerHttpLoaderService implements TranslocoLoader {
  getTranslation(lang: string): Observable<Translation> {
    const assetsFolder = join(
      process.cwd(),
      'dist',
      'app',
      'browser',
      'assets',
      'i18n',
    );
    return of(
      JSON.parse(fs.readFileSync(`${assetsFolder}/${lang}.json`, 'utf8')),
    );
  }
}

With this solution I managed it to prerender the files for different languages.

thanks. my project angular v17 with ssr without standalone. solved my problem

No updates on this issue?

@limes @mackelito Did you try the solution @NLueg suggested?
Feels like something worth mentioning in the docs if someone wants to open a PR and add it 🙂


[FLOC-1366] Add missing test from #1137.

https://clusterhq.atlassian.net/browse/FLOC-1366
https://github.com/ClusterHQ/flocker/pull/1137#issuecomment-73492624

Please address the minor docstring comments and merge.


POST methods and POST data

Seems like POST methods don't send the POST data, such as name when creating a book. I tried to use name and data kwargs but always got 422 error.

I have the same issue.

Same here..

Closing per merge request.
Please create another ticket if you continue to experience issues.


Modified config file with new instructions for --device

TLDR : Updated config comments to provide a better way to select --device for passing through to librespot, and a one liner to show available options.
I was having trouble that every time i plugged in a HDMI into HDMI2, the alsa hw allocation would change for my DAC (from hw:2 to hw:3) on raspi4. This meant no audio would come out, and it would require a config change. To solve this rather than using hw:2,hw:3 etc. I'm using hw:CARD=IQaudIODAC,DEV=0. I have also provided a oneliner to extract the correct --device options for use with raspotify

a one liner to show available options.

thanks for this, you have saved me what would have probably been hours configuring my new DAC

In my opinion this could go to README (Configuration/ Troubleshooting) as it's more exposed.
It took me 2 hours to find solution in issues.

To verbose for comments in a config. Better suited to a wiki entry.


list vms

Diff Review: Main Changes:

Added a new function called list_vms() to list all Google Cloud virtual machines within a project.

Broken SOLID Concepts:

No broken SOLID concepts found.

Security Review: No Major Security Issues Found

Perf Review: No major performance concerns identified.

Credentials Review: No major security issues found.


Error while starting kernel

Issue Report Checklist

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

[x] 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
When I start spyder via the GUI I get an error message on startup in the IPython console that repeats itself at short intervals. If I open spyder via the terminal a different error is printed every few seconds in the console.
What steps reproduce the problem?

starting spyder via GUI
starting spyder via terminal

What is the expected output? What do you see instead?
I dont expect a startup error from the kernel. cant run any programs in spyder.
Paste Traceback/Error Below (if applicable)

An error ocurred while starting the kernel
Traceback (most recent call last):
File "/home/alexander/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/alexander/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/spyder_kernels/console/__main__.py", line 11, in
start.main()
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/spyder_kernels/console/start.py", line 272, in main
import_spydercustomize()
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/spyder_kernels/console/start.py", line 32, in import_spydercustomize
import spydercustomize
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/spyder_kernels/customize/spydercustomize.py", line 25, in
from IPython.core.getipython import get_ipython
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/IPython/__init__.py", line 54, in
from .core.application import Application
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/IPython/core/application.py", line 23, in
from traitlets.config.application import Application, catch_config_error
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/traitlets/config/__init__.py", line 6, in
from .application import *
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/traitlets/config/application.py", line 19, in
from traitlets.config.configurable import Configurable, SingletonConfigurable
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/traitlets/config/configurable.py", line 12, in
from .loader import Config, LazyConfigValue, _is_section_key
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/traitlets/config/loader.py", line 16, in
from ipython_genutils.path import filefind
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/ipython_genutils/path.py", line 13, in
import random
File "/home/alexander/random.py", line 9, in
import numpy.random as rd
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/numpy/__init__.py", line 142, in
from . import add_newdocs
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/numpy/add_newdocs.py", line 13, in
from numpy.lib import add_newdoc
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/numpy/lib/__init__.py", line 8, in
from .type_check import *
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/numpy/lib/type_check.py", line 11, in
import numpy.core.numeric as _nx
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/numpy/core/__init__.py", line 103, in
from numpy.testing._private.pytesttester import PytestTester
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/numpy/testing/__init__.py", line 12, in
from ._private.utils import *
File "/home/alexander/anaconda3/lib/python3.6/site‑packages/numpy/testing/_private/utils.py", line 16, in
from tempfile import mkdtemp, mkstemp
File "/home/alexander/anaconda3/lib/python3.6/tempfile.py", line 45, in
from random import Random as _Random
ImportError: cannot import name 'Random'

Terminal error:
js: Not allowed to load local resource: file:///home/alexander/anaconda3/lib/python3.6/site.packages/spyder/utils/help/static/css/default.css

Versions

Spyder version: 3.1.1
Python version: 3.6.6
Qt version: 5.9.6
PyQt version: 5.9.2
Operating System name/version: ubtunu 18.04.1 LTS

Dependencies

IPython >=4.0     :  6.5.0 (OK)
cython >=0.21     :  0.28.5 (OK)
jedi >=0.9.0      :  0.12.1 (OK)
matplotlib >=2.0.0:  2.2.3 (OK)
nbconvert >=4.0   :  5.3.1 (OK)
numpy >=1.7       :  1.15.1 (OK)
pandas >=0.13.1   :  0.23.4 (OK)
psutil >=0.3      :  5.4.7 (OK)
pycodestyle >=2.3 :  2.4.0 (OK)
pyflakes >=0.6.0  :  2.0.0 (OK)
pygments >=2.0    :  2.2.0 (OK)
pylint >=0.25     :  2.1.1 (OK)
qtconsole >=4.2.0 :  4.4.1 (OK)
rope >=0.9.4      :  0.11.0 (OK)
sphinx >=0.6.6    :  1.7.9 (OK)
sympy >=0.7.3     :  1.2 (OK)

This is not an error in Spyder, but most probably caused because you created a file called random.py in the working directory the kernel starts (your home is the default working directory used by Spyder).


[ko] Update outdated files dev-1.25-ko.1 (M11-M16)

https://github.com/kubernetes/website/issues/36863
Update outdated contents of 1.25-ko.1 branch
M11. content/en/docs/concepts/configuration/secret.md | 3(+XS) 3(-)
M12. content/en/docs/concepts/containers/container-lifecycle-hooks.md | 1(+XS) 1(-)
M13. content/en/docs/concepts/containers/images.md | 5(+XS) 2(-)
M14. content/en/docs/concepts/extend-kubernetes/api-extension/custom-resources.md | 9(+XS) 9(-)
M15. content/en/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins.md | 1(+XS) 1(-)
M16. content/en/docs/concepts/extend-kubernetes/operator.md | 20(+S) 20(-)

/assign @seokho-son

Thanks @Seo-yul !
/lgtm

/approve


Switch STUN client to async

Follow up to #23
This might mean forking stunclient? There is an async method, but it looks old and may not be compatible with new-style futures. I'm not familiar enough with the history of async on rust to know without investigating.

There's a compatibility layer for in futures 0.3.x for using libraries on the old futures 0.1.x: https://rust-lang.github.io/futures-rs/blog/2019/04/18/compatibility-layer.html
or maybe https://crates.io/crates/rustun?

FWIW, rustun is also what we're using for the server. I don't remember what roadblock I ran into, when trying to use it client-side.

Closing since async stun isn't high-priority and this issue has been stale for a while


use tagged string schemas

Changes
update the following schemas/tags to be type: string instead of type: object

timedelta
timestamp

also removed some type: object schema requirements where only tag is sufficient
Related Issues
Closes # (add issue numbers)
Checks

[ ] updated CHANGELOG.md
[ ] updated tests
[ ] updated doc/
[ ] update example/tutorial notebooks
[ ] update manifest file

The only downside of using tagged strings instead of dicts is that we cannot add our wx_user and wx_metadata fields to these but I think that is ok for these singleton instances?

Shouldn't be an issue. Can't think of an example where this would make sense.

the missing coverage on the legacy code is expected, I will test again with the reference dataset


[SPARK-48637][CORE] On-demand shuffle migration peer refresh during decommission

What changes were proposed in this pull request?

(This is the first PR that trying to make the BlockManagerDecommissioner event drvien.)
This PR adds functionality for BlockManagerDecommissioner to do the on-demand shuffle migration peer refresh when there is a peer aborted instead of always relying on the periodical refresh thread (i.e., shuffleBlockMigrationRefreshExecutor).
Strictly speaking, in today's solution, when there is queued peers (i.e., ShuffleMigrationRunnable) in shuffleMigrationPool, the peer can also be immediately refilled if there is a peer aborted. So the most useful case for this PR is when there is no queued peers.
Please note that this PR doesn't remove the periodical refresh thread. Because one on-demmand refresh can't guarantee it can always reach the STORAGE_DECOMMISSION_SHUFFLE_MAX_THREADS. (We could probably use a dedicated delayed timer to get rid of the periodical refresh thread totally in the future though.)
Why are the changes needed?

BlockManagerDecommissioner today relies on a periodical thread to refresh the shuffle migration peers and the thread does the refresh every 30s (by default). So when a peer aborted, it can take at most 30s to get a fresh migration peer, which is quite low effeicent.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Add unit test.
Was this patch authored or co-authored using generative AI tooling?

No

cc @dongjoon-hyun @bozhang2820 @warrenzhu25

This makes sense to me as an improvement, especially if y'all are seeing failures happen in production often.

Could you fix the related test failures, @Ngone51 ?
[info] *** 4 TESTS FAILED ***
[error] Failed: Total 4110, Failed 4, Errors 0, Passed 4106, Ignored 10, Canceled 2
[error] Failed tests:
[error] 	org.apache.spark.storage.BlockManagerSuite


"incorrect casing" error after upgrade to 4.1.0

I have had a lot of issues since upgrading to 4.0.0.
Some were solved by reverting the include pattern to what it was before (https://github.com/pd4d10/vite-plugin-svgr/issues/91#issuecomment-1732028802).
One only turned up as error in production (might have been a warning in dev): Failed to execute 'createElement' on 'Document': The tag name provided ('/assets/101-021d24df.svg') is not a valid name.. Not sure about this one, I am not looking forward to promoting the next version of my project to production.
The one I am facing now in development is:
@react-refresh:267 Warning: </src/components/Projekte/Karte/layers/Pop/statusGroupSymbols/100.svg?react /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.
    at /src/components/Projekte/Karte/layers/Pop/statusGroupSymbols/100.svg?react
    at div
    at http://localhost:5173/node_modules/.vite/deps/chunk-M4JZEDWM.js?v=082e3f10:1545:45
    at div
    at http://localhost:5173/node_modules/.vite/deps/chunk-M4JZEDWM.js?v=082e3f10:1545:45
    at div
    at ContextMenuTrigger (http://localhost:5173/src/modules/react-contextmenu/ContextMenuTrigger.js:53:5)
    at Row (http://localhost:5173/node_modules/.vite/deps/mobx-react-lite.js?v=082e3f10:284:12)
    at div
    at Pop (http://localhost:5173/node_modules/.vite/deps/mobx-react-lite.js?v=082e3f10:284:12)
    at PopFolder (http://localhost:5173/node_modules/.vite/deps/mobx-react-lite.js?v=082e3f10:284:12)
    at ApFolders (http://localhost:5173/node_modules/.vite/deps/mobx-react-lite.js?v=082e3f10:284:12)
    at div
    at Aps (http://localhost:5173/node_modules/.vite/deps/mobx-react-lite.js?v=082e3f10:284:12)
    at Ap (http://localhost:5173/node_modules/.vite/deps/mobx-react-lite.js?v=082e3f10:284:12)
    at ProjektNode (http://localhost:5173/src/components/Projekte/TreeContainer/Tree/Root/Projekt/index.jsx?t=1698308651647:21:3)
    at TreeRoot (http://localhost:5173/node_modules/.vite/deps/mobx-react-lite.js?v=082e3f10:284:12)
    at div
    at http://localhost:5173/node_modules/.vite/deps/chunk-M4JZEDWM.js?v=082e3f10:1545:45
    at TreeComponent (http://localhost:5173/node_modules/.vite/deps/mobx-react-lite.js?v=082e3f10:284:12)
    at Suspense
    at div
    at http://localhost:5173/node_modules/.vite/deps/chunk-M4JZEDWM.js?v=082e3f10:1545:45
    at ErrorBoundary (http://localhost:5173/node_modules/.vite/deps/react-error-boundary.js?v=082e3f10:18:5)
    at MyErrorBoundary (http://localhost:5173/src/components/shared/ErrorBoundary.jsx:192:3)
    at TreeContainer (http://localhost:5173/node_modules/.vite/deps/mobx-react-lite.js?v=082e3f10:284:12)
    at Suspense
    at div
    at http://localhost:5173/node_modules/.vite/deps/chunk-M4JZEDWM.js?v=082e3f10:1545:45
    at div
    at Pane2 (http://localhost:5173/node_modules/.vite/deps/react-split-pane.js?v=082e3f10:1782:5)
    at div
    at SplitPane2 (http://localhost:5173/node_modules/.vite/deps/react-split-pane.js?v=082e3f10:1913:5)
    at http://localhost:5173/node_modules/.vite/deps/chunk-M4JZEDWM.js?v=082e3f10:1545:45
    at div
    at http://localhost:5173/node_modules/.vite/deps/chunk-M4JZEDWM.js?v=082e3f10:1545:45
    at ProjektContainer (http://localhost:5173/node_modules/.vite/deps/mobx-react-lite.js?v=082e3f10:284:12)
    at div
    at http://localhost:5173/node_modules/.vite/deps/chunk-M4JZEDWM.js?v=082e3f10:1545:45
    at Projekte (http://localhost:5173/node_modules/.vite/deps/mobx-react-lite.js?v=082e3f10:284:12)
    at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=082e3f10:3405:5)
    at Outlet (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=082e3f10:3728:26)
    at div
    at http://localhost:5173/node_modules/.vite/deps/chunk-M4JZEDWM.js?v=082e3f10:1545:45
    at ProtectedRoute (http://localhost:5173/node_modules/.vite/deps/mobx-react-lite.js?v=082e3f10:284:12)
    at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=082e3f10:3405:5)
    at Outlet (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=082e3f10:3728:26)
    at Suspense
    at div
    at http://localhost:5173/node_modules/.vite/deps/chunk-M4JZEDWM.js?v=082e3f10:1545:45
    at AppBarComponent (http://localhost:5173/node_modules/.vite/deps/mobx-react-lite.js?v=082e3f10:284:12)
    at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=082e3f10:3405:5)
    at RenderErrorBoundary (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=082e3f10:3365:5)
    at DataRoutes (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=082e3f10:4376:5)
    at Router (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=082e3f10:3735:15)
    at RouterProvider (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=082e3f10:4249:5)
    at RouterComponent
    at Suspense
    at SnackbarProvider2 (http://localhost:5173/node_modules/.vite/deps/notistack.js?v=082e3f10:1245:24)
    at ThemeProvider (http://localhost:5173/node_modules/.vite/deps/chunk-NZHYSJQ4.js?v=082e3f10:3087:5)
    at ThemeProvider2 (http://localhost:5173/node_modules/.vite/deps/chunk-NZHYSJQ4.js?v=082e3f10:3146:5)
    at ThemeProvider (http://localhost:5173/node_modules/.vite/deps/@mui_material_styles.js?v=082e3f10:296:12)
    at StyledEngineProvider (http://localhost:5173/node_modules/.vite/deps/chunk-NZHYSJQ4.js?v=082e3f10:943:5)
    at QueryClientProvider (http://localhost:5173/node_modules/.vite/deps/@tanstack_react-query.js?v=082e3f10:2715:3)
    at ApolloProvider (http://localhost:5173/node_modules/.vite/deps/@apollo_client.js?v=082e3f10:5697:19)
    at App

What baffles me is that this only happens in one file. Dozens of other files import svg without issues (in development...).
If I use
import TpopSvg100 from '../../Karte/layers/Tpop/statusGroupSymbols/100.svg'

instead of
import TpopSvg100 from '../../Karte/layers/Tpop/statusGroupSymbols/100.svg?react'

this does not happen.
I am not feeling good with the state of importing svg's using vite right now. Appending ?react in some imports but not in others just to circumvent weird errors seems way too hacky to me.
I am developing on Windows 11 which could influence casing issues.

I was able to address the precise issue you were facing.
vite.config.ts

import TpopSvg100 from '../../Karte/layers/Tpop/statusGroupSymbols/100.svg' => You may enter in this way, and it will function.

Yes that works, as I wrote above (sorry for not being clear enough).
What I do not understand is why
import TpopSvg100 from '../../Karte/layers/Tpop/statusGroupSymbols/100.svg?react'

does not work.
Appending ?react seems to be the correct way to do it, so why can I do it sometimes but others it fails?

fwiw I was getting this same error because my import path was wrong and the svg didn't exist at the specified path

I had the same error and solved it by removing a leftover declaration file from CRA were we handled svg's
Hope it helps:
declare module "*.svg" {
  const content: React.FunctionComponent<React.SVGAttributes<SVGElement>>;
  export default content;
}


Add type information to package members

This addresses #207. New types should be added to syntax support as they appear.
This also flips the inspector to a scratch buffer rather than standard buffer.

LGTM :+1:


Can't apply master's ./yaml/01_crd.yaml using 1.19 or 1.21

I've created a brand-new v1.21.1 cluster with kind, that I installed with brew:
$ kind create cluster                                                                                130 ↵
Deleting cluster "kind" ...
kind delete cluster  0.07s user 0.09s system 120% cpu 0.129 total
Creating cluster "kind" ...
 ✓ Ensuring node image (kindest/node:v1.21.1) 🖼
 ✓ Preparing nodes 📦
 ✓ Writing configuration 📜
 ✓ Starting control-plane 🕹
 ✓ Installing CNI 🔌
 ✓ Installing StorageClass 💾
Set kubectl context to "kind-kind"
You can now use your cluster with:

kubectl cluster-info --context kind-kind

Not sure what to do next? 😅  Check out https://kind.sigs.k8s.io/docs/user/quick-start/

When I try to apply ./yaml, it starts with 00_rbac.yaml and then 01_crd.yaml . But 01_crd.yaml fails as shown below:
$ kubectl apply -f 00_rbac.yaml
namespace/clustersecret created
serviceaccount/clustersecret-account created
clusterrole.rbac.authorization.k8s.io/clustersecret-role-cluster created
role.rbac.authorization.k8s.io/clustersecret-role-namespaced created
clusterrolebinding.rbac.authorization.k8s.io/clustersecret-rolebinding-cluster created
rolebinding.rbac.authorization.k8s.io/clustersecret-rolebinding-namespaced created

$ kubectl apply -f 01_crd.yaml
The CustomResourceDefinition "clustersecrets.clustersecret.io" is invalid: spec.versions[0].schema.openAPIV3Schema: Required value: schemas are required

It looks like this problem was introduced in commit dab8b484d430e67ca50ecab1a1d5211fe605e0dc.
$ git log -1 01_crd.yaml                                                                                commit dab8b484d430e67ca50ecab1a1d5211fe605e0dc
Author: Nico<EMAIL_ADDRESS>Date:   Wed Nov 24 21:51:58 2021 +0100

    Update object definitions up to k8s 1.21.4

$ git checkout dab8b484d430e67ca50ecab1a1d5211fe605e0dc^
Note: switching to 'dab8b484d430e67ca50ecab1a1d5211fe605e0dc^'.
You are in 'detached HEAD' state. Bla bla bla

$ kubectl apply -f 01_crd.yaml
Warning: apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
customresourcedefinition.apiextensions.k8s.io/clustersecrets.clustersecret.io created

I've also tried with a 1.22.2 cluster (which is newer than the 1.21.4 mentioned in the log for dab8b484d430e67ca50ecab1a1d5211fe605e0dc) and it fails with the same error.

I can confirm this on my cluster with v1.19.

Hey guys!
Same thing here on v1.23.1.
@zakkg3 any hope for an update? :)

Hello @zakkg3, I am having this problem when deploying the yaml crd, I have the K8s version 1.22.4, do you have any update to correct this problem?
❯ k apply -f 01_crd.yaml
The CustomResourceDefinition "clustersecrets.clustersecret.io" is invalid: spec.versions[0].schema.openAPIV3Schema: Required value: schemas are required

Thanks

Hi, thanks all for reporting it seems to be a wrong yaml  api version spec. feel free to use the yaml for the previous release, ignore the api deprecation warnings there: https://github.com/zakkg3/ClusterSecret/archive/refs/tags/0.0.6.zip
I am on the middle of my Msc exam sessions. If someone is willing to create PR I'll merge it. Otherwise I'll have some time in a couple of weeks.


Decompose labels for new issues

Following the Jira->GH migration, we should clean up our labels (discussion thread here - https://lists.apache.org/thread/cqj0n7qpck2g8f1wn41xqks37xqohcp3). For all new issues, this decomposes labels into their component parts (e.g. 'io-java-gcp' => 'io', 'java', 'gcp'), and unifies labels with common meaning into a single label (e.g. 'testing', 'tests' => tests).
Once this is in, I'll run a script to update all the existing labels to match this new format. Then we can delete the old now defunct labels
Part of #21684

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?


JAMES-3756 SessionTranslator should only ask 1 delegation source

Co-authored-by: Benoit TELLIER<EMAIL_ADDRESS>

Hi, please cherry-pick https://github.com/quantranhong1999/james-project/commit/bf1461a9dc0f75d9ed1eb72cba13631fd9a5bd96
where I provide some fixes for this.


Added support for os.path.join

Added support for the os.path.join function.

@pieterclaerhout Great stuff! Thanks for contributing! :-)


Add support for authorizer hook

This PR adds support for an authorizer hook, which is the best way to get information about what the parser is doing. There shouldn't be any surprises here (except for maybe using a new definition of Action and not including docs that can be generated by a macro).

This looks fine to me at a glance, but @gwenn knows much more about sqlite parsing than I do.


问题咨询

您好，
我在复现您的代码时，出现了一些bug，但我不知道如何去调整，望您从百忙之中，抽空看一下，感谢您。
我在执行Training memory bank model/train_singlenet_phase_1fc.py时出现的bug如图所示：

你好，是因为你的data读取路径不对

That is actually not the case.

Hi, I have the same problem as you, have you solved it?

@gxr12 you can check out my fork
https://github.com/HannahHaensen/TMRNet/blob/main/code/Training memory bank model/get_paths_labels.py
i think this was the file I solved it. But I can check later and post a sufficient reply currently just available via phone

Thanks @HannahHaensen for the reply!
We can also adjust the names of downsampled frames to ensure alignment with the GT labels.

@gxr12 you can check out my fork
https://github.com/HannahHaensen/TMRNet/blob/main/code/Training memory bank model/get_paths_labels.py
i think this was the file I solved it. But I can check later and post a sufficient reply currently just available via phone

Hi Hannah, I'm wondering if you have tried this implementation on m2cai2016, because when I implemented it, there seemed to be something wrong with video5. The last index of the frame I cut out is 51425, while there are only 51424 labels in the GT files. This happened only on video 5, other videos worked well. I'm wondering if this is because video 5 in the dataset itself is missing one label.


obj folders showing errors

Yea, these debug folders would not let me live, C# extension automatically adds these debug folders and then this messes up my entire project. How to fix this?

A lot has changed with O# code analysis since this issue was opened. If you are still having problems, please open a new issue at https://github.com/omnisharp/omnisharp-roslyn/issues


Removed all local keystores, added configurable trust dir

Started the work to support a better cli.

Removed local truststores
Added configurable base directory
Added configurable remote server
Fixed key listing/removal

Signed-off-by: Diogo Monica<EMAIL_ADDRESS>

Looks like we would not be able to merge this PR because of merge conflicts. Please rebase, fix conflicts, and force push to your branch.

LGTM, we'll address the https://notary-server thing later.


Broken Navigation Link

Most navigation links in the user guide are not functioning, such as the link for 'Configuring an IDP' from https://github.com/awslabs/service-workbench-on-aws/blob/mainline/docs/docs/user_guide/sidebar/admin/auth/introduction.md which leads to a non-existent page. Is this a non-existent page or broken link?

Hi @mahbuburrahman thank you for bringing this issue to our attention, we will take a look at this and get back to you once we have updates , in the meantime you can see our documentation here
Thanks
-Fernando

Thanks @FernandoAranda


Not Able to listen to audio file(aac)

Version
Tell us which versions you are using ( you can see the versions in your package.json ):
react-native-audio : 4.3.0
react-native :0.59.9
react :  16.8.3
using react-native-sound? Yes/No
Yes
Expected behavior:
What were you trying to do and what did you expect to happen?
I am trying to work out on Example associated with Repository, Not able to listen to the recorded file
Actual behavior
What happened when your issue occurred? The more details you provide here the better the odds are that someone will help you resolve your issue
Steps to reproduce
Record and Stop
Find out the file.aac located in your folder
Play it via Safari or iOS Device
Not playing
Please provide us with some code that we can run to reproduce your error.
Link to a git repo that reproduces the bug
If you put a GitHub repo that reproduces your issue then you significantly increase your chances of getting help!

@trinadhkoya  I'm facing the same issue. Have you found any solution?

@Preethyp try checking out on real device and let me know

@trinadhkoya9 It doesn't work in real device too.


Use pydata-sphinx-theme

Use the pydata-sphinx-theme theme for the docs, since many other projects have now adopted it as well.

Looking good on the RTD preview (the theme also has a dark mode):

It looks great! Thank you @jtpio!


*: expose startHTTP

Separate controller.Run() from startHTTP() allows backup to have a choice
on what to run and not to run.
This is important because backup will be adding a flag to enable only
serve backup http requests.

cc/ @hongchaodeng @hasbro17


What snippets are available?

I will be adding documentation soon. (I wasn't giving much attention to this repo lately, but hopefully that will change)

+1

+1

why my atom doesn't work with snippet.
For example, rcc...

Is any documentation coming up?

Hey, guys. I went ahead and added some documentation to the README in Pull Request #11 listing all the snippets available. I hope you guys like it!

So much time since @nbkhope PR. Is there no moving?

@Frozzy6 this project is pretty much dead. :)


remove Dimension operator size_t

Wait until DLDT changes to allow its CI pass.

OV pre-commit check https://openvino-ci.intel.com/job/private-ci/job/gitlab_precommit/9704/

https://gitlab-icv.inn.intel.com/inference-engine/dldt/merge_requests/7630


Inconsistencies accessing rclone mount from different services

Hi, I've noticed after mounting an amazon cloud drive with rclone mount that I can access files with the local system (i.e bash) but not other services. For example,  I cannot copy files via SCP, or nginx when using this same mount point.  I have attempted to SCP a file with root and this results in a generic (winSCP) error. Same with nginx.
I assume this is a permission issue as I notice the files don't have execute permissions (I'm not 100% sure if this is required in order to download files using the above method). Directory traversal works fine, I can browse through any of the trees, I just can't download files.
ls -alh
drwxr-xr-x 1 root root 0 Oct  6 16:12 Directory
cd Directory
ls -alh
-rw-r--r-- 1 root root  81M Oct  6 11:11 File
I have played around with various umasks to no avail. I also tried a read-only mount and this doesn't make any difference.
I do a 'cp File /tmp/' and this works fine suggesting  the permission on the local system is OK.
Any thoughts?
Cheers

What is your rclone version (eg output from rclone -V)

rclone v1.33-41-g90aee8c-fix-timeoutÎ²

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Debian 8 64bit

Which cloud storage system are you using? (eg Google Drive)

Amazon Cloud Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount Crypt: /home/acd/ --allow-other &

A log from the command with the -v flag (eg output from rclone -v copy /tmp remote:tmp)

--allow-other is what you need so that users other than the user that did the mounting can read the files.  Not having that will give you the permissions denied errors when accessing files with root.
Maybe you need --allow-root too?
What do the permissions look like - do an ls -l of some files you are having a problem with and post them here...

@ncw Thanks for getting back to me.
I'm already using --allow-root (and it doesn't look like fuse lets you use both together). In my original post I already have some of the outputs of 'ls -l'. It shows single files have this:
-rw-r--r-- 1 root root 81M Oct 6 11:11 hello.txt
Doesn't really look right to me? Even with a umask of 000 I don't seem to get execute permissions on the files.

You don't need the execute bit for files only directories.
Have you tried adding user_allow_other to /etc/fuse.conf? You need that in order to make allow other and allow root work.

Yep, it's setup there already. The more I look at this the less I think it's a permission error.
Nginx reports this in the error log:
2016/10/06 22:25:52 [crit] 13735#0: *13387 pread() "/var/www/media/hello.txt" failed (29: Illegal seek) while sending response to client
If it were a permission error I'd get a 403 (which I can replicate by changing the permissions on a file). I'd read something in another issue log saying that seeking isn't supported. Does the way nginx gets file require this? The same thing happens when using SCP though.

It would be worth re-testing with the latest beta: http://beta.rclone.org/v1.33-52-gaedad89/ which does definitely support seek.

Aha! Looks like that has fixed the issue.  Thanks so much for providing this fix. OK to mark this as resolved!

Excellent :-)


Add mixed disk mode retention option and file seeker

Coverage decreased (-0.1%) to 78.088% when pulling 81f2eacce8cca7da0b4e6901f42500ad150427da on martinm-mix-mode into 9fb4e91d765c1190019bd5f37af2ce13b869a20d on master.

Can we reuse some more code between the reader and seeker?


Cell Diff has 'A' for label

Type: Bug
Cell Diff has 'A' as label along with cell number.

@DonJayamanne The issue is that hovering on the A does not give detailed info on what it is. Modified cells don't have M. So it is in consistent. So it can certainly be improved. Ask is:

Style it differently so it does not look like a title
Add hover so that it provides additional details like the SCM view hover

@DonJayamanne Can you clarify the ask for me here? This looks like a notebook multi file diff editor integration issue.


Proposed Middleware Helper

Hey there,
I have been working with the develop branch for a little while now on a new API and found it helpful to create a Middleware helper that exposes a before() and after() method. I thought it might be useful as part of the core library, so I'm submitting it for consideration.
For the developer, using the class is just a matter of extending Slim\Http\Middleware, and then overloading either the before() method, the after() method, or both. The helper class will handle calling the methods within the flow and also calling the next callable in the middleware stack in the middle.
Example of before():
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponsetInterface;

class Authenticate extends \Slim\Http\Middleware {

    public function before(RequestInterface $request, ResponseInterface $response)
    {
        $request = AuthLayer::checkAuth($request);
        return [$request, $response];
    }
}

Example of after():
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponsetInterface;

class SetJSONHeader extends \Slim\Http\Middleware {

    public function after(RequestInterface $request, ResponseInterface $response)
    {
        $response = $response->withHeader('Content-Type', 'application/json');
        return $response;
    }
}

For this implementation before() returns an array containing the Request and Response objects, while after() just returns the Response object. Honestly, it might be better if the objects are stored on the class itself, and the methods do not need to return anything. Happy to make that change if necessary.
Hope this proves to be of value. I find it cleans up my implementations a lot and helps me to better conceptualize just how exactly my middleware is working within the flow. On the other hand, if this is too specialized an implementation to go into the core framework, or is not of interest, I totally understand.
Take care,
JB

Hi @stratedge thanks for suggesting this, but I think it would move us back into the issue of making Middleware's Slim specific again.
We are trying to move away from having Middleware being specific to 1 framework, this way we can share the same middleware between different frameworks. I know that most frameworks seem to be sticking to the trend of making everything framework specific, but we don't think this is the route we want to go down again, the developer should decide if they want to make their middleware specific to Slim rather than us directing them in that direction.
Yet again thanks for your suggestion but I don't think it sits well with the current goal of the project.

Totally understand - and in the long run I definitely agree that the best route is the one that fosters interoperability through some standardization.
I'll take a look at the list of issues and see if there are bugs or improvements to squash in my spare time, that'll probably be more helpful for everyone.
I'll close out the request so it doesn't linger.


added type to manage node position in the merkle tree

cc @maxtaco

Tests look great. Only other comment is the off by one issue we discussed + tests for that


Conditional Access and Configurable token lifetimes

Hi
I understand from the documentation provided that Configurable Token Lifetime policy will not be used to configure refresh tokens from the 1st November.
https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-lifetimes
Can we get a bit more clarification on what Microsoft's plans are, as from following these discussion threads it seems like there has been some confusion in the community on this issue.
I understand that Access tokens set via Azure Configurable token lifetimes will not be deprecated after 1st November so my understanding is that Configurable Token Lifetime policy will enhance (not supersede) the existing features provided by Azure by providing support for rolling windows, persistent browser sessions and more governance over application access.
Are there plans in future to let Conditional Access define access tokens or is the Configurable Token lifetime policy here to stay?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 02ff3d62-dc0e-ad0c-f5ae-418337cf31e4
Version Independent ID: d50952b5-6b98-c40d-d3a3-f9cbec58dd28
Content: Configurable token lifetimes in Azure Active Directory
Content Source: articles/active-directory/develop/active-directory-configurable-token-lifetimes.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@LachlanJB Thank you for your feedback . We will research on this and update this thread.
Thank you.

Hello @LachlanJB regarding :

Can we get a bit more clarification on what Microsoft's plans are, as from following these discussion threads it seems like there has been some confusion in the community on this issue.
I understand that Access tokens set via Azure Configurable token lifetimes will not be deprecated after 1st November so my understanding is that Configurable Token Lifetime policy will enhance (not supersede) the existing features provided by Azure by providing support for rolling windows, persistent browser sessions and more governance over application access.
Are there plans in future to let Conditional Access define access tokens or is the Configurable Token lifetime policy here to stay?

All updates in regards to this can be found on the tech community blog found here : https://techcommunity.microsoft.com/t5/Azure/ct-p/Azure
and here: https://azure.microsoft.com/en-us/updates/
Currently there are no updates in regards to this, so although refresh tokens have moved to the new authentication session management, access tokens currently are remaining to use policies.
If you're interested in this feature please submit it at the uservoice here and if there's enough community support for this, the product team will look into implementing it accordingly : https://feedback.azure.com/forums/169401-azure-active-directory

@LachlanJB Please let us know if there are anymore questions within the scope of this git issue. If not, I will be closing out this git issue by end of day today. Please reopen this git issue if you have anymore concerns. Thanks

@LachlanJB Hope the above clarification helped you . Should you need any further help , please let us know. We will be closing this issue now.

Hi
Just a couple questions and observations to point out since I last posted.

I noticed that the cutoff date mentioned at the top of this article has been moved to May 1, 2020.

Yet this document still says 1 November 2019 "Microsoft plans to retire the configurable token lifetime feature on November 1 and replace it with the Conditional Access authentication session management feature."
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/howto-conditional-access-session-lifetime
(I assume that this is an oversight and needs to be corrected)

Secondly I would like to clarify the proposed changes that Microsoft will make to the Policy Definition Properties
Policy Definition Properties

Currently a policy definition has the following properties.
Access Tokens
AccessTokenLifetime
Refresh tokens
MaxInactiveTime
MaxAgeSingleFactor
MaxAgeMultiFactor
Session tokens
MaxAgeSessionSingleFactor
MaxAgeSessionMultiFactor
As I understand not all of these properties need to be defined in a policy as they each have a default value if none is assigned. However once the session and refresh tokens are deprecated can we expect to see any changes in the policy definition property and how that is programmed via PowerShell? I.e will the cmdlets for the definition property be automatically updated to remove the deprecated properties for refresh and session tokens or will they remain but just have no effect?
Lastly, I am investigating how this change will effect SharePoint On-Premise 2013. Our testing so far has shown that SharePoint 2013 on-premise doesn't support refresh or session tokens so in this situation we only have to be concerned with access tokens thus this update should not be relevant to us - but I am interested to understand how this update will effect existing policy definitions just so we are aware of any changes.
Thanks!


experimenting with generic indexed trees

Please provide a paragraph or two giving a summary of the change, including relevant motivation and context.
Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

[ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
[ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to relevant issues (if any exist).

Benchmark results
Metrics with a significant change:

note_trial_decrypting_time_in_ms (32): 71.5 (+44%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit a138860b and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
223,008
868,052
3,449,504

l1_rollup_execution_gas
842,095
3,595,160
22,204,873

l2_block_processing_time_in_ms
2,091 (+1%)
8,114
33,548 (+1%)

note_successful_decrypting_time_in_ms
318
946 (+2%)
3,450 (+1%)

note_trial_decrypting_time_in_ms
28.0
:warning: 71.5 (+44%)
200

l2_block_building_time_in_ms
20,403
81,255
326,238

l2_block_rollup_simulation_time_in_ms
16,816
67,124
269,516

l2_block_public_tx_process_time_in_ms
3,505
13,869
55,738

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
23,022 (-1%)
44,426 (-1%)

note_history_successful_decrypting_time_in_ms
2,162
4,211

note_history_trial_decrypting_time_in_ms
164 (+3%)
232 (+1%)

node_database_size_in_bytes
3,302,700
3,647,575

pxe_database_size_in_bytes
29,748
59,307

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
200 (+1%)
43,077
20,441

private-kernel-ordering
115
25,833
9,689

base-rollup
2,962
667,692 (+1%)
873

root-rollup
88.4 (+1%)
4,072
1,097

private-kernel-inner
260
64,484
20,441

public-kernel-private-input
171
25,203
20,441

public-kernel-non-first-iteration
168
25,245
20,441

merge-rollup
11.1 (+1%)
2,592
873

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
10,323
25,938


Package.json and bower.json version tags do not match release tag

For release tag 0.4.0
the package.json file shows:
"version": "0.1.2",
the bower.json shows:
"version": "0.3.0",
Please update these accordingly,
Thank you

Hi,
I just update ngPopup on Bower and NPM with v0.4.1


Avalonia Browser View disable resizing edge

Cannot resize browserview in full extended view

Can you detail a bit more the problem and how to reproduce it?

this is when the margin is set, i can resize window, but without margin this cannot be done


ssh-audit: 3.2.0 -> 3.3.0

Diff: https://github.com/jtesta/ssh-audit/compare/refs/tags/v3.2.0...v3.3.0
Changelog: https://github.com/jtesta/ssh-audit/releases/tag/v3.3.0

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 349629

x86_64-linux

:white_check_mark: 3 packages built:

ssh-audit
ssh-audit.dist
ssh-audit.man

@ofborg build ssh-audit


Error in dialogue_reader.gd: _evaluate_conditiona_expresion()

First, let me start in sharing our appreciation for your plug. Very cool and works really well.
This error occurs when we attempt to perform conditional evaluations within a choice to create dynamic dialogue. While it seems as though this error does not impact the flow of the dialogue, we figured it would be worth letting you know.
Example Evaluation:
$if roll1 < 35 + Atlmod
Error:

We had a further error where on occasion the dialogue reader would not / could not parse our state sent to the event. But at this point we believe this may be an issue with our .godot state getting corrupted with git. (Still looking into this.)

Oh! Thanks for cutting this issue!
I'll take a look as soon as I can this week!

@SpamFaux
Could you share a little more on the setup for this conditional.
for example, values of variable "roll1" and "Atlmod" and rest of the dialogue script in that dialogue node.
I'm trying to replicate the error with:
$if roll1 < 35 + Atlmod
but my tests are passing.
Also, are you running this with the most recent commit on the main?
*ps: regarding the state parsing... the plugin just assumes it's a Dictionary type and rely on Godot's handling of Dictionary variable so if there is a parsing issue, it does sound like it might be some sort of corruption issue.

Ah i see,
so sometimes you get that error messaging if the variables used in evaluation has no value.
However, functionally it still treats it as "false".
If this is the case for you, currently it'll just give you a harmless (non-flow-blocking) error messaging then evaluate it as false.
This maybe why you see the message but flow is not impacted.
I'll look into getting the error message not appear in such case. (or better warning message)

I think this may have been more of a combination of an issue with how we were sending data through the state dictionary and actually processing the conditional within the dialogue event. We went through and fixed some items on our end resulting in the error getting cleared up.
I've run through our established dialogues a ton now that we cleaned them up and I'm no longer getting the error. I'm betting we had something misaligned between the state being passed to the dialogue handler and what was actually getting evaluated in the conditional.
Thank you very much for looking into this! Again, your plugin rocks.

Great!
I love to hear that the problem is now resolved!
Thanks again for using the plugin!


Sources have redundant information.

I noticed something when querying through documents, the LLM model does not generate response from the most probable source document . And in source section most of the sources are redundant.
How do you gives the score to the source document and the highest score to the source document content which only have 3 or 4 words only.
I simply want it generate response from the most probable sources content & give the rank accordingly from more context content to less that goes into LLM response generation.
Can we make source score a variable such that it provides flexibility to control sources content. for example if the source content have the probability > 0.9 only then it came into account for the context for LLM response generation.

You can choose cut_distance from the CLI or top_k_docs from CLI/UI/API.  E.g. choose top_k_docs=1 for most likely doc only.  Or choose smaller cut_distance like 1.5 instead of default of 1.64.

@pseudotensor Can you explain how the "Score" is calculated for the "Source" ?


PPO Baseline with Complex Networks

Hello all,
I am using a PPOAgent with complex networks. If I disable baselines the code works. But I could not figure out how to get baselines to work. I want to use my value function as the baseline, so I guess I need to use network baseline.
This are my states:
    @property
    def states(self):
        print "getting states"
        return dict(laser=dict(type='float', shape=(512,)),
                    velocities=dict(type='float', shape=(2,)))

This my code (simplified, to get it running):

network_spec = [[
    dict(type='input', inputs=['velocities']),
    dict(type='dense', size=128),
    dict(type='output', output='prediction')

]]

agent = PPOAgent(
    states=environment.states,
    actions=environment.actions,
    network=network_spec,
    # Agent
    states_preprocessing=None,
    actions_exploration=None,
    reward_preprocessing=None,
    # MemoryModel
    update_mode=dict(
        unit='episodes',
        # 10 episodes per update
        batch_size=10,
        # Every 10 episodes
        frequency=10
    ),
    memory=dict(
        type='latest',
        include_next_states=False,
        capacity=5000
    ),
    # DistributionModel
    distributions=None,
    entropy_regularization=0.01,
    # PGModel
    baseline_mode='network',
    baseline=dict(
        type='custom',
        network=network_spec

    ),
    baseline_optimizer=dict(
        type='multi_step',
        optimizer=dict(
            type='adam',
            learning_rate=0.5e-3
        ),
        num_steps=5
    ),
    gae_lambda=0.97,
    # PGLRModel
    likelihood_ratio_clipping=0.2,
    # PPOAgent
    step_optimizer=dict(
        type='adam',
        learning_rate=0.5e-3
    ),
    subsampling_fraction=0.2,
    optimization_steps=25,
    execution=dict(
        type='single',
        session_config=None,
        distributed_spec=None
    ),

)

This is the error message:
Traceback (most recent call last):
  File "/home/andreas.pasternak/deeplearning/simulation/catkin_ws/src/argos_bridge/scripts/argosAgent.py", line 140, in <module>
    distributed_spec=None
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/agents/ppo_agent.py", line 155, in __init__
    entropy_regularization=entropy_regularization
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/agents/learning_agent.py", line 141, in __init__
    batching_capacity=batching_capacity
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/agents/agent.py", line 80, in __init__
    self.model = self.initialize_model()
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/agents/ppo_agent.py", line 183, in initialize_model
    likelihood_ratio_clipping=self.likelihood_ratio_clipping
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/models/pg_prob_ratio_model.py", line 88, in __init__
    gae_lambda=gae_lambda
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/models/pg_model.py", line 98, in __init__
    requires_deterministic=False
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/models/distribution_model.py", line 90, in __init__
    discount=discount
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/models/memory_model.py", line 114, in __init__
    reward_preprocessing=reward_preprocessing
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/models/model.py", line 220, in __init__
    self.setup()
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/models/model.py", line 273, in setup
    independent=independent
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/models/memory_model.py", line 607, in create_operations
    independent=independent
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/models/model.py", line 1100, in create_operations
    self.create_observe_operations(reward=reward, terminal=terminal)
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/models/model.py", line 1078, in create_observe_operations
    reward=reward
  File "/home/andreas.pasternak/.local/lib/python2.7/site-packages/tensorflow/python/ops/template.py", line 464, in __call__
    result = self._call_func(args, kwargs)
  File "/home/andreas.pasternak/.local/lib/python2.7/site-packages/tensorflow/python/ops/template.py", line 406, in _call_func
    result = self._func(*args, **kwargs)
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/models/memory_model.py", line 567, in tf_observe_timestep
    false_fn=tf.no_op
  File "/home/andreas.pasternak/.local/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 432, in new_func
    return func(*args, **kwargs)
  File "/home/andreas.pasternak/.local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 2047, in cond
    orig_res_t, res_t = context_t.BuildCondBranch(true_fn)
  File "/home/andreas.pasternak/.local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1897, in BuildCondBranch
    original_result = fn()
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/models/memory_model.py", line 566, in <lambda>
    true_fn=(lambda: self.fn_optimization(**batch)),
  File "/home/andreas.pasternak/.local/lib/python2.7/site-packages/tensorflow/python/ops/template.py", line 464, in __call__
    result = self._call_func(args, kwargs)
  File "/home/andreas.pasternak/.local/lib/python2.7/site-packages/tensorflow/python/ops/template.py", line 406, in _call_func
    result = self._func(*args, **kwargs)
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/models/pg_model.py", line 293, in tf_optimization
    update=tf.constant(value=True)
  File "/home/andreas.pasternak/.local/lib/python2.7/site-packages/tensorflow/python/ops/template.py", line 464, in __call__
    result = self._call_func(args, kwargs)
  File "/home/andreas.pasternak/.local/lib/python2.7/site-packages/tensorflow/python/ops/template.py", line 406, in _call_func
    result = self._func(*args, **kwargs)
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/models/pg_model.py", line 173, in tf_reward_estimation
    update=update
  File "/home/andreas.pasternak/.local/lib/python2.7/site-packages/tensorflow/python/ops/template.py", line 464, in __call__
    result = self._call_func(args, kwargs)
  File "/home/andreas.pasternak/.local/lib/python2.7/site-packages/tensorflow/python/ops/template.py", line 406, in _call_func
    result = self._func(*args, **kwargs)
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/core/baselines/network_baseline.py", line 50, in tf_predict
    embedding = self.network.apply(x=states, internals=internals, update=update)
  File "/home/andreas.pasternak/.local/lib/python2.7/site-packages/tensorflow/python/ops/template.py", line 464, in __call__
    result = self._call_func(args, kwargs)
  File "/home/andreas.pasternak/.local/lib/python2.7/site-packages/tensorflow/python/ops/template.py", line 406, in _call_func
    result = self._func(*args, **kwargs)
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/core/networks/complex_network.py", line 190, in tf_apply
    x = layer.apply(x=x, update=update)
  File "/home/andreas.pasternak/.local/lib/python2.7/site-packages/tensorflow/python/ops/template.py", line 464, in __call__
    result = self._call_func(args, kwargs)
  File "/home/andreas.pasternak/.local/lib/python2.7/site-packages/tensorflow/python/ops/template.py", line 406, in _call_func
    result = self._func(*args, **kwargs)
  File "/home/andreas.pasternak/deeplearning/tensorforce/tensorforce/core/networks/complex_network.py", line 71, in tf_apply
    'ComplexNetwork input "{}" doesn\'t exist, Available inputs: {}'.format(name, keys)
tensorforce.exception.TensorForceError: ComplexNetwork input "velocities" doesn't exist, Available inputs: []

Thank you so much!

Did you get it to run?  A quickfix would be to just merge your states into one flat input. Complex networks were a contributed class that isnt fully integrated into the baselines..


Change default baud rate to 9600

fix #28

Yes. I don't know either. But I've never heard of someone mentioning 8000 bps anywhere. is it an approximation of effective data rate for 9600 bps?
Anyway please just don't forget to bump the minor version when publishing the crate next time.
Thanks.


distributed-provisioning.md: report with test setup and results

What type of PR is this?
/kind documentation
What this PR does / why we need it:
This was the first usage of the new ad-hoc testing facility. It's
worthwhile to capture the results here because it includes also some
lessons learned about the setup.
Does this PR introduce a user-facing change?:
NONE

Thanks @pohly, great writeup!
/lgtm
/approve

Thanks @pohly, great writeup!
/lgtm
/approve

@pohly - this is great, thanks a lot for running those experiments and writing this up!

@pohly - this is great, thanks a lot for running those experiments and writing this up!


LocationLayerPlugin Release v0.9.0

Changelog

Add animation duration multiplier configuration #706
Don't invalidate camera mode if unnecessary for gestures initiated changes #694

Release checklist @danesfeder

[x] Cut the release branch
[x] Run through testapp/demo app and test all activities
[x] Update CHANGELOG.md
[x] Change version name to 0.9.0 in gradle.properties
[ ] Publish 0.9.0 artifact to Maven Central
[ ] Change version name back to 0.10.0-SNAPSHOT
[ ] Merge the release branch back to master
[ ] Tag v0.9.0-location-layer in GitHub

Post-release  @langsmith

[ ] Update README.md
[ ] Update constants.js file in android-docs repo
[ ] Generate updated javadocs and add to android-docs repo
[ ] Update the version # in the Mapbox demo app
[ ] Update the version # in the Studio Preview app
[ ] Update the version # in china plugin demo

/cc: @mapbox/android

Closing because of the 0.10.0 that has already been released.


version 4.14.0 breaks with "NoMethodError"

Hi,
i am using this gem with danger.
The newest release (4.14.0) breaks with a "NoMethodError"
Stacktrace:
14:48:06 bundler: failed to load command: danger (/var/lib/jenkins/.rbenv/versions/2.3.1/bin/danger)
14:48:06 NoMethodError: undefined method `unpack1' for "/":String
14:48:06 Did you mean?  unpack
14:48:06   /var/lib/jenkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gitlab-4.14.0/lib/gitlab/client.rb:81:in `block in url_encode'
14:48:06   /var/lib/jenkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gitlab-4.14.0/lib/gitlab/client.rb:81:in `gsub'
14:48:06   /var/lib/jenkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gitlab-4.14.0/lib/gitlab/client.rb:81:in `url_encode'
14:48:06   /var/lib/jenkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/gitlab-4.14.0/lib/gitlab/client/merge_requests.rb:43:in `merge_request'
14:48:06   /var/lib/jenkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/danger-6.3.1/lib/danger/request_sources/gitlab.rb:146:in `fetch_details'
14:48:06   /var/lib/jenkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/danger-6.3.1/lib/danger/danger_core/environment_manager.rb:52:in `fill_environment_vars'
14:48:06   /var/lib/jenkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/danger-6.3.1/lib/danger/danger_core/dangerfile.rb:266:in `run'
14:48:06   /var/lib/jenkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/danger-6.3.1/lib/danger/danger_core/executor.rb:29:in `run'
14:48:06   /var/lib/jenkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/danger-6.3.1/lib/danger/commands/runner.rb:73:in `run'
14:48:06   /var/lib/jenkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
14:48:06   /var/lib/jenkins/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/danger-6.3.1/bin/danger:5:in `<top (required)>'
14:48:06   /var/lib/jenkins/.rbenv/versions/2.3.1/bin/danger:23:in `load'
14:48:06   /var/lib/jenkins/.rbenv/versions/2.3.1/bin/danger:23:in `<top (required)>'

I see you're using Ruby 2.3. The support for Ruby 2.3 was dropped in 1ba41ec

I see you're using Ruby 2.3. The support for Ruby 2.3 was dropped in 1ba41ec

This change will be reflected in gemspec https://github.com/NARKOZ/gitlab/blob/39f454e560f434cd0416d8ffcc1158404e659f59/gitlab.gemspec#L23

Didn't noticed that change. Sorry! Upgrading to ruby 2.6.5 fixed the issue!


setup.sh errors

We are running into some issues trying to run the bash setup.sh script in cloudshell. It appears that a folder path might be missing. Could you please let me know if I am missing something?

This issue is resolved. Please be sure to pull down the latest from the repo and try again.
Thanks


Skip fewer steps with skip-ra flag.

Currently, we skip most of the remote attestation stuff, whereas we'd only need to skip getting intel's ias signature.
If we skip fewer steps:

we get better coverage with the GA integration tests.
We can make the skip-ias-check flag in the pallet-teerex less intrusive because we can send an actual report compared to the mrenclave only.

no skip flag anymore as of #1384

I think this could be a misunderstanding. We still need this on the worker side, except if we can get a valid DCAP quote in SW mode, which I believe is not possible.


⚠ Bofrost.at has degraded performance

In cc8f4cc, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1770 ms

Resolved: Bofrost.at performance has improved in 28559ba after 13 minutes.


List objects using S3Template

Type: Feature
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 [...]
I can almost exclusively use the S3Template class, but I sometimes need to list objects with a certain prefix. Maybe this use case is common enough to be placed in S3Template.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@ooraini I am guessing you mean putting the functionality described here https://docs.awspring.io/spring-cloud-aws/docs/3.0.0-SNAPSHOT/reference/html/index.html#searching-resources into S3Template? I think it makes sense. You're welcome to submit a PR!

@maciejwalkowiak Oh wow, I didn't notice S3PathMatchingResourcePatternResolver. I guess now I'm not sure if it's worth it to introduce a new method. I guess if we do, then we shouldn't just expose S3PathMatchingResourcePatternResolver as is. In the spirit of making the common case easy, we might add the following method to S3Template:
List<S3Resource> listObjects(String bucket, String prefix) {}

Not as capable as S3PathMatchingResourcePatternResolver and no pagination support, if you need either, use S3Client or S3PathMatchingResourcePatternResolver. What do you think?

Sounds good!

Fixed in #831


Refactor AndroidX

Awesome library you made there, I have one question, do you plan to refactor to AndroidX anytime soon?

@TuonBondol do you plan to create a PR?

I just made a fork with up-to-date dependencies and migration to AndroidX -> https://github.com/Sportner/StickyHeaders
I am going to fix a few stuff and then publish it to maven. I'll let you know once it is done.

@AlBlanc Okay, Thank you :)

Done, available in 0.7.10


Add transformer with context interface

https://github.com/open-orchestra/open-orchestra-cms-bundle/pull/1312

:+1:

TransformerWithContextInterface is moved to ApiBundle


add forwarder terraform example

the idea is exposing a VM vm1  that runs on a private network through another VM vm2 the forwader that runs on another node that has a public ip using iptables forwarding rules
the forwader vm should be started with TARGET environment variable that points to the wireguard of vm1

flist https://hub.grid.tf/azmy.3bot/forwarder.flist

How to test

run a vm1 e.g has nginx (no public ip)
run vm2 forwader with TARGET = private ip of vm1
accessing the public ip of vm2 should show the nginx of vm1

added in https://github.com/threefoldtech/terraform-provider-grid/blob/development/examples/resources/forwarder/main.tf


not working

so i tried fownloading it manually and tried vortex neaither worked nothing happens when i press ~/` i am on version 1.3
also i tried it on a cracked version of the game and a legit version both didn't work

For support join the discovery server.


Changed spelling of "js-flilter-dropdown-no-filters"

This looks like a typo, but wanted to check

💯


GMCM support

As discussed in #3, this adds support for GMCM system. Allows for changing all values in the config easily.
Menus look like the following:
Full Menu

Password Page (only from main menu)

In Game Page

Compiled build will be in first comment.

Compiled build for Nexus
TwitchChatIntegration 1.3.0.zip

One thing to note for Nexus requirements is that GMCM is not required to be installed, the code checks to see if it is installed and if not, does none of the GMCM code.

As said in #3, thank you once more! I guess I can just set GMCM as an optional dependency then.


Rename model to state.

Please 👍 or 👎.

Those terms make no difference to me, so no need to change it.

Since we changed updates to actions, following the redux/Vuex semantics would be nice. Renaming to state makes sense 👍

Model is something from MVC frameworks to me, and I still get confused for a second when I stumble upon it in Hyperapp. Choo, yo-yo, React/Preact all call it state, so I’m in favor of renaming for consistency.

@jbucaran I'm in favor of state since a friend of mine was confused about the difference between model and state and this terminology is one of the things he considers confusing about hyperapp.
Of course that's https://yourlogicalfallacyis.com/anecdotal, but I don't care.

I don't mind either, and the reason I chose model was TEA, but I also agree with some people finding model confusing since the most widespread term is state anyway.

Hi @SkaterDad @nichoth @cdeutmeyer!
If you have a second to spare, can you explain why you dislike / disapprove this notion?

i upvoted state, but if you intend to stay close to TEA, then it may be worth using its terminology [1].
[1] https://guide.elm-lang.org/architecture/

@leeoniya You're right, but TEA also has the word update which we don't use anymore
@dodekeract Does your friend find hyperapp confusing just because of the world model? Seems an extreme position to take just because of a word. Just curious.

@jbucaran No, mainly because of the differences to react/redux. He's currently trying to learn how to create SPAs and react/redux is the stuff he's currently attempting to learn.

Gotcha. Good choice anyway. Reminds me of this.

I'm really fine with it either way.. I just like sticking as close as possible to Elm terminology.

In my mind "model" is more related to MVC and other OOP paradigms, and state are more connected to functional programming (where state management is made explicit instead of implicit). Mixed with the previous departure from the Elm architecture nomenclature, I'd go with "state".

my reasoning was same as @danigb

@jbucaran The community is mostly in favor of this change. Can we implement it?
Also something somewhat related: when we link to code pens we should make sure they don't use hyperapp@latest since hyperapp is currently not stable enough for that. We should always link to<EMAIL_ADDRESS>or similar.

@dodekeract You are right, but latest refers to the published npm version, which is working fine AFIK.

Can we implement it?

Yes, let's do so after #172 is merged please.

@jbucaran Yes, it's working fine. right now. This leads to all hyperapp codepens breaking as soon as we publish breaking changes.

@dodekeract Fortunately, CodePens URLs don't change, so I just need to update the code. JSFiddle URLs do change, so I'll have to rewire everything or ditching JSFiddle.

@jbucaran You don't see the problem. People fork our examples. This means they inherit this time bomb that destroys their code pens as soon as we introduce another breaking change.

@dodekeract Ah, you're right... 😥

If the codepens use specific versions (as they should) then everything will be fine 😄

Why not just offer both versions?

@AG-Systems Do you mean both model and state?
I guess we could, but the idea is to come up with a clear API that is easy to teach and learn, also that would waste some bytes for no good reason.
Check out #177, we're renaming model to state in 0.8.0.

Yes @jbucaran
Oh okay sweet


Problem Report / Change Request: Semantics of "Location"

Geir Sletten and Ole Martin Mevassvik, Evaluation of C2SIM for use in Army Course of Action simulation, 22 February 2022, p 14
Units, control measures and tasks all have locations specified. Locations may be specified by geodetic coordinates or relative to another location. When defining a task, control measures are added as references to MapGraphic elements. The location elements within the task element, however, have no semantic definition. It is up to the application to interpret their meaning.
Curt's interpretation of the originator's intent: Proposal is to make the kind of location more explicit and appropriate to the context.

Curt's interpretation of the originator's intent: Proposal is to make the kind of location more explicit and appropriate to the context.


package on windows for macOs

Hi,
I'm using Electron-packager to built executable (.exe) on windows : electron-packager ./ --platform=win32 --arch=x64
It works for windows.
But i want to pachage my app to execute it on mac.
Is it possible to create a package on windows formacOS ?
Thank you

Yes, it is possible. Set platform to darwin.

doing this, I have this error :
<<<< VTVideoEncoderSelection >>>> VTSelectAndCreateVideoEncoderInstanceInternal: no video encoder found for 'avc1'

[10:22:51.406] VTSelectAndCreateVideoEncoderInstanceInternal signalled err=-12908 (err) (Video encoder not available) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.238/Sources/VideoToolbox/VTVideoEncoderSelection.c line 1245
[10:22:51.407] VTCompressionSessionCreate signalled err=-12908 (err) (Could not select and open encoder instance) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.238/Sources/VideoToolbox/VTCompressionSession.c line 946

@Devhercule Please keep Electron issues to the Electron repo.  We'll discuss the logs you posted there --> https://github.com/electron/electron/issues/10689

Ok thanks


Use Surface as a more central API

No magic delegation of focused surface anymore.

In search for a more concise API to address #99 and #100, I've started an attempt to use the Surface without a controller (surfaceManager) this gives to the user more control about the editor and it makes clear how tools / surfaces / commands are related together.
I've integrated this into the Lens Writer. Check the empowered-surface branch and you should be able to run/review this.

Related thoughts: https://github.com/substance/substance/blob/improve-docs/docs/simplified-api.md
However, I moved back to this.context.componentRegistry but commands I assign per surface.

From  your 'simplified-api' proposal:

No confusion anymore about focused surface (each surface is managed by the app directly, and can be focused or unfocused)
Each command/tool would now operate on surface level (no longer we need dispatching)

I don't understand how you would like to get rid of multi-surfaces, or dispatching.
I.e. when you have a toolbar and two editors you need something like the surface manager, so that you can 'share' the toolbar.
Notice, that the fact that a surface is focused doesn't have much to do with the native DOM focus.

What was bothering me most is that in the command and tool implementations we had to rely on a surfaceManager thing, with that magic getSurface() function, that gives you the currently focused surface. And this getSurface could return undefined...  I wanted to start an attempt where the surface has a more central role and see how far we could get with that approach. Eliminating the surface manager would mean we would have to design our apps so that we have one toolbar per surface. I think this would actually work for most cases.
Questions are:

Do we really need surface delegation and shared toolbars?
Could we have multiple editors within one surface?
*this would solve title editor vs. main editor in lens writer. we could then also navigate the cursor from the body nodes into the title without blocking. It's also a problem that with our new cursor/selection rendering the user would see two cursors (one in the title) one in the main editor. having one surface that hosts n editors but there can only be one active selection could be nice... *

I'd try how it feels if i design the writer so that editing areas are more independent from each other. For instance:

Writer

ContentEditor (defines a surface context and inside has two editors: form editor for title/abstract and containereditor for main text. there would be one toolbar for both (texttool would be deactivated)
FigureEditor (defines a formeditor with individual figures, + a toolbar with only basic annotations, strong, emphasis, link)
TableEditor (modal, formeditor with just one table + table-specific toolbar)

You think that'd be possible or make sense compared to what we have? When i started writing docs an explaining i realized that seting up things is not sooo trivial and that this surface delegation makes it harder to interact with one editor (surface!) instance. i'd like to 'sell' to interested substance users that they can create a surface, and attach a containereditor or formeditor or annotator to a dom element, and then they can start using the surface API (setSelection, focus(), etc.)
Thoughts?

Having multiple editors in one surface (= one CE) makes things difficult on the editing side. How to prevent the title being deleted, pasted over etc... Not that it isn't impossible... but shifting difficulties not resolving them. Example, think how you would prevent certain annotations from being applied on the title.
Making it impossible to create an editor with one toolbar sounds really bad.
I agree that we should try to make it simpler if you have just one surface.

Example, think how you would prevent certain annotations from being applied on the title.

I would provide a commands list for each sub-editor. But yeah i agree things are just in a different place then. Just thinking what would feel naturally from an API point of view. Just want to emphasize main task of substance.. which is ... create an editor and then interact with it.

It's also a problem that with our new cursor/selection rendering the user would see two cursors (one in the title) one in the main editor.

You have an idea how that could be solved? And for cursor moving from title to main editor we would need to define some special behavior.
Mhh. I think it should be possible to construct a Surface without registering it to a SurfaceManager. I mean generally it would be good to be able to access different surface instances from anywhere in the app because surfaces will be created somewhere in the component tree.. with no direct access higher level. so some kind of surface registration would be useful then. maybe more as opt-in than as required infrastructure for a surface to work.

The cursor problem: please notice again the difference between a native focus/blur and surface focus/blur: a surface gets blurred if another surface gets focused. This means that there is only one surface that can have the cursor. Maybe this is not reflected correctly yet, but that would be the way.
To summarize: my feeling is, that there are simply situations where we want to have multiple surfaces (just for the panels, for instance). In these (and only these) cases we need somthing like a surface manager. That means we need a basic solution to this. OTOH, we want to have more convenience so that single-surface scenarios are easy.
Thus, I still think we need some dispatching. I totally agree, that there should be an responsible surface anytime, so that other pieces don't need to bother.

Furthermore I recommend, we should take full-fledged editors like Archivist to discuss this kind of infrastructure and consequences of proposed changes, instead of demo editors.

I think all our tools, commands should not know/bother about the managing context. So they should not ask for the focused surface. Instead they should just be updated from the managing instance, and maybe not have a surface reference at all.
Let's try to solve this lens writer / title editor vs main editor thing it's a good usecase. It would be nice if we could make it accessible with cursor movement, and that we don't show the persisted selections when changing the focus between them. This visualize last-selection thing is tricky because in some cases we want it (e.g. when creating a new entity reference workflow) and sometimes we don't: when switching between title and body editors.

Let's iterate on Lens Writer for the next weeks. It's a nice test bed.. maybe we bring in comments so we also have container-annos in place.

Thought a bit about a possible API, considering bringing back the SurfaceManager,
but removing dependency to surfaceManager from tools/commands. Still we have a lot to setup,
but maybe we could implement some sort of Boilerplate Component that Substance Writer and
others could derive from. Here is how it could look like:
Top level component (Writer)
this.surfaceManager = new SurfaceManager(doc);

// Dependency Injection
this.childContext = {
  // Surfaces need to register here
  surfaceManager: this.surfaceManager,

  // Tool components register here. toolManager updates tools
  toolManager: this.surfaceManager.getToolManager(),
  textPropertyManager: this.surfaceManager.getTextPropertyManager(),

  // Provided component registry
  componentRegistry: this.componentRegistry
};

Title Editor
// Sets up a Surface with a form editor.
this.surface = new FormEditorSurface({
  name: 'title',
  commands: [ToggleStrongCommand, ToggleLinkCommand]
});

// didMount
this.surface.attach(this.el);
this.surfaceManager.registerSurface(this.surface);

// willUnmount
this.surface.detach();
this.surfaceManager.unregisterSurface(this.surface);

Main Editor
this.surface = new ContainerEditor({
  name: 'main',
  containerId: 'main',
  commands: [ToggleStrongCommand, ToggleLinkCommand],
  keybindings: ...
});

this.surface = this.surfaceManager.createContainerEditor({
  name: 'mainEditor',
  commands: [ToggleStrongCommand, ToggleLinkCommand]
});

Table Editor (Modal dialog  => surface comes and goes)
this.surface = new FormEditor({
  name: 'tableEditor',
  commands: [AddTableCell, JoinTableCell, ....]
});

Thoughts

We can not get rid of SurfaceManager because we want a shared toolbar for multiple surfaces (writer title+body)
Tools are now registered to a ToolManager which triggers update calls,
so tools no longer need to know about the surfaceManager and we can also cover cases where not a selection change updates
the tools but a document change (e.g. in a realtime scenario somebody makes a bold annotation where your cursor is)
easy interaction with surfaces

local context: this.surface.executeCommand('selectAll');
top level context: this.surfaceManager.getSurface('main').executeCommand('focus');

Still unsolved

How to run undo+redo across multiple surfaces?

there is surface.executeCommand('undo') but this change could actually affect a different surface
should we provide commands on app level, what component should take care of this?

surfaceManager.executeCommand('undo') seems weird?!
also surfaceManager.executeCommand('save')
introduce some kind of documentManager interface for things that are doc-specific not surface-specific?

documentManager.executeCommand('undo') would feel better
documentManager would then again have a toolManager inside but this time taking care of only document
tools (like save, undo, redo)
feels like a lot of infrastructure overhead
maybe better have one interface that manages both things

We will not do this. That's the new way: #131


[BUG] PhotoManager.getAssetPathList hasAll incorrect on iOS simulator

Describe the bug
PhotoManager.getAssetPathList hasAll incorrect on iOS simulator, maybe on device (not tested)
Expected behavior
Recents album
Actual
Recents
Recently Deleted
Recently Added
Screenshots

Flutter version
v1.12.13+hotfix.5

In deed, omitting or specifing the hasall flag in PhotoManager.getAssetPathList add extra "path"/albums to the result provided by the method, adding Recents/Recently Added/Recently Deleted "albums".
Please note that only Recents has the properti isAll set to true.

These two folders belong to the concept of "smart album" in iOS. I processed them in version 0.5.0, and now these two albums will not be displayed.

Nah, now the recent album photos are incorrect, it only gets single image


Lack of readability in the search bar with the dark theme and some accents

Hello there !
First of all, thanks a million for your plugin. It looks absolutely wonderful, and makes Joplin even more of a joy to use !
That being said, I noticed a small problem of visibility in the dark theme, when some accent colours are used. Here is an example :

As you can see, the keywords of the search are in light grey - which becomes almost invisible with the green accent colour.
I think that this could be fixed by using a darker colour for highlighted elements (research keywords) that are currently selected (with the accent colour as a background). For example, with colour #646B65 :

Thanks again for your work, hoping that this will help !

Thank you, it is much more visible like this : ) !

Thank you such a quick fix, and have a nice day !

🎉 Awesome! Likewise @Klemet! 😊


Question about outlier removal operation

Hello：
Thanks for sharing your impressive work！
I have some questions about the outlier removal operation：1. What‘s the exact computation you use for outlier removal？Does it the same as [LBF15] your paper referred? 2. What’s the outlier removal execution position in your preprocessing+nn pipeline? Before or after temporal accumulation? 3. It seems that you didn’t supply outlier removed dataset, do you plan to release it later?
Thanks!

Hi Hangming,
1. What‘s the exact computation you use for outlier removal？Does it the same as [LBF15] your paper referred?
The algorithm is adapted from Section 4.3 in LBF15. However, we apply one modification compared to the previous work: the weights depend not only on Euclidean distance of pixels, but also on the radiometric differences. We use albedo & shading normals to test the radiometric difference.
2. What’s the outlier removal execution position in your preprocessing+nn pipeline? Before or after temporal accumulation?
Before the temporal accumulation
3. It seems that you didn’t supply outlier removed dataset, do you plan to release it later?
I have no plan to release the dataset, but I have released the code for outlier removal, please checkout:
https://github.com/xmeng525/RealTimeDenoisingNeuralBilateralGrid/tree/master/outlier_lib
Please let me know if you have any other questions!

I will figure out the code. Thanks for your patient explanation!

Hello, still some questions:

It seems that outlier removal operation's target in outlier_unittest.py is noisy color with albedo, but the input image of data_loader.py is noisy color without albedo. Are there any modifications should be done if outlier_unittest.py's input image is changed to noisy color without albedo?
Does outlier removal operation also used in BMFR-dataset? If so, should the tone_mapping manner in outlier.cu.cc be changed to gamma correction (tone_mapping() function in network.py)?
Does it a casual mistake of dividing input_albedo by 255.0? Because plt.imread() returns np.array already ranging 0 to 1.
Thanks again!

Hi, Hangming,
1. It seems that outlier removal operation's target in outlier_unittest.py is noisy color with albedo, but the input image of data_loader.py is noisy color without albedo. Are there any modifications should be done if outlier_unittest.py's input image is changed to noisy color without albedo?
It should be the same for noisy color without albedo and noisy color with albedo.
2. Does outlier removal operation also used in BMFR-dataset? If so, should the tone_mapping manner in outlier.cu.cc be changed to gamma correction (tone_mapping() function in network.py)?
I only applied outlier removal for the 64spp dataset, not the 1spp. The outlier removal approach will reduce the total energy for the whole frame. It will lead to smooth visual effect, while it will lead to lower SSIM in my experiment.
3. Does it a casual mistake of dividing input_albedo by 255.0? Because plt.imread() returns np.array already ranging 0 to 1.
Thank you for pointing this out! I modified the code I uploaded so it does not rely on outside libraries. The division should not be there.

I understand this operation now. Thank you very much, that's very kind of you!


Log application events (C12)

Logging application events for both dev mode and for when the app is run by gunicorn. The story requires WebOps part.

:+1:! this looks awesome, would you mind rolling it out to the other apps ? :)


Add basic network components

This PR adds two components that will help us towards our goal of creating a bipartite network (see figma mockups for correlation app)
I went round and round trying to figure out which components we needed. I've settled (so far!) on the following: NodeWithLabel, Link, and then BipartiteNetwork (for later work). I think if we have our own node and edge components then for a bit we don't need our own Network component. Eventually it will be helpful for setting a bunch of defaults, but i dont think we need to add it this moment. We'll see i guess when we add the real bipartite network!
So anyways my goal was to keep these two components simple but flexible. Sort of like a core ui balance. I'm only allowing a particular amount of styling that i think will be actually used, though in the future i could see some style overrides or something of the sort being added. All that is to say my hope is that these properties for the node and link (edge) will serve us well for a while!
One reason why i broke out NodeWithLabel into its own component was that we would like the user to be able to click on the node or its label and have some things happen. Someday we may have something similar for the edges, but nothing is planned for right now in the bipartite network.
Check out the figma mockups for a better idea of what we're hoping for in the end. Also happy to discuss further if helpful!

This looks cool! I'm wondering if it would make sense to have a Network component that does something similar to the Network story template?

You can ignore this question. I didn't read the description very carefully!

something we'll have to think about is how to prevent nodes and/or their labels from getting cut off

You're totally right @jernestmyers ! And indeed i don't think it'll be trivial at all :) but i also plan to engineer the visualization and user actions so that we don't have to run into that problem! For example i dont think we should have all labels showing at one time unless the network is in a very specified layout. Not only will the label get clipped possibly but they overlap and they're just so hard to read 😄


Improved message for local plugin update

1. Why is this change necessary?
Currently the update buttons are ambiguous if there is an update available via the store and also already locally uploaded:

The left button tries to download and install the update via the store, the right one just applies the local update.
2. What does this change do, exactly?
Clearer wording for the right, local update button.
3. Describe each step to reproduce the issue or behaviour.
Manually download an a newer version from the store and upload it via the plugin manager in the backend. Now both buttons will appear and it's unclear which means which.
4. Please link to the relevant issues (if any).
n/a
5. Which documentation changes (if any) need to be made because of this PR?
n/a
6. Checklist

[X] I have written tests and verified that they fail without my change
[X] I have squashed any insignificant commits
[X] This change has comments for package types, values, functions, and non-obvious lines of code
[X] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-19900.
Please use this issue to track the state of your pull request.

@samuelvogel thanks for the PR :+1:


Add relu in solution to resblock

?

Do you think the resblock solution should also be using Conv2d instead of ConvBlocks (ConvBnRelu)?


Moved most of the readme content to the wiki.

Description
I've moved most of the readme content and test instructions to the wiki.

Related Issue
https://jira.corp.adobe.com/browse/CORE-54629

Motivation and Context
Be consistent with the approach we took with the Alloy repository.

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All tests pass and I've made any necessary test changes.
[ ] I've updated the schema in extension.json or no changes are necessary.

There is a link. That's this part:

For documentation on how to contribute to the extension, please see the developer documentation.

Do you feel like that's good enough?

There is a link. That's this part:

For documentation on how to contribute to the extension, please see the developer documentation.

Do you feel like that's good enough?

Perfect!! Sorry for being blind 😂


Generate only relevant gql files

GraphQL files are generated for the whole GraphQL schema. Wouldn't it be nice to generate only what we need (operations that are defined in the manifest.json)?

Hi @mehmetnyarar,
Feel free to submit a PR for this feature request. Thanks!