libtbb missing from some ITK 5.4.0 wheels

On my old linux box, pip install itk does not work anymore because libtbb is missing. Here is the list of commands I execute and the relevant output:
srit@russula:~> conda env create -y --name py39 python=3.9
srit@russula:~> conda activate py39
(py39) srit@russula:~> pip install itk
Collecting itk
  Using cached itk-5.4.0-cp39-cp39-manylinux_2_17_x86_64.whl.metadata (22 kB)
Collecting itk-core==5.4.0 (from itk)
  Using cached itk_core-5.4.0-cp39-cp39-manylinux_2_17_x86_64.whl.metadata (22 kB)
Collecting itk-numerics==5.4.0 (from itk)
  Using cached itk_numerics-5.4.0-cp39-cp39-manylinux_2_17_x86_64.whl.metadata (22 kB)
Collecting itk-io==5.4.0 (from itk)
  Using cached itk_io-5.4.0-cp39-cp39-manylinux_2_17_x86_64.whl.metadata (22 kB)
Collecting itk-filtering==5.4.0 (from itk)
  Using cached itk_filtering-5.4.0-cp39-cp39-manylinux_2_17_x86_64.whl.metadata (22 kB)
Collecting itk-registration==5.4.0 (from itk)
  Using cached itk_registration-5.4.0-cp39-cp39-manylinux_2_17_x86_64.whl.metadata (22 kB)
Collecting itk-segmentation==5.4.0 (from itk)
  Using cached itk_segmentation-5.4.0-cp39-cp39-manylinux_2_17_x86_64.whl.metadata (22 kB)
Collecting numpy (from itk)
  Using cached numpy-1.26.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
Using cached itk-5.4.0-cp39-cp39-manylinux_2_17_x86_64.whl (17 kB)
Using cached itk_core-5.4.0-cp39-cp39-manylinux_2_17_x86_64.whl (80.5 MB)
Using cached itk_filtering-5.4.0-cp39-cp39-manylinux_2_17_x86_64.whl (67.5 MB)
Using cached itk_io-5.4.0-cp39-cp39-manylinux_2_17_x86_64.whl (26.1 MB)
Using cached itk_numerics-5.4.0-cp39-cp39-manylinux_2_17_x86_64.whl (56.2 MB)
Using cached itk_registration-5.4.0-cp39-cp39-manylinux_2_17_x86_64.whl (27.2 MB)
Using cached itk_segmentation-5.4.0-cp39-cp39-manylinux_2_17_x86_64.whl (14.7 MB)
Using cached numpy-1.26.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
Installing collected packages: numpy, itk-core, itk-numerics, itk-io, itk-filtering, itk-segmentation, itk-registration, itk
Successfully installed itk-5.4.0 itk-core-5.4.0 itk-filtering-5.4.0 itk-io-5.4.0 itk-numerics-5.4.0 itk-registration-5.4.0 itk-segmentation-5.4.0 numpy-1.26.4
(py39) srit@russula:~> python
Python 3.9.19 (main, May  6 2024, 19:43:03)
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import itk
i>>> itk.Image[itk.F, 3].New()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/srit/miniconda3/envs/py39/lib/python3.9/site-packages/itk/support/lazy.py", line 138, in __getattribute__
    base.itk_load_swig_module(module, namespace)
  File "/home/srit/miniconda3/envs/py39/lib/python3.9/site-packages/itk/support/base.py", line 94, in itk_load_swig_module
    itk_load_swig_module(dep, namespace)
  File "/home/srit/miniconda3/envs/py39/lib/python3.9/site-packages/itk/support/base.py", line 130, in itk_load_swig_module
    l_module = loader.load(swig_module_name)
  File "/home/srit/miniconda3/envs/py39/lib/python3.9/site-packages/itk/support/base.py", line 289, in load
    l_spec.loader.exec_module(l_module)  # pytype: disable=attribute-error
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/home/srit/miniconda3/envs/py39/lib/python3.9/site-packages/itk/support/../ITKPyBasePython.py", line 63, in <module>
    from itk.pyBasePython import *
  File "/home/srit/miniconda3/envs/py39/lib/python3.9/site-packages/itk/pyBasePython.py", line 15, in <module>
    from . import _ITKCommonPython
ImportError: libtbb.so.12: cannot open shared object file: No such file or directory
>>>
(py39) srit@russula:~> find miniconda3/envs/py39 -name libtbb*
(py39) srit@russula:~>

I had a similar problem when building RTK wheels. The problem seems to be caused by the recent upgrade of scikit-build-core from 0.8.2 to 0.9.5. Downgrading it produces a wheel with libtbb. The main difference I observe is that 0.9.5 does not move a linux wheel at the end (see here) whereas 0.8.2 replaces the manylinux file with linux file (see here). I don't know what's the solution but that might help...

CC @henryiii @jcfr

Any update on this issue?

We will address this in 5.4.1.


Extract commonly used types such as Date/RmcData/...

Codecov Report

Merging #11 into master will not change coverage.
The diff coverage is 88.46%.

@@           Coverage Diff           @@
##           master      #11   +/-   ##
=======================================
  Coverage   94.11%   94.11%
=======================================
  Files           4        4
  Lines         204      204
=======================================
  Hits          192      192
  Misses         12       12

Impacted Files
Coverage Δ

src/ArduinoNmeaParser.h
100.00% <ø> (ø)

src/nmea/GPRMC.cpp
92.24% <88.00%> (ø)

src/ArduinoNmeaParser.cpp
95.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Xamarin support improvements

Address some concerns from #15969:

fix detection of Xamarin.iOS
improve backward compatibility of grpc_csharp_ext built for android.

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,976,225      Total (=)      1,976,225

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,770,428      Total (>)     10,770,421

 No significant differences in binary sizes

Known failures: https://github.com/grpc/grpc/issues/16078


SetCity use case and started WelcomeView

Code Review
Overall, good PR.
Good

following Clean Architecture for the most part, good use of Input/Output boundaries and the interactor
well named functions and variables

Bad

include some more comments in your code (this is just a general note, most of the methods in your PR don't really require comments so it's not a big deal)
missing tests


refactor(v2): replace EJS with Eta for SSR generation

Motivation
While working on some features for Docusaurus v2, I noticed that it uses EJS to generate SSR templates.
Eta is a template engine I created as an alternative to EJS, doT, and lodash.template. It is more lightweight, faster, and has more reliable parsing. It also exposes TypeScript types and collects test coverage, and keeps almost the same template syntax.
Because Eta supports caching intermediate template functions with the name field, avoids using with() {}, and has a faster parser than EJS anyway, I think it would lead to a slight increase in SSR rendering speed, as well as shave off a few KB from the user install size.
Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan

Make sure the Netlify preview deployment works
Compare results of build folders

Everything works on my local computer and the deploy previews...

@lex111 sure! I actually ended up removing that because I saw the HTML is minified with https://github.com/DanielRuf/html-minifier-terser, but I can get it working again :)

@lex111 there are a few options:

