How to get the .json as well as .txt files needed to deploy the model ?

I have successfully quantized the model with the NEMO tool and generated the .onnx file, but when generating the network with the "network_generate.py" file, I get an error: "out_layer0.txt not found." How do I get these .txt files for deploying the model, and I was wondering if the .json file can be generated automatically? Or do I have to fill them in manually? I would be very grateful for your reply, the job is a great one.

Thank you for your response, it's been incredibly helpful for my work. Additionally, I'm interested in learning whether this model can be deployed on an FPGA(pulp), such as ZCU102. Could you guide me on where to find tutorials or resources for this? Thanks again for your enthusiasm.


UserWarning: CUDA extension svox2.csrc could not be loaded! and AssertionError: must specify a initial checkpoint

I encounter the following warning while running, which lead to subsequent Errors. How can I solve these？
I cancelled import svox in svox2.py, but still reported this warning.
warning:
/opt/svox2/utils.py:39: UserWarning: CUDA extension svox2.csrc could not be loaded! Operations will be slow.
Please do not import svox in the svox2 source directory.
warn("CUDA extension svox2.csrc could not be loaded! "
subsequent error 1:
Selecting random rays
Eval step
0%|                                                                                | 0/3 [00:00<?, ?it/s]
Traceback (most recent call last):
File "opt.py", line 471, in
eval_step()
File "opt.py", line 406, in eval_step
rgb_pred_test = grid.volume_render_image(cam, use_kernel=True)
File "/opt/svox2/svox2.py", line 1210, in volume_render_image
and imrend_fn_name in _C.dict
AttributeError: 'NoneType' object has no attribute '__dict__'
subsequent error 2:
Traceback (most recent call last):
File "opt_style.py", line 439, in
assert os.path.isfile(args.init_ckpt), "must specify a initial checkpoint"
AssertionError: must specify a initial checkpoint
subsequent error 3:
Traceback (most recent call last):
File "render_imgs.py", line 114, in
grid = svox2.SparseGrid.load(args.ckpt, device=device)
File "/opt/svox2/svox2.py", line 1645, in load
z = np.load(path)
File "/root/miniconda3/lib/python3.8/site-packages/numpy/lib/npyio.py", line 405, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: 'ckpt_arf/llff/fern_14.jpg/ckpt.npz/ckpt.npz'
If you could provide some suggestions, I would greatly appreciate it!

i meet the same error too, could you tell me how to solve it, thanks!

FileNotFoundError: [Errno 2] No such file or directory: 'ckpt_arf/llff/fern_14.jpg/ckpt.npz/ckpt.npz'
i meet the same error too


operation audit sql query - [closed]

In GitLab by @luotian-github on Jun 23, 2018, 05:00
Merges operation -> operation
operation audit sql query

In GitLab by @wknet123 on Nov 13, 2019, 11:06
The test coverage for backend is FAIL  ,The test coverage for frontend is 38.11   , check  consolse log

In GitLab by @wknet123 on Nov 13, 2019, 11:06
The test coverage for backend is FAIL  ,The test coverage for frontend is 38.11   , check  consolse log

In GitLab by @wknet123 on Nov 13, 2019, 11:06
closed


Kustomize deprecation warnings

What steps did you take and what happened:
When I generate release manifests with make release-manifests I get multiple kustomize warnings
➭ make release-manifests
/Users/mfedosin/projects/cluster-api-operator/hack/tools/bin/kustomize-v5.0.1 build ./config/default > out/operator-components.yaml
# Warning: 'bases' is deprecated. Please use 'resources' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'patchesStrategicMerge' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'patchesStrategicMerge' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically.

What did you expect to happen:
I'd like to see all warnings fixed.
Environment:

Cluster-api-operator version: master

/kind bug
/area release

/triage accepted
/help

/triage accepted
/unassign @tasdikrahman
/help


Fixing non confluence bug #1382

@dwightguth Here is a naive fixing of the non-confluence bug.  Please see if it works, because I didn't have your test.  I also pushed a quick fixed MD typo in a README, please let it go through, too.

I remember I tested this exact fix and it seemed to work, because the extendsAll rules are structural and therefore apply before any transition. I agree it seems like strategies are the most desirable solution for this problem. In any event, I will merge this now.


WIP POC imlementation of Websocket Json RPC server

Includes two testing clients masquerading external application needing to call server.
Requires:

adding wsrpc-aiohttp==3.0.1 to pypeapp/requirements.txt

adding code to \pype-config\presets\tray\menu_items.json
, {
"title": "Websocket Server",
"type": "module",
"import_path": "pype.modules.websocket_server",
"fromlist": ["pype","modules"]
}

Happy to merge and continue from here


Pronto 0.6.0 support

Hey,
I've released 0.6.0 of Pronto this week. There's one breaking change you have to be aware of:
Runner expects to receive patches/commit via initialize(patches, commit), instead of run(patches, commit).
Here's an example of how to implement that change in the Runner:
https://github.com/mmozuras/pronto-scss/commit/c9fa316d422384f82a26872fbde03a62f2892bf3
You can also now pass the Runner class as a parameter to Message.new. Here's how:
https://github.com/mmozuras/pronto-rubocop/commit/f19d886831e11ad833cb4dc3c9ba3ab41c392246
I think that it's worth implementing both :smile:

Is this why it pronto run throws an error when pronto-coffeelint is installed?
$ pronto run
/home/sage/.rvm/gems/ruby-2.1.5/gems/pronto-coffeelint-0.5.0/lib/pronto/coffeelint.rb:6:in `run': wrong number of arguments (0 for 2) (ArgumentError)

Yepp. Unfortunately I didn't get to do it till now, but happily accepting
PRs.
Workaround: use pronto ~> 0.5.0 till this is resolved.
Sage Ross<EMAIL_ADDRESS>schrieb am Mo., 21. März 2016 um 18:41:

Is this why it pronto run throws an error when pronto-coffeelint is
installed?
$ pronto run
/home/sage/.rvm/gems/ruby-2.1.5/gems/pronto-coffeelint-0.5.0/lib/pronto/coffeelint.rb:6:in `run': wrong number of arguments (0 for 2) (ArgumentError)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/siebertm/pronto-coffeelint/issues/6#issuecomment-199396148

I released 0.6.0 which required pronto ~> 0.6.0


Object with strings in html attributes are not parsed correctly

I have a html <marker> element where I add the following place attribute:
place="{
  location: {
    lat: {{info.latitude}},
    lng: {{info.longitude}}
  },
  placeId: "{{info.id}}"
}"

this works OK as long as info.id contains some characters that are not numeric. When all characters are numeric I get an assertion error:
Assertion failed: InvalidValueError: setPlace: in property placeId: not a string

I've tried different ways of quoting the ID to no avail. The parser seems to "quess" that since it's entirely numeric it must be a number, regardless of if it's quoted or not.

How about this?
place='{
  location: {
    lat: {{info.latitude}},
    lng: {{info.longitude}}
  },
  placeId: "{{info.id}}";
}'

That makes no difference (well, you have an extra semicolon in there causing an error but with that removed it yields exactly the same object as in my example).
Adding a character however, like this:
place="{
  location: {
    lat: {{info.latitude}},
    lng: {{info.longitude}}
  },
  placeId: "X{{info.id}}"
}"

(note the extra X), makes it parse OK. This leads me to believe that the quotes are disregarded. If it's possible to convert the value to a number, then that conversion takes place even if the value is quoted.

Could add an plunker example?

Here's a plunker that demonstrates the problem (errors are printed in the console view). Add a non-numeric character to the 'id' in script.js and the error goes away.
I found that ng-map.js line 2161 is a good place to set a breakpoint. Look at options.place.placeId in the local scope.

Tried to debug it, but not found solution yet. Any help would be appreciated.

The problem came directly from the google api. The placeId must be a string value
with characters.
https://developers.google.com/maps/documentation/javascript/examples/places-placeid-finder

I can change like the following,
diff --git a/services/attr2_options.js b/services/attr2_options.js
index eed848d..0e91e18 100644
--- a/services/attr2_options.js
+++ b/services/attr2_options.js
@@ -217,7 +217,11 @@
             if (typeof attrs[key] !== 'string') {
               options[key] = attrs[key];
             } else {
-              options[key] = toOptionValue(attrs[key], {scope:scope, key: key});
+              if (attrs[key].match(/^[0-9.]+$/)) {
+                options[key] = attrs[key];
+              } else {
+                options[key] = toOptionValue(attrs[key], {scope:scope, key: key});
+              }
             }
           }
         } // if (attrs[key])

