WIP: PERF: add move semantics support for Array and Array2D

The Array and Array2D classes are heavily used in ITK registration for
the transform parameters and Jacobian derivative. Supporting move
semantics and eliminate unnecessary memory allocations and copies.

http://review.source.kitware.com/#/c/23649/1

The interaction with the "m_LetArrayManageMemory" make wha the "move" should do, and what is expected complicated. The one test had to be modified for non-obvious reasons.
The implication of these changes needs further investigations.

@phcerdan The problem with this class/implementation is defining the behavior of move with the different states of "m_LetArrayManageMemory". This behavior needs to defined first before we worry about the cost of a couple extra assignments.
The reason swap was used here want 1) lack of parent move 2) parent member already being initialized and 3) providing a single location for the implementation of the m_LetArrayMangeMemory constraints and behavior.

The problem with this class/implementation is defining the behavior of move with the different states of "m_LetArrayManageMemory". This behavior needs to defined first before we worry about the cost of a couple extra assignments.

My suggested implementation is not clashing with that. I think it is easier to think and implement in terms of moves than in swaps, and you avoid the temp objects.
m_LetArrayManageMemory is propagated in the move constructor to whatever value it has, and the moved-from (rhs) is let as m_LetArrayManageMemory = false because rhs.data = nullptr, so the destructor is not going to destroy any data.

parent member already being initialized
In the move constructor, parent is initialized at the same time.

Maybe I didn't understand you well on what point you are making.

The problem is defining the expected behavior with the states of m_LetArrayManageMemory.

Move Constructor:

rhs - m_LetArrayManageMemory=false-> move the buffer
rhs - m_LetArrayManageMemory=true-> Most likely don't want to transfer usage of the buffer as it could be very difficult to track down where the array buffer came from and it's lifetime

Move Assignment:

lhs-m_LetArrayManageMemory=false rhs-m_LetArrayManageMemory=false -> move buffer
lhs-m_LetArrayManageMemory=true rhs-m_LetArrayManageMemory=false -> What to do?
lhs-m_LetArrayManageMemory=false ohs-m_LetArrayManageMemory=true -> What to do?
lhs-m_LetArrayManageMemory=true ohs-m_LetArrayManageMemory=true -> What to do?

An illustration of the complication here is in the example that had to be modified for this change. There was an assumption that the buffer was not reallocated, but with these new methods added, the a buffer was replaced.

Move Constructor:
rhs - m_LetArrayManageMemory=false-> move the buffer
rhs - m_LetArrayManageMemory=true-> Most likely don't want to transfer usage of the buffer as it could be very difficult to track down where the array buffer came from and it's lifetime

In both cases you move the buffer, we transfer the same m_LetArrayManageMemory to the new object. And  moved-from objects are not re-utilizable, so we don't care.
The cases where somebody uses m_LetArrayManageMemory=false, we have to assume that the user guarantees that the buffer is allocated, and the destruction will be handled out of the Array. The array does not own the data.

Move Assignment:
lhs-m_LetArrayManageMemory=false rhs-m_LetArrayManageMemory=false -> move buffer
lhs-m_LetArrayManageMemory=true rhs-m_LetArrayManageMemory=false -> What to do?
lhs-m_LetArrayManageMemory=false ohs-m_LetArrayManageMemory=true -> What to do?
lhs-m_LetArrayManageMemory=true ohs-m_LetArrayManageMemory=true -> What to do?

lhs-m_LetArrayManageMemory=true rhs-m_LetArrayManageMemory=false -> What to do?

We destroy the data of lhs, because lhs is managing memory, and then lhs.LetArrayManageMemory = false, because we are getting the buffer that should be un-managed in the Array ( it is not owned).
lhs.destroy()
lhs.data = rhs.data;
lhs.m_LetArrayManageMemory = rhs.m_LetArrayManageMemory; // false.
rhs.data = nullptr; /// Nothing is going to be destroyed in rhs, but will be destroyed when lhs calls its destructor.

lhs-m_LetArrayManageMemory=false rhs-m_LetArrayManageMemory=true -> What to do?

We do nothing, don't destroy any data in the move. This is handled without any extra instruction.
lhs.data = rhs.data;
lhs.m_LetArrayManageMemory = rhs.m_LetArrayManageMemory; // true.
rhs.data = nullptr; // Nothing is going to be destroyed in rhs, and lhs won't deallocate the data at destruction.

lhs-m_LetArrayManageMemory=true ohs-m_LetArrayManageMemory=true -> What to do?

We destroy the data owned by lhs, as expected because lhs-m_LetArrayManageMemory=true
lhs.destroy()
lhs.data = rhs.data;
lhs.m_LetArrayManageMemory = rhs.m_LetArrayManageMemory; // true.
rhs.data = nullptr; // Nothing is going to be destroyed in rhs, but will be destroyed when lhs calls its destructor.

At the end the assignment will be.
// Deallocate resources
if (lhs.m_LetArrayManageMemory)
  lhs.destroy()
// Regular move assignment
// Assign
lhs.data = rhs.data;
lhs.m_LetArrayManageMemory = rhs.m_LetArrayManageMemory;
// Make rhs resource-less
rhs.data = nullptr; // <- this makes rhs.m_LetArrayManageMemory to don't even play a role, but just in case:
rhs.m_LetArrayManageMemory = false;

@phcerdan Thank you for the clear description of the behavior of your elegant code. I unfortunately flubbed the logic in my prior comment. sigh Let me state one clear point, before discussing surrounding issues.
When the rhs does not own its buffer, the buffer must NOT be moved to the other object. This will create a very hard to track down reference to an extern memory dependency. This would be very difficult to track down and debug!
Also not the OptimizerParameters class is derived from this one. A sample use case where the move and buffer reference may come into play is here. Passing the registration parameters around could use step to reduce copying in some places while it other's I'm sure that great effort may have been put into place to ensure reuse of the buffers. The test modified in this PR, may be one way it was done.


Using now.py with cache option.

First time I use now.py it's working but second time I got that error about the cache.
./now.py
Traceback (most recent call last):
  File "./now.py", line 274, in <module>
    main(sys.argv)
  File "./now.py", line 269, in main
    inventory.generate()
  File "./now.py", line 179, in generate
    content = self._invoke('GET', path, None)
  File "./now.py", line 122, in _invoke
    inventory = self._get_cache(cache_name, None)
  File "./now.py", line 103, in _get_cache
    cache_max_age = int(os.environ.get('SN_CACHE_MAX_AGE'))
TypeError: int() argument must be a string or a number, not 'NoneType'

That my option in now.ini about cache.
[defaults]

# Specify the number of seconds to use the inventory cache before it is
# considered stale.  If not defined, defaults to 0 seconds.
cache_max_age = 3600

# Specify the directory used for storing the inventory cache.  If not defined,
# caching will be disabled.
cache_dir = .cache/ansible

By the way great work.

Fixed int() error for unset env variable in commit f11ba83585dca526862d3695f9982b22a6076dba, let me know if you have any more problems.


Use correct regex to avoid SyntaxWarning: invalid escape sequence '.'

Python versions prior to 3.12 may (or may not) throw DeprecationWarning: invalid escape sequence \.
Python 3.12 will definitely throw SyntaxWarning:
➜ amd-smi version
/opt/rocm-6.1.1/libexec/amdsmi_cli/BDF.py:126: SyntaxWarning: invalid escape sequence '\.'
  bdf_regex = "(?:[0-6]?[0-9a-fA-F]{1,4}:)?[0-2]?[0-9a-fA-F]{1,2}:[0-9a-fA-F]{1,2}\.[0-7]"
AMDSMI Tool: 24.6.0+68d8c1a-dirty | AMDSMI Library version: <IP_ADDRESS> | ROCm version: 6.1.1

great catch, should merge early next week

Merged in https://github.com/ROCm/amdsmi/commit/d9ccc441466a6edfee0e6a497b46c6959b2a0725 https://github.com/ROCm/amdsmi/commit/d75d127864723ee6da055d07c72da564c292243f


Added nullability annotations to Bolts Tasks.

Closes #161
This pull request adds nullability annotations to Bolts Tasks.
Few highlights:

This is somewhat potentially breaking, since there are no more implicitly unwrapped optionals in Swift after this is done
This will work on any Xcode 6.3.1+ (which is going to be a requirement after this is merged in) (I can make it support versions before, but it will get way more polluted, and not sure on the actual impact)
For qualifiers - this is still using __nullable instead of _Nullable, since the latter is available on Xcode 7.0+ only

Everything is split into separate commits for easier review, will squash later.
cc @grantland @hallucinogen

:+1:


Getting an exception on the dashboard after deleting the products with mass delete action.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
master
Issue Description
Getting an exception on the dashboard after deleting the products with mass delete action.
Preconditions

Admin should be logged in.
Admin should have at least two or more products.

Steps to reproduce

Go to 'Admin panel'
Click on 'Catalog'
Select all the products and delete all
Click on the Dashboard
See the error

Expected Result
Here should be shown the Dashboard.
Actual Result
Getting an exception on the Dashboard. Here
Screenshots
No response
Additional context
No response

The issue is still there. If there are any pending orders of that deleted product while clicking on the dashboard it is showing an exception. Here


Tag jobs are failing with a permission error.

An example build id: 5bdf0cec-e6d8-4bfa-949b-29c9475974ad
The error message:
HTTPError('403 Client Error: Forbidden for url: https://api.github.com/repos/GoogleCloudPlatform/cloud-sql-python-connector/issues/211/labels')

I also see tag jobs failing in fusion.

same thing happening here:
HTTPError('403 Client Error: Forbidden for url: https://api.github.com/repos/GoogleCloudPlatform/cloud-sql-python-connector/issues/248/labels')
cleanup

We can remove the autorelease: pending label from this PR:
https://github.com/GoogleCloudPlatform/cloud-sql-python-connector/pull/248

Closing as obsolete but please feel free to re-open it.


Feature/#107 improve scope handling

Coverage decreased (-0.1%) to 86.429% when pulling 325f50290d1930f0ffe290193ab04d0bfa0cab93 on feature/#107-improve-scope-handling into 65c8ff231fc4c12d453894e2a07d0f87b4c8407a on master.


feat: add MapAndArrayKey functions in ERC725Utils

What Changes this PR introduce ?

[x] Add MapAndArrayKey functions in ERC725Utils
- addMapAndArrayKey
- removeMapAndArrayKey
and other helper functions.
These functions will be constantly used in the UniversalReceiverDelegate contract

Will be implemented later


error: command ['ninja'] failed

