[BUG] Failure of getting item properties in Document libraries depending on Sharepoint sites

Context:
I am trying to get all files and their versions located in our Sharepoint. In order to do so I iterate through all the Document-Libraries and throgh all items of the respective Library. Then getting the individual version.
The script works just fine in 7 out of 12 Shared-Document Libraries.
Code:
Connection and accesing the Shared-Document Library works fine so i will skip that.
Getting the items (Collection of File Versions and Metadata / Type: PnPFolderItem) in the Library and subfolders (Type: PnPFolder):
$folderItems = Get-PnPFolderItem -FolderSiteRelativeUrl $FolderName -Connection $currentConn -Recursive
If it is a "faulty" Library the following loop is skipped, meaning $versions has no items
While iterating through the $folderItems getting the "versions" property of each item:
$versions = Get-PnPProperty -ClientObject $item -Property Versions -Connection $currentConn
For-each Loop to prepare Output / Store information:
foreach($ver in $versions) #$item.Versions
{
$ver.RefreshLoad()
$createdbyinfo = Get-PnPProperty -ClientObject $ver -Property CreatedBy
$Row = "" | Select Name,Version,Created,Email,Comment
$Row.Name = $item.Name
$Row.Version = $ver.VersionLabel
$Row.Created = $ver.Created
$Row.Email = $createdbyinfo.Email
$Row.Comment = $ver.CheckInComment
$VersionsInfoList += $Row
}
Expected behavior
Should function for all Shared-Documents Libraries
Actual behavior
Does not function for all Shared-Document Libraries
Steps to reproduce behavior
Since it is working just fine on some Libraries, I can not think of a way to reproduce this problem, without solving it first.
Version / OS
PnP.Powershell 1.5.0 on Windows 10
Edit / Script:
This is the script to get the different versions of a file in the respective library / page.
#Site root
$sharepointsiteroot = "https://tenant-name.sharepoint.com/sites"

function ProcessSPDocFolder
{
param(
    [string]$Site,
    [string]$FolderName
)

    $VersionsInfoList = @()

    if([string]::IsNullOrEmpty($FolderName))
    {
        return $VersionsInfoList
    }

    Write-Output $Site
    Write-Output $FolderName
	#Connection to Site
    $currentConn = Connect-PnPOnline -Interactive -Url $Site
	#Getting all Files of whole Library
    $folderItems = Get-PnPFolderItem -FolderSiteRelativeUrl $FolderName -Connection $currentConn -Recursive

	#Iterating through all Files
    foreach($item in $folderItems)
    {
        if ($item -is [Microsoft.SharePoint.Client.Folder])
        {
            continue
        }

		#Getting all versions of a file
        $versions = Get-PnPProperty -ClientObject $item -Property Versions -Connection $currentConn

		#Getting metadata for all versions of a file
        foreach($ver in $versions)
        {
            $createdbyinfo = Get-PnPProperty -ClientObject $ver -Property CreatedBy

            $Row = "" | Select Name,Version,Created,Email,Comment
            $Row.Name = $item.Name
            $Row.Version = $ver.VersionLabel
            $Row.Created = $ver.Created
            $Row.Email = $createdbyinfo.Email
            $Row.Comment = $ver.CheckInComment
            $VersionsInfoList += $Row
        }
    }
    return $VersionsInfoList
}

#Connecting to site root
$generalConnection = Connect-PnPOnline -Interactive -Url $sharepointsiteroot

#Declaring Output
$history = @()

#Name of site
$mysubsite = "subsite"

#Folder Path of Site
$myfoldersubsite = "Shared Documents/subfolder"

#Calling the function with site individual parameter
$history = ProcessSPDocFolder "$sharepointsiteroot/$mysubsite" $myfoldersubsite

$history | Sort -Property Created -Descending | Format-Table Name, Version, Created, Email, Comment

Disconnect-PnPOnline

If something is unclear or additional information needed feel free to contact me or leave a comment.

@Kman-Kid - Can you clarify what you're looping through?

Is it all libraries in all SPO sites in the tenant? You also mention subsites in the title?
What do you mean by Shared-Document Libraries? (is it only a normal library?)
Is there any difference between the 7 libraries working and the 5 others?

@veronicageek Thank you for the questions and sorry for the inaccuracy.

Can you clarify what you're looping through?

I am iterating through the FileVersionCollection of a file in a folder of an Library

Is it all libraries in all SPO sites in the tenant? You also mention subsites in the title?

Yes, all libraries in all SPO sites in the tenant. I just got confused with the subsites, sorry.

What do you mean by Shared-Document Libraries? (is it only a normal library?)

Since almost all files are documents I was tempted to say shared documents. They are indeed normal libraries.

Is there any difference between the 7 libraries working and the 5 others?

