NoMethodError in chef-shell

Description
Attempting to run a resources on an unsupported platform in chef-shell raised an unexpected error
I think this isn't unique to my environment. I'll have to try a clean one later but I want to page this out first.
Chef Version
14.6.29 ish
Platform Version
Ubuntu
Replication Case
chef-shell
recipe_mode
macosx_service "not-macosx" do
  action :start
end
run_chef

Client Output
[2018-10-16T15:17:16-04:00] INFO: Processing macosx_service[bob] action start ((irb#1) line 4)
[2018-10-16T15:17:16-04:00] INFO: Running queued delayed notifications before re-raising exception
Traceback (most recent call last):
       16: from /home/btm/src/chef/lib/chef/resource.rb:589:in `rescue in run_action'
       15: from (eval):2:in `resource_failed'
       14: from /home/btm/src/chef/lib/chef/event_dispatch/dispatcher.rb:34:in `call_subscribers'
       13: from /home/btm/src/chef/lib/chef/event_dispatch/dispatcher.rb:34:in `each'
       12: from /home/btm/src/chef/lib/chef/event_dispatch/dispatcher.rb:43:in `block in call_subscribers'
       11: from /home/btm/src/chef/lib/chef/event_dispatch/dispatcher.rb:43:in `call'
       10: from /home/btm/src/chef/lib/chef/formatters/base.rb:139:in `resource_failed'
        9: from /home/btm/src/chef/lib/chef/formatters/error_mapper.rb:72:in `resource_failed'
        8: from /home/btm/src/chef/lib/chef/formatters/error_inspectors/resource_failure_inspector.rb:38:in `add_explanation'
        7: from /home/btm/src/chef/lib/chef/formatters/error_inspectors/resource_failure_inspector.rb:101:in `filtered_bt'
        6: from /home/btm/.rvm/gems/ruby-2.5.1/gems/mixlib-config-2.2.13/lib/mixlib/config.rb:669:in `block in define_attr_accessor_methods'
        5: from /home/btm/.rvm/gems/ruby-2.5.1/gems/mixlib-config-2.2.13/lib/mixlib/config.rb:648:in `internal_get_or_set'
        4: from /home/btm/.rvm/gems/ruby-2.5.1/gems/mixlib-config-2.2.13/lib/mixlib/config.rb:623:in `internal_get'
        3: from /home/btm/.rvm/gems/ruby-2.5.1/gems/mixlib-config-2.2.13/lib/mixlib/config/configurable.rb:59:in `get'
        2: from /home/btm/src/chef/chef-config/lib/chef-config/config.rb:222:in `block in <class:Config>'
        1: from /home/btm/src/chef/chef-config/lib/chef-config/config.rb:191:in `derive_path_from_chef_repo_path'
NoMethodError (undefined method `uniq' for nil:NilClass)
chef:recipe (14.6.29)>

https://github.com/chef/chef/blob/master/chef-config/lib/chef-config/config.rb#L191

Can't reproduce and this seems to be blowing up in the resource inspector due to a wonky setting of the chef_repo_path which is masking the error in the actual resource.


Email Templates Modal

This will be a part of email templates
This modal will show up anywhere in the application where an email needs to be sent.  Look at LSF's email handler and template handler using CKEditor.
See Email Management Wireframe: https://balsamiq-wireframes.appspot.com/?state={"ids":["1C2D4xPhWindiXlz6WTfgXFVENu5_OwiX"],"action":"open","userId":"109665407847548855125","resourceKeys":{}}
The slides titled "Email Templates modal" and "Email Templates modal selected template" are what we want this page to look like.

 CELTS #10: Email Templates Modal

This is being taken care of in issue #99 and PR #133

@BrianRamsay I believe this issue can be closed. I want to check with you first.


can i use multiple accounts to upvote one users post every 2.4 hours with a cron

hello
is it possible to add multiple accounts in this bot who will upvote only one users post every 2.4 hours
(i know how to run it every 2.4 hrs ) just need to add multi accounts

Sure you just need to construct your SteemBot in an array like this:
const list = [];
for (let i = 0; i < 10; i++) {
  list.push( new SteemBot({username, postingKey}));
  list[i].onComment(targetUsers, handleComment);
}


Easy Improvement: RGB/A fromHexString

The ClearColor type has a nice fromHexString method, would be lovely to put that onto the RGB and RGBA types.
Also methods to convert between all three types.

This turned out to be a bigger job than expected! In the end I've deprecated ClearColor in favour of RGBA and expanded the functionality of both RGBA and RGB.


fix an issue with wordle-game play: unable to start a new game

First thing, PLEASE READ THIS: ReactPlay Code Review Checklist

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

This commit fixes an issue with Wordle Game Play where you are unable to enter new words after starting a new game.
The gameOver state will now be set to false when the component state resets.
Also, add missing key prop to iterative components of Wordle Row.
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Project was locally tested on my system, including the parts where the changes will be made.
Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

@SamirMishra27 , can you link the relevant issue with this PR?

@Sachin-chaurasiya I am not looking into this one, assuming you are on it. I have approved the preview build.


readme: link to wixtoolset visual studio integration

https://github.com/chocolatey-community/chocolatey-coreteampackages/issues/1536?notification_referrer_id=MDE4Ok5vdGlmaWNhdGlvblRocmVhZDExNTg2MDQ4MzU6MTY0MTgxOTc%3D#issuecomment-694702815

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@aminya your changes have been merged, thanks for your contribution 👍


Transaction (Process ID xx) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

I get the above error occasionally when using the method:
await context.BulkInsertOrUpdateAsync(entities);
await context.BulkSaveChangesAsync();

I wrap it in a dynamic method and bundle it in a .dll file where the .dll is used in many azure functions and pointing to the same SQL Server database.
public async Task<List<TEntity>> UpsertManyAsync(List<TEntity> entities)
{
    await context.BulkInsertOrUpdateAsync(entities);
    await context.BulkSaveChangesAsync();
    return entities;
}

There are some references in the ReadMe and issue https://github.com/borisdj/EFCore.BulkExtensions/issues/46 has useful suggestions.


non-explicit install_requires in setup.py lies

Each release of Django requires update of django-confit.
So either:

be explicit in setup's install_requires
or find a way to automatically support new versions of Django

In setup.py, I don't know how to specify "Django version must be (between 1.5 and 1.5.12) OR (between 1.6 and 1.6.11)". Looks like <=1.5.12, <=1.6.11 is interpreted as <=1.5.12.


Translate "Typing Functions.ts" to Portuguese

Overview
This translation is part of #233.
Included Files

[x] Typing Functions.ts - Diff from EN

Awesome job! Thank you for your PR
LGTM


[BUG] Math expressions are printed top left of the map instead of being on their Katex branch in Safari

[X] I have searched for existing issues that already reported this problem and found none
[X] The bug is present in REPL

Describe the bug
In Safari iOS the math expressions are printed in the top left part of the screen instead of being on their branch.
To Reproduce
Just open the default link on Safar iOS (ipad):
https://markmap.js.org/repl
Expected behavior
The math expression should appear positioned on the correct Katex branch.
Actual behavior
Here is a screenshot:

Environment:

OS: iOS or iPadOS 16.4.1 (a)
Browser: Safari
Browser Version: iOS or iPadOS 16.4.1 (a)

Duplicate of #15


python312Packages.gehomesdk: 0.5.29 -> 0.5.30

Changelog: https://github.com/simbaja/gehome/blob/master/CHANGELOG.md

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/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

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

x86_64-linux

:white_check_mark: 4 packages built:

python311Packages.gehomesdk
python311Packages.gehomesdk.dist
python312Packages.gehomesdk
python312Packages.gehomesdk.dist


A release to try it out

Could you please publish APK so one can install it and try it live?

Oh, I never thought of doing that. Why not build and run the MAUI project?


open URL with keystroke in the editor

The Sublime extension ClickableURLs allows one to open a URL with a keystroke.

This plugin underlines URLs in Sublime Text, and lets you open them with a keystroke (Cmd+Option+Enter by default).

I'd like to see something similar in VS Code.

as far as I can tell this issue is not covered by an existing one

@zachvalenta which URLs are you referring to exactly?

URLs in a text or source file
For example, with the Sublime ClickableURLs extension, if the cursor is on any part of a URL, CMD ALT RETURN will open the URL in the browser

Let's track this for URLs in the editor as above. This could also be a feature request for the terminal but the implementation would be much more involved as the cursor cannot be moved freely through the buffer.

Exactly, I'm asking only for the editor, not the terminal.

@zachvalenta it's a great idea ;)

Is this not already covered by the 'open link' command? https://github.com/Microsoft/vscode/blob/ebf55c18b8002684212960c5c9807894422f25ce/src/vs/editor/contrib/links/links.ts#L396-L429

@pelmers Nice catch!!
@zachvalenta This can be achieved by putting following keybindings.json :
{
    "key": "ctrl+shift+t",
    "command": "editor.action.openLink"
}

You can use keystroke of your choice.

awesome! thanks for the help everyone!


fix books with both greek and hebrew chapters

Catholic versions of the Bible usually include both the Greek and the Hebrew versions of certain books, such as Esther and Daniel.
The database needs to account for this, and so do client programs. When quoting "Esther 1" it becomes necessary to specify if we are quoting from the Greek version of chapter 1 or from the Hebrew version. However it may not always be that simple:

in the Italian CEI2008 version, the Greek and Hebrew versions of Esther are put next to each other chapter by chapter, with the same chapter numbers: Chapter 1 Greek version and Chapter 1 Hebrew version. Where the Greek has extra verses, they are indicated with the same verse number as the Hebrew, with just the addition of a letter (1a, 1b, 1c etc.). So that is fairly simple to handle, just add a metadata column to the database that will indicate whether we are dealing with the "GREEK" or "HEBREW" verses. When a client program asks for "Esther 1,1" and specifies the Greek version, we should get back Esther 1,1a-1r. Not too difficult a scenario to handle.

in the English USCCB version, the regular chapter numbers in the Book of Esther apply to the Hebrew text, whereas the Greek additions are indicated by the letters A through F: can we simply indicate them with the same chapter numbers as the Greek? Do the verse numbers correspond? Need to check this, even though the website is currently down as they are transitioning to a new website...

in the Spanish Libro del Pueblo de Dios version, the Greek additions are included as supplemental books, with indications as to where they should be inserted: e.g. Esther 3 (Greek, verses 1-7) should be inserted between Esther 4:8 (Hebrew) and Esther 4:9 (Hebrew). So in this case we don't have either chapter or verse numbers that correspond with each other. But I guess as long as anyone who is quoting from these versions knows about these differences, they would know (or at least the client program would need to know) that if you quote Esther 3 Greek it will not correspond with Esther 3 Hebrew, if you want the full version of Esther 4 with Hebrew and Greek you would have to quote Esther 4:1-8 (Hebrew) + Esther 3:1-7 (Greek) + Esther 4:9-17 (Hebrew).

And what is the situation with the Book of Daniel in each of these versions?

I opened this as a bug, because I haven't really dealt with this at all, so I'm not even 100% sure what exactly I have in each database or what a user will get when they try to quote from the books of Esther or Daniel in one version of the Bible or another. This really needs to be looked into and dealt with in a coherent and predictable manner. Schemas need to be defined, interactions with client applications need to be defined, the API needs further definitions to handle these scenarios. And since we will be extending the API to deal with this, I also tagged the issue as an enhancement. Once there is a clear definition in the API and the underlying database, client applications will need to be updated in order to deal with this.

First let's establish the current database schema:
CEI2008.sql.zip
NABRE.sql.zip
Here are two schemas. In the CEI2008 schema I tried to start dealing with this.
One thing to keep in mind, besides the question of Esther and Daniel, there are verses that have letters in some other books of the Bible, so the question arises whether the verse column should be int or varchar. Being int means that it will be ordered in a coherent manner in the database view and will surely be ordered coherently when pulling results from the database. Being varchar can open up to ordering issues, where natural language ordering is different from numeric ordering, like 10 coming after 1 instead of after 9.
So there's a question where we might have two different columns, one for the numeric ordering, and another for the visual representation of a verse. I believe that was my original intention in creating the verseequiv column which is of type varchar (with the meaning of "verse equivalent"). This would mean that verse '1a' would be represented as (int) 1 in the verse column, and as (varchar) 1a in the versequiv column. The verse column will be used for ordering results (in combination with the verseequiv column when there is more than one result for verse), and the verseequiv column will be used for displaying results.
A unique index has been created on the columns book - chapter - verse in combination. The idea was that the smallest possible unit that can be quoted is a single verse, which can be uniquely represented by the book-chapter-verse combination. However this does not seem to be enough, in those cases where there are sequential verses with the same number but with different letters, such as 1a and 1b. If 1a and 1b are in the verseequiv column and not in the verse column, being represented in the verse column as (int) 1, then we will have illegal duplicates in the book-chapter-verse unique index. In order to uniquely identify these verses we have to extend our unique index to include the verseequiv column (which is however allowed to be null). So now our unique index is book - chapter - verse - verseequiv . I have just now implemented this in the CEI2008 database structure, I have not yet implemented it in the NABRE database structure (where currently both verse and verseequiv are of type varchar: how is this handled in fact? Is it taken care of in a coherent manner? Are results ordered correctly? Are the client applications dealing with this?).
However this perhaps is not even enough for our unique index. If we have situations where the same verse numbering is used twice, once for the Greek version and once for the Hebrew version of a text, then we again run into a problem in our unique index. Take for example the Italian CEI2008 version, where there are two versions of Esther 1,2, one Greek and one Hebrew. The versequiv column is null in both cases, so it doesn't help to further identify this single verse. We will have to again extend our unique index to include another column which I have now defined as verseorigin of type enum = ["GREEK","HEBREW"] (and which can also be null). So now if we extend our unique index as such:  book - chapter - verse - verseequiv - verseorigin , we should be able to include and uniquely identify all types of verses whether they are based on the Greek or the Hebrew, and whether they have a letter associated with them or not.

Based on this type of schema, client applications should know and expect verse to be of type int, and verseequiv to be of type String. They should use verse for ordering results, and versequiv for displaying results (when present, i.e. if not null or empty). In MySQL I believe ENUM types are transformed into String with the name of the enum value, so verseorigin in the JSON representation will either be null or have a String value of one of the following: "GREEK", "HEBREW", "".

TODO: fix the Greek verses in the CEI2008 table. I have created a CEI2008_temp table to fix the book of Esther. As of Nov. 25 2020 I have done up to Esther 5,2b. Have to pick up again from Esther 5,3

[*] CEI2008 table completed
[*] NVBSE table completed
[*] NABRE table completed
[*] VGCL table completed

[x] DRB table completed, used same mapping as VGCL (Esther chapters 11-16 will map to relative Greek verses in chapters 1-10)


Bad quality of signature (signature isn't smooth)?

I have tried posting on StackOverflow before sending a question here (https://stackoverflow.com/questions/47267164/signaturepad-isnt-so-smooth)
I have tried looking for a signature pad to allow signature drawing in my website,
The SignaturePads that I looked at are these:

https://github.com/szimek/signature_pad (Demo: http://szimek.github.io/signature_pad/)

https://github.com/ezl/signature-pad (Demo: https://www.jqueryscript.net/demo/Smooth-Signature-Pad-Plugin-with-jQuery-Html5-Canvas/examples/)

In the past I have used Szimek signature pad and everything works fine but when comparing the demo to the second demo of Ezl signature pad the smoothness of Ezl supersedes Szimek in the smoothness.
Ezl Signature Pad:

Szimek Signature Pad:

I have tried modifying the throttling setting of the Szimek plugin and also in general I prefer using the Szimek plugin because there is better support, contributions and community to it.
Does anyone knows why do I get such a bad quality in comparison to the Ezl plugin?

Thanks for reporting this issue. There already is a ticket for it https://github.com/szimek/signature_pad/issues/251 and if anyone is willing to investigate the differences between these plugins, they are very welcome ;) I'll add info about your finding there as well.
I want to rewrite this plugin to TypeScript first (I already started working on it) and then look into other similar libraries and some papers to figure out how to make it smoother.

@din-gi There are a few other options besides throttle that you can try out. One would be to define the same min and max widths (minWidth and maxWidth). You can also try to adjust minDistance - increasing this value will make lag more noticeable, but might result in smoother lines.


[DOC-6998] Document FIPS compliance in v23.1.0

[DOC-6998] Document experimental FIPS compliance in v23.1.0

Draft
This PR depends upon the changes requested in [DOC-7115] to make FIPS download links and Docker image tags visible

Preview
v23.1/fips-compliance.md
v23.1/install-cockroachdb-linux.md
Tests

[x] Local build
[x] Linkcheck

The latest commit updates the language about enabling FIPS mode and removes specific details about configuring OpenSSL directly, since it should not be needed if FIPS mode is enabled.

@knz Can you please re-evaluate your unresolved comments in light of recent edits to address legal review and add details about crypto algorithms and keys? Thanks!

Requested changes, primarily to change FIPS 140-3 to 140-2.

Done (quite a bit ago) -- would you mind re-reviewing to clear the request-changes bit unless there are further changes?


[bug][docs] Images broken on <rh-card> live variants demo

The kitten images are broken on <rh-card> live variants demo
Steps to reproduce:

Go to RH Card's live demo
Load the demo
Select the Variants tab
Reload the result
Scroll down to the variants with images, and see the broken images

Update Dec 15th, 2023 -
Put up a PR to fix the images in the demos by replacing them with either hardcoded URLs or links to image generators.
There appears to be a deeper issue here I haven't figured out yet: Why are no images (other than SVGs) showing up in the playground demos?
My research so far has concluded:

The files are being added on the page
The files are being found and put in the correct directories
The urls are changing, but not in a way that should make a difference.  (/demo/kitten.jpeg becomes /demo/variants/kitten.jpeg, but so does the file path in the demo file so it's okay)
SVGs load, but no other file types tested (.jpg, .jpeg, .png, .gif)

My hunch is that it's something to do with how the files are being read / how the content is being loaded.  When converting the content object to base64 to test out that the images were still working it would not come back in a format that worked in the browser.  This leads me to believe that when the content is generated in the octet-stream format that the files are not coming over correctly with regards to images.
What I would like to do is try and see if there's something else that needs to be done to load these images into the playgrounds, but for now simply changing the URLs to be static should be fine as then the filemap doesn't pick them up as src files that need to be mapped.


The type or namespace name 'Godot' could not be found (are you missing a using directive or an assembly reference?)

Welcome. Sorry because you like you again. After when the manual instructions could not be create C # project for the game, it will be specified a new error.

And I have checked on the VS will be found in the references directory, the 1 Godot.dll name is expired and both GodotSharp.dll and GodotSharpEditor.dll has an warning.

What to do now. Or just find Godot.dll copy to finish the problem. I'm tired of the code for the game. Please help me.

The godot assemblies are placed in your projects .mono/assemblies directory after building your project.
This can be triggered by either:

running your project / scene (top left corner of the godot window) or
clicking the build button mono panel (center-bottom in the same stack as output, debugger etc).

It's like this :(

This post has some pointers for this error: https://github.com/godotengine/godot/issues/18152

Oh, so I have to download VS 2017?

Yes, 3.0.2 on windows requires a visual studio install.

Then I installed VS. And next I have to do?

Tks. It's working. When I install VS 2017, Net Core Runtime,..... and Mono <IP_ADDRESS>. Tks

VS started doing this to me today, out of nowhere. Rebuilding the project didn't help, what helped was deleting the .vs directory from my mono project. It completely solved the issue.


Integration with AntaresWeb: add option for study update to provide command list

to be detailed:
The xpansion study-update could produce the list of commands for AntaresWeb to generate à variant of the original study

We should ask the user if they use the output of study update (folder updated links in AntaresWeb)


Update footer's top

Related Issue
Fixes:  #1781
Description
Update the footer's top position to ensure proper alignment and spacing with the content above it.

Type of PR

[ ] Bug fix
[x ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
before :

After:

Checklist:

[x ] I have made this change from my own.
[ x] My code follows the style guidelines of this project.
[x ] I have performed a self-review of my own code.
[ x] I have commented my code, particularly in hard-to-understand areas.
[x ] My changes generate no new warnings.
[x ] I have tested the changes thoroughly before submitting this pull request.
[x ] I have provided relevant issue numbers and screenshots after making the changes.

@gudia18 correct this

Reopen new PR with this changes


Evaluate InCoder

https://github.com/dpfried/incoder
https://huggingface.co/facebook/incoder-6B

Evaluation complete, not very good compared to newer models but really interesting technically and capable of doing multiple infills at once.


Adding export option to excel (.xlsx)

As https://github.com/devops-israel/aws-inventory/pull/21 is still on not completed, I took it into my hands and completed some parts of it.

Downloading as an excel (.xlsx) and not TSV/VSC file
Export per resource per region like #21
Added export select-box at the bottom of the regions list panel
Export by region (export everything in that region)
Export everything (all regions)
Empty tables(no resources under that region) will not be exported to avoid empty sheets

Notes:
Exporting everything right now will download multiple files, excel files per region.
The reasons I did it are:

Excel sheet limited to 32 charts so can't have something like "us-west-2-cloudformation-x-y-z-a-b-c" and this required too much of substring or shorting the resource name which might create confusion to the user
Single excel with all the available resources of all regions will have too many sheets and it will be tooooooooo long.. the user will get lost there, even if using the excel's "jump to a sheet by name option"

@kesor I am not sure if I am completely happy with the select-box position right now, let me know what do you think I can move it around or add some extra padding to prettier it

Added some top padding in the export div so it will have some spacing between the region navigation list to the export button line.


Dispose TraceSources when they're not used any more

PR Summary
A few previously non-disposed PowerShellTraceSourcEe instances are now being disposed correctly when they go out of scope.
PR Context
This change improves the handling of disposable objects (ie. implementing IDisposable) in accordance with the default implementation pattern. Partly addresses the currently disable compiler warnings of the CA2213 and CA2215 type. Partially addresses the violations mentioned in #15803.
PR Checklist

[X] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[X] Summarized changes
[X] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[X] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[X] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[X] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[X] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[X] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

This PR has 273 quantified lines of changes. In general, a change size of upto 200 lines is ideal for the best PR experience!

Is it actually too large @iSazonov? Most of the lines are just affected because of indentation.

This PR has 273 quantified lines of changes. In general, a change size of upto 200 lines is ideal for the best PR experience!

Is it actually too large @iSazonov? Most of the lines are just affected because of indentation.

It is ok. We can hide white spaces https://github.com/PowerShell/PowerShell/pull/18205/files?diff=split&w=1


Tutorial access to the raw radar data cube

Hello.
I would like to explore the raw radar data cubes you have released in your dataset but I have a few difficulties to use your DSK with the protobuf format. As far as I understand the structure of your dataset, the raw radar data cubes are stored in the 'range-Doppler' folder in both 'left_rd.pbs' and 'right_rd.pbs' files.
Consider that the required settings have been realised following your instructions (cmake, python environment...).
Let's define an example using the sequence '2020-02-03_2252/001' to read the raw radar data from the left radar.
I'm trying to read the data with the ProtoStreamReader() class, I'm using the following parameters:

data_stream_path = '../2020-02-03_2252/001/range_Doppler/left_rd.pbs'
proto_type = RangeDopplerFrame
python_type = RadarImage
Where RangeDopplerFrame is from the generated data_pb2 file after building the environment and RadarImage() the class from the radar_image.py script.

I tried to run a simple script to  iterate on the reader:
data = ProtoStreamReader(path_data, RangeDopplerFrame, RadarImage)
data.__enter__()
data = iter(data)
radar_image = next(data)

I obtained an error in the line 30 of radar_image.py, AttributeError: frame_id. It seems that RadarImage should be instanciated beforehand.
It is not clear in your repo how we can have access to the raw radar data cube. Is there a simpler way than using ProtoStreamReader() to read the data? Is this the correct way to use the ProtoStreamReader()?
Could you please provide a very simple script example to access a frame of raw radar data cube (as a numpy array)?
Thank you very much for your help.
Best.
Arthur

Thanks for your example, it works perfectly well!

Hi，
I have tried the above way to read radar-doppler data, but I obtain the error of "cannot import name 'RangeDopplerFrame' from 'data_pb2' (/usr/lib/zendar/data_pab2.py".
Could you help me please? Appreciate it !!!

Hi，
I have tried the above way to read radar-doppler data, but I obtain the error of "cannot import name 'RangeDopplerFrame' from 'data_pb2' (/usr/lib/zendar/data_pab2.py".
Could you help me please? Appreciate it !!!

@ArthurOuaknine @plb9772
Hi，
I have tried the above way to read radar-doppler data, but I obtain the error of "cannot import name 'RangeDopplerFrame' from 'data_pb2' (/usr/lib/zendar/data_pab2.py".
Could you help me please? Appreciate it !!!

Hi.
Did you build the environment correctly before running the script?
If you follow the guidelines in ZendarSDK/python/, a file data_pb2.py should be generated containing the RangeDopplerFrame class. Then you just have to modify the import (or move the file to the correct location) to point this file.
Hope it will help.


It doesn't work

There is no any sound.
May be conflicting with some other plugin? with Tasks? Kanban? Minimal theme?

Hey @arteny, thanks for reporting the issue, but I would require a better description of the problem in order to know how to reproduce your problem. Thank you

Hey @arteny, thanks for reporting the issue, but I would require a better description of the problem in order to know how to reproduce your problem. Thank you

Ok, here is better description:

Press task checkbox
Result: no any sound
Expected: play some sound

May I know what plugins you have activated? Is this checkbox in a .MD note, Kanban etc..?

May I know what plugins you have activated? Is this checkbox in a .MD note, Kanban etc..?

I have a lot of plugins activated. Not sure how to get list of all of them. One of plugin is Tasks. And it is regular .md note.

works fine for me !


Support for Specification Extensions #11

Fixes #11

Hi!
Can you please merge master to your branch, so that there are no conflicts?

Sure, Will send in updated one

I have rebased it in my repo, I have made a pull request on @byteally repository, but I can make one here if needed.


Entity Relationships

I really like working with hecs, I just feel like there is one big feature missing: entity relationships. Especially after using flecs for a while, I am now really starting to miss it in hecs. Sander Mertens (the author of flecs) has written a great article on how to implement it.
I realise that implementing relationships is no small task and will take a long time, but I still think it would be amazing if it could be made reality. I can even try to help if needed.

I understand "entity relationships" to mean "relationships between entities", which I've had good results representing by storing values of type Entity inside components. Skimming the article, I'm not sure it's talking about the same thing. Can you provide some background as to what exactly this feature means to you, and why it must be implemented within the ECS?

I think this other article explains it pretty well, not sure how else to explain it.

What do you imagine the memory layout and query execution for your example looking like?

If I understood the linked resources correctly, then every combination of Owned for a particular player entity ID should go into dedicated archetype for the "fragmenting" kind of relationships using the idea of encoding the Owned(Entity) into a single type ID (in hecs-speak) by stripping the generation from the Entity.

Sorry for not really responding. The message above this one is correct, but I would like to add that my example would look something like this in flecs' c++ api:
struct Owned{};
struct Item{
  size_t count;
};

flecs::entity player = world.entity();

// create some Item components and assign them the owned relationship with the player.
auto testItem = world.entity();
testItem.set(Item { 3 });

testItem.add<Owned>(player);

world.system<Item>()
  .term<Owned>(player)
  .each([](flecs::entity e, Item &i) {
    // here you have all items that are Owned by player.
  });

every combination of Owned for a particular player entity ID should go into dedicated archetype

That's what I thought, but that seems liable to produce a combinatoric explosion of tiny archetypes. I think the memory layout arising from the naive approach in hecs today, where you just slap Entity fields in your components and traverse views with whatever logic you like (e.g. the transform hierarchy example), is much nicer.

That's what I thought, but that seems liable to produce a combinatoric explosion of tiny archetypes. That would destroy memory locality and degrade performance of every operation that traverses the archetype list.

I love simplicity of hecs and don't think relations fit into it at current state: but fragmenting can be good depending on the usecase. After all, it is just a tool that one can use. I know flecs has lots of ways to mitigate the drawbacks and performs well afaik (though I haven't conducted a benchmark myself). Issue though is, it is complicated to implement it, requires lots of changes. Flecs depends on components as entities to make it work, for example.

That's what I thought, but that seems liable to produce a combinatoric explosion of tiny archetypes. That would destroy memory locality and degrade performance of every operation that traverses the archetype list.
What if relationships were made first class by making them the base of what archetypes store instead of components. It would be less codepaths than say for example if you had to deal with storing multiple components of the same type.

I think the memory layout arising from the naive approach in hecs today, where you just slap Entity fields
I really love this too but I can't deny how powerful it is to express certain queries with relationships. And the dynamic nature of Entity fields can make code unclear and hard to enforce certain guarantees.


nodePackages: update

Description of changes

Wrangler has been broken for a while since it couldn't find workerd properly. I added @cloudflare/workerd-linux-64 as a dependency to workerd to make it build and run correctly.
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

[ ] 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.05 Release Notes (or backporting 23.05 and 23.11 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.

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

How can I keep these patches when running update?
      (sources."workerd-1.20231030.0" // {
        dependencies = [
<EMAIL_ADDRESS>        ];
      })

<EMAIL_ADDRESS>= {
      name = "_at_cloudflare_slash_workerd-linux-64";
      packageName = "@cloudflare/workerd-linux-64";
      version = "1.20231030.0";
      src = fetchurl {
        url =<EMAIL_ADDRESS>        sha512 = "2HUeRTvoCC17fxE0qdBeR7J9dO8j4A8ZbdcvY8pZxdk+zERU6+N03RTbk/dQMU488PwiDvcC3zZqS4gwLfVT8g==";
      };
    };

Add them to https://github.com/nixos/nixpkgs/blob/master/pkgs/development/node-packages/overrides.nix
but if you need an update for anything in this, it should be moved out of nodePackages. see #229475

I don't understand how to add these to the overrides.nix :thinking:
Adding it using buildNpmPackage is turning out to be quite the pain since they are using pnpm and referencing other local packages. I might take another stab at it but for now I will just reference this branch.

buildNpmPackage doesn't support pnpm.

I don't understand how to add these to the overrides.nix 🤔

That is a bit like constructing normal overlays. Never tried messing with deps. sorry.


Workspace dependency management

Try out what Kilt did and use workspace dependencies to ease the version managment.
Example Cargo.toml and Workspace.
quote @bkchr

I would say we start with some like log etc. Deps that are shared between most crates and see how it goes.

Any known downsides with this @weichweich?

@ggwpez It's nice to have everything in one place. Especially with none substrate/cumulus/polkadot dependencies. We for example had a different version for the same dependency in all crates. This doesn't happen anymore.
The only downside I noticed is that the feature management is somewhat unclear. You now have to check two places to be sure about which features are enabled for a crate.
I also think the intuition might be that the features specified on the workspace level are overwritten if features are specified in the crate, but the docs state that features are additive. So features enabled in the workspace are always on.

Thanks for the reply!
Not having multiple versions is probably the biggest improvement, from a management and compile time perspective.
Will take a look at the other things.
We probably want to do this after the mono-repo migration, I assume.

Yeah no reason to slow down the mono-repo switch to wait for this and I think it will be nicer to do once we're all in one workspace. Jan said there were a couple of crates that absolutely had to be the same version or things didn't work (wasmtime might have been one?).


[REF-2686] Access problem to reflex.dev page

The main page is marked as “It is vulnerable to clickjacking attack” by the clickjacker.io page and that means that my company does not let me access it. Can you solve it?
the errors that the page detects are:

Missing header
Missing anti-framing policy

Thank you
REF-2686

@angelmre thanks so much for reporting this issue to us. I've adjusted our CDN policy so at least it passes the security check on clickjacker.io. Please let us know if you can access our website now within your VPN.


Consider using wireguardctrl instead of direct genetlink access

Hello! I found this repository after checking out your Python experiments the other day.
I notice you're using my netlink/genetlink packages directly, but wanted to make sure you're also aware of: https://github.com/mdlayher/wireguardctrl.
This family of packages deals with the intricacies of the netlink/genetlink handling (large peer message handling on send/receive end), and also provides a unified API that can also deal with userspace devices such as those created by wireguard-go.
If you're rolling your own as a way to learn more about the netlink interface and such, I totally understand that, but I would definitely recommend using wireguardctrl if you weren't aware of it already!  If it doesn't meet your needs in some way, feel free to file an issue and I'd be happy to discuss it further.

Hi, thanks for your interest.
The first goal was indeed to learn more about netlink, which I feel I have, now.
I have seen your wireguardctrl repo and have an unpushed branch where I am implementing it for wgctl. It should be ready by tomorrow.

All direct dependencies on genetlink have been removed, using wireguardctrl fully, except for device creation and routes setup.

Sounds good.  I don't plan on supporting either of those activities because that means diving into rtnetlink territory, but it looks like you've found a way, which is great.


Enable a bunch of strictness checks in the TS compilation

Also stop using lambdas in the gulpfile - it's not downleveled, so it was unusable in lower versions of node. Included a polyfill for Object.assign for the same reason (and patched that by hand directly into the lib copy).
I've also discovered an issue with newlines in the baselines: Sourcemap baselines seem to always get emitted with the system newline. (Which makes tests fail on some platforms) I'm unsure what the correct fix is.

@rbuckton I also have this work which builds further on this and adds the option to run builds in a child process, allowing for truly parallel (rather than simply concurrent) builds.


Lowercase 'For' in 'Checking For Updates...' menu item

Fixed remaining upper case 'For' in similar menu item which is reported and fixed at #27532. Please let me know if you need new issue for this small pull request. Thank you.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: 0x6b sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


[docs] Add props from Unstyled component to Styled API page

[ ] I have followed (at least) the PR section of the contributing guide.

@eps1lon generation of the props seems better now, but on the SliderStyled page, the API that is linked on the bottom for some reason is redirecting to http://localhost:3000/api/slider/ instead of http://localhost:3000/api/slider-styled/

but on the SliderStyled page, the API that is linked on the bottom for some reason is redirecting to http://localhost:3000/api/slider instead of http://localhost:3000/api/slider-styled

I'm guessing that this should be resolved by #22738


JSONDecodeError in client.query()

This is the same issue as #567, I could not re-open that so instead I filed a new one.
I have more details and a patch.
(The patch is probably not correct, but it indicates where the problem might be).
steps to reproduce.
Use python influxdb to do an old style query (not flux) to influxdb2.
(it doesn't matter which query you do, it always fails)
result
The request raises an exception.
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  File "requests/models.py", line 910, in json
    return complexjson.loads(self.text, **kwargs)
  File "__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
JSONDecodeError: [Errno Expecting value] ��results���statement_id�series���name�sensors�columns��time�io1�port_id�io2�io3�mode�firmware�connected�connections�errors�CTZNZmode�values���bk��513�1.1.0T: 0
  File "django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "django/contrib/auth/decorators.py", line 21, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "django/views/decorators/http.py", line 40, in inner
    return func(request, *args, **kwargs)
  File "sensors/views/api.py", line 253, in node_last
    data = get_data(node)
  File "sensors/views/api.py", line 176, in get_data
    results = db.query(q)
  File "influxdb/client.py", line 537, in query
    data = response.json()
  File "requests/models.py", line 917, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)

notes
If you use an older version of python influxdb client it works fine
If you query influxdb 1.8 it works fine
details
The problem arises from using content type x-msgpack. (See #733)
The client sends Accept: application/x-msgpack to the influxdb server in the http request to inform it would really want messagepack data.
However.. the influxdb2 server somehow responds with Content-Type: application/octet-stream   instead of  application/x-msgpack.
The influxdb client fails to parse the reply, because it didn't recognize it as x-msgpack json.
If you use an older influxdb client, all works fine, because it send Accept: application/json header instead to the server.
If you query influxdb 1.8 server, all works fine, because that replies with a Content-Type: application/x-msgpack
patch
The following "patch" in influxdb client makes stuff working again.
diff --git a/influxdb/client.py b/influxdb/client.py
index a0f571f..8ad91db 100644
--- a/influxdb/client.py
+++ b/influxdb/client.py
@@ -345,7 +345,7 @@ class InfluxDBClient(object):
                     raise

         type_header = response.headers and response.headers.get("Content-Type")
-        if type_header == "application/x-msgpack" and response.content:
+        if type_header in ("application/x-msgpack", "application/octet-stream") and response.content:
             response._msgpack = msgpack.unpackb(
                 packed=response.content,
                 ext_hook=_msgpack_parse_hook,

The client now correctly parses the response as messagepack, and all works fine. No exceptions, just neatly parsed replies.
Influxdb documentation does specify what a client should send  (Accept: )  but  headers for responses are not clearly documented:  ref https://docs.influxdata.com/influxdb/v2.0/api/v1-compatibility/

InfluxDB version: e.g. 1.7.7 (output of the influx version command)
$ dpkg --list |grep influxdb
ii  influxdb2                            2.0.3                             amd64        Distributed time-series database.

InfluxDB-python version: e.g. 5.2.2 (output of the python -c "from __future__ import print_function; import influxdb; print(influxdb.__version__)" command)
$ pip freeze |grep influx
influxdb==5.3.1

Python version: e.g. 3.7.4 (output of the python --version command)
Python 3.8.10

Operating system version: e.g. Windows 10, Ubuntu 18.04, macOS 10.14.5
Ubuntu 20.04.3 LTS

Raised as issue too in influxdb2
If you want influxdb-python to handle influxdb2 versions with this problem, this ticket needs to be fixed on influxdb-python too.

workaround, without changing influxdb-python code:
pass headers to force use of json instead of MessagePack
# workaround for https://github.com/influxdata/influxdb/issues/23146
# influxdb-python crashes when issueing request to influxdb, to to incorrect
# Content-Type in the reply
# this forces the reply to be in json (instead of in MessagePack)
headers = dict(Accept='application/json')

db = InfluxDBClient(host=settings.INFLUX_DB['HOST'],
                         port=settings.INFLUX_DB['PORT'],
                         database=settings.INFLUX_DB['NAME'],
                         username=settings.INFLUX_DB['USER'],
                         password=settings.INFLUX_DB['PASSWD'],
                         headers=headers)


How to use the configuration options

I see a lot of configuration options, which I love. I wanted to use tailwindCSS.emmetCompletions, but I don't know where to put it or how to use it. I tried using the :CocConfig command and including that in the json, but it didn't work. I also tried in my local coc config, and nothing.

I installed coc-emmet, but it doesn't shows me the tailwindcss options:

I also tried on html only

It's possible that coc-tailwindcss3 is not starting up correctly, or the extension may not work if workspaceFolders are empty. https://github.com/yaegassy/coc-tailwindcss3#workspacefolders
Please try again with a minimal project directory configuration.
mkdir -p /tmp/twcheck
cd /tmp/twcheck
git init
npm init -y
npm i tailwindcss
npx tailwindcss init

In this case, the directory that contains .git will be the workspaceFolders.

Didn't work. It only doesn't work when using emmet, the extension works fine in normal class= or className=.

Does "className=" refer to jsx/tsx? Indeed, it seems that it does not work with jsx/tsx. I do not know the reason for this.

I tried vue files in my environment and they seemed to work. I'm not sure why they don't work with jsx/tsx though...

Regarding the issue where the functionality of the tailwindCSS.emmetCompletions setting was not working in jsx/tsx, we were able to address it by making adjustments to coc-tailwindcss3, so we have adjusted the functionality.

tailwindCSS.emmetCompletions configuration works now on jsx files, thank you!


CNCF conformance for 1.1.0-1.10.3

Due to the 1.0.1-1.10.3 breaking changes, there needs to be some work on this quickstart to automate exposing the Kubernetes API.
That will take time we don't have right now. However, publishing CNCF conformance results for 1.10 is a priority. This PR addresses said priority.
The results are:
Ran 139 of 836 Specs in 3653.619 seconds
SUCCESS! -- 139 Passed | 0 Failed | 0 Pending | 697 Skipped PASS

Ginkgo ran 1 suite in 1h0m53.981055424s
Test Suite Passed

CNCF conformance PR: https://github.com/cncf/k8s-conformance/pull/229


🐛 tiny-vue failed to start, adding missing quotes at the end of the string

PR

fork 的 tiny-vue 启动失败，发现文档部分有字符串缺失末尾引号。
已经添加，可以正常启动。
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our Commit Message Guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@all-contributors please add @allenli178 for code

@allenli178 恭喜你成为OpenTiny 2023年度开源新星，请添加下OpenTiny小助手微信：opentiny-official，如已添加，请发一条信息给小助手，谢谢！


update level to 1.0.0

@ralphtheninja sorry I missed this, I managed to update this to 1.3.0 of level. Might go back and cherry pick some of your changes too.


Make file_from_cl command line argument and file_from_env environment variable optional

As of ConfZ 1.6.0, it is not possible to set ConfZFileSource sources at runtime through the command line or environment while still allowing the CL argument or environment variable to be empty or unset. I will use file_from_cl mostly here, but the same behavior can be seen with file_from_env.
Given the following sources:
CONFIG_SOURCES = ConfZFileSource(file_from_cl="--config-file")

ConfZ will try to get the config from the command line, which works as expected if provided. However, if I would also like my Config to fall back to another source down the line, or even to hard-coded fallback values defined in the class itself, this does not work. ConfZ now requires the argument to be passed to the application. Adding optional=True does not make the command line argument optional, it only means that it will not fail if the file does not exist.
For instance, if I want to use the following config:
class Config(ConfZ):
    CONFIG_SOURCES = [
        ConfZFileSource(file_from_cl="--config-file", optional=True),
        ConfZCLArgSource()
    ]

    value: int

To start such an application without any config files (e.g., for testing purposes) and to pass all values in the command line, you need to call it with:
app --config-file "not_a_config.yml" --value 10

With not_a_config.yml not existing on the disk.
This works fine, but is a bit awkward.
Calling the same application with app --value 10 fails with: Command-line argument '--config' not found.
For this use case, I would expect optional to also make the command line argument optional.
This issue seems related to #23.

I agree, the current bebaviour is unexpected, optional should also apply to file_from_cl and file_from_env. I would welcome a solution / PR as you proposed, catching the error, as the alternative (in each specific case preventing the error if it is an optional source) is not really more maintainable / robust in my opinion.
One thing I think would make sense it so make it a bit more robust by also catching the file read error outside the _read_file method.


Suggestion: Display Video Title

The title of the video should be displayed even before the embedded player has been loaded.

The way the plugin is currently set up, it would be transmitting the youtube API key on the client side, which I don't think is a good idea.


error when trying to get credentials

Could some please help? I get the below error when trying to get.
$credstash -t test-table put -k alias/test-key test supersecretpassword1234
test has been stored
$credstash -t test-table get -k alias/test-key test
credstash get: error: argument context: 'test' is not the form of "key=value"

ditch the -k alias/test-key

Thank you for the swift reply. it worked :)


Tailwind Scrollbar not showing

Tailwind Scrollbar being crossed out in its CSS Rules. I don't know if this is what's causing my scrollbar to not appear.

Below is my code and where am I using it.
'use client';

import Header from "@/app/components/header/header";
import About from "@/app/components/about/about";
import ParticlesBackground from "@/app/components/particles-js/particlesbackground";
import Work from "@/app/components/work/work";

export default function Home() {
  return (
    <div className="relative overflow-x-hidden overflow-y-scroll scrollbar scrollbar-track-color-bg-variant/20  scrollbar-thumb-color-primary/80">
      <ParticlesBackground />
      <Header />
      <About />
      <Work />
    </div>

  )
}

Rules being crossed out is expected. Chrome (et al.) and Firefox use two wildly different methods for styling scrollbars, so the techniques for one browser will be detected as invalid by the other.
The first thing I'd check here is that the scrollbar you're seeing actually belongs to the element you're styling. That one looks to me like it could be owned by the body or html elements. If you take out your overflow-y-scroll and still see a scrollbar, that would confirm it.

Rules being crossed out is expected. Chrome (et al.) and Firefox use two wildly different methods for styling scrollbars, so the techniques for one browser will be detected as invalid by the other.
The first thing I'd check here is that the scrollbar you're seeing actually belongs to the element you're styling. That one looks to me like it could be owned by the body or html elements. If you take out your overflow-y-scroll and still see a scrollbar, that would confirm it.

Thank you so much!! That solves my problem.


Create graphic for game title?

The professor told us in class to make a graphic for the game's title for the LARK server, but I did not see a requirement for that in the LARK file. Ask professor for more details.

Extra Credit +1 point* - Submit a 600x600 px graphic for your game in .gif, .jpg, or .png format. It must be original. Graphic can be of anything that you feel represents your LARK game. Do not put in tarball.


Modify the size of cache

If i want to modify later the size of the cache, just simply run again the script with another GB size?

You would need to do:
swapon $SWAP_PATH
rm -rf $SWAP_PATH

Then run the script again.
Note: $SWAP_PATH is by default to "/swapfile". You can set it using:
export SWAP_PATH="/swapfile"


Research tasks

[ ] Projects and content for ballots
[ ] Diffusion method, Telegram, message language/instructions
[ ] Sovereign accounts for different projects?

Hey @medied by diffusion method do you mean, how we'll promote the ballots/accounts?

@SFSandra yea exactly, how we get the promote or share the right ballots to the appropriate people

Switching non-code-specific issues to Basecamp


ScheduledTask: Removing helper function Disable-ScheduledTask

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

Task list

[X] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[X] Resource documentation added/updated in README.md in the resource folder.
[X] Resource parameter descriptions added/updated in schema.mof
and comment-based help.
[X] Comment-based help added/updated.
[X] Localization strings added/updated in all localization files as appropriate.
[X] Examples appropriately added/updated.
[X] Unit tests added/updated. See DSC Resource Testing Guidelines.
[X] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[X] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: EDockus sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #228 into dev will decrease coverage by <1%.
The diff coverage is n/a.

@@         Coverage Diff         @@
##            dev   #228   +/-   ##
===================================
- Coverage    83%    83%   -1%
===================================
  Files        10     10
  Lines      1068   1065    -3
===================================
- Hits        891    888    -3
  Misses      177    177

Hi @EDockus - I'll review this once the tests are passing. Looks like there are some long lines in the CHANGELOG.MD: Lines 6/7: https://ci.appveyor.com/project/PowerShell/computermanagementdsc/builds/25584560?fullLog=true#L813
Suggest using Visual Studio Code and adding the markdownlint extension - it'll highlight any lines that violate markdown rules.

Can you rebase this one @EDockus to resolve conflicts and we'll work on getting it through.

Can you rebase this one @EDockus to resolve conflicts and we'll work on getting it through.

Hi, I've done that now. I'm not exactly sure how to update the unit tests, I assumed those particular ones were no longer needed as functionality was moved off the helper function onto the built-in function which has it's own tests.

Hi @EDockus - sorry about this, but I missed your comments. I'll take a look at the current state and advise what needs to be done. Can you resolve the conflicts?

Hi @EDockus - sorry about this, but I missed your comments. I'll take a look at the current state and advise what needs to be done. Can you resolve the conflicts?

No worries @PlagueHO. Conflicts now resolved.

Sorry @EDockus - more conflicts. Can you fix and I'll try and get this merged ASAP! Sorry about that.

Hi @EDockus - sorry about the delay on this one - are you still working on it?


Enhancement request: Add support for copy/paste files from clipboard

I am having a hard time convincing my collaborators to use deep-chat because attaching files to the chat requires the usage of a file dialog. I would be happy to collaborate on this if it would be of value.

Hi @tasdflkjweio.
Could you elaborate on the meaning of "file dialog". I am not quite sure what you mean. Thankyou!

@OvidijusParsiunas Sure, it's the file selection window that opens when I click the image icon. I'd like the ability to simply paste some content from my clipboard using copy + paste.

Hey, I'll explore this when I get a chance tomorrow.
I'd also like to mention that you can simply drag and drop files into the chat. E.g. if you set the images property to true, you can simply drag your images into the chat.

Appreciate it! Drag and drop is great, but requires you to have a file saved locally first. It's a slightly different use case.
I was looking at the minified code, but very rudimentary support for this would look like:
{
    key: "addEvents",
    value: function addEvents(e, t, i) {
      t.ondragenter = function (n) {
        n.preventDefault(), ue.display(e);
      }, e.ondragleave = function (n) {
        n.preventDefault(), ue.hide(e);
      }, e.ondragover = function (n) {
        n.preventDefault();
      }, e.ondrop = function (n) {
        n.preventDefault(), ue.uploadFile(i, n), ue.hide(e);
      }, t.addEventListener('paste', evt => { // add another event listener
        evt.preventDefault();
        const files = Array.from(evt.clipboardData.files);
        i.addFilesToAnyType(files);
      })
    }
  }

It may already be handled by one of your functions, but the edge cases that would need to be solved I believe are...

Choose a behavior for enforcing the max number of attachments. You can have multiple files and text all in your clipboard. Few options I was thinking...attach all and show an error message until the count is below the limit; truncate at the limit; or do nothing.

Validate that the attached filetypes, max filesize, etc. are allowed by the config, and exclude anything that's not.

Mixed filetypes allowed or not.

This is another enhancement request, but somewhat related is the ability to programmatically attach files. We've got a use case where the user would want to click an export button and automatically attach it to the chat window. I'd like to be able to pass the filecontents or blob to the function from js code.
Thanks for your consideration!

Hi @tasdflkjweio,
I have updated our deep-chat-dev and deep-chat-react-dev packages version 9.0.161 to allow you to copy and paste files. These packages behave the same way as the core ones except their names are different. To note, we are preparing for a big release, so some properties are called differently - e.g. request is called connect etc. Nevertheless, all of the old properties should work just fine - but you might get TS/console warnings which you can ignore.
In regards to the functionality, the paste functionality will only work if you enable the corresponding file properties. E.g to be able to insert images - enable the images property.
The new functionality also ticks all of the 3 points that you have listed.
Let me know if this works for you.

In regards to programatically attaching files, I am currently working on a couple of other issues as well as balancing my full time job, hence I will try to investigate this in a couple of days.
Thanks!

Thank you!

@OvidijusParsiunas I've tested the functionality and it seems to work well overall. However, I encountered a minor problem. When the attachment limit is reached and I attempt to paste additional files, the first attachment gets overwritten. This happens even if multiple files are selected for pasting; only one gets pasted.
I'd recommend the behavior should be as follows: once the attachment limit is reached, any new files that are pasted should not be accepted. Pasting additional files beyond the limit should have no effect and the existing attachments should remain unchanged.
This actually is an issue for drag and drop as well.

Appreciate it!

I have fixed the text paste issue in dev versions 9.0.162. Let me know if it works for you.

I'll check this out today.

The rationale behind it is that users may not be aware of the file limit, hence they might think that the problem is on their end. Hence we indicate that they can still upload files within a limit by overwriting the existing ones.

I think there is a somewhat standard pattern for this. I'm thinking of how Slack and Teams work. Examples:
MSFT Teams when trying to drag/drop > 10 files at once:

MSFT Teams when trying to drag/drop an additional file when 10 files have already been attached:

Slack when trying to copy/paste > 10 files at once:

Slack when trying to drag/drop an additional file when 10 files have already been attached:

That said, I won't push on this anymore. I appreciate your consideration!

Hi @tasdflkjweio.
Thankyou for your suggestion. I will consider adding this feature in the future.
One other problem that Deep Chat presents is its dynamicity in allowing the dev to set different file limits for different types, hence displaying a limit for each type would simply clutter the interface. Nevertheless I will see what I can do in late releases.


Create project with<EMAIL_ADDRESS>and cannot run npm i

Please provide the environment you discovered this bug in.
cannot create project
Which area/package is the issue in?
create-analog
Description
I would like to create Analog project for Angular 17 so I used Analog 1.3.1. But when I ran npm I, It was version conflict error. Please help me to create Analog with Angular 17
Please provide the exception or error you saw
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving<EMAIL_ADDRESS>npm error Found<EMAIL_ADDRESS>npm error node_modules/@angular/compiler-cli
npm error   dev<EMAIL_ADDRESS>from the root project
npm error
npm error Could not resolve dependency:
npm error peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm error node_modules/@angular-devkit/build-angular
npm error   peer<EMAIL_ADDRESS>|| ^16.0.0 || ^17.0.0 || ^18.0.0" from<EMAIL_ADDRESS>npm error   node_modules/@analogjs/vite-plugin-angular
npm error     dev<EMAIL_ADDRESS>from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/ambrose/.npm/_logs/2024-06-11T17_03_40_367Z-eresolve-report.txt

Other information
No response
I would be willing to submit a PR to fix this issue

[ ] Yes
[X] No

You can use the v17 template
npm create analog@latest my-app -- --template angular-v17
cd my-app
npm i<EMAIL_ADDRESS><EMAIL_ADDRESS>--save-dev
ng serve


[0.0.2] - Element.getId()

Implement the Element.getId() operation

[x] Elaborate the respective unitary test case for Element.getId();
[x]  Implement the interface implementation for Element.getId();
[x]  Implement the service until the all test cases work.

There was a need to conceptually change the treatment of validations on elements with null or duplicate Ids. This should be validated when the elements are to be attached instead of validating changes when the elements are detached. Therefore, the TreeManager interface must validate these issues, so there is no validation in the Element interface when changing an Id to null or duplicated, within the element itself.
The method TreeManager.createElement() does not aplly these validations because this method creates just detached elements. #13


Wrong result when including multibyte char

I found a difference in the output when serializing with native php and this gem.
When encoding multibyte chars, PHP expects the size to be the bytesize of the string.
Otherwise can lead to strange mistakes when unserialized by PHP.
I included that change in the commits.

Thanks for the fix.

Thanks for the fix. Merged.


Invalid schema when modifying an existing property in place

This could be user error in that I shouldnt be modifying an existing key in place but I noticed that when I use the mapper plugins to use stream maps and I overwrite a stream property it causes a target failure on schema validation. If I change the name of the new property in my mapper and null out the original I have no issue (thats what I ended up doing) but wanted to flag this.
plugins:
  mappers:
  - name: meltano-map-transformer
    variant: meltano
    pip_url: git+https://github.com/MeltanoLabs/meltano-map-transform.git
    mappings:
    - name: my_mapping_name
      config:
        stream_maps:
          my_stream_name:
            existing_col: "record.get('existing_col', '')"

This ends up sending a schema that looks like the following, which I think is invalid. The error is unhashable type: 'list'.
{'properties': {'existing_col': {'type': [['null', 'string'], 'null']} ...

Its like we're manipulating the schema record and appending to the type list vs overwriting. Or maybe we do want to append for some reason but its not doing it properly.

Short version is needing to wrap your new value in str()

That's it 🚀
The heuristics around predicting data type in advance is pretty hard, and that method is a hint to the "interpreter" that the result is a string, instead of whatever else might be expected in that property.

The error is unhashable type: 'list'.

{'properties': {'existing_col': {'type': [['null', 'string'], 'null']} ...

Its like we're manipulating the schema record and appending to the type list vs overwriting. Or maybe we do want to append for some reason but its not doing it properly.

Yeah, this looks like a bug. If the inner value were not already nullable, then wrapping in a list to allow null type would be correct. Because it's already a list and anyway allowing null values, the type alteration is actually just making it unparseable to the target. (List of types is ok. List of list of types is not ok.)


Magnetic well metric

This is a measure of MHD stability that can be computed directly from VMEC and which is often included in STELLOPT/ROSE optimization.

Done.


inline script tag not evalute

Hello
I  have some inline script tags at the bottom  of html body . in my localhost its ok . after initial page load and navigating between pages all inline script tags evaluated with no problem . but at server all of my script elements not execute . I inspected the page and  noticed that inline scripts commented after navigating .
I dont know what is the problem . can anybody help me ?
thanks

Hi @M0H3N
Turbolinks wouldn't comment out scripts, so it sounds like your production server is configured differently to your localhost.
I'll close this issue for now, but feel free to reopen if you still feel it's a bug with Turbolinks.
Thanks.

@domchristie
yes Im using cloudflare on production server .  I disabled the  Rocket Loader feature on cloudflare and the problem was solved


fix disposeOnUnmount when using react-hot-loader

Code change checklist

[ ] Added/updated unit tests
[x] Updated changelog
[x] Updated README if applicable

Fixes https://github.com/mobxjs/mobx-react/issues/725
Closed because "Solution is using react-fast-refresh". react-fast-refresh is mostly not production ready. This fix ensures compatibility.
I did not manage to recreate react-hot-loader's behavior as unit test.

Looks fair enough. Thanks for your contribution!

Thanks! Any idea when 6.2.3 will be released?

Published just now :)


Good Config Schema

I came up with the current config schema in a couple of hours, while experimenting and  I think we should probably put more thought into it.
Challenges to be addressed here:

How many sections do we want and what should they mean? (I have looked at SpaCy for inspiration, but it's not the same thing, so some of their stuff might not work for us)
How much tinkering do we want to allow? As in: Which hyperparameters do we want to control? Do we want to mess with the pooling layer at all, or do we just accept that pooling==mean?
How do we describe tasks in a reproducible way? My vision is that we create a config system, where  we can define the different tasks and the datasets in the config, but for that we will need some sort of system/process/schema. A couple of challenges concerning this:

Open and non-open datasets: Some of the data we want to use, we can access from Huggingface Hub, or just put it up there cause it's open, which is awesome, but then we need some way of loading non-open data as well, my first thought is, we could just add load_dataset from Datasets into a registry, like this:

from confection import registry
from datasets import load_dataset

registry.loaders.register("load_dataset")(load_dataset)

Then the config would be something like this:
[tasks]

[tasks.bornholmsk]

[tasks.bornholmsk.dataset]
@loaders="load_dataset"
path="strombergnlp/bornholmsk_parallel"

[task.bornholmsk.objective]
...

[tasks.nyheder]

[tasks.nyheder]
@loaders="load_dataset"
path="dat/nyheder.jsonl"

[task.nyheder.objective]
...

Describing training objectives and losses

You can just specify an arbitrary list as argument

I think it would look something like:
[tasks.*]
@loaders="load_dataset"
path="strombergnlp/bornholmsk_parallel"

[tasks.*]
@loaders="load_dataset"
path="dat/nyheder.jsonl"

Keep it minimal, we want to get a prototype up and running before we do anything else (and mean is a good default)
For non-open dataset we can load them as you specify using load_dataset but referring to a local dataset.


Uri support

Developers working with Uri components must always type Uri.parse(WhatsAppUnilink(...).toString()) in order to manipulate or extract data from it. A main example is the new launchUrl function from url_launcher.
This PR tries to simplify this pattern by adding a asUri method into the WhatsAppUnilink class. This new method creates the Uri directly from its constructor instead of parsing it from toString and adding more overhead.
With this PR, after adding the tests, two comparisons needed to be changed because of the way the space character is encoded:
test\whatsapp_unilink_test.dart: WhatsAppUnilink asUri phone number and text are both set
then: https://wa.me/15551234567?text=I'm%20interested%20in%20in%20your%20%22Ferrari%22%20car%20for%20sale!
 now: https://wa.me/15551234567?text=I%27m+interested+in+in+your+%22Ferrari%22+car+for+sale%21

test\whatsapp_unilink_test.dart: WhatsAppUnilink asUri only the text is set
then: https://wa.me/?text=I'm%20interested%20in%20ur%20%22Ferrari%22!
 now: https://wa.me?text=I%27m+interested+in+ur+%22Ferrari%22%21


Continous control

I'm working on LSTM implementation (neon based) for the continuous case, sadly I failed to get any response from authors.
It is variance and entropy that puzzles me. Any thoughts on how that is implemented code-wise?
Currently it shows no signs of convergence on mujoco domain for me and most likely there are errors in learnt variance for gaussian policy.

Thanks for information. I haven't tried it yet, but the paper provides some information as below. Did you find it is not sufficient?

µ is modeled by a linear layer and σ2 by a SoftPlus operation, log(1 + exp(x)), as the activation computed as a function of the output of a linear layer.

we used a cost on the differential entropy of the normal distribution defined by the output of the actor network, −1/2 (log(2πσ2)+1), we used a constant multiplier of 10−4 for this cost across all of the tasks examined.

It is a bit vague for me so  I will try to summarize in order to be corrected : we  need a fully connected layer outputting 2 values, add 1 softplus operation for second value (so that variance is > 0 I suppose), sample according to this gaussian (use numpy.randn * sigma + mu ?) in each dimension of action space, and finally send  −1/2 (log(2πσ2)+1 as logprob instead of log(softmax) ?

hi, @muupan , do you have a plan to implement continous control? : )

Here is an example:
class GaussianPolicyOutput(PolicyOutput):
    def __init__(self, logits_mu, logits_var):
        self.logits_mu = logits_mu
        self.logits_var = logits_var

        #print("self.logits_mu.data: ", self.logits_mu.data)

    @cached_property
    def action_indices(self):
        # the function has same name as for SoftmaxPolicyOutput so that the function
        # can be called from a3c.py without changes
        # however, the function samples from gaussian distributions

        mu, sigma2 = self.activation

        action = np.zeros(mu.data.shape, dtype = 'float32')

        #print("mu.data: ", mu.data)
        #print("sigma2.data: ", sigma2.data)
        for i in xrange(mu.data.shape[0]):
            action[i] = np.random.normal(mu.data[i], np.sqrt(sigma2.data[i]))
        #print("action: ", action)
        return action

    @cached_property
    def activation(self):
        mu = F.tanh(self.logits_mu) # output is in [-1,1]
        sigma2 = F.softplus(self.logits_var) #rectified output
        return mu, sigma2

    @cached_property
    def sampled_actions_log_probs(self):
        # returns chainer variable with log prob of the sampled action

        # activation
        mu, sigma2 = self.activation

        # sample action
        action = self.action_indices

        # compute neg. log likelihood
        #print("chainer.Variable(action).dtype: ", chainer.Variable(action).dtype)
        #print("mu.dtype: ", mu.dtype)
        #print("F.log(sigma2).dtype: ", F.log(sigma2).dtype)

        return -F.gaussian_nll(chainer.Variable(action), mu, F.log(sigma2))

    @cached_property
    def entropy(self):
        mu, sigma2 = self.activation
        return - F.sum(0.5*(np.log(2*np.pi*sigma2.data[0])+1))

haven't tested yet, so feel free to test/ correct

Thanks! @etienne87


Cancel resets to today's date

Hi!  Thx for your work-- it's certainly appreciated.  I've noticed that if you click 'cancel' the first time the picker loads, the dates will reset (in the picker) to today's date -- you can reproduce it in your demo to see what I mean.  I'd like to help solve this issue but not sure how to go about it.

Hi!
Maybe this issue is closed, but I run in the same problem!
I solved it modifying the code in the change watcher:
			$scope.$watch($attributes.ngModel, function (modelValue) {
				if (!modelValue || (!modelValue.startDate)) {
					ngModel.$setViewValue({ startDate: moment().startOf('day'), endDate: moment().startOf('day') });
					return;
				}
				$element.data('daterangepicker').setStartDate(modelValue.startDate);
				$element.data('daterangepicker').setEndDate(modelValue.endDate);

				$element.data('daterangepicker').updateView();
				$element.data('daterangepicker').updateCalendars();
				$element.data('daterangepicker').updateInputText();
			});

setStartDate and setEndDate in fact also replace the "old" stored value.


Shipping section glitch on page refresh

https://user-images.githubusercontent.com/17214716/171185393-08998ce9-5779-48e1-872d-8b3504f3ff9b.mp4
On refresh/navigating to the checkout page after adding the shipping address and selecting the shipping method, the shipping sections get expanded and after it's going to the payment section

Hey @rajguru827 this is a known issue and we will be look into it. Thanks.

@animesh1987 any updates on this issue? pls, let me know if I can help in solving this issue

@bigcommerce/team-checkout
was this looked into?

@rajguru827 just following up here, is the issue persisting?

@bc-0dp currently I am not working on Bigcommerce. So I am not sure still this issue exists or not.

oh ok, thanks @rajguru827.
I'll close this one for now then.
Feel free to create a new issue if this is still a problem though.
❤


Fixes train_test table formating.

Tables now look like this:
$ cat ../ores-wikimedia-config/datasets/enwiki.features_wp10.30k.tsv | ./utility train_test revscoring.scorer_models.RF ores.feature_lists.enwiki.wp10 revscoring.languages.english > foo
Accuracy: 0.5436973401619032

ROC-AUC:
-----  --------
A      0.699985
B      0.750562
C      0.783328
FA     0.90796
GA     0.849178
Start  0.860285
Stub   0.96958
-----  --------

         A     B     C    FA    GA    Start    Stub
-----  ---  ----  ----  ----  ----  -------  ------
A       21    19     4    37    50        1       0
B       47  1204   893   233   357      342      19
C       35   757  1145    51   297      546      30
FA     231   276   112  1819   807       10       0
GA     151   383   312   495  1532       41       0
Start   11   330   422     2    22     1638     449
Stub     3    44    47     4     0      416    2514

I think it would be even better if the sorting was based on class, ie instead of an alpha-sort it would be as below:
FA    A     GA    B     C    Start    Stub
I am merging this since above is more of a feature request than something problematic with the code.

@ToAruShiroiNeko I thought about that, but currently we have no way of expression that FA > A

Maybe create something similar to TemplateData's paramOrder which defines the order of template parameters, but for the order of classes.


TypeScript error when using State inside JSX element

When using van_jsx, I noticed that using a state as an element child will cause a TypeScript error:
Type 'State' is not assignable to type 'ComponentChild'.
The issue was solved very simply by adding the Sate type imported from vanjs-core to the ComponentChild type in type.d.ts:
Before:
export type ComponentChild =
| FunctionChild
| Element
| string
| number
| bigint
| boolean
| null
| undefined;
After - this solves the problem:
export type ComponentChild =
| FunctionChild
| Element
| string
| number
| bigint
| boolean
| null
| undefined
| State

@cqh963852, do you want to take a look at this issue?

@yahia-berashish I think this idea is right. Can you open a pull request according to your idea?

Another type problem is lazy function, this is a magic type modification.
We should remove this function.

Another type problem is lazy function, this is a magic type modification.
https://github.com/vanjs-org/van/blob/48de9b20ca9556a488ff320c3df171014a0e3722/addons/van_jsx/src/index.js#L3-L5
https://github.com/vanjs-org/van/blob/48de9b20ca9556a488ff320c3df171014a0e3722/addons/van_jsx/src/index.d.ts#L3
We should remove this function.

what is exactly the issue with lazy?

The correct declaration of lazy function should be  export declare const lazy: <T>(f: () => T) => ()=>T;
And the lazy function does nothing and has no actual value

So, should we remove it from the code or change the type declaration?
It can be used as a placeholder for a later update maybe.

So, should we remove it from the code or change the type declaration? It can be used as a placeholder for a later update maybe.

I think it's better to just remove this function from code.
Because not many people are using it yet, it is more appropriate to remove it now.
If removed later, there will be forward compatibility issues.

Well, forget about that, I've found something else.
The ComponentChild and FunctionChild types don't support the ChildDom type, and this is really weird behavior, the types of the core library and van_jsx have to be compatible.
I've checked the code, and adding ChildDom to ComponentChild and FunctionChild works just fine.
Will include it in the next PR.

Well, forget about that, I've found something else. The ComponentChild and FunctionChild types don't support the ChildDom type, and this is really weird behavior, the types of the core library and van_jsx have to be compatible. I've checked the code, and adding ChildDom to ComponentChild and FunctionChild works just fine. Will include it in the next PR.

this also actually solves the first issue, since the ChildDom type includes the State type.

All done
Waiting to merge...

Hi @yahia-berashish,
I am not seeing your latest commit in #139.

I haven't committed yet, I'm a bit busy at the moment, but I should be able to address to issue and add the commit to the PR after a few hours.

The commit is pushed, the PR must be ready for merge now @Tao-VanJS


Add support for JSON.NET 11.0 for NEST 5/6 clients

Is there any timeline or plans for upgrading JSON.NET to 11.0 for the current clients?

I'd especially like it to be done for the 5.x clients.  There are way too many breaking changes for us to upgrade to 6 in the short-term, but nuget is telling us we can't upgrade to Json.NET 11 because ES.NET and NEST want a version < 11.

Would it be possible to just get rid of the next major version exclusion? Seems like a lot of libraries don't include that and everything continues to work just fine if the assembly binding redirects are setup.

Is there any updates on this? I'd be willing to submit a pr if needed.

JSON.NET has to be extremely good about not introducing breaking changes or else the entire world would break. It seems really silly to have an upper bound limit on the nuget dependency.

Working on this now PR's will follow shortly, sorry for the wait this JSON.NET release coincided with Elasticon and our Engineering get together in Lake Tahoe.

Thank you @Mpdreamz

Released 6.0.2 to bump the JSON.NET dependency to 11. Working on 5.x and 2.x next.

Released 5.6.1

@ejsmith @chrisdrobison  the upper limit is gone from the 6.x releases since your JSON.NET won't affect the serializing of NEST types anymore. We did have cases where a major upgrade of JSON.NET broke NEST throughout the years and to be fair to JSON.NET that's totally OK :)

And finally we released 2.5.8 which will be our final 2.x release as Elasticsearch 2.x itself is EOL since 2018-02-28

Out of curiosity, have you guys ever considered ILMerging the JSON.NET into
yours so that you guys can ensure whatever compatibility you want without
enforcing a dependency version?
On Wed, Mar 14, 2018 at 6:30 AM Martijn Laarman<EMAIL_ADDRESS>wrote:

And finally we released 2.5.8
https://github.com/elastic/elasticsearch-net/releases/tag/2.5.8 which
will be our final 2.x release as Elasticsearch 2.x itself is EOL since
2018-02-28
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/elastic/elasticsearch-net/issues/3115#issuecomment-373003908,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABu24RJzBCtfJ40KKYXfDBjY7SNSfRE_ks5teQ1TgaJpZM4SWk-q
.

That's what did for our 6.x releases:
https://www.elastic.co/blog/nest-elasticsearch-net-6-0-ga
Just ilmerging is not sufficient we also rewrite the merged codes namespace to Nest.Json

@Mpdreamz when is 5.x EOL and before that happens will you remove the upper bound on json.net?


Mouser scraping fails with "cannot convert string to float" because price tier returns "quote".

Mouser scraping fails with "cannot convert string to float" because price tier returns "quote".
For example, on the following part: https://www2.mouser.com/ProductDetail/STMicroelectronics/STM32F411RCT6?qs=sGAEpiMZZMvfpQN6QVmrfBwu%252bJWjhAvpke0TIYHKpxk%3D
An exception occurs on the following line of distributors/mouser/mouser.py on the line 61:
unit_price = float(re.sub('[^0-9.]', '', unit_price_tree.text))
price_tiers[qty] = unit_price

Attached is a test XML file that should produce the exception.
Running Python 3.6 on Windows with the latest KiCost code from the GIT repo. https://github.com/xesscorp/KiCost/commit/6004bbddcbd377fa97e9328e9369cd1616036108
testbom.zip

Thanks by reporting.


I want to set the transfer identifier

User Story
As Chris I want to set the transfer identifier so that my partner can identify the payment.
Acceptance criteria
Tasks

Closing, see #1492.


[QST]Which operations of Spark DataFrame are suitable for GPU acceleration?

What is your question?
For the current rapids-4-spark plugin.

Which operations of Spark DataFrame are suitable for GPU acceleration? I try to add timestamps before and after an operation, such as filter, join, agg, to calculate the execution time of the operation. However, it is found that the execution time of some operations in GPU mode is longer, and some operations are not much different from those in pure CPU mode. the dataset is tpcx-bb with 120GB.
Another question I would like to ask, when I increase CPU cores and keep executor-cores=4 unchanged, the number of executors will increase. At the same time, each executor is bound to a GPU, which will increase the number of GPUs called in the spark cluster, but the execution time of query#5,16,21,22 is almost unchanged, why?
Can you help me?

I try to add timestamps before and after an operation, such as filter, join, agg, to calculate the execution time of the operation.

Note that Spark normally executes in a row-by-row fashion, while the RAPIDS Accelerator operates on columnar batches.  Can you elaborate more on how you isolated the timing for these operations?  It's easy to accidentally measure more than what was intended (i.e.: also the cost of the operations producing the input).
Also the scale factor of the data is fairly low.  GPUs do not excel at processing small amounts of data.  You will probably see better performance by increasing the amount of data each task sees (e.g.: increasing spark.sql.files.maxPartitionBytes, decreasing spark.sql.shuffle.partitions, etc.).  Alternatively you could scale up the dataset size.
As to which operations will perform particularly well on GPUs relative to CPUs, here's an incomplete list:

Large CSV/Parquet/ORC reads
Parquet/ORC writes
aggregations with high group keys cardinality (i.e.: hash table does not fit in CPU cache)
joins with high join key cardinality (i.e.: hash table does not fit in CPU cache)
sorting

the execution time of query#5,16,21,22 is almost unchanged, why?

Have you hit the maximum number of GPUs available in the cluster?  If so then you would be running with the same number of executors which explains the same performance.  You could try running more than 4 cores per executor, as some queries can benefit from more CPU cores on the executor even when running on the GPU, especially if there are significant parts of the query that are not translated for the GPU.
If you are seeing more executors being executed (and therefore more GPUs used) than before) then you may be I/O bound.  Try running with just CPU executors and see if the performance changes as you scale the number of executors similarly (keeping the cores-per-executor constant).

Can you elaborate more on how you isolated the timing for these operations? OK. For example:
val startTime = System.currentTimeMills()
df1.join(df2)
//df1.filter("id > 2000 and age <60")
//others operations
val endTime = System.currentTimeMills()
val filterTime = endTime-statTime
println(s"The filter operation took: ${filterTime} ms")
Is this way correct? If not, how should I get the execution time of a specific operation?
Have you hit the maximum number of GPUs available in the cluster?
No, I did not hit the maximum number of GPUs available in the cluster. Then I keeped executor-cores=6 unchanged.
executor-cores=6
executor.resource.amount.gpu=1
There are 18 GPUs in total
the GPU were used as fllowed:
total-executor-cores   the amount of called GPU
24                                     4
36                                     6
72                                     12
96                                     16
Even with the above setting, the execution efficiency of query in GPU mode is almost unchanged.
Perhaps improving IO is a solution that can be explored

Spark executes in a lazy fashion, so this snippet:
val startTime = System.currentTimeMills()
df1.join(df2)
val endTime = System.currentTimeMills()

does not measure the time of a join.  No join was actually performed during the time measured because nothing forced Spark to manifest the result of the join in any way (e.g.: writing the results of the join somewhere, collecting the results back to the driver via a .collect, etc.).  The time spent in the section being measured is not going to depend upon the dataset size at all.  All Spark does is add a join node to the query plan which won't be executed until something later comes along to force the query to be executed.  This also explains why you see no performance difference between GPU and CPU and why adding executors does not help.  It's not using any executors during the time being measured. :smile:
Note that even if you changed the snippet to do something like this:
val startTime = System.currentTimeMills()
df1.join(df2).collect
val endTime = System.currentTimeMills()

That will force the join to execute during the section being timed, but it won't measure just the join.  It will also measure the time it took to construct df1 and df2 (e.g.: loading from Parquet or whatever operations were done to build those tables) as well as the time spent transferring the results back to the driver.  It is very difficult to localize the effect of a single operation in Spark since it does not normally execute all of the load first then all of the join, etc.  It fetches one row of output at a time, only performing a minimal set of operations necessary to produce the next row of output, pulling from iterators chaining all the way back to fetching rows from the sources.

Can you elaborate more on how you isolated the timing for these operations? OK. For example:
val startTime = System.currentTimeMills()
df1.join(df2)
//df1.filter("id > 2000 and age <60")
//others operations
val endTime = System.currentTimeMills()
val filterTime = endTime-statTime
println(s"The filter operation took: ${filterTime} ms")
Is this way correct? If not, how should I get the execution time of a specific operation?
Have you hit the maximum number of GPUs available in the cluster?
No, I did not hit the maximum number of GPUs available in the cluster. Then I keeped executor-cores=6 unchanged.
executor-cores=6
executor.resource.amount.gpu=1
There are 18 GPUs in total
the GPU were used as fllowed:
total-executor-cores   the amount of called GPU
24                                     4
36                                     6
72                                     12
96                                     16
Even with the above setting, the execution efficiency of query in GPU mode is almost unchanged.
Perhaps improving IO is a solution that can be explored

That will force the join to execute during the section being timed, but it won't measure just the join. It will also measure the time it took to construct df1 and df2 (e.g.: loading from Parquet or whatever operations were done to build those tables) as well as the time spent transferring the results back to the driver. It is very difficult to localize the effect of a single operation in Spark since it does not normally execute all of the load first then all of the join, etc. It fetches one row of output at a time, only performing a minimal set of operations necessary to produce the next row of output, pulling from iterators chaining all the way back to fetching rows from the sources.

Thanks，you are so nice!

Thanks，you are so nice!

Thanks, @YeahNew!  I'm closing this as answered.  Please reopen or file a new question if there's more along these lines you'd like to discuss.


ISPN-8781 Do not fail on Dash Shell

https://issues.jboss.org/browse/ISPN-8781
@diegolovison May I ask you for a review?

Verified with Dash on Ubuntu


inlineCompletionContext contains an undocumented selectedSuggestionInfo

Testing #131415

Start running the extension from here
Put a breakpoint in the provideCompletionItem call in the extension
Notice how the passed context contains a selectedSuggestionInfo attribute. This attribute is not documented anywhere. I suggest to either document it or to not pass it

It is documented, however the extension sample had an outdated vscode.d.ts
Closing as this works fine.


Colour Overrides break after upgrading the plugin version

i found its easier to reproduce on hosted grafana because you can easily update plugin versions
this bug is reproducible both ways, on version "upgrade" and "downgrade"

Steps to reproduce:

Install the Zabbix plugin on an earlier version.
Create a dashboard panel with some colour overrides

Zabbix datasource with TimeSeries Panel
In this example i used the FillOpacity override

Upgrade the plugin version

Check the dashboard panels, the overrides are broken

Looking deeper:

i have found that if you use the setAlias function in zabbix, the override doest break after upgrading
you can see that after upgrading, the reason the override breaks is because it doesn't detect the field name hence the (Not found)

exporting a dashboard-json-with-field-override from 4.2.0 and importing into 4.3.0  does work (override applies)
exporting a dashboard-json-with-field-override from 4.3.0 and importing into 4.4.0  does not work (override does not apply)

this seems logical because the "calculated" field-name is Zabbix server: something for 4.2.0 and 4.3.0, and it's something for 4.4.0.

the change in https://github.com/grafana/grafana-zabbix/commit/e33812427ed650e65f60088a4e59105587dd2dd0 may be relevant here.

i do not think we can do anything to improve the situation here, changing the dataframe format again would just make more problems.
for people having this problem a possible workaround is to use aliases, those will guarantee that the name is fixed.