I am trying to build calliope demo program, using my system. I am using Ubuntu 16.04 and have yotta installed. While trying to run the command build all
It gives the following
Build files have been written to: /home/rupesh/Downloads/calliope-demo-master/build/calliope-mini-classic-gcc
[1/1] Linking CXX executable source/calliope-demo
FAILED: : && /usr/bin/arm-none-eabi-g++   -fno-exceptions -fno-unwind-tables -Wl,--gc-sections -Wl,--sort-common -Wl,--sort-section=alignment -Wl,-wrap,main -mcpu=cortex-m0 -mthumb -T"/home/rupesh/Downloads/calliope-demo-master/yotta_targets/calliope-mini-classic-gcc/CMake/../ld/NRF51822.ld" -Wl,-Map,source/calliope-demo.map -Wl,--start-group source/CMakeFiles/calliope-demo.dir/home/rupesh/Downloads/calliope-demo-master/source/Snake.cpp.o source/CMakeFiles/calliope-demo.dir/home/rupesh/Downloads/calliope-demo-master/source/CalliopeDemo.cpp.o source/CMakeFiles/calliope-demo.dir/home/rupesh/Downloads/calliope-demo-master/source/CalliopeTestBoard.cpp.o source/CMakeFiles/calliope-demo.dir/home/rupesh/Downloads/calliope-demo-master/source/CalliopeDemoMaster.cpp.o  ym/microbit/source/microbit.a ym/microbit-dal/source/microbit-dal.a ym/ble/source/ble.a ym/ble-nrf51822/source/ble-nrf51822.a ym/ble/source/ble.a ym/ble-nrf51822/source/ble-nrf51822.a ym/nrf51-sdk/source/nrf51-sdk.a ym/mbed-classic/existing/mbed-classic.a -lnosys  -lstdc++ -lsupc++ -lm -lc -lgcc -lstdc++ -lsupc++ -lm -lc -lgcc -Wl,--end-group  --specs=nano.specs -o source/calliope-demo && cd /home/rupesh/Downloads/calliope-demo-master/build/calliope-mini-classic-gcc/source && arm-none-eabi-objcopy -O ihex calliope-demo calliope-demo.hex && srec_cat /home/rupesh/Downloads/calliope-demo-master/yotta_targets/calliope-mini-classic-gcc/CMake/../bootloader/BLE_BOOTLOADER_RESERVED.hex -intel /home/rupesh/Downloads/calliope-demo-master/yotta_targets/calliope-mini-classic-gcc/CMake/../softdevice/s110_nrf51822_8.0.0_softdevice.hex -intel calliope-demo.hex -intel -o calliope-demo-combined.hex -intel --line-length=44 && cd /home/rupesh/Downloads/calliope-demo-master/build/calliope-mini-classic-gcc/source && /usr/bin/arm-none-eabi-objcopy -O binary calliope-demo calliope-demo.bin
..
/bin/sh: 1: srec_cat: not found
ninja: build stopped: subcommand failed.
error: command ['ninja'] failed
Can someone suggest a solution? I am relatively new to programming using yotta.

srec_cat this program is missing in your path. It can not be found. Do you have srec_cat installed ? See http://srecord.sourceforge.net/man/man1/srec_cat.html


fixed translation title in house-parties-current view

fixed a translation error on houses/:house_id/parties/current
this is probably my last pr to PDS as an internal contributor, just wanted to say I had an amazing time working here, it is an awesome and inclusive environment, I will miss you dearly 💖 Good luck with your future work, I am sure it will be a huge success that I will feel proud to have been part  @ukparliament/backend @ukparliament/webops @ukparliament/data-search @ukparliament/frontend @ukparliament/design
A special shoutout to @katylouise for being the best pairing partner EVER in the past year, between the ups and downs, the 'aha' and the sometimes confusing moments, you have always managed to make this a lot of fun and not feel like work at all! I am sure we'll find other ways to keep our collaboration going and I am looking forward to seeing how you'll continue to shine in the future, you are a star! 😊 💖

Thanks for everything @giusepped - you will be greatly missed!


Fix an unexpected error thrown by TrackerGroup#finish

TrackerGroup#finish attempts to call the finish method on all of
its children. This worked for Tracker and TrackerGroup instances, but
failed on TrackerStream objects as they do not expose a finish
method.
This changeset exposes a finish method on TrackerStream instances by
adding "finish" to the method delegation list so any calls will
properly delegate to the underlying tracker instance.

Ah, thanks so much for this!


Fixed Card Columns section

Removed duplicate card section in the second column.
Put third card section into the details portion of the image like the first 2 columns, shifting the lorem ipsum section down into the correct spot.

#26267 defines the second point listed above. #26586 clearly defines the issues addressed in this PR.

Hi @XhmikosR , any update on this PR?

Sorry I'm very busy with work, please be patient until someone has the time to look into the changes.

Hi @Vimal-Raghubir Thanks for the changes, I would still like to keep more cards to show the masonry grid. Can you add them please?
thanks

Hi Andres which cards are you referring to?


Tests XML reporter

Currently the test results all go to <system-out>, which we are not getting the benefit of a xml file. This format works great with Jenkins test results

@andyscott Friendly ping here. I think this is valuable.

Very glad to see this.
As far as I know, this doesn't work with process level isolation. Anyone have any thoughts on how to get that to work or if it is valuable? If it doesn't work and we accept that, we should probably add a note about it somewhere.

Also - thanks for doing this!

Thanks @jjudd to mention that. If we merge this PR, we should update the documentation as well.

Other than my gripe with the XML syntax usage, 👍 from me for merging.


Created Docker image for P2P

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 85.443%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
5609

Relevant Lines:
6106

💛  - Coveralls


Run migration via CLI

Requests:

David https://discord.com/channels/983865673656705025/983866416832864350/1042101786619691058

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


Updated Join Page

Also updated teal and navy color schemes for Contact page

Great job! I made some small fixes to ensure mobile looks smooth too (basically just instead of a row it's a column) but otherwise it's fantastic work!

Great job! I made some small fixes to ensure mobile looks smooth too (basically just instead of a row it's a column) but otherwise it's fantastic work!


Add support for custom words in img-redundant-alt

Usefull for users who are writing apps in a different language.

Coverage increased (+0.005%) to 99.263% when pulling 184c2c9ac9468236b383d283074097bfd656e6a8 on badtant:master into f9b0d821cdbc689bfada451d747490a1ba5774b0 on evcohen:master.

this is really great, thanks again!


Why do I get error -32018 "Missing required parameters." when using Anonymous authorize?

Hello!
I am trying to use the C# wrapper to get streams from the EPOC+ device, however I am having trouble running the authorize method.
I open the connection CortexClient.Instance.Open(), run GetUserLogin() (this returns correct user) and after that I run the Authorize method, which I've modified to pass empty params as specified in the documentation (https://emotiv.github.io/cortex-docs/#authorize).
However this results in "Error: Missing required parameters." code: -32018
Here's full sequence of the sent and received JSON messages:
Send getUserLogin
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getUserLogin"
}

Received: {"id":1,"jsonrpc":"2.0","result":[{"currentOSUId":"1001","currentOSUsername":"Tomas","loggedInOSUId":"1001","loggedInOSUsername":"Tomas","username":"frooxius"}]}

handleResponse: getUserLogin

GetUserLogin: frooxius

Send authorize
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "authorize",
  "params": {}
}

Received: {"error":{"code":-32018,"message":"Missing required parameters."},"id":2,"jsonrpc":"2.0"}

Is there a step that I am missing?

Hello @Frooxius
I am sorry, the API of Cortex 2.0 is not the same with the Cortex 1.x API.
In Cortex 2.0, you cannot do an anonymous authorize anymore. You must provide a client id and client secret.
The doc you mentioned (https://emotiv.github.io/cortex-docs) is only valid for Cortex 1.x, it is not valid for Cortex 2.0.
Emotiv will publish a brand new documentation for 2.0 very soon, probably by the end of this week.

Thanks @bchaperon for the quick response! Now it makes sense, I assumed that since the JSON is the same, only the C# wrapper structure was changed. I'll try with the client id and secret then, thank you!

Hi @Frooxius
FYI the new API documentation is now available at https://emotiv.gitbook.io/cortex-api/
Hope this will be helpful :)


example_application: Remove app_version generation

Is your enhancement proposal related to a problem? Please describe.
There is now a zephyr system for application versioning, the example application demonstrated how it could be done before this was system was introduced.
Describe the solution you'd like
Replace the bespoke solution with the zephyr solution
Describe alternatives you've considered
None

Fixed by https://github.com/zephyrproject-rtos/example-application/pull/38


Simplified Chinese

When I search for it with Simplified Chinese, it shows an error, not showing me the link the link to its Traditional counterpart. The page of that Traditional one exists.

Are you using the compact formatting or not? Can you give me the Wiktionary url you are using.

I am sorry for not be replying for so long.
For example, 欢迎
https://en.wiktionary.org/wiki/欢迎

Hey, I just looked into this. I cannot do anything about the result since it's provided by the wiktionary API here. However, if you specify "en.wiktionary.org" in the 'wiktionary language' box in preferences, then you will get results from the different API which does give you a redirection link to the term '歡迎'. You will lose the cute display style and fall back to the more traditional Wiktionary look, though.


data loss after editing geojson

Open http://geojson.io/#id=gist:anonymous/08b09c066e72a801616c
Edit the coordinates of the polygon in the "JSON" tab
Cmd+S

Result: It reverted to the original data, your edits are gone.

Finally figured out that this was because of a validation error (first coord != last). To avoid data loss, save should be disabled in this case, or it should save even though there's a validation error.


Add option for generating conventional commit messages

Having copilot generating my commit messages for me is great, no doubt.
I'd wish for an option to have messages created following the conventional commits specification. At work we're only using that format for automated package versioning and creation of changelogs.

Closing as duplicate of https://github.com/microsoft/vscode-copilot-release/issues/526.
Please see the following comment on how to specify custom instructions for commit message generation.


Camera freezes on last scanned image while Re-scan

Hello All / @Redth ,
I have used ZXing to Scan QR Code. I'm facing two different issue with different version of ZXing.
Steps which I'm following:

Open Camera for scan.
Cancel the scanning.
Open Camera for Re-scan.

Issue With ZXing.Net.Mobile Version 2.1.47

Initially camera scanned properly however if i cancel and re-open it take 12-18 seconds to re-open camera for scanning.
So I have updated ZXing.Net.Mobile with latest stable version as well as i have tried with all latest version of 2.1.47.

Issue With ZXing.Net.Mobile version > 2.1.47

Now #1 issue resolved with update and now camera open quickly for re-scan however it freeze on last scanned image however if i move to QRCode it still scanned properly but freeze on last scanned image.

I'm uses ZXing on Xamarin forms so i have created Renderer in Native. Below is the link the way i have used renderer in Andriod.
"https://github.com/Redth/ZXing.Net.Mobile/blob/master/Source/ZXing.Net.Mobile.Forms.Android/ZXingScannerViewRenderer.cs"
Xamarin forms version: <IP_ADDRESS>0
Please help me to find the solution for above issue.
Thanks in advance,
Ankit

I'm uses ZXing on Xamarin Forms too.
Android: until latest version 3.0.2  camera still freeze if u set IsScanning = false, I resolved by remove old ZXingScannerView from container (for me is Grid) and re-create again

@worawutt ,
Thanks for the reply , can you please provide your ZXingScannerView code so i can try to check with it.

