AttributeError: vmag is not an allowed Settings objects name. The most similar names are: thermal.

🔍 Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

🐞 Description of the bug
Traceback (most recent call last):
File "D:\dingdan2024\CFD\pyCFDansys2024\pyCFDansys2024\AITF.py", line 107, in
solver.setup.boundary_conditions.velocity_inlet["cold-inlet"].vmag = {
File "D:\anaconda3\envs\py39\lib\site-packages\ansys\fluent\core\solver\flobject.py", line 566, in setattr
attr = getattr(self, name)
File "D:\anaconda3\envs\py39\lib\site-packages\ansys\fluent\core\solver\flobject.py", line 554, in getattribute
return super().getattribute(name)
AttributeError: vmag is not an allowed Settings objects name.
The most similar names are: thermal.
📝 Steps to reproduce
Traceback (most recent call last):
File "D:\dingdan2024\CFD\pyCFDansys2024\pyCFDansys2024\AITF.py", line 107, in
solver.setup.boundary_conditions.velocity_inlet["cold-inlet"].vmag = {
File "D:\anaconda3\envs\py39\lib\site-packages\ansys\fluent\core\solver\flobject.py", line 566, in setattr
attr = getattr(self, name)
File "D:\anaconda3\envs\py39\lib\site-packages\ansys\fluent\core\solver\flobject.py", line 554, in getattribute
return super().getattribute(name)
AttributeError: vmag is not an allowed Settings objects name.
The most similar names are: thermal.
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
Traceback (most recent call last):
File "D:\dingdan2024\CFD\pyCFDansys2024\pyCFDansys2024\AITF.py", line 107, in
solver.setup.boundary_conditions.velocity_inlet["cold-inlet"].vmag = {
File "D:\anaconda3\envs\py39\lib\site-packages\ansys\fluent\core\solver\flobject.py", line 566, in setattr
attr = getattr(self, name)
File "D:\anaconda3\envs\py39\lib\site-packages\ansys\fluent\core\solver\flobject.py", line 554, in getattribute
return super().getattribute(name)
AttributeError: vmag is not an allowed Settings objects name.
The most similar names are: thermal.
🐍 Which Python version are you using?
3.9
📦 Installed packages
Traceback (most recent call last):
  File "D:\dingdan2024\CFD\pyCFDansys2024\pyCFDansys2024\AITF.py", line 107, in <module>
    solver.setup.boundary_conditions.velocity_inlet["cold-inlet"].vmag = {
  File "D:\anaconda3\envs\py39\lib\site-packages\ansys\fluent\core\solver\flobject.py", line 566, in __setattr__
    attr = getattr(self, name)
  File "D:\anaconda3\envs\py39\lib\site-packages\ansys\fluent\core\solver\flobject.py", line 554, in __getattribute__
    return super().__getattribute__(name)
AttributeError: vmag is not an allowed Settings objects name.
The most similar names are: thermal.

The path will be solver.setup.boundary_conditions.velocity_inlet["cold-inlet"].momentum.velocity.value in later versions of PyFluent. Please see this tutorial script for settings up boundary conditions.

The path will be solver.setup.boundary_conditions.velocity_inlet["cold-inlet"].momentum.velocity.value in later versions of PyFluent. Please see this tutorial script for settings up boundary conditions.

AttributeError                            Traceback (most recent call last)
Cell In[6], line 1
----> 1 solver.setup.cell_zone_conditions.fluid["elbow-fluid"].general.material = "water-liquid"
File D:\anaconda3\envs\py39fluent\lib\site-packages\ansys\fluent\core\solver\flobject.py:554, in Group.getattribute(self, name)
552         raise RuntimeError(f"'{self.path}' is currently not active")
553 try:
--> 554     return super().getattribute(name)
555 except AttributeError as ex:
556     self._get_parent_of_active_child_names(name)
AttributeError: general is not an allowed Settings objects name.
The most similar names are: material.


Base image 'java' for Minecraft is deprecated in favor of 'openjdk'

FYI, per the Docker Hub description for the java base image:

This image is officially deprecated in favor of the openjdk image, and will receive no further updates after 2016-12-31 (Dec 31, 2016). Please adjust your usage accordingly.

Thanks. I hadn't switched some of my other images but forgot to circle around for here.

Pushed to Hub at image ID 9ec4d889769f


Return information on the programmatic functions

https://github.com/danburzo/percollate/blob/master/index.js#L252
It would be useful to let the pdf function return the result of the cleanup function as an array.
pdf(urls, options) => array
and/or export the cleanup function to let it be used programmatically

never mind


Deprecate dask-xgboost

Closes https://github.com/dask/dask-xgboost/issues/80
cc @TomAugspurger @trivialfis @JohnZed @jakirkham

Yeah, I'm happy to push a final 0.2.0 release out with this change. Could you add me to PyPI?
I'm also inclined to not worry about the seg fault causing CI to fail and just push things out as is

Thanks, added to PyPI

Thanks for working on this!  I will check the segfault after resgistering another github account for logging into circleci...

The segfault is caused by old xgboost (0.90) predict function not being thread safe.  I ran the tests with latest xgboost and didn't reproduce.  It can be safely ignored.

Thanks all.

Thanks @TomAugspurger. Pushing out a release now...


Update components for Enterprise v3.5.2

Description
Update components for upcoming Enterprise v3.5.2

For PR author

[ ] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[x] Milestone set according to targeted release.
[x] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

Thanks for the review. helm version will be in the docs update PR.


Unable to display botAvatarImage without botAvatarInitials

Screenshots
Latest Web Chat is unable to display botAvatarImage without botAvatarInitials.

Version
4.10.0 (current latest)
Describe the bug
Web Chat is unable to display botAvatarImage without botAvatarInitials in current latest version.
Is this expected behavior?
 const styleOptions = {
          botAvatarImage:
            'https://docs.microsoft.com/en-us/azure/bot-service/v4sdk/media/logo_bot.svg?view=azure-bot-service-4.0',
};

Meanwhile, if botAvatarInitials is set as any value, it correctly displays botAvatarImage.
 const styleOptions = {
          botAvatarImage:
            'https://docs.microsoft.com/en-us/azure/bot-service/v4sdk/media/logo_bot.svg?view=azure-bot-service-4.0',
          botAvatarInitials: 'BF',
          ...
};

Expected behavior

Current Workaround

Change version from latest to 4.9.2

<script crossorigin="anonymous" src="https://cdn.botframework.com/botframework-webchat/4.9.2/webchat.js"></script>

Specify any value like empty for botAvatarInitials

botAvatarInitials: '',

Investigation
I'm doubtful that the default of botAvatarInitials changed from "" to undefined might be related.
https://github.com/microsoft/BotFramework-WebChat/blob/056777313da72a81ea931cb407024f7d5de728c4/CHANGELOG.md#breaking-changes
Reference sample
Sample - d.display-sender-images
https://github.com/microsoft/BotFramework-WebChat/tree/1d6f46282653c0cf8a8cbea30fed4f07164e246e/samples/02.branding-styling-and-customization/d.display-sender-images
Additional context
[Bug]

We recently updated the avatar.
To show an image on the bot side, please provide the initials through botAvatarInitials. You can also provide an empty string in case your bot doesn't have an initial.
Please let us know how it works. 😉

Also struggling with avatar for Bot.
Avatar for user is showing corretly all the time
Avatar for bot does not show. It does show gutter
Unless the bot shows a caroussel of cards. In that case the bot avatar image does show.
Is used the styleoptions as shown in Sample - d.display-sender-images
Hope this helps a bit. Maybe later I will be able to spend more time on a reproducable example

@compulim, could you take a look?  @HesselWellema, were you able to get more info?

Will look at this today.

Nope. Did not find the time yet

@HesselWellema I mean I will look at this.

I know 👍

Closing - workaround information provided.
@HesselWellema Your problem doesn't seem to be related to the original issue. If you're still experiencing problems, please provide repro steps for the bug, or file a new question on Stack Overflow.


This overrides previously set PATH

Had some fun debugging why my intel compiler runs failed, and I think I've narrowed it down to this.
Because of how Intel OneAPI works, it needs to run
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV

so that it propagates the PATH, LD_LIBRARY_PATH, etc. But apparently lukka/get-cmake also overrides PATH (maybe other variables as well) without reading the previously set PATH. I have tried changing the order and everything, but just having likka/get-cmake in the job, it automatically overrides PATH. Removing it, I managed to get it working again.

Sorry, it seems PATH is treated specially compared to other GITHUB_ENV and I hadd to change it to:
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
echo $PATH >> $GITHUB_PATH

@LecrisUT thanks a lot for reporting the issue and the solution as well! Glad to know that run-cmake is not overriding the PATH, it is not supposed to do that as that would be indeed disruptive.


Create week objects from day objects

Using the day objects, create five week objects to describe measurement averages and changes over time.

Closed by commit 839c2120eb754d43e8f03c65800a1c605e1c3e8e.


Allow for translation keys to not be namespaced

I want to be able to define a minimum translation file structure, which means that I should be able to have fields and buttons properties at the top level. So default to a shared translation namespace of '' instead of 'shared'.
Add some tests for this as well. Tests are obviously short of full coverage, but they're a start.
Bump a minor version as well.

:+1:


 What is the thing that I am missing. I am attaching file please have a look.
Thank you
mobizen_20190131_151037.zip

Same issue :(
Did u find a workaround?

Same issue :(
Did u find a workaround?

I guess programmatically it doesn't animate because of some attribute set that are not being set. Instead of creating it in code, inflate the view via inflater.

@billy9222 ok.  For my part, I fixed it directly in the code of MaterialSpinner class.

How can you please share which part did you change in the class to make it work?

@billy9222, of course! In MaterialSpinner code
    @Override
    public void onAnimationUpdate(ValueAnimator animation) {
        invalidate();
    }
```java

becomes

```java
    @Override
    public void onAnimationUpdate(ValueAnimator animation) {
        floatingLabelPercent =  (Float)animation.getAnimatedValue();
        invalidate();
    }
```java

@gigaga  thank you :)  This was really bothering from a very long time.


Docs: allowUnreachableCode described backwards and with misleading default

Page URL: https://www.typescriptlang.org/v2/en/tsconfig#allowUnreachableCode
Issue: First sentence is "Set to false to disable warnings about unreachable code", but instead you set the value to true to disable warnings. Also, the default is described as being false, but the actual default is undefined which as of https://github.com/microsoft/TypeScript/issues/24026 has different behavior: undefined gives warnings about unreachable code, while false gives errors.
The same two issues apply to the allowUnusedLabels documentation just below it.

Great! Thanks, I've updated these docs

Looks like the PR addresses allowUnreachableCode; fwiw, the same applies to allowUnusedLabels.


Update CONTRIBUTING: propose working on good first issues

Instead of the internal "onboarding" label.

@bot-gradle test and merge please

I've triggered a build for you. Click here to see all failures if there's any.


Mismatched field name and drop down options

Describe the bug

[ ] Server disconnect
[ ] Wrong manifest
[ ] Wrong values in manifest columns
[X] Other (please describe)

To Reproduce
Center: OHSU
Template: Demographics
Screenshots (optional)

Additional context (optional)
Drop down options and field description don't align with column name in Google sheets template

This would have been an error in schematic working with the schema, but it should have been resolved in newer versions. Closing this issue until we see the bug resurfaces, if it does, in the future.


JOSS manuscript clean up [2]

xref #246, openjournals/joss-reviews#3330

[x] clean duplicated URLs in references
[x] figure 2 caption URL
[ ] code block for Figure 2

format for reduced width, line length coming off page
possibly reduce figure size?

[x] clean invalid DOIs

I think the code block in Figure 2 is too large are cumbersome (see current rendering here). Moreover, it can't be run by "copy&paste"ing the code and creates half-blank page situation in the typesetting. I vote that we remove that code block and point readers to the notebook, which we are already doing in the caption. What are your thoughts @gegen07?

TL;DR: I think it's ok to remove the mentioned code block.
When I read a paper, code blocks are, generally, hard to understand and it eventually makes me disinterested. As the tutorial aims at the code explanation and how API works, I think it's ok to remove the code block.

@gegen07, I also think we could add the following sending to the facility location section:

Moreover, we have included functionality to place pre-determined site locations within the facility selection pool, allowing for realistic scenarios whereby 1 or more new facilities can be added to an existing set of locations.

What do you think?

That's awesome. I think we can also explicitly add that this is a feature which no of the open source tools provide. What do you think?


I installed the editor, but I don't see any tabs.

I installed the editor, but I don't see any tabs. I get these error messages in the terminal. Please tell me how to solve it.
Error executing callback ui_tabs_callback for C:\AI\stable-diffusion-webui\extensions\openpose-editor\scripts\main.py
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\script_callbacks.py", line 119, in ui_tabs_callback
res += c.callback() or []
File "C:\AI\stable-diffusion-webui\extensions\openpose-editor\scripts\main.py", line 129, in on_ui_tabs
png_input.upload(estimate, png_input, jsonbox).then(None, jsonbox, None, _js="detectImage")
AttributeError: 'NoneType' object has no attribute 'then'

I encountered the exact same issue after I updated. Yesterday was still working fine...

I had the same issue. Workaround that works for me is to rollback to commit 42ba3d5dc132357a2ea048283efb8129ef69f8f9

Update the stable-diffusion-webui to the latest version will fix the problem, since there are some updates related to gradio update.


yubikey-manager: 5.4.0 -> 5.5.1

Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

hmm, getting this error when running ykman-gui:
"PyOtherSide error: Traceback (most recent call last):\n\n  File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
qml: Function not found: 'yubikey.controller.refresh' (Traceback (most recent call last):

  File "<string>", line 1, in <module>

NameError: name 'yubikey' is not defined
)
qml: qrc:/qml/YubiKey.qml:208: TypeError: Cannot read property 'success' of undefined

Thanks for reporting, @Lassulus. When building yubikey-manager from this branch (nix build .#yubikey-manager) on aarch64-darwin no file named ykman-gui is found in the result/ directory-tree.
Can you provide further info and context for the issue you posted?

What command is used to run ykman-gui?
Which command was used to install ykman-gui?
On which system (version and arch) is ykman-gui run?

ah I ran nixpkgs-review pr 322907, which also builds the packages depending on yubikey-manager, which includes yubikey-manager-qt

Result of nixpkgs-review pr 322907 run on aarch64-darwin 1

3 packages built:

gen-oath-safe
yubikey-manager
yubikey-manager.dist

Result of nixpkgs-review pr 322907 run on x86_64-linux 1

7 packages built:

gen-oath-safe
yubikey-manager
yubikey-manager-qt
yubikey-manager.dist
yubioath-flutter
yubioath-flutter.debug
yubioath-flutter.pubcache

Result of nixpkgs-review pr 322907 run on x86_64-linux 1

7 packages built:

gen-oath-safe
yubikey-manager
yubikey-manager-qt
yubikey-manager.dist
yubioath-flutter
yubioath-flutter.debug
yubioath-flutter.pubcache

I'd be in favor of dropping yubikey-manager-qt if yubioath-flutter would build, unfortunately it fails for on both linux and darwin 😒

Result of nixpkgs-review pr 322907 run on x86_64-linux 1

7 packages built:

gen-oath-safe
yubikey-manager
yubikey-manager-qt
yubikey-manager.dist
yubioath-flutter
yubioath-flutter.debug
yubioath-flutter.pubcache

flutter seems to work here, we could mark -qt as broken though

Thanks for testing, reviewing and merging this, @Lassulus, much appreciated 🙂


Mull corrupted LLVM module. cxx_logical_and_to_or

I have a mull configuration working fairly well.
When I add  - ccx_logical_and_to_or I get this error message during exit.
[error] Uh oh! Mull corrupted LLVM module.
Please, report the following error message here https://github.com/mull-project/mull/issues
Underlying error message:
Instruction does not dominate all uses!
  %27 = call noundef zeroext i1 @_ZNK5boost5multi16elements_range_tIPKdNS0_8layout_tILl1ElEEEeqIS3_S5_EEbRKNS1_IT_T0_EE(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(56) %8), !dbg !44053
  %30 = phi i1 [ %27, %28 ], [ %27, %24 ], !dbg !44054

The module was corrupted by 'cxx_logical_and_to_or' mutator.
To disable it, add the following:
ignoreMutators:
  - cxx_logical_and_to_or
to the config file (/home/correaa/boost-multi/mull.yml)

[error] Error messages are treated as fatal errors. Exiting now.

The same thing happens with   - cxx_logical_or_to_and
This is the full mull.yml file:
mutators:
 - cxx_add_assign_to_sub_assign  # Replaces += with -=
 - cxx_add_to_sub  # Replaces + with -
 - cxx_and_assign_to_or_assign  # Replaces &= with |=
 - cxx_and_to_or  # Replaces & with |
 - cxx_assign_const  # Replaces `a = b` with `a = 42`
 - cxx_bitwise_not_to_noop  # Replaces ~x with x
 - cxx_div_assign_to_mul_assign  # Replaces /= with *=
 - cxx_div_to_mul  # Replaces / with *
 - cxx_eq_to_ne  # Replaces == with !=
 - cxx_ge_to_gt  # Replaces >= with >
 - cxx_ge_to_lt  # Replaces >= with <
 - cxx_gt_to_ge  # Replaces > with >=
 - cxx_gt_to_le  # Replaces > with <=
 - cxx_init_const  # Replaces ‘T a = b’ with ‘T a = 42’
 - cxx_le_to_gt  # Replaces <= with >
 - cxx_le_to_lt  # Replaces <= with <
 - cxx_logical_and_to_or  # Replaces && with ||
#- cxx_logical_or_to_and  # Replaces || with &&  # The module was corrupted by 'cxx_logical_or_to_and' mutator.
 - cxx_lshift_assign_to_rshift_assign  # Replaces <<= with >>=
 - cxx_lshift_to_rshift  # Replaces << with >>
 - cxx_lt_to_ge  # Replaces < with >=
 - cxx_lt_to_le  # Replaces < with <=  # TODO(correaa) investigate why this mutant survives with the range.contains function
 - cxx_minus_to_noop  # Replaces -x with x
 - cxx_mul_assign_to_div_assign  # Replaces *= with /=
 - cxx_mul_to_div  # Replaces * with /
 - cxx_ne_to_eq  # Replaces != with ==
 - cxx_or_assign_to_and_assign  # Replaces |= with &=
 - cxx_or_to_and  # Replaces | with &
 - cxx_post_dec_to_post_inc  # Replaces x– with x++
 - cxx_post_inc_to_post_dec  # Replaces x++ with x–
 - cxx_pre_dec_to_pre_inc  # Replaces –x with ++x
 - cxx_pre_inc_to_pre_dec  # Replaces ++x with –x
 - cxx_rem_assign_to_div_assign  # Replaces %= with /=
 - cxx_rem_to_div  # Replaces % with /
 - cxx_remove_negation  # Replaces !a with a
 - cxx_remove_void_call  # Removes calls to a function returning void
 - cxx_replace_scalar_call  # Replaces call to a function with 42
 - cxx_rshift_assign_to_lshift_assign  # Replaces >>= with <<=
 - cxx_rshift_to_lshift  # Replaces << with >>
 - cxx_sub_assign_to_add_assign  # Replaces -= with +=
 - cxx_sub_to_add  # Replaces - with +
 - cxx_xor_assign_to_or_assign  # Replaces ^= with |=
 - cxx_xor_to_or  # Replaces ^ with |
timeout: 1000  # in milliseconds
debug:
 slowIRVerification: true
quiet: true  # additional logging?
excludePaths:
  - .*test.*

Hi @correaa, could you share more information about the setup under which the issue is happening?
I tried reproducing it against 54b9100ad7bd68bbb8d02af320c86b82bdceef09 (top of the master branch at the time of writing), but cannot see the issue.

Is this good to replicate the problem?
https://gitlab.com/correaa/boost-multi/-/jobs/8733770928#L646

@correaa thank you, I've got the reproducer now 🥳
One more needed command:
apt-get -qq install --no-install-recommends -y --quiet gnupg curl wget ca-certificates clang-16 cmake libclang-rt-16-dev make libboost-timer-dev libboost-serialization-dev libblas-dev libfftw3-dev liblapack-dev pkg-config

Reproducer:
/usr/bin/clang++-17  -I/workspaces/mull/boost-multi/include -O1 -fpass-plugin=/usr/lib/mull-ir-frontend-17 -g -grecord-command-line -fprofile-instr-generate -o allocator.cpp.o -c /workspaces/mull/boost-multi/test/allocator.cpp

Interestingly enough, removal of -fprofile-instr-generate makes the problem disappear.
Next step: creduce the input and add an integration test showing the problem in isolation.

ok, can I safely remove that option?
Since I don't know what these options do, I am afraid to invalidate the whole mutation testing.
In particular, I am afraid of repeatedly running gratuitously hours of CI computation for nothing.
That is the reason I am tiptoeing with the automated system.

You can safely remove it unless you use code coverage support in mull, i.e. https://mull.readthedocs.io/en/0.24.0/tutorials/ControlMutationsTutorial.html
I identified the underlying problem, but can't give an ETA for the solution as it's not very trivial.

thanks, I don't know what the code coverage support does exactly.
Mull can be more efficient if it know the coverage before hand?
I have a coverage run, I could run it at the same time with mull but I don't understand the mechanics.
https://app.codecov.io/gl/correaa/boost-multi/tree/master/include%2Fboost%2Fmulti

thanks, I don't know what the code coverage support does exactly. Mull can be more efficient if it know the coverage before hand?
I have a coverage run, I could run it at the same time with mull but I don't understand the mechanics.
https://app.codecov.io/gl/correaa/boost-multi/tree/master/include%2Fboost%2Fmulti

The idea is to collect coverage information for a certain run and then only consider mutants that were actually executed. It eliminates the problem when unreachable mutants are reported as survived.

I see, it makes sense.
Although another (inefficient, non-intended) use of mull could be to detect
missing coverage.
I am using it like that.
On Mon, Dec 30, 2024 at 11:28 AM Alex Denisov @.***>
wrote:

thanks, I don't know what the code coverage support does exactly. Mull can
be more efficient if it know the coverage before hand?
I have a coverage run, I could run it at the same time with mull but I
don't understand the mechanics.
https://app.codecov.io/gl/correaa/boost-multi/tree/master/include%2Fboost%2Fmulti
The idea is to collect coverage information for a certain run and then
only consider mutants that were actually executed. It eliminates the
problem when unreachable mutants are reported as survived.
—
Reply to this email directly, view it on GitHub
https://github.com/mull-project/mull/issues/1077#issuecomment-2565841989,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXICU4CFYTBWPTLHCZKBIT2IGNENAVCNFSM6AAAAABUFMKZUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRVHA2DCOJYHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Provide flag to exclude .Notes section from ProxyCmdletDefinitions.ps1

Provide flag -ExcludeNoteSection to control writing of .Notes section into ProxyCmdletDefinitions.ps1.
Refer user to use Get-Help -Online.
This reduce module bloat.

cc. @maisarissi, @peombwa, @shemogumbe

@georgend Please create PR against to main branch if you want to contribute to the latest release.
And for legacy 2.1.*, please create PR to https://github.com/Azure/autorest.powershell/tree/msgraph
BTW, Do not change format when saving the code to make it easy to review the code change.


withSingle2 not returning Error prop on fragment issue

When a fragment is wrong, eg having an unexpected field, loading is false, document is undefined and error undefined with withSingle2. This should never happen, error should be defined in this case. The error is correctly displayed in the console.

Fixed in latest commit, it now returns the whole error object, containing both graphqlErrors and  networkError


Fix a bug in lines() (after a year of its discovery!)

Some time ago, about a year ago, i've discovered a bug at lines() when incorporating it in a Shell library of mine.
Basically, when you ran it for the first time, it stored a integer with the number of lines in the ${lines} variable, which is the expected.
But, when you ran it for the second time, it started adding the value of ${lines}, from the first run, with the value of the current run.
The fix to this is very simple, just add unset at the end of the function, so it removes the old value from the memory and them add the new.
I had been wanting to do a pull request for a while to fix this, but i've ran out of time and ended up forgetting about it.
I hope it helps now.

Yes. These aren't meant to be copy/pasted into projects 1:1. They're meant to be examples. Thanks for the PR.


[ES-479] Add Windows support to the omnibus_build resource

/cc @chef-cookbooks/engineering-services @chef-cookbooks/omnibus-maintainers @xenolinguist

This PR has passed 'Verify' and is ready for review and approval!
Use: '@delivery approve' when code review is complete.

:+1:

@delivery approve

Change: 3b643bd7-4e81-42e6-9138-062c26792023 approved by: @oferrigni


Java + Lombok + Kotlin - find usages did not work

Short description
Unable to find fields usages of Lombok'ed Java classes in Kotlin files.
Expected behavior
Alt+F7 on field should find each usages on this field in Kotlin (also with Java).
Version information

IDEA Version:
IntelliJ IDEA 2018.3.4 (Ultimate Edition)
Build #IU-183.5429.30, built on January 29, 2019
JRE: 1.8.0_152-release-1343-b26 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
JDK Version: 1.8.0_201
OS Type & Version: Windows 10, 64 bit
Lombok Plugin Version: v0.23-2018.3
Lombok Dependency Version: 1.18.4

Steps to reproduce

Create project with modules in Java and Kotlin
In Java module create class Foo with lombok @Data annotation
In Kotlin module create some service that uses Foo class attributes from Java module
Go to Foo.java and try to find usages for attributes that is used in Kotlin module - nothing will be found

Sample project
https://github.com/alexey-krylov/kotlin-java-lombok-search-issue-project
To reproduce search usages issue go to Foo.java and try to find usages of 'uuid' field.
It should find one usage in class FooService.kt, but it doesn't.
Additional information

Stacktrace

As i workaround now i'm using
@FieldDefaults(level = AccessLevel.PUBLIC)
on all fields, in this case all usages is seen by IDEA

Also i've created issue here:
https://youtrack.jetbrains.com/issue/IDEA-207470

same issue

it seem like kotlin use property and lombok generate getter, they are confused in IDEA. I can only add a getter to the field

Dear Big man, is the problem solved? Ask for help me!

No, it's still an issue. The workaround with setting all fields to public does work, but it also means you have public-accessible fields, obviously.


Line 41: [Warning] Invalid file link:(~/Publisher/using-events-with-the-application-object-publisher.md).
Line 60: [Warning] Invalid file link:(~/Publisher/application-object-publisher.md).

articles/Publisher/Publisher.Application.WindowDeactivate.md

Line 36: [Warning] Invalid file link:(~/Publisher/using-events-with-the-application-object-publisher.md).
Line 41: [Warning] Invalid file link:(~/Publisher/using-events-with-the-application-object-publisher.md).
Line 60: [Warning] Invalid file link:(~/Publisher/application-object-publisher.md).

articles/Publisher/Publisher.BorderArt.md

Line 91: [Warning] Invalid file link:(~/Publisher/borderart-parent-property-publisher.md).

articles/Publisher/Publisher.BorderArtFormat.md

Line 151: [Warning] Invalid file link:(~/Publisher/borderartformat-parent-property-publisher.md).
Line 152: [Warning] Invalid file link:(~/Publisher/borderartformat-stretchpictures-property-publisher.md).
Line 153: [Warning] Invalid file link:(~/Publisher/borderartformat-weight-property-publisher.md).

articles/Publisher/Publisher.BorderArts.md

Line 76: [Warning] Invalid file link:(~/Publisher/borderarts-parent-property-publisher.md).

articles/Publisher/Publisher.BuildingBlock.Type.md

Line 16: [Warning] Invalid file link:(~/Publisher/pbbuildingblocktype-enumeration-publisher.md).

articles/Publisher/Publisher.CatalogMergeShapes.md

Line 146: [Warning] Invalid file link:(~/Publisher/catalogmergeshapes-count-property-publisher.md).
Line 147: [Warning] Invalid file link:(~/Publisher/catalogmergeshapes-horizontalrepeat-property-publisher.md).
Line 148: [Warning] Invalid file link:(~/Publisher/catalogmergeshapes-parent-property-publisher.md).
Line 149: [Warning] Invalid file link:(~/Publisher/catalogmergeshapes-verticalrepeat-property-publisher.md).

articles/Publisher/Publisher.CellBorder.md

Line 60: [Warning] Invalid file link:(~/Publisher/cellborder-parent-property-publisher.md).

articles/Publisher/Publisher.CellRange.md

Line 85: [Warning] Invalid file link:(~/Publisher/cellrange-width-property-publisher.md).

articles/Publisher/Publisher.ColorFormat.md

Line 30: [Warning] Invalid file link:(~/Publisher/fillformat-object-publisher.md).
Line 30: [Warning] Invalid file link:(~/Publisher/fillformat-backcolor-property-publisher.md).
Line 32: [Warning] Invalid file link:(~/Publisher/lineformat-object-publisher.md).
Line 32: [Warning] Invalid file link:(~/Publisher/lineformat-backcolor-property-publisher.md).
Line 34: [Warning] Invalid file link:(~/Publisher/shadowformat-forecolor-property-publisher.md).
Line 34: [Warning] Invalid file link:(~/Publisher/shadowformat-object-publisher.md).
Line 35: [Warning] Invalid file link:(~/Publisher/threedformat-object-publisher.md).
Line 35: [Warning] Invalid file link:(~/Publisher/threedformat-extrusioncolor-property-publisher.md).
Line 73: [Warning] Invalid file link:(~/Publisher/colorformat-type-property-publisher.md).

articles/Publisher/Publisher.ColorScheme.md

Line 83: [Warning] Invalid file link:(~/Publisher/colorscheme-parent-property-publisher.md).

articles/Publisher/Publisher.ColorSchemes.md

Line 81: [Warning] Invalid file link:(~/Publisher/colorschemes-parent-property-publisher.md).

articles/Publisher/Publisher.Column.md

Line 81: [Warning] Invalid file link:(~/Publisher/column-parent-property-publisher.md).
Line 82: [Warning] Invalid file link:(~/Publisher/column-width-property-publisher.md).

articles/Publisher/Publisher.Columns.md

Line 117: [Warning] Invalid file link:(~/Publisher/columns-count-property-publisher.md).
Line 118: [Warning] Invalid file link:(~/Publisher/columns-parent-property-publisher.md).

articles/Publisher/Publisher.ConnectorFormat.md

Line 95: [Warning] Invalid file link:(~/Publisher/connectorformat-parent-property-publisher.md).
Line 96: [Warning] Invalid file link:(~/Publisher/connectorformat-type-property-publisher.md).

articles/Publisher/Publisher.Document.BeforeClose.md

Line 36: [Warning] Invalid file link:(~/Publisher/using-events-with-the-document-object-publisher.md).

articles/Publisher/Publisher.LinkFormat.md

Line 66: [Warning] Invalid file link:(~/Publisher/linkformat-parent-property-publisher.md).

articles/Publisher/Publisher.OLEFormat.md

Line 69: [Warning] Invalid file link:(~/Publisher/oleformat-parent-property-publisher.md).
Line 70: [Warning] Invalid file link:(~/Publisher/oleformat-progid-property-publisher.md).

articles/Publisher/Publisher.Document.Redo(even).md

Line 32: [Warning] Invalid file link:(~/Publisher/using-events-with-the-document-object-publisher.md).

articles/Publisher/Publisher.Document.Open.md

Line 30: [Warning] Invalid file link:(~/Publisher/using-events-with-the-document-object-publisher.md).

articles/Publisher/Publisher.RulerGuides.md

Line 80: [Warning] Invalid file link:(~/Publisher/rulerguides-item-property-publisher.md).
Line 81: [Warning] Invalid file link:(~/Publisher/rulerguides-parent-property-publisher.md).

articles/Publisher/Publisher.RulerGuide.md

Line 63: [Warning] Invalid file link:(~/Publisher/rulerguide-type-property-publisher.md).

articles/Publisher/Publisher.Rows.md

Line 93: [Warning] Invalid file link:(~/Publisher/rows-parent-property-publisher.md).

articles/Publisher/Publisher.Row.md

Line 113: [Warning] Invalid file link:(~/Publisher/row-height-property-publisher.md).
Line 114: [Warning] Invalid file link:(~/Publisher/row-parent-property-publisher.md).

articles/Publisher/Publisher.ReaderSpread.md

Line 52: [Warning] Invalid file link:(~/Publisher/readerspread-width-property-publisher.md).

articles/Publisher/Publisher.Document.Undo(even).md

Line 32: [Warning] Invalid file link:(~/Publisher/using-events-with-the-document-object-publisher.md).

articles/Publisher/Publisher.Window.md

Line 72: [Warning] Invalid file link:(~/Publisher/window-windowstate-property-publisher.md).

articles/Publisher/Publisher.WebPageOptions.md

Line 67: [Warning] Invalid file link:(~/Publisher/webpageoptions-publishfilename-property-publisher.md).

articles/Publisher/Publisher.pagesetup.publicationlayout.md

Line 14: [Warning] Invalid file link:(~/Publisher/pbpublicationlayout-enumeration-publisher.md).
Line 53: [Warning] Invalid file link:(~/Publisher/pagesetup-object-publisher.md).

articles/Publisher/Publisher.Pages.md

Line 60: [Warning] Invalid file link:(~/Publisher/pages-parent-property-publisher.md).

articles/Publisher/Publisher.ShapeNodes.md

Line 87: [Warning] Invalid file link:(~/Publisher/shapenodes-parent-property-publisher.md).

articles/Publisher/Publisher.Fields.md

Line 74: [Warning] Invalid file link:(~/Publisher/fields-parent-property-publisher.md).

articles/Publisher/Publisher.TextStyles.md

Line 96: [Warning] Invalid file link:(~/Publisher/textstyles-parent-property-publisher.md).

articles/Publisher/Publisher.Tags.md

Line 80: [Warning] Invalid file link:(~/Publisher/tags-parent-property-publisher.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add Python3 code to Verlet

There was already Python2 code included in the article but as newcomers to Python should learn Python3 it makes sense to also add Python3 code. Hope my code makes sense.
In the last example I left Stormer-Verlet out because it is just Classical Verlet but you calculate the velocity but you don't use it in this example with the falling ball.

Alright, thank you for the review :-). I'm away from home for a couple of days and I don't have my laptop with me so I can fix this on Wednesday. Is that ok?

Yeah, get to it when you have time! Thanks for contributing!

@leios thank you sir :-) Hopefully I won't be leaving AAA for a long time ;-)

I just noticed that the old python2 version of verlet was changed yesterday to python3. I guess I should closed this one then?

Oh no, you're right. I'm so sorry. I totally didn't think of that. I'm sure you will find another cool algorithm you can implement! The timing was just a bit unfortunate because we just made a big decision regarding Python. I hope that's okay.


Problems with attached PDF

Whenever I upload a PDF using the SDK, I get the "Failed to load PDF" when trying to read the file from QBO Online.
My code is as follows
$randId = rand();
$entityRef = new IPPReferenceType(['value' => $id, 'type' => 'Bill']);
$attachableRef = new IPPAttachableRef(['EntityRef' => $entityRef]);
$objAttachable = new IPPAttachable();
$objAttachable->FileName = $randId . $this->invoiceFile;
$objAttachable->AttachableRef = $attachableRef;
$contents = file_get_contents(<<My File>>);
/*The dataServiceUpload returns true and I actually see the file attached to the bill. The file is readable and can be uploaded manually and seen with no issues*/
app()->intuit->getDataService()->Upload(base64_encode($contents), $objAttachable->FileName, 'application/pdf', $objAttachable);

@nicosavini I am working with the API team on it will get back to you when I hear.

@nicosavini We checked in the S3 bucket the file is corrupted, are you able to double confirm that the PDF is valid?

I've tried with different files that I can actually see and all of them had the same issue. I will re-try everything and let you know.

@nicosavini I got a chance to further test this today, seems like there is an issue when the request is sent via the SDK. It works fine when I tried via Postman. I will investigate this further and update here.

Thanks a lot for re-testing this issue, and sorry for not answering back before.

@nicosavini I have identified the issue, and added a PR, I will have it merged in the coming release.

@nicosavini It's working for you? Did check that? Because i have some problem while i attach image. It not sync in QBO.
https://developer.intuit.com/app/developer/qbo/docs/api/accounting/all-entities/attachable#upload-attachments
https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/master/src/_Samples/UploadAttachment.php
I refer above to link for attachment upload into QBO but after upload image it show blank in QBO. It's happens in Sandbox as well as Production.
Attachment request are below mention and check it any mistake or not.
`QuickBooksOnline\API\Data\IPPAttachable Object
(
[FileName] => Dhtmlx_Scheduler_map_view.png
[FileAccessUri] =>
[TempDownloadUri] =>
[Size] =>
[ContentType] =>
[Category] => Image
[Lat] =>
[Long] =>
[PlaceName] =>
[Note] =>
[Tag] => png_77583191020201026051046
[ThumbnailFileAccessUri] =>
[ThumbnailTempDownloadUri] =>
[AttachableEx] =>
[Id] =>
[SyncToken] =>
[MetaData] =>
[CustomField] =>
[AttachableRef] => QuickBooksOnline\API\Data\IPPAttachableRef Object
(
[EntityRef] => QuickBooksOnline\API\Data\IPPReferenceType Object
(
[name] =>
[type] => Purchase
[value] => 3026
)
        [LineInfo] =>
        [IncludeOnSend] =>
        [CustomField] =>
        [AttachableRefEx] =>
    )

[domain] =>
[status] =>
[sparse] =>

)`
And it give me response as below.
`QuickBooksOnline\API\Data\IPPAttachableResponse Object
(
[Attachable] => QuickBooksOnline\API\Data\IPPAttachable Object
(
[FileName] => Dhtmlx_Scheduler_map_view.png
[FileAccessUri] => /v3/company/123146033771859/download/5000000000000562783
[TempDownloadUri] => https://intuit-qbo-prod-6.s3.amazonaws.com/123146033771859/attachments/b6188d39-c5f2-4fbc-b7d9-dd7da4dedebbDhtmlx_Scheduler_map_view.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20201026T051047Z&X-Amz-SignedHeaders=host&X-Amz-Expires=900&X-Amz-Credential=AKIA3V3MBG4KLHZEBYNA%2F20201026%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=3b365cc0b4ba58ee0057e6bd36fd20a5596871643cede2695780e1e2698ccdbf
[Size] => 31
[ContentType] => image/png
[Category] => Image
[Lat] =>
[Long] =>
[PlaceName] =>
[Note] =>
[Tag] => png_77583191020201026051046
[ThumbnailFileAccessUri] => /v3/company/123146033771859/attachable-thumbnail/5000000000000562783
[ThumbnailTempDownloadUri] =>
[AttachableEx] =>
[Id] =><PHONE_NUMBER>000562783
[SyncToken] => 0
[MetaData] => QuickBooksOnline\API\Data\IPPModificationMetaData Object
(
[CreatedByRef] =>
[CreateTime] => 2020-10-25T22:10:47-07:00
[LastModifiedByRef] =>
[LastUpdatedTime] => 2020-10-25T22:10:47-07:00
[LastChangedInQB] =>
[Synchronized] =>
)
        [CustomField] =>
        [AttachableRef] => QuickBooksOnline\API\Data\IPPAttachableRef Object
            (
                [EntityRef] => 3026
                [LineInfo] =>
                [IncludeOnSend] => false
                [CustomField] =>
                [AttachableRefEx] =>
            )

        [domain] =>
        [status] =>
        [sparse] =>
    )

[Fault] =>

)`
After upload image in QBO, Had been checked in QBO but it shows blank. That screenshot also i attached in attachment, so can check.
Let me know if any wrong from my side so i can solve in Sandbox and Production.

This was working perfectly with @bsivalingam PR, BUT.... this development was for a client of mine and I stopped working with them since March, so I cannot verify it's still working now.

@nicosavini
Okay. But anyone know about this Or anyone have solution?

Is there any resolution to this? I'm able to create an attachment, and I get the QuickBooksOnline\API\Data\IPPAttachableResponse back that contains a TempDownloadUri. However, when I look at the item in QBO there's no attachment. Copying and pasting the URI into a browser window yields the error "Failed to load PDF document".  Any idea what's going on here?

Just realized if I click "Show Existing" in the bill payment in QBO, I see all the attachments. They show as "Unlinked" for some reason. Maybe I'm missing a step somewhere.


Can't build with sdk 23, missing pom dependencies on jcenter.bintray.com

Here's the full message, after I've updated the gradle.build in the mobile/  folder:
:~/git/android-UniversalMusicPlayer$ ./gradlew build.gradle

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':mobile'.
> Could not resolve all dependencies for configuration ':mobile:_debugCompile'.
   > Could not resolve com.google.android.gms:play-services-cast:7.5.0.
     Required by:
         android-UniversalMusicPlayer:mobile:unspecified
      > Could not GET 'https://jcenter.bintray.com/com/google/android/gms/play-services-cast/7.5.0/play-services-cast-7.5.0.pom'.
         > jcenter.bintray.com: unknown error
   > Could not resolve com.google.android.support:wearable:1.2.0.
     Required by:
         android-UniversalMusicPlayer:mobile:unspecified
      > Could not GET 'https://jcenter.bintray.com/com/google/android/support/wearable/1.2.0/wearable-1.2.0.pom'.
         > jcenter.bintray.com
   > Could not resolve com.android.support:support-v4:22.2.0.
     Required by:
         android-UniversalMusicPlayer:mobile:unspecified
      > Could not GET 'https://jcenter.bintray.com/com/android/support/support-v4/22.2.0/support-v4-22.2.0.pom'.
         > jcenter.bintray.com
   > Could not resolve com.android.support:appcompat-v7:22.2.0.
     Required by:
         android-UniversalMusicPlayer:mobile:unspecified
      > Could not GET 'https://jcenter.bintray.com/com/android/support/appcompat-v7/22.2.0/appcompat-v7-22.2.0.pom'.
         > jcenter.bintray.com
   > Could not resolve com.android.support:cardview-v7:22.2.0.
     Required by:
         android-UniversalMusicPlayer:mobile:unspecified
      > Could not GET 'https://jcenter.bintray.com/com/android/support/cardview-v7/22.2.0/cardview-v7-22.2.0.pom'.
         > jcenter.bintray.com
   > Could not resolve com.android.support:mediarouter-v7:22.2.0.
     Required by:
         android-UniversalMusicPlayer:mobile:unspecified
      > Could not GET 'https://jcenter.bintray.com/com/android/support/mediarouter-v7/22.2.0/mediarouter-v7-22.2.0.pom'.
         > jcenter.bintray.com
   > Could not resolve com.android.support:leanback-v17:22.2.0.
     Required by:
         android-UniversalMusicPlayer:mobile:unspecified
      > Could not GET 'https://jcenter.bintray.com/com/android/support/leanback-v17/22.2.0/leanback-v17-22.2.0.pom'.
         > jcenter.bintray.com

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

So this was 2 issues:
The first issue was where I had to specifically install google repositories through the android sdk.
http://stackoverflow.com/a/17157227/1655478
The second was updating dependencies for sdk-23. I'll submit a pull request for a working build I have.

Are all SAMPLES SDK-23 as I want a simple SDK-22 for Razer Forge TV (aka: Android TV) ?

@CoolGames : minSdkVersion is 21, so it should work on sdk 22.


gtklock: 3.0.0 -> 4.0.0

Tested without any module. Not sure if all the modules are compatible with the upgrade.
Also added update script to this package.
Ping maintainers: @Aleksanaa @dit7ya
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Oh sorry! Forgot to check PRs first


Added VS RX data path to ISO test

tests: bluetooth: Added VS RX data path to ISO test
Verifies ISOAL functionality for VS RX data path by implementing weak
function ll_data_path_sink_create, and implementing sink callbacks.
Test verifies construction of sink and checks that SDUs are emitted in
VS sink implementation.
Test relies on the Nordic synchronous receiver implementation, and is
compiled under CONFIG_BT_CTLR_ISO_VENDOR_DATA_PATH, which is enabled in
the project file.
Bluetooth: controller: Removed compiler warnings in ull_iso.c
Conditionally declared auto-variables to avoid 'unused' warnings in BSIM
ISO test compilation.
Signed-off-by: Morten Priess<EMAIL_ADDRESS>

I opted for restructuring to sepate main and conf file. That also necessitates a new shell script. How do I make CI run my new .sh?

Is it correct that run_parallel.sh will pick it up by extension?

Yes. Your PR has run the new script and has passed: https://github.com/zephyrproject-rtos/zephyr/runs/5316915037?check_suite_focus=true

@wopu-ot, can you please take another look. Thanks

@mtpr-ot please rebase

Rebased. @cvinayak and @wopu-ot, please renew your approvals. Thanks.


Mark nix-ld as broken on 32 bit targets

nix-ld's source code doesn't build on 32 bit targets due to a missing #define value since the tool switched from musl to nolibc  in 2021.
See https://github.com/Mic92/nix-ld/issues/64
Hydra job: https://hydra.nixos.org/build/241835411#tabs-summary
Log: https://hydra.nixos.org/build/241835411/nixlog/2
Relevant log excerpt:
[3/8] Compiling C object nix-ld.p/src_nix-ld.c.o
FAILED: nix-ld.p/src_nix-ld.c.o
gcc -Inix-ld.p -I. -I.. -I../vendor/nolibc -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fcf-protection --param=ssp-buffer-size=4 -fPIE -fno-asynchronous-unwind-tables -fno-ident -ffreestanding -static-pie -DPTR_SIZE=4 -MD -MQ nix-ld.p/src_nix-ld.c.o -MF nix-ld.p/src_nix-ld.c.o.d -o nix-ld.p/src_nix-ld.c.o -c ../src/nix-ld.c
../src/nix-ld.c: In function 'total_mapping_size':
../src/nix-ld.c:127:32: error: expected expression before ';' token
  127 |   size_t addr_min = UINTPTR_MAX;
      |                                ^
[4/8] Generating symbol file test/libexample-lib.so.p/libexample-lib.so.symbols
ninja: build stopped: subcommand failed.

Description of changes
Marks nix-ld as broken for 32 bit targets.
#ZurichZHF
ZHF: https://github.com/NixOS/nixpkgs/issues/265948
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Please change the commit subject to nix-ld: ..., this way CI triggers automatically for the package.
I'll also call it manually for now though
@ofborg build nix-ld


Missing variables when compiling on Mac OS M1

Hello,
I followed the steps for compiling the project. I set the variable MKLROOT=/opt/intel/oneapi/mkl and used the following command to compile:
cmake .. -DCMAKE_CXX_COMPILER=g++-13 -DCMAKE_INSTALL_PREFIX=$PWD

I get the following output:
-- Found MKLROOT environment variable...
-- Apple OS detected...
-- Configuring done (0.3s)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIB_INTEL_OPENMP
    linked by target "diffusion_2d" in directory /<...>/dae-cpp
    linked by target "robertson" in directory /<...>/dae-cpp
    linked by target "perovskite" in directory /<...>/dae-cpp
    linked by target "simple_dae" in directory /<...>/dae-cpp
    linked by target "two_bodies" in directory /<...>/dae-cpp
LIB_MKL_CORE
    linked by target "diffusion_2d" in directory /<...>/dae-cpp
    linked by target "robertson" in directory /<...>/dae-cpp
    linked by target "perovskite" in directory /<...>/dae-cpp
    linked by target "simple_dae" in directory /<...>/dae-cpp
    linked by target "two_bodies" in directory /<...>/dae-cpp
LIB_MKL_INTEL_LP64
    linked by target "diffusion_2d" in directory /<...>/dae-cpp
    linked by target "robertson" in directory /<...>/dae-cpp
    linked by target "perovskite" in directory /<...>/dae-cpp
    linked by target "simple_dae" in directory /<...>/dae-cpp
    linked by target "two_bodies" in directory /<...>/dae-cpp
LIB_MKL_THREAD
    linked by target "diffusion_2d" in directory /<...>/dae-cpp
    linked by target "robertson" in directory /<...>/dae-cpp
    linked by target "perovskite" in directory /<...>/dae-cpp
    linked by target "simple_dae" in directory /<...>/dae-cpp
    linked by target "two_bodies" in directory /<...>/dae-cpp

-- Generating done (0.4s)
CMake Generate step failed.  Build files cannot be regenerated correctly.

Yeah, they changed paths in recent versions of MKL. And I haven't got a Mac machine to test it out.
They only workaround I can suggest is to manually locate mkl_core, mkl_intel_lp64, mkl_intel_thread, iomp5 libraries in MKL folder and provide the correct paths to cmake variables (such as LIB_MKL_CORE, etc.)


add long list to check if a specified number is greater or not

@abideen305 a solution to this problem already exists. Do well to look for other problems which have not been solved by someone else. I will be closing this PR.

Actually, I checked. The first one checks the list and return all numbers greater than the specified number while the second one check and return yes if the specified number is greater than all numbers in the list and no if otherwise. So I was thinking it is different app.


Fixing Text Placement Issue in Manual Image Searches

Description
This PR addresses the issue related to text placement when performing a manual image search using a word in our project. Currently, when users manually enter a search term, the text appears in an undesirable location, disrupting the user experience. This PR aims to enhance the user experience by ensuring that text placement is consistent and user-friendly, regardless of how the search term is entered.
Related Issue(s)
This PR resolves the issue #67 related to text placement during manual image searches.
Changes

Added logic to adjust the placement of text when users manually enter a search term for image search.
Ensured that the text does not interfere with the images and is displayed in a user-friendly manner.

Screenshots or GIFs
Before

After

Checklist

[x] I have read and followed the contributing guidelines.
[x] My code follows the project's coding style and conventions.
[x] I have added unit tests to ensure the code works as expected.
[x] I have updated the project documentation (if necessary).

Additional Comments
This PR should significantly improve the user experience when manually searching for images using a word. The changes have been thoroughly tested and are ready for merging.
By submitting this PR, I confirm that:

[x] I have reviewed my code and believe it is ready for merging.
[x] I understand that this PR may be subject to review and changes.
[x] I agree to abide by the code of conduct and contributing guidelines of this project.

Thanks for the contribution 🚀

Thanks for the contribution 🚀

Your Welcome @Vijaykv5 . Happy to contribute 🙌


started playground page

in progress

@juliendelplanque I think we have enough to merge

Ok I'll merge.


On Token refresh, the current navigation path is lost

Description
On Token refresh, the current navigation path is lost and you are returned to Cluster Overview
Expected result
I would expect that after token refresh, I will return to my previous navigation point
Actual result
I'm redirected to Overview Page
Steps to reproduce

wait for token to expire or use a short token
see that you are redirected to Cluster Overview

Troubleshooting

I can't reproduce it - I've stashed my changes on wawrzyn321/fix-token-refresh-nav.

We couldn't to reproduce this bug.


Try skipping intem test

Summary of changes (Bug fix, feature, docs update, ...)

Try and skip the INTEM standardisation test, this seems to be where the CI gets stuck.

@gareth-j - can we close this now (I think you said it's not relevant after new_object_store goes in)?


More thorough coroutine support.

In the future it might make sense to add support for async, await, launch, etc. Providing the full power of coroutines would be very cool (if possible!).

Looks like the graal branch is going to be discontinued.


checkpoint file of the pretrained model

Thank you very much for your excellent work. Could you please provide the checkpoint file of the pretrained model?  thank you.

@AndyHon You may find it in README file:)


Validation messages not translated when using JSON language files

Laravel Version: 5.6.39
PHP Version: 7.2

Description:
When using language files in JSON format, validation errors ar not being translated.
I am not sure if this is intended behaviour (its frontend responsibility to translate?). If so, I guess at least a warning to documentation should be added.
Why it happens?
__() uses translator getFromJson() method, while validator uses trans() which is a wrapper for get().
get() method resolves namespaces while getFromJson() uses * from namespace.
Steps To Reproduce:

Delete default php translation files
Create JSON translation file. For example:
{ "validation.required": "Field is required" }
Trigger validation exception. For example:
dump(Validator::make([], ['field' => 'required'])->messages()->toArray())

Expected: array:1 [ "field" => array:1 [   0 => "Field is required" ] ]
Got: array:1 [ "field" => array:1 [   0 => "validation.required" ] ]

But what if want to use these validation error translations only in json format?


version switcher AJAX not working on RTD

foo.webm
Expected behavior is that when a page doesn't exist for a specific docs version, we redirect to the homepage for that version.  Seems like maybe the RTD "maze found" page is fooling our AJAX into thinking that a page does exist there?  Except that once in a while, it does work as expected. I haven't figured out whether it's intermittent (some kind of race between our AJAX and RTD's maze-finding logic?) or systematic (only works on some pages / some versions).

This is not working for me either when the 404 page is on GitHub pages. I did a bit of digging, and found that
https://github.com/pydata/pydata-sphinx-theme/blob/main/src/pydata_sphinx_theme/assets/scripts/index.js#L327 is meant to install checkPageExistsAndRedirect as a click handler on item in the dropdown box, but putting a console.log() at the top of  checkPageExistsAndRedirect showed it wasn't run. Inspecting in firefox shows a click handler on the top level drop down, but not the items. Inspecting in chrome shows many click handlers for each item, but it still doesn't fire checkPageExistsAndRedirect. At this point my javascript debugging skills fail me, so I'll leave it to someone who might know more about this...


Update virtual-wan-partners-include.md

@FloKlaffenbach : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


HSEARCH-3353 Restore support for search hit explanation

https://hibernate.atlassian.net//browse/HSEARCH-3353
~Based on #1971 , which should be merged first.~ => Done
See the tests added to ElasticsearchExtensionIT and LuceneExtensionIT for how the feature will be used. It's a bit different from what we used to provide through org.hibernate.search.jpa.FullTextQuery#explain, but I think it is more convenient.

Pull Request Test Coverage Report for Build 1

468 of 514 (91.05%)  changed or added relevant lines in 63 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 88.898%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch6SearchResultExtractor.java
0
1
0.0%

backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch6SearchResultExtractorFactory.java
0
1
0.0%

backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/ExplainWork.java
11
12
91.67%

backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneStubQueryWorkExecutionContext.java
7
8
87.5%

engine/src/main/java/org/hibernate/search/engine/search/query/spi/AbstractSearchQuery.java
19
20
95.0%

mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapter.java
2
3
66.67%

mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapterExtension.java
8
9
88.89%

backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/ElasticsearchExtension.java
6
8
75.0%

backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/dsl/query/impl/ElasticsearchSearchQueryResultDefinitionContextImpl.java
23
25
92.0%

backend/lucene/src/main/java/org/hibernate/search/backend/lucene/LuceneExtension.java
6
8
75.0%

Totals

Change from base Build 238:
0.3%

Covered Lines:
17512

Relevant Lines:
19699

💛  - Coveralls

Thanks; I fixed the javadoc and merged.

Thank you!


Netlify adapter: prerender field of svelte.config.js basically doesn't work - must prerender per page

Describe the bug
I built a small blog and tried using this in svelte.config.js:
	kit: {
		target: '#svelte',
		adapter: adapter(),
		prerender: {
			crawl: true,
			force: true,
			pages: [
				'/',
				'/blog'
			],
		}
	}

and ran a build - none of these pages were built.
i also tried
			pages: [
				'/',
				'/*',
			],

and it didnt work. (you can check by running a build locally and checking the /build folder)
the only thing that worked was adding export const prerender = true; on a per page basis.
To Reproduce

run build on this: https://github.com/sw-yx/swyxkit/tree/d74a0af94bbec011f58f35b8e787981f005539a6 no HTML pages built
run build on this: https://github.com/sw-yx/swyxkit/tree/d5ad85f368f02cbf31d36a70d8fceea29b05a382 HTML pages are built

Severity
if this field just doesnt work for the netlify adapter yet, we should document or warn.
if this is a fixable or known issue, let me know and i can look into how to fix or document.

@sw-yx is this still happening with the latest versions of SvelteKit and the adapter? I did fix an issue with prerender recently that might have fixed this

@benmccann i think i updated versions and see no change:

https://kit.svelte.dev/docs#configuration-prerender
pages is where crawling starts. It's not a list of pages to prerender. I'd say this is working as expected
prerender.pages might not be the best name for the option. Maybe something like prerender.crawlEntryPoints would be better?

@benmccann crawlEntryPoints would be more explicit, yes

filed a request to consider renaming


Documentation: Link to Admission points to concepts folder.

What would you like to be cleaned:
https://github.com/kubernetes-sigs/kueue/blob/main/docs/concepts/cluster_queue.md
In cluster_queue concepts:
In a process called [admission](https://github.com/kubernetes-sigs/kueue/blob/main/docs/concepts/#admission), Kueue assigns to the [Workload pod sets](https://github.com/kubernetes-sigs/kueue/blob/main/docs/concepts/workload.md#pod-sets) a flavor for each resource the pod set requests.

Admission is linked to a nonexistent section in the repo.  I'd be willing to open a PR but I'm unsure where it is supposed to point or if that was removed.

Looking at the README.md in concepts, there is a section about Admission.  I assume this is where the doc was meant to point?

I think so. It should be fixed.

@kerthcet Thank you for pointing that out.  I have a PR to fix this now.


[DEMO] Reference Features

laravel.view.findAllReferences Command
https://github.com/yaegassy/coc-laravel/assets/188642/ef7cf694-0895-428e-bea3-130ef7384569

View reference
https://github.com/yaegassy/coc-laravel/assets/188642/afa9541c-d89e-4e71-afb1-2d0c6a409b12


Doesn't seem to work with Storyshots

When using Storyshots, the stories that rely on the modified CRA config are not detected.

can you provide a minimal example of this happening?

Yes. I am using tsyringe in my app, so I have the following in craco.config.js:
  babel: {
    // Prevent babel from stripping certain TS metadata
    // cf. https://github.com/microsoft/tsyringe/issues/29#issuecomment-652596008
    plugins: [
      'babel-plugin-transform-typescript-metadata',
      ['@babel/plugin-proposal-decorators', { legacy: true }],
      ['@babel/plugin-proposal-class-properties', { loose: true }],
    ],
    presets: ['@babel/preset-typescript'],
  },

The dependency container stores all of my services, which I expose to React with something like:
// services.jsx
const ServiceContext = React.createContext(container);

const ServiceProvider = ({ value, children }) => (
  <ServiceContext.Provider value={value}>{children}</ServiceContext>
);

const useServices = () => useContext(ServiceContext);

// SomeComponent.jsx
const SomeComponent = (props) => {
  const { api } = useServices();
  const handleClick = () => api.getData.then(...);
  return <button onClick={handleClick}>Click Me</button>;
}

To give all my components the context in Storybook, I setup the following in .storybook/preview.js:
export const decorators = [
  (Story) => (
    <ServiceProvider value={someValue}>
      <Story />
    </ServiceProvider>
  ),
];

This works fine when viewing the stories in the browser, but when testing with Storyshots (via Jest), the stories using the context get skipped.
Unit tests that use tsyringe outside of React have no issue.
And I've check that the config jest uses does include the decorator info (via --showConfig):
      "babel": {
        "plugins": [
          "babel-plugin-transform-typescript-metadata",
          [
            "@babel/plugin-proposal-decorators",
            {
              "legacy": true
            }
          ],
          [
            "@babel/plugin-proposal-class-properties",
            {
              "loose": true
            }
          ]
        ],
        "presets": [
          "@babel/preset-typescript"
        ]
      },

Some further investigation shows that Storyshots is just skipping some stories, even when things are vanilla CRA. Closing.


Assignment 6.2 Quickstart

Adds a new quickstart page to the docs

Hi Alicia,
I'm unable to merge this PR because it has merge commits in it.
While merge commits integrate recent changes from the main branch into your PR (feature) branch, they do so in a way that changes the history (by combining the new commits into a single summary of those commits.) The correct way to update your feature branch is to use the rebase and merge option to update your feature branch.
If you need any help sorting this out, let me know.

what do I need to do?

I think the easiest path to take would be to:

In the GitHub website, Update your fork.
In the GitHub desktop, create a new feature branch from main.
Select your PR/feature branch.
Select the commit from your PR branch with your changes (Commit 9b5640a). Don't select any of the merge commits or any other commits.
Cherry-pick that commit from your PR branch (Commit 9b5640a) to your new feature branch.
Review the changes in your new feature branch. Build and test the docs that build from your new feature branch.
After everything looks good, open a new PR from the new feature branch.
Update this PR with a new comment that contains the link to your new PR.
Let me know at this point and I'll take it from there.

I tried this from my account and it seemed to work. Because you have only one commit with your changes and it doesn't have any conflicts, it should be able to be cherry-picked from the current branch to a new one without any problems.
You can do this .

Here's the link to the new PR: https://github.com/UWC2-APIDOC/to-do-service-au24/pull/50


Fix Version Number for Releases

Apparently rapids-dependency-file-generator always reports a version of 0.0.0 regardless of the release. That's likely due to the hardcoded string in the file below. We should update our CI release process to patch the string in that file before publishing a new release.

https://github.com/rapidsai/dependency-file-generator/blob/main/src/rapids_dependency_file_generator/_version.py

@bdice, where are you experiencing this issue? I found this code which seems to be patching the version in CI before a release and the release packages seem fine to me based on the screenshots below.
command: docker run --rm --pull=always rapidsai/ci:cuda11.5.1-ubuntu20.04-py3.8 rapids-dependency-file-generator -h

command: docker run --rm --pull=always rapidsai/ci:cuda11.5.1-ubuntu20.04-py3.8 python -c "import rapids_dependency_file_generator; print(rapids_dependency_file_generator._version.__version__)"

@ajschmidt8 I did a local pip install -e so it was just reading the files from my local repo. I’m not sure how to reconcile committing a new version number or git tag with the “release every commit” philosophy. Maybe it needs to read info from the git repo to know what commit it’s on? I think that is how versioneer works. No need to overengineer this but it is a mildly strange problem and makes it tough to know if I’m testing the right version locally.

@bdice, I have a few thoughts here.
Personally, I'm partial to keeping the current process of hardcoding 0.0.0 and patching it during the release process. This way, you can tell if you're using an actual release version (e.g. 0.0.25) or a local development version via pip install -e ..
If you have strong feelings about keeping the version string in the git repo up-to-date, semantic-release-git can be used to push a release commit with the version string updated whenever a release occurs. If we do this, we might want to append some kind of .post0 string to the version number to differentiate it from an actual release on PyPI.

FWIW I ran into this as well pretty recently and had the same confusion. I agree that it's not a big issue though, just a minor annoyance when developing.

:tada: This issue has been resolved in version 1.3.0 :tada:
The release is available on:

GitHub release
PyPI release

Your semantic-release bot :package::rocket:


GPL-nnn - As a developer I need to add genome size to the sample

User story
As a developer I need to add genome size to the sample
Who are the primary contacts for this story
e.g. John S (don't include surnames in public repos)
Acceptance criteria
To be considered successful the solution must allow:

[ ] when a sample is persisted it can include the genome size
[ ] when a sample is retrieved it can include the genome size
[ ] genome size should not be required

Dependencies
This story is blocked by the following dependencies:

#<issue_no.>
sanger/#<issue_no.>

Additional context
Add any other context or screenshots about the feature request here.

Superceded. ToL are responsible for this so it will managed within STS / Benchling


Options can't be documented twice

In 0.6.2. This could be a dupe of #287 but I'm not sure.
Following docstring causes mayhem
boto/cli/create_ec2.py: do magic with boto

Usage:
    create_ec2.py --profile=PROFILE --name=INSTANCE_NAME --instance-type=INSTANCE_TYPE
        --key-name=KEY_NAME
        --ami=AMI_NAME --subnet=SUBNET_NAME
        --iam-instance-profile=IAM_INSTANCE_PROFILE
        [--security-group=SECURITY_GROUP]...
        [--elb=ELB_NAME]...
        [(--tag-name=STRING --tag-value=VALUE)]...

Options:
    -P PROFILE --profile=PROFILE                            profile in which to operate
    -n NAME --name=NAME                                     element name
    -T KEY --tag-name=KEY                                   tag name
    -V VALUE--tag-value=VALUE                               tag value
    -e ELB_NAME --elb=ELB_NAME                              name of ELB to register an instance with
    -a AMI_NAME --ami=AMI_NAME                              name of AMI to install an instance with
    -t TYPE --instance-type=TYPE                            instance type to create instance with
    -k KEY_NAME --key-name=KEY_NAME                         name of key that grants access to instance
    -s SUBNET_NAME --subnet=SUBNET_NAME                      subnet name to create instance in
    -S SG_NAME --security-group=SG_NAME                     security group to set to the instance
    -p PROFILE_NAME --iam-instance-profile=PROFILE_NAME     IAM instance profile to start instance with

Traceback:
Traceback (most recent call last):
  File "create_ec2.py", line 38, in <module>
    main()
  File "create_ec2.py", line 34, in main
    arguments = docopt.docopt(__doc__) #, options_first=True)
  File "/home/chloe/venv/aws/lib/python3.4/site-packages/docopt.py", line 560, in docopt
    pattern = parse_pattern(formal_usage(DocoptExit.usage), options)
  File "/home/chloe/venv/aws/lib/python3.4/site-packages/docopt.py", line 373, in parse_pattern
    result = parse_expr(tokens, options)
  File "/home/chloe/venv/aws/lib/python3.4/site-packages/docopt.py", line 381, in parse_expr
    seq = parse_seq(tokens, options)
  File "/home/chloe/venv/aws/lib/python3.4/site-packages/docopt.py", line 396, in parse_seq
    atom = parse_atom(tokens, options)
  File "/home/chloe/venv/aws/lib/python3.4/site-packages/docopt.py", line 413, in parse_atom
    result = pattern(*parse_expr(tokens, options))
  File "/home/chloe/venv/aws/lib/python3.4/site-packages/docopt.py", line 381, in parse_expr
    seq = parse_seq(tokens, options)
  File "/home/chloe/venv/aws/lib/python3.4/site-packages/docopt.py", line 396, in parse_seq
    atom = parse_atom(tokens, options)
  File "/home/chloe/venv/aws/lib/python3.4/site-packages/docopt.py", line 421, in parse_atom
    return parse_long(tokens, options)
  File "/home/chloe/venv/aws/lib/python3.4/site-packages/docopt.py", line 312, in parse_long
    (long, ', '.join(o.long for o in similar)))
docopt.DocoptLanguageError: --key-name is not a unique prefix: --key-name, --key-name?

My workaround is to include a non-breaking space (compose key and double-space) in the docstring before each Options line but this isn't exactly a solution as this merely masks options from docopt.
IMO Options should be able to be documented in the appropriate section even if they are specified in the usage line.

Another defect this incurs is that we cannot specify short options this way.

Another workaround is to put the Usage on a single line. This is ugly when rendered but it allows to keep synonymous short options.

Any update on this issue? I'm experiencing the same thing.


Why reward is scaled by 0.01?

Hi, @praveen-palanisamy
May I ask what's the reason to scale reward down by 0.01?
https://github.com/PacktPublishing/Tensorflow-2-Reinforcement-Learning-Cookbook/blob/997f7e3bf1ca65baa21c9d44e5c5d64c4f685b20/Chapter03/1_double_dqn.py#L124-L126
while still accumulate episode reward as original scale?
https://github.com/PacktPublishing/Tensorflow-2-Reinforcement-Learning-Cookbook/blob/997f7e3bf1ca65baa21c9d44e5c5d64c4f685b20/Chapter03/1_double_dqn.py#L127

There's no particular reason for this reward scaling. It was just a heuristic for a particular RL environment which I must have forgotten to remove.
Thanks for bringing this to my notice. I'll remove the * 0.01 to avoid confusion.


(DO NOT MERGE) Bump case utils, ignore uco validator build

This PR is for demonstrating PR 23 would pass CI if RDFLib Issue 1405 were resolved.
This patch series includes one additional patch over PR 23 to remove the Validator from the build and test process.

This has been addressed alternatively.


docker swarm inspect needs more swarm details

Hi,
Changes in RC4 brought with it tighter security and the new requirement of presenting a CA cert hash when joining the swarm. While dumping the correct command to join the swarm to stdout is useful, it's not very extensible.
Getting the swarm's CA cert hash programmatically currently means asking the docker daemon for that info (docker info) and text parsing that, because docker swarm inspect does not supply that information.

Looks like we will go with https://github.com/docker/docker/issues/24430 instead so there will be no need to get ca-hash and special command for getting the token.

So it would seem. Thanks @tonistiigi.


Backpressure

Would be great if kefir streams could exhibit backpressure. Any plans to implement?

A way to deal with a backlog of unconsumed events in a stream? When the subscriber is lagging, or whatever?
Or specifically Backpressure?

I'm also not sure what we can do in this direction.
As I understand backpressure is a way for consumer to communicate with the source and control rate it's rate of events somehow. We currently don't have any such channel of communication from consumers to source, except consumer can unsubscribe, and if all consumers do that, the source will know.
Two things to note here:

In Kefir one source can have multiple consumers.
In most cases even if a source get a request from a consumer to slow down the rate, it won't be able to do anything about it as it can't control the rate itself (take click events as example).

When the subscriber is lagging

Correct.

backpressure is a way for consumer to communicate with the source and control it's rate of events somehow

Correct

In Kefir one source can have multiple consumers.

This does complicate things.

I don't think we're going to be able to implement backpressure in Kefir, so I'm going to close this. I might suggest something like Highland.js if you need that feature.


Trim trailing new lines from shortcode .Inner

We triming trailing newlines from .Inner in code block render hooks (https://github.com/gohugoio/hugo/pull/9575/commits/05b752b2).
We should do the same for shortcodes.
I can't think of a scenario where this would break anything in the wild.
Reference https://discourse.gohugo.io/t/42190/2

I can't think of a scenario where this would break anything in the wild.

Me, neither, but I'm quoting you on this to make sure I have it "in written" if we're both wrong :-)

I tested this locally, and came up with a failing test case pretty fast:
-- config.toml --
disableKinds = ["home", "taxonomy", "term"]
-- content/p1.md --
---
title: "p1"
---

{{% sc %}}
#Heading 1
{{% /sc %}}
#Heading 2

-- layouts/shortcodes/sc.html --
Len inner: {{ len .Inner }}
{{ .Inner }}
-- layouts/_default/single.html --
{{ .Content }}

Before:

Len inner: 12
\n
#Heading 1
\n
#Heading 2

After:

Len inner: 11
\n
#Heading 1\n#Heading 2

I recently added the undocumented function strings.ContainsNonSpace (not released) which I suggest using in this situation.


flutter: add lang, emotion, event to OfflineRecognizerResult

add support for language, emotion, and event to OfflineRecognizerResult
example output:

flutter: OfflineRecognizerResult(text: Can you tell me more about this emotion or speech?, tokens: [Can,  you,  tell,  me,  more,  about,  this,  emotion,  or,  speech, ?], timestamps: [2.88, 3.12, 3.3, 3.42, 3.66, 3.9, 4.14, 4.44, 4.86, 5.16, 7.2], lang: <|en|>, emotion: <|SAD|>, event: <|Speech|>)

Thank you for your contribution!


Module not found with v3.0.0

Following the release of v3.0.0, I updated it in my repo. It seems to me that there is no breaking changes that need to be tackled in the implementation of the tests. However I am receiving the following error :

As there is no "types" package, I suppose there must be some issue on the package itself.

Hi, thank you for reporting this issue, looks like I've missed decleration files.
The fix released in v3.0.1

That was really fast ! Thanks a lot. I tested it and it works now 👍


How to open the editor from the terminal?

At the moment I get a lot of exceptions after installing Xpand.XAF.ModelEditor from NuGet. Is there a way to just use the model editor from cli or something as the package is installed at C:\Users\thomas\.nuget\packages\xpand.xaf.modeleditor\1.201.6\build

the nuget package unfortunately aims to help Rider users or those advanced that want to do it without VS. If you are not one of the consider the Xpand.VSIX VS plaugin, the Xpand.ModelEditor is embeded no need to do anything

check the releases page to get the Xpand.VSIX package

but if you are one of them consider putting all Xpand assemblies from all nuget packages in the same folder and have DX installed in the Gac.

But I do intent to use it with Rider :)

but if you are one of them consider putting all Xpand assemblies from all nuget packages in the same folder and have DX installed in the Gac.

Failing the first suggestion, u can compile the Reactive.XAF repository using the scripts on the root and the XpandModelEditor will be in the bin folder. Unfortunately distribution is a bit uncomplete the editor should work however having all dependecies in place. So to achieve as a Rider (advanced) user my instructions should help. You wish me to test and make sure it works for you or even improve the disctibution so all your team can use it effortless consider one of my subscriptions https://github.com/sponsors/apobekiaris

what VSIX does mre is that copies the same Xpand.ModelEditor used for Rider in the bin folder of your project where all dependecis already exist, sonsider that also an option for make it work for u

Yes I just tried the distributed nuget version, but now I will build the application myself. I will let you know if that fixes it. For now it has dependencies that have hard references to not-included assemblies. I think that might be room for improvement?

i have no idea what even the problem yet, but the ME does not use anything extra than XAF so having it in a folder that all xaf assemblies are along with your assemblies should work fine

what ME does is loads xaf assemblies and your assemblies along with their dependecies Xpand or other dependecncies, to resolve everything safely u just need them in the same folder

and that folder must be your bin cause u constanly update your assemblies, or have a script on post build event that copies everything to a global dir should work fine also

Things that go wrong:
When downloading the ME from nuget you instantly get a lot of exceptions. There is no ModelEditor.bat because of this.
When cloning this repo yourself there are hard path and dll references that are not present on the machine, so they have to be changed around. Even after fixing this the code still breaks during runtime.

Rider & VS support is now improved using native IDE plugins, read more in the wiki

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.


Allow alternative domains without canonicalization

Fixes #21, at least for my use cases.
Based off of #59, land that first.

#59 landed and this looks OK to me too.

Current coverage is 90.71% (diff: 100%)

Merging #60 into master will increase coverage by 0.28%

@@             master        #60   diff @@
==========================================
  Files           132        132
  Lines         16414      16421     +7
  Methods           0          0
  Messages          0          0
  Branches       1011       1012     +1
==========================================
+ Hits          14844      14897    +53
+ Misses         1402       1357    -45
+ Partials        168        167     -1

Powered by Codecov. Last update a143334...891fb26

Hooray, looks like codecov statuses are back!


NEP: NeoContract ABI

It should be merged after #118.

Should we add a specification for the verify method?

No. It should be included in the neo specification.

I think this document should describe _deploy and _initialize

Merge?


Check both DBS and Rucio in Global Workqueue

Impact of the bug
Global Workqueue
Describe the bug
Global Workqueue only checks DBS when deciding which blocks to process, but WMAgent (and MSTransferor) checks the intersection of DBS and Rucio.  If the data are lost from Rucio, Global Workqueue will create elements for blocks that WMAgent will not process.
How to reproduce it
See Slack thread on https://cmsweb.cern.ch/reqmgr2/fetch?rid=pdmvserv_task_HIG-RunIISummer19UL17MiniAODv2-00342__v1_T_210205_113221_4288 (in rip-phedex channel)
Expected behavior
Global Workqueue should check DBS and Rucio.
Additional context and error message
N/A

Just to complement the initial description. A couple of months ago we implemented this functionality in MSTransferor:
https://github.com/dmwm/WMCore/pull/10205
such that CMS blocks with no data/files/replicas in Rucio, would be skipped from the input data placement.
Global workqueue works slightly different, it iterates over blocks found in DBS (with >= 1 valid files):
https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/WorkQueue/Policy/Start/Block.py#L35
and simply fetches its location from Rucio (considering wmcore_transferor locks and dataset_locks information). This, as reported in this issue, can generate a workqueue element that will never be able to be processed, because its input block will have an empty list location that will never change.
Having said that, the expected changes to be addressed here is that, workqueue elements should never be created for CMS blocks that don't have any replicas in Rucio (the same as it's already done for DBS).


Can't run v0.18 "To run this application, you must install .NET Core."

Hi. I've just downloaded version 0.18, and after installation I get this error:

Also upon every attempt to launch the program, I get this error:

Clicking on "Yes" does nothing.
I have .NET Core installed on my machine btw:

I have Windows 10 version 1909 installed.
I got the MSI file from the releases page. Reinstalling also didn't help.

So I found out that ".NET Core" means .NET Core 3.1 and installing it manually did the trick.

Yes, Download Link .NET Core 3.1 (recommended) | LTS

I tried to do the same, installing 3.1 manually, and it's still not working.

FWIW I Installed the "Desktop Runtime" from: https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-desktop-3.1.4-windows-x64-installer

I uninstalled powertoys and .net with IOBit uninstaller
reinstalled .net
reinstalled powertoys
and now everything is working as it should.

You must install the Runtime one not the SDK.


[WIP] - Creates cached state for SubTreeRoots in darksidewalletd

(When completed) Closes #464
I'm following the same reasoning under GetTreeState, let darksidewalletd provide RPC methods
for clients to stage SubTreeRoots when needing to create a spend before sync test scenario
provides:

add single root for any shielded protocol
add many by a streaming call
clear All
get a subtree root for a given shielded protocol and height

Please ensure this checklist is followed for any pull requests for this repo. This checklist must be checked by both the PR creator and by anyone who reviews the PR.

[ ] Relevant documentation for this PR has to be completed before the PR can be merged
[ ] A test plan for the PR must be documented in the PR notes and included in the test plan for the next regular release

As a note, all CI tests need to be passing and all appropriate code reviews need to be done before this PR can be merged

I had been implementing a solution to #464, apologies for not mentioning this before you took up this work. My PR is #469, please review that.
A couple of comments on this PR, the description above says that the subtree roots are returned for a given block height, but they're returned for a given index. Secondly, it doesn't look like you're returning the block hash with each root (probably because z_getsubtreesbyindex doesn't return it); this is necessary. For example, on mainnet (production):
$ grpcurl -plaintext -d '{"startIndex": 0, "shieldedProtocol": 0, "maxEntries": 2}' localhost:9067 cash.z.wallet.sdk.rpc.CompactTxStreamer/GetSubtreeRoots
{
  "rootHash": "dUu1k+pC0jGn3fNnZA8Ju/WdwA8sHSADzDQODAFrWxM=",
  "completingBlockHash": "AAAAAACPmsBjbYHceVyw9Ulab9B06BWhnhmfDaSRUf4=",
  "completingBlockHeight": "558822"
}
{
  "rootHash": "A2VMPqy7m5PhIs9td7YG6uKWEPTzikd5hTaBl/1o4C0=",
  "completingBlockHash": "AAAAAAIFzQaAI1LPzYkhgVvQqdc+ta/D7AnzXHGARqk=",
  "completingBlockHeight": "670209"
}

I had been implementing a solution to #464, apologies for not mentioning this before you took up this work. My PR is #469, please review that.
A couple of comments on this PR, the description above says that the subtree roots are returned for a given block height, but they're returned for a given index. Secondly, it doesn't look like you're returning the block hash with each root (probably because z_getsubtreesbyindex doesn't return it); this is necessary. For example, on mainnet (production):
$ grpcurl -plaintext -d '{"startIndex": 0, "shieldedProtocol": 0, "maxEntries": 2}' localhost:9067 cash.z.wallet.sdk.rpc.CompactTxStreamer/GetSubtreeRoots
{
  "rootHash": "dUu1k+pC0jGn3fNnZA8Ju/WdwA8sHSADzDQODAFrWxM=",
  "completingBlockHash": "AAAAAACPmsBjbYHceVyw9Ulab9B06BWhnhmfDaSRUf4=",
  "completingBlockHeight": "558822"
}
{
  "rootHash": "A2VMPqy7m5PhIs9td7YG6uKWEPTzikd5hTaBl/1o4C0=",
  "completingBlockHash": "AAAAAAIFzQaAI1LPzYkhgVvQqdc+ta/D7AnzXHGARqk=",
  "completingBlockHeight": "670209"
}

Oh! thanks for catching that Larry!

Secondly, it doesn't look like you're returning the block hash with each root (probably because z_getsubtreesbyindex doesn't return it); this is necessary. For example, on mainnet (production):

@LarryRuane I mimicked the models in the GRPC proto files.  So the blockhash should be returned
type DarksideSubtree struct {
	RootHash              []byte
	CompletingBlockHash   []byte
	CompletingBlockHeight uint64
}

This will mean that the provided tree states will have to contain the block hash. Should that be ok?

Well, in production mode, the block hash is returned and was considered an important part of the interface. So I would think that in darkside mode, it should be provided so that we're fully simulating production mode.
I was hoping you would agree to close this PR and just go with #469. (But the interface is slightly different, so maybe it's not what you want or need.)

I was hoping you would agree to close this PR and just go with #469. (But the interface is slightly different, so maybe it's not what you want or need.)

Idk how I missed that part of the post. Apologize not reviewing yours 🙏
I think this works out. I'm currently updating the Advanced Re Org Tests Regtest datasets to have this new info.
This is closed in favor of #469


Some values not updated. Wrong device?

Hi, I tested this local plugin and it is great.  Here are my redacted json files. Some values are not updated maybe because they can't be parsed correctly or because there is a different device added to domoticz compared to the cloud version.
For example take a look at the "Spa termostat". The cloud version updates the values but the local one doesn't. Also temperature is missing.
And tnx for all your work on the plugin. Hope this data helps a bit. If you need testing just let me know

devices.json
tuya-raw.json
snapshot.json
.

Thank, that are a lot of devices!! Cloud vs Local, i have tried to create the local to be autodetect as possible. I will try to checked it somewhere this week.


Release candidate for v2.1.0

Coverage remained the same at 93.873% when pulling ade4b337bbf21d1c21cd9282c97a676dcf692c8a on v2.1.x into 8f99800be06872d5496f49a48a4c9a35073b2728 on master.


feat: LDP-2335: pass through response headers on the server

I've gave this a test and it works like a charm now. It's also simple + works everywhere!


HCAP | End of ROS Notification

Ticket: https://freshworks.atlassian.net/browse/HCAP-1189
For sure some room for improvement in prettifyStatus, particularly interested in feedback on:

change the name of the file? Took all the front-end stuff out of here, name no longer reflects purpose
similarly, put ParticipantStatus in components/generic. Is it generic? Didn't see any better fits, does it justify its own new directory?
I sacrificed brevity for clarity and made lots of variables. Looking for opportunities to simplify this where possible while maintaining readability.
I have a boolean isHiredByPeer = status[1] === 'hired_by_peer', in another place the logic was looking for status.includes('hired_by_peer')- will these always be the same? If so I'd like to simplify it. Probably other variables/expressions that are redundant.

Most of the code smells seem reasonable to me - could be a good idea to take a look?


Type inference tweaks due to solc-typed-ast changes

Status
This PR opened to check how type inference changes in solc-typed-ast will affect Scribble. Do not consider merging, please.
Changes

[x] Use WIP type inference logic from solc-typed-ast.

Notes
The local version of solc-typed-ast is used as the dependency for now. CI would be broken for a while.
Regards.

Codecov Report

Merging #190 (ee2ac95) into develop (3740cf4) will decrease coverage by 0.05%.
The diff coverage is 92.30%.

@@             Coverage Diff             @@
##           develop     #190      +/-   ##
===========================================
- Coverage    85.86%   85.81%   -0.06%
===========================================
  Files           74       74
  Lines         5411     5413       +2
  Branches      1214     1214
===========================================
- Hits          4646     4645       -1
- Misses         492      493       +1
- Partials       273      275       +2

Impacted Files
Coverage Δ

src/spec-lang/tc/typecheck.ts
83.41% <66.66%> (-0.39%)
:arrow_down:

src/bin/scribble.ts
80.86% <100.00%> (+0.04%)
:arrow_up:

src/spec-lang/tc/typeenv.ts
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Merging this and doing a release would also fix #195.


Any plan or action to support quantizaed model?

I find this project is very useful and I have integrated it into my daily work. I wonder if you have any plans to support quantized onnx model (quantized by onnxruntime)? If not, I am pleasure to make contribution.

I've supported 5 quantized model here: config.
Can you provide more details about the failure cases of the quantized model?
Anyway you're welcome to contribute!

I test with resnet50 with int8 quantized by onnxruntime static quantizaion. It shows that QGemm has not support yet

Hi, I've checked that QLinearAdd, QGemm, and QLinearLeakyRelu are operators of onnxruntime's contrib_ops, which means that they are not visible for all models. The model with these operators is only supported by onnxruntime. It violates onnx_tool's design.
But you are also welcome to contribute these ops. But I request you group these Operators as onnxruntime. You can create a new ort_node.py file or create a new node register for ORT nodes. As these names can be conflicted between different inference engines.

Thanks. Actually these operators belongs to 'com.microsoft' domain, which is not exists in onnx spec. I will consider about how to deal with these operators


Constructor

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Enables usage in constructor on windows

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Non noarch packages should have python requirement without any version constraints.

For recipe:

Jinja2 variable references are suggested to take a {{<one space><variable name><one space>}} form. See lines [40, 43].


Cannot clean messages

I've ensured the bot has either Manage Messages or Administrator permissions on my Discord Server (both in my case) however attempting to use the !clean command returns the following error:
Traceback (most recent call last):
  File "C:\Users\vc\AppData\Local\Programs\Python\Python35-32\lib\site-packages\discord\client.py", line 1052, in purge_from
    msg = yield from iterator.iterate()
  File "C:\Users\vc\AppData\Local\Programs\Python\Python35-32\lib\site-packages\discord\iterators.py", line 85, in iterate
    return self.messages.get_nowait()
  File "C:\Users\vc\AppData\Local\Programs\Python\Python35-32\lib\asyncio\queues.py", line 184, in get_nowait
    raise QueueEmpty
asyncio.queues.QueueEmpty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\vc\Desktop\MusicBot-master\musicbot\bot.py", line 2123, in on_message
    response = await handler(**handler_kwargs)
  File "C:\Users\vc\Desktop\MusicBot-master\musicbot\bot.py", line 1740, in cmd_clean
    deleted = await self.purge_from(channel, check=check, limit=search_range, before=message)
  File "C:\Users\vc\AppData\Local\Programs\Python\Python35-32\lib\site-packages\discord\client.py", line 1058, in purge_from
    yield from self.delete_messages(to_delete)
  File "C:\Users\vc\AppData\Local\Programs\Python\Python35-32\lib\site-packages\discord\client.py", line 980, in delete_messages
    yield from self.http.delete_messages(channel.id, message_ids, guild_id)
  File "C:\Users\vc\AppData\Local\Programs\Python\Python35-32\lib\site-packages\discord\http.py", line 137, in request
    raise HTTPException(r, data)
discord.errors.HTTPException: BAD REQUEST (status code: 400): You can only bulk delete messages that are under 14 days old.

File "C:\Users\vc\AppData\Local\Programs\Python\Python35-32\lib\site-packages\discord\http.py", line 137, in request
raise HTTPException(r, data)
discord.errors.HTTPException: BAD REQUEST (status code: 400): You can only bulk delete messages that are under 14 days old.

BAD REQUEST (status code: 400): You can only bulk delete messages that are under 14 days old.

I should have also mentioned that I am unable to clean messages that are definitely not older than 2 weeks

That's must be because you have some messages older than 2 weeks in your search_range, try to use clean with a little number such as !clean 5.

I had a feeling that might be the case, and sure enough you're right. Now I'll have to look into making a function that will run periodically and perform a clean command within the range of messages received between function calls.