Foreach-Object -Parallel [scriptblock]::Create("$Using:SomeVariable") Does not work on pwsh 7.2.*

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Below are two snippets demonstrating seemingly identical behavior, however the bottom snippet does not work.
# This Works
$VariableOutsideParallel = 'something'
1..1 | ForEach-Object -Parallel {
  Write-Host $Using:VariableOutsideParallel
}

# This does NOT on 7.2.0+ (But does on 7.1.*)
$VariableOutsideParallel = 'something'
[scriptblock]$SB = {
  Write-Host $Using:VariableOutsideParallel
}
1..1 | ForEach-Object -Parallel $SB

Expected behavior
PS> $VariableOutsideParallel = 'something'
PS> [scriptblock]$SB = {
  Write-Host $Using:VariableOutsideParallel
}
PS> 1..1 | ForEach-Object -Parallel $SB
something

Actual behavior
PS> $VariableOutsideParallel = 'something'
PS> [scriptblock]$SB = {
  Write-Host $Using:VariableOutsideParallel
}
PS> 1..1 | ForEach-Object -Parallel $SB
InvalidOperation:
Line |
   2 |    Write-Host $Using:VariableOutsideParallel
     |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | A Using variable cannot be retrieved. A Using variable can be used only with Invoke-Command, Start-Job, or InlineScript in the script workflow. When it is used with Invoke-Command, the Using variable is valid only if the script block is invoked on a remote computer.

Error details
PS> Get-Error

Exception             :
    Type        : System.Management.Automation.RuntimeException
    ErrorRecord :
        Exception             :
            Type    : System.Management.Automation.ParentContainsErrorRecordException
            Message : A Using variable cannot be retrieved. A Using variable can be used only with Invoke-Command,
Start-Job, or InlineScript in the script workflow. When it is used with Invoke-Command, the Using variable is valid
only if the script block is invoked on a remote computer.
            HResult : -2146233087
        CategoryInfo          : InvalidOperation: (:) [], ParentContainsErrorRecordException
        FullyQualifiedErrorId : UsingWithoutInvokeCommand
        InvocationInfo        :
            ScriptLineNumber : 2
            OffsetInLine     : 3
            HistoryId        : -1
            Line             :   Write-Host $Using:VariableOutsideParallel

            PositionMessage  : At line:2 char:3
                               +   Write-Host $Using:VariableOutsideParallel
                               +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            CommandOrigin    : Internal
        ScriptStackTrace      : at <ScriptBlock>, <No file>: line 2
    TargetSite  :
        Name          : GetUsingValue
        DeclaringType : System.Management.Automation.VariableOps, System.Management.Automation, Version=<IP_ADDRESS>0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35
        MemberType    : Method
        Module        : System.Management.Automation.dll
    Message     : A Using variable cannot be retrieved. A Using variable can be used only with Invoke-Command,