sorry for wrong version, latest version is 2.3.2
You can remove 'Device.BeginInvokeOnMainThread' If you call CreateScanner()/ReleaseScanner from UI Thread
`
public partial class MyScanPage : BaseContentPage
{
ZXingScannerView scanner;
void CreateScanner()
{
    ReleaseScanner();

    Device.BeginInvokeOnMainThread(() => {
        scanner = new ZXingScannerView {
            HorizontalOptions = LayoutOptions.FillAndExpand,
            VerticalOptions = LayoutOptions.FillAndExpand,
            AutomationId = "zxingScannerView",
            IsScanning = true,
            IsAnalyzing = true
        };
        scanner.OnScanResult += Scanner_OnScanResult;
        cameraGrid.Children.Add(scanner);
    });
}

void ReleaseScanner()
{
    Device.BeginInvokeOnMainThread(() => {
        if (scanner != null) {
            scanner.IsTorchOn = false;
            scanner.IsAnalyzing = false;
            scanner.IsScanning = false;
            scanner.IsVisible = false;
            scanner.OnScanResult -= Scanner_OnScanResult;
            cameraGrid.Children.Remove(scanner);
            scanner = null;
        }
    });
}

void Scanner_OnScanResult(ZXing.Result result)
{
    Device.BeginInvokeOnMainThread(() => {
        scanner.IsAnalyzing = false;
        ViewModel.BarcodeResult = result.Text;
    });
}

protected override void OnDisappearing()
{
    ReleaseScanner();
    base.OnDisappearing();
}

}`

@worawutt  Works perfect when you have multiple scanners . It's just sad that we have to do this, Its the plugins job to close itself.  Its like turning of a car by always taking out the battery

I am running into same issue on re scanns please see my code below
[code]
public async  void  BtnScanStockTakeItem_Clicked(object sender, EventArgs e)
{
 var scanPage = new ZXingScannerPage();
 scanPage.ToggleTorch();
 scanPage.IsScanning = true;
 await Navigation.PushAsync(scanPage);
 scanPage.OnScanResult += (result) =>
 {

  // Stop scanning
  scanPage.IsScanning = false;

  // Pop the page and show the result
  Device.BeginInvokeOnMainThread(async () =>
{
    await Navigation.PopAsync();
}

}
I am then calling the above from another button method lets say the saved function
private async void SaveFunction(object sender, EventArgs e)
{
    foreach (var item in transferList)
    {

        int z = await restServices.PostStockTakeTransaction(item);
    }
    Preferences.Set("StockTakeWarehouse", pickStockTake.SelectedIndex);
    WarehouseName = pickStockTake.SelectedItem.ToString();
    bool x = await DisplayAlert("Test", "Item Saved", "ReScan", "Cancel");
    if (x)
    {
         BtnScanStockTakeItem_Clicked(sender, e);
        //this is where it rescans the item
    }

}
[/code]
The scanner pops up fine but doesnt permit scanning any ideas.

Thanks for reporting this issue!  Unforunately it took me way too long to respond 😭.  Sorry, I apologize!  Recently the source code for this project was completely refactored to modernize it.  Many PR's were included in this effort, and many bugs were hopefully fixed.  Please try out the latest 3.x series of NuGet packages (currently in prerelease).  To try and make the project more maintainable in my spare time going forward, I've decided to close all existing issues to start with a clean slate.  If you're still experiencing this issue on the newest version, please open a new issue with as much detail as possible.  Thank you for your patience and understanding!  Happy scanning!


Update README

Change
<mq-layout mq="['sm', 'lg']">
to
<mq-layout :mq="['sm', 'lg']">

Maybe also on the demo site: https://alexandrebonaventure.github.io/vue-mq/


[BUG]  panic when parse redis

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

DeepFlow Component
Agent
What you expected to happen
正常解析redis协议
How to reproduce
No response
DeepFlow version
Name: deepflow-agent community edition
Branch: v6.4
CommitId: b3f2758a3ad8a8b06ff221251a3ef1c80abbc6ff
RevCount: 9760
Compiler: rustc 1.75.0 (82e1608df 2023-12-21)
CompileTime: 2024-03-28 03:09:51
Name: deepflow-server community edition
Branch: v6.4
CommitID: 2f352404119929699874cc3fce8d4b180222db09
RevCount: 9755
Compiler: go version go1.20.14 linux/amd64
CompileTime: 2024-03-27 07:31:49
DeepFlow agent list
ID       NAME              TYPE       CTRL_IP            CTRL_MAC           STATE    GROUP   EXCEPTIONS
1        <IP_ADDRESS>-V137 K8S_VM     <IP_ADDRESS>       fa:16:3e:72:d7:a1  NORMAL   default
Kubernetes CNI
No response
Operation-System/Kernel version
Huawei Cloud EulerOS 2.0 (x86_64)
5.10.0-<IP_ADDRESS>.r1002_48.hce2.x86_64
Anything else

agent-group-config 如下
l7_log_packet_size: 4000
l4_log_collect_nps_threshold: 50000
l7_log_collect_nps_threshold: 50000

Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

https://github.com/deepflowio/deepflow/actions/runs/8796600045
这个 CI 跑完之后，重新拉一下 v6.4 的镜像就好了


Add support for ethernet-based serial adaptor

The UNIRAS rig will use an ethernet-based serial adaptor, CSC-H64 by Sollae Systems, in place of the current USB serial adaptors. This will require some (small) modifications to the existing code, which currently only works with USB serial adaptors.
There are two ways we could approach this:

The serial adaptor comes with software which creates virtual COM ports that can be used as regular serial devices. This option would require that we change the code to work with COM ports of any type, rather than just those associated with USB devices.
We may be able to communicate with the serial adaptor directly, without any additional software required. There is an open standard for serial over IP connections (RFC2217), which is supported by the Python library we are using for serial connectivity (PySerial) and, hopefully, the serial adaptor will support this protocol. (If not, we may still be able to make it work ourselves, but in this case, it is likely that the previous option will be better.) One advantage of this approach is that we won’t have to hardcode COM-port numbers (which are somewhat fragile) into our config files.

Marking as "on hold" until we actually have one of these adaptors to play with.


Is comment content considered as relevant content ?

Hi,
You made, comment .syntax-comment in the visible color. But, in most case, comment content is not considered as relevant content, isnt it ?
Or is this for doc comment purpose ?
Tested on Atom

comment content is not considered as relevant content, isnt it ?

If they're not relevant, why do you have them in your code? Comments should explain the "why" in code. If you don't want it highlighted, it probably means your comments have little value and should be removed.

You may be right. As independent, I am a young boy about clean code principles ^^'


Highlight most recent move (for each player?)

Similar to Minesweeper Flags Extreme or Lichess, highlight the most recent move - possibly most recent move for each player.

Please use a log for this so you can see all player moves through out the game.
Move1: User1 Clue to User2: Colour Green
Move2: User2 Clue to User1: Number 1
Depending on how the log is displayed make the list in reverse order.
Move3
Move2
Move1
Or just have an option for it in the log to actually make it in whatever order the user wants.

@Etrisa For Hanabi, yes, but I don't think the same applies to other games.

Me bad at hub de git, how issue submit me for hanabi?
On Fri, 8 May 2020, 11:00 Simon Forsberg<EMAIL_ADDRESS>wrote:

@Etrisa https://github.com/Etrisa For Hanabi, yes, but I don't think
the same applies to other games.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Zomis/Server2/issues/43#issuecomment-625716546, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACTTMWLQCBVAT4WS7WFX3ZDRQPC2NANCNFSM4KWXT3LA
.

Me being bad at submitting issues again, will figure it at some point, sorry :)

Very related to #79 and #65

This has been implemented in some games, but needs to be implemented in the rest of the games before this issue is closed.


Inclusion of British English translation in releases

I recently discovered that date formats can be modified via translations files.
For me I often need to change from mm/dd/yy format to dd/mm/yy, and found through this post that I could achieve this by adding and enabling a 'British English' translation: https://www.concrete5.org/community/forums/5-7-discussion/date-format-stuck-on-us/#693596
(Thanks Mainio!)
Compared to how it was managed in 5.6 I think this is rather elegant.
But I'm wondering if it's a bit of an oversight that such a translation isn't included in releases by default. I'd be thinking that pretty much all non-American English speaking locations would be wanting to flick the date format over easily and the smaller other languages changes would be desirable to quite a large user base.
I'd imagine the translation would be pretty easy one to maintain too, chuck a few missing u's in, replace a few zeds...   :-P
Apologies if it is already included and I've just missed it  - I haven't quite worked out how the translation files get added to a build in the first place.

en_GB is not included since it's at 2%
I think that implementing it would be quite easy and fast:

I can merge the actual en_GB translations with the en_US ones
a British native should check and correct these translations
I can upload the new translations to Transifex
en_GB is at 100%

Does anyone want to do point 2?

Wouldn't it be at 2% as that's all that would be required?
2% sounds a bit like the number of spellings that would likely be different.. maybe even a bit high to be honest.
We're certainly happy to help with point 2. I just might need a quick overview of what that would require from us as I've not been involved with translations before.
Not a British native, but I do use the Queen's English.

Also very interested in this... We use en_GB as we are located in New Zealand (the better island to @Mesuva ;) )

Wouldn't it be at 2% as that's all that would be required?

I absolutely don't know, what I know is just Spaghetti English :wink:

We're certainly happy to help with point 2. I just might need a quick overview of what that would require from us as I've not been involved with translations before.

Anyone willing to help simply needs to create a Transifex account and join the English (United Kingdom) translation group.
You can translate the US strings that needs adjustments: once that's done, simply give me a feedback and I'll copy the remaining strings from en_US to en_GB.

@Mesuva it's not that simple with that limit we've set. While it might be 2% difference or slightly less, we can't do that with most languages. If we would include Swahili at 2% we would have a rather useless interface. That's why we ignore languages at 2%. English languages are the exception here as American English would simply be a fallback..
Personally I would suggest to copy en_US to en_GB and then start replacing colors with colours and so on.

@Remo that all makes sense to me, I was really just wondering if the 2% completed suggested that the translation might actually be 'finished'.
@mlocati thanks for the links, I'll see how far I get!

Would not en_GB the majority? As almost all non-American English-speaking countries use Brittish English.. My understanding (very limited) is en_US was to be used for US only?

On 23/06/2016, at 6:50 PM, Ryan Hewitt<EMAIL_ADDRESS>wrote:
@Remo that all makes sense to me, I was really just wondering if the 2% completed suggested that the translation might actually be 'finished'.
@mlocati thanks for the links, I'll see how far I get!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@jpcharrier yeah, except when it's about software, there en_US is often more popular. I guess the British just don't write enough software ;-)

I guess they don't! Thanks for clarifying @remo :)

On 23/06/2016, at 7:04 PM, Remo Laubacher<EMAIL_ADDRESS>wrote:
@jpcharrier yeah, except when it's about software, there en_US is often more popular. I guess the British just don't write enough software ;-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Just a couple of questions about translating in general:

I'm seeing in transifex in the en_GB translation instances where the exact same word text is provided as the translation, e.g.  'Size' => 'Size'.  Should these be removed so it's only the actual differences from the default text that are included?

And for the trickier question, I've noticed that 'State/Province' has been translated to 'County'.
Now in the UK, this is understandable to be preferable, but county isn't really a more global translation as such. In Australia we'd use the term 'State'. Also if the label is for use on an address attribute, you could be still entering in an international address where county doesn't really make sense. So I'm wondering if this should be undone, or whether it's correct s it's an en_GB translation and not a en_AU (or en_NZ) translation file!