However, it's never the case. Google placeID is never a number, but a string.  https://developers.google.com/maps/documentation/javascript/examples/places-placeid-finder

Not sure I understand. Are you saying that this behavior (auto converting numeric values to numbers even when they are quoted) are specific for the placeId attribute? I used that attribute just as an example and the place where I observed the incorrect parsed result (numeric rather than String) seemed to be before anything was sent to the Google API.

I updated the plunker to not use placeId as an example. Instead it now uses a label, like this:
label='{
  text: "3"
}'

The error is:
Assertion failed: InvalidValueError: setLabel: in property text: not a string

so please reopen this ticket.

This feature has been released.
Thanks @thallgren for the patience


Pip Install UnicodeDecodeError

Trying to install the latest setuptools on Ubuntu 12.04.5 LTS is giving me a UnicodeDecodeError. I'm no expert, but I wonder if there is a bad character in the setuptools metadata for pip. Here's the exception:
Downloading/unpacking setuptools>=11.3 (from cryptography>=1.3->PyOpenSSL->ndg-httpsclient)
  Running setup.py egg_info for package setuptools
    Traceback (most recent call last):
      File "<string>", line 3, in <module>
      File "setuptools/__init__.py", line 11, in <module>
        from setuptools.extern.six.moves import filterfalse, map
      File "setuptools/extern/__init__.py", line 1, in <module>
        from pkg_resources.extern import VendorImporter
      File "pkg_resources/__init__.py", line 2900, in <module>
        @_call_aside
      File "pkg_resources/__init__.py", line 2886, in _call_aside
        f(*args, **kwargs)
      File "pkg_resources/__init__.py", line 2913, in _initialize_master_working_set
        working_set = WorkingSet._build_master()
      File "pkg_resources/__init__.py", line 626, in _build_master
        ws = cls()
      File "pkg_resources/__init__.py", line 619, in __init__
        self.add_entry(entry)
      File "pkg_resources/__init__.py", line 675, in add_entry
        for dist in find_distributions(entry, True):
      File "pkg_resources/__init__.py", line 1955, in find_on_path
        path_item, entry, metadata, precedence=DEVELOP_DIST
      File "pkg_resources/__init__.py", line 2343, in from_location
        py_version=py_version, platform=platform, **kw
      File "pkg_resources/__init__.py", line 2660, in _reload_version
        md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
      File "pkg_resources/__init__.py", line 2308, in _version_from_file
        line = next(iter(version_lines), '')
      File "pkg_resources/__init__.py", line 2476, in _get_metadata
        for line in self.get_metadata_lines(name):
      File "pkg_resources/__init__.py", line 1846, in get_metadata_lines
        return yield_lines(self.get_metadata(name))
      File "pkg_resources/__init__.py", line 1841, in get_metadata
        metadata = f.read()
      File "/usr/lib/python2.7/codecs.py", line 296, in decode
        (result, consumed) = self._buffer_decode(data, self.errors, final)
    UnicodeDecodeError: 'utf8' codec can't decode byte 0xb6 in position 147: invalid start byte

I doubt I'll be able to replicate this issue. You'll need to dig deeper to identify the circumstances that lead to the error. For example, if you've removed setuptools from the host and you pip install setuptools, does the error still occur?

Since no-one else has commented, this must be an issue with my environment. I'll close it, and will let you know if I find the cause.


Update ambient XDS for headless services

Preferring service keys rather than VIPs for referencing services from workload.
The ztunnel-side was already changed in https://github.com/istio/ztunnel/pull/572.

@nmittler: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
fcea88771bea5878bf15bd98f18117a91ef2b2d3
link
true
/test integ-security-istiodremote

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
fcea88771bea5878bf15bd98f18117a91ef2b2d3
link
true
/test integ-security-istiodremote

integ-security_istio
fcea88771bea5878bf15bd98f18117a91ef2b2d3
link
true
/test integ-security

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
fcea88771bea5878bf15bd98f18117a91ef2b2d3
link
true
/test integ-security-istiodremote

integ-security_istio
fcea88771bea5878bf15bd98f18117a91ef2b2d3
link
true
/test integ-security

integ-ambient_istio
fcea88771bea5878bf15bd98f18117a91ef2b2d3
link
true
/test integ-ambient

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
fcea88771bea5878bf15bd98f18117a91ef2b2d3
link
true
/test integ-security-istiodremote

integ-security_istio
fcea88771bea5878bf15bd98f18117a91ef2b2d3
link
true
/test integ-security

integ-ambient_istio
fcea88771bea5878bf15bd98f18117a91ef2b2d3
link
true
/test integ-ambient