I set the equivalent of rmWhitespace on Eta (EJS' rmWhitespace calls templateText = templateText.replace(/[\r\n]+/g, '\n').replace(/^\s+|\s+$/gm, ''))
I remove the whitespace in the template

Which would you prefer?

@nebrelbug let's use the equivalent of rmWhitespace option.

@lex111 just updated!
Doing the replace() up front in the template is clearest in my opinion, and allows Eta to only parse the template once :smiley:

@nebrelbug I'm just wondering why now (with Eta) and earlier (with EJS) so many whitespaces have not been deleted, as shown in the screenshot?

@lex111 I think specifically those whitespaces are from values Docusaurus passed as data to the template engine -- not from the template. Neither Eta nor EJS removes whitespace from user data. That's just a guess though -- I'll have to look into it more

@nebrelbug yep, you're right, but how to remove them, is there an easy and safe way to do this?https://github.com/facebook/docusaurus/blob/master/website/docusaurus.config.js#L186

@lex111 sure! Just remove the whitespace in the template literal.
              html: `

              `,

Can be changed to:
              html: `

`,

Nah, I meant deleting them programmatically.
ср, 29 апр. 2020 г. в 22:18, Ben Gubler<EMAIL_ADDRESS>
@lex111 https://github.com/lex111 sure! Just remove the whitespace in
the template literal.
          html: `

          `,

Can be changed to:
          html: `

`,
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/docusaurus/pull/2684#issuecomment-621410351,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUIO5ZQRSTZWNR6VBM6KLRPB4QPANCNFSM4MSIE3GA
.

@lex111 we could change:
<%~ it.postBodyTags %>

To:
<%~ it.postBodyTags.replace(/^\s+/gm, '') %>

(I'm assuming the Netlify button is in postBodyTags?)

@lex111 or we could define a custom helper function or write a plugin or do a few other things. There isn't a built-in way to do this though in either Eta or EJS

@nebrelbug no problem, this is completely optional, I was curious how this could be done. So Eta seems like a good replacement for me!

@lex111 and @yangshun:
By the way, may I list Docusaurus 2 under Eta's README section called "Projects using Eta"?

@nebrelbug Of course! Happy for you to do that!

We would love for you to showcase Eta on https://v2.docusaurus.io/showcase as well


New version 8.8.0

Hi,
My crashplan has started downloading<PHONE_NUMBER>880 and failing (will retry in an hour).  I noticed there's a new version 8.8.0 in the downloads section.

That may (I hope) explain why I'm suddenly unable to log in to the client.

Thanks for reporting, I will integrate this new version.

Not seeing the new version on my side yet.  Could you provide the full filename of the downloaded file from the console?

I'm not getting the notification anymore either. I checked docker logs, but there is nothing about the download. Where is the console you are referring to?

Can confirm, it was there but appears to have been pulled now.

Like Alibloke, I confirm it was there yesterday, but I'm not longer getting the upgrade notification.

Ok thanks, probably that a last-minute bug has been found...
@phirestalker, the console I was talking about is the interface you access when you login to crashplan.com

Hi jlesage, any time soon when you'll be releasing a container containing version 8.8.0 of the app?
Thanks for the great work!

This version is still not available.  Code42 briefly made it available last month, but removed it.  I just checked and the latest version is still 8.7.1.


AlaSQL + Angular.js

I am thinking about more closely integration AlaSQL with Angular.js.
What kind of directive it can be? Possible candidates:

advanced filter
XLSX/CSV import/export functionality
SQL service (like https://github.com/paulocaldeira17/angular-websql)

What else can be required?

Created on http://feathub.com/agershun/alasql/+32 so closing


PRNG requirement - file descriptors

Comment from @richsalz in RT ticket 1298:
"It's probably not an issue because the number of file descriptors has increased on the native O/S's. But "file descriptor exhaustion" is still an issue for RNG's (google it) and we should keep it in mind for the future. What's the best way to do that?"
This ticket is a placeholder for the above issue to be kept in mind during the design of the new PRNG (post 1.1.0).

Just to note the obvious options: one can ensure that a fd to /dev/urandom is opened early and never closed, and one can have sources of entropy that do not rely on file descriptors (rdrand, getentropy).

Read the whole ticket, : http://rt.openssl.org/Ticket/Display.html?id=1298 for more info.

I am going to claim that this is addressed by using non-fd seeding mechanisms in the new RAND functionality.


cartographer pure localization parameter tuning issue - sudden shifts of scan data even the robot is stopped

Cartographer config, tf free, bag file and recorded video(of rviz)
https://drive.google.com/drive/folders/12qOU4kMDxgGG0_A7VqNz0mASXjAvpHHU?usp=sharing
Sensor:
Velodyne vlp-16
I'm having trouble finding the optimal configuration of pure localization mode of cartographer. At first, when the cartographer  pure-localization mode is launched, the localization process is pretty fast and accurate. I do not see any strange behavior as well. But, when I move(using Joystick) the robot around for a bit, the 2D scan data(filtered from velodyne 3D point cloud) starts to make a sudden shift once every 5 or 6 seconds and it continues to behave that way even the robot comes to stop(as in the attached video).
Difference in transformation between consecutive map->base_link tf data.

I have tried to add the parameter "MAP_BUILDER.pose_graph.constraint_builder.min_score = 0.7" as suggested here, but the problem still persists.
Why is the scan-matching not working once in a few seconds?
Thank you for your cooperation.

help

Can you help me understand why tf  map--> laser is moving when the robot is static?

does this problem also occur when you use bag file, I tested your file but everything works fine


2to3 merge back into develop

This PR introduces

The upgraded codebase

The upgraded codebase aims to be functionally equivalent to the previous 2.7 codebase.
I recommend utilizing the viewed functionality to keep track of your review progress

Codecov Report

Merging #168 into develop will decrease coverage by 0.2%.
The diff coverage is 54.68%.

@@             Coverage Diff             @@
##           develop     #168      +/-   ##
===========================================
- Coverage    82.33%   82.12%   -0.21%
===========================================
  Files           37       37
  Lines        17371    17358      -13
  Branches      1646     1733      +87
===========================================
- Hits         14302    14255      -47
- Misses        2432     2463      +31
- Partials       637      640       +3

Impacted Files
Coverage Δ

candig/server/datamodel/rna_quantification.py
90.24% <ø> (-0.12%)
:arrow_down:

candig/server/datamodel/datasets.py
77.16% <ø> (-0.11%)
:arrow_down:

candig/server/response_builder.py
100% <ø> (ø)
:arrow_up:

candig/server/repo/models.py
99.82% <ø> (-0.01%)
:arrow_down:

candig/server/datamodel/bio_metadata.py
58.71% <ø> (-0.3%)
:arrow_down:

candig/server/auth/__init__.py
60% <ø> (ø)
:arrow_up:

.../server/datamodel/genotype_phenotype_featureset.py
95.53% <ø> (-0.08%)
:arrow_down:

candig/server/configtest.py
0% <ø> (ø)
:arrow_up:

candig/server/serverconfig.py
100% <ø> (ø)
:arrow_up:

candig/server/cli/__init__.py
100% <ø> (ø)
:arrow_up:

... and 28 more

Continue to review full report at Codecov.

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

Most of the suggested changes have been adopted and were marked as 'Resolved', the ones that have not been marked as 'Resolved' are the ones whose changes had not been incorporated.


feat: hide unimplemented dark mode for v5.3.0

Description
This PR will be the latest PR to merge just before the release of Boosted v5.3.0. It hides the dark mode as it is not yet implemented for Boosted. The inner mechanism will stay, but it must be deactivated from the documentation.
The content of this PR must be reverted right after the release so we can get back to work based on the main branch of Bootstrap. If a v5.3.1 is released before we have the time to release the dark mode, we'll get back this PR again.
Detailed content of this PR in terms of modifications:

[x] Force data-bs-theme="light" in the layouts used to display the documentation (base and examples)
[x] Drop usage of color-modes.js in documentation
[x] Drop theme selector from the example and page layouts
[x] Check all docs pages to evaluate if content must be adapted here:

[x] Customize > Sass: import of variables-dark must remain.
[x] Customize > Options: test if disabling $enable-dark-mode could be easier to understand and evaluate the impact for users
[x] Customize > Color

[x] Create another PR to remove the following sentence which isn't true "Boosted’s color palette has continued to expand and become more nuanced in v5.3.0." → https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/pull/2045
Colors section must remain to understand the new custom properties

[x] Color modes

[x] Create another PR to change "Bootstrap" by "Boosted" in the description and other places in the file → https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/pull/2045
[x] Add a design callout to explain that it must not be used now because not implemented in Boosted

[x] Customize > CSS Variables Dark mode section can stay as it explains only how it works internally.
[x] Customize > Optimize: import of variables-dark must remain
[x] Forms > Validation: "These variables are also color mode adaptive, meaning they change color while in dark mode." can remain as it explains the inner behavior
[x] Components > Navbar > Color schemes seems well described even talking about data-bs-theme="dark". IMO can stay as-is.
[x] Utilities > API: variables-dark imports must remain
[x] Utilities > Background and Utilities > Colors: the new utilities must remain even if some colors might be not well understood without dark mode (especially the text ones with body and body-emphasis).

[x] Rewrite the migration guide so it remains understandable
[x] Double-check in Sass files if some things must be removed

Motivation & Context
The readers/users must understand by reading the documentation (migration guide included) that the inner mechanism for the color mode is available but they can't use it yet for the dark mode in their projects.
Types of change

New feature (non-breaking change which adds functionality)

Live previews

https://deploy-preview-2044--boosted.netlify.app/

Finally chose not to set $enable-dark-mode to false because it breaks examples in the "Colors modes" page and wouldn't be compatible with plugins and libraries based on Bootstrap v5.3.0. Might be more difficult to understand for the users, and some might be angry, but compatibility would be ensured. On top of that, it will be easier for us to maintain rather than having to revert a ton of modifications in the documentation.


Host vs. Accel DRAM syntax is confusing

Noticed the new distinction between accel and host DRAM. While this is good, the way of creating these is not at all clear. At the moment, calling DRAM[Int](32) creates a host DRAM while calling DRAM1[Int](32) creates an Accel DRAM.
It would be much better if AccelDRAM was the default (since that's what it previously was), and there was an option to do something like HostDRAM[Int](32) or DRAM.host[Int](32). Something that makes it obvious this is a different DRAM type.
Additionally, what's the contract for using accelerator DRAM now? It looks like everything is dynamically allocated, even things which might have previously been known statically? Does HostDRAM actually live in the host's memory? (I saw that the previous names for these were DRAMStaticNew and DRAMDynNew, which seems like better names for these if that's actually what they are for)

Just to clarify, the current API is:
// dram of statically known dimensions that is allocated by the host and passed in with implicit ArgIns to be shared with the accelerator; this hasn't changed at all from the previous design. It's staged as a DRAMHost node
val host = DRAMInt
// dram of fixed rank but variable dimensions; it's inaccessible to the host and is managed by the accelerator; the current implementation of the hardware heap pokes some registers on the host to request an allocation, but eventually it will be managed fully in hardware. It's staged as a DRAMAccel node.
val accel = DRAM1,2,3,4,5[Int]
accel.alloc(dims...)
accel.dealloc
Would you prefer changed the lang api to DRAMAccel1,2,3,4,5 to make it more clear that this DRAM is managed completely by the accelerator?

That clears things up actually. I think in that case yeah, it would be good just to note that it's accelerator managed memory. Something like AccelDRAM or DynamicDRAM would be a nice mnemonic, otherwise it's hard to distinguish from the host-managed DRAM.


Test with PHP8.0

Update the CI "skeleton" here to include the "standard" way that unti tests are run on PHP 8.0 at the moment.

https://travis-ci.com/github/sabre-io/skel/jobs/394538620
PHP 8.0 runs (of course there are no unit tests in this "skeleton" repo)


Injecting API key dynamically

Once a user is logged into our site, I'd like to be able to inject a user's API key dynamically into the API calls within the documentation.  I'm using Widdershins to generate the base docs from OpenAPISpec, and wondering if I would need to add a div/id into the generated Markdown, and then have some custom JS in Shins to accomplish this.
Has anyone achieved a scenario like this?

I don't know of anyone already implementing this, but done how you suggest, it should be pretty easy.

Ok cool @MikeRalphson I'll add a ticket/question in Widdershins, since that seems to be where the "major" work would need to be done.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1025 ms

Resolved: Bofrost.at performance has improved in 9df257f after 6 minutes.


Fixed list sender address display error

fixed #402

blocked by #482. Tests to be done again after that one is merged.


⚠ Samsung has degraded performance

In da0880d, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2112 ms

Resolved: Samsung performance has improved in 0bc493a.


Add generation of virtual box image

This pull request refactors a little bit the existing code, and then generates a virtual box image tarball in addition to the libvirt one.

This conflicts with the other pending pull request, I'll do the necessary rebasing once one of them is pushed

@cfergeau needs a rebase, right?


Add initial settings UI spec

Summary of the Pull Request
This is the spec for the overall functionality of the settings UI - #1564.
There are proposals for the launch method and editing and saving settings that we should discuss.

References

PR Checklist

[ ] Closes #xxx
[x] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Documentation updated. If checked, please file a pull request on our docs repo and link it here: #xxx
[ ] Schema updated.
[x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

Friday Spec Brownbag Quick Summary
Today we had a meeting about this spec. Here's some quick notes of how the discussion went.
Attended: @DHowett, @cinnamon-msft, @leonMSFT, @carlos-zamora, @zadjii-msft, @miniksa
Launch Methods

Unanimous "launch inside the tab", not a new window
Matches other tabbed things like browsers
New window will naturally come when we solve tab tear-off
Launching settings another time will just activate the existing tab

Preview Window in Appearance Page

Unanimous yes. Do this. TermControl with a new connection that isn't real, just filled with some dummy sample text like what people might use (emojis, powerline fun, text tables, colors, etc.)

Editing/Saving

Automatic saving: No. We don't want to thrash the JSON file. If we had an in-memory model struct... maybe. Or if we were using a tear-off window, maybe.
OK, Cancel, Apply and/or a "Save" button and a "Preview Now" button. No. Gross. Old. Maybe temporarily during the prototype so the person doing the prototype only has to write two event handlers. But no. The preview window should be automagic on changes. The actual JSON should be written on Save button
Save button. Yes. Do this. Prevents JSON thrashing. We will have a little preview window anyway.

Navigation

Align with JSON: Ehhhhh. We could be more robust.
More description navigation: Yes, do this. Unanimous.

"General General" is weird. We should find something else for that. General > Basic, General > (categories, like "Launch", "Rendering", "Interactivity", etc.)

We need a rocket ship icon for "Launch"

It's ok to have few items on a page/category. Looked at some other ideas like how Visual Studio and some other Terminals like iTerm, xterm, etc. do it.

Keyboard Bindings

A listview sort of thing - Carlos and Kayla seemed more on board with this one up front.
A grid sort of thing - Michael, Mike, Dustin seemed more on board with this one up front.

(I didn't catch which one Leon was up with)

We don't think we have a readily available grid control

Lots of comparison to iTerm, xterm, and other terminals to see what they do

Examples given of other software that tends to do keybindings in a grid style

Discussion on whether we should have some sort of modal dialog when adding a binding that lets people press a key-combo to make it instead of typing it out

Discussion on combo/text boxes for the commands to be mapped

Discussion on what to do with commands that have arguments

Commands with arguments that are already stringable by the command palette (e.g. new tab 1, new tab 2) are offered as drop down items
Commands with arguments that are complex could be presented with a ... in the grid on the edge that launches a modal with the raw JSON to be edited

Perhaps place the schema describing how to write conforming arguments/bindings on the left and have a text editor or JSON editor on the right
Validate schema on close, stitch the JSON fragment back in
In the future, can migrate some of the ...s to launch a more robust editor based on the situation of the type of command, but default will allow raw editing if there is no specialty editor

For the listview, specifically discussing how we can show the arguments or have some sort of embedded arguments editing below it

Concern with both of them about amount of whitespace/compactness and good use

Concern with how to display/present the commands that people might not know about (easily buried in a dropdown/combo)

Any way to tree/hierarchy/group the similar commands together?

Hello,
The text box like

Background image
Command line
Font face
Font weight
GUID
Icon
Launch position
Name
Padding
Starting directory
Tab title
Word delimiters

should have a info sign ? with a tool-tip about the accepted input format.

should have a info sign ? with a tool-tip about the accepted input format.
Yeah, or a window with help information.

Hello,
The text box like

Background image
Command line
Font face
Font weight
GUID
Icon
Launch position
Name
Padding
Starting directory
Tab title
Word delimiters

should have a info sign ? with a tool-tip about the accepted input format.

Ideally, we'd have validation through the Settings UI too or instead.
I'm realizing that through the Settings UI, you don't have to escape characters. So you can't just copy/paste some text from the JSON.

My humble feedback:

Avoid having 2 pages with similar titles or icons.  For example, there's two different "Global" pages.  There's two usages of the word "Appearance".  There's an icon of a mouse and another icon of a mouse cursor.  It will cause confusion when someone says "I'm on the Global page, but I still don't see it".
General > Launch: there are 2 separate controls for width + height, but one control for X + Y position.  Be consistent.  Having separate controls for X + Y is going to be easier to code up and easier for accessibility to represent.
General > Launch: X + Y position don't have units.  I guess I assume pixels, but physical pixels or relative pixels?  I'd consider using % of screen as the unit, so the setting can meaningfully roam and/or be robust when you change screen resolution (e.g., project on a monitor).
General > Launch: "Disable dynamic profiles" is a negative checkbox, which makes it difficult to work out the logic.  Invert it to "Enable dynamic profiles" so it's easier to understand.  Also, it's not at all clear what "dynamic profiles" are without going to the documentation.  I suggest instead "[X] Automatically create new profiles when new shells are installed"
General > Launch: Task manager and Settings > Apps use the term "Startup".  MSG advises against "Launch".
General > Rendering: assuming "Windows resize behavior" is snapToGridOnResize, I would have put that under Interaction, since it doesn't affect rendering
Appearance > Global: "Hide close all tabs popup": maybe there should be a more scalable solution for suppressing warning dialogs, since there's also a "giant paste" warning dialog that people might want to suppress, and likely more in the future.
Profiles > Enumerate profiles: I can't imagine why anyone would want to look at the GUID of a profile?  If there's a reason to show it, at least shuffle it off to the Advanced page.
Profiles > Enumerate profiles: I suggest adding a readonly edit box that demos the command line to launch directly to that profile.  "Launch using wt -profile {guid}".  Maybe even a button to create a start menu pin that launches that profile?
Profiles > Appearance: The Cursor Shape radio buttons in the mockup are difficult to visually scan.  May I suggest putting the glyph before the text label, so everything can be scanned in equal vertical columns?
Profiles: it's not quite clear to me from the mockups how to revert a setting to the default (global?).  For example, if I click "Enable acrylic" on a profile, is that profile's acrylic setting permanently forked from the global setting?

Maybe we should have the title bar only extend to the side of the navbar and have the navigation bar extend to the top? And we should also have an acrylic (transparent) navbar.

@Chips1234 The view with title bar looks ugly i mean look at the settings app of windows it is a beauty because of acrylic navigation and no title bar. It has a settings app title but on the acrylic nav bar

@Chips1234 The view with title bar looks ugly i mean look at the settings app of windows it is a beauty because of acrylic navigation and no title bar. It has a settings app title but on the acrylic nav bar

Yes, agreed.

@Chips1234 this is the type of feed back I love to see.
Not sure what the intent is for windows terminal, will it be an oobe app for windows in the future?
If so alignment to the settings app design would mean possible integration with the settings app should it become an oobe app. I think it should be oobe :)

@a55imilat0r just FYI, Chips isn’t on the terminal team.
There is no reason for Terminal to ever integrate with the system settings app. That’s a whole heap of madness that would only serve to make our product worse and slower to develop on.

@DHowett what I and @Chips1234 wants to tell is "Extend the navbar all the way to the top and have it acrylic." None of it meant integrating with windows. Just the UI thing. @A55imilat0r misunderstood i guess.

Yes, have it in the style of Windows 10 settings.

From: Dustin L. Howett<EMAIL_ADDRESS>Sent: Thursday, July 30, 2020 7:08:16 PM
To: microsoft/terminal<EMAIL_ADDRESS>Cc: Eric Tian<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/terminal] Add initial settings UI spec (#6720)
@A55imilat0rhttps://github.com/A55imilat0r just FYI, Chips isn’t on the terminal team.
There is no reason for Terminal to ever integrate with the system settings app. That’s a whole heap of madness that would only serve to make our product worse and slower to develop on.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/terminal/pull/6720#issuecomment-666872193, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALKX3RQOA2CCTI2GJGAC2WLR6IRRBANCNFSM4OLV66VA.

I did not misunderstand I was just adding to the possibility, If Windows Terminal is not intended to be integrated with Windows then I'm incredibly sad to hear that. However, the look and feel should still be the same and in line with Microsoft's Fluent Design roadmap to ensure the look and feel is consistent.

@Chips1234 I believe the official plan is to actually make the settings page another tab within the Terminal window. Those mockups were just being done in a scratch UWP app project (for quick prototyping).

Ah okay.

From: Mike Griese<EMAIL_ADDRESS>Sent: Friday, July 31, 2020 4:48:22 AM
To: microsoft/terminal<EMAIL_ADDRESS>Cc: Eric Tian<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/terminal] Add initial settings UI spec (#6720)
@Chips1234https://github.com/Chips1234 I believe the official plan is to actually make the settings page another tab within the Terminal window. Those mockups were just being done in a scratch UWP app project (for quick prototyping).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/terminal/pull/6720#issuecomment-667080737, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALKX3RULACCJFDB5IXXETQDR6KVQNANCNFSM4OLV66VA.

bump

@DHowett What I mean to suggest is if we have "Open JSON File" in this pull request https://github.com/microsoft/terminal/pull/7370 to open a new panel that only have an editable text area box of the JSON content with save button. We would only check for JSON validation before save as full Setting validation would be check on read anyway. The "Open JSON File" would have a small > arrow button next to it for open external program. This request is mostly for quick edit like name of profile as I have default JSON open in Visual Studio and that is huge load time.


VScode extension: Install cargo-concordium through crates

Description
Currently, the VSCode extension ships with binaries of cargo-concordium for every platform, meaning the current process is to first build cargo-concordium for every platform and then a vscode extension for every platform.
This made sense back when cargo-concordium was not released to crates.io, and now that it is, we could have the extension install it through this platform.
This will eliminate the need for platform specific builds of both cargo-concordium and the vscode extension.

I think this is not a good idea. It's rather expensive to install it from source. It'd be worse user experience to do this.


[VL][CI] Fix back upload golden files

What changes were proposed in this pull request?
#7328 cause back upload golden files missing, fix it.
How was this patch tested?
https://github.com/apache/incubator-gluten/actions/runs/11754657570?pr=7877 No golden files are generated.
https://github.com/apache/incubator-gluten/actions/runs/11755452070?pr=7879 golden files are generated.

cc @zhztheplayer @dcoliversun


Look into PCIe connetion for alveo u280 board

We were unable to mount the card into the conference room desktop. We have ordered a new case and power supply to support this in the future.
Tyler figured out how to use the single UART for both the LiteScope as well as the UART terminal so this is not as urgent as it once was.


Is that ok?!

http://codepen.io/11111000000/pen/pvZrJm
I think is a bug.

use := to assign outer scope variable plz... you are creating inner test  variable by using =

I forgot this, thanks


Add addToPath options

Want to use this action for downloading a executable binary on a GitHub release, but was some missing automated renaming and adding to the $PATH environment variable. This PR adds that functionality under a new option.

Having issue with as will look at it tommorow

Okay after having a bit of a problem with as I decided to remove. Under to addToPath: true it now attempts to strip version information and anything after that from the name, which seems to be a common format for binaries distributed via GitHub releases. (else it just continues).
I have this working successfully in a project.

Have added tests and they pass. However
I find this download works
test1:
    runs-on: ubuntu-latest
    if: true
    steps:
      - uses: kaleidawave/release-downloader@add-rename-and-path-env
        with:
          repository: 'kaleidawave/ezno'
          addToPath: true
          latest: true
          out-file-path: ezno-binary
          fileName: '*-linux'
      - run: ezno info

but this download does not work. This repository releases a compressed tar.gz binary. I have extract: true, but it seems to just rename the binary currently?
download-hyperfine:
    runs-on: ubuntu-latest
    if: true
    env:
      ACTIONS_STEP_DEBUG: true
    steps:
      - uses: kaleidawave/release-downloader@add-rename-and-path-env
        with:
          repository: 'sharkdp/hyperfine'
          addToPath: true
          latest: true
          out-file-path: hyperfine-binary
          fileName: '*-x86_64-unknown-linux-gnu*'
          extract: true

      - run: file $(which hyperfine) # prints 'hyperfine: gzip compressed data, from Unix, original size modulo 2^32 1443840'

Extract should be done before? Not sure what is going on, maybe you have an idea otherwise will look at it later?
https://github.com/kaleidawave/release-downloader/blob/e374b9ed936d80eb0ea7ee431ffe2082cbcb94f4/src/main.ts#L35-L63

Also when running npm run bundle there a lot of changes generated (formatting in files, licences.txt, etc) which are different from main. What should be done about these?

Also while writing tests I tried replacing these .reply(200, readFromFile with .replyWithFile
https://github.com/robinraju/release-downloader/blob/b5cac74e1522cb380b8058e12c6e2197447feadb/__tests__/main.test.ts#L37
but it didn't work? Not sure why?


Create a Google Form for Gathering Interest

We should use a Google form to create a mailing list of interested parties. This is mostly for CS2101's presentation but should be put incorporated into our README.md and/or user guide as well.

@jiahui0309 could you add the edit link here?

link to the google form: https://docs.google.com/forms/d/e/1FAIpQLSdhsv0afLOwhto8Ov6CW9FqKSQyEJ-oprHHLmLS-d5ylGShmg/viewform?usp=sharing


Add a function to clean org-static-blog-publish-directory

Could you comment on when this function would be needed?

Say we want to delete a post. Deleting the .org file and publishing the blog does not automatically delete the .html file produced.
I've run into this problem when I renamed a .org file and noticed that the .html file with the previous name existed as well.
In general I think every program that produces files should have some mechanism to clean them up as well.

In that case, it might be better to only delete HTML files that don't have a matching ORG file, I think. Would you like to add this functionality to the PR?

That's not the main objective of this function. It is analogous to make clean. The idea is to delete all build objects, in this case, all the generated files.
This can also be used to cleanly generate the site.

I am a bit reluctant to merge this, because users might put custom HTML files into their publish-directory. Simply deleting all HTML and XML files feels very unsafe, to be honest.

Simply deleting all HTML and XML files feels very unsafe, to be honest.

How about an option to specify extra-files that are treated differently?

Perhaps that, and let's not touch any file outside of org-static-blog-publish-directory. (I think we're not publishing anything to subdirectories, right?)

I think we're not publishing anything to subdirectories, right?

No. We have a flat directory structure.

I am closing this due to inactivity. Feel free to reopen if you want to continue work on this.


user.css not working with Ferdi

The theme is quite broken for Ferdi, I'm not sure if it is because of Ferdi itself, or if Instagram updated something

Ah, I'm afraid there isn't much I can do in this particular case. Ferdi is known to inject the CSS in the <head> element, and Stylus does it at the very end of the <body> element. This matters when it comes to specificity, the latter always wins, and very often the use of !important isn't necessary.
Can you try replacing default :root with :root:not(#z) to see if it changes anything? If not, try adding another :not(#x) to see if you're able to win on specificity. If this works, I'll add it in the next update.

Replacing :root with :root:not(#z) fixed it! btw I might as well mention it, I currently maintain obvionaoe/dark where I keep some dark themes for a few messaging service for Ferdi/Franz/Rambox and your themes have helped me a lot! Thank you so much!

I'm happy to hear that it works! Thanks for using my themes. :heart:
P.S. Would you like me to add a link to your project in credits?

If it isn't too much of hassle, I'd appreciate it! :blush:


Number of Music Playlists

Problem Link
https://leetcode.com/problems/number-of-music-playlists/
Coding platform
Leetcode
Programming language

[ ] C
[ ] C++
[ ] Java
[ ] Python

Additional context (OPTIONAL)
I want to solve it in Java

Hi @Nivedita967
I would like to solve it in Python. Please assign it to me.

@Nivedita967 can I work in C++?

@Nivedita967 I want to solve it in C
Please assign it to me

Please check my pull request

@Nivedita967 please check my pull request


QUESTION - StatelessUserAuthentication not working

Hey. I was trying to implement the recently added Stateless User Authentication by adding the following:
REST_FRAMEWORK = {
    ...
    'DEFAULT_AUTHENTICATION_CLASSES': (
        ...
        'rest_framework_simplejwt.authentication.JWTStatelessUserAuthentication',
    )
    ...
}

However I get the following error with this:
ImportError: Could not import 'rest_framework_simplejwt.authentication.JWTStatelessUserAuthentication' for API setting 'DEFAULT_AUTHENTICATION_CLASSES'.
ImportError: Module "rest_framework_simplejwt.authentication" does not define a "JWTStatelessUserAuthentication" attribute/class.

I even updated the packages to the latest version. Below are the versions which I am using:
djangorestframework-simplejwt - Version: 5.1.0
djangorestframework - Version: 3.13.1

Thanks!

It has not been published yet on PyPi

Continue to use the Experiment class. It's the same thing


React Component for a data resource

Has anyone made a React Component that accepts dataresource json?

@rufuspollock are the react components in https://github.com/frictionlessdata/dpr-js clean/extractable for standalone use?

@rgbkrk great question 😄
@rgbkrk @pwalsh I'm actually working on that 😄 - the current code is pretty close but would probably need a bit of tweaking. The relevant component is this container:
https://github.com/frictionlessdata/dpr-js/blob/gh-pages/src/containers/DataPackageView.jsx
Basically you pass it a Data Package (not a resource but that is trivial to change) and it then renders tables for each resource in the Data Package plus the views. You can see the kind of output (in progress and not yet launched) here: https://staging.datapackaged.com/core/finance-vix
@rgbkrk what is your exact use case? That would help in providing guidance.

Within the Jupyter ecosystem, we'd like to be able to allow libraries to provide application/vnd.dataresource+json. Pandas recently merged a PR to provide a default representation of a DataFrame as a data resource json when an optional flag is set: https://github.com/pandas-dev/pandas/pull/14904
The way that the nteract notebook works (same protocol as Jupyter) is that it takes a payload like:
{
  "text/html": "...some HTML",
  "application/vnd.dataresource+json": { "schema": {}, "data": [] }
}

picks the "richest" of the media types and passes the data into a React component to render it. As an example, here's me working with baseball data in pandas:

That's the text/html version provided by pandas, which could instead be a rendered version of the data resource, which is now part of the payload for dataframe representation:

@rgbkrk great, much clearer now on the use case. Would it be possible to arrange a short chat or call to talk further with myself or @pwalsh? Easiest way is to ping me us on gitter via the FrictionlessData channel https://gitter.im/frictionlessdata/chat

Sure, I'm happy to have a chat/call. We've also done some preliminary work to explore the space here: https://github.com/nteract/nteract/pull/1534

@rgbkrk great! Can you PM me on gitter -- i'm rufuspollock. Alternatively, let me know how to ping you.

@rgbkrk how did things develop here?

We brought it in and the data resource spec has been part of the nteract release line since August. Feel free to try it out!
The community has also been picking it up as the table schema support that pandas introduced is now used by qgrid to create dynamic tables that rely on table schema.

@rgbkrk that is amazing! I'll close this issue then.
I'll talk to @callmealien and @jobarratt here at OKI about a short write up on this work - is it ok if they reach out to you?


Multi-language support

Is it possible to add multi-language support?

the same problem
think migrate to https://virtual-keyboard.js.org/vuejs/


You passed invalid parameters to 'cocoapods'

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Fastfile
class Fastfile: LaneFile {
 func customLane() {
        let itcTeamId = "32942222"
        let username =<EMAIL_ADDRESS>        let appIdentifier = "com.softence.Project-G"
        let appleId =<EMAIL_ADDRESS>        let devPortalTeamId = "5PN99XXXXX"
        let scheme = "Project-G"
        let xcodeproj = "Project-G.xcodeproj"
    let versionNumber = getVersionNumber(xcodeproj: xcodeproj)

    cocoapods(
        clean: true,
        podfile: "./Podfile",
        tryRepoUpdateOnError: true
    )

    latestTestflightBuildNumber(
        appIdentifier: appIdentifier,
        username: username,
        version: versionNumber,
        teamId: itcTeamId
    )

    let fastlaneContext = laneContext()

    let currentBuildNumber = fastlaneContext["LATEST_TESTFLIGHT_BUILD_NUMBER"] as! Int

    // Incremeting build number
    let newBuildNumber: Int = currentBuildNumber + 1

    incrementBuildNumber(
        buildNumber: String(newBuildNumber),
        xcodeproj: xcodeproj
    )

    buildIosApp(scheme: scheme)

    uploadToTestflight(
        username: username,
        appIdentifier: appIdentifier,
        appleId: appleId,
        teamId: itcTeamId,
        devPortalTeamId: devPortalTeamId
    )
}

Issue Description

Complete output when running fastlane, including the stack trace and command used

Terminal Output
20:10:33: --- Step: cocoapods ---
20:10:33: -----------------------
20:10:33: You passed invalid parameters to 'cocoapods'.
20:10:33: Check out the error below and available options by running fastlane action cocoapods
+----------------+-----+
|     Lane Context     |
+----------------+-----+
| VERSION_NUMBER | 1.0 |
+----------------+-----+
20:10:33: Unresolved conflict between options: 'repo_update' and 'try_repo_update_on_error'
+------+--------------------+-------------+
|            fastlane summary             |
+------+--------------------+-------------+
| Step | Action             | Time (in s) |
+------+--------------------+-------------+
| 1    | get_version_number | 0           |
| 💥   | cocoapods          | 0           |
+------+--------------------+-------------+
20:10:33: fastlane finished with errors
[!] Unresolved conflict between options: 'repo_update' and 'try_repo_update_on_error'

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.13.3

Ruby
2.3.3

Bundler?
false

Git
git version 2.15.0

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.13.3 (17D47)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib

OpenSSL Version
LibreSSL 2.2.7

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.4.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
`./fastlane/Fastfile.swift`
// This file contains the fastlane.tools configuration
// You can find the documentation at https://docs.fastlane.tools
//
// For a list of all available actions, check out
//
//     https://docs.fastlane.tools/actions
//

import Foundation

class Fastfile: LaneFile {
	func customLane() {
        let itcTeamId = "39941800"
        let username =<EMAIL_ADDRESS>        let appIdentifier = "com.softence.Project-G"
        let appleId =<EMAIL_ADDRESS>        let devPortalTeamId = "5PN99X4SRN"
        let scheme = "Project-G"
        let xcodeproj = "Project-G.xcodeproj"

        let versionNumber = getVersionNumber(xcodeproj: xcodeproj)

        cocoapods(
            clean: true,
            podfile: "./Podfile",
            tryRepoUpdateOnError: true
        )

        latestTestflightBuildNumber(
            appIdentifier: appIdentifier,
            username: username,
            version: versionNumber,
            teamId: itcTeamId
        )

        let fastlaneContext = laneContext()

        let currentBuildNumber = fastlaneContext["LATEST_TESTFLIGHT_BUILD_NUMBER"] as! Int

        // Incremeting build number
        let newBuildNumber: Int = currentBuildNumber + 1

        incrementBuildNumber(
            buildNumber: String(newBuildNumber),
            xcodeproj: xcodeproj
        )

        buildIosApp(scheme: scheme)

        uploadToTestflight(
            username: username,
            appIdentifier: appIdentifier,
            appleId: appleId,
            teamId: itcTeamId,
            devPortalTeamId: devPortalTeamId
        )
	}
}

No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.99.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

slack-notifier
2.3.2

atomos
0.1.2

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.5.9

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.4.0

terminal-table
1.8.0

plist
3.4.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.62.0

faraday
0.15.2

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.3

mini_magick
4.5.1

multi_json
1.13.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.5.0

bundler
1.16.2

faraday_middleware
0.12.2

naturally
2.2.0

simctl
1.6.5

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
2.1.0

memoist
0.16.0

os
0.9.6

signet
0.8.1

googleauth
0.6.2

httpclient
2.8.3

google-api-client
0.21.2

emoji_regex
0.1.1

tty-cursor
0.6.0

tty-screen
0.6.5

json
2.1.0

io-console
0.4.5

CFPropertyList
3.0.0

libxml-ruby
2.9.0

generated on: 2018-07-18

I'm having the same issue. It looks likes it might be a regression from this change. Works as expected on Fastlane 2.98.0

@deathByLiche are you using the Swift version of fastlane (Fastfile.swift) or Ruby based? This might be related to how we handle default values for some parameters in the Swift version

Yeah I'm using the swift version

Swift Version

@KrauseFx I'm also facing this same issue. Kindly give solution for this.

@KrauseFx  After messing around and digging through the fastlane code, I think I've found the issue, though I'm not sure on what the best resolution should be. It looks like when ruby is trying to verify_conflicts, it is only checking if the conflicting_options keys exist in the command, it doesn't check the value of those options.
For the cocoapods command, repo_update and try_repo_update_on_error are conflicting options. However in the Swift version, repo_update has a default value of false, and after the change in Fastlane 2.99.0, try_repo_updatte_on_error was changed to also have a default value of false, instead of defaulting to nil. Both these keys then show up in the command that is passed to the ruby command, regardless of their value, and the ruby command evaluates that they are conflicting options.
I was able to reproduce this same issue on Fastlane 2.98.0 by calling cocoapods(tryRepoUpdateOnError: true)

@moguncool @deathByLiche Got a PR up for you if you want to try this branch out! This shhhoouuulllddd do it for you. Will be merging into master after the tests are done running and release 2.100.1 shortly there after

@joshdholtz That fixed it for me! Thanks for the quick turnaround time on this!


updated the pages

Changed the Name, Address, Experience.

Using the Github to host the website...


Search bar in search page not working.

In the search page, search with ingredients will not update the list.


[FEATURE REQ] Make the process of using a CustomerProvidedKey with BlobClient more DI-friendly

Library or service name.
Azure.Storage.Blobs
Is your feature request related to a problem? Please describe.
Currently, the process of setting up a BlobClient instance to use a CustomerProvidedKey in projects that leverage DI (e.g., and ASP.NET Core project) is very annoying.
You can inject BlobServiceClient via DI, and obviously you can create BlobContainerClients and BlobClients using the injected BlobServiceClient instance. That's great for normal usage...but as soon as I need to create a BlobClient that uses a CustomerProvidedKey, it becomes frustrating, because:

CustomerProvidedKey must be passed via BlobClientOptions
The only way to pass BlobClientOptions to BlobClient is via its constructors, there's no other way via the "normal" BlobServiceClient -> BlobContainerClient -> BlobClient route.
To make things even more annoying, there's nothing I can "get" from the injected BlobServiceClient and pass to the BlobClient constructor to let me "inherit" the identity, URI, etc in that fashion.

So what you end up with is a situation where your DI-injected BlobServiceClient becomes useless, and you have to inject all of the information needed to set up a brand new BlobClient instance using IOptions<Foo> (or something similar).
For my specific use-case, we generate new encryption keys for each new blob we upload, so I've basically ended up creating a BlobClient factory and inject that via DI, but it would really be preferable if there were some way to just create the BlobClient via BlobServiceClient I'm already injecting for other reasons.
If there were an extra overload of BlobContainerClient.GetBlobClient() that took a second parameter of type BlobClientOptions (or perhaps simply CustomerProvidedKey), that would be excellent.

Hi,
Just to be clear BlobServiceClient.GetBlobClient(string containerName, string blobName) (and of course ensure that the Encryption info gets passed accordingly)?
I wonder if providing an API like BlobContainerClient.GetBlobClient(string blobName, BlobClientOptions? options = null) would be a good idea. I think there needs to be some discussion around if we should do this, and how to implement it. Do we take the entire options bag from the passed parameters and ignore any options set from the service client? Or do we assume that if they leave some values null in the option bags, but it's set in the parent client, then we still inherit from the parent class? @kasobol-msft @seanmcc-msft ?

No, not on BlobServiceClient; your second suggestion of adding something to BlobContainerClient is really what I'm after.
As for how to handle the BlobClientOptions: I think the only reasonable approach is the latter one, where you default to taking the parent client's values, except for those explicitly passed (i.e., non-null) in the BlobClientOptions. (That's the whole point of adding a method like this after all; if you wanted to ignore the parent client's values, you'd just use a BlobClient constructor instead.)

No, we can't take new options because that would require us to either recreate the pipeline or ignore most of the values.  We should follow the WithSnapshot pattern for individual properties.  In this case, I'd suggest a WithCustomerProvidedKey method that can be used to add or clear that key.

@bkromhout, would this solution above work for you?

Sounds great to me!

Ok, I will work on this this week.

@tg-msft, just want to double check, we are cool with:

BlobServiceClient.WithCustomerProvidedKey(CustomerProvidedKey customerProvidedKey)
BlobContainerClient.WithCustomerProvidedKey(CustomerProvidedKey customerProvidedKey)
BlobBaseClient.WithCustomerProvidedKey(CustomerProvidedKey customerProvidedKey)

We could also consider adding WithEncryptionScope(), since the idea is essentially the same.

@bkromhout, I added WithCustomerProvidedKey() and WithEncryptionScope() to BaseBlobClient, BlockBlobClient, AppendBlobClient, and PageBlobClient.  These methods will be present in our next beta release, which is scheduled for mid May.

Awesome, thanks for the quick work! When do you expect it to be out in stable, roughly?


Allocating specific AIDS conditions

Hi @tdm32 On the epidemiology call yesterday we were talking about the fact that we were not capturing the high number of deaths from cryptococcal meningitis in the GBD.  We realise that this is likely just because we don't try to split up AIDS events into the actual constituent conditions.  We were wondering about simply allocating a specific AIDS condition for each non-TB AIDS event that occurs based on data on the risk of each.  I'm not suggesting that we would model separate HSIs for each separate condition to reflect the different treatments (e.g. for Kaposi Sarcoma versus cryptococcal meningitis) but I guess that's not impossible as a future development.

Thanks @andrew-phillips-1 - could possibly be a good student project for someone at ICL or UCL.

Hi @andrew-phillips-1 , yes certainly. Depending on how detailed we need to be:

we can classify deaths by sub-cause matching GBD / other sources
we can stratify AIDS by specific conditions, all with the same survival rate
we could add referral to one HSI upon onset of AIDS (triggered by symptoms or during routine monitoring) which would look at the AIDS-defining condition and allocate appropriate treatment

I think it's certainly doable without too much additional modelling, I suppose we just need clear direction on how to split conditions and the impacts of specific treatments if we were to go down that route.
Possible project for a masters student (the data scoping)?

Sounds good @tdm32 If I follow code correctly, anyone developing aids symptoms will have a time of death assigned but this is cancelled if they become virally suppressed on ART.  If there were to be specific HSIs for each AIDS condition this would open up the challenge of deciding what probability the treatment would have of cancelling the AIDS symptoms.  I think maybe best to simply start by allocating a label (of which AIDS they have) for each person with AIDS symptoms.  Or in fact it might not be necessary to do this until they die from their AIDS symptoms ?  That would be the simplest approach ?

Yes I think the simplest way to start would be to distribute AIDS cases across the ADC according to any data that we can find. Then we can think about which interventions we need to include.
I'd like to keep it simple as we'd likely to have do some re-calibration in order to preserve the overall mortality rates. Happy to do this of course, but I'd like to do it in small steps as I worry that including many different treatments for the various aids-defining illnesses could quickly become incredibly tricky to calibrate.
Perhaps we could start with KS and cryptococcal meningitis then consider pneumonia/CMV...?

I agree with keeping it simple and I don't want you to have to re-calibrate.  So I was thinking we could just allocate the specific AIDS condition at death with no further changes at all.  So we would not know the specific AIDS condition for living people, only those that have died.

Ok - this would be a pretty simple edit in that case. But did you want to capture any specific interventions other than first-line ART?

I think that would be a secondary consideration so I suggest we don't worry about doing that for now.  If in future a person wants to study effects of interventions for specific AIDS diseases they might have to make the change at that point.

Ok I'll raise an issue for this - thanks Andrew


Get-NinjaOneDevices -deviceFilter "status=pending" only shows workstations

@homotechsual I'm sure this isn't an issue on your side, but can you check to see if you only get workstations listed in these results?

I know there are severs in a pending status that don't appear (as shown in the above screenshot) and wanted confirmation.

So this works for me:

The AND needs to be all capitals.

Hrm I get 500 Internal Server error. . .

Status value is also all capitals. PENDING not Pending

Where as any individual filter seems to work, class=WINDOWS_SERVER or status=Pending (or the PENDING)
I thought about capitol as well, but it didn't seem to make a change. . .

client credentials as that was the only thing that seemed to work from my prior ticket here.

this is very odd - I can do that request with client_credentials auth and it works fine. Probably one for<EMAIL_ADDRESS>there.

First though let's rule out any weirdness can you copy/paste this:
Get-NinjaOneDevices -deviceFilter "status=PENDING AND class=WINDOWS_SERVER" | ft

If you remove the | ft any change?

No, just a new line return for the next command.

If I filter with "class=WINDOWS_SERVER" I get details, but only for Approved devices, nothing pending.

Very strange, definitely one for support!
Get Outlook for iOShttps://aka.ms/o0ukef

MICHAEL O'TOOLE
Managing Director
T 029 2009 7097
E @.***
WWW.MJCO.UK
54 Florentia Street
Cardiff, CF24 4PF
This email was sent whilst on-the-go! Please excuse any unintentional errors or brevity!
We don't expect you to read a page of terms and conditions all we ask is that you let us know if we sent this to the wrong person and we'd like you to know that nothing in this email is intended to form a binding legal contract.
MJCO LTD is a company registered in Wales. Registered Number: 08483853. Registered Office: 54 Florentia Street, Cardiff CF24 4PF.
From: Dustin B @.>
Sent: Thursday, June 16, 2022 6:21:45 PM
To: homotechsual/NinjaOne @.>
Cc: Michael O'Toole @.>; Mention @.>
Subject: Re: [homotechsual/NinjaOne] Get-NinjaOneDevices -deviceFilter "status=pending" only shows workstations (Issue #12)
If I filter with "class=WINDOWS_SERVER" I get details, but only for Approved devices, nothing pending.
—
Reply to this email directly, view it on GitHubhttps://github.com/homotechsual/NinjaOne/issues/12#issuecomment-1157939049, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAROVAP532KI2BRB7URKMUDVPNPCTANCNFSM5Y3WE7ZQ.
You are receiving this because you were mentioned.Message ID: @.***>

That is what I thought, thanks, I'll open the case with support.


Why valor Open_SAE_J1939_Listen_For_Messages() in multiple places of the code

Hi Daniel. Thank you very much for your open source code for the j1939 protocol.  It will be very useful for many people.  However, I have a question regarding your API.  Why do you call the Open_SAE_J1939_Listen_For_Messages() function in the loop and multiple times in the example requests if the function is in the stm32 interrupt callback?  Will the function not be called whenever a frame comes through the CAN network?  I'm starting to develop j1939 devices with your API and I would like to understand why call the function multiple times out of the interrupt.  I intend to use an rtos and synchronize the requests by queues and semaphores.
Thanks in advance.
Gustavo

Hi Daniel. Let's see if i understood your code and J1939 protocol.
For instance, in this example (Software Identification):
/* Create our J1939 structure with two ECU */
J1939 j1939_1 = {0};
J1939 j1939_2 = {0};
/* Important to sent all non-address to 0xFF - Else we cannot use ECU address 0x0 */
for(uint8_t i = 0; i < 255; i++){
	j1939_1.other_ECU_address[i] = 0xFF;
	j1939_2.other_ECU_address[i] = 0xFF;
}

/* Set the ECU address */
j1939_1.information_this_ECU.this_ECU_address = 0xA2;											/* From 0 to 253 because 254 = error address and 255 = broadcast address */
j1939_2.information_this_ECU.this_ECU_address = 0x90;

/* Set the Software Identification */
j1939_1.information_this_ECU.this_identifications.software_identification.number_of_fields = 15;
char text[15] = "SAE J1939!!!";
for(uint8_t i = 0; i < 15; i++)
	j1939_1.information_this_ECU.this_identifications.software_identification.identifications[i] = (uint8_t) text[i];

/* Request Software Identification from ECU 2 to ECU 1 */
SAE_J1939_Send_Request(&j1939_2, 0xA2, PGN_SOFTWARE_IDENTIFICATION);

/* Response request from ECU 1 perspective - Don't worry, in real CAN applications you don't need this mess. */
Open_SAE_J1939_Listen_For_Messages(&j1939_1);
Open_SAE_J1939_Listen_For_Messages(&j1939_2);
Open_SAE_J1939_Listen_For_Messages(&j1939_1);

/* Read response request from ECU 1 to ECU 2 */
for(uint8_t i = 0; i < 5; i++)
	Open_SAE_J1939_Listen_For_Messages(&j1939_2);

/* Display what ECU 2 got */
printf("Number of fields = %i\nIdentifications = %s\nFrom ECU address = 0x%X", j1939_2.from_other_ecu_identifications.software_identification.number_of_fields, j1939_2.from_other_ecu_identifications.software_identification.identifications, j1939_2.from_other_ecu_identifications.software_identification.from_ecu_address);

As I understand it, you simulate two devices in this code. This mean that such code do this:
**/* Create J1939 structures for two ECU */**
J1939 j1939_1 = {0};
J1939 j1939_2 = {0};

**/* Set the ECU address of the two devices: device 1 with address 0xA2 and device 2 with address 0x90 */**
j1939_1.information_this_ECU.this_ECU_address = 0xA2;
j1939_2.information_this_ECU.this_ECU_address = 0x90;

/* Set the Software Identification */
    **/* I do not understood why 15 identification fields if the text has 13 characters */**
j1939_1.information_this_ECU.this_identifications.software_identification.number_of_fields = 15;
char text[15] = "SAE J1939!!!";
for(uint8_t i = 0; i < 15; i++)
	j1939_1.information_this_ECU.this_identifications.software_identification.identifications[i] = (uint8_t) text[i];

/* Request Software Identification from ECU 2 to ECU 1 */
    **/* This code send a RTS packet to device 1 */**
SAE_J1939_Send_Request(&j1939_2, 0xA2, PGN_SOFTWARE_IDENTIFICATION);

**/* this code receives the RTS message and responde it with a CTS message */**
Open_SAE_J1939_Listen_For_Messages(&j1939_1);
    **/ * this code receives the CTS message and send the data transfer packet with the software identification request */**
Open_SAE_J1939_Listen_For_Messages(&j1939_2);
     **/* this code receives the data transfer packet with the software identification request and sends the end of message acknowledgement */**
Open_SAE_J1939_Listen_For_Messages(&j1939_1);

    **/* as soon i understand, ECU 1 will responde the software identification requested by ECU 2 with broadcast messages */**
    **/* the first received message will be the end of message acknowledgement */**
    **/* and then the 15 fields text software identification */**
**/* but why 5 packets, if each packet can send 7 bytes of data? */**
    **/* i think that 4 listen messages calls would be sufficient (1 end of message acknowledgement and 3 data packets (15 characters)) */**
for(uint8_t i = 0; i < 5; i++)
	Open_SAE_J1939_Listen_For_Messages(&j1939_2);

I am right? If not, can you clarify the code better?

Thanks in advance,
best regards,
Gustavo

Hi Daniel. Second possible interpretation.
/ Create J1939 structures for two ECU /
J1939 j1939_1 = {0};
J1939 j1939_2 = {0};
/ Set the ECU address of the two devices: device 1 with address 0xA2 and device 2 with address 0x90 /
j1939_1.information_this_ECU.this_ECU_address = 0xA2;
j1939_2.information_this_ECU.this_ECU_address = 0x90;
/* Set the Software Identification */
/ I do not understood why 15 identification fields if the text has 13 characters /
j1939_1.information_this_ECU.this_identifications.software_identification.number_of_fields = 15;
char text[15] = "SAE J1939!!!";
for(uint8_t i = 0; i < 15; i++)
j1939_1.information_this_ECU.this_identifications.software_identification.identifications[i] = (uint8_t) text[i];
/* Request Software Identification from ECU 2 to ECU 1 */
SAE_J1939_Send_Request(&j1939_2, 0xA2, PGN_SOFTWARE_IDENTIFICATION);
/ this code receives the Request Software Identification message and responde it with a RTS message /
Open_SAE_J1939_Listen_For_Messages(&j1939_1);
*/ * this code receives the RTS message and send a CTS packet /
Open_SAE_J1939_Listen_For_Messages(&j1939_2);
/ this code receives the CTS packet and sends first data transfer packet /
Open_SAE_J1939_Listen_For_Messages(&j1939_1);
**/* here will be receive the 15 fields text software identification */**

/ but why 5 packets, if each packet can send 8 bytes of data? /
/ i think that 3 listen messages calls would be sufficient (2 data packets (15 characters) and 1 end of message acknowledgement and ) /
for(uint8_t i = 0; i < 5; i++)
Open_SAE_J1939_Listen_For_Messages(&j1939_2);
I am right? If not, can you clarify the code better?

I had a few thoughts on this but after reviewing more I don't have those thoughts anymore. Some of this could be just errors in part of a copy and paste. :shrug: We will have to see when the author replies back!

Hi Daniel. Thank you very much for your open source code for the j1939 protocol. It will be very useful for many people. However, I have a question regarding your API. Why do you call the Open_SAE_J1939_Listen_For_Messages() function in the loop and multiple times in the example requests if the function is in the stm32 interrupt callback? Will the function not be called whenever a frame comes through the CAN network? I'm starting to develop j1939 devices with your API and I would like to understand why call the function multiple times out of the interrupt. I intend to use an rtos and synchronize the requests by queues and semaphores.
Thanks in advance. Gustavo

Hello!

Why do you call the Open_SAE_J1939_Listen_For_Messages() function in the loop and multiple times in the example requests if the function is in the stm32 interrupt callback?

Not all users are using STM32. Some users are using this over USB or at Arduino.

Yes. I simulate two devices here. The source code works for all hardware. Right now I'm using this to communicate with QT application for Windows systems. QT are using C++ and this library does not take account on hardware or if it's C++ language.

Thank you very much Daniel. Could you comment if any of my interpretations of the process of requesting a software identification are correct? And try to clarify my doubts in the code comment?

Thank you very much Daniel. Could you comment if any of my interpretations of the process of requesting a software identification are correct? And try to clarify my doubts in the code comment?

If you want to have software identification onto an embedded system. Use this code then.
/*

Main.c

Created on: 16 juli 2021

 Author: Daniel Mårtensson

*/
#include <stdlib.h>
#include <stdio.h>
/* Include Open SAE J1939 */
#include "Open_SAE_J1939/Open_SAE_J1939.h"
int main() {
/* Create our J1939 structure */
J1939 j1939 = {0};

/* Load your ECU information */
Open_SAE_J1939_Startup_ECU(&j1939);

/* Set the ECU address */
j1939.information_this_ECU.this_ECU_address = 0x90;											/* From 0 to

/* Set the Software Identification */
j1939.information_this_ECU.this_identifications.software_identification.number_of_fields = 15;
char text[15] = "SAE J1939!!!";
for(uint8_t i = 0; i < 15; i++)
	j1939.information_this_ECU.this_identifications.software_identification.identifications[i] = (uint8_t) text[i];

/* Request Software Identification from an ECU that has an ID 0x90 */
SAE_J1939_Send_Request(&j1939, 0xA2, PGN_SOFTWARE_IDENTIFICATION);

while(1){
       /* Read incomming message from 0xA2 */
   Open_SAE_J1939_Listen_For_Messages(&j1939);
}

return 0;

}


fix: update cert-manager version

This fixes the error caused by https://github.com/cert-manager/cert-manager/issues/5953

/retest


TypeError: Cannot destructure property 'getFieldState' of '(0 , react_hook_form__WEBPACK_IMPORTED_MODULE_4__.useFormContext)(...)' as it is null.

My package.json
{
  "name": "next-template",
  "version": "0.0.2",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint",
    "lint:fix": "next lint --fix",
    "preview": "next build && next start",
    "typecheck": "tsc --noEmit",
    "format:write": "prettier --write \"**/*.{ts,tsx,mdx}\" --cache",
    "format:check": "prettier --check \"**/*.{ts,tsx,mdx}\" --cache"
  },
  "dependencies": {
    "@auth/prisma-adapter": "^1.0.0",
    "@hookform/resolvers": "^3.1.1",
    "@prisma/client": "^4.16.1",
    "@radix-ui/react-alert-dialog": "^1.0.4",
    "@radix-ui/react-avatar": "^1.0.3",
    "@radix-ui/react-dropdown-menu": "^2.0.5",
    "@radix-ui/react-label": "^2.0.2",
    "@radix-ui/react-slot": "^1.0.2",
    "autoresponsive-react": "^1.2.3",
    "class-variance-authority": "^0.4.0",
    "clsx": "^1.2.1",
    "lucide-react": "0.105.0-alpha.4",
    "next": "^13.4.4",
    "next-auth": "0.0.0-pr.6777.c5550344",
    "next-themes": "^0.2.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-hook-form": "^7.45.1",
    "sharp": "^0.31.3",
    "tailwind-merge": "^1.12.0",
    "tailwindcss-animate": "^1.0.5",
    "zod": "^3.21.4"
  },
  "devDependencies": {
    "@ianvs/prettier-plugin-sort-imports": "^3.7.2",
    "@types/node": "^17.0.45",
    "@types/react": "^18.2.7",
    "@types/react-dom": "^18.2.4",
    "@typescript-eslint/parser": "^5.59.7",
    "autoprefixer": "^10.4.14",
    "eslint": "^8.41.0",
    "eslint-config-next": "13.0.0",
    "eslint-config-prettier": "^8.8.0",
    "eslint-plugin-react": "^7.32.2",
    "eslint-plugin-tailwindcss": "^3.12.0",
    "postcss": "^8.4.24",
    "prettier": "^2.8.8",
    "prisma": "^4.16.1",
    "tailwindcss": "^3.3.2",
    "typescript": "^4.9.5"
  }
}

nevermind, fixed it with this

I had that problem too. How exactly do you fix it?

I had that problem too. How exactly do you fix it?

Wrapping it with <Form></Form>

It's taken care of. Thank you~

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. Hope this helps somebody.

@manuganji I'm sure you've used shadcn/ui the imports got conflicted for me as well :D

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. Hope this helps somebody.

Same thing happened here :)

check whether from where have u imported the
if from react-hook-form , there u go that's the issue .. instead  , import it from @/components/ui/form (shadcn one)

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. Hope this helps somebody.

Had the exactly same mistake, thank you very much!

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. Hope this helps somebody.

daamn, you got it right dude

Thank you. I had the exact same thing!
Just change
import {
    FormField,
    FormItem,
    FormLabel,
    FormControl,
    FormDescription,
    FormMessage,
} from "@/components/ui/form";
import { Form, useForm } from "react-hook-form";

To
import {
    Form,
    FormField,
    FormItem,
    FormLabel,
    FormControl,
    FormDescription,
    FormMessage,
} from "@/components/ui/form";
import { useForm } from "react-hook-form";

happend to me my auto import imported Form form "react-router-dom"

just  make sure Form is imported from "@/components/ui/form"

happend to me my auto import imported Form form "react-router-dom"  just make sure Form is imported from "@/components/ui/form"

You saved the day, Thanks Buddy

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. Hope this helps somebody.

Thanks bro, my editor ditched me the same way...

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. Hope this helps somebody.

you're the real MVP!

thanks everyone.

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. Hope this helps somebody.

Worked like a charm!

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. Hope this helps somebody.

Same thing here!
(It's from prettier auto imports)

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. Hope this helps somebody.

Same thing happened here :)

Thanks brother

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. Hope this helps somebody.

Yeah it did 👌

Cannot destructure property 'selectedItems' of '(0 , components_Hooks_useRestaurant_js__WEBPACK_IMPORTED_MODULE_3_.default)(...)' as it is undefined.
// App.js
import style from "./App.module.css";
import { Form } from "react-bootstrap";
import NavBar from "./components/Navbar/Navbar";
import CardItem from "./components/RestaurantCard/Card";
import useRestaurantContext from "./components/Hooks/useRestaurant.js";
function App() {
const { selectedItems, setSelectedItems, setLocation, setRating } =
	useRestaurantContext();

const options = [
	{ value: "North Indian", label: "North Indian" },
	{ value: "South Indian", label: "South Indian" },
	{ value: "Chinese", label: "Chinese" },
	{ value: "Desserts", label: "Desserts" },
	{ value: "Italian", label: "Italian" },
	{ value: "Oriental", label: "Oriental" },
	{ value: "Pastas", label: "Pastas" },
	{ value: "Pizzas", label: "Pizzas" },
	{ value: "Japanese", label: "Japanese" },
	{ value: "Sushi", label: "Sushi" },
	{ value: "Barbecue", label: "Barbecue" },
	{ value: "Steak", label: "Steak" },
	{ value: "Seafood", label: "Seafood" },
];

const handleCheckboxChange = (value) => {

	if (selectedItems.includes(value)) {

		setSelectedItems(selectedItems.filter((item) => item !== value));
	} else {

		setSelectedItems([...selectedItems, value]);
	}

	console.log("elements", selectedItems);
};

return (

		<NavBar />

					<Form.Select
						aria-label="Location"
						onChange={(e) => {
							setLocation(e.target.value);
						}}
					>
						<option hidden>Select Location</option>
						<option value="Hyderabad">Hyderabad</option>
						<option value="Banglore">Banglore</option>
						<option value="Mumbai">Mumbai</option>
						<option value="Delhi">Delhi</option>
						<option value="Pune">Pune</option>
						<option value="Chennai">Chennai</option>
					</Form.Select>

					<Form>
						<Form.Label>Select Cuisines:</Form.Label>
						{options.map((option) => (
							<Form.Check
								key={option.value}
								type="checkbox"
								id={option.value}
								label={option.label}
								checked={selectedItems?.includes(option.value)}
								onChange={() => handleCheckboxChange(option.value)}
							/>
						))}
					</Form>

					<Form.Select
						aria-label="Default select example"
						onChange={(e) => {
							setRating(e.target.value);
						}}
					>
						<option hidden>Select Rating</option>
						<option value="3">3 above</option>
						<option value="4">4 above</option>
					</Form.Select>

Restaurants

			<CardItem />

);

}
export default App;
this is my app.js file code someone help me

Cannot destructure property 'selectedItems' of '(0 , components_Hooks_useRestaurant_js__WEBPACK_IMPORTED_MODULE_3_.default)(...)' as it is undefined. // App.js
import style from "./App.module.css"; import { Form } from "react-bootstrap"; import NavBar from "./components/Navbar/Navbar"; import CardItem from "./components/RestaurantCard/Card"; import useRestaurantContext from "./components/Hooks/useRestaurant.js";
function App() {
const { selectedItems, setSelectedItems, setLocation, setRating } =
	useRestaurantContext();

const options = [
	{ value: "North Indian", label: "North Indian" },
	{ value: "South Indian", label: "South Indian" },
	{ value: "Chinese", label: "Chinese" },
	{ value: "Desserts", label: "Desserts" },
	{ value: "Italian", label: "Italian" },
	{ value: "Oriental", label: "Oriental" },
	{ value: "Pastas", label: "Pastas" },
	{ value: "Pizzas", label: "Pizzas" },
	{ value: "Japanese", label: "Japanese" },
	{ value: "Sushi", label: "Sushi" },
	{ value: "Barbecue", label: "Barbecue" },
	{ value: "Steak", label: "Steak" },
	{ value: "Seafood", label: "Seafood" },
];

const handleCheckboxChange = (value) => {

	if (selectedItems.includes(value)) {

		setSelectedItems(selectedItems.filter((item) => item !== value));
	} else {

		setSelectedItems([...selectedItems, value]);
	}

	console.log("elements", selectedItems);
};

return (

		<NavBar />

					<Form.Select
						aria-label="Location"
						onChange={(e) => {
							setLocation(e.target.value);
						}}
					>
						<option hidden>Select Location</option>
						<option value="Hyderabad">Hyderabad</option>
						<option value="Banglore">Banglore</option>
						<option value="Mumbai">Mumbai</option>
						<option value="Delhi">Delhi</option>
						<option value="Pune">Pune</option>
						<option value="Chennai">Chennai</option>
					</Form.Select>

					<Form>
						<Form.Label>Select Cuisines:</Form.Label>
						{options.map((option) => (
							<Form.Check
								key={option.value}
								type="checkbox"
								id={option.value}
								label={option.label}
								checked={selectedItems?.includes(option.value)}
								onChange={() => handleCheckboxChange(option.value)}
							/>
						))}
					</Form>

					<Form.Select
						aria-label="Default select example"
						onChange={(e) => {
							setRating(e.target.value);
						}}
					>
						<option hidden>Select Rating</option>
						<option value="3">3 above</option>
						<option value="4">4 above</option>
					</Form.Select>

Restaurants

			<CardItem />

);

}
export default App; this is my app.js file code someone help me

Are you using shadcn? If yes, you should import the Form component from @/components/ui/form

Cannot destructure property 'selectedItems' of '(0 , components_Hooks_useRestaurant_js__WEBPACK_IMPORTED_MODULE_3_.default)(...)' as it is undefined. // App.js
import style from "./App.module.css"; import { Form } from "react-bootstrap"; import NavBar from "./components/Navbar/Navbar"; import CardItem from "./components/RestaurantCard/Card"; import useRestaurantContext from "./components/Hooks/useRestaurant.js";
function App() {
const { selectedItems, setSelectedItems, setLocation, setRating } =
	useRestaurantContext();

const options = [
	{ value: "North Indian", label: "North Indian" },
	{ value: "South Indian", label: "South Indian" },
	{ value: "Chinese", label: "Chinese" },
	{ value: "Desserts", label: "Desserts" },
	{ value: "Italian", label: "Italian" },
	{ value: "Oriental", label: "Oriental" },
	{ value: "Pastas", label: "Pastas" },
	{ value: "Pizzas", label: "Pizzas" },
	{ value: "Japanese", label: "Japanese" },
	{ value: "Sushi", label: "Sushi" },
	{ value: "Barbecue", label: "Barbecue" },
	{ value: "Steak", label: "Steak" },
	{ value: "Seafood", label: "Seafood" },
];

const handleCheckboxChange = (value) => {

	if (selectedItems.includes(value)) {

		setSelectedItems(selectedItems.filter((item) => item !== value));
	} else {

		setSelectedItems([...selectedItems, value]);
	}

	console.log("elements", selectedItems);
};

return (

		<NavBar />

					<Form.Select
						aria-label="Location"
						onChange={(e) => {
							setLocation(e.target.value);
						}}
					>
						<option hidden>Select Location</option>
						<option value="Hyderabad">Hyderabad</option>
						<option value="Banglore">Banglore</option>
						<option value="Mumbai">Mumbai</option>
						<option value="Delhi">Delhi</option>
						<option value="Pune">Pune</option>
						<option value="Chennai">Chennai</option>
					</Form.Select>

					<Form>
						<Form.Label>Select Cuisines:</Form.Label>
						{options.map((option) => (
							<Form.Check
								key={option.value}
								type="checkbox"
								id={option.value}
								label={option.label}
								checked={selectedItems?.includes(option.value)}
								onChange={() => handleCheckboxChange(option.value)}
							/>
						))}
					</Form>

					<Form.Select
						aria-label="Default select example"
						onChange={(e) => {
							setRating(e.target.value);
						}}
					>
						<option hidden>Select Rating</option>
						<option value="3">3 above</option>
						<option value="4">4 above</option>
					</Form.Select>

Restaurants

			<CardItem />

);

}
export default App; this is my app.js file code someone help me

Are you using shadcn? If yes, you should import the Form component from @/components/ui/form

No i am not using shadcn

getting the same error, even after importing it from shadcn/ui Form.

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. Hope this helps somebody.

It happened to me too!

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. Hope this helps somebody.

Woaw Thank you bro 🤣

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. Hope this helps somebody.

lol

reasonable suggestions however, just to keep in mind, if using shadcn form component then your component must be wrapped with <Form {...form}> where form comes from const form = useForm({     resolver: zodResolver(schema),     defaultValues: config.defaultValues,   });

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. Hope this helps somebody.

Hahaha, I can’t stop laughing at myself!

I had that problem too. How exactly do you fix it?

Wrapping it with <Form></Form> Reference: My Project

<Form></Form> no logner works. Use  <FormProvider></FormProvider> now

I had that problem too. How exactly do you fix it?

Wrapping it with <Form></Form> Reference: My Project

<Form></Form> no logner works. Use <FormProvider></FormProvider> now

Double check if you are passing params {...form}

Use  instead of   at 2024 work for me

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. Hope this helps somebody.

It helped me. Than you <3

This problem is caused by importing the form in react-hook-form. You need to import the form from ui/form.
import {
Form,
FormControl,
FormField,
FormItem,
FormLabel,
FormMessage,
} from "../ui/form"; = true
import { useForm,Form } from "react-hook-form"; = false


chore: Add NodePool readiness defined by the CloudProvider

Fixes #N/A
Description
This PR adds the IsReady() interface function to the CloudProvider. The plan is to eventually move this interface function into the status conditions with #493; however, we can keep this concept internal for now by calling out to the CloudProvider as a first iteration.
How was this change tested?
make presubmit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

18 of 20 (90.0%)  changed or added relevant lines in 2 files are covered.
16 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.1%) to 79.845%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/provisioning/provisioner.go
11
13
84.62%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/provisioning/scheduling/preferences.go
7
86.67%

pkg/controllers/nodeclaim/lifecycle/events.go
9
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
8343

Relevant Lines:
10449

💛  - Coveralls

Why not just start with the condition?

Why not just start with the condition

I'd like to come to quicker resolution on the eventual consistency issues that we currently have with the EC2NodeClass. I don't think that we should rush out thinking about how exactly we want the status conditions to be defined; however, I think an internal contract as a starting point that we can build-on makes a lot of sense for handling these eventual consistency errors in the short-term.

Closing this for now since we're going to take the path for just outright implementing #493


[Spark-java-refactor] Split java-info to a single submodule

Is your feature request related to a problem? Please describe.
As we discussed in our weekly meeting, it would be better to split java-info to a single submodule behind spark(maybe need to rename?) parent module.
Describe the solution you'd like
Describe alternatives you've considered
Additional context

the discussion note can find in GraphAr meeting note(2024-04-09)


add thrid party jython lib

related: https://github.com/eclipse/openj9/issues/12284
Signed-off-by: Yixin Qian<EMAIL_ADDRESS>

test: internal Grinder_TKG/1180/
@renfeiw @llxia could you take a review? thanks

https://ci.eclipse.org/openj9/job/test.getDependency/12710/


Completion for system header files

Not really an issue (maybe an issue with my english though), so this will most likely be closed very quickly.
Currently i'm using irony for c- and c++ code-completions in emacs but after reading around and searching for a system that also supports stuff like jump to definition, rename symbol and such, which irony is not capable of.
But the system i'm searching for should also complete candidates from the system-installed-headerfiles (iostream, stdlib and so on)!
Now after reading and searching for an answer myself i've landed here to ask:
Can cquery  do that?
Kindly,
Tim

Yep


4.0.0 silently fails logging

Web API .net framework 4.7.2
version 3.0.21 logs to logentries fine, 4.0.0 fails silently.
Here's my setup to replicate.
private static void InitializeLogger(string token)
{
    Log.Logger = new LoggerConfiguration().Enrich.FromLogContext()
        .WriteTo.Logentries(token, outputTemplate: "[{Level}] {Message} {Properties:j}{NewLine}{Exception}").CreateLogger();
    Log.Information("Log initialized.");
}

Try checking out the debugging section to getting more information "under the hood" to see if that helps diagnose the problem.


Question: Is there a way to check event listeners per html node?

As the question states - is there a way to check event listerens per html node (as in Chrome's DevTools > Event Listeners)?

Sorry, I don't know. If you can get it to work with Puppeteer, it's likely it can work here too. It's unlikely that we'll work on features that we ourselves don't need, unless you want to send a PR.

Thank you! This was rather far-fetched question either way :)


 Select the type of change that you're committing: fix:      A bug fix
? What is the scope of this change (e.g. component or file name): (press enter to skip) roomdescription
? Write a short, imperative tense description of the change (max 78 chars):
 (47) add max height and scrolling to roomdescription
? Provide a longer description of the change: (press enter to skip)

? Are there any breaking changes? No
? Does this change affect any open issues? Yes
? If issues are closed, the commit requires a body. Please enter a longer description of the commit itself:
 -
? Add issue references (e.g. "fix #123", "re #123".):
 fix #1556

><EMAIL_ADDRESS>format /home/mc/oss/dogehouse/kibbeh
> prettier --write src

sh: 1: prettier: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR<EMAIL_ADDRESS>format: `prettier --write src`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>format script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR!  Exit status 1
npm ERR!
npm ERR! Failed at the dogehouse@ commit script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!
Screenshots
If applicable, add screenshots to help explain your problem.
What device are you on?
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal
Additional context
Looks like prettier is not found, I tried installing with --save-dev and re-running but I ended up hitting another error about another missing package, I tried manually installing this package also, but kept hitting missing package errors.
Any ideas why all of the required packages are not being installed when I run npm i?

@TheOtterlord looks like what happened to you?

Delete node_modules everywhere, rerun yarn.

Delete node_modules everywhere, rerun yarn.

Same again

:facepalm: yarn, not npm i

@TheOtterlord looks like what happened to you?

I've not done any work in kofta. Nor do I use package scripts to commit. Do you mean my problems with using the i18 script?


Images not showing

https://www.ebi.ac.uk/ols4/ontologies/uberon/classes/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FUBERON_0003692
depiction_of should be embedded as an image like in OLS3

I haven't tested this but I wonder if we should show a thumbnail that can be clicked to show the image in a lightbox kinda thing? Otherwise the images will either be too big (making it impossible to read the properties) or too small (can't see the image)

Looks like this is broken in OLS3 - but it used to show all images if linked via FOAF:depicted_by   We have many examples of this in Uberon, curated for the purpose of showing on OLS and with Protege plugin.  I am likely to have many examples in future (e.g. large number of images  coming from HubMap.

More examples would be really nice. With that said, I checked OLS4 just now and the fix has been deployed. Would you prefer to create a separate ticket to implement the lightbox/popup/viewer thing, if finalized? If yes, I would consider this issue closed.

Thanks @serjoshua - this is great progress
I think the images should be promoted to the grey box area at the top (below "also appears in" in your screenshot); and omitted from the class information box. They should be displayed as clickable thumbnails with a lightbox on click. We can leave this issue open until then.


qt55: fix qtmultimedia gstreamer support

Without this, configure will say:
Checking for openal... no
/tmp/nix-build-qtmultimedia-5.5.0.drv-0/qtmultimedia-opensource-src-5.5.0/qtmultimedia.pro:28:
Variable GST_VERSION is not defined.
Checking for resourcepolicy... no
And there may be application runtime errors like
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera"
After this fix, configure will say:
Checking for openal... no
Checking for gstreamer... yes
Checking for gstreamer_photography... no
Checking for gstreamer_encodingprofiles... yes
Checking for gstreamer_appsrc... yes
Checking for linux_v4l... yes
Checking for resourcepolicy... no
And the above runtime error will not appear.
This fix is similar to 449b6028 ("qt5.multimedia: fix gstreamer
support."), except with Qt 5.5 we also need to set GST_VERSION.

I still haven't done a full rebuild, so not completely sure if the "runtime error will not appear" is correct (but I think so).

CC @ttuegel


nvm install x fails while globally installing yarn

Our builds suddenly started to fail while running nvm install 16 or nvm install 17 (which causes an npm install -g yarn)
# Executing command: nvm install 17
2022-03-17T19:28:05.894Z [INFO]: Downloading and installing node v17.7.1...
2022-03-17T19:28:05.973Z [WARNING]: Downloading https://nodejs.org/dist/v17.7.1/node-v17.7.1-linux-x64.tar.gz...
2022-03-17T19:28:06.091Z [WARNING]: ##################                                                        26.0%
2022-03-17T19:28:06.191Z [WARNING]: ########################################################
2022-03-17T19:28:06.191Z [WARNING]: 78.3%
2022-03-17T19:28:06.236Z [WARNING]: ##########################
2022-03-17T19:28:06.236Z [WARNING]: ############################################## 100.0%
2022-03-17T19:28:06.255Z [WARNING]: Computing checksum with sha256sum
2022-03-17T19:28:06.362Z [WARNING]: Checksums matched!
2022-03-17T19:28:07.780Z [INFO]: Now using node v17.7.1 (npm v8.5.2)
2022-03-17T19:28:07.810Z [INFO]: Installing default global packages from /root/.nvm/default-packages...
2022-03-17T19:28:07.811Z [INFO]: npm install -g --quiet<EMAIL_ADDRESS>2022-03-17T19:28:08.125Z [WARNING]: npm
2022-03-17T19:28:08.125Z [WARNING]: ERR! Workspaces not supported for global packages
2022-03-17T19:28:08.126Z [WARNING]:
2022-03-17T19:28:08.128Z [WARNING]: npm ERR!  Please check if your default-packages file or a package in it has problems!

We currently have the same problem in all projects that use nvm install --lts. Node 16.13 seems to work for us so we are now using nvm install 16.13.

I was able to run nvm install 17 and successfully deploy. Please open a new issue with the bug report template if you are still running into this behavior.