I'm seeing in transifex in the en_GB translation instances where the exact same word text is provided as the translation, e.g. 'Size' => 'Size'. Should these be removed so it's only the actual differences from the default text that are included?

In the (many) cases where the en_GB translation is the same as en_US, I'd keep the strings translated. This is very helpful (I'd say mandatory) because language files change as the source code changes: you couldn't distinguish the strings intentionally left empty with the new strings that will be added in the future.

that 'State/Province' has been translated to 'County'

If UK people can understand that for them State/Province means County, I'd keep State/Province...

@mlocati So does that mean I should be going through the remaining 98% of the strings and copying them across so that it can get to 100% translated?

@mlocati So does that mean I should be going through the remaining 98% of the strings and copying them across so that it can get to 100% translated?

Yes, but please note that this can be done in an automatic way:

On the https://www.transifex.com/concrete5/concrete5/language/en_GB/ page, click on the resource you want to translate (eg concrete5 development 8.x)
In the popup window click on Download file to translate to download a .po file
Save this PHP script to a file (let's name it fill.php):

<?php

// you have to change the `SOURCE_PO_FILE` and `DESTINATION_PO_FILE` placeholders

$translations = \Gettext\Translations::fromPoFile(SOURCE_PO_FILE);
/* @var \Gettext\Translations $translations */
$numPlurals = count($translations->getPluralForms());
foreach ($translations as $translation) {
    /* @var \Gettext\Translation $translation */
    if (!$translation->hasTranslation()) {
        $translation->setTranslation($translation->getOriginal());
        if ($translation->hasPlural()) {
            for ($p = 0; $p < $numPlurals; $p++) {
                $translation->setPluralTranslation($translation->getPlural());
            }
        } else {
            $translation->setTranslation($translation->getOriginal());
        }
    }
}
$translations->toPoFile(DESTINATION_PO_FILE);

Execute the above script with concrete/bin/concrete5 c5:exec fill.php
go back to transifex and click the Upload file, specifying the newly created file (DESTINATION_PO_FILE)
wait a few seconds
Enjoy en_GB at 100% :wink:

That's fantastic, I was certainly wondering whether poedit or something else could be used to automate this step.
I am still finding quite a number of items worth adjusting for small spelling differences, I'll tackle the above when I think I've exhausted all the necessary differences.

Worked beautifully:

Great!

Congratulations, this has been long overdue.

As this has been done and I think it's already been pulled into the translations repository I'll close this issue.


Multi-Factor Authentication

Any possibilities for multi-factor authentication implementation along the road map?

Closing as duplicate of gh-534


Parsing GFM code blocks in list is broken for Objective-C due to dashes

If you add an objective-c code block in a list using GFM, the parsers seems to interpret the - in front of the objective-c function declaration as a new list item.
With a random JavaScript code snippet this works fine
> marked("This is a list\n1. Some first item\n2. Some second item\n```js\nvar a = 'a string';\n```\n3. Some third item")

'
This is a list
\n
\n
Some first item
\n
Some second item
var a = 'a string';\n
\n
\n
Some third item
\n
\n'

Now if add a dash in the beginning of the code snippet we'll see the misinterpretation:
> marked("This is a list\n1. Some first item\n2. Some second item\n```objc\n- (BOOL)someFun { ... }\n```\n3. Some third item")

'
This is a list
\n
\n
Some first item
\n
Some second item\n```objc</li>\n<li>(BOOL)someFun { ... }\n```
\n
Some third item
\n
\n'

#983


[AV2-1378] Bugfix/unresponsive submit review button

I'm closing this one, because the same change/commits have been merged in this PR https://github.com/intersective/app-v2/pull/1715


Wrecking Ball adaptive shields

Created by: Sillekram
Wreckingball's adaptive shields duration is currently 7 seconds instead of the 9 seconds it was in ow1.

moved from ow1_emulator_backup#524


Cleanup before 5.0.0

Largely cosmetic changes, but potentially API breaking

eliminated some global (to namespace) typedefs
made private some methods for internal use
removed deprecated methods
moved convenience typedefs to the front
moved constants to separate namespaces
some documentation improvements

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

54 of 54 (100.0%)  changed or added relevant lines in 10 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.003%) to 98.938%

Totals

Change from base Build<PHONE_NUMBER>:
-0.003%

Covered Lines:
16021

Relevant Lines:
16193

💛  - Coveralls


Incompatible Units rem/px

We are using 4.0.0-alpha.4. So once I compile the source sass I run into this Error:
Error in plugin 'sass'
Message:
    node_modules/bootstrap/scss/_popover.scss
Error: Incompatible units: 'rem/px' and 'rem'.
        on line 114 of node_modules/bootstrap/scss/_popover.scss