There is not an obvious difference, we looked carefully and since they are on the same access-level it should work just fine. Path misspelling could also be ruled out.
Further Information:
The script loads the files of a faulty library, but it is not possible to iterate through the FileVersionCollection for these faulty libraries/folders. You can output the name of the file, but not this individual property.
I am not changing tenant only the sites, the root URL(https://tenant-name.sharepoint.com) stays the same.
Example path to a library:
https://tenant-name.sharepoint.com/sites/SiteName/Shared Documents/
Question:
Is it possible to provoke / cause a verbose error message?
Thanks for the comment.
With kind regards
David

@Kman-Kid - Thanks for all this information. So you're going through multiple sites, targeting only 1 document library (/Shared Documents), you want to get each version of each file (even in nested folders), and you have access to all. Correct?
If yes:

How many sites are you looping through?
Any idea of the number of files/folders to iterate through?
Is it always failing on the same 5 document libraries?

Thanks

@veronicageek

So you're going through multiple sites, targeting only 1 document library (/Shared Documents), you want to get each version of each file (even in nested folders), and you have access to all. Correct?

Yes that is correct.

How many sites are you looping through?

I am Looping through 12 sites.

Any idea of the number of files/folders to iterate through?

It Depends on the Site. Some Sites have 1 Folder and only about 9 Files, some have 5+ Folders and over 50 Files.

Is it always failing on the same 5 document libraries?

Yes it is failing on the same document libraries?
Further Information:
I forgot to mention that we have run the script on different PCs with different User-Accounts, result stays the same.

Removing the bug label as I believe the cmd works and might be different issue more with the libraries or the files.
Obvious question but can you make sure that versioning is enabled on the libraries? Also try other troubleshooting steps like create another library in the same site, populate with dummy docs, and run your script.

I will try the suggested troubleshooting steps, I'm pretty sure versioning is enabled on the affected sites but will check again.
Thanks for the comment.

Closing as not a PnP issue.

What would make you think that AccessPolicy is related to not getting the file versions?
$allDocs = Get-PnPListItem -List "Documents" -Fields "FileLeafRef", "_UIVersionString", "AccessPolicy"
$results = @()

foreach($doc in $allDocs){
    $results += [pscustomobject][ordered]@{
        fileName = $doc["FileLeafRef"]
        fileVersion = $doc["_UIVersionString"]
        AccessPolicy = $doc["AccessPolicy"]
    }
}
$results


Update dependency @types/jest to v29.2.4

This PR contains the following updates:

Package
Type
Update
Change

@types/jest (source)
devDependencies
patch
29.2.3 -> 29.2.4

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


[iOS][MenuFlyoutSubItem] Sub menu doesn't open when clicking a MenuFlyoutSubItem

Link to Uno Issue: https://github.com/unoplatform/uno/issues/4049

Current behavior
MenuFlyoutSubItem do not open a sub FlyoutMenu

Expected behavior
MenuFlyoutSubItem open a sub FlyoutMenu
How to reproduce it (as minimally and precisely as possible)
Launch app Uno.Gallery app
Navigate to Flyout
Select the "Nested MenuFlyout" sample
Select "Send Feedback"
Notice that no icon appear on the left of the MenuFlyoutItems
Workaround
None
Environment

Nuget Package:

[x] Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia
[ ] Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
[ ] Uno.SourceGenerationTasks
[ ] Uno.UI.RemoteControl / Uno.WinUI.RemoteControl
[ ] Other:

Nuget Package Version(s): Uno.UI 3.0.0-dev.1533
Affected platform(s):

[x] iOS
[ ] Android
[ ] WebAssembly
[ ] WebAssembly renderers for Xamarin.Forms
[ ] macOS
[ ] Skia

[ ] WPF
[ ] GTK (Linux)
[ ] Tizen

[ ] Windows
[ ] Build tasks
[ ] Solution Templates

IDE:

[ ] Visual Studio 2017 (version: )
[x] Visual Studio 2019 (version: 16.6.2)
[ ] Visual Studio for Mac (version: )
[ ] Rider Windows (version: )
[ ] Rider macOS (version: )
[ ] Visual Studio Code (version: )

The issue is normally fixed, tested Gallery locally with latest Uno stable packages
iPhone Simulator 11 Pro Max iOS 15
Uno.UI 4.0.11
Uno.Material / Uno.Cupertino 1.2.0
If you can double-check @sakshi173, please


Add AxiomXa drivers

Description of the change
Added a RHB Access AxiomXa driver.

Actually I get this error in core when trying to add this driver. How's the progress going?
level=[E] time=2022-07-27T08:24:42Z program=core source=place_os.core.controller message="failed to compile" driver=drivers/rhb_access/axiomxa.cr repository=drivers commit=64c79deb19724e4f7075dd615c2d9e65dc0b462d client_ip=REDACTEDrequest_id=a87ddac6-9eac-4a4d-b272-78347e415ac4


problem with order 2 CIFAR-10 (VP deep continuous-time model )

hello,thanks to your wonderful work!i run your code with CIFAR-10 (VP deep continuous-time model ),dpms-solver order2 recently, i try so many times but still get wrong fid with the order2(table 6) result,could u give me some help such as the implement of hyperparameter? thank u so much!!!! please save the child ~~~~~~~~~~~

here is the shell file :
#!/bin/bash
nohup bash -c '
devices="3"
ALGORITHM=origin   # origin or PFDiff_1 or PFDiff_2_1 or PFDiff_2_2 or PFDiff_3_1 or PFDiff_3_2 or PFDiff_3_3
STEP="10" # Multiples of order
eps="1e-3"
skip=time_quadratic
skip=logSNR
skip=time_uniform
method="singlestep"
order="2"
dir="experiments/cifar10_ddpmpp_deep_continuous_steps"
CUDA_VISIBLE_DEVICES=$devices python main.py --config "configs/vp/cifar10_ddpmpp_deep_continuous.py"
--mode "eval"
--workdir $dir
--config.sampling.eps=$eps --config.sampling.method="dpm_solver"
--config.sampling.steps=$STEP --config.sampling.skip_type=$skip
--config.sampling.dpm_solver_order=$order
--config.sampling.dpm_solver_method=$method
--config.eval.batch_size=1
--config.eval.enable_sampling
--config.model.algorithm=$ALGORITHM
--config.model.mydir=test-$STEP-$ALGORITHM-$order-$skip
' > ./Cifar-origin-10_order2_singlestep_1e-3-time_uniform-check8.out 2>&1 &

Hi @molisi , yes table 6 is based on the first version of DPM-Solver. When I proposed DPM-Solver++, I found a better way to interpolate between time steps so I discarded the implementation for the first version, which causes a little mismatch with the original dpm-solver paper; though the FID numbers are still reasonable.
If you want to exactly reproduce the FID numbers in my original paper, please check this version of example: https://github.com/LuChengTHU/dpm-solver/tree/0aa673cb00cb8c6beddd37074364b7a3c4dbbfff/example_v1


Vp2410/rel v1.1.0

@miczyg1 can you fix or comment on the CI errors?

One copy-pasted paragraph in openness_score.md which is obsolete, removed: 756d3da7889f5d0152fcdf7c38fc5b8cd3899c2b
Broken link to GLK FSP (bug in templates, fixed in the templates), updated: be56759560516eb297cc36cad3ca00a14d4cd9a3
For the rest of broken links, I have no idea, didn't touch them.

Links appear to all be working now

Rebased, updated the release date and updated the openness score pngs. @BeataZdunczyk

@BeataZdunczyk fixed


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/44044

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/59619

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/79531


Code quality fix - The members of an interface declaration or class should appear in a pre-defined order.

This pull request is focused on resolving occurrences of Sonar rule
squid:S1213 - The members of an interface declaration or class should appear in a pre-defined order.
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S1213
Please let me know if you have any questions.
Faisal Hameed

In general I agree with the predefined order; however, I think there should be exceptions to the rule, this being one of those cases. I think keeping all of the Parcelable related declarations together improves the readability of the class. So, I will not be merging this pull request.


Workaround for global RocketChat references in widget

What it does
Fixes #309
This PR removes references to the global RocketChat object in the widget: As of Rocket.Chat 1.0, this global is not available anymore.
Thus, using RocketChat resulted in nullpointer exceptions.
How it's done
There are basically two options to implement it:

Provide dedicated APIs on the client
Provide the necessary functionality without using any RocketChat API

Since the APIs on the client will only be provided in the course of RocketChat apps, it's not likely those APIs would be contributable upstream. Thus, a "dirty" solution which redundantly implements the functionality in the widget has been chosen.

@mrsimpson : can you undo the code format changes that do change every single line in main.js. In the current form it is not possible to review the pull request because with every line changed one can not see what really changed :(

@westei ouch, sorry this was my editor on its own

Those changes are ok with me. Thanks @mrsimpson for the path!

@westei Thanks for merging. However, I am seriously confused about where which changes should go.
Actually, We're currently running 0.8.0 which I believed was the latest and drafted based on https://github.com/redlink-gmbh/smarti/tree/smarti-0.8.0.
The fix I did actually is hotfix for the latest release. When I compared master and the release-tag, I found that there's a difference: master was far beyond. Therefore, I created this PR towards develop assuming you create releases from there. Now, you again merged some commits to develop and I am completely confused which branch holds which state.
Can you please

Create a release which this fix based on what we can use productively?
Either update master to this latest state OR let me know which branch holds which state

Thanks!

This pull request was for develop, so I merged it into this branch.
Yes develop ist for 0.9.0 if you need this for 0.8.0 it needs to be move over to the release_0.8.0.
master SHOULD BE on the tag of the latest release, but it might be that sometimes this merge is not actually performed
I will care about moving this to release_0.8.0 and do a 0.8.1 release
best
Rupert


enhancement: set order of providers for suggested results

Not sure if this is even possible, but when using a mix of providers (say feature layer and geocode service), it would be nice to control which provider appears first in the suggestions.
I have an app where I would prefer suggestions from the feature layer appear first, but the suggestions from the geocode service typically appear first.
If this is possible, and you can steer me in the right direction, I can try to tackle it.

that would make a really nice enhancement.
currently we're just processing each individual batch of suggestions sequentially, drawing them in the same order that responses from remote servers are received.
https://github.com/Esri/esri-leaflet-geocoder/blob/fd58a6b2c5b7156421d7cad9d7bfe3f27910d380/src/Controls/Geosearch.js#L71-L83
in order to achieve the behavior you describe, you'd need to:

find an opportunity to create a unique container for each provider
append each container to the DOM in the same order as the providers were supplied in the constructor.
use the appropriate container as the target when calling DomUtil.create() for each individual header and suggestion (instead of this._suggestions, which is a container for everything in the control).

https://github.com/Esri/esri-leaflet-geocoder/blob/fd58a6b2c5b7156421d7cad9d7bfe3f27910d380/src/Controls/Geosearch.js#L219

@jwasilgeo, this is another opportunity to get involved with the Esri-Leaflet ecosystem.

I'm intrigued. Have you had a chance to try to give this a go? I'm happy to help collaborate and/or review along the way. Very open to discussing a bit more of course.

I started digging in a little, but this is probably a bit beyond where I'm at as a developer currently.  I am open on working on it, but would need some coaching.

@pmacMaps thanks for your willingness to help out.
I finally found a free moment to start looking into this.  @jgravois I appreciate your advice on how we could do this with DOM manipulation alone.  Just to rule another idea out, could we instead go down the path of something along the lines of a Promise.all with the series of XMLHttpRequests that get sent for each provider in this area?
https://github.com/Esri/esri-leaflet-geocoder/blob/fd58a6b2c5b7156421d7cad9d7bfe3f27910d380/src/Classes/GeosearchCore.js#L112-L118
My initial digging tells me this would require wiring up babel with rollup, and I'm not sure yet if altering the tooling and dev dependencies is worth it.

that's definitely an option. (and not a bad one either).
support for Promises is pretty widespread now, but Esri Leaflet supports browsers all the way back to IE8, so you'd definitely have to transpile/polyfill.
one big drawback of that (besides the dev tooling) is that L.esri.requestdoesn't return a Promise. it was architected back in the days of callbacks.
if you're genuinely interested in modernizing the library, I'd probably suggest that you go whole hog and:

resurrect this PR and let @esri/arcgis-rest-request
tag a v3.x that only supports modern/evergreen browsers

that'd be a lot more work than my initial suggestion here, but it has other merits.

Thank you for all this, @jgravois!  Still mulling it all over.  At the moment I am thinking I will probably go back to the DOM manipulation idea.

closed via PR #223

Should there be a new minor or patch version release of this library with this enhancement?

Yes, good question, and I am hoping we can get that taken care of first thing next week.

@pmacMaps https://github.com/Esri/esri-leaflet-geocoder/releases/tag/v2.3.0


Param correction

Correction on some bugs/API.

It looks like the function that returns a two-element tuple or a three-element tuple depending on its inputs was merged. I agree with @ericdill that that is trouble. Can you make refactoring that a priority?

The format of function returns keeps fixed now, and documentation is added.

@danielballan Li and I made some changes to the codebase during code review and added some commits to this PR.  I then merged it locally and pushed to master with the new commits.
See https://github.com/Nikea/scikit-xray/commit/bddfde865687466467c62379d3aa8e1373b3ced3 in particular, which addresses your concern

@tacaswell no, it did not get documented, I will do that now


Merge repos?

@vlm our codebases are diverging. I've been adding bug fixes (probably faster than you do), and had merged APER support that appears to be working. You added OER support. Also, I merged a significant refactoring PR by @brchiu that simplified the code somewhat.
Neither codebase supports constraints correctly (using INTEGER_t type), but my codebase handles larger constraints because it uses long long. I've tested it with a few simple cases, and users that submitted complaints were satisfied by the fixes.
What are we going to do? Ideally, you could embrace and accept my codebase (assuming you're happy with the results of the tests, of course). Because of the @brchiu PR, it would be quite difficult to cherry-pick and retrofit commits either way.
@brchiu would you be willing to help retrofitting OER support to @mouse07410 codebase? If that is done, @vlm probably could just take back that codebase. Alternatively, somebody would need to re-do APER merging, and all of the constraints fixing...
@vlm, @brchiu, @velichkov - what do you say?

@mouse07410, thank you for all your efforts! I took a bit in already, but certainly the divergence is there and has to be dealt with. Lately I've been busy with IOC and OER because of explicit industry-supported need (connected vehicles project). APER is not one of the short term goals so I did not pay much attention to it lately.
A few weeks ago I spent a few days (literally, days) trying to integrate your codebase, and failed along several independent axes. One is that it seems that the "long long" support is incorrect in a few places and just appears to magically work on little-endian platform for simpler examples. I intend to redo it by introducing a more granular integer handling (with u/int{8,16,32,64}_t). So this part will be fixed independently.
The OER that I am pursuing is going to evolve very quickly in the next few days (weeks), so there's that.
The APER effort that you (and someone else, independently) created is valuable, but I found hard to integrate it. Because during that integration I have to go through the spec and ensure that the code does what it supposed to do. And it was hard for me to do for some reason. In any case, this has to wait until I finish OER (which has a hard deadline in a few days, so bear with me).
So overall, my strategy is the following:

Your codebase is valuable from my POV in that it plays with APER; I'll be able to tap into it when I get to it. To what extent is not clear, but having it around is definitely helpful. I'll get to it and integrate it back here.
The OER is gonna be evolving and will get done very very soon.
The integer constraints I'll fix independently.
The rest great bunch of small fixes I would love being reintroduced as several separate, cleaned up and focused PRs. Having them as focused PRs simplifies independent review and quick merging.

hi, Folks,
Since I am a potential asn1c user for S1AP/RANAP/NBAP, so I'd better do something to make APER function works here.
According to my limited knowledge of APER implementation in #125, most of the changes reside in skeleton directory.  After @vlm apply #186, which is a re-implementation of #143 and adds pr 10 of @mouse07410's repository, the difference between @vlm and @mouse07410 repositories' skeleton directories will be smaller.
I can create a new pr and copy those functions with _aper suffix, for example INTEGER_en/decode_aper, OCTET_STRING_en/decode_aper, ..., from mouse07410 repository.
As for newly added OPEN_TYPE.c in @vlm repository, empty APER function stub can be added temporarily for successful compilation.
IMHO, this approach can merge back major part of current APER implementation from @mouse07410 repository back to @vlm's.
Another issue is #185 (S1AP, RANAP and NBAP's failed to be parsed), before @vlm has time for it, I can try to dig into the code and find a solution (or workaround).
I am not acquainted with other changes in @mouse07410 so I won't pay too much attention on merging them here.

According to my limited knowledge of APER implementation in #125, most of the changes reside in skeleton directory. After @vlm apply #186, which is a re-implementation of #143 and adds pr 10 of @mouse07410's repository, the difference between @vlm and @mouse07410 repositories' skeleton directories will be smaller.

@vlm and @brchiu I recommend to not use #125. I had it in my master, then had to back off and replace it a different APER-implementing PR. It addressed several APER and UPER issues that #125 did not handle correctly, and its submitter did not have time for fixing. It still exists in my repo as "branch 125". ;-)
I hope it is feasible to merge the APER support from my master branch - as it's the most-debugged and the richest capabilities-wise.

I am not acquainted with other changes in @mouse07410 so I won't pay too much attention on merging them here.

Frankly, the biggest change - and the one that brought the greatest incompatibility between these two repos was your https://github.com/mouse07410/asn1c/pull/7. Now in retrospective I wish we haven't done that.
@vlm for merging the small fixes in - would you like to make me a co-maintainer of the "main" repo?
For the big ones - I don't dare doing anything on my own.

@mouse07410 , sorry for my misleading description.
I know there are more changes and fixes for APER function in your repository rather than vanilla #125.
I just use it as an illustrative example to show the scope of modification required for APER.
If I prepare this aforementioned PR, I definitely will merge code from your master branch.
For mouse07410#7, as I said, it was re-implemented in #186 since @vlm re-structure the tests directories and I have some new thought about it. (They are minor, don't worry, ex. whether to remove function name mapping in header file, delimiter characters usage ... etc) So even #186 is merged, your repository won't be compatible with @vlm's because of large changes done in recent commits.
Honestly speaking, I don't regret merging these PRs earlier because we don't know when @vlm will come back to this project at that time. Of course it's good to see him continue working on it.

@mouse07410, wrt co-maintainer: please sign the appropriate CLA and send the scanned PDF to my email.

hi @vlm,
By the way, I recently find that the indention of asn1c code become mixing with different style. Perhaps we can use some code formatting tool like astyle or indent to unify them. Moreover, adding a git pre-commit hook to format code before commit ?
Another possible worthy-doing is to use source code scanning tool like Coverity to scan generated code from, for example, J2735 and 1609 standards, which require higher security level. ARM's folks claim their Trusted Firmware was scanned by an on-line (free but limited capability) version of Coverity. Especially if the generated code are to be used in vehicle project which might require MISRA-C check.
Both these are only suggestions for your reference.

The asn1c repository has the .clang-format file which standardizes the code style. I am reluctant to do a sweeping change in the whole codebase, as it will almost instantly provide a tremendous headache for the branches.
So the new code I do is created with that .clang-format style (I have a shortcut in my .vimrc for that), and I encourage to use it. The tiny changes in the old code are to be left with the old style. If a large portion of a single function is getting rewritten, it should move to the new style in its entirety.
This is a bit unfortunate, but I think the style is subordinate to the ease of patch management and working with other contributors.

@vlm, for your info. As of a few weeks ago, my repo is again tracking your master - currently with the branch vlm_master, soon to become the master. It merges #226 from @brchiu and some other bug fixes.

I also encountered errors on 32-bit systems that have already been fixed in mouse07410/asn1c:
per_support.c:238: per_long_range_rebase: Assertion `lb <= ub' failed.

The error is related to the size of the long type on 32-bit systems and was mentioned in several issues.
Like many here, I'm also waiting for these fixes to merge into the main repository.
Thanks!


gh-1884 Major redesign and refactor to change partitioning approach i…

…n Parquet store

Closing whilst fix failing tests.


Images do not load on Safari but work on Chrome

I noticed in Safari images do not load correctly but work on Chrome 🤷♂

This was an oversight of my part before I made the decision to migrate from png to webp. Good news is Safari will be adding webp support on version 14, the bad news a lot of users will not be able to view the readme until the update arrives. Thanks for letting me know, I will keep track of the new v14 usage trend, and see what I can do.


Keep existing highlights and notes, and add sort by chapter progress

This PR adds support for keeping existing highlights and notes, and a new setting to sort highlights by chapter progress, rather than annotation creation date.
The implementation uses a simple approach using the existing files, rather than creating unnecessary complexity by introducing some sort of state management. It uses the bookmark id from the Kobo db as highlight markers. On transformation to markdown, the plugin checks to see if the highlight already exist, and if it does that, it injects the existing markdown, rather than the new. By using the bookmark id in the highlight marker, we are able to handle them as separate blocks. Using comments as highlight markers makes them invisible in read mode.
Tests are refactored to include the highlight markers, and a new test is introduced to test handling of existing highlights.
README is updated with information regarding the changes.
Fixes #91

My Typos 😩 🙈
Thx for fixing them!

This is a nice solution, thanks for the PR!
A few questions:

What if a bookmark goes missing from the DB? I think it would be nice to at least mark the extracted note as stale/deleted. And the user can than decide what to do with it.
I need to check out the code and test, but are highlight markers visible in edit mode in Obsidian? Do you need to explicitly enable source mode? If this is the case, than I think we need to document this as well.
Is the same bookmark ID re-used by kobo if you update an existing highlight? If so, instead of re-using the existing content in the .md file, we might want to replace that with what has been extracted from the DB.

Based on the above, I suggest to create 2 markers, and inner marker and an outer marker:
%%START-c5b2637d-ddaf-4f15-9a81-dd701e0ad8fe%%
<user can type what they want here>
%%START-EXTRACED-BOOKMARK-c5b2637d-ddaf-4f15-9a81-dd701e0ad8fe%%
<text from db, 100% managed by plugin>
%%END-EXTRACED-BOOKMARK-c5b2637d-ddaf-4f15-9a81-dd701e0ad8fe%%
<user can type what they want here>
%%END-c5b2637d-ddaf-4f15-9a81-dd701e0ad8fe%%

This way

We extract the whole block
Keep the highlight up to date or mark as stale
Still preserve user content

wdyt?

Thanks for the feedback.
The markers are visible in regular edit mode(Live preview).

I will investigate if the id is kept on edits, or if a new is created. I'll also see if I can find a good solution of handling it, and also the one regarding removed highlights. In the current implementation, a removed bookmark would mean it would be removed from the file. I'm not foreign to consider your suggestion. I'll get back to you when I have something. ☺👍

Sorry about the slow progress. Between my job and family obligations, I haven't had the time or energy to work on this yet. I just wanted to give an update, so you don't think I've abandoned it. 🙄 Hopefully things will calm a bit down towards the summer, so I can get it done. 👍

@rsletta anything change re your availability? No rush, just checking in.

I so sorry for not working faster. There has been no time to sit down and get back into this yet, even though I hoped I would be able to in my summer holiday. I have to prioritize family time first, and then it hasn't been much left. I can step away if I'm blocking progress, but I do intend to finish what I've started, if there isn't a rush. Sorry for the slow progress. 😕

FYI @rsletta: https://github.com/OGKevin/obsidian-kobo-highlights-import/issues/266#issuecomment-1863348197

Thank's for the heads up. I'm really sorry for dropping the ball on this, not delivering as promised.

I've also added a test case where the highlight is outdated, while having a custom note.

><EMAIL_ADDRESS>test
> mocha

  HighlightService
    Sample Content
      Sample Bookmark with no annotation
        ✔ fromMaptoMarkdown with date
        ✔ fromMaptoMarkdown without date
        ✔ fromMaptoMarkdown with callouts
        ✔ fromMaptoMarkdown with callouts and date
        ✔ fromMaptoMarkdown with custom callouts
        ✔ fromMaptoMarkdown with custom callouts and date
      Sample Bookmark with annotation
        ✔ fromMaptoMarkdown with date
        ✔ fromMaptoMarkdown without date
        ✔ fromMaptoMarkdown with callouts
        ✔ fromMaptoMarkdown with callouts and date
        ✔ fromMaptoMarkdown with custom callouts
        ✔ fromMaptoMarkdown with custom callouts and date
      Sample Bookmark with annotation, with existing highlights and added notes
        ✔ fromMaptoMarkdown with existing file
      Sample Bookmark with annotation, with outdated existing highlights and added notes
        ✔ fromMaptoMarkdown with existing file
    Sample Content Missing
      Sample Bookmark linked to missing content
bookmark seems to link to a non existing content: missing-content-id
        ✔ fromMaptoMarkdown with date
    with multiple content
      ✔ getAllHighlight
      ✔ createHighlightFromBookmark e7f8f92d-38ca-4556-bab8-a4d902e9c430
      ✔ createHighlightFromBookmark d40c9071-993f-4f1f-ae53-594847d9fd27
      ✔ createHighlightFromBookmark 3408844d-65a6-4d23-9d99-8f189ca07d0b
      ✔ createHighlightFromBookmark c0d92aca-e4bb-476a-8131-ee0c0c21ced5

  Repository
    ✔ getAllBookmark (46ms)
    ✔ getBookmarkById null
    ✔ getBookmarkById not null
    ✔ getAllContent
    ✔ getContentByContentId
    ✔ getContentByContentId no results
    ✔ getAllContentByBookTitle (61ms)

  template
    ✔ applyTemplateTransformations default
    ✔ applyTemplateTransformations default
    ✔ applyTemplateTransformations with front matter

  30 passing (161ms)


Changing ITEM.TypeFeat to "Feat/Feature" in en.json creates incorrect naming on feat sheets

Ideally this should just say "Feat". Features still correctly display "Level". A separate localisation key for just "Feat" could easily be created, but I'm not sure where it'd go in en.json

lmao how embarassing


New parser for python

Hello,
Thanks for providing such a great tool. However, I want to use a similar tool on python code. I tried my best and did not find any. Is it possible that you can give me some guide to let me write a parser for python code?
Best

The README says that soon a detailed tutorial will be provided, looking forward to it!

The README says that soon a detailed tutorial will be provided, looking forward to it!

Any news on that? Thanks.

Hi @ldesi  and @Symbolk. I create a parser for Go. Maybe, it can be used to create a generic parser. The Go parser converts a file to a JSON input, and this output is used to create the RefDiff CST.
I think it may be used to python:

You need to define the node types
Define the python extensions
Create a simple AST parser for python. Example of output format:

Click to expand!

[
	{
		"type": "File",
		"start": 0,
		"end": 203,
		"line": 1,
		"has_body": true,
		"name": "types.go",
		"namespace": "",
		"parent": null,
		"tokens": [
			"0-7",
			"8-16",
			"16-17",
			"18-22",
			"23-31",
			"32-35",
			"35-36",
			"36-40",
			"41-49",
			"50-54",
			"55-61",
			"61-62",
			"62-63",
			"63-64",
			"65-69",
			"70-71",
			"73-81",
			"85-86",
			"86-87",
			"87-90",
			"90-91",
			"92-103",
			"104-105",
			"105-106",
			"106-112",
			"112-113",
			"114-115",
			"126-132",
			"132-133",
			"133-134",
			"134-135",
			"136-138",
			"148-157",
			"158-159",
			"162-163",
			"163-164",
			"164-165",
			"166-169",
			"169-170",
			"171-172",
			"172-173",
			"173-174",
			"174-175",
			"176-180",
			"181-182",
			"182-190",
			"190-191",
			"192-196",
			"196-197",
			"197-198",
			"199-200",
			"202-203",
			"203-204"
		],
		"receiver": null
	},
	{
		"type": "Type",
		"start": 23,
		"end": 35,
		"line": 3,
		"has_body": false,
		"name": "IntAlias",
		"namespace": "",
		"parent": "types.go",
		"receiver": null
	},
	{
		"type": "Type",
		"start": 41,
		"end": 63,
		"line": 4,
		"has_body": false,
		"name": "ChanType",
		"namespace": "",
		"parent": "types.go",
		"receiver": null
	},
	{
		"type": "Type",
		"start": 73,
		"end": 90,
		"line": 7,
		"has_body": false,
		"name": "IntSlice",
		"namespace": "",
		"parent": "types.go",
		"receiver": null
	},
	{
		"type": "Type",
		"start": 92,
		"end": 112,
		"line": 8,
		"has_body": false,
		"name": "StringSlice",
		"namespace": "",
		"parent": "types.go",
		"receiver": null
	},
	{
		"type": "Struct",
		"start": 126,
		"end": 134,
		"line": 9,
		"has_body": true,
		"name": "A",
		"namespace": "",
		"parent": "types.go",
		"receiver": null
	},
	{
		"type": "Interface",
		"start": 148,
		"end": 172,
		"line": 10,
		"has_body": false,
		"name": "iA",
		"namespace": "",
		"parent": "types.go",
		"receiver": null
	},
	{
		"type": "Function",
		"start": 162,
		"end": 169,
		"line": 11,
		"has_body": false,
		"name": "A",
		"namespace": "iA.",
		"parent": "iA",
		"receiver": null
	},
	{
		"type": "Function",
		"start": 176,
		"end": 203,
		"line": 15,
		"has_body": true,
		"name": "Test",
		"namespace": "IntSlice.",
		"parent": "IntSlice",
		"receiver": "IntSlice"
	}
]

Hi @rodrigo-brito, we are working on a graduation project and in one part of the project we need to use a refactoring tool such as RefDiff. The problem is that we need it for Python. So I wanted to ask you, how hard is it to create a RefDiff plugin for Python such as the one you created for Go?

Hi @Mosallamy, I spent one month creating the plugin. This week, I will try to create a short tutorial to help the other developers in plugin creation. But the main effort is to create an AST parser to extract the main components of a python file. For example, for the given file (example.py located in my_package):
def foo(x):
    print("x = ", x)

def bar():
    foo(10)

You should return a structure like this:
[
  {
    "type": "File",
    "start": 0,
    "end": 50,
    "line": 1,
    "has_body": true,
    "name": "example.py",
    "namespace": "my_package",
    "parent": null,
    "tokens": [
      "0-4",
      "5-8",
      ...
    ],
  },
  {
    "type": "Function",
    "start": 23,
    "end": 35,
    "line": 1,
    "has_body": true,
    "name": "foo",
    "namespace": "my_package",
    "parent": "example.py",
    "parameters": ["x"],
    "calls": []
  },
  {
    "type": "Function",
    "start": 36,
    "end": 50,
    "line": 5,
    "has_body": true,
    "name": "bar",
    "namespace": "my_package",
    "parent": "example.py",
    "parameters": [],
    "calls": ["my_package.foo"]
  },
]

The start and end values are just an example, it is not the correct position.
But in summary:

For each node, you must extract the position of the token, line number, and parent node.
In the case of functions, you must also extract the parameters and local function calls (e.g foo() in bar function)

If we have this information, we can create the plugin.
Do you have experience with python AST?

@rodrigo-brito Thanks for the fast reply! We have experimented a little with the built in Python AST library.
https://docs.python.org/3/library/ast.html
Form the AST library we can extract the following information:

Function names
Function calls
Body of the function
Function parameters
and other informations, can we use this library as the base for the Python plugin?

As for the Tokens, we've found the following library https://asttokens.readthedocs.io/en/latest/user-guide.html, which returns the positions of tokens

@Mosallamy, I can help you with the code. Can you open a new repository for it? We can use Jython to create the parser and integrate it directly in Java module.

Hey @rodrigo-brito, I just created a repo with a script that parses a python file and extract the following information from any function:

type
name
paramaters
line
start token
end token

Run the Ast.py file to get the output

Hi @Mosallamy, can you share the repository link?

https://github.com/Mosallamy/refdiff-python

Hello @rodrigo-brito, until now we have extracted all of the information out of the AST except for the function calls. Also we have thoroughly read the RefDiff paper and understood the steps required to create a plugin, but we had a problem understanding the exact implementation of the code 😅

Hi @Mosallamy, I will try to create the base of plugin today. I will open a pull request in your repository soon.


Added language annotations for code examples

Json and csharp code annotations were added so syntax highlighting should work

@ulve : Thanks for your contribution! The author, @prashanthyv, has been notified to review your proposed change.

Thank you. Looking into it


feat(ci): Run Host + Client natively in offline mode

Overview
Adds a few jobs to CI to run the host + client program against known witness data in offline mode, over both the Ecotone and Fjord hardfork.

#355  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @clabby and the rest of your teammates on  Graphite

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.9%.

Additional details and impacted files

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.9%. Comparing base (8915dcd) to head (58e5bb6).

Additional details and impacted files

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.9%.

Additional details and impacted files

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.9%.

Additional details and impacted files

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Nested class Pane is now internal

See https://github.com/VsixCommunity/Community.VisualStudio.Toolkit/pull/62

Thanks


Create ER Diagram

Subtask from #5
Description:
Need to design the database with a ER diagram

Connor created ER Diagram
plz post @ConnorGanaway

Added it to the README


Add You have to know this by Bobby BoJanglles for Blunder by Lywke

Song Name
You have to know this
Artist Name
Bobby BoJanglles
Source
Youtube
Youtube Link
YB5p0k8-DQo
Direct File Link
No response
Song ID
346
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 89384184

accept


[FEATURE]

Is your feature request related to a problem? Please describe.
While it may not be a problem, I'm attempting to use the stationary receiver blocks to trigger notes played by the create mod's steam whistles (essentially a pipe organ that can play MIDIs and be controlled through in-game instruments on midi channel 1)
Describe the solution you'd like
It would be awesome to be able to configure the redstone output of the receiver when it matches a played note (ie instead of a pulse, the redstone strength, duration, and fade (or envelope) will match the MIDI note's corresponding values) either through a client config or a built-in GUI for the block (and others with similar functionality like the listener, etc.)
Describe alternatives you've considered
I've attempted living with the pulses, working with More Red to test some theories with gates, but I can't seem to find a way to loop the signal back in to de-activate the redstone signal and stop the notes. The pulsed redstone unfortunately defeats the purpose of having an organ, but for this build I'd really like to make it work (yes, the mod already has one but it isn't very aesthetically pleasing or large enough to fit the scale of the build).

Hello! Apologies for the super late reply. Life got super crazy for awhile and I had pretty much no time for the mod. I've just released Beta versions for a major 4.0.0 update for versions 1.19.2-1.20.4 which adds a new "Note Held" mode to the Listener and Receiver which should allow for the behavior you're wanting!
Please let me know if you have any other issues!


[Question]: A strange page loading behaviour in NetBeans ?

A strange page loading behaviour in NetBeans ?
Hi, there
I am new to playwright and had a go with following code in NetBeans 12.3:
    try (Playwright playwright = Playwright.create()) {
        Browser browser = playwright.firefox().launch(new BrowserType.LaunchOptions().setHeadless(true));
        BrowserContext context = browser.newContext();
        Page page = context.newPage();
        String url = "https://www.morningstar.co.uk/uk/funds/snapshot/snapshot.aspx?id=F00000PBF5&tab=3";
        page.navigate(url);
        page.click("#onetrust-accept-btn-handler");
        page.click("#btn_individual");
        String selector = ".snapshotTitleBox > h1:nth-child(1)";
        ElementHandle eh = page.querySelector(selector);
        System.out.println(eh.textContent());
        page.screenshot(new Page.ScreenshotOptions().setPath(Paths.get("screenshot.png")).setFullPage(true));
        browser.close();
    }

It failed to get 'eh' and the screenshot.png is blank. However, if I run it step-by-step in NetBeans' debug mode (with breakpoint set at eh=... line), it works and the screenshot.png is correct. I suspect it is related to page-loading and I have tried various waitFor* method on page/navigation levels, and also disabled timeouts. None of them works. I don't understand why and don't know what I should try next. Could anyone give me a tip, please?
Thanks in advance,
George

It failed to get 'eh' and the screenshot.png is blank. However, if I run it step-by-step in NetBeans' debug mode (with breakpoint set at eh=... line), it works and the screenshot.png is correct.

Looks like a timing issue: when you run it step-by-step in NetBeans it has enough time to load and render the element while under playwright you query it too soon and it's not there yet. Note that querySelector will not wait for an element if it's not there. Page.waitForSelector will for the element to appear, use that instead. See also this page for more information about auto-waiting in Playwright.

Thank you, Yury, for the tip.
I have replaced the eh=... line with following line and it works.
ElementHandle eh = page.waitForSelector(selector,new Page.WaitForSelectorOptions().setTimeout(0));


Request - siren alarm on FN2 after SOS

For safety purposes requesting return of siren alarm on FN2 button press after the SOS.
Thank you for all the great features!

I don't quite get what you mean. Try google translate. If you wan't an alarm function you can add this in build options. QS already had it. Not an SOS, but still good for emergencies.

Thank you for the quick review of this......the original fw when you did a long press of FN2 it would cause a siren noise to be emitted. Could this be available in the new FW please with the same long press on FN2?

There is a build option in the Makefile in this project that you can use to turn this option on.  I'm not going to add that, it is useless to me and it takes memory space. Read the readme, and the wiki, ask on telefram or facebook, community will help you. I don't have a time to be a personal support.

Thank you for the guidance.


Fix the issue with opm index prune.

If the directory is missing the secret isn't copied to the right place and the opm index prune command fails.
Signed-off-by: Alexander Chuzhoy<EMAIL_ADDRESS>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.
Fixes # (issue)
Type of change
Please select the appropriate options:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] This change is a documentation update

Testing
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Versions:
Hardware:

Checklist

[ ] I have performed a self-review of my own code
[ ] If a change is adding a feature, it should require a change to the README.md and the review should catch this.
[ ] If the change is a fix, it should have an issue. The review should make sure the comments state the issue (not just the number) and it should use the keywords that will close the issue on merge.
[ ] A change should not be merged unless it passes CI or there is a comment/update saying what testing was passed.
[ ] PRs should not be merged unless positively reviewed.

cc @flaper87 @alknopfler

successfully tested!


Ground items issue at Whisperer

Type
Incorrect behavior
Operating System
Windows
OS Version
No response
Bug description
For example, if i get a manta ray, prayer restore, and ancient brew drop and i only pick up the prayer restore and ancient brew, over the course of the next few kills, it seems that the manta ray drop ground item indicator starts saying there is more and more manta rays. in the screenshot im providing it shows 15 manta rays and i right clicked it and there is still only 3 on the ground but the loot overlay from ground items says 15 still
Screenshots or videos

RuneLite version

Logs
No response

Restart your client. It's fixed in <IP_ADDRESS>

thanks

im still having the issue after updating client

That screenshot looks accurate? Ground items says you have one 3-dose prayer potion, which your minimenu confirms

Also, this is a duplicate of #16930


Gaussian Splatting

PG to test: https://playground.babylonjs.com/#Y54RPQ
with snapshot : https://playground.babylonjs.com/?snapshot=refs/pull/14578/merge#Y54RPQ#0
I'm not very experienced with webworkers and array sharing/detaching, so thank you for an extra care on that part in your review.
Known issue: when manipulating the GS with a gizmo, it disappears. It's under investigation.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Visualization tests for webgl2 have failed. If some tests failed because the snapshots do not match, the report can be found at
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14578/merge/testResults/webgl2/index.html
If tests were successful afterwards, this report might not be available anymore.

I forgot to say in my review that some docs are missing (I don't know why it's not caught by the CI?).


Collate Code: Jiachao and update Project Portfolio

Add a batch file to collate code automatically.
To use:
Just the code that you've contributed with

or
//@@author github-username
Then click on the collateCodeBatch.bat file and the script will run and your code will ba automatically collated.

Coverage increased (+0.06%) to 92.832% when pulling 046f0b555417f83b80e33c76e6782409cbe6c3ce on lincredibleJC:feature/Collate_Jiachao_Code into 139abfc5e953713e9928adf0c60493fe721f6f92 on CS2103AUG2017-T16-B2:master.

Coverage remained the same at 92.233% when pulling ce7974a81007ffb83536568c966e372bd2ef23e7 on lincredibleJC:feature/Collate_Jiachao_Code into d989f341f47912d58e68fee2333bc4b841c20b1c on CS2103AUG2017-T16-B2:master.

Coverage remained the same at 92.233% when pulling ce7974a81007ffb83536568c966e372bd2ef23e7 on lincredibleJC:feature/Collate_Jiachao_Code into d989f341f47912d58e68fee2333bc4b841c20b1c on CS2103AUG2017-T16-B2:master.

Coverage remained the same at 92.233% when pulling feefc3d57c61208c1eafe456109933240306885b on lincredibleJC:feature/Collate_Jiachao_Code into b9fbfb72505c42e41f0d040dd5688e47a868e01b on CS2103AUG2017-T16-B2:master.

Coverage remained the same at 92.233% when pulling ed3f040ac1cf8d213c15351c2379457232d5151f on lincredibleJC:feature/Collate_Jiachao_Code into b9fbfb72505c42e41f0d040dd5688e47a868e01b on CS2103AUG2017-T16-B2:master.

Coverage remained the same at 92.233% when pulling ed3f040ac1cf8d213c15351c2379457232d5151f on lincredibleJC:feature/Collate_Jiachao_Code into b9fbfb72505c42e41f0d040dd5688e47a868e01b on CS2103AUG2017-T16-B2:master.

Coverage remained the same at 92.233% when pulling ea33e774cdeeb0f310962dbeb1d8437c66bfc780 on lincredibleJC:feature/Collate_Jiachao_Code into b9fbfb72505c42e41f0d040dd5688e47a868e01b on CS2103AUG2017-T16-B2:master.

Coverage remained the same at 92.233% when pulling ea33e774cdeeb0f310962dbeb1d8437c66bfc780 on lincredibleJC:feature/Collate_Jiachao_Code into b9fbfb72505c42e41f0d040dd5688e47a868e01b on CS2103AUG2017-T16-B2:master.

Coverage remained the same at 92.233% when pulling 50d8dae5d905fe80cc90cd0fd597b6c12fbbfcd2 on lincredibleJC:feature/Collate_Jiachao_Code into 978f433a52f1d3870345438f1564c16173626cb4 on CS2103AUG2017-T16-B2:master.


Error when Updating/Installing Extension: Response doesn't appear to be JSON

VSCode Version: 1.5.2
OS Version: Windows 10 Pro 64bit

When I open VScode, it shows me that I have 3 outdated extensions.
I go into the extensions panel and click on "Update" button.
I get the error: Response doesn't appear to be JSON

What does this mean? How can I fix it?
I am behind a proxy, but it doesnt seem to be the problem because I am able to browse the available extensions, and VScode can successfully connect to tell me which one's are outdated.
Thanks,
David

@DaveyD Can you tell me the extension that causes this error?

@joaomoreno - Thanks.
The problem was with every extension and theme.
However, I just realized this morning that the cause was my proxy because it was blocking vsassets.io. Once I had them unblock that, everything began to work perfectly.
Does that make sense? (In any case, it's working now... I guess this can be closed?)
Thanks,
David

Thanks for letting me know.


Upgrading catch to version 1.5.0

Changes made:

Using single_include (instead of copying all include files)
Adding catch_with_main.hpp to includes

Thank you very much!


Reports

The entire reporting system needs to be written to include the following:

Generation of reports with the required information
Ping needs to report back the success or failure of contacting the internal and external addresses

Reports should have their location stored in a file to be easily listed in the reports section of the webpage

Very basic version impelemented.


Login Dialog Box opens and closes automatically

obj.ShowDialog() //is the function call
This issue we are facing in a particular Microsoft Surface Pro device. The dialog box appears and closes automatically. Does not wait for the user input for username and password.
Can you please help us with this?
Thank you.
Susarla Nikhilesh.

Same issue here, did you find a solution?

@KyrXtz We didn't. We instead wrote our own oauth with ui and used.
Thank you.

me also same issue

Hi,
We didn't find a solution either. We instead wrote our own application for
it.
Thank you.
Susarla Nikhilesh
On Tue, Aug 20, 2019 at 5:57 PM chicly<EMAIL_ADDRESS>wrote:

me also same issue
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/alekseynemiro/Nemiro.OAuth.LoginForms/issues/11?email_source=notifications&email_token=ABBIHKFTPRHM53HEBT3HQB3QFPPMLA5CNFSM4F6S7EXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4WDLMI#issuecomment-522991025,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABBIHKFF4F7KAOHB7GST55TQFPPMLANCNFSM4F6S7EXA
.

first use dll file same problem occur so that download nemiro.auth.loginform project added my project to occur same issue how to solve.

Now it's work


Two feature requests

need to provide a ref to the underlying input so it can be used with something like react hook forms easily for validation
would like an option for a 'forced selection'

You can pass your own ref to the input using inoutProps in the latest version.
Can you please explain do you mean by 'forced selection'?

You can type anything in - I mean requires a selection
On Tue, Jun 2, 2020, 6:37 AM Arkadii Berezkin<EMAIL_ADDRESS>wrote:

You can pass your own ref to the input using inoutProps in the latest
version.
Can you please explain do you mean by 'forced selection'?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/moroshko/react-autosuggest/issues/744#issuecomment-637450811,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABAKNDYAC4QZ4AMXJIWY6TRUTI6LANCNFSM4NC5BXDA
.

Can't quite understand what you mean. Can you provide an example?

let me better description.
Let's say you want a autocomplete with a list of countries in a dropdown.   The user needs to select a country.
In your examples, i can type anything in and nothing is then validating I actually selected a country

would like an option for a 'forced selection'

@aberezkin For example https://ant.design/components/select

In many cases, I want this function
From my experience
But I think it's going to be a difficult task


Layout/IndentationStyle EnforcedStyle tabs leads to an infinite loop unless IndentationWidth is set to 1

Using just:
Layout/IndentationStyle:
  EnforcedStyle: tabs

instead of:
Layout/IndentationStyle:
  IndentationWidth: 1
  EnforcedStyle: tabs

leads to an infinite loop detected error.
Second, but related bug
Setting the IndentationWidth to 1 actually makes RuboCop indent 2 tabs instead of 1. I tried setting it to 0 but that does nothing instead. I figure these two bugs are closely related so it's not worth creating a second ticket for. If that's not the case, just let me know and I will create a separate ticket for that bug.

Expected behavior
Rubocop automatically indents lines with tabs just as it would with spaces
Actual behavior
Run:
rubocop --auto-correct --debug

Output:
...
0 files inspected, 41 offenses detected, 40 offenses corrected
Infinite loop detected in /Users/joey/Sites/AcquireApp/backend/Gemfile and caused by Layout/CommentIndentation, Layout/IndentationConsistency, Layout/IndentationStyle, Layout/IndentationWidth -> Layout/CommentIndentation, Layout/IndentationConsistency, Layout/IndentationStyle, Layout/IndentationWidth -> Layout/CommentIndentation, Layout/IndentationConsistency, Layout/IndentationStyle, Layout/IndentationWidth, Layout/LineLength
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/runner.rb:304:in `check_for_infinite_loop'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/runner.rb:287:in `block in iterate_until_no_changes'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/runner.rb:286:in `loop'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/runner.rb:286:in `iterate_until_no_changes'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/runner.rb:255:in `do_inspection_loop'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/runner.rb:132:in `block in file_offenses'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/runner.rb:157:in `file_offense_cache'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/runner.rb:131:in `file_offenses'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/runner.rb:122:in `process_file'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/runner.rb:101:in `block in each_inspected_file'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/runner.rb:100:in `each'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/runner.rb:100:in `reduce'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/runner.rb:100:in `each_inspected_file'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/runner.rb:86:in `inspect_files'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/runner.rb:47:in `run'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/cli/command/execute_runner.rb:26:in `block in execute_runner'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/cli/command/execute_runner.rb:52:in `with_redirect'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/cli/command/execute_runner.rb:25:in `execute_runner'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/cli/command/execute_runner.rb:17:in `run'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/cli/command.rb:11:in `run'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/cli/environment.rb:18:in `run'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/cli.rb:65:in `run_command'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/cli.rb:72:in `execute_runners'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/lib/rubocop/cli.rb:41:in `run'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/exe/rubocop:13:in `block in <top (required)>'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/2.7.0/benchmark.rb:308:in `realtime'
/Users/joey/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rubocop-1.8.1/exe/rubocop:12:in `<top (required)>'
/Users/joey/.rbenv/versions/2.7.1/bin/rubocop:23:in `load'
/Users/joey/.rbenv/versions/2.7.1/bin/rubocop:23:in `<main>'
Finished in 0.6281139999991865 seconds

Steps to reproduce the problem
Add the following to .rubocopy.yml
Layout/IndentationStyle:
  EnforcedStyle: tabs

RuboCop version
$ bundle exec rubocop -V
warning: parser/current is loading parser/ruby27, which recognizes
warning: 2.7.2-compliant syntax, but you are running 2.7.1.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
1.8.1 (using Parser <IP_ADDRESS>, rubocop-ast 1.4.0, running on ruby 2.7.1 x86_64-darwin20)
  - rubocop-rails 2.9.1

Potential Solutions

Automatically set IndentationWidth to 1 when EnforcedStyle is tabs

Document that IndentationWidth must be set to whenEnforcedStyleistabs`

(Secondary bug) Make sure tab indentations are only 1 width (not 2), potentially ignoring any option other than 1 for tabs

Pinging @DracoAter as he originally created the IndentationStyle cop and probably knows the most about how it works.
P.S. As a fellow stubborn-tab-user I really appreciate you creating this cop because it's what finally made me happy using rubocop in my projects

Pinging @DracoAter as he originally created the IndentationStyle cop and probably knows the most about how it works.
P.S. As a fellow stubborn-tab-user I really appreciate you creating this cop because it's what finally made me happy using rubocop in my projects

Upon further debugging, I was able to get the desired behavior. Although this may be a "bug" I think it could sufficiently be corrected with improved documentation.

If Layout/IndentationStyle -> EnforcedStyle is set to tabs, then Layout/IndentationStyle -> IndentationWidth MUST be set to 1. To avoid double indentation it is also recommended to set Layout/IndentationWidth -> Width to 1.

Alternatively, a fix for this bug would be to change line 85 to  "\t" * match.size and making not that IndentationWidth is ignored when EnforcedStyle is tabs.
https://github.com/rubocop-hq/rubocop/blob/3dc4e6298e6caa96fcc11a6d2a614ce6a2d4c44d/lib/rubocop/cop/layout/indentation_style.rb#L82-L88
I still think adding a note about setting LayoutIndentation/Width to 1 would be helpful. I'll make a pull request now for these changes.

Upon further debugging, I was able to get the desired behavior. Although this may be a "bug" I think it could sufficiently be corrected with improved documentation.

If Layout/IndentationStyle -> EnforcedStyle is set to tabs, then Layout/IndentationStyle -> IndentationWidth MUST be set to 1. To avoid double indentation it is also recommended to set Layout/IndentationWidth -> Width to 1.

Alternatively, a fix for this bug would be to change line 85 to  "\t" * match.size and making not that IndentationWidth is ignored when EnforcedStyle is tabs.
https://github.com/rubocop-hq/rubocop/blob/3dc4e6298e6caa96fcc11a6d2a614ce6a2d4c44d/lib/rubocop/cop/layout/indentation_style.rb#L82-L88
I still think adding a note about setting LayoutIndentation/Width to 1 would be helpful. I'll make a pull request now for these changes.

It looks to me like the Layout/IndentationWidth cop is redundant to the IndentationWidth parameter of Layout/IndentationStyle cop. Would it make sense to deprecate one and standardize on the other?
There are some places that check both:
https://github.com/rubocop/rubocop/blob/689d473bccf3cef525a53f51820ca34fc191455d/lib/rubocop/cop/mixin/line_length_help.rb#L88-L91
It would be really weird of the two values differed from each other. We should just standardize on one.

Having this same issue with relaxed.ruby.style + Layout/IndentationStyle: EnforcedStyle: tabs


fix: custom fields now populate when loaded from the database

:books: Documentation preview :books:: https://mrmoe--156.org.readthedocs.build/en/156/

Codecov Report

Merging #156 (a55fb68) into master (4facd17) will decrease coverage by 0.02%.
The diff coverage is 97.29%.

@@            Coverage Diff             @@
##           master     #156      +/-   ##
==========================================
- Coverage   98.31%   98.29%   -0.03%
==========================================
  Files          33       33
  Lines        1845     1872      +27
==========================================
+ Hits         1814     1840      +26
- Misses         31       32       +1


Odd behavior with .apply in version 2023.4.0 and Python 3.11 - "foo" values present

Describe the issue:
I am seeing some odd "foo" values being passed to a function used in an .apply call. I have observed this with Dask version 2023.4.0 and Python 3.11. I have not tried to reproduce this on other Python versions, but this seems to be isolated to version 2023.4.0.
Minimal Complete Verifiable Example:
import pandas as pd
import dask.dataframe as dd

df = pd.DataFrame({'vals': [(0, 1), (0, 1), (100, 100)]})
dask_df = dd.from_pandas(df, npartitions=1)

def my_func(x):
    print(x)
    return x

dask_df["vals"].apply(my_func, meta=("vals", tuple([int, int]))).compute()

Output with Dask 2023.4.0:
foo
foo
(0, 1)
(0, 1)
(100, 100)
0        (0, 1)
1        (0, 1)
2    (100, 100)
Name: vals, dtype: object

Output with Dask 2023.3.2:
(0, 1)
(0, 1)
(100, 100)
0        (0, 1)
1        (0, 1)
2    (100, 100)
Name: vals, dtype: object
Name: vals, dtype: object

Anything else we need to know?:
I'm using the simple function my_func in the apply call here for illustrative purposes and printing the values to show the function gets called twice with x=foo before it gets called with the real series values. This issue was discovered when the real function I was using was expecting tuple inputs and failed when it received the string foo instead. Dask seems to happily ignore the foo values that are returned when constructing the output series since they aren't present there.
Environment:

Dask version: 2023.4.0
Python version: 3.11
Operating System: macOS Monterey
Install method (conda, pip, source): pip

Hi, thanks for your report. This was caused while adapting to a pandas deprecation. See https://github.com/dask/dask/pull/10133
Should be straightforward to fix


Create 0000-01-02-alphiya123.md

A botany student, who is now interested in computers and tech world and I found tech world  is quite fascinating.

I am fine


Disable ivy-rich or make it an option

Ivy-rich is very slow when scrolling through open buffers. Is there a way to disable it?
I have tried this in my private package.el
(package! ivy-rich :ignore t)

But this does not seem to work

It should be :disable t, not :ignore t.
(package! ivy-rich :disable t)

:ignore simply instructs the package manager not to deal with it, whether or not it is installed or not.

Ivy-rich is disabled now. I am not sure how its working 😅. It is having the exact same code as mentioned above. I am guessing that SPC h R does not disable ivy-rich. Restarted emacs and ivy-rich is not shown now.


UI components

This epic represents all the components that needs to be created.
Acceptance criteria

All components are using the brand theme
Components are running in isolation within StoryBook
Components are being mapped to corresponding content types in Sanity

Below is the list as per 1/2-21, but separate user stories will be made for each one.
List of components

Top banner (image/video display - alternate crop display/carousel) - NEW overlay with content & links REF IEA

Template 1/option 1. Superhero
Template 2/option 2. Hero
Template 3/option 3. Workhorse

Rich text component
Lists (Option for 'swipe' display on mobile as today) Currently we have 3 displayed on desktop… Consider scroll on desktop? REF Ikea and apple?

News link. Build as ‘child of’ with additional option for tags display.
Link. Build either by ‘child of’ or by ‘editor select’ (fixed – see front page current topics)
Newsroom – Needs to be redesigned and re-thought through with better use of tagging.
Calendar. Build either by ‘child of’ or by ‘editor select’ (fixed) Needs redesign
Stories. Build as ‘child of’ with additional option for tags to filter. Should this be solved with tags in newsroom instead?

Simple list. by ‘editor select’ (fixed). Just link titles and arrow.

Buttons

Need to define where to link to (internal/external)
Button title if needed
Option to add anchor point
Differentiate look on download buttons?
Other links/hyperlinks?/download/add to calendar/buttons design)

SVG container (housing icons/illustrations)
Video
Carousel – Image only? Option for links
Accordion – Combines with other components to expand content (image/text/icon) REF equinor.com
Anchor (no design)

Provides a specific URL to the point on the page (eg: https://www.equinor.com/en/how-and-why.html#health-safety-security)
Provides point for a button to link to on a page
-in page navigation (ref IEA)

Big numbers (including count up? Currently have, but maybe not needed) New design treatment? Define a font size variant.
Table (inc REMIT)
Iframe holder
RSS feeds
Image (full width at various crops/within column/above-next to/16-9/1-1/circle framed)
Stock holder (feed to show OSE /NYSE)
NEW – Tile based component? How to multi link if there are several pages to reference?
NEW - Promotion container (one line + button/image + intro + button) More tile-based REF Ørsted?
FOOTER / ROOT

Content
Redesign
Combine with SOME links?

Back to top button
In page navigation? - user can jump to certain anchor points on a page.
Animation elements

Animation on button/arrows (morgendagens)
Animation on menu reveal when user scrolls down and either stops/scrolls up (morgendagens/servicenow)
Animation on menu tabs?
Animation on menu button for mobile/satellite template.

Complete list of components can be found at here.

We haven't really created user stories for most of the components. We have this epic listing them up, but right now the components are only somewhat mentioned in the News Article epic and of course in Figma. Would it be valuable to have a more "formal" definition of the components in the form of user stories as well?

Closiing this. Any future UI components will be created as separate issues FYI @meols @nilsml


Pest in PHPStorm

Is this the "Pest" plugin?

No. It isn’t. Please, use https://github.com/pestphp/pest-intellij#installation to install early version of this plugin.

No. It isn’t. Please, use https://github.com/pestphp/pest-intellij#installation to install early version of this plugin.

Thank you and we will check this.

@menjilx No stable release has been made yet :) So you have to use the EAP version.
Will tweet when a stable release is out 👍


How to write recall in json log file

Hello everyone
when i train my own dataset
every epoch will verification onse
i use command like this
python tools/train.py {MyConfig} --work-dir {MyWorkDir}
and program will train and show some info like this( this example is first epoch so mAP is bad)
Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.000
Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.000
Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.000
Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = -1.000
Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.000
Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = 0.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = -1.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.000
Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.000
when train finish , it will show train log json     yyyymmdd_hhMMss.log.json
and every verification  info like this
{"mode": "val", "epoch": 1, "iter": 36, "lr": 0.00142, "bbox_mAP": 0.0, "bbox_mAP_50": 0.0, "bbox_mAP_75": 0.0, "bbox_mAP_s": -1.0, "bbox_mAP_m": 0.0, "bbox_mAP_l": 0.0, "bbox_mAP_copypaste": "0.000 0.000 0.000 -1.000 0.000 0.000"}
I want to add Average Recall  info into json
how should i do?
THNAK!!!

Add what you want to eval_results.

#3497


Add support for the Saga pattern by enabling multiple actions in a transaction

NOT FINISHED - DISCUSSION
I want to use this library in combination with Redux Saga. And with Redux Saga, you chain actions to create more complicated UI modifications. These chained actions can be synchronous or asynchronous.
And I want some of these actions to be reversible, and optimistic. To do that I need to be able to revert multiple actions that are part of the same transaction.
 All actions with the same meta.optimistic.id get filtered out of the history on a revert.
This should be useful for all kinds of asynchronous action libraries where you can chain actions.
E.g. redux-saga, redux-thunk, redux-observable
And of course, all functionality before these changes stays unaffected.

Why not give each action its own id? Then just revert the action instead of the entire transaction. Assigning an id on a per-transaction basis makes for an all-or-nothing approach, right? If you have a test case in mind that'd probably help me understand the problem better.

Because then I have to keep track of all the IDs of all the actions in that particular transaction. And revert them all one by one.
Think of it like a DB transaction. You have a sequence of DB queries, in a transaction, and if any one of them should fail, all should fail. And you roll back the changes.
The equivalent of what you're proposing would be to roll back each of the queries on by one.
My particular use case is that I am composing my actions from smaller actions, to minimize code repetition inside the reducers.
So e.g. REQUEST_DATA, other than just fetching the data, also triggers SET_LOADING, and then CLEAR_LOADING when it finishes, then as a result of the data pull, I call another action action which loads the data that this action fetched.
Now if I want to optimistically set some variable before I confirm it with the server (with a subsequent REQUEST_DATA) I also have to rollback SET_LOADING, if it fails, or else my loading counter will be off.
I could make SET_LOADING reducer logic part of the REQUEST_DATA, but I use it in other places, so I'd prefer to compose them rather than duplicate them (the SET_LOADING reducer logic).

With that pattern, won't you have an entity integrity problem? As i understand it, you have a single loading boolean somewhere in your state that is turned true when something requests data & false when that data comes back. That means you can't make 2 requests for data. Alternatively, I'd suggest that loading is a computed property. Your loading flag is true when getState().history.size > 0.
If you have multiple loading flags in your state, then each will be managed by its own reducer & this isn't a problem.
PS, if you're doing async work with your own server, I'd suggest you try cashay, which is like relay, but for redux: https://github.com/mattkrick/cashay. it makes life MUCH easier.

No I have a loading counter, 0 <> +Inf, and a global Loading indicator, which is indicating something is loading if the counter is positive, then I have a per-entity loading boolean, to indicate if that particular entity is currently being loaded.
Thank you for the suggestions! I'll check out cashay.
So what do you think of these changes? I think they are a nice inexpensive improvement to the current functionality.

yeah, it looks minimally invasive & i don't see a huge performance hit to include the changes. I'm not sure I understand it 100%, but if you write up a couple unit tests, I can dig in a little more. In the meantime I'll get a TravisCI on this repo

This sounds awesome. I would love to have multiple actions in a transaction.

@clayne11 It's not that much code. If you'd like to take over, please go ahead! Right now I unfortunately don't have time to finish this work :(


chatter:0.1.0

I am submitting

[x] a new package
[ ] an update for a package

Chatter is a dialog template designed for speed and ease of printing.  I use it mostly for simple translations, but it would also be great for screenplays or other theater related activities.  For me the most important feature is ergonomics and easy repeatability for a single class or assignment group.

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

Sweet thanks!

Thank you!


serverless-middleware incompatibility with serverless-webpack

I've been trying to use middleware with serverless-webpack and encountered some issues that almost make it impossible to combine serverless-middleware, serverless-webpack, and TypeScript.
The problem arises when placing serverless-middleware before serverless-webpack in the plugins list within serverless.yml. This causes the function's entry point to change from /path/to/invoked.handler to .middleware/functionxxx/, a clever behavior. However, a hurdle emerges: the outcome of the middleware contains imports like:
import * as src_middlewares_logger from '../src/middlewares/logger.js';
import * as src_handlers_index from '../src/handlers/index.js';
import * as src_middlewares_errorHandler from '../src/middlewares/errorHandler.js';

Later, when Webpack attempts to bundle these files, it results in an error. The cause of the error is that, unlike serverless-typescript-plugin which transpiles TypeScript to JavaScript and doesn't mind if files exist or not, Webpack expects JS files and throws a MODULE NOT FOUND error.
To address this, I need to either transpile those files using tsc to create JS files, or set up a separate Webpack build to bundle them into JS before invoking serverless-middleware. This way, when the actual serverless-webpack processes the serverless-middleware-wrapped functions, it encounters JS files and avoids the MODULE NOT FOUND error.
Another approach is to reorder the plugins, placing serverless-webpack after serverless-plugin-typescript. This resolves the issue by generating JS files, but it contradicts the initial intent of using serverless-webpack to avoid the overhead introduced by serverless-plugin-typescript.
A potential solution might involve modifying how files are imported in serverless-middleware wrapped functions, and removing the file extension to ensure compatibility with middleware placement. Additionally, if serverless-middleware could be configured to read bundled files by specifying the root, it might offer a cleaner solution.
For now, I've positioned serverless-middleware after serverless-plugin-typescript, though this creates unnecessary overhead due to middleware wrapping, building, and bundling in sequence, which doesn't seem ideal.
also, there should be a way to include middleware in webpack build, by reading middleware directory or providing them from middleware plugin to webpack cause right now my approach to include middleware in webpack is by adding them to entry object in webpack, it's not necessary to do it if serverless-middleware was mentioned after serverless-typescrypt-plugin (which is not a good practice at all)
    entry: {
      ...slsw.lib.entries,
      'src/middlewares/errorHandler': './src/middlewares/errorHandler.js',
      'src/middlewares/logger': './src/middlewares/logger.js',
    },

Hi @rezaerami ,
Thanks for the extensive description.
I've used serverless-middleware together with serverless-webpack in the past without a problem.
So, either you have something misconfigured or something has changed in the latest versions breaking things.
As you have noticed, middleware works by create a single handler that imports all the middlewares and chain them into a single handler as expected by serverless. So, serverless-middlware should always be declared before serverless-webpack.
Reading at the issue, the problem here seems to be: why can't webpack find the imported modules?

A potential solution might involve modifying how files are imported in serverless-middleware wrapped functions, and removing the file extension to ensure compatibility with middleware placement.

File extensions were introduced in version 3.2 to enable support for esm modules. Node is flexible with the extensions but EcmaScript requires etensions.
Is the problem that your webpack loader doesn't support file extensions somehow?

Additionally, if serverless-middleware could be configured to read bundled files by specifying the root, it might offer a cleaner solution.

What do you mean?
serverless-middleware reads whatever is in your yaml (handlers & middlewares) and creates the wrapping function.
It doesn't  matter if the

Another approach is to reorder the plugins, placing serverless-webpack after serverless-plugin-typescript.

Why are you using both plugins?
Aren't both of them essentially for the same (to transpile TS to JS)?

there should be a way to include middleware in webpack build, by reading middleware directory or providing them from middleware plugin to webpack

I don't understand this.
Webpack should be able to read files for whichever folder they are, isn't it?
Why does it matter if files are in src or .middleware?
If you create a sample project for me to replicate I can try to help more.

not sure if you have used them with TS before cause JS works fine.
The reason webpack can't find JS modules is that they are not created yet by webpack itself.
so serverless-middleware creates a file and in the file imports are pointing to JS files
Those JS files later should get created by webpack, so this is the order of workflow that webpack expects

webpack sees the middleware ts file
bundles the ts file with its imports together
gives us a bundled JS file

but since those js files (imports inside wrapped function file in .middleware) are not created by webpack yet, when it reaches to middleware TS file, it tries to import them but it can't so it puts module not found in the bundled middleware file,

Is the problem that your webpack loader doesn't support file extensions somehow?

here is my webpack config
const slsw = require('serverless-webpack');
const nodeExternals = require('webpack-node-externals');
const path = require('path');

const webpackConfig = () => {
  console.log('beginning of webpack build', slsw.lib.entries);

  return {
    mode: slsw.lib.webpack.isLocal ? 'development' : 'production',
    entry: {
      ...slsw.lib.entries,
      'src/middlewares/errorHandler': './src/middlewares/errorHandler.js',
      'src/middlewares/logger': './src/middlewares/logger.js',
    },
    target: 'node',
    externals: [nodeExternals()],
    resolve: {
      extensions: ['.ts', '.js'],
      alias: {
        '@': path.resolve(__dirname, 'src/'),
      },
    },
    module: {
      rules: [
        {
          test: /\.ts$/,
          use: 'ts-loader',
        },
        {
          test: /\.js$/,
          use: 'babel-loader',
        },
      ],
    },
  };
};

module.exports = webpackConfig();

What do you mean?
serverless-middleware reads whatever is in your yaml (handlers & middlewares) and creates the wrapping function.
It doesn't matter if the

let's say if I could make middleware create functions on different directories
so now if I try to di it my serverless.yl will look like this
    pre:
        - .webpack/services/path/to/middleware.foo

then the import for middleware in wrapped handler file will also look like this
import {foo} from ".webpack/services/path/to/middleware.js but the directory that wrapped function is already created in is ".webpack/services" so this import path won't be correct anymore
although this is just in case that we could put middleware after serverless-webpack, but since you said it always has to come before webpack this option is out!
I don't understand this.
Webpack should be able to read files for whichever folder they are, isn't it?

this is again in case we could put webpack before middleware which is also not an option anymore
here is the sample project:
https://github.com/rezaerami/serverless-middleware-test
make sure to run yarn
yarn
and then you can test that function with
serverless invoke local --function function1
node 18x is required

Alright!
Thanks for the sample repo.
Your problem is, as expected, it related with version 3.2.0 of middleware adding the .js extension to imports and to your webpack config and haw webpack resolves modules.
You can read more about the benefits of adding the js extension to imports in Typescript here: https://www.typescriptlang.org/docs/handbook/esm-node.html
#45 is the issue in this repo that prompted me to add it.
The problem is that ts-loader doesn't natively support having imports with a .js extension.
Some plugins were created as workarounds for this. Fortunately, since webpack v5.74.0, an option called  extensionAlias was added to resolve this case.
Your webpack.config.js should look like:
const slsw = require('serverless-webpack');
const nodeExternals = require('webpack-node-externals');
const path = require('path');

const webpackConfig = () => {
  console.log('beginning of webpack build', slsw.lib.entries);

  return {
    mode: slsw.lib.webpack.isLocal ? 'development' : 'production',
    entry: slsw.lib.entries,
    target: 'node',
    externals: [nodeExternals()],
    resolve: {
      extensions: ['.ts', '.js'],
      // This is the key. This tells webpack to load files with js extension as ts
      extensionAlias: {
        '.js': ['.js', '.ts'],
      },
      alias: {
        '@': path.resolve(__dirname, 'src/'),
      },
    },
    module: {
      rules: [
        {
          test: /\.ts$/,
          use: 'ts-loader',
        },
        // You don't need this anymore as everything will be loaded using ts-loader.
        // {
        //   test: /\.js$/,
        //   use: 'babel-loader',
        // },
      ],
    },
  };
};

module.exports = webpackConfig();

btw, your project has some incompatible dependencies that you should probably look into:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/typescript
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>|| 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x" from<EMAIL_ADDRESS>npm ERR! node_modules/typedoc
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@blazed-space/blz-typedoc-theme
npm ERR!     dev<EMAIL_ADDRESS>from the root project

cool, by adding webpack extensionAlias  it has solved
thanks
but I highly suggest to add these to documentation
1- middleware must be added before webpack
2- in case we're using TS + v3.2.0 we must add alias for webpack
thanks again, I'll close the issue


Update conda-forge installation guide

I made some minor changes to the installation guide. The biggest change among them is the removal of the mention of pre-release versions on conda-forge. The reason is 2-fold:

the download counts of pre-release packages are awfully low
I no longer have the bandwidth to maintain an extra rc branch in the feedstock

Will merge after github actions and RTD test pass.


WSDL with dependencies are not supported

Hello @karldahlgren.
the solution proposed in https://github.com/castlemock/castlemock/issues/68 doesn't solve the issue.
By the way it would be nice to leave the issue opened and close them after user's confirmation that this problem is fixed.
Thanks,
Milko

Hi @karldahlgren,
I think I already attached them to the initial issue, but sure - I'm sending it to you once more.
By the way don't you think it is better to leave the issue close until it is fixed and confirmed to be fixed from the reporter - then we will avoid creating many issues linked to each other.
Regards,
Milko
CreditSafe_WSDL_Local.zip

Hi @milkotodorov.
I see now why these doesn't work. Hmmm will be a little bit tricky to solve. I have to dig deeper into this before I can give any estimation. I will keep you posted.
Thanks!
Best regards,
Karl Dahlgren

Hi @karldahlgren,
did you have the change to check this?

Hi @karldahlgren,
any updates?

Hi @milkotodorov.
Sorry for the late answer. I haven't been able to resolve this issue yet. It is quite complexed and way harder to solve and I originally thought it would be. I hope that I will be able to look into this as soon as possible.
Best regards,
Karl Dahlgren

Hi
I just ran into this problem and means that i cannot use castlemock for the WSDLs and XSDs i have. These follow OTA implementation standards, which means you have the definitions split into several XSDs for type definitions, several XSDs for message definitions, one WSDL for operation mapping, and one WSDL for implementation mapping/binding. All this is rather quickly 30-80 files.
Would it be possible to perhaps import such a structure as a zip archive instead of one WSDL at a time and then just select the WSDLs to import into a project?
Best Regards,
Christian


Cancel old task when re-scheduling

Currently old tasks don't get cancelled when scheduling a new drawing task.
Alternatively, show the currently scheduled tasks in the web interface and allow the user to cancel them. That would also resolve #3.

Fixed in b69216b6f61aea67423efd8d0319e3d2797587c5.


Patch 1

PR Checklist

[x] Explain your changes, so people looking at the PR know what and why, the code changes are the how.

If adding or updating templates:

[x] post a screenshot of templates and/or gallery changes
[x] ensure all steps have meaningful names
[x] ensure all parameters and grid columns have display names set so they can be localized
[x] ensure that parameters id values are unique or they will fail PR validation (parameter ids are used for localization)
[x] ensure that steps names are unique or they will fail PR validation (step names are used for localization)
[x] grep /subscription/ and ensure that your parameters don't have any hardcoded resourceIds or they will fail PR validation
[x] remove fallbackResourceIds and fromTemplateId fields from your template workbook or they will fail PR validation

it seems there's only one commit here, and it isn't somehow from this repo, and the text is entirely in vietnamese?  i'm not sure this is real at all?

it seems there's only one commit here, and it isn't somehow from this repo, and the text is entirely in vietnamese?  i'm not sure this is real at all?


nuxt3 ssr mode in production, cannot visit the page

Environment
Nuxi 3.2.0                                                                                10:05:56
10:05:57
RootDir: /usr/local/CarRentalH5
Nuxt project info:                                                                                10:05:57

Operating System: Linux
Node Version:     v16.17.0
Nuxt Version:     3.2.0
Nitro Version:    2.2.3
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      modules, app, srcDir, css, alias, routeRules, postcss, runtimeConfig, vite
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
due to the company safety rule and  long time task running in docker, i cannot give a Reproduction link
Describe the bug
use node .output/server/index.mjs  in docker(4Core4g)
A few hours later(usually in 24hours),i cannot visit the page, then i check the nodejs process status
In 24hours

cpu used percent: 3.94%
memery total used: 169MB

this phenomenon happend in last seven days, i am very confused now🤕
Additional context
No response
Logs
No response

Would you provide a reproduction? 🙏 It does not need to be your exact code (in fact, ideally it isn't!) but just code necessary to reproduce the issue.