integ-security-multicluster_istio
fcea88771bea5878bf15bd98f18117a91ef2b2d3
link
true
/test integ-security-multicluster

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn looks like updating ztunnel is still an issue (e.g. https://github.com/istio/istio/pull/45757). Do we have a tracking bug for this with someone assigned?

CRL cert expired, @kfaseela will fixed it later.

@zirain thanks ... do we have an ETA? This is blocking all PRs.

@nmittler: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security_istio
fcea88771bea5878bf15bd98f18117a91ef2b2d3
link
true
/test integ-security

integ-security-multicluster_istio
fcea88771bea5878bf15bd98f18117a91ef2b2d3
link
true
/test integ-security-multicluster

integ-security-istiodremote_istio
f7541e6f0106b1e38947a65877ea2ac58786163b
link
true
/test integ-security-istiodremote

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio
fcea88771bea5878bf15bd98f18117a91ef2b2d3
link
true
/test integ-security-multicluster

integ-security-istiodremote_istio
f7541e6f0106b1e38947a65877ea2ac58786163b
link
true
/test integ-security-istiodremote

integ-security_istio
f7541e6f0106b1e38947a65877ea2ac58786163b
link
true
/test integ-security

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler open a PR to skip first: https://github.com/istio/istio/pull/45767

@nmittler: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
f7541e6f0106b1e38947a65877ea2ac58786163b
link
true
/test integ-security-istiodremote

integ-security_istio
f7541e6f0106b1e38947a65877ea2ac58786163b
link
true
/test integ-security

integ-security-multicluster_istio
f7541e6f0106b1e38947a65877ea2ac58786163b
link
true
/test integ-security-multicluster

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security_istio
f7541e6f0106b1e38947a65877ea2ac58786163b
link
true
/test integ-security

integ-security-multicluster_istio
f7541e6f0106b1e38947a65877ea2ac58786163b
link
true
/test integ-security-multicluster

integ-security-istiodremote_istio
41d1ec0ff3e1b358ad6e2582eebec03b6b85eb0b
link
true
/test integ-security-istiodremote

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio
f7541e6f0106b1e38947a65877ea2ac58786163b
link
true
/test integ-security-multicluster

integ-security-istiodremote_istio
41d1ec0ff3e1b358ad6e2582eebec03b6b85eb0b
link
true
/test integ-security-istiodremote

integ-security_istio
41d1ec0ff3e1b358ad6e2582eebec03b6b85eb0b
link
true
/test integ-security

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio
f7541e6f0106b1e38947a65877ea2ac58786163b
link
true
/test integ-security-multicluster

integ-security-istiodremote_istio
41d1ec0ff3e1b358ad6e2582eebec03b6b85eb0b
link
true
/test integ-security-istiodremote

integ-security_istio
41d1ec0ff3e1b358ad6e2582eebec03b6b85eb0b
link
true
/test integ-security

integ-ambient_istio
41d1ec0ff3e1b358ad6e2582eebec03b6b85eb0b
link
true
/test integ-ambient

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
41d1ec0ff3e1b358ad6e2582eebec03b6b85eb0b
link
true
/test integ-security-istiodremote

integ-security_istio
41d1ec0ff3e1b358ad6e2582eebec03b6b85eb0b
link
true
/test integ-security

integ-ambient_istio
41d1ec0ff3e1b358ad6e2582eebec03b6b85eb0b
link
true
/test integ-ambient

integ-security-multicluster_istio
41d1ec0ff3e1b358ad6e2582eebec03b6b85eb0b
link
true
/test integ-security-multicluster

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@nmittler: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-ambient_istio
41d1ec0ff3e1b358ad6e2582eebec03b6b85eb0b
link
true
/test integ-ambient

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn FYI this is ready to go.

@hzxuzhonghu there is no change in functionality here. The existing tests should already cover it.

Yes, i just see the api change. Wondering where is the Lookup called with namespace hostname.
This function is previously introduced, but quite confusing to me. We should change that, but maybe not related to this pr.

@hzxuzhonghu

Yes, i just see the api change. Wondering where is the Lookup called with namespace hostname.

IIUC when on-demand mode is enabled, ztunnel will be the one making the request. However, I don't believe it's enabled for any of our tests currently. @howardjohn any thoughts?


Cannot initialize the project

I created a new nextjs project from scratch, created it with tailwild and all the contents in the src folder.
I ran the command npx justd-cli@latest init. Initialization completed successfully, I saw a message about “success”
## there is my log in vite project, for nextjs i miss it
✔ Initializing.
? Components folder: src/components
? Utils folder: src/utils
? Where would you like to place the CSS file? src/index.css
? No paths key found in tsconfig.json. Please enter the root directory path for the '@/': ./src
✔ Paths added to tsconfig.json.
✔ Installing dependencies.
✔ Configuring.
✔ UI folder created at `"src/components/ui"`
✔ Primitive file saved to `"src/components/ui/primitive.tsx"`
✔ Classes file saved to `"src/utils/classes.ts"`
✔ Theme Provider file saved to `"src/components/theme-provider.tsx"`
✔ Providers file saved to `"src/components/providers.tsx"`
✔ Configuration saved to `justd.json`
✔ Installation complete.

Not sure what to do next?
Visit our documentation at: `https://getjustd.com`

Now try to add some components to your project
by running: `npx justd-cli@latest add`
`      _           _      _
     | |_   _ ___| |_ __| |
  _  | | | | / __| __/ _` |
 | |_| | |_| \__ \ || (_| |
  \___/ \__,_|___/\__\__,_|
                           `

But src/app/global.css file is not updated, tailwild config is not updated.
Tried to copy and paste content from this doc https://getjustd.com/docs/2.x/getting-started/installation#style-and-primitive. First of all, this is the first time I see such syntax
@import "tailwindcss";
@plugin 'tailwindcss-animate';

In the second still does not run, if I do not add css, I get this error:
Error evaluating Node.js code
CssSyntaxError: /Users/n.nafranets/projects/cmdk/src/app/globals.css:57:1: `@layer base` is used but no matching `@tailwind base` directive is present.
    [at Input.error (turbopack://[project]/node_modules/postcss/lib/input.js:106:16)]
    [at AtRule.error (turbopack://[project]/node_modules/postcss/lib/node.js:145:32)]
    [at normalizeTailwindDirectives (/Users/n.nafranets/projects/cmdk/node_modules/tailwindcss/lib/lib/normalizeTailwindDirectives.js:72:32)]
    [at /Users/n.nafranets/projects/cmdk/node_modules/tailwindcss/lib/processTailwindFeatures.js:29:98]
    [at plugins (/Users/n.nafranets/projects/cmdk/node_modules/tailwindcss/lib/plugin.js:38:69)]
    [at LazyResult.runOnRoot (turbopack://[project]/node_modules/postcss/lib/lazy-result.js:329:16)]
    [at LazyResult.runAsync (turbopack://[project]/node_modules/postcss/lib/lazy-result.js:258:26)]
    [at LazyResult.async (turbopack://[project]/node_modules/postcss/lib/lazy-result.js:160:30)]
    [at LazyResult.then (turbopack://[project]/node_modules/postcss/lib/lazy-result.js:404:17)]
    [at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]

 ○ Compiling /_error ...

If I add the css from the documentation, I get one of these:
warn - The utility `[--button-bg:theme(colors.danger.DEFAULT)]` contains an invalid theme value and was not generated.

If you are using Tailwinf v3. Your documentation is right here: https://getjustd.com/docs/1.x/getting-started/introduction
The docs you read is when you have setup tailwinf version 4

Well, the documentation doesn't say which version to install, and cli doesn't give any messages about it

Thanks


[WFLY-10811] Adding required modular jdk params to all configs.

Adding --add-modules=java.se and --illegal-access=permit options to all configs.
These options are necessary to function properly on JDK 9, 10 and 11.
This pull request addresses the following issue:
https://issues.jboss.org/browse/WFLY-10811

@ropalka The linux job had quite a lot of failures https://ci.wildfly.org/viewLog.html?buildId=115788&buildTypeId=WFPR&tab=buildResultsDiv. The elytron failures are known intermittent ones I believe.
I am starting a new run of everything

Thanks @kabir

We need conclusion on https://github.com/wildfly/wildfly-core/pull/3420#issuecomment-411367131 /  https://github.com/wildfly/wildfly-core/pull/3420#issuecomment-411340919
Both PRs are related

Adding the hold label until the core one has been merged

https://github.com/wildfly/wildfly-core/pull/3461 supersedes this pull request.


Ultraloglog and MinHash?

Hello Ertl,
Since ultraloglog uses more bits than hyperloglog for fast access and update. The idea of locality sensitive hashing (e.g. approximate MinHash to estimate Jaccard), based on setsektch, can it be also applied in the ultraloglog case? or it is not possible but we have to rely on inclusions and exclusion rule after obtaining the cardinality to approximate jaccard index, at the risk of losing locality sensitive hashing property?
Thanks,
Jianshu

Thank you Otmar! It seems to be more space efficient we may sacrifice some "joint" information.  But still UltraLogLog represents the most space efficient structure for distinct counting.
Jianshu

hello Otmar,
Ideally, the MLE and Joint MLE estimator for hyperloglog sketches to estimate both cardinality and intersection cardinality (then Jaccard index) should be working after mapping UltraLogLog to HyperLogLog right as mentioned in the paper, since join information is not clear in UltraLogLog. And if the mapping is not expensive, to save space, all ideas in the HLL new estimator paper should be applied in the UltraLogLog case right.
Thanks,
Jianshu


[metal] disable MANAGED_DOWNLOAD memory type

Solves https://github.com/gfx-rs/wgpu/issues/1075
PR checklist:

[x] make succeeds (on *nix)
[ ] make reftests succeeds
[ ] tested examples with the following backends:

bors r+


March 2022 pages dataset grew by ~2x

BQ meta dashboard
The number of rows in the pages tables has stayed relatively consistent, but in March the size of the desktop and mobile tables grew by about 2x.
Investigate what caused the change and update the pipeline to reduce the size going forward.

Did we ever look into this @rviscomi / @pmeenan ? It’s the same again this month.

I haven't looked into this yet

Looks like the axe audit data somehow bled through (and it is huge). We should be running the tests with axe=0 which should turn it off but clearly it didn't starting in March.
I spot-checked a few of the raw HARs for the crawl that just started and the axe data isn't included so it should be fixed in the May crawl.
My guess is the WPT server-side code stopped passing the axe option through as a test option when passed through the API. Since we're no longer using the web UI to manage the jobs, the option is flowing through correctly again.


Remove excess intent fetching on /training/intents page

Related task:

https://github.com/buerokratt/Training-Module/issues/742

This PR:

Resolves most issues with excessive data fetching on intents page. Previously all intent data for all intents was fetched every time. This was very slow and not scalable. Now, I split off a separate IntentDetails component where detailed data is fetched only for the   selected intent. The Intents/index.tsx itself now only fetches minimum data required to render the list.
Response and rule fetching is not fixed in this PR, these still fetch data for all requests. This will be implemented in later PRs.
This IntentDetails component is also going to be used with common intents page to remove the significant code duplication. I will implement this in a later PR.
Fixes a couple minor issues, mostly related to types. It was very difficult to work otherwise.

2.5% code duplication reported by Sonar is expected due to Intents and Common Intents pages having duplicate code before. We will get rid of this in the future task: https://github.com/buerokratt/Training-Module/issues/743


Is it possible to add ActiveRecord-like change callbacks?

Disclaimer: I'm not a Redis expert, at all.
My naive line of thought was that change callbacks could be used in a variety of scenarios:

issuing notifications, e.g. when a user is added to a unique list holding "presence"
updating a view via turbo streams or CableReady, think "live dashboards"
building chat bots
...

Hey, yes, there's something interesting here! Right now this gets close to speculative territory though, so let's get a little more real by seeing some use cases from your app. Is there a place where you're trying to add Kredis that you could reasonably share (with renames/modifications)? That way we can extract rather than invent, which is easier 😄

Very speculative indeed, because right now I'm only building this in my head - as kredis itself is quite young. I'm going to build a presence module in one of my apps soon-ish though, so I'll report back with a gist when I'm ready 👍

Perfect that sounds great! I'll close this for now, but once you have more we can just re-open, or start a new one, all good 😄

Redis (and the redis) gem make it relatively easy to "subscribe" to updates on a key:
https://github.com/redis/redis-rb/blob/master/examples/pubsub.rb
I think you/we get further, faster, if you think of this potential functionality as being less like an AR callback and more like an ActionCable channel.
Right now, if I was 1. working with a Kredis object eg. Kredis.string "mystring" I would likely just take the example linked above and use the Redis gem directly to subscribe and respond to updates.
Conversely, if your goal is to 2. get the AR methods like kredis_list to trigger AR callbacks on their models, well, that's interesting. You could likely prototype this as a concern and whip up an example pretty quickly, Julian.
(If there's a third path implied, I apologize for not spotting it!)

I managed to play around with this a bit more, and it sent me right down a rabbit hole of ThreadPools etc., looking at the ActionCable pubsub implementation - stuff I'm not really too comfortable with.
Also, since kredis is supposed to be a lightweight adapter for redis data types, a complete pubsub solution doesn't appear to have a place here.
What could bring some flexibility though, is the ability to pass a callback block to mutating operations like Set#add etc.
A very naive solution which has no concept of thread safety etc. could look like this:
class Kredis::Types::Set
  # ...
  def add(*members)
    sadd types_to_strings(members) if members.flatten.any?

    yield members if block_given?
  end
  # ...
end

Doing that I was able to write a simple presence module that streams a CableReady operation to display a list of users currently viewing a resource:
resource.present_users.add(current_user.id) do |members|
  StreamPresenceJob.perform_later(members)
end

From here it's not a wide stretch to assume that a Proc could be placed on the model itself, or a wrapper function defined inside a concern for adding/removing ids to/from the set that allows for this operation.
For reference, here's a short clip:
https://user-images.githubusercontent.com/4352208/120341577-46795700-c2f7-11eb-86a8-234d260adfae.mp4

Are you using a fork of Kredis with block support to do that, @julianrubisch? A link to the implementation (or "an" implementation") would help.
I agree that there's a difference between yielding to a block (which I am very 👍 about) and actually registering pub/sub stuff. That feels like another gem.
On the topic of thread safety, I wonder if Kredis would benefit from the Thread::Local mechanism we use in CableReady?


New Frontend Branch (updated)

Closes #636
Pull in Jack's work on a new frontend UX.
TODO:

[x] Update homepage styles

OK I just talked to Amy, she is good to merge this in even if lots of the UI isn't working yet. I think that will be much easier to work from.
The one thing I need to fix is the homepage (somehow I messed it up and reverted it to an old version when I resolved the merge).

@amyxzhang This is ready to merge now I believe, I fixed the homepage so it's back to the current working version. Hopefully shouldn't break anything in the backend, even though the frontend now is only partially implemented.


Fail for add-task if task_id does not exist

After creating a workflow (via the client), issuing fractal workflow add-task 1 1 gives a non-informative error:
$ fractal workflow add-task 1 1

DEBUG:asyncio:Using selector: EpollSelector
DEBUG:root:Namespace(batch=False, cmd='workflow', id='1', json=False, order=None, password=None, slurm_user=None, subcmd='add-task', task_id='1', user=None, v=0)
DEBUG:httpx._client:HTTP Request: POST http://localhost:8002/api/v1/workflow/1/add-task/ "HTTP/1.1 500 Internal Server Error"
DEBUG:root:500
ERROR:root:Server returned 500
ERROR:root:Original request: POST http://localhost:8002/api/v1/workflow/1/add-task/
ERROR:root:Original payload: {"workflow_id": null, "task_id": 1, "order": null, "args": null}
ERROR:root:Server error message: {}

ERROR:root:Terminating.

The error in the server logs read
INFO:     <IP_ADDRESS>:36730 - "POST /api/v1/workflow/1/add-task/ HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/uvicorn/protocols/http/h11_impl.py", line 404, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
    return await self.app(scope, receive, send)
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/fastapi/applications.py", line 269, in __call__
    await super().__call__(scope, receive, send)
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/starlette/applications.py", line 124, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/starlette/middleware/cors.py", line 84, in __call__
    await self.app(scope, receive, send)
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/starlette/exceptions.py", line 93, in __call__
    raise exc
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/starlette/exceptions.py", line 82, in __call__
    await self.app(scope, receive, sender)
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/starlette/routing.py", line 670, in __call__
    await route.handle(scope, receive, send)
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/starlette/routing.py", line 266, in handle
    await self.app(scope, receive, send)
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/starlette/routing.py", line 65, in app
    response = await func(request)
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/fastapi/routing.py", line 235, in app
    response_data = await serialize_response(
  File "/data/homes/fractal/.conda/envs/fractal-server-v1/lib/python3.8/site-packages/fastapi/routing.py", line 138, in serialize_response
    raise ValidationError(errors, field.type_)
pydantic.error_wrappers.ValidationError: 1 validation error for WorkflowRead
response -> task_list -> 0 -> task
  none is not an allowed value (type=type_error.none.not_allowed)

(ongoing debugging)
This is the new_task which is used in the add-task endpoint (notice that workflow_id=None):
/home/tommaso/miniconda3/envs/fractal-server-v1/lib/python3.8/site-packages/fractal_server/app/api/v1/workflow.py:137 add_task_to_workflow
    new_task: WorkflowTaskCreate(
        workflow_id=None,
        task_id=1,
        order=None,
        args=None,
    )

This was probably a client error: https://github.com/fractal-analytics-platform/fractal/issues/311
(still, we should fail gracefully)

Not sure of whether the error is on the server or client side. It appears only when one of the attributes of
    new_task: WorkflowTaskCreate(
        workflow_id=1,
        task_id=1,
        order=1,
        args={},
    ) (WorkflowTaskCreate)

is None, while everything runs smoothly if the arguments are all there. Who's responsible for this check? Server or client? @jacopo-exact

For the record: the error here was that the task collection had not completed.
Still to fix: why doesn't the db.commit() in insert_task fail?

SQLite does not enforce foreign key constraints unless explicitly instructed to do so.

this issue was superseded by PR #241.
We are offering only limited support to sqlite because of its intrinsic limitations. It should be considered a development db engine but production deployment should take place in postgres (the only supported db so far).


Unable to deploy Oauth2 app and  wso2 app during startup - IS 5.2

Describe the issue:
$sub
How to reproduce:
Take latest update IS 5.2.0 and try to start the server.
Expected behavior:
Server started successfully.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS 5.2.0
OS: Linux
Database: H2
Userstore: JDBC

Mail " [IAM-PATCH][NUTANIXPROD-1071] Unable do deploy webapps(Oauth, SCIM) in IS 5.2.0"

Since this is reproducible only using Java 7 which is deprecated, please update to java 8 and try the flow. We can close the issue.


About the loss

Hi, Author！Thank you for your amazing work!
I wonder the training loss would be at which scale when converged? If you have some training output log, it would be better!!

I read the previous issue, and know that you didn't keep the loss log. So a range is ok. Be like [0.5(epoch 1) to 0.1 (epoch 20)] is ok!

Hi, I can't remember the numbers. Please note that the depth losses are not accurate. See here.

I am now closing this issue due to a lack of response.


Update README.md

?????????????????????????????????????????????????????????????????????????????????????????????????????????

_ No description provided.

Hahahaha closed this please :v

🥱

Close this PR @PurpShell 😂

Don't say bad words to my pookie🎀
Pookie is new to github💝

Idk guys this PR looks really good, I'll push in a few hours. I'd like to spam everyone with a photo of Hisoka


Differences between yaml syntax v1alpha2 and v1beta1 (for NodeSelector support)

/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
I was attempting to add a NodeSelector to my InferenceService yaml file in v1alpha2, but I was getting this error:
error: error validating "/home/dan/Documents/project/ai-service/tools/dist/gpt-pvc-inference-service-333.yaml": error validating data: [ValidationError(InferenceService.spec.default.predictor): unknown field "nodeSelector" in org.kubeflow.serving.v1alpha2.InferenceService.spec.default.predictor, ValidationError(InferenceService.spec.default.predictor): unknown field "tolerations" in org.kubeflow.serving.v1alpha2.InferenceService.spec.default.predictor, ValidationError(InferenceService.spec.default.transformer): unknown field "nodeSelector" in org.kubeflow.serving.v1alpha2.InferenceService.spec.default.transformer]; if you choose to ignore these errors, turn validation off with --validate=false
Per this issue, NodeSelector support has been added to v1beta1, so I switched versions in order to use the NodeSelector feature. When I did that though, I got the following error:
 error: error validating "/home/dan/Documents/project/ai-service/tools/dist/gpt-pvc-inference-service-333.yaml": error validating data: [ValidationError(InferenceService.spec): unknown field "default" in org.kubeflow.serving.v1beta1.InferenceService.spec, ValidationError(InferenceService.spec): missing required field "predictor" in org.kubeflow.serving.v1beta1.InferenceService.spec]; if you choose to ignore these errors, turn validation off with --validate=false
Does the entire yaml file need to be formatted differently in order to switch versions? I've looked for comparable example yaml files that uses v1beta1, but can't seem to find any. Below is the relevant yaml file.
apiVersion: serving.kubeflow.org/v1beta1
kind: InferenceService
metadata:
  name: ai-service-dev-333-inference
  labels:
    app: ai-service-dev-333-inference
spec:
  default:

    predictor:
      nodeSelector:
        vng: ai-service-gpu
      tolerations:
      - key: nvidia.com/gpu
        operator: Exists
        effect: NoSchedule

      parallelism: 1
      minReplicas: 0
      maxReplicas: 5
      tensorflow:
        storageUri: /transformer/models_exported/124M/
        runtimeVersion: "1.15.0-gpu"
        resources:
          limits:
            nvidia.com/gpu: 1
          requests:
            nvidia.com/gpu: 1

    transformer:
      nodeSelector:
          vng: ai-service-cpu
      parallelism: 300
      minReplicas: 0
      maxReplicas: 2
      custom:
        container:
          image: __CONTAINER_IMAGE__
          name: user-container
          resources:
            limits:
              cpu: 1
              memory: 256Mi
            requests:
              cpu: 1
              memory: 256Mi

What did you expect to happen:
I would have expected the differences between yaml files in v1alpha2 and v1beta1 to be minor, but it seems like quite a few changes need to be made, none of which seem obvious.
Anything else you would like to add:
I'm not sure where the NodeSelector portion should go. The current location was a best guess based on my other yaml files.
Environment:

Istio Version:
client version: 1.9.0
control plane version: 1.8.2
data plane version: 1.8.2 (1 proxies)
Knative Version:
KFServing Version: 0.5.0
Kubeflow version:
Kfdef:[k8s_istio/istio_dex/gcp_basic_auth/gcp_iap/aws/aws_cognito/ibm]
Minikube version:
Kubernetes version: (use kubectl version):
Client: v1.18.5
Server: v1.18.9
OS (e.g. from /etc/os-release):
Linux 18.04

@danielricks default level has been removed, you can check the api doc here

When I try it without "default", it throws an validation error on "parallelism". Has that been removed as well?

When I try it without "default", it throws an validation error on "parallelism". Has that been removed as well?

It is renamed to containerConcurrency in v1beta1 per release note

Ah, thanks. It looks like the "custom" tag doesn't work either. Is there a new keyword for specifying a container and its resources?

Ah, thanks. It looks like the "custom" tag doesn't work either. Is there a new keyword for specifying a container and its resources?

container is changed to be array and custom tag is removed. check [this example)(https://github.com/kubeflow/kfserving/blob/master/docs/samples/v1beta1/transformer/torchserve_image_transformer/transformer.yaml)

Thanks. Is there a way to specify what port the containers will use?

Thanks. Is there a way to specify what port the containers will use?

Yes, check this, by default it exposes the HTTP port 8080, if you are using a different port or gRPC you will need to explicitly expose the port on the spec.


New MyApps groups experience missing functionality

The new My Apps Groups experience currently does not allow group owners to add a new user to a group that does not yet exist on the tenant. In the GA experience this will trigger a guest invitation however the new experience does not and the "Add" button remains unusable if the user email cannot be looked up.

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

ID: 4404d856-2612-f4a2-ed5c-fff65761293a
Version Independent ID: 35b07132-7d8a-2c29-3988-54a2ae8fcc25
Content: Set up self-service group management - Microsoft Entra
Content Source: articles/active-directory/enterprise-users/groups-self-service-management.md
Service: active-directory
Sub-service: enterprise-users
GitHub Login: @barclayn
Microsoft Alias: barclayn

@brolifen
I'm going to assign this to the document author so they can take a look at it accordingly
@barclayn
Could you Please review this and update as appropriate.

Meanwhile you no longer can go back to the old experience. So a group owner no longer can invite a new guest user to their groups. Thank you Microsoft for decimating production features and leaving your customers stranded.

Feature has been added now it seems this can be closed.

Issue Resolved.


Closes: #1

Updated validations.py python script.
Fixed behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

Closed pull requested, pull request was open only for training purposes.


INV-19-test-connect-db

setup database and API

connection to db
cors
response mapping
error handling
environment variable for connection string
update readme instructions for setup and formatting tool
database schema and diagram

perfect


Reponse Lookup for different Environments broke with 2022.7.2

Expected Behavior
The latest response should be displayed and should be appended to the environment history.
Actual Behavior
Performed requests do not show up
Reproduction Steps

Create a new HTTP Request/Use an existing HTTP Request
Be sure to enable the Option "Request / Response" -> "Filter reponses by environment"
Send the request

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
It seems like sent requests are not assigned to any environment and therefore are filtered out.
Disabling the Option "Request / Response" -> "Filter reponses by environment" makes responses visible again.
Seems to be broken since the Update, as it was working before (Not sure which version I had installed before however)
Insomnia Version
2022.7.2
What operating system are you using?
Windows
Operating System Version
Windows 10 (Enterprise), v10.0.19044
Installation method
Download from Insomnia.rest
Last Known Working Insomnia version
2022.7.1

@deckdom thanks for reporting this, this is a duplicate of https://github.com/Kong/insomnia/issues/5664 - fix for it will go out today


Readme claiming deprecated/non-existent functionality in CLI tool

Readme file has a section showing that Cliche's CLI tool is able to run scripts that contain cliche.cli decorator usage, without running cliche install beforehand.
However, if one creates calculator.py and tries to run it as the screenshot does, then error message will appear instead of running the built CLI:
Usage: cliche [-h] [--cli] [--pdb] [--timing] {install,uninstall} ...

COMMANDS:
    install            Create CLI from current folder
    uninstall          Delete CLI

OPTIONS::
  -h, --help            show this help message and exit
  --cli                Outputs CLI and Python version info and exits.
  --pdb                Drop into pdb on error
  --timing             Add timings of cliche and function call
Argument command: invalid choice: 'calculator.py' (choose from 'install', 'uninstall')

From CLI's help document it seems that usage like cliche [script_file] [args] is not supported at this moment.

Yea sorry have not been updating this. Another interesting case I want to support is like a python package, which is already doable but not in the readme I guess.
I don't recall using cliche script_name.py in a long time so considered that support dropped.
Recommend:

using install (it's nice)
as python package (setup.py)
add from cliche import main and add main() at the end of the script, and then call it like python my_script.py <args>

I'm wrapping my scripts into package, so now taking the second approach. Just wondering how to achieve hierarchical command lists with more than two layers (such as command_1 command_1_1 command_1_1_1 --some-option....) while it's possible to make it 2-layered by passing group name to cliche.cli decorator.

There's only support for 2 levels which is plenty for 99% of command tools.
If you really wanted to you could create an enum as another level.. Just use it as a first argument and do different behavior based on the variant

@kootenpv Support on deeply nested subcommands is emphasized in Typer's example, and DynaCLI claims to support the same feature with minimal modifications.
However, applications with super rich features (aka: complicated) as AWS's CLI usually have 2-layered subcommand structure at most, so I'm buying your argument 😬

Thanks for the references, much appreciated
I would need to see overwhelming "upvotes" to support 3 levels for me to consider it, otherwise not really an important feature to add


Modularize dm.use_deferred_removal and dm.use_deferred_deletion logic.

Signed-off-by: Shishir Mahajan<EMAIL_ADDRESS>

@rhvgoyal This is the PR for cleanup (modularizing) the devicemapper deferred removal and deferred deletion options.
Please do the review.
ping @thaJeztah

this isn't changing any logic right? if so, LGTM

If we're going to do this, shouldn't we split "deferred removal" and "deferred deletion"? Also, there's still a dependency between calling this function, and requires running determineDriverCapabilities() first, so although I agree it looks a bit cleaner, it doesn't really separate the code

@thaJeztah
I kept them together, as they are not mutually exclusive options. dm.use_deferred_deletion is dependent on dm.use_deferred_removal. So currently if you try to start dockerd with just --storage-opt dm.use_deferred_deletion=true it will not start and complain that deferred removal also needs to be there for deferred deletion to work. Hence I kept them together.
It does call determineDriverCapabilities() right before this logic is executed.
https://github.com/docker/docker/blob/master/daemon/graphdriver/devmapper/deviceset.go#L1634
@runcom yeah no logic changed, just code cleanup. @rhvgoyal requested for this.
Shishir

@thaJeztah
I see what you are saying about determineDriverCapabilities().
Should I move this:
https://github.com/docker/docker/blob/master/daemon/graphdriver/devmapper/deviceset.go#L1628-L1636 inside enableDeferredRemovalDeletion() function.
Does that solve your problem ?
Shishir

@shishir-a412ed no, I think it should be "ok" like it is now, it's just that I'm not really sure we gain much by this move.
Given that code was already like this :innocent: and that this slightly improves readability;
LGTM
Basically, I'm never fond of functions that have to be executed in a specific
order to work, and rely on "global" variables as a "communication channel"
To get what I think is proper separation is to;

Instead of it reading driver-options, and storing them in "global" variables (inside NewDeviceSet()), Pass an "options" type to initDevmapper() (e.g. initDevmapper(doInit, DevMapperOptions))
Have the devicemapper provide information about its capabilities, i.e., instead of determineDriverCapabilities(version) let devicemapper provide this information, e.g. devicemapper.SupportsDeferredRemoval()

I know this is not the only part where these kind of constructs are used, but IMO
(highly opiniated opinion), a function should produce the same result with the
same set of parameters, so f(x) = y should always return the same y with the
same x. Passing x instead of storing it somewhere globally makes it more clear
what parameters are used, and makes it easier to test.

restarting WindowsTP5 to have "green"

LGTM 🐺


[WIP]: Xavier AGX, NX eMMC and NX SD on L4T 35.4.1

Jetson migration testing
The sources in this PR can be used for testing the takeover project to migrate the following device-types:

Jetson AGX Xavier - yocto machine: jetson-xavier
Jetson Xavier NX Devkit eMMC - yocto machine: jetson-xavier-nx-devkit-emmc
Jetson Xavier NX Devkit SD-CARD yocto machine: jetson-xavier-nx-devkit

The following steps are necessary for building a Jetson Xavier AGX balenaOS image based on L4T 35.4.1. The resulting build artifact can then be used as a target OS image for triggering migration from a balenaOS running L4T 32.X to L4T 35.4.1
The following instructions assume that:

A Jetson Xavier Devkit running balenaOS is used as a lab device for testing the migration process
You have a setup for building balenaOS yocto images
Power is not cut at any time from your device, until the migration is completed successfully and the device boots into the new OS
All user data has been backed-up before the migration. No application data stored on the internal medium is preserved during the migration. The supervisor will re-download the application once the migration is complete and the device connects to the cloud

Building balenaOS for your Jetson device
Clone this repository:
git clone --recurse-submodules git@github.com:balena-os/balena-jetson-orin.git

Checkout the branch used in this PR:
git checkout wip_add_xavier_agx_nxsd_nxemmc_35_4_1_non_flasher
git submodule update --init --recursive

Build a development Yocto image (use -m jetson-xavier-nx-devkit for Xavier NX Devkit SD-CARD and -m jetson-xavier-nx-devkit-emmc for the eMMC device-type) :
./balena-yocto-scripts/build/barys -b build_agx_xavier_35_4 -m jetson-xavier --shared-sstate sstatedir/ --shared-downloads /yocto-downloads -d

Once the build finishes successfully, the balenaOS Yocto image will be generated in your build directory. Please note that the build timestamp will differ from one build to another:
balena-jetson-orin$ ls -l build_agx_xavier_35_4/tmp/deploy/images/jetson-xavier/balena-image-jetson-xavier-20240517145940.rootfs.balenaos-img

Compress this image uzing gzip and place it on your Jetson device which runs balenaOS, in the /mnt/data/ directory. The image must be gzipped for takeover to be able to use it:
root@ba8de4f:/mnt/data# gzip balena-image-jetson-xavier-20240517145940.rootfs.balenaos-img
root@ba8de4f:/mnt/data# ls balena-image-jetson-xavier-20240517145940.rootfs.balenaos-img.gz

Obtaining takeover
Download the aarch64 takeover archive, extract the binary copy it to your Jetson device, placing it in the /mnt/data/ directory.
Triggering the migration process
Execute the takeover binary on your Jetson board:
./takeover -i balena-image-jetson-xavier-20240517145940.rootfs.balenaos-img.gz --no-nwmgr-check --no-os-check --log-file /mnt/data/stage1.log --log-level trace -l /dev/sdb1 --s2-log-level trace

If you want to preserve migration logs, insert a USB stick in the Jetson board and pass the partition for storing the logs using `-l <usb_key_partition>`.

If the migration completed successfully, you should see the new L4T version in the kernel version string on your device:
root@ba8de4f:~# uname -r
5.10.120-l4t-r35.4.ga

Args description:

--no-nwmgr-check  ensures no new NetworkManager connection files are created from the current active NetworkManager connections. All connection files in /mnt/boot/system-connections/ have to also exist in /etc/NetworkManager/system-connections, otherwise takeover will refuse to continue. By default, balenaOS copies these connections between the boot partition to the NetworkManager directory at startup. However, if you manually created a connection in /etc/NetworkManager and have not transferred it to the boot partition, takeover will refuse to run. This is used to ensure that the device will be able to connect to the cloud after the migration is completed.
--no-os-check allows the migration to start regardless of the version currently running
--log-file /mnt/data/stage1.log is the path to where the stage1 migration log will be stored
-l /dev/sdb1 indicates the path to the external partition where the stage2 logs will be stored. Can be omitted.
--log-level and --s2-log-level sets logging level to trace for both stages of the migration

Use ./takeover --help for more details on the supported takeover arguments

@acostach I'd be happy to give this a try on Xavier AGX and Xavier NX.
Should it all work if I burn balenaOS directly, instead of using takeover?

@cbecker yes, for that can you try use this PR https://github.com/balena-os/jetson-flash/pull/163 in jetson-flash?

@acostach I managed to build the balena os image and proceeded to flash it with jetson-flash, the branch you mentioned above, but it's hanging, maybe I'm doing something wrong?
The command I run is ./bin/cmd.js -m jetson-xavier-nx-devkit-emmc -f /data/images/balena-image-jetson-xavier-nx-devkit-emmc.balenaos-img  -l yes
and this is the last part of the output:
[   4.7580 ] Warning: pub_key.key is not found
[   4.7443 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb.encrypt blob_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb.hash zerosbk
[   4.7536 ] tegrahost_v2 --chip 0x19 --generateblob blob.xml blob.bin
[   4.7553 ] number of images in blob are 11
[   4.7556 ] blobsize is 6500424
[   4.7556 ] Added binary blob_nvtboot_recovery_cpu_t194_sigheader.bin.encrypt of size 232976
[   4.7599 ] Added binary blob_nvtboot_recovery_t194_sigheader.bin.encrypt of size 206016
[   4.7603 ] Added binary blob_preboot_c10_prod_cr_sigheader.bin.encrypt of size 24016
[   4.7606 ] Added binary blob_mce_c10_prod_cr_sigheader.bin.encrypt of size 145184
[   4.7610 ] Added binary blob_mts_c10_prod_cr_sigheader.bin.encrypt of size 3430416
[   4.7630 ] Added binary blob_bpmp-2_t194_sigheader.bin.encrypt of size 1007392
[   4.7643 ] Added binary blob_tegra194-a02-bpmp-p3668-a00_lz4_sigheader.dtb.encrypt of size 36176
[   4.7648 ] Added binary blob_spe_t194_sigheader.bin.encrypt of size 95232
[   4.7654 ] Added binary blob_tos-optee_t194_sigheader.img.encrypt of size 977664
[   4.7657 ] Added binary blob_eks_t194_sigheader.img.encrypt of size 5136
[   4.7659 ] Added binary blob_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt of size 340032
[   4.7696 ] Sending bootloader and pre-requisite binaries
[   4.7728 ] tegrarcm_v2 --download blob blob.bin
[   4.7746 ] Applet version 01.00.0000
[   4.7960 ] Sending blob
[   4.7962 ] [................................................] 100%
[   5.7563 ] tegrarcm_v2 --boot recovery
[   5.7580 ] Applet version 01.00.0000
[   6.7864 ] tegrarcm_v2 --isapplet

@cbecker do you see any logs on the serial console of the device, do they show where the process stops?

@acostach I managed to test this successfully, and able to use the NX gpu for processing.
Thanks for taking care of this :)
Do you have an estimate of when this will be merged/available officially?

Hi @cbecker and thanks for the update! Could you please let me know if you managed to use takeover too to migrate from the previous release, and how it worked for you?

@acostach , I see that for Xavier NX, the kernel is the one release with JetPack 5.1.2, if I'm not mistaken. Is it straightforward/possible to update it to the 5.1.3 one, that is the latest supported for Xavier NX?

Hi @acostach, I've tested it on a Xavier AGX running the Balena version 2.99.27+rev1, and it looks like the supervisor versions should match the BalenaOS versions. So, I upgraded the supervisor version to 16.1.0 (I am unsure if this is the correct version to set it). After some failure at the initialization (the device kept restarting and got unexpected behavior), it worked as expected, so we ran some ML models on it. However, whenever we try to "Reboot" the Device from the Balena button, the Device remains in a fail state. Sometimes, it starts and goes offline after 1-2 minutes.

Do you have any idea about it? Right now, I don't have physical access to the Device, but I request to extract the debug logs from it
Do you think a fresh flash better fits this approach?

@acostach with a fresh flash also happens; using the reboot button causes a fail statute. I don't have the convertor to read the debug port still, but once I could got the logs I'll show you

Hi @dadaroce , can you please give me the full steps you used for testing? Also, can you please let me know what type of Xavier AGX you are using? RAM, eMMC size and if it's a Devkit or if it's using a custom carrier board. Thank you

@acostach I flashed the board directly with jetson-flash.
From what I understand, takeover is useful if I have an aready-flashed board with the sdkmanager, to install balena on it, is that correct? In our case, we wanted to do flash straight away, thus I used jetson-flash.

@cbecker takerover is useful for the AGX Xavier, Orin NX eMMC and Orin NX SD if you want to migrate from balenaOS running Jetpack 4 - L4T 32.7 - to a balenaOS running Jetpack 5 - L4T 35.X. This because there is a partition layout change between the two Jetpack versions

@acostach I flashed the board directly with jetson-flash.
From what I understand, takeover is useful if I have an aready-flashed board with the sdkmanager, to install balena on it, is that correct? In our case, we wanted to do flash straight away, thus I used jetson-flash.

@cbecker takerover is useful for the AGX Xavier, Orin NX eMMC and Orin NX SD if you want to migrate from balenaOS running Jetpack 4 - L4T 32.7 - to a balenaOS running Jetpack 5 - L4T 35.X. This because there is a partition layout change between the two Jetpack versions

Thanks for the explanation. I was using Xavier NX so probably that's why I didn't need it. I flashed it directly to the device.

This integration has been moved to https://github.com/balena-os/balena-jetson-jp5


feat: add partition to message and transaction table

Description
This PR fixes slow transactions retrieval from database. Partition by list was added to message and transaction table to improve the performance.
Closes: #306

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[x] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[x] targeted the correct branch
[x] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[x] included comments for documenting Go code
[x] updated the relevant documentation or specification
[x] reviewed "Files changed" and left comments if necessary
[x] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Codecov Report

:exclamation: No coverage uploaded for pull request base (v2/cosmos/stargate@38f0149). Click here to learn what that means.
The diff coverage is n/a.

@@                  Coverage Diff                  @@
##             v2/cosmos/stargate     #334   +/-   ##
=====================================================
  Coverage                      ?   57.58%
=====================================================
  Files                         ?       17
  Lines                         ?     1339
  Branches                      ?        0
=====================================================
  Hits                          ?      771
  Misses                        ?      472
  Partials                      ?       96

Replaced with #356


Nothing to see at backend

Hi,
I've installed OVOS-local-backend as described in the README.md and make a new mycroft.conf for using local backend. OVOS-local-backend runs at a Ubuntu Desktop in a virtual Python environment. Picroft is logged in at the backend. There are a lot of lines showing the IP of Picroft. But when I call the address and port by a browser I get this:

I expected to see something similar to home.mycroft.ai.Am I missunderstandig the local backend project?

while not directly replacing the mycroft selene functionality, you also have https://github.com/OpenVoiceOS/OVOS-Dashboard
its a sister project by @AIIX providing a web interface to manage your mycroft device, it doesnt have the full selene functionality, but it also has things selene doesn't


Setup Jenkins using CDK

We need to automate the Jenkins setup using CDK

Trying to create an Epic, unsuccessful.


This project should not depend on jQuery.

Place zepto.min.js within the appLoader closure, to provide ajax and DOM query functionality, or some other ajax-plus-DOM-selector solution.

Wrote a teensy replacement for jQuery (see src/jq.js) that includes:

$(<selector>) - DOM selector tools
$.ajax() (apes the jQuery API closely)
$.extend()
$.append()
$.remove()
$.globalEval()
$.appendScript() (not in jQuery, but useful for our purposes)

Adds 653 bytes gzipped.
N.b.: Because these methods don't perfectly match jQuery behavior, $ is not accessible outside the appLoader closure.


Add existential operator ^ to bagof/3

Fix allowing multiple bagof/setof to be active at once inside of a query.

TODO: Work on optimization of findall/bagof/setof. Currently it allocates a new subquery when it could be changed to work the current one.

Performance:
:- initialization(main).

foo(a, b, c).
foo(a, b, d).
foo(a, b, a).
foo(a, b, a).
foo(b, c, f).
foo(b, c, e).
foo(c, c, g).

test9 :-
	between(1,1000000,_),
		findall(C,foo(_,_,C),_),
		fail.

main :- time(test).
main :- halt.

Yap: 0.8s
GProlog: 1.8s
Trealla: 3.4s   (compiled 'make iso_small')
Swipl: 3.8s


Expose cabal executables as flake apps

[x] POC
[x] Move parsing to find-haskell-paths parser, add tests
[x] Use finalised options API (cf. ongoing discussion in comments)

POC for #36
Resolves #36

Use finalised options API

@sbh69840 For the API, let's go with this:

Rename  the currentoutputs.localPackages.<name> to outputs.packages.<name>.package
Rename this PR's localApps.<exe-name> to outputs.packages.<name>.exes.<exe-name>.

Just merged from master (because, using this branch in nammayatri)

@sbh69840 Could you also modify the test https://github.com/srid/haskell-flake/blob/master/test/simple/test.sh to check that https://github.com/srid/haskell-flake/blob/8fb3bbe77c74f2b7249d769d2eb462df917bbdc1/test/simple/haskell-flake-test.cabal#L12 exists.
Something like nix eval .#apps.<system>.<exe>.program I think.

However, what if the user specifies:
haskellProjects.default = {
  packages = {
    foo = {
      root = ./foo;
    };
  };
}

ie., root specified but no executables. I think we should be able to find the default value for it by parsing the .cabal file during options default. A test should be added to reflect this case.
More generally, we are decoupling the metadata extraction (from .cabal, etc.) from where they get used (haskell-project.nix).

In the initial POC commit I was parsing the cabal file based on the root attribute from config.packages.<packageName>. This would work in cases where cabal.project is present or not.

In the initial POC commit I was parsing the cabal file based on the root attribute from config.packages.<packageName>. This would work in cases where cabal.project is present or not.

That's simpler; let's go with that (assuming the parser is kept in the sub-directory). You could make default.nix return an attrset of two functions (instead of single function).

@roberth Hmm, this commit https://github.com/srid/haskell-flake/pull/137/commits/3ee7c78ad830dbd50ac537ea2d8f09aa0a83000d (I simply moved the code around) breaks the documentation test
https://github.com/srid/haskell-flake/actions/runs/4746595660/jobs/8430433835
 error: Most nixpkgs attributes are not supported when generating documentation.
       Please check with `--show-trace` to see which option leads to this `pkgs.callPackage` reference. Often it can be cut short with a `defaultText` argument to `lib.mkOption`, or by escaping an option `example` using `lib.literalExpression`.


examples: add demo with gRPC client

This change contains an example of a client written in TypeScript that talks to runme's server through Connect protocol. This is a web-friendly gRPC compatible alternative with great libraries for Go and TS. Note that connect-node which will allow to write Connect servers is still in progress.
In order to test it, you must start runme server with --web flag.
Then, you can cd to examples/client-ts, npm install, and npm start.
One more highlight is the fact that the client uses code generated by Buf Remote Packages.

Got it running.

I didn't realize that I needed to to --address <IP_ADDRESS>:8080 since the test UI is accepting it.
My bash is not located in the assumed directory. Not super critical but we should probably detect the right location.

I didn't realize that I needed to to --address <IP_ADDRESS>:8080 since the test UI is accepting it.

I will fix this so that it defaults to localhost:8080 when using --web and not passing --address/-a.

My bash is not located in the assumed directory. Not super critical but we should probably detect the right location.

That's a bit more tricky. We mostly use macOS for development and default bash is old (3.2) and prompt auto-detection does not work with it. I used a newer bash. It is explained in index.ts in createSession(). But I think for the time being, it might be better to assume the old bash. I will adjust that as well.


[Bug] [Typescript]: page.screenshot with dubious return type

Bug expectation
I expected page.screenshot({ encoding: "binary" }) to return me a Buffer type but instead I got the union type string | Buffer.
So now I need to coerce the type doing page.screenshot({ encoding: "binary" }) as Buffer in order to deal with it in the code.
Bug behavior

[ ] Flaky
[ ] PDF

Minimal, reproducible example
import puppeteer from "puppeteer";

(async () => {
  const browser = await puppeteer.launch();
  const page = await browser.newPage();
  const imageBuffer = await page.screenshot({ encoding: "binary" }) // Type is string | Buffer. Correct should be Buffer
  const imageString = await page.screenshot({ encoding: "base64" }) // Type is string | Buffer. Correct should be string
  console.log({imageBuffer, imageString});
})();

Error string
no error
Puppeteer configuration
No response
Puppeteer version
19.5.2
Node version
18.12.1
Package manager
yarn
Package manager version
1.22.19
Operating system
macOS

@OrKoN can you pause the github action?

@rhuanbarreto sorry for the messages, it only runs on edits and I see @Lightning00Blade edited it.

Sorry about the noise. GitHub allows you to click checkboxes without entering edit mode, and I accidentally did just that.

We had someone propose this feature in a PR before https://github.com/puppeteer/puppeteer/pull/9385 It didn't look like a useful change to me back then but this issue highlights the problem well and I think we should re-consider.

Thanks @OrKoN! I opened a new issue (#9541) for the waitForXPath method that is very similar to this.


pytest fixture scope

https://github.com/jazzband/django-constance/blob/4e5573ed95c6c4fd2f566e9669f03d4640eb75e9/constance/test/pytest.py#L74
By default pytest fixture has scope="function", so it can not be used with any scope, as mentioned in docs.

@last-partizan unfortunately, the global fixture can have only one scope. So no way to make it universal for any scope.
Luckily, a user is still able to override the fixture in project's conftest.py or any test file like
@pytest.fixture(scope='module')
def override_config(override_config):  # give same name for the custom fixture
    with override_config(API_URL="/awesome/url/"):
        yield

So i think this issue is more about mantioning that in the documentation

Yes, it's about mentioning this in documentation.

Can anyone help us with it?


add support for purging /etc/udev/rules.d/

I would like to be able to purge unmanaged udev rules.

Duplicate of https://github.com/voxpupuli/puppet-systemd/issues/291


Support request

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Hi @Dwalinnewyork, since there's nothing filled out I'll be closing this issue. If you have any issues with regards to the repository content here feel free to re-open this issue and let us know what issue you're experiencing.


npm run start-hot not working on Windows 10

When running the npm run start-hot it shows the Welcome to Electron screen telling me where to execute my code.

hey @timc3！you can try set HOT=1 && set NODE_ENV=development && electron .

@neighborhood999 the cross-platform env should be work by #100.
@timc3 I run start-hot is worked on Windows 7, no Welcome to Electron screen. Maybe the . path is not work on Windows 10? but I haven't machine of Windows 10. :\

@jhen0409 Sorry. I misunderstanding timc3 problem！
yesterday, I got this error message:
...
fs.js:585
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
...

then, i asked C.T.Lin, it's solved.

For whatever reason, changing the command to "command": "electron ./" was what fixed this for me.

WMeldon actually has the solution (though I did upgrade all my devDependancies). Works on both OS X and Windows 10.

The same issue on Windows 10. Maybe update the README or package.json?

@WMeldon : +1.  Your solution works for me (Windows 10).

Now appears to be broekn in Windows 8.1
D:\electron-react-boilerplate-master>npm run start-hot

><EMAIL_ADDRESS>start-hot D:\electron-react-boilerplate-maste
r
> cross-env HOT=1 NODE_ENV=development electron ./

fs.js:584
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open 'D:\electron-react-boilerplate-ma
ster\node_modules\electron-prebuilt\path.txt'
    at Error (native)
    at Object.fs.openSync (fs.js:584:18)
etc...

Reinstall packages maybe solve your problem
rm -rf node_modules
npm install

@chentsulin Your soulution works for me.


[multistage] multiple nested SEMI-join create wrong plan

running this in the colocated quickstart
explain plan for
WITH tmp2 AS (
  SELECT * FROM userGroups
  WHERE groupUUID NOT IN ('group-3', 'group-4')
),
tmp3 AS (
  SELECT *
  FROM userAttributes
  WHERE userUUID IN (SELECT userUUID FROM tmp2)
    AND totalTrips < 100
)
SELECT * FROM tmp3 WHERE userUUID IN (SELECT userUUID from tmp2)

produces
Execution Plan
LogicalJoin(condition=[=($3, $5)], joinType=[semi])
  PinotLogicalExchange(distribution=[hash[3]])      <-- THIS should be the right exchange
    PinotLogicalExchange(distribution=[hash[3]])      <-- THIS exchange is redundant
      LogicalJoin(condition=[=($3, $5)], joinType=[semi])
        LogicalProject(daysSinceFirstTrip=[$3], deviceOS=[$4], totalTrips=[$5], userUUID=[$6])
          LogicalFilter(condition=[<($5, 100)])
            LogicalTableScan(table=[[userAttributes]])
        PinotLogicalExchange(distribution=[broadcast], relExchangeType=[PIPELINE_BREAKER])
          LogicalProject(groupUUID=[$3], userUUID=[$4])
            LogicalFilter(condition=[AND(<>($3, 'group-3'), <>($3, 'group-4'))])
              LogicalTableScan(table=[[userGroups]])
  PinotLogicalExchange(distribution=[hash[1]])
    LogicalProject(groupUUID=[$3], userUUID=[$4])
      LogicalFilter(condition=[AND(<>($3, 'group-3'), <>($3, 'group-4'))])
        LogicalTableScan(table=[[userGroups]])

related to #11880
and should be fixed once #11831 and #11843 are merged


Feature: ability to delete/ remove releases

Describe the solution you'd like
We currently amassed quite a number of releases on our codepush releases page.
It would be nice to trim that list as older releases are obsolete.
Describe alternatives you've considered
Filter options on /distribute/code-push to show only releases that are targeting specific version or something similar would already help a lot to mitigate the issue.

Thanks @ferdicus for the feature request! @botatoes would you mind taking a look please?

I'm still here, waiting

nope

.