>>   @include border-radius(($border-radius-lg - $offset-border-width) ($border-r
   --------------------------^

Looks like it has to do with $offset-border-width on line 114 in _popover.scss:
@include border-radius(($border-radius-lg - $offset-border-width) ($border-radius-lg - $offset-border-width) 0 0);
I went and looked at the older alpha v2 we were running and seen this:
@include border-radius(($border-radius-lg - 1) ($border-radius-lg - 1) 0 0);
I then went and changed our v4 line to match v2 and it seems to work.
So something changed in the BS4 source code that has to do with $offset-border-width that is causing a break in the sass compiler. Currently using gulp sass as our compiler.

Unable to reproduce with current v4-dev.
That error normally means you've customized Bootstrap's variables, and one of your custom values uses incompatible units. So it's a bug in your particular choice of values rather than in Bootstrap.

I fixed this by removing my $base-font-size which was set to px.


Corrupt BTree merge results when duplicate keys leak across common subtree boundaries

Most of BTree's merge methods have subtle bugs in their common subtree detection logic, which can sometimes lead to corrupt results and/or assertions when duplicate keys cross the boundaries of a common subtree.
This is not the easiest to reproduce using public API, but the following test manages to do it:
    func test_Intersection_withModifiedSelf() {
        var tree = BTree<Int, Int>(order: 5)
        for i in 0 ..< 10 {
            for j in 0 ..< 2 {
                tree.insert((i, j))
            }
        }

        for i in 0 ..< 10 {
            var other = tree
            other.withCursor(atOffset: 2 * i) { cursor in
                cursor.remove(2)
            }
            other.assertValid()
            let test = tree.intersection(other)
            XCTAssertEqual(test.map { $0.0 }, other.map { $0.0 })
        }
    }

Results on current master branch:
Test Case '-[BTreeTests.BTreeMergeTests test_Intersection_withModifiedSelf]' started.
/Users/lorentey/Git/BTree/Tests/BTreeMergeTests.swift:777: error: -[BTreeTests.BTreeMergeTests test_Intersection_withModifiedSelf] : XCTAssertEqual failed: ("[1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9]") is not equal to ("[1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9]") -
/Users/lorentey/Git/BTree/Tests/BTreeMergeTests.swift:777: error: -[BTreeTests.BTreeMergeTests test_Intersection_withModifiedSelf] : XCTAssertEqual failed: ("[0, 0, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 0, 0, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9]") is not equal to ("[0, 0, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9]") -
/Users/lorentey/Git/BTree/Tests/BTreeMergeTests.swift:777: error: -[BTreeTests.BTreeMergeTests test_Intersection_withModifiedSelf] : XCTAssertEqual failed: ("[0, 0, 1, 1, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 0, 0, 1, 1, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9]") is not equal to ("[0, 0, 1, 1, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9]") -
/Users/lorentey/Git/BTree/Tests/BTreeMergeTests.swift:777: error: -[BTreeTests.BTreeMergeTests test_Intersection_withModifiedSelf] : XCTAssertEqual failed: ("[0, 0, 1, 1, 2, 2, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 0, 0, 1, 1, 2, 2, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9]") is not equal to ("[0, 0, 1, 1, 2, 2, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9]") -
/Users/lorentey/Git/BTree/Tests/BTreeMergeTests.swift:777: error: -[BTreeTests.BTreeMergeTests test_Intersection_withModifiedSelf] : XCTAssertEqual failed: ("[0, 0, 1, 1, 2, 2, 3, 3, 5, 5, 6, 6, 7, 7, 8, 8, 0, 0, 1, 1, 2, 2, 3, 3, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9]") is not equal to ("[0, 0, 1, 1, 2, 2, 3, 3, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9]") -
/Users/lorentey/Git/BTree/Tests/BTreeMergeTests.swift:777: error: -[BTreeTests.BTreeMergeTests test_Intersection_withModifiedSelf] : XCTAssertEqual failed: ("[0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 6, 6, 7, 7, 8, 8, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 6, 6, 7, 7, 8, 8, 9, 9]") is not equal to ("[0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 6, 6, 7, 7, 8, 8, 9, 9]") -
/Users/lorentey/Git/BTree/Tests/BTreeMergeTests.swift:777: error: -[BTreeTests.BTreeMergeTests test_Intersection_withModifiedSelf] : XCTAssertEqual failed: ("[0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 7, 7, 8, 8, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 7, 7, 8, 8, 9, 9]") is not equal to ("[0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 7, 7, 8, 8, 9, 9]") -
Test Case '-[BTreeTests.BTreeMergeTests test_Intersection_withModifiedSelf]' failed (0.076 seconds).

Note how the returned results are often not even sorted correctly.
The bug affects distinctUnion, subtracting, symmetricDifference, intersection, and the new bag variants, but not union.

There were two distinct sub-bugs:

Sometimes BTree considered an entire tree shared even after it has already processed a non-empty prefix of it. As a result, the prefix tree could become duplicated in the result, which could break the ordering invariant. This happened when the shared subtree was a suffix tree of one of the input trees. Affected BTree methods: distinctUnion, intersection, and bagIntersection.

When a merging method detected a shared subtree S, and exactly one of the input trees had at least one element following the subtree with the same key as S.last!.key, these extra elements would not be counted as having matching keys across the two input trees. Affected BTree methods: distinctUnion, subtracting, symmetricDifference and intersection.

(Unit tests to catch these errors have been added in 86807036bfc538917055b1e280cb19d8b4359c14.)


Unable to retrieve the list of statuses on Jira server

Followed all the instructions on https://github.com/zenoss/testrail-jira-gadgets/blob/master/INSTALL.md

All .pl files are running and .xml files are created with my Testrail data

All XML path's are added as gadgates to Jira, and can be added.

Once Added, I get the following:
"Unable to retrieve the list of statuses"
See below a screenshot of the gadget inside Jira and the Gadgets directory containing the testrail gadgets:
https://cdn-business.discourse.org/uploads/gurock/original/2X/1/164ea6f71d41d5dce7b9f8dd27374ad9ffc12672.png

My configuration is:

Jira Server v6 configured as HTTP
local Gadget server - RedHat7 running httpd - HTTP
Testrail cloud - HTTPS

Jira server can access both TestRail cloud and Gadget server
Gadget server can access both TestRail cloud and Jira server
To Don Young request, I have ran the below curl from both the gadget server and Jira server - both returned with the same result.
real user and domain name were replaced with xxxxx (no typoes there as everything was replaced from default configuration using sed):
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* About to connect() to XXXX.testrail.com port 443 (#0)
*   Trying <IP_ADDRESS>...
* Connected to XXXX.testrail.com (<IP_ADDRESS>) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate:
* 	subject: CN=*.testrail.com,OU=IT,O=Gurock Software GmbH,L=Berlin,C=DE
* 	start date: Aug 17 00:00:00 2014 GMT
* 	expire date: Nov 03 12:00:00 2017 GMT
* 	common name: *.testrail.com
* 	issuer: CN=DigiCert SHA2 Secure Server CA,O=DigiCert Inc,C=US
* Server auth using Basic with user 'XXXXXX'
> GET /index.php?/api/v2/get_statuses HTTP/1.1
> Authorization: Basic bW9zaGVAcmVkdXhpby5jb206Z3Vlc3Q=
> User-Agent: curl/7.29.0
> Host: XXXXX.testrail.com
> Accept: */*
> Content-Type: application/json
>
< HTTP/1.1 200 OK
< Content-Type: application/json; charset=utf-8
< Date: Mon, 09 Jan 2017 18:47:06 GMT
< Server: Apache
< Content-Length: 830
< Connection: keep-alive
<
{ [data not shown]
100   830  100   830    0     0    620      0  0:00:01  0:00:01 --:--:--   620
* Connection #0 to host XXXXX.testrail.com left intact
[
    {
        "color_bright": 12709313,
        "color_dark": 6667107,
        "color_medium": 9820525,
        "id": 1,
        "is_final": true,
        "is_system": true,
        "is_untested": false,
        "label": "Passed",
        "name": "passed"
    },
    {
        "color_bright": 14737632,
        "color_dark": 9474192,
        "color_medium": 13684944,
        "id": 2,
        "is_final": true,
        "is_system": true,
        "is_untested": false,
        "label": "Blocked",
        "name": "blocked"
    },
    {
        "color_bright": 15790320,
        "color_dark": 11579568,
        "color_medium": 15395562,
        "id": 3,
        "is_final": false,
        "is_system": true,
        "is_untested": true,
        "label": "Untested",
        "name": "untested"
    },
    {
        "color_bright": 16448182,
        "color_dark": 13026868,
        "color_medium": 15593088,
        "id": 4,
        "is_final": false,
        "is_system": true,
        "is_untested": false,
        "label": "Retest",
        "name": "retest"
    },
    {
        "color_bright": 16631751,
        "color_dark": 14250867,
        "color_medium": 15829135,
        "id": 5,
        "is_final": true,
        "is_system": true,
        "is_untested": false,
        "label": "Failed",
        "name": "failed"
    }
]

Example Gadget XML:
<ModulePrefs title="TestRail: Milestone Status" description="Testing status from TestRail for a specific milestone" author="Don Young"<EMAIL_ADDRESS>thumbnail="__UP_gadgetURL__/images/testrail-milestone-gadget-thumbnail.png" height="330">
<Require feature="dynamic-height"/>
<Require feature="settitle"/>
<Require feature="minimessage"/>
<Optional feature="gadget-directory">
<Param name="categories">Other</Param>
</Optional>
</ModulePrefs>
<UserPref name="projectMilestoneIDList" display_name="(Project) Milestone" datatype="enum" default_value="1|10">
<EnumValue value="1|10" display_value="(XXXX) V3.0 Integration"/>
<EnumValue value="1|12" display_value="(XXXX) V3.0GA"/>
<EnumValue value="1|13" display_value="(XXXX) V3.0GA\V3-Cycle1"/>
<EnumValue value="1|14" display_value="(XXXX) V3.0GA\V3-Cycle2"/>
<EnumValue value="1|15" display_value="(XXXX) V3.0GA\V3-Cycle3"/>
</UserPref>
<UserPref name="testRailURL" display_name="TestRail URL" datatype="hidden" default_value="https://XXXX.testrail.com/"/>
<UserPref name="gadgetURL" display_name="Gadget Web Server URL" datatype="hidden" default_value="http://vm-qa-nfs/"/>
<Content type="html" view="default">
<![CDATA[

]]>
</Content>
</Module>

Are there any error messages in the TestRail log?  I'm not sure if it's the same in the cloud version, but in the onsite version the logs are in Administration -> System Log

Nothing like that... I have no idea where TestRail logs are....

Do you see anything in the xml format that is wrong ?

The XML file looks fine. And since there's milestones listed then the Perl scripts are working just fine.
Also, since your instance is a cloud instance I would guess Gurock would have to check the TestRail logs.

Debugging in the Chrome browser:
NOTE: The following line numbers are for the TestRail: Milestone Status gadget.

Browse to the JIRA dashboard with the TestRail gadget
Ctrl-Shift-J to open the developer console
Click the Sources tab
Ctrl-P to open a file
In the file box type testrail which will show the TestRail gadget javascript file (testrail-milestone-summary.js) at the top of the list. Click on that file to open it.
Put a breakpoint on the following line by scrolling down to line 83 and clicking the 83.for (var i = 0; i < responseLength; i++) {
Refresh the page. The page should pause in the middle of the refresh with a small Paused in debugger message. Also, you should see some of the response values for the function calls highlighted in the source.  For example, line 73 should show the response object passed in. On that line ensure the rc value is 200.
On line 79 ensure the responseLength value is > 0.

If the rc value on line 73 isn't 200 and the responseLength on line 79 isn't > 0 then let me know what they are.

rc: 403
responseLength = undefined

On line 73 what's displayed for the value of the text: field?  It should be some sort of error message.

obj = Object {text: "Requests to https://reduxio.testrail.com//index.ph…tion (http://confluence.atlassian.com/x/KQfCDQ ).", rc: 403, headers: Object,...

I Thing I got something:
"Requests to https://reduxio.testrail.com//index.php?/api/v2/get_statuses are not allowed.  See your administrator about configuring a whitelist entry for this destination (http://confluence.atlassian.com/x/KQfCDQ )."

Ah, excellent.  In JIRA, you (or an administrator, if you're not one) can click the "gear" icon on the top right, next to your avatar, to open the Adminstration dropdown. Click on System.  On the System page click Whitelist in the menu on the left.  At the top of the whitelist enter _https://reduxio.testrail.com/*_ in the Expression field and click Add.  The Type should have automatically selected Wildcard expression.
Retry viewing the Dashboard.

Did it, Still getting the same error....

Its Working !!!
I had to remove the gadget and add it again....
Thanks for all the help !
Now we need to debug some real (Red) issues like:
ifr?container=atlassian&mid=16140&country=US&lang=en&view=default&view-params={"writable"%3A"true"}…:122 GET http://gadget.server.hostname/gadgets/testrail-projects-all-summary.js net::ERR_NAME_NOT_RESOLVED
testrail-project-summary.js:277 Uncaught TypeError: google.visualization.arrayToDataTable is not a constructor
at renderTestResults (testrail-project-summary.js:277)
at handlePlanResponse (testrail-project-summary.js:239)
at processResponse (auth-refresh.js?v=5d17277…&container=atlassian&debug=0:327)
at XMLHttpRequest. (auth-refresh.js?v=5d17277…&container=atlassian&debug=0:70)

If that's the real error then the gadget server URL needs to be updated with your gadget server hostname.

And I get the arrayToDataTable error occasionally, but I haven't been able to debug why. It goes away if you refresh the page.

And I'm going to update the install instructions to include the need to update the JIRA whitelist.

Fixed the hostname error...
And BTW - There is no support for nested milestones

I'll look into the constructor error above.
The milestone XML you posted above has the following:
<UserPref name="projectMilestoneIDList" display_name="(Project) Milestone" datatype="enum" default_value="1|10">
   <EnumValue value="1|10" display_value="(XXXX) V3.0 Integration"/>
   <EnumValue value="1|12" display_value="(XXXX) V3.0GA"/>
   <EnumValue value="1|13" display_value="(XXXX) V3.0GA\V3-Cycle1"/>
   <EnumValue value="1|14" display_value="(XXXX) V3.0GA\V3-Cycle2"/>
   <EnumValue value="1|15" display_value="(XXXX) V3.0GA\V3-Cycle3"/>
</UserPref>

Those last 3 entries are nested milestones.

The nested milestones cannot be selected in the milstone status gadget.
The milestone status gadget is stuck...
I must head out... Thanks for the help...
Waiting to hear about those errors ...
Thank you for your help !

Don't know how to get a hold of you if not here...
I see you have 2 new branches - will they get merged to master soon ?
Thanks !

Yes, they're being code-reviewed and should be merged today.  One is just the updated install instructions and the other is the fix for the uncaught TypeError.

Super ! Thanks for your quick response and time !

Code fix has been merged for the uncaught TypeError. To verify:

Download the latest .js files
Replace the .js files on the gadget server with the new ones
Clear your browser cache
Delete the gadget from your JIRA dashboard and re-add it

You should see the charts.

The issue is now resolved.
Please close as fixed.
I have more issues - how can we discuss ?

Glad this is fixed. For the other issues just create a new issue here.

Am seeing this issue even after whitelisting the testrail URL. Does integration need to be enabled between testrail and JIRA for this gadget to work?

Debugging according to steps above shows the following:
obj = {text: "", rc: 500, headers: {…}, oauthApprovalUrl: undefined, oauthError: undefined}


Add document

Purpose
We want to turn impress into a pad ie being able to create, edit, persist, print and share our content directly in the application.
Proposal
Add a Document model and the related API.
We propose to persist the document content (which is json content output by ProseMiror) to object storage. We thus benefit from object storage's versioning, robustness and scalability and will be able to store many versions of each document for a great  and safe collaboration experience.

I still have a prob with Minio, I cannot use the endpoints, although the env are set. I didn't want to loose too much time on it so I created another PR #34 to get the commits about documents endpoints.
NoCredentialsError at /api/v1.0/documents/
Unable to locate credentials
Request Method:	GET
Request URL:	http://localhost:8071/api/v1.0/documents/?page=1&ordering=-created_at
Django Version:	5.0.3
Exception Type:	NoCredentialsError
Exception Value:
Unable to locate credentials
Exception Location:	/usr/local/lib/python3.10/site-packages/botocore/auth.py, line 418, in add_auth
Raised during:	core.api.viewsets.DocumentViewSet
Python Executable:	/usr/local/bin/python
Python Version:	3.10.14
Python Path:	...
...

I still have a prob with Minio, I cannot use the endpoints, although the env are set. I didn't want to loose too much time on it so I created another PR #34 to get the commits about documents endpoints.

In fact you need to update your env.d/development/common file. I added a few parameters to the common.dist file that you need to port manually to your common file because it is not committed...
# Media
STORAGES_STATICFILES_BACKEND=django.contrib.staticfiles.storage.StaticFilesStorage
AWS_S3_ENDPOINT_URL=http://localhost:9000
AWS_S3_ACCESS_KEY_ID=impress
AWS_S3_SECRET_ACCESS_KEY=password


tx.origin prank does not persist through nested message calls

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (6130af7 2022-04-06T00:03:48.094239707+00:00)
What command(s) is the bug in?
forge test
Operating System
Linux
Describe the bug
Minimal code and steps to replicate:
https://gist.github.com/strawberry-fury/ade15e042494d9fa6a1bfac7bfbce660
After running forge init in an empty directory, put the above code in a .sol file in src/, then run forge test.
The test will fail because the assertEq on line 43 fails, but in reality it shouldn't.
If Line 31 (transfer() on the dummy ERC20) is commented out, the test passes.
This leads me to believe that it's due to the behavior that after any message call finishes, the tx.origin prank is over.

Probably here:
https://github.com/gakonst/foundry/blame/c2d97fb30b67132b23797a16b2da1b3207cfb27f/evm/src/executor/inspector/cheatcodes/mod.rs#L224
The logic should not trigger until ending the call that immediately follows vm.prank().

Good catch, fixed in #1215 which will be released tonight if merged. In the meantime startPrank/stopPrank does not have this bug


[Change Event] Table 5050 - event OnBeforeTypeChange

Hi,
We need the next modification over the event OnBeforeTypeChange from table 5050 contact. (Add var to Contact parameter)
[IntegrationEvent(true, false)]
    local procedure OnBeforeTypeChange(**var** Contact: Record Contact; xContact: Record Contact; var InteractLogEntry: Record "Interaction Log Entry"; var Opp: Record Opportunity; var Task: Record "To-do"; var Cont: Record Contact; var IsHandled: Boolean)
    begin
    end;

Thanks,
Cosmina

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 42716.


README: Fix "Faking time" Golang playground anchor

I'm not sure when this changed, but the current Golang page has a TOC anchor:
$ curl -s https://blog.golang.org/playground | grep 'Faking time'

Faking time

The old "Faking time" anchor is from e61ab69f (2014), and at least GitHub's Markdown render took issue with the literal space there (spaces should be percent-encoded for fragments).

hi trevor!
thanks for the fix :+1:


\project.assets.json' not found. Run a NuGet package restore

This just started after Windows 11 22621 update KB5025239 and update of Visual Studio 2022 17.5.4?
C:\ProgramFiles\dotnet\sdk\7.0.203\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets	266
This occurs when I create a new net7 winform desktop.
I have removed antivirus and other programs then reinstalled Vs2022 and repaired Vs2022. The only way I can start a new program is:
Create app
Perform PM>dotnet restore
Exit the app
Reload app
rename Form1.cs to MainForm.cs
Run Build or compile the app.
Now I have access to the MainForm designer.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 62af3ec3-7d59-7b4a-b9a1-413b8956bab7
Version Independent ID: 31e0311a-8823-1d30-8f38-ac0c37ca07d9
Content: NETSDK1004: Assets file not found - .NET CLI
Content Source: docs/core/tools/sdk-errors/netsdk1004.md
Product: dotnet-fundamentals
Technology: dotnet-cli
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

This is a support request. You'll have a better response in a support forum, such as Stack Overflow. If you discover a new cause and resolution for the list of them in this article, please let us know and we'll add it to the list.


chore(#621): Exit atuin when pressing down arrow on most recent entry

Fixes #621
Signed-off-by: Baptiste Roux<EMAIL_ADDRESS>

Yeah this totally makes sense to me! Thanks for the work 🚀


macOS arm64 3.4.0 "is damaged and can’t be opened", x64 works.

Aknowledgements

[X] I have checked that there's no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.

[X] I can confirm that this is not an issue with the Discord website,
but it is a problem specific to the WebCord itself. I have tested
if this bug occurs on Chromium/Chrome or any other Chromium-based
browser that uses unpatched/upstream Chromium engine.

[ ] I have tried running the build from the master branch and it does
not have any fixes implemented according to my issue.

[ ] My issue describes one of the unstable and/or not fully implemented
features.

[ ] I have found a workaround to mitigate or temporarily fix this issue
in affected releases (please write it in Additional context section
below).

Operating System / Platform
🍎 MacOS
Operating system architecture
aarch64 (64-bit ARM)
Electron version
19.0.7
Application version
3.4.0
Bug description
I'm using MacBook Pro M1, arm64 3.4.0 version doesn't open for me and it says “webcord.app” is damaged and can’t be opened. You should move it to the Bin.
If I do a xattr -cr /Applications/WebCord.app I get this.
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               webcord [66882]
Path:                  /Applications/WebCord.app/Contents/MacOS/webcord
Identifier:            com.electron.webcord
Version:               3.4.0 (3.4.0)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2022-07-10 01:22:43.4319 +0200
OS Version:            macOS 12.4 (21F79)
Report Version:        12
Anonymous UUID:        7517790A-220F-0E32-C9CC-27ACEAE825A1

Sleep/Wake UUID:       4E4E744D-9281-40F4-825A-DA5A40A92AE3

Time Awake Since Boot: 460000 seconds
Time Since Wake:       57315 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Codes:       UNKNOWN_0x32 at 0x000000010e1e2fa9
Exception Codes:       0x0000000000000032, 0x000000010e1e2fa9
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace CODESIGNING, Code 2

VM Region Info: 0x10e1e2fa9 is in 0x10823c000-0x10f22c000;  bytes after start: 100298665  bytes before end: 17076310
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      __LINKEDIT                  100f64000-100f84000    [  128K] r--/rwx SM=COW  ...bffmpeg.dylib
      GAP OF 0x72b8000 BYTES
--->  __TEXT                      10823c000-10f22c000    [111.9M] r-x/rwx SM=COW  ...ron Framework
      __DATA_CONST                10f22c000-10f7a8000    [ 5616K] rw-/rwx SM=COW  ...ron Framework

Kernel Triage:
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   Electron Framework            	       0x108595aa0 electron::fuses::IsRunAsNodeEnabled() + 4
1   webcord                       	       0x1006245c4 0x100624000 + 1476
2   dyld                          	       0x10071508c start + 520

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x000000016f7db800   x3: 0x000000016f7db8e8
    x4: 0x0000000000000000   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x000000010e1e2000   x9: 0x0000000000000002  x10: 0x0000000000000000  x11: 0x0000000000000002
   x12: 0x0000000000000002  x13: 0x0000000000000000  x14: 0x0000000000000008  x15: 0x0000000000000016
   x16: 0x0000000108595a9c  x17: 0x6ae100016f7d7d30  x18: 0x0000000000000000  x19: 0x000000016f7db7f0
   x20: 0x0000000000000001  x21: 0x0000000100770070  x22: 0x0000000000000000  x23: 0x0000000000000000
   x24: 0x0000000000000000  x25: 0x0000000000000000  x26: 0x0000000000000000  x27: 0x0000000000000000
   x28: 0x0000000000000000   fp: 0x000000016f7db680   lr: 0x00000001006245c4
    sp: 0x000000016f7db670   pc: 0x0000000108595aa0 cpsr: 0x40001000
   far: 0x000000010e1e2fa9  esr: 0x92000007 (Data Abort) byte read Translation fault

Binary Images:
       0x10823c000 -        0x10f22bfff com.github.Electron.framework (*) <4c4c44ec-5555-3144-a1a6-1c5f90a23b95> /Applications/WebCord.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
       0x100624000 -        0x100627fff com.electron.webcord (3.4.0) <4c4c44b0-5555-3144-a166-2eb030dd0214> /Applications/WebCord.app/Contents/MacOS/webcord
       0x100710000 -        0x10076ffff dyld (*) <d9c2a46e-8dc4-3950-9d6a-f799e8ccb683> /usr/lib/dyld

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%)
Writable regions: Total=29.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=29.4M(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Kernel Alloc Once                   32K        1
MALLOC                            18.1M       10
MALLOC guard page                   96K        5
STACK GUARD                       56.0M        1
Stack                             8176K        1
__AUTH                            2597K      308
__AUTH_CONST                      20.2M      500
__CTF                               756        1
__DATA                            19.1M      495
__DATA_CONST                      23.8M      510
__DATA_DIRTY                      1786K      213
__FONT_DATA                          4K        1
__LINKEDIT                       580.9M        8
__OBJC_CONST                      3634K      279
__OBJC_RO                         83.0M        1
__OBJC_RW                         3152K        1
__TEXT                           606.2M      527
__UNICODE                          592K        1
dyld private memory               1024K        1
shared memory                       16K        1
===========                     =======  =======
TOTAL                              1.4G     2865

-----------
Full Report
-----------

{"app_name":"webcord","timestamp":"2022-07-10 01:22:46.00 +0200","app_version":"3.4.0","slice_uuid":"4c4c44b0-5555-3144-a166-2eb030dd0214","build_version":"3.4.0","platform":1,"bundleID":"com.electron.webcord","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.4 (21F79)","incident_id":"05EDDFDB-DBFD-4030-9603-2003EBC70A60","name":"webcord"}
{
  "uptime" : 460000,
  "procLaunch" : "2022-07-10 01:22:42.2952 +0200",
  "procRole" : "Background",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro17,1",
  "procStartAbsTime" :<PHONE_NUMBER>7838,
  "coalitionID" : 74530,
  "osVersion" : {
    "train" : "macOS 12.4",
    "build" : "21F79",
    "releaseType" : "User"
  },
  "captureTime" : "2022-07-10 01:22:43.4319 +0200",
  "incident" : "05EDDFDB-DBFD-4030-9603-2003EBC70A60",
  "bug_type" : "309",
  "pid" : 66882,
  "procExitAbsTime" :<PHONE_NUMBER>2200,
  "translated" : false,
  "cpuType" : "ARM-64",
  "procName" : "webcord",
  "procPath" : "\/Applications\/WebCord.app\/Contents\/MacOS\/webcord",
  "bundleInfo" : {"CFBundleShortVersionString":"3.4.0","CFBundleVersion":"3.4.0","CFBundleIdentifier":"com.electron.webcord"},
  "storeInfo" : {"deviceIdentifierForVendor":"3320A22F-5EB7-5EF7-9C57-76084B64EABF","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.electron.webcord",
  "crashReporterKey" : "7517790A-220F-0E32-C9CC-27ACEAE825A1",
  "wakeTime" : 57315,
  "sleepWakeUUID" : "4E4E744D-9281-40F4-825A-DA5A40A92AE3",
  "sip" : "enabled",
  "vmRegionInfo" : "0x10e1e2fa9 is in 0x10823c000-0x10f22c000;  bytes after start: 100298665  bytes before end: 17076310\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      __LINKEDIT                  100f64000-100f84000    [  128K] r--\/rwx SM=COW  ...bffmpeg.dylib\n      GAP OF 0x72b8000 BYTES\n--->  __TEXT                      10823c000-10f22c000    [111.9M] r-x\/rwx SM=COW  ...ron Framework\n      __DATA_CONST                10f22c000-10f7a8000    [ 5616K] rw-\/rwx SM=COW  ...ron Framework",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000032, 0x000000010e1e2fa9","rawCodes":[50,4531826601],"type":"EXC_BAD_ACCESS","signal":"SIGKILL (Code Signature Invalid)","subtype":"UNKNOWN_0x32 at 0x000000010e1e2fa9"},
  "termination" : {"namespace":"CODESIGNING","flags":0,"code":2},
  "ktriageinfo" : "VM - pmap_enter failed with resource shortage\nVM - pmap_enter failed with resource shortage\nVM - pmap_enter failed with resource shortage\nVM - pmap_enter failed with resource shortage\n",
  "vmregioninfo" : "0x10e1e2fa9 is in 0x10823c000-0x10f22c000;  bytes after start: 100298665  bytes before end: 17076310\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      __LINKEDIT                  100f64000-100f84000    [  128K] r--\/rwx SM=COW  ...bffmpeg.dylib\n      GAP OF 0x72b8000 BYTES\n--->  __TEXT                      10823c000-10f22c000    [111.9M] r-x\/rwx SM=COW  ...ron Framework\n      __DATA_CONST                10f22c000-10f7a8000    [ 5616K] rw-\/rwx SM=COW  ...ron Framework",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":3429952,"threadState":{"x":[{"value":0},{"value":0},{"value":6165477376},{"value":6165477608},{"value":0},{"value":0},{"value":0},{"value":0},{"value":4531822592},{"value":2},{"value":0},{"value":2},{"value":2},{"value":0},{"value":8},{"value":22},{"value":4435040924,"symbolLocation":0,"symbol":"electron::fuses::IsRunAsNodeEnabled()"},{"value":7701436843945721136},{"value":0},{"value":6165477360},{"value":1},{"value":4302766192,"symbolLocation":0,"symbol":"dyld4::sConfigBuffer"},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4301407684},"cpsr":{"value":1073745920},"fp":{"value":6165476992},"sp":{"value":6165476976},"esr":{"value":2449473543,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":4435040928,"matchesCrashFrame":1},"far":{"value":4531826601}},"queue":"com.apple.main-thread","frames":[{"imageOffset":3512992,"symbol":"electron::fuses::IsRunAsNodeEnabled()","symbolLocation":4,"imageIndex":0},{"imageOffset":1476,"imageIndex":1},{"imageOffset":20620,"symbol":"start","symbolLocation":520,"imageIndex":2}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" :<PHONE_NUMBER>,
    "CFBundleIdentifier" : "com.github.Electron.framework",
    "size" : 117374976,
    "uuid" : "4c4c44ec-5555-3144-a1a6-1c5f90a23b95",
    "path" : "\/Applications\/WebCord.app\/Contents\/Frameworks\/Electron Framework.framework\/Versions\/A\/Electron Framework",
    "name" : "Electron Framework",
    "CFBundleVersion" : "19.0.7"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" :<PHONE_NUMBER>,
    "CFBundleShortVersionString" : "3.4.0",
    "CFBundleIdentifier" : "com.electron.webcord",
    "size" : 16384,
    "uuid" : "4c4c44b0-5555-3144-a166-2eb030dd0214",
    "path" : "\/Applications\/WebCord.app\/Contents\/MacOS\/webcord",
    "name" : "webcord",
    "CFBundleVersion" : "3.4.0"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" :<PHONE_NUMBER>,
    "size" : 393216,
    "uuid" : "d9c2a46e-8dc4-3950-9d6a-f799e8ccb683",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  }
],
  "sharedCache" : {
  "base" :<PHONE_NUMBER>,
  "size" :<PHONE_NUMBER>,
  "uuid" : "513553bb-5ca5-3b9e-a613-b0603ffe3038"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%)\nWritable regions: Total=29.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=29.4M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nKernel Alloc Once                   32K        1 \nMALLOC                            18.1M       10 \nMALLOC guard page                   96K        5 \nSTACK GUARD                       56.0M        1 \nStack                             8176K        1 \n__AUTH                            2597K      308 \n__AUTH_CONST                      20.2M      500 \n__CTF                               756        1 \n__DATA                            19.1M      495 \n__DATA_CONST                      23.8M      510 \n__DATA_DIRTY                      1786K      213 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       580.9M        8 \n__OBJC_CONST                      3634K      279 \n__OBJC_RO                         83.0M        1 \n__OBJC_RW                         3152K        1 \n__TEXT                           606.2M      527 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nshared memory                       16K        1 \n===========                     =======  ======= \nTOTAL                              1.4G     2865 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "61301e3a61217b3110231469",
      "factorPackIds" : {
        "SIRI_FIND_MY_CONFIGURATION_FILES" : "6216ae152a40e71046e16225"
      },
      "deploymentId" : 240000016
    },
    {
      "rolloutId" : "607844aa04477260f58a8077",
      "factorPackIds" : {
        "SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
      },
      "deploymentId" : 240000066
    }
  ],
  "experiments" : [

  ]
}
}

Model: MacBookPro17,1, BootROM 7459.121.3, proc 8:4:4 processors, 16 GB, SMC
Graphics: Apple M1, Apple M1, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: LPDDR4
AirPort: Wi-Fi, wl0: Mar 23 2022 19:57:59 version <IP_ADDRESS>.7.8.129 FWID 01-570be953
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

Additional context
No response

Building it by myself works, but released dmg does not.

npm start <-- this works
npm run make; open out/devel/WebCord-darwin-arm64/WebCord.app <-- this doesn't

See
https://github.com/FreeTubeApp/FreeTube/pull/2113#issuecomment-1166239826
https://github.com/FreeTubeApp/FreeTube/pull/2113#issuecomment-1166239428

Thats due to the gatekeeper and only occurs on arm64

Umm I thought it would say "can't be open because it is from an unidentified developer" instead of "is damaged and can’t be opened".

Ohh you're right!
codesign --force --deep --sign - /Applications/WebCord.app made it work for me.

Re-opening this issue to see if @SpacingBat3 would come up with a proper solution. codesign it at release? Put it on homebrew? AppStore?

I looked into it and this can be solved by enabling osxSign -> hardened-runtime

I believe signing macOS/Windows binaries requires a certificate/key that needs to be bought. I don't have any plans to invest my money on that, so I doubt binaries will be signed in the nearest future.
Unless I will self-sign binaries, i.e. generate my own certificate that is unknown by Windows/macOS devices and share it so you can import a public key of it to OS toolchain, I would not expect signed binaries will come soon.

codesign --force --deep --sign - /Applications/WebCord.app made it work for me.

This was not sufficient for me, possibly because I am on a work managed machine which is locked from changing the trusted sources. I had to do the following in combination with the above:
xattr -r -d com.apple.quarantine /Applications/WebCord.app

you supposedly can run ad-hoc code signed binaries on macos M1. you don't need to pay apple for a certificate for notarization. if you don't pay apple for that certificate, and you have self signed ad-hoc, that is when the users will get the can't be open because it is from an unidentified developer warning

you supposedly can run ad-hoc code signed binaries on macos M1.

It'll probably end up with other issues through according to Electron (at least by looking how the pop-up looks like):

As you can see, users get two options: Move the app straight to the trash or cancel running it. You don't want your users to see that dialog.

For that reasons, I stop to care for signing software with the proprietary solutions. Sooner or later, I'll probably end up either adding a GPG signature directly to the packages or outside of the distributables (like e.g. F-Droid does in Android ecosystem). I believe I've already published my public key for signed git commits to the key servers right now (see my public key at OpenPGP keyserver)

I've tried to tweak around the Forge config and set resetAdHocDarwinSignature to true, maybe this will fix the problem with ARM64 releases as described in electron/fuses README?

Also I've noticed Electron does recommended to set this option to true only for macOS and ARM64 by using boolean checks, so I have no idea if this won't cause any undesired behavior on x86 and if I should change it from hard-coded true value to something more dynamic, but for that I'll probably have to drop the new Forge plugin from config that doesn't seem to offer an option to check for target architecture or platform and go back to using hooks for fuses.

Closing due to inactivity and since there's a chance this issue could be fixed in recent builds (feel free to reply in this thred if resetAdHocDarwinSignature did nothing or actually broke sth in macOS).

I just tested 4.5 and it still says it's damaged, but I'm building it for myself these days so it's not a requirement for me anymore. I can always test it when you reply here.

I just tried to install & run the x64 version on my intel based mac and also had the prompt it was broken and I should move it to the bin.
codesign --force --deep --sign - /Applications/WebCord.app
xattr -r -d com.apple.quarantine /Applications/WebCord.app

Running both commands suggested before made me able to run it.


What is the right URL of the official central EC DGCG?

What is the right URL for the central DGCG that will host all the keys to be distributed to the national backends?
The applications here seem to all be pointing to this temporary URL for the ACC environment:
https://dgca-verifier-service.cfapps.eu10.hana.ondemand.com/signercertificateStatus
But I presume this is not the official DGCG. Some KIDs of some countries are missing.
The document about the DGCG specifications says that the "DGCG hosting URL to be clarified." (page 17), but it has not been updated since April.
https://ec.europa.eu/health/sites/default/files/ehealth/docs/digital-green-certificates_v2_en.pdf
Can anyone clarify what the official DGCG URL is? Thanks.

The DGCG URL has been distributed to the member states to set up their national backends.
Applications that work with DCCs do not directly access the DGCG - they access the public keys (trustlist) via the national backends.
Third party applications need to get in touch with the government of their member state to organize access to this trustlist, as this access is handled by the member states, there is no global/eu-wide list.
See also https://github.com/eu-digital-green-certificates/dgc-participating-countries/issues/10
(If this issue is not about public keys to validate DCCs, but rather for a national backend that needs to access the DGCG please comment and we'll reopen, then it's not a duplicate)


Introduce a js library "croppic" for clopping images

I'm really sorry that I created a ticket in the wrong project...


support node: prefix in esm build dependencies

What kind of change does this PR introduce?
feature/bugfix
closes #15574

Did you add tests for your changes?
yes

Does this PR introduce a breaking change?
no

What needs to be documented once your changes are merged?
in esm build dependencies webpack supports only node: prefixed Node.js modules (like node:url)

Thanks

But we need a story for non-node: prefixed dependencies too

You can get a list of all builin modules in the current Node.js via require("module").builtinModules


Upgrade to UBI9 from UBI8 for all containers

UBI9-based containers are now FIPS compliant. As part of our effort to ensure DevWorkspace Operator is FIPS compliant, we should replace all containers that use UBI8 base images with their UBI9 equivalents.

Fixed by https://github.com/devfile/devworkspace-operator/pull/1355


Remove .eslintignore workarounds

With https://github.com/microsoft/vscode/commit/7ccb8688351c111345fb928b3dacec10e77fe51a we aligned what's ignore wrt eslint in the editor and the CLI build (yarn eslint). Turns out that we are blind on a few spots, meaning we have JS/TS code that we other but that's not under eslint's regime. They are listed here and each respective owner should tackle them
https://github.com/microsoft/vscode/blob/7ccb8688351c111345fb928b3dacec10e77fe51a/.eslintignore#L28-L32

@JacksonKearl for generateTMLanguage
@joao for build/ (I assume?)

I got started and noticed there weren't that many problems and they looked simple enough.


Return array of fallback values

https://github.com/rofrischmann/inline-style-prefixer/issues/78

Tests pass, but there's an unrelated error. Looks like code climate is not working on PR builds:
No CODECLIMATE_REPO_TOKEN found. A CODECLIMATE_REPO_TOKEN must be specified as an environment variable.

https://travis-ci.org/rofrischmann/inline-style-prefix-all/builds/125233751

Cool, thanks :)
I will push this with a data update tomorrow.

Thanks!


AutonomousBunyipsOpMode fine comb bug test

AutonomousBunyipsOpMode passed the initial code implementation but needs to be tested rigorously to ensure reliability in actual competition. Some major weak points may include the usage of threading when deciding user input - must test all edge cases.

Identified some dangerous bugs that were fixed in https://github.com/Murray-Bridge-Bunyips/BunyipsFTC/commit/a132e7e9136a3a2e832d8999f0843028c68c9a2a, need to continue testing for any potential bugs that could be dangerous if used in competition.

User input seems to be reliable even when not in use with ABYO.

User input confirmed to be fully reliable, testing will come from extended use of these systems.

Init tasks seem to be reliable, ABOM is working properly with RoadRunner too.


Make bazelisk version configurable

As part of #181, Bazelisk will be used to download the Bazel used for tests.
With the legacy WORKSPACE support, the Bazelisk version can be configured in the bazel_binaries call:
bazel_binaries(
    bazelisk_version = "1.17.0",
    versions = [
        "//:.bazelversion",
    ],
)

This is not currently possible with the bzlmod support, and should be added.
Possible syntax (this does not work currently):
bazel_binaries = use_extension(
    "@rules_bazel_integration_test//:extensions.bzl",
    "bazel_binaries",
    dev_dependency = True,
)
bazel_binaries.download(version_file = "//:.bazelversion")
bazel_binaries.use_bazelisk("1.17.0")
use_repo(bazel_binaries, "bazel_binaries")

It would also be handy to have a way to use a local (non-hermetic) bazelisk, to help uncommon os/arch setups.


Your Book is Fantastic

I've worked through the first 7 chapters of your book (in TypeScript, because JS :scream:) and it's among the finest practical tech books I've ever read.  Well-organized; detailed and clear; reinforces concepts regularly; good exercises.
Really, kudos.  Amazon should send you a cut of each reader's AWS bill, as I'll be utilizing a lot more AWS computing power as a result of reading your book.

Thank you so much for your feedback @jasonzoladz. It's great to receive something like this :)
Glad that you are enjoying the book!


Feature: Allow username to be specified for connections

For both Redis and Sentinel connections, there was no way to specify a password along with the username. All connections to redis could only go through the default account. In some setup configurations, the default account may be disabled in favor of using individual usernames and limiting access to what each user may have.
In this commit, the username parameter (in the config), along with CLI parameters --redis-username and --sentinel-username have been added to support this use case. The docker entrypoint.sh has also been modified to accomodate the new parameters. The hosts environment variable has been left unchanged due to it's complexity and strict format. I felt that it would be a breaking change to modify it in a way that makes sense. It has been left as is for backwards compatibility.

many thanks, will have a look at it.

ok - added the usernames to the full documentation too and (redis username at least) to the helm chart values
Thanks for the contribution!


Support GPU fusion of matmal+bias+(activation)

This PR enables the remapping optimization for fusion patterns of matmal+bias and matmul+bias+relu on GPUs.
This optimization needs to be turned on by TF_USE_CUBLASLT.
cc. @nluehr

Can you please compile with warnings enabled, and fix those? This is blocking the merge of this PR.
Sample warnings:
tensorflow/core/kernels/matmul_op_fused.cc:318:10: error: unused variable 'allow_tf32' [-Werror,-Wunused-variable]
bool allow_tf32 = tensor_float_32_execution_enabled();
tensorflow/core/kernels/matmul_op_fused.cc:330:77: error: non-constant-expression cannot be narrowed from type 'tensorflow::uint64' (aka 'unsigned long') to 'int64_t' (aka 'long') in initializer list [-Wc++11-narrowing]
se::blas::MatrixDescriptor lhs_matrix = {b_ptr, trans[trans_b ? 1 : 0], n,
(there are more)

@akuegel  Can you advise how to enable the warning message? I've tried to add a copt to the related tf_kernel_library() call for "matmul_op" but I didn't see the warnings. Or if we could have the access to the log that you mentioned. Thanks.

I think I figured out how to print out all the warning messages. Pushed new commits to fix the warnings. PTAL. @akuegel

@kaixih Can you please explain why you removed a bunch of  TENSORFLOW_USE_ROCM #defines?

IIRC, the AMD ROCm -- Community CI Build will fail if those TENSORFLOW_USE_ROCM is there. It usually was some dependence issue but I didn't dive deep into the issue. @rahulbatra85

@kaixih ok, thanks!


Component Wrappers

Storages like FlaggedStorage and ChangedStorage (I'm assuming most "wrapper" storages as well) could be improved if it was possible to return wrapper types instead of just components themselves:
pub trait UnprotectedStorage<T> {
    type Wrapper<'a>;
    type WrapperMut<'a>;
    ...
    fn get<'a>(&'a self) -> Self::Wrapper<'a>;
    fn get_mut<'a>(&'a mut self) -> Self::WrapperMut<'a>;
    ...
}

impl<T> UnprotectedStorage<T> for ChangedStorage {
    type Wrapper<'a> = &'a T;
    type WrapperMut<'a> = Tracked<&'a mut T>;
    ...
    fn get<'a>(&'a self) -> &'a T { ... }
    fn get_mut<'a>(&'a mut self) -> Tracked<&'a mut T> { ... }
    ...
}

Alternatively:
pub trait UnprotectedStorage<'a, T> {
    type Wrapper: 'a;
    type WrapperMut: 'a;
    ...
    fn get(&self) -> Self::Wrapper;
    fn get_mut(&mut self) -> Self::WrapperMut;
    ...
}

impl<'a, T> UnprotectedStorage<'a, T> for ChangedStorage {
    type Wrapper = &'a T;
    type WrapperMut = Tracked<'a, &'a mut T>;
    ...
    fn get<'a>(&'a self) -> &'a T { ... }
    fn get_mut<'a>(&'a mut self) -> Tracked<'a, &'a mut T> { ... }
    ...
}

Since it would eliminate the need for things like maintain methods and ease overall usage of the storages to be used similar to any other.
Sadly, I don't think it is possible in current Rust's type system until either we get lifetime ATCs or a non-'static TypeId (since this is what prevents just adding a lifetime to the UnprotectedStorage<T>.

It is possible with little boilerplate.
trait Wrapper<'a> {
  type Mut;
  type Ref;
}

trait UnprotectedStorage<T> {
  type Wrapper: for<'a> Wrapper<'a>;
  fn get<'a>(&'a self) -> <Self::Wrapper as Wrapper<'a>>::Ref;
  fn get_mut<'a>(&'a mut self) -> <Self::Wrapper as Wrapper<'a>>::Mut;
}
``|

I think this would unnecessarily complicate the API. If you need such a special solution you can just as well create your own component storages (which is quite easy as can be seen in specs-static).


OADP-4819: Add OKE as valid-subscription

https://issues.redhat.com/browse/OADP-4819

/retest

Need to do changes in PROW for this to pass, because of ARM. My bad
Is this urgent?

Need to do changes in PROW for this to pass, because of ARM. My bad
Is this urgent?

At the moment, no, 1.3 is not urgent.  It is, I believe, mid-November planned, so we have time here.

@rayfordj alright
once I have time I create a PR in PROW to fix this and unblock us

to unblock this PR https://github.com/openshift/release/pull/56496

/retest-required


XDR-4399: Bump terraform version to 1.2.5

no idea why its failing
@nicholascwd @GerardSetho

I have a hacky fix, just to get avoid the PANIC on tfsec

https://github.com/aquasecurity/tfsec/issues/1969


Fix cross-build (close #115)

Codecov Report

Merging #117 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #117   +/-   ##
=======================================
  Coverage   88.63%   88.63%
=======================================
  Files           3        3
  Lines          88       88
  Branches        2        2
=======================================
  Hits           78       78
  Misses         10       10

Impacted Files
Coverage Δ

...a/com/snowplowanalytics/refererparser/Parser.scala
88.52% <ø> (ø)

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 be2cd41...da48f27. Read the comment docs.


Allow tuple default values?

I'd like to allow tuples as default values. Tuples are reasonably common as default values -- the empty tuple, in particular, is very common. I also don't see a particularly strong reason to disallow them. Tuples are immutable (as long as all their members are) and can be passed to ast.literal_eval (as long as all their members can be).
There's various kinds of objects I definitely wouldn't want us to allow in default values (mutable objects; objects with long/complicated reprs; anything that can't be passed to ast.literal_eval outside of a few special-cased constants). But outside of those strictures, I also think it's in our interests to be as expansive as possible in the kinds of defaults we allow. We've seen over at typeshed that adding defaults to stubs can expose latent bugs in the stubs, and it's obviously helpful for users of IDEs as well.
Here are some proposed rules: we allow tuples iff:

the tuple has <=5 elements in it
the repr of the tuple is <=50 characters long
every element of the tuple passes the rules we already have set out in this function:
https://github.com/PyCQA/flake8-pyi/blob/f6118974eed9a2feea170d7634c32b1eaa138316/pyi.py#L722

Thoughts?

I agree tuple defaults can be useful and should be allowed.
As for the restrictions, definitely agree that the elements should only be simple values that we'd otherwise allow as annotations. The way to think about these restrictions is that we should disallow defaults that are likely to be buggy, e.g. system-dependent defaults. For example, if something uses tuple(sys.path) as a default, we want to make sure we don't put that in a stub. I think a restriction on the number of tuple elements is a good proxy for that. I don't think we need your suggested restriction on the total repr(), since we'll already restrict the strings and ints within the tuple to reasonable values.

Personally, I would only restrict tuples to:

Must be a tuple literal (no tuple(sys.path)).
Elements must recursively pass the default check.

I.e. no length restriction. But I'm fine either way.
Slightly off-topic: Some more things I would allow: empty list, dict, and set literals. (Ok, there is no set literal, so I would allow set().) I'm aware that these are potentially dangerous, but they are used in the wild. (I personally use them occassionally. And just to get more off-topic: I wish there was a future import that would make default "safe".)

Slightly off-topic: Some more things I would allow: empty list, dict, and set literals. (Ok, there is no set literal, so I would allow set().) I'm aware that these are potentially dangerous, but they are used in the wild. (I personally use them occassionally. And just to get more off-topic: I wish there was a future import that would make default "safe".)

Very reluctant to allow set(), because that's a call expression, and it's nice for consistency if we don't allow any call expressions. I'd be happy to break that rule if it were a common default value, but I also don't think it's very common to have set() as a default. Open to all the others.


Is /tools/tasks/seed/clean.tools.ts used?

Can't find any usages of this file? Am I missing something or is this not needed anymore?

@tarlepp my guess would be @ludohenin left it in to allow people to use it but that is really a question for him. iirc he is on vacation until Thursday.

yep, I'm back :)
clean.tools is to be used individualy npm run gulp -- clean.tools.
To debug using vscode, transpilation is required, that's just a utility to clean the mess up.
This is to be documented (coming soon, hopefully), you can see #528 thread until then.

oh! and to answer the issue question, yes it's used ;)