Start-Job, or InlineScript in the script workflow. When it is used with Invoke-Command, the Using variable is valid
only if the script block is invoked on a remote computer.
    Data        : System.Collections.ListDictionaryInternal
    Source      : System.Management.Automation
    HResult     : -2146233087
    StackTrace  :
   at System.Management.Automation.VariableOps.GetUsingValue(MutableTuple tuple, String usingExpressionKey, Int32
index, ExecutionContext context)
   at System.Management.Automation.Interpreter.FuncCallInstruction`5.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
CategoryInfo          : InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrorId : UsingWithoutInvokeCommand
InvocationInfo        :
    ScriptLineNumber : 2
    OffsetInLine     : 3
    HistoryId        : -1
    Line             :   Write-Host $Using:VariableOutsideParallel

    PositionMessage  : At line:2 char:3
                       +   Write-Host $Using:VariableOutsideParallel
                       +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    CommandOrigin    : Internal
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 2

Environment data
PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.2.5
PSEdition                      Core
GitCommitId                    7.2.5
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

To add to this, I just installed 7.3.0-preview5 and was able to run the snippet successfully.
PowerShell 7.3.0-preview.5
PS> $VariableOutsideParallel = 'something'
>> [scriptblock]$SB = {
>>   Write-Host $Using:VariableOutsideParallel
>> }
>> 1..1 | ForEach-Object -Parallel $SB
something
PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.0-preview.5
PSEdition                      Core
GitCommitId                    7.3.0-preview.5
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Please take a look at https://github.com/PowerShell/PowerShell/issues/16445

cc @PaulHigin another reason why the fix should be backported to 7.2.x.

Looks like I didn't search the existing issues well enough... sorry about that. Thank you for the guidance!


ATF support

Supports compressed textures on HTML5 and Neko targets. Can read block compressed textures in Adobe Texture Format (ATF). Cube Maps are not supported.
Compiles fine against lime master branch, but needs lime on develop branch for Neko targets and lime branch feature/fast-webgl-bindings to support HTML5.

Thank you :smile:


The game ends when the specified amount of rounds are complete. The number of rounds is depicted in the top right corner of the screen. When the game ends the player is redirected to the End of game screen, as specified in S11.

commit: e614a88


Suggestion: break i18n-js javascript into component files

Many JS users are concerned about size of their files, every little bit adds up.
It would be useful to break up i18n.js into smaller components which can be selectively included, each extending the I18n prototype. I'd imagine 4 modules would be good:

translation
interpolation
pluralization
localization

In addition, I'd move the default values for localization (days of week, months of year)  into their own file, since they take up space when most like people will include them in their translation bundle.

I've missed this issue and opened similar one #289.
Modular structure is not only about minimizing the file. Core is pretty tiny now but probably it may grow in the future. Modular structure is also about some extra flexibility and a bit more clear code structure (like backend programming practice to place only one class into one file). Probably it would be a good plan for the next major release.
Anyway, thanks for the great gem.


Fix typo in Azure.Monitor.Query nuget description

All SDK Contribution checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] Please open PR in Draft mode if it is:

Work in progress or not intended to be merged.
Encountering multiple pipeline failures and working on fixes.

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[x] I have read the contribution guidelines.
[x] The pull request does not introduce breaking changes.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

@lmolkova This is a duplicate of https://github.com/Azure/azure-sdk-for-net/pull/21752


object::reserve javadoc

object::reserve says "This inserts an element into the container."

This is a docca problem, the brief says:
    /** Increase the capacity to at least a certain amount.

confirmed, in the Description


Install Error: Unknown variable dynamic import

I'm new to svelte/npm but I wanted to try to see if it was easy to set up tailwindcss.
This part of the install went fine:
pnpm init svelte@next
pnpx svelte-add mdsvex

But this failed:
pnpx svelte-add tailwind

✔ Install the following package: svelte-add@latest? (Y/n) · true
 WARN  svelte-add > @typescript-eslint/typescript-estree<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none was installed.
Packages: +60
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Packages are hard linked from the content-addressable store to the virtual store.
  Content-addressable store is at: /Users/vincent/.pnpm-store/v3
  Virtual store is at:             node_modules/.pnpm

/Users/vincent/.pnpm-store/v3/tmp/_npx/31147/5:
+ svelte-add 2021.5.2-5.1

Progress: resolved 60, reused 60, downloaded 0, added 60, done
➕ Svelte Add
The project directory you're giving to this command cannot be guaranteed to be fresh. If any issues arise after running this command, please try again, making sure you've run it on a freshly initialized SvelteKit or Vite–Svelte app template.

tailwind
/Users/vincent/.pnpm-store/v3/tmp/_npx/31147/5/node_modules/.pnpm/svelte-add@2021.5.2-5.1/node_modules/svelte-add/cli.cjs:283
     default: return Promise.reject(new Error("Unknown variable dynamic import: " + path));
                                    ^

Error: Unknown variable dynamic import: ./adders/tailwind/__detect.js
    at __variableDynamicImportRuntime0__ (/Users/vincent/.pnpm-store/v3/tmp/_npx/31147/5/node_modules/.pnpm/svelte-add@2021.5.2-5.1/node_modules/svelte-add/cli.cjs:283:37)
    at main (/Users/vincent/.pnpm-store/v3/tmp/_npx/31147/5/node_modules/.pnpm/svelte-add@2021.5.2-5.1/node_modules/svelte-add/cli.cjs:338:28)

The error persists also when I do not add mdsvex. Was it something on my end?

The reason pnpx svelte-add tailwind fails is because it's supposed to be tailwindcss, not tailwind. That being said, this error message is supposed to be more descriptive, so I'll work on that.

The error message for pnpx svelte-add something-that-doesnt-exist (like tailwind) should be clear now. Feel free to open a new issue if I am mistaken or you have other suggestions, issues, or comments.


Add vehicle and permit for order in extended permit

Description
Allow searching for orders in admin ui with permit id. Add permit and vehicle to order when creating an extended permit.
Context
PV-820
How Has This Been Tested?
Tested manually and with unit test.
Manual Testing Instructions for Reviewers
When new extended permit has been created, in admin ui they should have permit id and vehicle information visible.
All orders should now be able to be searched with permit id.
Screenshots

This solution adds the permit id and registration number to orders when new order is created, so the data does not exist for older orders. However, I added a management command which populates those fields for orders that doesn't have such fields set.
Ticket mentions that orders should be searchable with permit id and registration number. Registration number search is already a functioning feature, but I added a search possibility with permit id as well in this PR.
I did not make changes yet to "Tunnustyyppi", since that has not been discussed before nor mentioned in the ticket, but I'll add that as well if needed.


i18n(zh-cn): 使用登录会更合适

Description (required)
我看别的地方都写对了，就这边没写对，写成登陆了

Related issues & labels (optional)

Closes #
Suggested label:

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳.

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

zh-cn
guides/deploy/cloudflare.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


bug(packager): zombie processes left running after closing app

Set up
Test revision: 1c36ddc3e040865357c51737cc434ceaddf1e8f8

Build Electron executable:
cd microdrop-builder
npm run packager

Run Electron executable
cd Microdrop-win32-ia32
Microdrop.exe

Close application window.

Expected behaviour
Application closes and stops all child processes.
Observed behaviour
Several zombie child processes remain after application closes.
Here is full console output log showing processes remaining after closing MicroDrop app:
(md-3-dev) PS C:\Users\chris\Documents\GitHub\microdrop-3\microdrop-builder\Microdrop-win32-ia32> .\Microdrop.exe
... wait for app to open ...
... close app ...
(md-3-dev) PS C:\Users\chris\Documents\GitHub\microdrop-3\microdrop-builder\Microdrop-win32-ia32> Get-Process -Name Microdrop

Handles  NPM(K)    PM(K)      WS(K)     CPU(s)     Id  SI ProcessName
-------  ------    -----      -----     ------     --  -- -----------
    376      35    57444      62076       1.30   8260   1 Microdrop
    491     110    87344      94988       3.16   8696   1 Microdrop
    376      39    80436      93692       2.33  10264   1 Microdrop
    990      47    27640      61016     118.36  10268   1 Microdrop
    595      31    64692      66948     271.80  13196   1 Microdrop
    374      35    56688      62908       1.30  13716   1 Microdrop

Note
Until a permanent fix is found, the zombie processes can be closed using the following command:
Get-Process -Name Microdrop | Stop-Process

Fixed

Fixed by cdfa07372d1a6b5cb95b5017c19bafaa40d5ba34


Greatly improved CompareNodes. Fixes #76

Greatly improved CompareNodes to use Equals instead of the previous node flattening technique that wasn't able to handle many scenarios. This required a lot of thought into how Equals works and is implemented for some nodes that already exist, but that also need to be created.
Added BirthNode for BIRT tag.
Added ResidenceNode for RESI tag.
Added NewDocument() to easily create an empty document.
Fixed a bug in Compound() where slices of non-Node caused a panic.
Refactored the way options can be set on tags internally. This will make it a lot easier in the future to add more binary attributes to Tag constants.
Changed Tag.Known to Tag.IsKnown which is more consistenly named with other boolean functions.

This change is

Codecov Report

Merging #80 into master will decrease coverage by 0.08%.
The diff coverage is 95.06%.

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
- Coverage   91.44%   91.36%   -0.09%
==========================================
  Files          25       27       +2
  Lines        1052     1065      +13
==========================================
+ Hits          962      973      +11
- Misses         80       81       +1
- Partials       10       11       +1

Impacted Files
Coverage Δ

document.go
57.62% <100%> (+1.48%)
:arrow_up:

residence_node.go
100% <100%> (ø)

decoder.go
97.36% <100%> (+0.14%)
:arrow_up:

individual_node.go
94.54% <100%> (+0.06%)
:arrow_up:

birth_node.go
100% <100%> (ø)

util.go
97.67% <100%> (+4.49%)
:arrow_up:

tag.go
94.11% <100%> (-0.17%)
:arrow_down:

node_diff.go
90.9% <83.33%> (-9.1%)
:arrow_down:

Continue to review full report at Codecov.

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


Issues with the Instigator Shuttle Event

Description

The three syndicates come with codes but do not have pinpointers to find the nuke disk.
If they do somehow achieve their objective, the round does not end because the nukeops gamerule wasn't started (handles round end on nuke).

We forced this on Harmony to see how it would play out in future and had the same problem. Ended up providing them with a pinpointer but as reported, round did not end.

This is a long-standing issue with nukes detonating outside of NukeOps or LoneOps. It would probably be easier to just make the round always end when a nuke goes off, because it’s not like there’s much station for the round to take place on afterwards.


fix(utils): old android is mobile

:tada: This PR is included in version 2.15.1 :tada:
The release is available on:

v2.15.1
v2.15.1
GitHub release

Your semantic-release bot :package::rocket:


[ORM] filterAny does not seem to work with GreaterThan?

            ->filterAny(
                array(
                    "TIV:GreaterThan" => 1,
                    "CAB:GreaterThan" => 1
                )
            )

returns 0 results, and

            ->filterAny(
                array(
                    "TIV:GreaterThan" => 1,
                )
            )

returns many results.
I thought filterAny was like OR rather than AND in the where statement?

I can’t recreate this, @sunnysideup is this still an issue that you’re aware of?

What's the SQL that it generates for the query?

Or just debug::dump($query->getWhere())

I've added a test for this case to https://github.com/silverstripe/silverstripe-framework/pull/8590, and it works as intended.


Issue 256

App::get_matches_safe_*() methods no longer exit the process. They instead return a ClapError with an error_type of ClapErrorType::HelpDisplayed or ClapErrorType::VersionDisplayed respectively. You can then call ClapError::exit() or std::process::exit() to quit the process...gives you the control.

Will be merged as part of #328


Add option to use different name for generated struct

See the followings script for example:
https://github.com/brandonedens/stm32l4x6-memory-map/blob/master/gen-peripherals.sh
It uses sed to rename struct name from I2c1 to I2c if the definition could be shared among more peripherals of the same type.
It would be nice to have option directly in svd2rust so one does not need to use sed.
For example svd2rust -i $svd i2c1:I2c  or svd2rust -i $svd i2c1 -n I2c

Today, we (a) generate code for the whole device instead of per peripheral, (b) generate one type per peripheral instance and (c) the name of that type matches the peripheral instance (I2c1, I2c2, etc.) so it's no longer necessary to (a) use a shell script to build a device crate or (b) sed the output.
I feel that this no longer required so I'm going to close this issue. If you feel otherwise, feel free to open a new issue with updated rationale.

Great! Thanks!


auro-button: reverse route button/icon-only button

Is your feature request related to a problem? Please describe.
For Flight Search team's planbook initiative, we want to create a reverse route button that would be an icon-only button (UI and Figma not finalized yet - will be worked on by Kayla and coordinated with @leeejune ).
In discussion, it was mentioned that the reverse route button would be a good candidate for auro as this functionality could be used in a lot of pages like homepage, deals, employee travel, as well as planbook.
Describe the solution you'd like
For our use case, it will be a button similar to on google flights that reverses the inputs of 2 comboboxes.

Not sure if the approach would be specifically a button for reverse route, or just a variant of button that allows for an icon only.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

The conversation agreed that we should NOT build a specific component for this interaction. We have a great opportunity to create an example in the doc site so that we can illustrate an easily repeatable solution.
Specification
Create an example of two input elements with a button option that will swap the value between each element in the auro-input portion of the Auro docsite
Exit criteria
This issue will be considered complete once we have shipped a working example that is easily repeatable by other teams.

Initial scope of work is just to make a working example. @jason-capsule42 will have to work with @erikalanghauser and @leeejune to finalize design.
@leeejune will also consult with designers regarding a possible auro-iconbutton element.
accessibility
We need to ensure that an icon button is fully accessible and there is notification of value swapping between inputs.


Double and in Creating a Collective docs

Describe the bug
There are 2 and's in Creating a Collective documentation.
To Reproduce
Steps to reproduce the behavior:

Go to https://docs.opencollective.com/help/collectives/create-collective

Expected behavior
There should be only 1 and
Screenshots

Good Catch 👋
I have raised a PR for the fix
Thanks

@znarf this can be closed
@jzabala Fixed
Thanks for the issue


feat: add AggregatorReporter

Description
This PR adds the class AggregatorReporter to compute the aggregation (SUM or MEAN) of different sources' into a single one. This reporter allows to add the aggregate energy flows, costs, emissions, etc... of a system in a time period (e.g hourly).
Details:

This reporter makes source a required parameter in beliefs_search_configs.
Supports passing weights for the different alias. This can be used to convert a consumption (in absolute value) to a negative flow or to convert a current into power (i.e $P = V \cdot I$ for biphasic and $P = V \cdot I \cdot cos(\theta) \cdot \sqrt{3}$ for triphasic).
The (optional) parameter method can be set to SUM or MEAN to chose the aggregation method.

Look & Feel
{
    "beliefs_search_configs": [
        {
            "sensor": 1,
            "source" : 1,
            "alias" : "PV"
        },
        {
            "sensor": 1,
            "source" : 2,
            "alias" : "CONSUMPTION"
        }
    ],
    "method" : "SUM",
    "weights" : {
        "PV" : 1.0,
        "CONSUMPTION" : -1.0
    }
}

Testing Steps
Test for MEAN and SUM cases in flexmeasures/data/models/reporting/tests/test_aggregator.py.

So can this be merged?

Yes, but let's give @victorgarcia98 a chance to review my commits first.

Thanks! Nice the addition of the experimental warning.


Is there any way to upload secure files programmatically?

I'm trying to find out a way to do this, either via the VSTS REST API, Node API, Tasks Library, etc. I don't think it's possible at the moment.

Here is a sample of how to upload a secure file using the vsts-node-api: https://github.com/Microsoft/vsts-node-api/blob/3c0c85e653f6449838249f1d8a970bd6bbf08930/samples/task.ts#L43
Thanks,
Madhuri

It looks like I missed that,  I didn’t know where it lived.  Thanks for your help!


Pull Docker GPG key from pgp.mit.edu

The previous key server p80.pool.sks-keyservers.net has been
unavailable multiple times over the past few days.
Signed-off-by: Seth Chisamore<EMAIL_ADDRESS>

/cc @tas50 @lamont-granquist


Web support

CC @Kerollmops, as we talked briefly about LMDB alternatives over on the Meili discord.
This issue stems from the fact LMDB won't compile to WASM/WASI because of its complicated concurrency model (and reliance on some other libc features). It is highly unlikely that LMDB will compile for web for many years to come.
To circumvent this issue, I was looking to provide WASM/WASI support via a shim in heed to a different (rust) library, like sanakirja or redb. However, both rely upon libc's mmap under the hood, which is poorly emulated in WASI (i.e., readonly). Further, file locking is not yet implemented in WASI libc, which is also problematic.
Thus, the only option left for web support as far as I can see is to use a web-native technology directly. For this, I propose the use of IndexedDB by using the web-sys crate, which plays well with wasm-bindgen. wasm-bindgen seems to be the go-to way to write Rust that interacts with JS & web. (There is also emscripten, but that does not seem like the "correct" way to write new code, just port over existing code).
I can look a little more into it, but I am thinking the appropriate path forward would be to make a new crate alongside lmdb-master-sys and the other heed crates that provides a shim mimicking the LMDB ffi bindings to leverage heed's preexisting code around LMDB. For the implementation, the shim would call upon web-sys's IndexedDB API. Does this sound appropriate? Would a PR for this be accepted?

This actually might be better using a slight shim with: https://developer.chrome.com/blog/sqlite-wasm-in-the-browser-backed-by-the-origin-private-file-system/

Since redb is looking like it'll support WASI, I am actually just going to try to add an alternative/experimental backend to heed that uses a redb shim instead of LMDB. That will also solve an issue I'm having on macOS where LMDB's concurrency model extravaganza violates the Mac App Sandbox which is required for submission to the Mac App Store.

That will also solve an issue I'm having on macOS where LMDB's concurrency model extravaganza violates the Mac App Sandbox which is required for submission to the Mac App Store.

Hi @GregoryConrad, is it possible to share a bit more about the concurrency model extravaganza violates the Mac App Sandbox? I'm having a problem that the app runs fine locally but crashes when release to TestFlight, and I'm not sure if this can be work around in any way? Thank you!

@thomasdao Oh, yea that is really hard to do 😅
For macOS, you need to enable POSIX semaphores (a heed option). Issue is that for POSIX semaphores to work under the app sandbox (which is required for submission to App Store), the posix semaphores require a certain name format that is really frustrating/limiting. I can't remember which apple developer link I looked at before, but this might point you in the right direction: https://developer.apple.com/forums/thread/674207
If you really want to use LMDB, you're going to have to fork heed to be able to compile LMDB with your own custom POSIX semaphore prefix. I never went through with this since it sounded like too much of a nightmare/PITA. If you can, I'd recommend a fully rust-based solution (that also doesn't use mmap, at least if you ever want to target iOS[^1]). The only viable solution to all of these problems that I'm aware of is redb.
[^1]: This is a whole different issue that I'll leave out of this comment for brevity. Let me know if you want the full mmap on iOS rundown, but TL;DR: if you even have a slim chance of targeting iOS, don't use anything that uses mmap.

@GregoryConrad I'm super grateful for your answer, thank you!


Adding /tmp/deployment.log to the server VM

to track the initialization of the VM (startup script output)

The startup script writes logs to the system journal, so we're already storing this information for later use. Is there value in writing an additional log file that we don't get by logging to the system journal?


Create release script

🤔 What's changed?
Created a script to facilitate the release  process as documented in RELEASING.md. The script supports java, javascript and ruby.
To install in a project run:
curl --silent -o release https://raw.githubusercontent.com/cucumber/polyglot-release/main/bootstraper
chmod 744 release
./release --help

This the bootstrapper will download the script before execution, keeping it always up to date.
⚡ What's your motivation?
I suck at following following manual instructions.
🏷 What kind of change is this?

:zap: New feature (non-breaking change which adds new behaviour)

♻ Anything particular you want feedback on?

This project contains rudimentary tests. Could use some setting those up better. And maybe some gitlab CI automation too.
The bootstrapper requires that we trust the code on main. We'll be executing it. How do we manage the gitlab setting so as to make this reliable?

📋 Checklist:

[x] I agree to respect and uphold the Cucumber Community Code of Conduct
[x] I've changed the behaviour of the code

[x] I have added/updated tests to cover my changes.

[x] My change requires a change to the documentation.

[x] I have updated the documentation accordingly.

[ ] Users should know about my change

[ ] I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

Oh nice! I figured you'd gone to bed so carried on making changes in the other place.

It has tests! 🎉 💖

The bootstrapper requires that we trust the code on main. We'll be executing it. How do we manage the gitlab setting so as to make this reliable?

Similar to the action-release-* repos, I think we keep the permissions on this repo highly restricted.

When we're done I'm going to fix the commit history on main. Squash merge isn't the default yet.

Ah! Didn't see those changes! Nice!


More specific language when using environment variables for server

when deploying with the account specified in Environment Variables we say "using account env". Will users know what that means?
> publisher deploy test/sample-content/fastapi-simple/
Deploy to server https://rsc.radixu.com using account env and configuration default, creating deployment Untitled-10

Instead can we specifically say we're using the Environment Variables CONNECT_SERVER and CONNECT_API_KEY to determine server and api keys?

no longer occurring


Performance improvements for tracksViewChanges

Does any other open PR do the same thing?
No
What issue is this PR fixing?
Performance improvements for #2477 #1870
How did you test this PR?
Full project

@rborn some improvements related to the latest issue with tracksViewChanges and custom Image tags in markers. Should be merged in before a release to avoid a too heavy toll on users with tracksViewChanges as default.

@alvelig could you have a look 🐽 I'm heading to ReactAlicante so I won't be able to do anything until Monday

@danielgindi Do I get it right, that it comes as a replacement for tracksViewChanges? I think that we should enable this behavior by default.

This redraw update, will this also help with the memory leaks issues related to maps rerendering?

Excuse me, but why do we need tracksViewChanges? I missed that one

@danielgindi awesome i cant wait till this update is pushed to the repo

@alvelig tracksViewChanges as the name implies - tracks the view's changes and updates the markers accordingly. This basically means that you could use animations in the markers.

So by default tracksViewChanges is not required. That's why you introduced redraw, if it is required to redraw a marker once. Now I see. By default this shouldn't be required, right?

Well it depends :)
I have some custom markers that have animations (kind of progress bars) whete tracksViewChanges is required, and some where a simple redraw call would suffice.
The thing is that even with iOS until now the way to ensure that a custom marker will be drawn is to keep the default tracksViewChanges: true, and set it ti false on componentDidUpdate for performance. This is because RN rendering is async and you first take a frame of an empty view.
So by default it is the correct mechanism, but then the user should disable it on the correct event like componentDidUpdate or Image’s onLoad or other custom events.
It’s even more complex than that, as you might have a custom marker that has an image AND other views.
So first frame takes an empty image. After first render happened, the trackViewChanges will take an image of the actual view, and after loading the image it will update to the marker with the image loaded- only then you want to disable tracking.
So my main recommendation is adding docs and more docs :)

We could also wrap the marker component with another, that will have built in logic for componentDidUpdate for the simple custom markers - but that would be a breaking change.

@danielgindi why would it be a breaking change?

As people expect it now to be true by default (as it has always been in iOS), and be disable when they set it to disabled.

Great, thanks for the explanations. I agree!

hey @danielgindi wondering if you have any idea how tracksViewChange could play well with native driver animations?
See https://github.com/react-native-community/react-native-maps/pull/1705#issuecomment-446604282


DataArray contains nan-buffer?

Hi all,
I've mostly used stackstac by now and wanted to see if our dataset's STAC metadata is also usable with this library. The overview on technical differences between both libraries provided in #54 is very helpful. In practice, however, I've also noticed that the DataArray created by odc-stac adds a nan-buffer resulting in a slightly larger spatial extent. I was wondering if this is intended? Or is something going wrong on my side? I was not able to find anything about this in other issues or in the documentation.
Here is how I'm loading the dataset in both libraries, screenshots of the DataArrays and visualizations of a subset to highlight the problem:
# stackstac
ds_st = stackstac.stack(items=nrb_catalog, assets=['vh'], dtype=np.dtype('float32'), chunksize=(-1, 1, 2048, 2048))

# odc-stac
nrb_items = nrb_catalog.get_all_items()
ds_odc = odc.stac.load(items=nrb_items, bands=['vh'], chunks={'x': 2048, 'y': 2048})
ds_odc = ds_odc.chunk(chunks={'time':-1})

stackstac

odc-stac

stackstac

odc-stac

I've seen this sort of nodata buffer appear when the Item geometry is larger/different than the asset's bounds -- odc-stac uses the item geometry to define the spatial extents of the output xarray. Check your item geometry and see if it is different than your asset geometry. Since STAC Items are GeoJSON features, I usually just load both the Item and the asset into QGIS and visually compare the two.

Spot-on, thanks @gadomski!


The extension don't works

Which OS are you using?
Windows
Expected Behaviour
The extension works
Actual Behaviour
The extension don't works
...
I also see the following error:
[2024-10-10 16:10:17] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/KyRDa/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/moonloader/module'

Reproduction steps
noticed that the extension wasn't working
I went to the Lua Addon Manager, tried to turn the extension off and on - no luck
I tried to uninstall and reload the addon, but after uninstalling it, only the “Disable” button remained.
Additional Notes
No response
Log
STARTUP
[2024-10-10 16:09:46] |   DEBUG   |       WebVue       | Workspace Open: true
[2024-10-10 16:09:46] |   DEBUG   |     Filesystem     | Created directory at "/C:/Users/KyRDa/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager"
[2024-10-10 16:09:46] |  VERBOSE  |       Command      | Executing "getAddons" ({"command":"getAddons","data":{"page":1}})
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found ao
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found argparse
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found bee
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found busted
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found cc-tweaked
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found cocos4.0
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found devilspie2
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found dkjson
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found fenster
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found fivem
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found garrysmod
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found halion
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found lapis
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found lldebugger
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found lmathx
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found love-nuklear
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found love2d
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found lovr
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found lpeg
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found lua-cjson
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found luaecs
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found luafilesystem
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found luaharfbuzz
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found lualogging
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found luasocket
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found luassert
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found luaunit
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found luazip
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found luvit
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found lzlib
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found md5
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found minetest
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found mirai
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found moneymoney
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found moonloader
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found nodemcu-esp32
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found nodemcu-esp8266
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found openresty
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found penlight
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found powder-toy
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found RavenscriptIDEA
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found RavenscriptIDEA_withRavenM
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found REFramework-LLS
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found skynet
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found slnunicode
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found smbx2-lunalua
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found starfallex
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found StormworksAddonLua
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found tex-lualatex
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found tex-lualibs
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found tex-luametatex
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found tex-luatex
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found toml-edit
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found transformice
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found trilogyloader
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found TTSLua
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found umbrella
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found unbound-api
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found xmake
[2024-10-10 16:09:47] |  VERBOSE  |    Addon Manager   | Found yue
[2024-10-10 16:09:53] |  VERBOSE  |       Command      | Executing "disable" ({"command":"disable","data":{"name":"moonloader"}})
[2024-10-10 16:09:53] |    WARN   |        Addon       | "moonloader" is already disabled
[2024-10-10 16:10:02] |  VERBOSE  |       Command      | Executing "uninstall" ({"command":"uninstall","data":{"name":"moonloader"}})
[2024-10-10 16:10:02] |   DEBUG   |     Filesystem     | Deleted /C:/Users/KyRDa/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/moonloader/module
[2024-10-10 16:10:02] |    INFO   |        Addon       | Uninstalled moonloader
[2024-10-10 16:10:03] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/KyRDa/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/moonloader/module'
[2024-10-10 16:10:03] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/KyRDa/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/moonloader/module'
[2024-10-10 16:10:05] |  VERBOSE  |       Command      | Executing "disable" ({"command":"disable","data":{"name":"moonloader"}})
[2024-10-10 16:10:05] |    WARN   |        Addon       | "moonloader" is already disabled
[2024-10-10 16:10:06] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/KyRDa/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/moonloader/module'
[2024-10-10 16:10:06] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/KyRDa/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/moonloader/module'
[2024-10-10 16:10:15] |  VERBOSE  |       Command      | Executing "refreshAddons" ({"command":"refreshAddons"})
[2024-10-10 16:10:15] |  VERBOSE  |       Command      | Executing "getAddons" ({"command":"getAddons","data":{"page":1}})
[2024-10-10 16:10:16] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/KyRDa/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/moonloader/module'
[2024-10-10 16:10:17] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/KyRDa/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/moonloader/module'
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found ao
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found argparse
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found bee
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found busted
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found cc-tweaked
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found cocos4.0
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found devilspie2
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found dkjson
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found fenster
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found fivem
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found garrysmod
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found halion
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found lapis
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found lldebugger
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found lmathx
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found love-nuklear
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found love2d
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found lovr
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found lpeg
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found lua-cjson
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found luaecs
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found luafilesystem
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found luaharfbuzz
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found lualogging
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found luasocket
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found luassert
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found luaunit
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found luazip
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found luvit
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found lzlib
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found md5
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found minetest
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found mirai
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found moneymoney
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found moonloader
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found nodemcu-esp32
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found nodemcu-esp8266
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found openresty
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found penlight
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found powder-toy
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found RavenscriptIDEA
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found RavenscriptIDEA_withRavenM
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found REFramework-LLS
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found skynet
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found slnunicode
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found smbx2-lunalua
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found starfallex
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found StormworksAddonLua
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found tex-lualatex
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found tex-lualibs
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found tex-luametatex
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found tex-luatex
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found toml-edit
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found transformice
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found trilogyloader
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found TTSLua
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found umbrella
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found unbound-api
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found xmake
[2024-10-10 16:10:17] |  VERBOSE  |    Addon Manager   | Found yue

I am getting a similar error but for love 2d.
#### STARTUP ####
[2024-10-19 13:31:48] |   DEBUG   |       WebVue       | Workspace Open: true
[2024-10-19 13:31:48] |   DEBUG   |     Filesystem     | Created directory at "/C:/Users/Zithryl-10/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager"
[2024-10-19 13:31:48] |  VERBOSE  |       Command      | Executing "getAddons" ({"command":"getAddons","data":{"page":1}})
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found ao
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found argparse
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found bee
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found busted
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found cc-tweaked
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found cocos4.0
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found devilspie2
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found dkjson
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found fenster
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found fivem
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found garrysmod
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found halion
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found lapis
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found lldebugger
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found lmathx
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found love-nuklear
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found love2d
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found lovr
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found lpeg
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found lua-cjson
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found luaecs
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found luafilesystem
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found luaharfbuzz
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found lualogging
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found luasocket
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found luassert
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found luaunit
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found luazip
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found luvit
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found lzlib
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found md5
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found minetest
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found mirai
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found moneymoney
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found moonloader
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found nodemcu-esp32
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found nodemcu-esp8266
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found openresty
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found penlight
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found powder-toy
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found RavenscriptIDEA
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found RavenscriptIDEA_withRavenM
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found REFramework-LLS
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found skynet
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found slnunicode
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found smbx2-lunalua
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found starfallex
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found StormworksAddonLua
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found tex-lualatex
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found tex-lualibs
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found tex-luametatex
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found tex-luatex
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found toml-edit
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found transformice
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found trilogyloader
[2024-10-19 13:31:49] |  VERBOSE  |    Addon Manager   | Found TTSLua
[2024-10-19 13:31:50] |  VERBOSE  |    Addon Manager   | Found umbrella
[2024-10-19 13:31:50] |  VERBOSE  |    Addon Manager   | Found unbound-api
[2024-10-19 13:31:50] |  VERBOSE  |    Addon Manager   | Found xmake
[2024-10-19 13:31:50] |  VERBOSE  |    Addon Manager   | Found yue
[2024-10-19 13:31:55] |  VERBOSE  |       Command      | Executing "disable" ({"command":"disable","data":{"name":"love2d"}})
[2024-10-19 13:31:56] |    WARN   |        Addon       | "love2d" is already disabled
[2024-10-19 13:31:59] |  VERBOSE  |       Command      | Executing "uninstall" ({"command":"uninstall","data":{"name":"love2d"}})
[2024-10-19 13:31:59] |   DEBUG   |     Filesystem     | Deleted /C:/Users/Zithryl-10/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/love2d/module
[2024-10-19 13:31:59] |    INFO   |        Addon       | Uninstalled love2d
[2024-10-19 13:31:59] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/Zithryl-10/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/love2d/module'
[2024-10-19 13:32:00] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/Zithryl-10/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/love2d/module'
[2024-10-19 13:32:59] |  VERBOSE  |       Command      | Executing "getAddons" ({"command":"getAddons","data":{"page":1}})
[2024-10-19 13:32:59] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/Zithryl-10/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/love2d/module'
[2024-10-19 13:32:59] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/Zithryl-10/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/love2d/module'

I think I have discovered the issue, the entire addon directory is being deleted when an addon is uninstalled, rather than just its contents. I am not sure why this wasn't a problem before, though…


npm run local: Key related_posts cannot be set in the drop.

Everything worked fine till npm run setup
After solving depreciation warning by adding gems: [jekyll-paginate] and changing plugins to plugins_dir, I got this error, was getting the error even before the changes I did to remove depreciation warning.
/var/lib/gems/2.5.0/gems/jekyll-3.8.3/lib/jekyll/drops/document_drop.rb:8: warning: already initialized constant Jekyll::Drops::DocumentDrop::NESTED_OBJECT_FIELD_BLACKLIST
/usr/lib/ruby/vendor_ruby/jekyll/drops/document_drop.rb:8: warning: previous definition of NESTED_OBJECT_FIELD_BLACKLIST was here
/var/lib/gems/2.5.0/gems/jekyll-3.8.3/lib/jekyll/drops/drop.rb:8: warning: already initialized constant Jekyll::Drops::Drop::NON_CONTENT_METHODS
/usr/lib/ruby/vendor_ruby/jekyll/drops/drop.rb:8: warning: previous definition of NON_CONTENT_METHODS was here
Configuration file: /home/akashj/workspace/git/akashjobanputra.github.io/_config.yml
Configuration file: /home/akashj/workspace/git/akashjobanputra.github.io/_config.yml
Configuration file: /home/akashj/workspace/git/akashjobanputra.github.io/_config.yml
            Source: /home/akashj/workspace/git/akashjobanputra.github.io
       Destination: /home/akashj/workspace/git/akashjobanputra.github.io/_site
 Incremental build: enabled
      Generating...
             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    Key related_posts cannot be set in the drop.

Any suggestions what to do now or where to look ?

I removed everything and installed again, but this time in a non-sudo way, install dirs were set in home dir and everything worked fine.

In my case, I had a conflict between Jekyll versions from app-get and installed version using bundler. I've just removed version which I installed using app-get and everything started work fine


Process Explorer: leaks memory when opening handle's properties->security->advanced dialog

Leaks memory when opening handle's properties->security->advanced dialog.
Sometimes it's 100-200 MB and sometimes 1-3 GB.

Thanks for the report, going to provide a fix in an upcoming release.

Thank you.


check axioms of equational results

Adds a validation step to make sure that theorems tagged with @[equational_result] do not
depend on any axioms other than propext, Classical.choice,  or Quot.sound. In particular,
this will report an error on usages of sorry.
This adds a little bit of work for each theorem tagged with @[equational_result], but the aggregate
effect is rather small. I observed a clean build to take 8m8s before this change and 8m9s after this change.

Axioms are discussed here: https://docs.lean-lang.org/theorem_proving_in_lean4/axioms_and_computation.html

To summarize, then, on top of the underlying framework of universes, dependent function types, and inductive types, the standard library adds three additional components:
* the axiom of propositional extensionality
* a quotient construction, which implies function extensionality
* a choice principle, which produces data from an existential proposition.


Record info doesn't pay attention to imports / export

Here's an example:
module A where

data Foo = Foo { foo :: Int }

module B where

data Foo = Foo { bar :: Int }

{-# LANGUAGE RecordWildCards #-}

module C where

import A
import B ()

test = Foo {..}
  where
    foo = 1

The generated javascript contains:
var C$test = new Fay$$$(function(){
  var foo = 1;
  return (function(){
    var Foo = new $_A$Foo();
    Foo.bar = bar;
    return Foo;
  })();
});

(Note that bar was used instead of foo for the field)
I looked into this issue a bit, to see if there's an easy resolution.  I couldn't see a straightforward one, but it seems like the right type is resolved - maybe the InitialPass needs to store information about fully qualified names.   In particular, the following doesn't hold when you take into account import / export hiding:
              -- Merges the state gotten from passing through an imported
              -- module with the current state. We can assume no duplicate
              -- records exist since GHC would pick that up.

Spring cleaning. Lack of activity, and i think this has been fixed since we started using haskell-names.


Admin UI to add payout to product/vendors

Close as already included here: https://github.com/bookmebus/spree_vpago/pull/156


Square borders not working

I would like to use square borders, is it possible? I'm trying set the radius to false:
          notify.alert('This one\'s got squared corners.', {
            radius: false
          });

Result:

What message style are you using? It may be that support for the radius property hasn't been added.


feat(linter) eslint-unicorn catch error name

not sure if this is the right way - eslint plugin unicorn checks idents and looks at it's parent. but it's a bit trickier to do here

not sure if this is the right way - eslint plugin unicorn checks idents and looks at it's parent. but it's a bit trickier to do here

I don't see anything tricky in the code, can you point me to the code?

actually, just tried it - not as tricky as i thought it was - probably just my unfamiliararity with the code 🙂

not sure if this is the right way - eslint plugin unicorn checks idents and looks at it's parent. but it's a bit trickier to do here

I don't see anything tricky in the code, can you point me to the code?

actually, just tried it - not as tricky as i thought it was - probably just my unfamiliararity with the code 🙂


Added Animation to the text

Can you possibly add a random animation each time the page is visited? Also, instead of building on 404.html, can you make a new file for it?
#1

Thanks. Merged.


Add LavinMQ to list of Prometheus exporters

Hello team 😊
I would like to add LavinMQ to the list of Prometheus exporters. LavinMQ is a message broker built on Crystal and implements the AMQP protocol.
LavinMQ collects broker metrics, formats it and bridges Prometheus and LavinMQ with an exporter endpoint, enabling seamless monitoring and metrics collection of your LavinMQ instances.
Read more on the LavinMQ Website or on Github
Thank you very much,
Christina & LavinMQ Team

@kickster97 Sorry for the late review! Looks good, but we are trying to keep the list alphabetically sorted, could you update the ordering please?

Hi, absolutely! Thanks :)

Thanks :)


Duplicate installations

From @digitalbricklayer on July 30, 2015 9:1
Install Dyna twice in succession without uninstalling in between. Two instances of Dyna will now be in the installed software list.
Copied from original issue: digitalbricklayer/dyna#34

Duplicate of #34.


Google example doesn't work - should be webpage rendered differently

Hi Eric, from your log above, it looks like your Google webpage when visit from your location is different from mine, when I visit from my country. Can you try following code to see if it works? I'm assuming that your search bar has a name attribute call q.
Below explicitly specifies the XPath of the search bar with name attribute as q -
t.init()
t.url('https://www.google.com')
t.type('//*[@name="q"]', 'decentralization[enter]')
t.snap('page', 'results.png')
print(t.read('resultStats'))
t.close()

It's so good ! but  i found init cost many time to wait,how can i faster to open

Thank you! How long does init() takes for you? The first time it run will take few minutes to download the TagUI files from GitHub, dependent on internet speed and GitHub download speed.
After that it should take few seconds to init() to open the Chrome browser. If you run with visual automation True, it can take 5-15 seconds depending on your laptop speed, because need time to load the computer vision engine (OpenCV and Tesseract ) into memory.

Also, updated readme for google example to use XPath, because the webpage can be rendered differently for different user location. Using XPath should work better for everyone. Thanks!

Thank you! How long does init() takes for you? The first time it run will take few minutes to download the TagUI files from GitHub, dependent on internet speed and GitHub download speed.
After that it should take few seconds to init() to open the Chrome browser. If you run with visual automation True, it can take 5-15 seconds depending on your laptop speed, because need time to load the computer vision engine (OpenCV and Tesseract ) into memory.

Yes, It will cost 5-15 seconds when i use vision , This is so good, If the tagui service can satrt onece then can reuse when i run py  script will be more better to use

Oh I see.. That's correct, it is by design. The upstream TagUI project prioritise stability and accuracy over speed. So its design is to launch the computer engine process each time it is run. This makes sure all programs and processes in memory are fresh and not having garbage from previous runs.
You can try combining your different scripts into 1 script and run, so that you only do import tagui as t and t.init(True) one time, then do t.close() one time after everything you want to run is completed. For Python 3 you can either define functions or use exec(open('filename').read()) to run other sub-scripts from the parent script. For Python 2, can use execfile() or define functions.


For insertions and queries, use a unified interface

For MongoDB and Ibis
Currently:

MongoDB uses insert_many for data insertion and find for queries.
Ibis uses insert for data insertion and select for queries.

For these very frequent interfaces, we can provide a unified method:
db["table_or_collection_name"].insert(datas)
df["table_or_collection_name"].query(a=1, b=2)

insert_one
query_one
filter
limit
output_fields

By standardizing these common operations, similar to the most frequently used ones in superduperdb, everything will become simpler to use. For complex operations, the original logic can still be used.
As for the names, we can discuss and define query/select/find later.

That's nice, but I feel that it might make messaging difficult. Until now our USP has been "use your frameworks"
exactly as you are used to. Now we add a new uniform abstraction. Although, personally this is a feature I would enjoy.
Later when we index things which aren't directly websites, then we can do things like:
db = superduper("http://bbc.com")

db["europe"].query(tag='a')      # points to http://bbc.com/europe, selects link tags

This is not conflicting, they can also use the original method, WDYT?
If we don’t want to expose it to users, we can choose not to expose this method.
However, this method is of great help to our UT and integration testing. We can now test two types of databases with one set of code.
For example, These two test cases have a lot of redundant codes

Yes, I see your point, could be potentially very useful, yes.

@jieguangzhou
Since query is an abused term that may also include actions such as Create or Delete, I 'd prefer select.

@jieguangzhou
Since query is an abused term that may also include actions such as Create() or Delete(), I 'd prefer select().

Sure, used select now


[Feature Proposal] Support for Bun

Bun is a lightning-fast JavaScript runtime that also provides a great DX, and Nano seems like it would be perfect for it. Could we see full support and documentation for using Bun, instead of just Node and Deno?

I don't know. I have never used bun and most probably never will.
But feel free to add support if you need/want to.


defcall can not use in quote

code like below can not work since i want to inject code from other module for grouping
quote do
  defcall get_any do
    reply :ok
  end
end
but using get_any() it works

Sorry for the late reply, I was a bit busy.
I'm able to reproduce the problem, but now I need to check some AST internals with Elixir team. However, I'll be out of town for two weeks, and I probably won't be able to do much about this problem until I return. So for the moment, the workaround is indeed to use defcall get_any() if you use it inside a quote, but I'll definitely see what can I do about it.
Thank you for reporting this!

This should be fixed on master. I'll publish the new version to hex later today or tomorrow.

FYI, I just pushed version 2.2.1 to hex.


Thinking of using this for a sponsors animation

Problem
Streamers need the ability to show sponsors in their streams
Suggested Solution
i was thinking of a fun way to show my github sponsors on my streams at the intermission screens, and thought about the dvd animation. My first idea was to have all the sponsors bouncing around the screen at random trajectories, however with your implementation I could have the sponsor change with each boundary collision, or after so many boundary collisions.
I'll probably get to this sometime next month if it is still a todo item then.

@balupton feel free to fork this repository and make your changes there. I think it's a cool idea but I'd like to keep this project true to the original concept.

yeah, of course


Failed to build pysdf ERROR: Could not build wheels for pysdf, which is required to install pyproject.toml-based projects

Failed to build pysdf ERROR: Could not build wheels for pysdf, which is required to install pyproject.toml-based projects

Hello, pysdf is not a necessary library, and now I have deleted it.


Question: Desired Idents

Hey!
First of all, thanks for the great read, and the wealth of information provided by your tutorial!
Okay, onto the "issue"!
TokenKind::Ident currently uses the regex [A-Za-z][A-Za-z0-9]* to get all idents. However, this misses the all imporant _ character. I am not sure if it is desired that idents cannot have an underscore or not, as it was not discussed from what I can tell.
If idents should be able to have _, then the regex just should be either [A-Za-z][A-Za-z0-9_]* or [A-Za-z][A-Za-z0-9]*, depending of if you would like _ to be a valid ident or not.
What currently happens when an ident has an _:
 > let long_name = 2
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>"let"
<EMAIL_ADDRESS>" "
<EMAIL_ADDRESS>"long"
<EMAIL_ADDRESS><EMAIL_ADDRESS>"_"
<EMAIL_ADDRESS><EMAIL_ADDRESS>"name"
<EMAIL_ADDRESS>" "
<EMAIL_ADDRESS><EMAIL_ADDRESS>"="
<EMAIL_ADDRESS>" "
<EMAIL_ADDRESS><EMAIL_ADDRESS>"2"
<EMAIL_ADDRESS>"\n"

lower(root) = (
    Database {
        exprs: Arena {
            len: 0,
            data: [],
        },
    },
    [
        VariableDef(
            "long",
            VariableRef(
                "name",
            ),
        ),
        Expr(
            Literal(
                Some(
                    2,
                ),
            ),
        ),
    ],
)

With the first suggested change:
 -> let long_name = 1
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>"let"
<EMAIL_ADDRESS>" "
<EMAIL_ADDRESS>"long_name"
<EMAIL_ADDRESS>" "
<EMAIL_ADDRESS>"="
<EMAIL_ADDRESS>" "
<EMAIL_ADDRESS><EMAIL_ADDRESS>"1"
<EMAIL_ADDRESS>"\n"

lower(root) = (
    Database {
        exprs: Arena {
            len: 0,
            data: [],
        },
    },
    [
        VariableDef(
            "long_name",
            Literal(
                Some(
                    1,
                ),
            ),
        ),
    ],
)

That’a a great point, thanks for the discovery. I definitely would prefer to allow identifiers to contain underscores, so that was an oversight when I was writing the regex. I’m really busy with schoolwork at the moment, and will likely continue to be until the end of the term. Currently the next part is halfway done, so I think I can finish it during the holidays. I’ll make sure to add an addendum about the regex.

I know you are probably busy and working on a new project, but your blog serie is very very usefull. This is probably the single ressource on the web on "how" you can use Rowan outside of small toy.
I looked at your new project (unnamed-language) and it seem a bit more evolved, I think you learned a bit more since 2020 :) . Hope we can have some new blog post about your recent discovery.

@kMeillet Thank you for the compliments, it means a lot! :)
unnamed-language (name pending) is definitely more advanced than Eldiro ever was, but it’s my first ever try at some parts of making a language that go beyond the absolute basics (name resolution, type checking). I came up with the ad-hoc algorithms I used for these, which means there’s probably a ‘proper’ way of doing things that I’ve just naively ignored. I don’t want to write a blog post about areas that are totally new to me, both to avoid distributing incorrect information and to avoid having to make tons of corrections and edits later.
Although the main reason I stopped writing blog posts for the series was initially a lack of time and later a loss of interest, I think having to write a detailed explanation with code snippets for every single change became tiring. Rather than just being able to write code and improve Eldiro, I had to keep pausing to write, only to have to change it later once I would inevitably find problems with my initial implementation.
What do you think would be useful to include in a blog post about unnamed-language? Maybe an overview of the architecture? Then again, to me at least it’s a straightforward extension of the one used by Eldiro.

@arzg I'm totally impressed by your blog and would also love to see some new posts :)
From my perspective, an overview of the new architecture and what you have learned would be most interesting for me. You introduced also hir_lower and hit_ty a little bit more details to these crates would also be cool.
I'm more or less in the need right now to develop also a scripting language, because neither rhai nor rune are fulfilling my needs. I'm developing a business platform where customers can run their own business logic. I use rune today, but it has a lot of pitfalls....
Keep up the really cool work and please post again. From my personal perspective; your language will be used or not somewhere. But your blog post has thought a lot of people how to create a language and most likely will survive your language. 😄


Edit pass for Surface Book 3 Overview DO NOT MERGE

Light copy edits for surface-book-quadro.md.
Notes: Changed sentences in Table 3.
For Adobe Substance Designer, edited confusing sentence by removing "powered" and replacing it with "that is". The author should verify that the new sentence is acceptable.
For Autodesk 3ds Max, removed asterisks from second bullet. Not sure if this was a typo or meant to imply that the following text was a note.

Hi, John/@CoveMiner,
We’ve completed the edit pass of this article. Please review it and let me know if we’ve changed the technical meaning anywhere. You have five business days for the review. (If you need longer, let me know).
When your review is complete, and you’re satisfied with the changes, our team will do the final merge to confirm there are no remaining PR issues.
Thanks!


linter: list of rules we want to implement

For our first good release, we want to have some correctness rules.
Correctness rules (defined by clippy) are code that is outright wrong or useless.
Some of these are from deepscan or eslint-plugin-import.
Only ASTs rules can implemented right now, but I'll be adding scopes and symbol resolution soon.
Rules that require CFG (Control flow graph) cannot be implemented right now.

[x] array-callback-return
[ ] bad-array-method-on-arguments
[ ] bad-assign-to-proto
[ ] bad-bitwise-operator
[ ] bad-comparison-sequence
[ ] bad-min-max-func
[ ] bad-month-arg
[ ] bad-remove-event-listener
[ ] bad-string-case-comparison
[ ] bad-string-regex-arg
[x] #127
[x] #136
[ ] getter-return
[ ] import/export
[ ] import/named
[ ] import/no-absolute-path
[ ] import/no-named-as-default-member
[ ] import/no-self-import
[ ] missing-throw
[x] no-async-promise-executor #180
[x] no-caller #178
[x] no-class-assign #204
[x] no-compare-neg-zero #185
[x] no-const-assign #199
[x] no-constant-binary-expression #118
[ ] no-constant-condition
[x] no-debugger
[x] no-dupe-class-members #195
[ ] no-dupe-else-if
[x] no-dupe-keys #188
[x] no-duplicate-case #179
[ ] no-eval
[ ] no-func-assign
[ ] no-implied-eval
[ ] no-import-assign
[ ] no-irregular-whitespace
[x] no-new-symbol #201
[ ] no-obj-calls
[x] no-self-compare #152
[ ] no-setter-return
[ ] no-shadow-restricted-names
[ ] no-this-before-super
[ ] no-unreachable
[x] no-unsafe-negation #186
[ ] no-unused-labels
[ ] number-arg-out-of-range
[ ] require-yield
[x] #112
[x] use-isnan #161
[x] valid-typeof #202

Syntax error
The rules in here don't need to be implemented since they are syntax errors.

[x] no-with (strict mode error)
[x] no-dupe-args #181
[x] no-octal

May pick some rule to implement?

Some interesting rules:

no-irregular-whitespace - we can use the lexer to store these inside trivias
no-unused-labels - build this inside the semantic analyzer
require-yield - inside the semantic analyzer, keep track of functions and then mark the function node with a NodeFlag::HasYield when we see a yield

require-yield - inside the semantic analyzer, keep track of functions and then mark the function node with a NodeFlag::HasYield when we see a yield

I just realized that if we have
var a = 1;
function *a() { return; }

The symbol table only stores the first var a = 1 declaration? Then it's not guaranteed we can check all the functions by just looking at the symbols.

symbol table

You visit the functions inside the linter, and then lookup the symbol via the node. But we need https://github.com/Boshen/oxc/issues/225

bad-bitwise-operator has difference result depending on the type of variable.
var a = 1
input |= a // pass
a = "1"
input |= a // error

var defaultVal = 1
a = options | defaultVal // pass
defaultVal = "1"
a = options | defaultVal  // error

Is there some way to get the identifier's current type? 🧐

Seems like bad-string-regex-arg not exist in Deepscan,  is it bad-regexp-literal-in-string?

Seems like bad-string-regex-arg not exist in Deepscan, is it bad-regexp-literal-in-string?

Oops, I combined these two:

https://deepscan.io/docs/rules/bad-replace-all-arg
https://deepscan.io/docs/rules/bad-match-all-arg

since they are the same thing

@mysteryven You can also implement any deepscan rule that interest you 😁

I'm going to create another list for this.

Is there a list compiled of all the unimplemented ESLint rules?
Do I have compare the core rules with https://github.com/oxc-project/oxc/blob/main/crates/oxc_linter/src/rules.rs#L39?

Is there a list compiled of all the unimplemented ESLint rules? Do I have compare the core rules with main/crates/oxc_linter/src/rules.rs#L39?

This issue is a list of rule's implementation status : https://github.com/oxc-project/oxc/issues/479

@mysteryven thanks but, for example, I am not seeing deprecated rules like no-catch-shadow which are still supported by ESLint; It's probably a WIP/incomplete.

@mysteryven thanks but, for example, I am not seeing deprecated rules like no-catch-shadow which are still supported by ESLint; It's probably a WIP/incomplete list.

Aha, the deprecated rules are folded, search the "Deprecated rules" and click the left arrow :)


University website #issueNo - 1880

fully responsible university website and Issue number - #1880
Close #<issue_no>

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md

@aayushiojha also link it to issue number

This issue is already closed.


Propose another way of solving the InitVModule bug

where new vmodules do not invalidate cached vlog levels

@sergiud  Can you please take a look?

@sergiud  This PR handles a bug where SetVLOGLevel is called after module verbosity level has been cached. In that case the level is not updated. I've changed this behavior by triggering a refresh using a  sequence (version) number.


Expose Stargate env vars in K8SandraCluster

What is missing?
Stargate cannot be customized with env vars when is deployed with K8SandraCluster CRD. Env vars are used by the Stargate entrypoint - starctl script.
Why do we need it?
There is not way to configure proxy protocol (and do other starctl customizations) for Stargate, which is required for running it on K8s behind LB to be exposed outside of K8s. Alternative is to deploy it separately from K8SsandraCluster, but ofc it is just a workaround.
Environment

K8ssandra Operator version:
latest (1.16.0 as of today)

Anything else we need to know?:

We explored the topic better, apparently proxy mode is meant to be used for the different things, however, the env vars are still not exposed by the operator. So for us it becomes irrelevant, but for teams relying on more customizations, it will still be the case.


Bootstrapping: Add rake task, authorisations API

This PR includes two changes relevant to replatforming:

Adds a rake task bootstrap:all which will enable us to create the Application and ApiUser records required by Signon for a cluster of GOV.UK apps
Adds an API for the automated creation and rotation of ApiUser bearer tokens

Motivation
When we move GOV.UK from EC2 to ECS (the replatforming team's goal), we want to be able to bring up new clusters running GOV.UK quickly with the entire process automated.
Additionally, we want to bring up multiple GOV.UK clusters in a single environment, with multiple clusters using the same shared database instances.
However, we have hit two problems when attempting to bring up Signon:

Bootstrapping Signon is slow. Currently when bringing up GOV.UK in a new environment, one must either copy an existing database to the new environment (making appropriate changes to application URLs, creating new tokens) or manually create all of the configuration required.
We don't rotate secrets generated by Signon often. It is a manual process to generate a new bearer token, add it to our secrets store (hiera-eyaml), deploy Puppet, and then delete the old token.

Implementation

Run a Signon rake task bootstrap:all[integration.publishing.service.gov.uk] when deploying Signon to a new environment/namespace. This will create the ApiUsers and Applications necessary for the cluster.
Use a SecretsManager Rotation Lambda to create and rotate the bearer tokens (using the API added in this PR) for the cluster. The API is not enabled in the EC2 environment, and uses bearer token auth and IP-restriction in ECS.

We considered implementing a Terraform provider for Signon. However, Terraform might store the secret in its statefile so this was a blocker to this approach.
Benefits
This automates Signon's bootstrapping process and enables us to rotate bearer tokens automatically.
Further work

Implement a rotation Lambda for creation and rotation of bearer tokens in ECS (https://github.com/alphagov/govuk-infrastructure/pull/202)
Automate deletion of old unused bearer tokens (only those created by the new platform in ECS)
Implement rotation of OAuth application secret keys using a Lambda
Remove UI for Applications and ApiUsers, and move all config into code (after replatforming).

If this design is accepted, it would probably be worth moving the config to Terraform / Concourse, rather than having JSON in config in the app. It would enable bootstrapping with a subset of apps / api_users, or a completely different configuration, if this app is used by other departments.

@richardTowers thanks for your review. I've made some changes, and I've split out the bootstrap task into a separate PR (https://github.com/alphagov/signon/pull/1623).


Feat: Make approval counts unique by reviewer

🎯 Goal
Do not increment infinite counters : each reviewer have a unique state for a specific PR :
APPROVED, CHANGES_REQUESTED, DISMISSED or PENDING.
To note: COMMENTED state is handled differently, because we can add comments without affecting approval states above
🚀 What to expect
The sum of all APPROVED, CHANGES_REQUESTED, DISMISSED or PENDING states is equal to the number of reviewers. And of course it's the last submitted state for each reviewer.
COMMENTED state can be incremented infinitely.
Example with 1 reviewer, who has left 2 simple commented reviews :

Hello @julienherrero
Sorry for my late answer.
Thank you very much for your contribution.
Rgs


Determine the dimension of the grid from arguments

The following looks redundant:
grid = QG.DiscretizedGrid{1}(R, 0.0, 1.0)

We want to write the following:
grid = QG.DiscretizedGrid(R, 0.0, 1.0)

Also, I think it's possible to infer the dimensionality from the arguments even in the multi-dimensional case with a method signature similar to
DiscretizedGrid{N}(::Int, ::NTuple{N, Int}, ::NTuple{N, Int}) where {N}


parseZone should handle UTC

Fix for #3520 and #3521, where parseZone doesn't handle UTC correctly. Specifically, we need to treat parsing 0 out of the string differently from failing to parse it at all.

Woah! Pull request from @icambron. I am so excited.

@icambron please make sure that the pending fix in #3463 doesn't throw this off.  I think it will be fine, but please confirm.  Thanks.

@mj1856 Interesting, hadn't seen that. Each fix suffices on their own to fix the specific issue. His is better for the ISO case, but mine also handles additional cases. The right answer is to just take both.

Great. I'll merge both.

Merged in 66721ca52f05d364942f997c12219b8147dd6551


fix: updated readme

:tada: This PR is included in version 1.0.4 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Fixes #1 and #2

@Morwenn hopefully I understood the comments you made correctly.

I split the two fixes and generally speaking removed the useless SFINAE madness. That said, I never intended to maintain this library. If you want constexpr versions of the standard library functions and more, you could use Bolero Murakami's Sprout which is much more complete and mature :)
https://github.com/bolero-MURAKAMI/Sprout


Two New Collections

Delete and redo below are due to learning GitHub 👍

Hopefully "Musical Sheets" and "Musical Misfits" are both configured correctly here and the pull request was done right. Thanks for your patience

I'm going mental, why is this failing :|


Make Button and ImageButton background color better controlable on disabled ui

Is your feature request related to a problem? Please describe.
In my UI, I want to embed a button with an image in the same color. Here is a simple example with some extra visible colors:

When I do some dragging actions in the central panel of my app, I disable the top bar to prevent unwanted button clicks. When I do so, the buttons frame changes in color. However, I want the button to integrate seemlessly into the top bar at all times.

Describe the solution you'd like
I'd like to be able to have an option where I can specify that the button shouldn't be faded out.
Describe alternatives you've considered
Currently the only way to achive something that does this job is to copy the Button widget and make some adjustments in it. Even then, the adjustments I have to make are very unergonomic. The fading is set in the Painter and is not accessible as a crate user, so the only way to fix it as of now, is to create a completly new Painter from the ui since the default value of the fade is None. This construction involves a .clone() of the Context which seems undesireable
// current
ui.painter().rect(...);

// my fix
let painter = Painter::new(ui.ctx().clone(), ui.layer_id(), ui.clip_rect());
painter.rect(...);

I've also tried using frame(false) on the button. But this is also kind of undesireable since then the button looks non-interactive when it's enabled because if you hover it, the line around the button won't be displayed anymore.

I've added a [PR}(https://github.com/emilk/egui/pull/2577) for this issue. I would be happy to get some feedback, if anyone stumbles across this issue here.


[KNI] update and extend resync docs

Initial docs about what upstream carries are and how we should do them.
The log is expected to change more often than the doc, so let's split it on its own file.

/cc @swatisehgal


can't install local plugins

Running ITC 0.25.1 on a Galaxy S4 running Cyanogenmod 12.1 (Android 5.1.1).
Starting the app and trying to select a local plugin. The directory listed for local plugins is:
/storage/emulated/0/IITC_Mobile/plugins/
/storage/emulated is on the compressed root partition and not editible. there is no "0" here. there is a legacy link to the current:
legacy -> /mnt/shell/emulated/0
I try selecting plugins that end in .user.js from Downloads and from a Google Drive. It won't select any. I expect that's because the target directory does not exist? No message is displayed though, and there does not appear to be a setting to select an alternate path. A better choice might be:
/sdcard/IITC_Mobile/plugins/
which should exist on more devices and Android versions.

Actually, this has to do with file type associations. Do this: Download one of the plugin user.js scripts manually through the browser, then attempt to open it. Or, try a file explorer. If the file immediately opens up in any program other than IITCm you'll need to remove that association. It doesn't have to be associated with IITCm, just leave it to ask each time.

I guess I was not clear. The issue is that the, apparently hard coded, path does not exist. There is no:
/storage/emulated/0/
When I try to open a *.user.js file in ES File Explorer, it asks for an application, and offers to make that selection permanent. I did NOT make any application permanent.
Meanwhile, the directory for plugins, does not exist and the parent directory does not exist, so it can't be created. The parent is in the kernel filesystem, so I can't remount it and create that either.

There is a switch in IITCm called Developer Mode which will allow for that path to be changed.

As explained above, I do have an sdcard in my phone, and I do NOT have a /storage/emulated/0
So your assumption that the directory exists, is false for at least my phone, don't know how many others.

Yes. That's the documented way an sdcard is mounted in android.
There is a feature that merges your sdcard with the main one, in which case
we can't tell the difference.
If this isn't the case we'd appreciate you letting us know what the mount
point is.
On Mar 3, 2017 3:59 PM, "Tim Riker"<EMAIL_ADDRESS>wrote:

As explained above, I do have an sdcard in my phone, and I do NOT have a
/storage/emulated/0
So your assumption that the directory exists, is false for at least my
phone, don't know how many others.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/iitc-project/ingress-intel-total-conversion/issues/1120#issuecomment-284081813,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADProhh4yXke1PI4wYqP9x-dcBlJKq8ks5riI1ZgaJpZM4JROep
.

Yes. That's the documented way an sdcard is mounted in android.
There is a feature that merges your sdcard with the main one, in which case
we can't tell the difference.
If this isn't the case we'd appreciate you letting us know what the mount
point is.
On Mar 3, 2017 3:59 PM, "Tim Riker"<EMAIL_ADDRESS>wrote:
As explained above, I do have an sdcard in my phone, and I do NOT have a
/storage/emulated/0
So your assumption that the directory exists, is false for at least my
phone, don't know how many others.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/iitc-project/ingress-intel-total-conversion/issues/1120#issuecomment-284081813,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADProhh4yXke1PI4wYqP9x-dcBlJKq8ks5riI1ZgaJpZM4JROep
.


CASSANDRA-17112: CEP-15: (C*) Strict Serializability verification

minor feedback to consider, but +1


Test object with prototype

This unit test currently fails, but will pass when the cached object is either not cloned or cloned with lodash.cloneDeep.

Thanks!  I'll look into this asap.

The problem is that a different test ends up failing (the one that checks that a basic function is left in tact).  Hopefully there's a way to make all situations work.

Oops, when I tested this I didn't put the call to cloneDeep after the check for null.  Works now.

Coverage remained the same at 99.46% when pulling 883778fffad66117b5a7696141e766ffeb84afac on ryanbecker:master into 4c07564deb1167d4e33314332f0bcfabe81fac46 on BryanDonovan:master.

Hmm.. this fails though:
            function getCachedNestedFunction(name, cb) {
                cache.wrap(key, function(cacheCb) {
                    cacheCb(null, {
                        fizzle: function() {
                            return 'foo';
                        }
                    });
                }, opts, cb);
            }
//[...]
           it("preserves nested functions", function(done) {
                getCachedNestedFunction('foo', function(err, result) {
                    checkErr(err);
                    assert.equal(typeof result, 'function');

                    getCachedNestedFunction('foo', function(err, result) {
                        checkErr(err);
                        assert.equal(typeof result.fizzle, 'function');
                        done();
                    });
                });
            });

Thanks for the fix @ryanbecker!


Implement uninstall/reinstall interface for githubactions plugin

Description
At the moment, the Reinstall and Uninstall are mocks.
We want to implement them.
Describe the Proposal
Reinstall: no matter if the workflows are created or not, overwrite it.
Uninstall: delete the pipelines (if already created)

/close #47


Can you please provide Pypi SDIST format or a Release on Github?

Hi,
I would like to use your integration in my Gentoo Overlay for Home Assistant, hope you don't mind.
Therefor I would need a release file either at Pypi in SDIST format, or as a tar.gz on github.
Home Assistant currently requires: roonapi-0.0.21
A release on Github would be easy and OK, but a Pypi tar.gz release would be preferred, because this could take use of Gentoo's mirror system. Most of the other integrations do both.
Thanks
\B.

Should now be done. I'll submit a PR to bump HA to 0.0.22


Remove ser/de from Entity

What problem does this solve or what need does it fill?
Entity is identity for ECS.
It does not serve any other purpose than to identify a set of components in an existing World.
Persisting Entity beyond the lifetime* of a World is unsound, breaks lifetime rule, will cause misuse and problems.
*not a literal Rust lifetime, but the same concept
What solution would you like?
Remove the serde from Entity for users, it can still be used internally for scenes, because we are aware of it's flavors.
When serializing hierarchy map the identity systems (Entity -> u64).
Generate the new ids sequentially.
While Entity may be 'valid' here, because it's unique, it biases how serialization and deserialization is done.
When serializing we ignore the problem that entities will have different Entity when deserialized, because the World will be different.
When deserializing however, we need to account for it, despite having a 'valid' Entity we need to generate a new one.
If someone tries to serialize their own custom hierarchy system that uses Entity, they will be very disappointed to address a non-existing entity after deserializing.
We cannot require users to be aware of this, so we should just lock it away.
When networking use a custom NetworkId.
Additional context
Attempts of using Entity for identity over network.
Related #6194
I'm looking forward to arguments supporting both sides.

With #6194 merged, should we close this?

Persisting Entity beyond the lifetime* of a World is unsound, breaks lifetime rule, will cause misuse and problems.

It has been decided otherwise


Feat: Most popular extractors

Simple accordion of most popular extractors.

@javajunky no rush but what do you think this would take to be ready to merge?
I think we talked about, and I'd also prefer, the option to manually set a few of the most popular then let the usage dictate the rest. Sometime the data gets skewed due to big spikes likely from testing or something so keeping the set of the ones that we know are the top always in there would be great.


Swift-Format Errors

swift-format doesn't like https://github.com/jocosocial/swiftarr/blob/57d8e797472767be8e92a1e8a6d335b7e5eb2593/Sources/App/Models/TimeZoneChange.swift#L77
https://github.com/jocosocial/swiftarr/blob/57d8e797472767be8e92a1e8a6d335b7e5eb2593/Sources/App/Site/SiteLoginController.swift#L40
swift-format Sources/App/Models/TimeZoneChange.swift
...Sources/App/Models/TimeZoneChange.swift:78:2: error: file contains invalid or unrecognized Swift syntax.

It clearly compiles though.

This is a known issue with swift-format / swift-syntax. https://github.com/apple/swift-format/issues/410
Likely will be fixed in swift-5.8


Change string to boolean mute, hold, joinTone, leavingTone in demos

mute, hold, joinTone, leavingTone for conferences and conference members should be boolean in examples

We have a trello card linked to this issue. Closing


Feature/789 add support for mobileconnect SMS / mobileMessage

PR details
What changes did you make? (Give an overview)

closes #789

notes for reviewer

need to update underlying SFMC-SDK's rest.getBulk for this... currently has a patched version in MobileMessage.js --> please review
tests still missing. would add them once code review of main code is finished.
field definition list not final yet. lots of fields that might not be needed during download but kept for time being to allow further analysis.

Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] test scripts updated
[ ] Wiki updated (if applicable)

fyi @phjulia


Add (beta) tags to readme for cloudformation and EC2

Another very small pull request. But I think it's a good idea to be clear that EC2 and Cloudformation are not yet fully fleshed out and with parsers.
Readme now has

ExAws.Cloudformation (BETA)
ExAws.EC2 (BETA)
ExAws.ECS (COMING SOON)

Thanks!


Configuration via environment variables

Is your feature request related to a problem? Please describe.
We have hundreds of different pipelines where we use DependencyCheck. When we want to disable a feature centrally, for example the Sonartype OSS Index, we need to change it in every single pipeline. It would be great if it was possible to read settings from environment variables in addition to CLI arguments / tool config. This would allow us to change it on the spot for everyone.
Describe the solution you'd like
In addition to existing options, read the config values from the environment. Example:
--disableOssIndex -> DISABLE_OSS_INDEX = true
Describe alternatives you've considered
Using a properties file is not as straightforward and simple to deploy, as it also needs to be adapted in every pipeline.
Thanks for providing this tool!

I have the same problem, so I must implement use Bash to generate Property File and use this.

@biennd279 So you set env variables which the Bash script then turns into a properties file?

Using a properties file is not as straightforward and simple to deploy

@meiswjn According to https://jeremylong.github.io/DependencyCheck/dependency-check-cli/arguments.html there's no default value for --propertyfile. Hence, even if you had a properties file, you'd still need to add --propertyfile to your pipelines to point to said file, correct?


feat: Close the devtools when clicking outside the devtools window

🆒 Your use case
I often find myself needing to quickly close the devtools to focus on other elements or interact with my app. Currently, I need to either click the close button within the devtools or manually switch focus away from the devtools window.
With the proposed feature implemented, I would be able to simply click outside the devtools box to close it. It allows for a seamless transition between inspecting elements and interacting with my app.
🆕 The solution you'd like
An event listener that detects clicks outside the devtools box. When a click event occurs outside the devtools box, the event listener would trigger the devtools window to close.
🔍 Alternatives you've considered
No response
ℹ Additional info
No response

We already have that feature :)

Great!


Use observations with certain probability in each epoch during training

I wonder whether I can do something like this in Keras.
I have n positive observations and m negative observations (response can only be 1 and 0). I want to train a Keras model such that in each epoch, I will only use n+10 observations. Among those n+10 observations, n of them are positive and the other 10 are chosen randomly from the m negative observations.
I look at fit_generator but could not quite figure out how to do this.

@tqdo
Moving this issue to closed status as there has been no activity, in case you still face the error please create a new issue.