Design-time issue in Visual Studio 2013 (WPF)

Hello,
First, let me say that I think this extension is great and is working very well on runtime. However, I have one issue currently with the design-time support in Visual Studio 2013 on my WPF project. I am using the ResxLocalizationProvider.
The texts from the resource file does not show up in the designer until after I restart Visual Studio. I added a simple string to the Text property of a TextBlock like this:
<TextBlock Text="{lex:Loc MyString}"></TextBlock>
However, the designer shows "Key: MyString" for the label (I have tried to rebuild the project). After restarting Visual Studio it pulls the string from the resource file and shows the value of MyString.
Everything works fine at runtime, so I think there is nothing wrong with my syntax. I have also tried to change the value of LocalizeDictionary.DesignCulture without any effect.
Is this a known bug or do you have any suggestions on how to fix it?
Also, secondly I would like to ask if it is possible to get intellisense/strongly-typed resource keys? I think that would be a great feature. Compile-time checking of keys would also be great. Any plans for it?
Thank you,
Sindre

Hi.
I've already managed to get external assemblies to work in the designer as expected (added or changed keys are reflected after recompile, language switching with DesignCulture). Unfortunately, I was not able to get the same behaviour for the main assembly's resources. I don't know exactly, but I think it might be the designer that cannot unload the old main assembly's resources and load new resources. I've already tried a couple of hours to find a solution but without success. Has anybody an idea how to solve this issue?

:+1: very well done!

I meet the same problem, sometime it can render "strings" and the other  side it just show an error of "does not have a resource identified by the URI XXX". I tried to find the problem for a few days, but still not have a solution. Mybe it just like @MrCircuit said, " I think it might be the designer that cannot unload the old main assembly's resources and load new resources", sometimes it cannot load right assembly and dictionary which in the xaml header, so strange! I will continue to concern.

Any update on this topic?

Hey @MrCircuit !
Just added your Nuget package to a solution I have to localize. Everything seems to work fine at runtime but I get exactly the same issue as the other guys here at design time. In the designer, the strings are not reloaded when edited in the resx file. The string switches when I change the LocalizeDictionary.DesignCulture but it keeps the values loaded the first time.
Ex: I'm switching from English(EN) to French (FR).
At first test:
TestString (EN) = "Hello World"
TestString (FR) = "Bonjour le monde"
In the designer before I reboot Visual Studio, it shows Key: TestString.
After first reboot:
The string are loaded properly even when switching between languages.
I change TestString (FR) to : "Bonjour le monde !!!!!"
After rebuild, close .xaml and reopen .xaml --> Still shows "Bonjour le monde"
After reboot --> shows "Bonjour le monde !!!!!"
Thanks for the follow up !

Thanks for the hint.
I'll see if we can use it.

When I attached the visual studio IDE and the other vs open "MainWindow.xaml", I got the fellowing message, does someone have suggestions?
System.TypeLoadException was caught
HResult=-2146233054
Message=Could not load type 'XAMLMarkupExtensions.Base.DependencyObjectHelper' from assembly 'XAMLMarkupExtensions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
Source=WPFLocalizeExtension
TypeName=XAMLMarkupExtensions.Base.DependencyObjectHelper
StackTrace:
at WPFLocalizeExtension.Extensions.LocExtension.FormatOutput(TargetInfo endPoint, TargetInfo info)
at XAMLMarkupExtensions.Base.NestedMarkupExtension.UpdateNewValue(TargetPath targetPath)
at XAMLMarkupExtensions.Base.NestedMarkupExtension.UpdateNewValue(TargetPath targetPath)
at XAMLMarkupExtensions.Base.NestedMarkupExtension.UpdateNewValue()
at WPFLocalizeExtension.Extensions.LocExtension.ResourceChanged(DependencyObject sender, DictionaryEventArgs e) in g:\Code\GitHub\Hearthstone-Deck-Tracker_UITranslation\WPFLocalizationExtension-master\WPFLocalizeExtension\Extensions\LocExtension.cs:line 318
InnerException:

Hi,
is there some progress on this issue? It's really annoying to refresh the project all the times and my impression is that's not solving the problem on a regular basis. Sometimes it's resolved sometimes it's not.

Hmmm,
I've tried it with VS 2015 RC... It's the same as in VS 2013.

I ahve the same issue. I chaneg RESX files and do not see texts in the designer. But after some time working in Studio the text appears in the designer and even switching DesignCulture works well. I've tried to discover, what triggers the change but cannot find it (rebuild, unload load project or solution, nothing works). Maybe some cache which has to timeout?

Is this problem related to the ResXLocalizationProvider only or will we run into the same issue for any provider? How about known workarounds?

Hi, thanks for nice work!
I have modular MVVM application. Resource lookup works well both in design and run time. However, when I switch the language, only controls from the main assembly get switched. Other resources remain in the original language. What am I missing?
Thanks,
Jiri

@aconcagua21
Set the language for every form/window manually, see: https://github.com/SeriousM/WPFLocalizationExtension/issues/66

Does anyone know this has been resolved or not ?
I'm having the same issue in VS 2017

I have to compile the project and reopen Visual Studio 2017 to see the final and proper result in designer.

the designtime support is tricky and works not in all cases, this ticket ist closed


MySQL 8.0: skeema init fails with "directory already exists"

I am trying to use Skeema for the first time and after a  /root/go/bin/skeema init production --debug -h hostname -u root -p I get an error message saying that unable to use directory   for schema: Directory  already exists.
It doesn't matter if delete the folder and try again I get the same message. The folder is created by the above script, and I have a .skeema file in that directory.
One of the problems may be the fact that I am using Mysql 8.0 but still I don't see the connection with the folder name.

Thank you for trying out Skeema and for reporting an issue! Although Skeema doesn't support MySQL 8.0 yet, I would expect a different error than the one you are seeing. Here are a few things to gather more info and debug:

Can you please try the following and paste the output:

mkdir schemas; cd schemas; skeema init production --debug -h hostname -u root -p; ls -laR; cat hostname/.skeema (replace hostname as needed)

When running skeema init, if you supply --dir some-new-dir-name is the result any different? (this option specifies the name to use for the host-level dir; if you omit it, the hostname will be used instead, and maybe that's conflicting with something)
Do you actually have multiple schemas (databases) in MySQL or do you just have one? If you only have one, you could try supplying --schema schemaname (replace with real schema name) to skeema init, which should combine the schema and host level dirs into a single dir. This probably won't fix your problem but it might provide us more insight on what broke, since it sounds like you're getting the error creating the schema-level directory.
What is the output of skeema --version? If you built from source, how recently did you clone? Is the result the same from a pre-built release?

Thanks!
For background, Skeema doesn't support MySQL 8.0 yet since that requires upgrading the driver library, which then necessitates some other changes relating to the driver's connection retry behavior. I also still need to delve into 8.0's changes, especially around authentication methods, the data dictionary, and a few other new things. I was originally planning on waiting another month or two before delving into MySQL 8.0 support, but I can definitely re-prioritize if there's sufficient user interest!

Dear Evan, thank you for your super fast answer.
Please find bellow answers to your questions:
# mkdir schemas; cd schemas; /root/go/bin/skeema init production --debug -h localhost -u root -p;
Enter password:
2018-08-06 21:09:30 [ERROR] Unable to connect to localhost:/tmp/mysql.sock for /var/www/html/folder-name/development-www/schemas/localhost: dial unix /tmp/mysql.sock: connect: no such file or directory
2018-08-06 21:09:30 [DEBUG] Exit code 2
21:09:30 root  /var/www/html/_/development-www/schemas master
# ls -laR; cat localhost/.skeema
.:
total 12
drwxr-xr-x.  3 root root 4096 Aug  6 21:09 .
drwxr-xr-x. 24 root root 4096 Aug  6 21:09 ..
drwxr-xr-x.  2 root root 4096 Aug  6 21:09 localhost

./localhost:
total 8
drwxr-xr-x. 2 root root 4096 Aug  6 21:09 .
drwxr-xr-x. 3 root root 4096 Aug  6 21:09 ..
cat: localhost/.skeema: No such file or directory

After this I have added the -S /var/lib/mysql/mysql.sock
#  mkdir schemas; cd schemas; /root/go/bin/skeema init production --debug -S /var/lib/mysql/mysql.sock -h localhost -u root -p;
Enter password:
2018-08-06 21:12:08 [INFO]  Creating and using host dir /var/www/html/folder-name/development-www/schemas/localhost for localhost:/var/lib/mysql/mysql.sock

2018-08-06 21:12:08 [ERROR] Unable to use directory /var/www/html/folder-name/development-www/schemas/localhost for schema : Directory /var/www/html/folder-name/development-www/schemas/localhost already exists
2018-08-06 21:12:08 [DEBUG] Exit code 73

# ls -laR; cat localhost/.skeema
.:
total 12
drwxr-xr-x.  3 root root 4096 Aug  6 21:12 .
drwxr-xr-x. 24 root root 4096 Aug  6 21:12 ..
drwxr-xr-x.  2 root root 4096 Aug  6 21:12 localhost

./localhost:
total 12
drwxr-xr-x. 2 root root 4096 Aug  6 21:12 .
drwxr-xr-x. 3 root root 4096 Aug  6 21:12 ..
-rw-r--r--. 1 root root   88 Aug  6 21:12 .skeema
[production]
socket=/var/lib/mysql/mysql.sock
user=root
flavor=mysql:8.0
host=localhost

As you can see the .skeema file is created despite the error message
I have tried with --dir new folder option and I get almost the same error. the .skeema is also created
Enter password:
2018-08-06 21:17:28 [INFO]  Creating and using host dir /var/www/html/folder-name/development-www/schemas/newfolder for localhost:/var/lib/mysql/mysql.sock

2018-08-06 21:17:28 [ERROR] Unable to use directory /var/www/html/folder-name/development-www/schemas/newfolder for schema : Directory /var/www/html/folder-name/development-www/schemas/newfolder already exists
# ls -laR; cat newfolder/.skeema
.:
total 12
drwxr-xr-x.  3 root root 4096 Aug  6 21:17 .
drwxr-xr-x. 24 root root 4096 Aug  6 21:17 ..
drwxr-xr-x.  2 root root 4096 Aug  6 21:17 newfolder

./newfolder:
total 12
drwxr-xr-x. 2 root root 4096 Aug  6 21:17 .
drwxr-xr-x. 3 root root 4096 Aug  6 21:17 ..
-rw-r--r--. 1 root root   88 Aug  6 21:17 .skeema
[production]
host=localhost
socket=/var/lib/mysql/mysql.sock
user=root
flavor=mysql:8.0```

I believe the version is the latest one

```# /root/go/bin/skeema --version
skeema version 1.0.3-dev (snapshot build from source)```

```# uname -a
Linux hidden-hostname 3.10.0-693.17.1.el7.x86_64 #1 SMP Thu Jan 25 20:13:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

I do have multiple databases, and If I add the --schema database_name option I don't get the error anymore
Enter password:
2018-08-06 21:38:01 [INFO]  Creating and using host dir /var/www/html/lumminary.com/development-www/schemas/newfolder for localhost:/var/lib/mysql/mysql.sock; skipping schema-level subdirs

2018-08-06 21:38:01 [INFO]  Populating /var/www/html/folder-name/development-www/schemas/newfolder

2018-08-06 21:38:01 [DEBUG] Exit code 0 (SUCCESS)

I do know you don't have support for MySQL 8.0 but I still wanted to give it a try, hoping it will work.
It would be amazing if you can make it work with MySQL 8 as I love the way you architect the entire solution.
Please let me know if I can help with anything else

Very helpful, thanks! It seems that Skeema is failing to query the schema name correctly; it's getting a blank string. So then when it tries to build a path for the schema's subdir, it appends the schema name (blank) to the end of the host dir, and ends up just getting the host dir again... which fails since the dir already exists.
Looking through the MySQL 8.0 manual, I believe I found the culprit. Skeema queries information_schema extensively, and 8.0 changed the casing on column names in queries on those views. e.g. instead of getting back schema_name, 8.0 by default will return SCHEMA_NAME, which wasn't being handled by Skeema properly. (in mysql 8.0 changes doc, search the page for "result set headers")
I've put a potential fix in master -- easiest way to upgrade is go get -u github.com/skeema/skeema. Please give this a try and let me know if it fixes this problem -- thanks! I haven't actually tested against 8.0 yet or made any other 8.0 compatibility improvements though, so it's possible other things will break. I'll aim for having full 8.0 support in Skeema 1.1.x, hopefully within the next month or so.

Glad to hear that fixed the initial problem! Bummer that there are other 8.0 incompatibilities lurking in there, but not surprising. I'll close this issue out since the initial problem is fixed, but will comment on here once 8.0 is fully supported.
Regarding your other question, yes exactly, you can just edit the .skeema file in the schema-level directory. By default, skeema puts schema names outside of any named environment section, which means they apply to all environments (unless overridden by a specific environment). But you can move them into an environment section manually. For example, you could make it look like this:
[production]
schema=main_production

[development]
schema=main_development

That way, the appropriate name would be used depending on which environment you specified on the CLI for any given command.

@FlaviuRadulescu I've just released Skeema v1.0.4, which fixes all known MySQL 8.0 incompatibilities exposed by Skeema's integration test suite.
There's possibly still some other edge case problems lurking in there, but it should be safe to try and should support common use-cases. That said, please feel free to open a new issue if you encounter anything odd in 8.0. Thanks again for reporting the issue!

Dear Evan,
This is great news, I will test in the following days, and I will let you know if I encounter any problem
Thank you for your great effort.

FLAVIU RADULESCU | Lumminary  |  lumminary.comhttps://lumminary.com/
PLEASE NOTE:  This email and any file transmitted are confidential and/or legally privileged and intended only for the person(s) directly addressed. If you are not the intended recipient, any use, copying, transmission, distribution, or other forms of dissemination is strictly prohibited. If you have received this email in error, please notify the sender immediately and permanently delete the email and files, if any.
From: Evan Elias<EMAIL_ADDRESS>Sent: Friday, August 24, 2018 9:39 PM
To: skeema/skeema<EMAIL_ADDRESS>Cc: Flaviu Radulescu<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [skeema/skeema] MySQL 8.0: skeema init fails with "directory already exists" (#35)
@FlaviuRadulescuhttps://github.com/FlaviuRadulescu I've just released Skeema v1.0.4https://github.com/skeema/skeema/releases/tag/v1.0.4, which fixes all known MySQL 8.0 incompatibilities exposed by Skeema's integration test suite.
There's possibly still some other edge case problems lurking in there, but it should be safe to try and should support common use-cases. That said, please feel free to open a new issue if you encounter anything odd in 8.0. Thanks again for reporting the issue!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/skeema/skeema/issues/35#issuecomment-415876233, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AeSqcPRw4YHfdjjj-vnuv6mI9xGA1silks5uUGRpgaJpZM4VwI14.


Send bound needed on T (for Send impl of Bucket2)

Hello :crab: ,
while scanning crates.io, we (Rust group @sslab-gatech) have noticed a soundness/memory safety issue in this crate which allows safe Rust code to trigger undefined behavior.
Issue
Currently Send is implemented for Bucket2<T> even when T is not bound by Send.
unsafe impl<T> Send for Bucket2<T> {}

This makes it possible to use SyncPool<T> to send a non-Send object to other threads.
Proof of Concept
Below is an example program that exhibits undefined behavior using thesyncpool crate.
There is a data race on the internal reference count of Rc, and the program either crashes at runtime
(e.g. on Ubuntu: Illegal Instruction (Core Dumped)), or panics at the end of the program (indicating a memory leak).
Such behavior can be observed when the program is compiled in Debug mode.
use syncpool::prelude::*;

use std::boxed::Box;
use std::rc::Rc;

const N_ITER: usize = 900_000;
const N_THREADS: usize = 6;
fn main() {
    // Non-Send object (to be sent to other threads).
    let rc = Rc::new(0_i32);

    let mut pools = vec![];
    for _ in 0..N_THREADS {
        let mut pool = SyncPool::new();
        let _dummy = pool.get();
        let malicious = Box::new(Rc::clone(&rc));
        pool.put(malicious);
        pools.push(pool);
    }

    let mut children = vec![];
    while let Some(pool) = pools.pop() {
        let c = std::thread::spawn(move || {
            // Moved `pool` to child thread.
            let mut pool = pool;
            let boxed_rc = pool.get();

            for _ in 0..N_ITER {
                // Data race on the internal ref count of `Rc`.
                Rc::clone(boxed_rc.as_ref());
            }
        });
        children.push(c);
    }
    // Join child threads.
    for child in children {
        child.join().unwrap();
    }

    assert_eq!(Rc::strong_count(&rc), 1);
}

The example is a bit contrived, but it triggers undefined behavior in safe Rust code.
How to fix the issue
The solution is to add a Send bound on T in the Send impl for Bucket2<T> as below.
I tested the above example using the modified version of the crate, and the compiler was able to successfully
revoke the program.
unsafe impl<T: Send> Send for Bucket2<T> {}

Thank you for checking out this issue :crab:

Good catch! And well done with your PoC example, I like it. I think the suggested solution is reasonable, please feel free to post a PR fix, otherwise, I will work on this and try to get the fix in before next week.

Would you mind publishing a new release that includes the fix to crates.io?

Would you mind publishing a new release that includes the fix to crates.io?

Thank you for the swift fix!
Heads up: this issue has been submitted to the RustSec advisory database. It will be surfaced by tools such as cargo-audit or cargo-deny once merged.
I see the issue was fixed in git, but there seems to be no release incorporating the change. Could you publish a new release to crates.io?
Once it's published, please let me know and I'll include the fixed version in the advisory.

Thank you for the swift fix!
Heads up: this issue has been submitted to the RustSec advisory database. It will be surfaced by tools such as cargo-audit or cargo-deny once merged.
I see the issue was fixed in git, but there seems to be no release incorporating the change. Could you publish a new release to crates.io?
Once it's published, please let me know and I'll include the fixed version in the advisory.

@Chopinsky
Would you mind publishing a new release to crates.io? Thank you!

@Chopinsky
Would you mind publishing a new release to crates.io? Thank you!

Sorry that I was distracted, I will release the fix today.

@Chopinsky
Thank you for your response :)
FYI, I noted that a new release was published today for the byte_buffer crate and not the syncpool crate.
This issue is for the syncpool crate.

yep, my bad, just published the new syncpool version as well :)


Airlock UI: view requests (workspace-level)

Resolves #2509
What is being addressed
This adds a component to view the airlock requests (currently at the workspace-level) in a list with sorting options. It also adds a component to view an individual request with all its details, as well as providing actions for submitting a draft request and cancelling a request. Includes some visual tweaks to bring UI closer to figma designs.
How it is addressed

Two new airlock components, re-usable but currently implemented within workspace routing
Airlock component includes its own sub-routing so that individual requests can be linked to by their id and opened directly from a URL
Blob SAS generation included to allow users to generate and copy a SAS link for viewing the files (file iteration/details is not yet included in airlock API)

/test-force-approve
Only UI code


PSBT Funding flow retry, instructions for converting binary PSBT to base64, and accept PSBT from file,

Background

In the PSBT funding flow, if you input the base64 data wrong, it cancels the channel open. This requires you to go back to your hardware devices and resign the PSBT again.

I have a PSBT created in Electrum and signed with coldcards, I can only load it back into electrum, I do not know how to convert it to base64.

It would also be great to be able to input the PSBT as a file, but that is a little challenging since the PSBT address is only created after the command has run.

Your environment

version of lnd
"version": "0.10.99-beta commit=clock/v1.0.0-85-gacc698a6995b35976950282b29c9685c993a0364",
"commit_hash": "acc698a6995b35976950282b29c9685c993a0364",
which operating system (uname -a on *Nix)
Ubuntu
version of btcd, bitcoind, or other backend
bitcoind
any other relevant environment details

Steps to reproduce
Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.
Generate base64 from electrum psbt file:
base64 testpsbt-signed.psbt -w 0
Expected behaviour
Channel funding flow complete
Actual behaviour
[lncli] verifying PSBT by lnd failed: rpc error: code = Unknown desc = error parsing psbt: Invalid PSBT serialization format

This is the contents of my unsigned psbt.  The binary encoding looks OK but it doesn't follow one of the rules for consistency that's why it's rejected.
Here's the decoded version (hashes might need to be reversed, still working on a proper decoder in lnd):
{
  "UnsignedTx": {
    "Version": 2,
    "TxIn": [
      {
        "PreviousOutPoint": {
          "Hash": "8803bfa0a[redacted]",
          "Index": 0
        },
        "SignatureScript": "",
        "Witness": null,
        "Sequence":<PHONE_NUMBER>
      }
    ],
    "TxOut": [
      {
        "Value": 300000,
        "PkScript": "00207b35[redacted]"
      }
    ],
    "LockTime": 635632
  },
  "Inputs": [
    {
      "NonWitnessUtxo": {
        "Version": 1,
        "TxIn": [
          {
            "PreviousOutPoint": {
              "Hash": "f2c2ad3647[redacted]",
              "Index": 1
            },
            "SignatureScript": "",
            "Witness": [
              "304402201f237a2[redacted]",
              "03328d82c[redacted]"
            ],
            "Sequence":<PHONE_NUMBER>
          }
        ],
        "TxOut": [
          {
            "Value": 301000,
            "PkScript": "00200883941e[redacted]"
          },
          {
            "Value": 3137518,
            "PkScript": "0014b37c[redacted]"
          }
        ],
        "LockTime": 0
      },
      "WitnessUtxo": null,
      "PartialSigs": null,
      "SighashType": 0,
      "RedeemScript": null,
      "WitnessScript": "5221026d17b02b388[redacted]",
      "Bip32Derivation": [
        {
          "PubKey": "026d17b02b3[redacted]",
          "MasterKeyFingerprint":<PHONE_NUMBER>,
          "Bip32Path": [
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
            0,
            3
          ]
        },
        {
          "PubKey": "036268c62b99[redacted]",
          "MasterKeyFingerprint":<PHONE_NUMBER>,
          "Bip32Path": [
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
            0,
            3
          ]
        },
        {
          "PubKey": "03794b0226d5a[redacted]",
          "MasterKeyFingerprint": 738935317,
          "Bip32Path": [
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
            0,
            3
          ]
        }
      ],
      "FinalScriptSig": null,
      "FinalScriptWitness": null,
      "Unknowns": null
    }
  ],
  "Outputs": [
    {
      "RedeemScript": null,
      "WitnessScript": null,
      "Bip32Derivation": null
    }
  ],
  "Unknowns": [
    {
      "Key": "0102aa7ed304[redacted]",
      "Value": "9e8652e6300[redacted]"
    },
    {
      "Key": "0102aa7ed304575[redacted]",
      "Value": "c671ead0300[redacted]"
    },
    {
      "Key": "0102aa7ed3042517[redacted]",
      "Value": "15420b2c300[redacted]"
    }
  ]
}

The violated rule is: if WitnessUtxo is nil then WitnessScript MUST also be nil.
It looks like Electrum might have accidentally put a witness UTXO as a NonWitnessUtxo? I can't find any of the UTXOs but that could be because my JSON serializer doesn't display them properly.
To me this sounds like an issue should be opened in the Electrum repo.

@guggero Thanks for piecing that together. I will make an issue at Electrum, I am running pretty close to master of Electrum.
Items 1 & 3 are still valid though.
Can you confirm that base64 mypsbt-signed.psbt -w 0 would be the proper command for turning a binary psbt to base64 for LND?

Yes, you are right, items 1 and 3 are still valid.
About item 1: The code for the command line PSBT interaction is already pretty complex. Adding a loop to catch encoding errors and letting the user try again would have made it overkill for the initial PR. But I'll keep that in mind for a future PR.
About item 3: Yes, the command base64 -w 0 mypsbt-signed.psbt should encode the file correctly. I can add that to the documentation.

see https://github.com/spesmilo/electrum/issues/6257#issuecomment-647736461

Thanks @SomberNight

@SomberNight thanks a lot for the links in https://github.com/spesmilo/electrum/issues/6257#issuecomment-647736461! I knew I should have read into the details of the PSBT vulnerability sooner, I just never got around to do so.
Going to create a fix in btcutil to remove the sanity check.


Editing pipeline ACR service connection endpoint to the latest one created

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 41.66%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
27179

Relevant Lines:
59207

💛  - Coveralls


X-XSS-Protection HTTP Header missing on port 2616.

Description
X-XSS-Protection HTTP Header missing on port 2616.
To Reproduce
Steps to reproduce the behavior.
Expected behavior
A clear and concise description of what you expected to happen.
Details

Affected Component: [e.g. Sunstone, Scheduler or Storage]
Hypervisor: [e.g. KVM]
Version: [e.g. 5.4.12 or development]

Additional context
Add any other context about the problem here.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

@tinova PR to approve:

Code: https://github.com/OpenNebula/one-ee/pull/1561 -> master
Code: https://github.com/OpenNebula/one-ee/pull/1564 -> one-6.2
Docs: https://github.com/OpenNebula/docs/pull/2031


Gogogate2: Idempotent commands

Description:
Fixes Gogogate2 cover to only open, if not already open and vice versa.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

We shouldn't merge this. We don't know if our state is incorrect. It's up to the caller to check if it needs opening/closing.

Hi @balloob - can you please clarify what you mean by caller?
Would you prefer I move this check to my pygogogate2 library? The underlying device API only accepts an activate command which will open or close depending on device state but I could track state there too.
Or by 'caller' do you mean the automations that HA users would be writing? The HA UI restricts the open/close command already based on state but automations/service/homekit can still make the wrong service call.
I'm just trying to fix issues reported by users here: https://community.home-assistant.io/t/gogogate-2-cover/25420/40
Thanks

If we can't call close() and expect the garage door to close, I would consider that a bug upstream. Fixing it upstream also means that other consumers of the lib won't have a broken API.


Full error message match test

Description
Full error message match test
(trivial, but I got this exception, and was unable to find the exception message string in tests, so was fooled thinking we are not testing this situation)
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)
[x] Unit tests

/retest

/lgtm
/approve
/retest

/retest

/override Red Hat Konflux / lightspeed-service-on-pull-request

/override "Red Hat Konflux / lightspeed-service-on-pull-request"

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

Project coverage is 95.40%. Comparing base (10be3e2) to head (9d86831).
Report is 4 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #1076   +/-   ##
=======================================
  Coverage   95.40%   95.40%
=======================================
  Files          55       55
  Lines        2352     2352
=======================================
  Hits         2244     2244
  Misses        108      108

see 2 files with indirect coverage changes


Upgrade optaplanner, errai, gwt plugin version and arquillian version

extract versions to parent pom + minimum arquillian dependencies

once it's approved, I 'll merge - the merge conflict with duncan's swagger stuff is a straightforward fix

jenkins retest this


Add host-wayland

@dreveman,
NOTE: I updated the chroot to version to f7b5bad which included the enter-chroot changes and I added your chroot-bin/host-wayland and the changes in targets/core prior to my tests.

I'm not sure /var/run/chrome/wayland-0 is accessible in the chroot -

(trusty)denny@localhost:~$ ls -l /var/run/chrome/wayland-0
ls: cannot access /var/run/chrome/wayland-0: No such file or directory

And I'm not sure /var/run/chrome is getting bind-mounted as /var/host/chrome either.
I get the error displayed -

(trusty)denny@localhost:~$ ls -l /var/host/chrome
ls: cannot access /var/host/chrome: No such file or directory

I tried changing the host-wayland script to check for /var/host/chrome/wayland-0 too but that didn't work.

chronos@localhost ~/Downloads/crouton.unbundled $ enter-chroot -n trusty host-wayland
Entering /var/crouton/chroots/trusty...
echo 'No Chromium OS Wayland server is available.' 1>&2
Unmounting /var/crouton/chroots/trusty...
Sending SIGTERM to processes under /var/crouton/chroots/trusty...

The 'err' message gets displayed with the entire line too...
I'm probably doing something wrong but I can't seem to get it to work.
-DennisL

@DennisLfromGA does /var/run/chrome/wayland-0 exist outside the chroot?

Yes. Sorry, I meant to mention that also:

chronos@localhost ~ $ ls -l /var/run/chrome/wayland-0
srw-rw---- 1 chronos chronos 0 Sep  1 20:49 /var/run/chrome/wayland-0

I'm currently on:

Version 53.0.2785.81 beta (64-bit)
Platform 8530.69.0 (Official Build) beta-channel lulu
Firmware Google_Lulu.6301.136.57

Awaiting M53 stable - due out next week prolly...

You're likely missing the necessary permissions on the socket. It should have been:
srw-rw---- 1 chronos wayland 0 Sep 1 20:49 /var/run/chrome/wayland-0
and I'm not sure why the socket is not in the 'wayland' group in your case. Does it work if you use 'chronos' as username in the chroot? The idea is to add all users who should have access to this socket to the wayland group but I'm not sure how to best accomplish this in the crouton case. I guess it just happen to work for me as I've been using 'chronos' as chroot username..

@dreveman,
Here are the 'groups' for user 'chronos' on my system:

chronos@localhost ~ $ groups
audio video pkcs11 input brltty lpadmin devbroker-access cras chronos chronos-access

Also, there is no 'wayland' group name in /etc/group.
I have not tried the username 'chronos' in any of my chroots but I can't see how it would matter in my case without a 'wayland' group name.

This does not explain why /var/run/chrome is not getting bind-mounted as /var/host/chrome either, which is a requirement for this to work I believe.
-DennisL

Are you using a Chromebook with Play Store support? If not, then that's likely what's causing your system to be different.

No I'm not. Sorry, thought I'd mentioned that.

Ok, that's a requirement for host-wayland to work today but I'll look into making some ChromiumOS changes that would allow this to work on all Chromebooks.

I thought Freon/Wayland was introduced around M50 and not dependent on Google Play???

You might have it confused with wayland client support. Wayland server support is new and it doesn't really depend on Play. It just happens that Play uses it so that's why it works only on devices with Play enabled. There's no good reason for this limitation so I'll try to change this asap.
Manually adding the 'wayland' group should work for now and give the socket the right permissions:
https://cs.chromium.org/chromium/src/components/exo/wayland/server.cc?rcl=1472733616&l=3096

Okay, sorry to confuse and complicate things.
I'll hold off testing / using host-wayland until my Dell CB13 gets Googe Play.

Well I guess my stumbling in the dark did produce some positive results after all.
I can delete all of my comments above if you want to keep this PR pristine - just let me know.

@dreveman the chroot and the host are 1:1 for file gids, but do not necessarily have the same group associated with that gid.  If you're lucky and the /etc/group inside and outside has the same association between group name and group id, then it'll appear the same inside and out.  You can force the chroot to be lucky by adding to the list of groups to synchronize.
Something to consider if we need to synchronize the wayland group.

Oops, wrong reference :(

Do we want croutoncycle to cycle through wayland windows like we did for host-x11?  I would say "no" because the Chromium OS window manager actually handles looping through the wayland windows properly.


Progamatic way to open a service request

I don't see any way to open a service request using a API or using a programmatic way. is there any?.

@ediazrod To assist you better on your query could you provide us with the link to the document you are referring to ?
In case your query in not related to document content, open a new forum thread either MSDN, Q&A or StackOverflow as it could be better place to get help on your scenario where the community members could provide their expert guidance to you based on their experience.

@ediazrod We will now proceed to close this thread as we haven't heard back. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Fix Proposial for upcomming Ansible 2.3

$params are now Hash Arrays in Ansible 2.3
Fixed Attribute Generation for that

Referenced Issue #18

Thanks! I've opened https://github.com/ansible/ansible/issues/21738 with Ansible, waiting to see what they're saying before I merge this in (I just want to make sure they made the change intentionally)

ok so the breaking change is happening in Ansible - I'll get this PR tested over the weekend against ansible:devel and get it merged. Thanks again for sumitting, appreciate it!

maybe a rewrite is needed, to ensure backward compatiblity, but mostly it will be lost work, most ppl are on devel anyway :-)


redundant data in extracted files (PC2)

Hello!
Firstly, thanks very much for the tool!
I tested it with PC2 on PC and extracted some bff's using the quickbms+cheat engine+renamer method and your tool. The files extracted with your tool have extra data added at the end and they cause game crashes.
I attach several examples (the files ending in CA have beet extracted with quickbms and renamed via cheat engine)
https://www.mediafire.com/folder/lhidwh4fv9q0r/PC2_files
I can provide more samples if needed.
Is it something you can address?

Retest with 1.0.1

Fantastic! It works as advertised.
Thank you kindly!


speed_direction_batch() at the beginning of tracking

Thanks for the amazing work!
But I find something confusing when using oc-sort. At the beginning of tracking (like frame 2), the input variables of function speed_direction_batch() is detections and previous_obs.
But the previous_obs is [-1, -1, -1, -1, -1], which I don't think is normal.
Is it an issue, or I should just ignore it?

I had a thought. When the previous_obs is [-1, -1, -1, -1, -1], the velocities is 0, which makes diff_angle_cos to be 0. So it doesn't matter.
Am I right?

Yes, you are right. The [-1,-1,-1,-1,-1] is just a dumb (and ugly) placeholder for the beginning when no historical observation is available yet, having no influence over the association matrix.
I apologize for the confusion. I should have made it a better way. Stay tuned for a better version here or in mmtracking. Or, please feel free to make PR for that!

Thanks for the reply!
If it is possible, could you please update codes here (and in mmtracking). I used mmdetection for a while, and I think it makes codes harder to understand due to its modular design.
That's just my little wish, don't take it so serious.

Yes. I will definitely update this. The current released version is a timely and primary version. The coming version should be more complete and well-formed.

Thanks in advance! OC-SORT is truly awesome!


Sandbox the plan execution

Alternative exploration to getting code through the git process, especially if we end up with a live server scripting environment
Third party solutions that could help us with that:

https://github.com/netblue30/firejail
https://github.com/google/gvisor

Unsure if this would have any advantages over what we already get from k8s

we might just run arbitrary code then, exposing only specific ports destined for ophyd traffick

No objection to further investigation


CHAINS-348 - assume a certain network version when not available

external node providers often do not enable the getnetworkinfo endpoint which prevents us from doing any call with this client. This PR adds a hook to assume we're connected to a node past v0.19 (we're on v0.22 for ltc now) if it cannot get the information directly from the node itself.

Closing as this PR has the change


handling errors

If an error is thrown by someone in the app, ie. this.throw(400) the headers are reset here: https://github.com/koajs/koa/blob/master/lib/context.js#L118 and the cors header is lost.
Seems like this: https://github.com/evert0n/koa-cors/blob/master/index.js#L94
needs to be wrapped in a try catch and have the headers placed back in.

I added this package to solve the issue
https://github.com/lusever/koa-cors-error
It would be nice if this was mentioned in this package's documentation

Thanks @JoshZA ! I was also having this problem. It seems to be this behavior should be part of the main koa-cors package, considering its not uncommon for an api server to desire throwing 403's or 400's as guard clauses to an api endpoint.

+1

Hi,
Is this still an issue?


Divide clin res

PR checklist

[X] Divide clinical from research results in drop
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

@ivadym thanks for the superthorough and pedagogic review! I learnt sooo much! 🤩 😄


Tooltips for Property Panel Headings PropertyFieldCollectionData

Category

[ x] Enhancement
[ ] Bug
[ ] Question

Version
Please specify what version of the library you are using: [   latest      ]
Expected / Desired Behavior / Question
It would be great to have the capability to add an option tooltip to Property Panel Headings
Observed Behavior
Property Panel Headings can get long if you are trying to be descriptive. Shorter panel headings with tooltips would be ideal
Steps to Reproduce
Default behavior

Hi @svermaak - do you mean tooltips for columns headers?


gpu: android: Remove max texture size limit

WebXR textures for VR experiences are naturally over 4k and this limitation is a problem on those cases.
We may want to adjust this to address such scenario and eventually upload to upstream.

Like we've discussed offline, I have now increased the max texture size to a new limit. PTAL. Thank you.

I'd prefer us to remove the workaround from the list of enabled workarounds and leave this untouched. Can we track the initialization of those enabled_workarounds?

Finally after some offline discussion we've decided to stick to the 16k limit which seems to be used everywhere else (Gecko, Meta's browser...)


Update core.js

fix for null reference exception

Description

Thank you!

thx for the PR. please describe your use case and show us why this change is required and how to reproduce your problem

When using summernote editor (https://www.npmjs.com/package/summernote) we get an error on this line because string happens to be undefined. The escapeCssMeta is receiving an undefined input instead of a string value. This causes the entire page to crash resulting in a broken editor.
This extra null check solves this issue.

in my experience this kind of change only hides actual errors at the caller side.
If we dont have evidence this is usefull for a lot of upstream projects, I dont want to merge this.

likely you run into this problem, because the element beeing validated misses a name attribute


Blade components not passing variables when called recursively

Laravel Version: 7.4.0
PHP Version: 7.3.15
Database Driver & Version: mysql  Ver 14.14 Distrib 5.7.29, for Linux (x86_64)

Description:
When components are called inside another component I get variables not set.
Imagine a component that renders comments and their replies recursively.
Every comment renders its childen components.
This is what we want:

This is what we get:

Steps To Reproduce:
Comment-Item fails like this:
namespace App\View\Components;
use Illuminate\View\Component;

class CommentItem extends Component
{
    public $comment;
    public $depth;

    public function __construct($comment, $depth = 0)
    {
        $this->comment = $comment;
        $this->depth = $depth;
    }

    public function render()
    {
        return view('components.comment-item');
    }
}

But works like this:
 public function render()
 {
     return view('components.comment-item', [
     'comment' => $this->comment,
     'depth' => $this->depth,
     ]);
 }

When setting variables explicitly, component works just fine!!
This is the code for recursively calling the component.
It's not that relevant I guess, but I'll put it here if it helps:
 public function renderCommentsRecursive($comment, $depth)
 {
   // exit condition
     if (!$comment->has('comments')) {
         return null;
     }
     // process
     $out = "";
     foreach ($comment->comments()->ordered()->get() as $childComment) {
         $commentComponent = new CommentItem($childComment, $depth);
         $out .= $commentComponent->render();

         // recursive
         $out .= $this->renderCommentsRecursive($childComment, ++$depth);
     }
     return $out;
 }

Could it be that variables are named exactly the same in parent-child so blade mixes scope??
Please let me know if this information is enough to reproduce, or need a more detailed example!!

Please share the components.comment-item view.

Sure!
Note that type doesn't matter.
$depth is just a number
$comment is a model
comment-item.blade.php

id }}" class="comment" style="margin-left: {{ $depth*2 }}rem">
{{ $comment->text }}

Can you maybe share all the views involved? Also the ones calling the components.

Sorry for not providing a simpler example:
I made a fresh laravel app to demo it:
https://bitbucket.org/eduardoarandah/laravel-blade-variables-error/src

welcome.blade.php

      <x-father-component/>

app/View/Components/FatherComponent.php
<?php

namespace App\View\Components;

use Illuminate\View\Component;
use App\View\Components\ChildComponent;

class FatherComponent extends Component
{
    public function render()
    {
        $children = $this->renderChildren(8);
        return view('components.father-component', [
          'children' => $children,
        ]);
    }

    public function renderChildren($depth)
    {
        $depth--;

       // exit condition
        if (!$depth) {
            return null;
        }

        $child = new ChildComponent($depth);
        $out = $child->render();
        $out .= $this->renderChildren($depth);
        return $out;
    }
}

resources/views/components/father-component.blade.php

  Hello world!

  Here is children:
    {!! $children !!}

app/View/Components/ChildComponent.php
<?php
namespace App\View\Components;

use Illuminate\View\Component;

class ChildComponent extends Component
{
    public $depth;
    public function __construct($depth)
    {
        $this->depth = $depth;
    }
    public function render()
    {
      // doesn't work:
        // return view('components.child-component');
        // does work:
        return view('components.child-component', [
          'depth' => $this->depth,
        ]);
    }
}

resources/views/components/child-component.blade.php

  Hello Depth: {{ $depth }}

You can't use components outside views like that. In the Blade views ->withAttributes is called on the components to pass in its attributes.

May I ask how to use ->withAttributes if calling ->render() outside blade?
are components relying on some global initialization? some global state?

Here: https://github.com/laravel/framework/blob/7.x/src/Illuminate/View/Compilers/ComponentTagCompiler.php#L195-L197


no options to export to a video file

I don't have any options to export to a video file. I have only 2 options which is jpg and png.
no mp4, avi, mkv, mov, or other options to export.
neither I can go above 60 fps

Please import the image sequence into your favorite video editing software, I'm not planning to include this in this software. Please elaborate what you mean that can't go above 60 FPS, as there is no framerate analysis cap from what I remember.

Just checked and there are no bounds for the framerate. Please upload a video if you feel this problem still persists in the new release.

Just checked and there are no bounds for the framerate. Please upload a video if you feel this problem still persists in the new release.


Requirements

[x] Coding style -> 4 pt(consistent style, no random comments etc.)
[x] Splitting code into multiple files -> 4 pt(files .h/.hpp and .cpp)
[x] Dynamic allocation -> 4 pt(using new keyword or smart pointers)
[x] One main program class -> 4 pt(e.g. Game or Application class)
[x] Constructor -> 2 pt(non empty)
[x] Destructor -> 2 pt(if raw pointers were used it should not be empty)
[x] Encapsulation-> 2 pt(private and protected)
[x] Inheritance -> 4 pt
[x] Virtual method -> 2 pt
[x] Polymorphism -> 10 pt
[x] Operator overloading -> 2 pt
[x] Enumeration -> 2 pt(enum class)
[x] Read from file -> 1pt
[x] Write to file -> 1pt
[x] STL Algorithm -> 2 pt(std::sort, std::min_element, std::count_if etc.)
[x] Error handling -> 2 pt(exceptions or messages about error e.g. std::cerr << "Failed to load file ...)
[x] Generic class -> 6 pt(template )
[x] Unit tests -> 6 pt

Project finished


Update cats-effect to 3.4.1

Updates org.typelevel:cats-effect from 3.3.14 to 3.4.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (3.3.14).
You might want to review and update them manually.
fs2/src/test/scala/colibri/ObservableSpec.scala

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "cats-effect" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.typelevel", artifactId = "cats-effect" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:1

@mergify rebase


Fix showLogs

Pull Request Description
Fix showLogs, by disabling it if showLogs already exists
Important Notes
This will need to be pushed to cloud in order to work. Tested locally by temporary replacing the URL of the loaded script (normally cloud's index.js.gz) with the locally built one.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

i am still having this error module is not defined but showLogs works

Closing as draft in favor of #7570.


Disable oauth client test

Disable OAuthClient test until Auth0 rate limit is fixed

@Helmi, is the OAuthClientTest is the root cause of Go SDK tests failure? Currently all SDKs are passing from raicode on staging except the GO SDK.

@Helmi, is the OAuthClientTest is the root cause of Go SDK tests failure? Currently all SDKs are passing from raicode on staging except the GO SDK.

yep that's the case
=== RUN   TestOAuthClient
    client_test.go:595:
        	Error Trace:	client_test.go:595
        	Error:      	Expected nil, but got: rai.HTTPError{StatusCode:500, Body:"{\"status\":\"Internal Server Error\",\"message\":\"the operation failed due to an unexpected error\"}\n"}
        	Test:       	TestOAuthClient
--- FAIL: TestOAuthClient (4.12s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x93503c]


pooling interval

Hi, have a problem whit the pooling interval.
if I don't put the number of pooling interval Homebridge regonize the change of the state 3 minutes after the state change.
how I can change this, I want a pooling interval of low seconds, like 5 sec. and the last update say the next:
''pollingInterval Optional. Defaults to empty which entails no polling. The frequency in seconds that the plugin polls the cloud to get device updates. When you exclusively control the devices through Homebridge, you can set this to a low frequency (high interval number, e.g. 1800 = 30 minutes).``
the minimum number its 300... on the config of Homebridge.
please can help me whit that.
thnx.

Hello,
I get quite some questions regarding this. Therefor I just wrote a wiki-page regarding this.
Please read this wiki page. It explains why going any faster is not possible, and why there is nothing I can do about that.


Can't use variables for sshEndpoint in SSH Deployment Task

jobs:

job: deployjob
pool:
vmImage: 'Ubuntu 16.04'
strategy:
matrix:
box_1:
endpoint: Box1
box_2:
endpoint: Box2
steps:

script: echo $(endpoint) #works and prints Box 1 and Box 2 on two jobs

task: SSH@0
inputs:
sshEndpoint: $(endpoint) # doesn't work and literally uses $(endpoint)
runOptions: commands
commands: '/home/deploy-scripts/script.sh'

The SSH Deployment task doesn't resolve variables for its sshEndpoint parameter.

@alexhomer1 Can you assist with this one, it sounds like it is about variables?

Thank you for your feedback. Bugs, issues, suggestions, and feature requests related to the product rather than the documentation are best posted on the Developer Community website at https://developercommunity.visualstudio.com/spaces/21/index.html, where they are tracked by the product teams, who will be able to offer advice. Please post your feedback there.
I will also consult the development team about this issue to see if this is expected behavior, and update the documentation as required.
Thank you.


Incorrect relative import in most recent commit. Module import breaks.

Hi @vgm64 @OmriRoames, I think the latest commit may have a bug?
In [https://github.com/vgm64/gmplot/blob/master/gmplot/gmplot.py#L9]:
color_dicts should be .color_dicts.
This is the error message I get:

~/code/sonder/micro-neighborhoods/micro-neighborhoods-env/lib/python3.6/site-packages/gmplot/gmplot.py in <module>()
      7 from collections import namedtuple
      8
----> 9 from color_dicts import mpl_color_map, html_color_codes
     10 from google_maps_templates import SYMBOLS, CIRCLE
     11

ModuleNotFoundError: No module named 'color_dicts```

Confirmed. Starting using future's absolute import in 8e6a886ca6fa54ce95f5334943288760fd0a7bf2. Problem should be fixed. Thanks for the report!


Test in Travis CI

Everyone else seems to be doing that now.

Hello,
I have created a fork of your awesome project and, aside from implementing a download dialog, added the configuration required for Travis CI test builds.
You can check the build log by clicking here.
Greetings!


[core] Add an option to override the detected platform

Discussed in https://github.com/jreleaser/jreleaser/discussions/705

Originally posted by aalmiray January 26, 2022
@manojkarthick has built a PoC for x-compiled Rust binaries. His project has the following platform replacements:
https://github.com/manojkarthick/jreleaser-poc/blob/701c2202118b47f714501f5e42975892dd518ad2/jreleaser.yml#L16-L21
The build is run on GitHub using the following matrix
https://github.com/manojkarthick/jreleaser-poc/blob/701c2202118b47f714501f5e42975892dd518ad2/.github/workflows/early-access.yml#L9-L18
However the archive assembler for aarch64-apple-darwin fails because it can't locate the binary given that it still sees the resolved platform as x86_64-apple-darwin as witnessed by
https://github.com/manojkarthick/jreleaser-poc/runs/4944544020?check_suite_focus=true#step:7:90
This is because the JReleaser process is running on intel macOs and the default platform detection mechanism resolves to osx-x86_64.
Cross compilation on any other host environment will face the same problem as the host platform differs from the binary's target. Perhaps if there was a way to override the default platform, such as with and environment variable (JRELEASER_PLATFORM_OVERRIDE) and/or a command flag --platform-override osx-aarch_64.
Note that platform values detected by Java would still have to be passed in as arguments.

Setting an environment variable or System property named JRELEASER_PLATFORM_OVERRIDE is enough. There's no need for an additional command flag. The following commands result in the osx-aarch_64 platform being the current one when running on GH's macos-latest (which should be detected as osx-x86_64 by default:
$ JRELEASER_PLATFORM_OVERRIDE=osx-aarch_64 jreleaser assemble

$ jreleaser assemble -DJRELEASER_PLATFORM_OVERRIDE=osx-aarch_64"

@manojkarthick latest early-access release contains the fix 😄

💯 Thanks a lot @aalmiray! 😀 It works now with the latest commit.

@manojkarthick jreleaser-poc is looking pretty slick now 😼

Yes! Huge thanks to you and jreleaser :) Final item to figure out is Homebrew tap formula and it should be ready for primetime!


asset_url helpers don't work

In switching over from sass-rails to dartsass-rails, I noticed the asset path helpers no longer work. In development mode, something like this works fine:
div {
    background-image: url("path/in/assets/to/image.jpg");
}

but in production, neither that nor this works:
div {
    background-image: asset-url("path/in/assets/to/image.jpg");
}

dartsass-rails cannot pass ruby functions to the dart sass compiler, so that it does not support asset helpers.
If you need the asset-url helper, you can try sassc-embedded. It is based on dart-sass-embedded and provides a ruby API that is compatible with SassC so that sprockets would work as is.

Latest Sprockets and Propshaft will both replace url() to an digest-stamped version.


Make assert_throws('TypeError') work.

Do you want me to add the other native errors listed at https://tc39.github.io/ecma262/#sec-native-error-types-used-in-this-standard in this patch too?
Fixes #62
@sof @jgraham

This change is

Unfortunately, this would make it very unclear what assert_throws("SyntaxError", ...) means, so I'd rather not take this PR.

Unfortunately, this would make it very unclear what assert_throws("SyntaxError", ...) means, so I'd rather not take this PR.

@jyasskin given that I propose we close this unmerged


cache node packages on appveyor and travis

ping @Nyalab

thanks for your PR, what purpose does it serve? isn't the cache regenerated for each branch?

@Nyalab there's no need to re-download these packages everytime, NPM is slow enough as it is. I was hoping this would speed up the build and prevent some unnecessary downloads.

@Nyalab what do you think?

ping @Nyalab


Handle error from mail list sign up, allow retry

This bug where the email form submission wasn't working the first try, but would then work if you re-started the app, is a strange one. I was able to reproduce it for a while, but with a meaningless "network request failed" error. And then out of nowhere, it just started working and I can no longer reproduce it. This PR does the next best thing for now and catches the error, displays a toast with the error message, and allows the user to retry the submission. Let's see if that works.
UPDATE: Snuck in a commit to fix the arrow positioning during onboarding on iPhone X screens.
Fixes #735
Fixes #737

UPDATE: Snuck in a commit to fix the arrow positioning during onboarding on iPhone X screens.

perf


fix: Include QTimer in hyperhdr.cpp

This fixes building HyperHDR when no grabber is enabled at build-time

Summary
What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Docs
[X] Build-related changes
[ ] Other, please describe:

If changing the UI of web configuration, please provide the before/after screenshot:
Does this PR introduce a breaking change? (check one)

[ ] Yes
[X] No

If yes, please describe the impact and migration path for existing setups:
The PR fulfills these requirements:

[ ] When resolving a specific issue, it's referenced in the PR's body (e.g. Fixes: #xxx[,#xxx], where "xxx" is the issue number)

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature
[ ] Related documents have been updated (docs/docs/en)
[ ] Related tests have been updated

PLEASE DON'T FORGET TO ADD YOUR CHANGES TO CHANGELOG.MD

[ ] Yes, CHANGELOG.md is also updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.
Other information:

Thanks, but I already have this in my package (made when I offered you 2 solutions including this one, how to fix QTimer when creating a custom grabber-less configuration) along with some other small fixes and will be rolled out after an extended testing period of 18.0.0beta3 because so far there are no critical bugs requiring immediate repair. So please be patient :)

Alright, did not know.
So for now, disabling MQTT will do the job.
Closing.


Draw SQQ expressions

[ ] shocked
[ ] crying
[ ] dead
[ ] blushing
[ ] angry
[ ] sad
[ ] annoyed
[ ] closed eyes


[New Project]: Can you make a count in the mobile app of how much issues the user has created, mentioned, involved, assingned

Is this project already existing in the app?

[X] I have searched the existing projects

Tell us about the project
Can you make a count in the mobile app of how much issues the user has created, mentioned, involved, assingned.
Is the Project a DPG (Digital Public Good)

[X] This Project is a DPG

Does the project list which Sustainable Development Goals it addresses in its labels?

[ ] Yes
[ ] No

Code of Conduct

[X] I've read the Code of Conduct and understand my responsibilities as a member of the Ruby for Good community

Anything else?
No response

Still not implemented.


Add Python 3.12.

Contributes to https://github.com/rapidsai/build-planning/issues/40.
This PR adds Python 3.12 entries to conda/wheel build and test jobs.
To keep the total number of GPU test jobs fixed, I modified the Python versions used by some existing jobs.
See previous migration to Python 3.11: https://github.com/rapidsai/shared-workflows/pull/176

I recommend we start rolling out Python 3.12 to RAPIDS repositories after these items:

[ ] rapids-build-backend: https://github.com/rapidsai/build-planning/issues/31
[ ] C++ wheels, at least for most of RAPIDS: https://github.com/rapidsai/build-planning/issues/33

It's worth noting that while we have historically talked about "we can't claim to support anything we don't test", we already violate that rule by only testing a subset, even in nightlies. Therefore I'd argue that the fact that this PR brings us to an even smaller subset isn't categorically bad.

@jameslamb For awareness -- I updated this PR following #236. It should be ready for you to pick up when you're ready, perhaps after a bit more work on C++ wheels.

I've moved this out of draft, and started the process of opening up PRs to test. See https://github.com/rapidsai/build-planning/issues/40 for a list of those.

I recommend we start rolling out Python 3.12 to RAPIDS repositories after these items:
...
C++ wheels, at least for most of RAPIDS: https://github.com/rapidsai/build-planning/issues/33

To be clear... most of https://github.com/rapidsai/build-planning/issues/33 is NOT done yet, but we've decided to try to get Python 3.12 out in this upcoming release anyway, given that the first Python 3.13 is only a month away: https://devguide.python.org/versions/.

I won't delete the python-3.12 branch here until we've updated all the repos currently referencing it.

There are 0 remaining references to this branch in the rapidsai org: https://github.com/search?q=org%3Arapidsai "%40python-3.12"&type=code, so I'm deleting this branch.
If we end up needing it for any reason, it'd be easy to manually recreate from the small diff on this PR.


Test Debugger no longer working

golem run -i works correctly with #97
adding debug() or a import pdb; pdb.set_trace() to a test no longer works, it enters then exits the debugger without stopping.
dbug() log:
INFO:golem:Click Login Button
Entering interactive debug mode
Type exit() to stop

now exiting InteractiveConsole...
pdb log:
13:17:24 INFO Click Login Button
INFO:golem:Click Login Button

/home/daniel/Development/golem/FunctionalTests/projects/OSC/tests/forgot_password.py(19)test()
-> click(forgot_password.forgot_link)
(Pdb)
13:17:27 ERROR An error ocurred:
Traceback (most recent call last):
File "/home/daniel/Development/golem-dm/env/lib/python3.6/site-packages/golem_framework-0.4.5-py3.6.egg/golem/test_runner/test_runner.py", line 122, in run_test
test_module.test(execution.data)
File "/home/daniel/Development/golem/FunctionalTests/projects/OSC/tests/forgot_password.py", line 19, in test
click(forgot_password.forgot_link)
File "/home/daniel/Development/golem/FunctionalTests/projects/OSC/tests/forgot_password.py", line 19, in test
click(forgot_password.forgot_link)
File "/usr/lib/python3.6/bdb.py", line 48, in trace_dispatch
return self.dispatch_line(frame)
File "/usr/lib/python3.6/bdb.py", line 67, in dispatch_line
if self.quitting: raise BdbQuit
bdb.BdbQuit

@danielmaddern did you also try running interactive debug mode from within a testcase (golem run -i   ?
I seem to have no luck to get the shell running (even with the proposed fix from the PR)
golem run -i does work by the way

after some more troubleshooting I am convinced the interactive mode is impacted by https://github.com/lucianopuccio/golem/commit/3e36f39d88f3990a0fe8e42917f2b9154d488d54 due to the usage of multiprocessing even when executing a single threaded test.
The issue can be reproduced with the following code
import multiprocessing
import code

def worker():
    print('Worker')
    code.interact(banner='Hello')
    return

if __name__ == '__main__':
    p = multiprocessing.Process(target=worker)
    p.start()

In the above example the interactive session is directly closed after executing it.

I think you're right..
the 0.4.5 release should still work.. I'll give it a shot shortly.
Possible fix could be
    if not suite_error:         if test_execution.interactive and execution['workers'] != 1:             print('WARNING: to run in debug mode, threads must equal one')         elif test_execution.interactive and execution['workers'] == 1:             # run using run_test         else:             multiprocess_executor(execution_list, execution['workers'])

fixed in 0.4.8


fix: added TimesheetUpdate to the export list

TimesheetUpdate was not exported so wasnt discoverable.

Hey @jackcw, thanks for your contribution :) merging into the future version 2.2.0.


fix tests for CI

run make generate_ci_workflows
similar to https://github.com/Shopify/vitess/pull/148

Checklist

[ ] "Backport to:" labels have been added if this change should be back-ported to release branches
[ ] If this change is to be back-ported to previous releases, a justification is included in the PR description
[ ] Tests were added or are not required
[ ] Did the new or modified tests pass consistently locally and on CI?
[ ] Documentation was added or is not required

Deployment Notes

Wonder why unit tests are failing? flaky?


The example-"simple map" shows nothing in my project

How to use these components? Anybody can show me a full simple project?

Same here, I followed all steps and my page shows nothing

@yazamiko in developer tools did you check whether map is downloading ?
If it is downloading then you might have to adjust styles.

did you specify the width and height of the container?

I had the same issue, I inspected the DOM and found that the div containing my map had an inline style of position: relative - this was causing it to not display anything. Hence why you also have no errors in the console. So, check your CSS.

For me, the map is rendered but it has a style problem.
I use display: flex to solve it.

         <myGoogleMap
               containerElement={

               }
               mapElement={

               }
                markers={markers}
          />

Try the new v8.0.0 with new docs:
https://tomchentw.github.io/react-google-maps/


Remove legacy Verify functions from 06-solomachine

Summary
Sub-issue of #1145
Pre-requirements:

[x] #1291
[x] #1292
[x] #1293

Remove all the following functions from 07-tendermint:

[ ] VerifyClientState
[ ] VerifyClientConsensusState
[ ] VerifyConnectionState
[ ] VerifyChannelState
[ ] VerifyPacketCommitment
[ ] VerifyPacketAcknowledgement
[ ] VerifyPacketReceiptAbsence
[ ] VerifyNextSequenceRecv

NOTE: all existing tests must be transferred to the generic VerifyMembership and VerifyNonMembership functions (if they haven't already)

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

Closed by #1687


Cannot open device; Segmentation fault

After installing the dependencies and building the driver, running the driver just results in the process exiting with the message "Cannot open device", then "Segmentation fault". I'm using Linux mint, an Ubuntu based distro.

This is probably because you have a tablet with a different product id.
You can list your usb devices with lsusb. The device id should be: 256c:006d.
If your device id is different, the tablet will be most definitely using a different protocol, which will make the driver unusable. In that case, you will have to dump the usb packets, either with some tool like wireshark or hacking through the code (shouldn't take long) to inspect them, analyze them, and accordingly implement the protocol.
Unfortunately, my table got stolen two years ago and I haven't been able to continue the development of this repo, but I will try fixing some errors and assist you with any help you need.

Added some small changes on #dev

Thank you for the reply. I did check the device ID beforehand, and it does  match the one you provided. I'm not sure what the issue is, but i ended up using OpenTabletDriver, which worked (until it didn't)

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @hmert, @ParatonerTr, @rarefin, @XXL6, @KumarUniverse, @reneordosgoitia, @nickspurry


feat(ui): VM Reporting 2.0 GA Major Fixes

Description
This PR fixes the following issues:

ROX-19311: [Reports table] Fix overflow issue with table row actions

ROX-18884: [Report form] Choosing a new notifier overwrites the custom distribution list

https://github.com/stackrox/stackrox/assets/4805485/f312d01f-0f81-4582-983a-e1c2d5bcf599

ROX-19307: [Report form] Change descriptor

ROX-19308: [Reports table] Left align collections column

ROX-19309: [Reports table] Fix help text

ROX-19317: [Pagination] Issue with per page value

https://github.com/stackrox/stackrox/assets/4805485/3da41650-2633-4da9-bf8f-b7fde42f5ccb

ROX-19318: [Reports form] Remove "None" option from schedule frequency for certain cases

https://github.com/stackrox/stackrox/assets/4805485/b90fa25e-1091-4564-8c45-4baf4cf10688

@zhenpesky take a look at the video for the 2nd bug fix. Let me know if that is the behavior you were looking for for the distribution list issue

@sachaudh
1. On issue 18884 - Distribution list): Missing a conditional behavior:

After clicking "Reset to default", the button should be disabled in grey text.
The button is enabled (blue text) as the user typing in the custom input (for example: similar behavior while the user typing in a search box component and showing the "X" icon).
Show the button "Reset to default" in grey text if a notifier is selected without any custom input.

On issue 19318): The inline alert (in step 2) text does not match the updated option text (in step 1): "Last scheduled report that was successfully sent"

@zhenpesky made the changes you suggested. Here are some clips:
https://github.com/stackrox/stackrox/assets/4805485/651e76cb-cc79-49fa-a2f4-93b0229a55d1


Fixed broked links in .md files under swam/examples/docs

Hello,
Since I have started to experiment with SWAM for running several benchmarks for Web-Assembly, I thought it would be a good idea to fix the broken links in the README. I would also like to add several content for WebAssembly modules in the future.
Thanks,
Shrinish Donde

Actually these links are not broken, as these markdown files are processed by tut to render the documentation pages (e.g. for annotations.md)
tut is a tool that runs the scala code in the markdown files, to ensure that they compile and execute properly, and outputs the result below the commands.

To generate the website content, you need to run ./millw examples.mdoc and the result is generated in the site directory.
You can build the website with nanoc
$ ./millw examples.mdoc
$ cd site
$ nanoc
$ nanoc view

And you can access the website at http://<IP_ADDRESS>:3000

Oh thanks @satabin


QAI-1783: Unmapped schema definition

What?
This PR adds a new unmapped object. This object has value, name, type, and optional caption and is_array properties. It represents a datum that cannot be mapped to the schema as well as information necessary to present the datum.
It also changes the type of unmapped in the attribute dictionary so that all unmapped attributes use this type, and adds an unmapped attribute to nearly all objects (but not to itself).
See QEP-001 for more information.

Since query-engine always treats reference to other objects as relationships, we should first make change in QE and masala to handle nested attributes before updating qdm.


Royal ISV Liencess

[Enter feedback here]

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

ID: a719e16b-a39f-75a3-ea55-6725a295a920
Version Independent ID: 6de5a5cc-981a-6492-ffcd-81171988e956
Content: Get started using Azure Security Center for IoT Built-in IoT Hub integration service
Content Source: articles/asc-for-iot/iot-hub-integration.md
Service: asc-for-iot
Sub-service: asc-for-iot
GitHub Login: @mlottner
Microsoft Alias: mlottner

@Deadmau8772 , Could you please describe the issue?


Adding Travis .yml Build Pipeline

I can edit the yml file to contain different versions of python you would want tests to run on. It is currently running on 2.7,3.5 & 3.4. Tests are currently failing tho as they do not pass, unless i am working on the wrong branch :)

Referencing to #80
Can you add the remaining tests as well ? That way it's done in one PR merge.

#82 let me know your thoughts?

Merged! :)


DTLS non-conforming cookie computation

Description

Type: Bug
Priority: Minor

Non-conformance Bug
OS
Linux, Ubuntu 20
mbed TLS build:
Version: 2.26.0
Configuration: vanilla configuration
Affected Versions
DTLS 1.2
Expected behavior
According to the DTLS 1.2. RFC, the server should use supported cipher suites in cookie computation

When responding to a HelloVerifyRequest, the client MUST use the same
parameter values (version, random, session_id, cipher_suites,
compression_method) as it did in the original ClientHello.  The
server SHOULD use those values to generate its cookie and verify that
they are correct upon cookie receipt.

Actual Behavior
Our testing shows that the MbedTLS server does not conform to the standard. It does not use the field when computing a cookie and thus allows cookie exchange to be completed by a second ClientHello message which has different supported cipher suites to the first. Looking at the code ssl_check_dtls_clihlo_cookie in library/ssl_msg.c, the same treatment applies to other fields (client random, etc.). This appears  to be done intentionally according to the comments (to minimize code duplication).  I just wanted to point out that this behavior is non-conforming.
Steps to Reproduce
I attached files necessary for reproduction using DTLS-fuzzer, a Java-based tool for testing DTLS libraries. Also included in the archive is a capture of the interaction,  generated on my machine. DTLS-fuzzer requires  the JDK for Java 8. On Ubuntu, this can be installed  by running:
sudo apt-get install openjdk-8-jdk
Unpack the archive, cd to resulting folder and run bash reproduce.sh non-conformingcookie.test, while running an instance of Wireshark on the side. The reproduction script will:

setup MbedTLS
launch an MbedTLS client, configured with a high DTLS timeout value (to avoid retransmissions);
launch DTLS-fuzzer to execute the sequence non-conformingcookie.test.

Also included in the archive is a  Wireshark capture exposing this issue. Check 'Cipher Suites' fields in the two ClientHello messages, and you will find that they are different, as can be seen in the above screenshots.

invalid_cookie.tar.gz
Thanks!

Hi @pfg666 and thanks for your report!
Just to make sure I understand: there are two part to the fragment of the RFC you're quoting: a requirement on the client, and one on the server. If I understand correctly, your report is only about the behaviour of the server right? (I was initially a bit confused because you wrote that reproduce.sh runs will launch an MbedTLS client, but looking at the script it looks like it's launching a server so I assume that was just a typo.)
In that case, I'm going to point out that the requirement on the server is only a SHOULD, which according to RFC 2119 section 3 means:

Hi @mpg, you are right, in the reproduction description it should have been a server instead of a client.
Thanks for clarifying the reasons for permitting this deviation, and also the potential implications. I understand the trade off, and why code size was prioritized. This deviation, indeed, does not affect the implementation's security.
Looking at the code, I don't think it is feasible to address this requirement without increasing code size or making more significant changes (as in, changing method signatures).  Perhaps it would have been nice if a user of MbedTLS was given the choice of providing fully conforming methods for computing/checking the cookie. The signatures of the function types  mbedtls_ssl_cookie_write_t  and mbedtls_ssl_cookie_check_t do not appear to make this possible (unless you can get the ClientHello contents from the context).  Anyway, I am satisfied with the clear explanation, and am fine with closing the issue.
I still believe the issue was worth reporting, since it helped identify the reasons for making this choice.

Thanks for your response. I agree the issue was absolutely worth reporting, it's always good to double-check deviations from the standard. It's also good to know that there are people fuzzing (or otherwise testing) Mbed TLS and reporting the results, thanks for that!
I agree that we could provide two modes: the current one with small code size, and another with full check, controlled by a compile-time option. However these days we tend to be cautious about introducing too many compile-time options, as they tend to increase the cost of testing.
So, I'm closing as "wontfix" to acknowledge that there is indeed room for improvement, but that's not something we intend to work on in the foreseeable future.


Start adding a specific tile cache header with reduced TTL

We should add a new cache like "X-Cache-TTL" or something similar that can be checked in varnish and apply that TTL to the object.
That way varnish will have less overhead while banning objects because a big part of the objets will be removed sooner.
copied from https://github.com/CartoDB/Windshaft/issues/224

What do you think about this one @luisbosque?

Sorry, I'm not sure if I follow. What would be the difference between the TTL in this header and the one in Cache-Control?

IIRC the idea was to have fewer objects in Varnish, by making the invalidation process easier and more frequent.

Stale


Libssl.so.1.1 not found on ubuntu 22.04 LTS (bitswap-monitor-client)

If I download the current release and try to run it on Ubuntu 22.04 TLS I get
./bin/bitswap-monitor-client: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Fixed via #24 :)


Fix inventory generation for overrides

This change ensures that the ansible_user and related variables are able to be overriden on a node level. Default to nodeTemplate values if no node level values are provided.

/hold

recheck

recheck

recheck

Instead of having to set the user on each node's vars, why don't we just set it in the group vars for the NodeSet? If it's set on the node, then set it that nodes host vars.

We need to check it anyway right? Like, if a user overrides the ansible_user on just one of the nodes, we still need to check all of them, so we could do that in addition but we would still be doing an equal amount of work:
https://github.com/openstack-k8s-operators/dataplane-operator/blob/main/pkg/deployment/inventory.go#L187-L192
So probably in addition but not instead of?

/lgtm

should we unhold?


Implement the admin dashboard - platform settings - edit basic info view

Description
As part of this issue, we need to create the admin dashboard - platform settings - edit basic info view, which should closely match the provided mockup. This will provide the admins with a way to edit the basic information of the platform.
Tasks

Set up the basic React components as required.
Implement the layout and design of the admin dashboard - platform settings - edit basic info view, following the provided mockup.
Integrate the necessary components and assets to achieve the desired functionality and visual appearance.
Ensure responsiveness and compatibility across different devices and screen sizes.

Mockup: https://www.figma.com/file/nehm2ff8aR7NkPerg39fK9/ScholarX-V2-|-Wireframes?type=design&node-id=1974-3323&mode=design&t=zBGgiYyW1foSirHq-4

Note: You may want to mock the API refer to the API doc to see the relevant details.
Acceptance Criteria

The user interface closely resembles the provided mockup.
All required sections, elements, and content are present and displayed correctly.
The interface is responsive and works well on various devices and screen sizes.
The implementation follows best practices and coding standards.
Unit tests are written.

We won't be doing this.


285142290 Gazetter search for castle (Geoff)

Issue reported by GeoffJ at 2024-01-14 06:11:30 UTC
Time: 2024-01-14T06:10:09+00:00
Session ID: ce0ca2cf0866baec6201d0eb6eedb71d
Problem Page URL: /freecen2_places/search_names?locale=en&new_search=true
Previous Page URL: https://www.freecen.org.uk/freecen2_places/search_names_results?locale=en
Reported Issue:
If I enter Castle into the gazetteer with no other information I get the red message.
This has also been reported to me by another coordinator.
Geoff

I think this might possibly be related to the issues with Edinburgh Gazetteer entries (#1593) - I need to do further investigation.

@Geoffj-FUG this issue (which was related to #1583) has now been resolved, so closing.


Added background image for dark mode theme

Feature updated for issue #158

Also, can you please add HACKTOBERFEST-ACCEPTED label to this

@BRAVO68WEB can you check?


[vcpkg baseline][zeroc-ice] Add zeroc-ice:x64-windows-static-md=fail into the ci.baseline.txt file

Describe the pull request

What does your PR fix?
zeroc-ice:x64-windows-static-md install failed with following error on CI pipeline run:
error MSB6006: "slice2cpp.exe" exited with code -1073741515
I can't reproduce this issue in my side. In order to avoid affecting the CI test of other PRs, I add zeroc-ice:x64-windows-static-md=fail into the ci.baseline.txt file as a temporary workaround.
I will continue to investigate this issue until I can really fix it.

Put the failure item to baseline is a workaround, but the fix should be use the host tool to run the commands.

This is already in master from #28522.
@Cheney-W do you plan to fix the port on this PR or in a new PR?

OK, got it. Thank you! I will submit a new PR for fix this issue.
Duplicate of https://github.com/microsoft/vcpkg/pull/28522


Make video's for how to install apache2

Show how to download and the easyest way to make apache2 work.


Node Disconnection from bypassers when used as a template

The left side works as expected, but when I save this as a template, many of the effects nodes become disconnected from the bypassers, requiring a manual re-attachment for the bypasser to work again. At first, I put all the connections into a node collector, but then thinking that might be the issue, I hooked them right into the bypass repeater itself, which are connected to a "disable all fx" switches at the top, and then I also hooked them up so each effect can be bypassed/enabled individually.
All my reroutes are rerouteprimitive/pyssss versus native, as I read that disconnections can happen with the regular reroute.
When saved as a workflow, all is well - no issues. Only difference is that in the upper left, there's a connection point for an image, whereas in the full 'workflow" version, there's an Input LoadImage (The template version is designed to be chained, hence the difference).
Attached is the JSON from the Template if that helps.
AegisFlow_MaskFX_Template.json
input files:

As a text, I went ahead and un-bypassed all the previously bypassed nodes, but it still drops all but two of the connections when saved as a template. For now, I've replaced the bypassers with a note explaining the possible issue.

The latest workflow (with the bypassers removed)
AegisFlow_MaskFX_Template_bypassers_removed.json

It seems as if this is somehow fixed?

Any idea how that happened? was it in an update I just missed?

Ah, this was probably fixed with https://github.com/rgthree/rgthree-comfy/commit/84cb989ca368e7482fc2c226a651e05c6ac4ab06 (and #76 probably could have been marked a duplicate).
Glad its working now!


iOS10 Call history analysis

I've had requests for assistance in analysing the call history data from iOS10 backups. I have no iOS10 devices to play with at present, so I cannot help at this time. Please chime in if you have knowledge/ suggestions on how the data is organised.
Unless someone can demonstrate a clear difference between the files on the iOS10 device and the backup recovered by InflatableDonkey (either via jailbreak or even another backup tool) I'm going to assume it's a purely analytical/ digital forensics issue. I need tangible evidence before labelling the issue as a bug.

Additional information regarding this issue: https://github.com/horrorho/InflatableDonkey/issues/48#issuecomment-269528799


Set textSize

Hi, how can i change toggle switch text size?

Hi tux-world,
you can use the property android:textSize as pointed out in the README file.

@FRizzonelli  ok, please let me to test that, Thanks


Add option for not overriding stderr of child process

I need to run pppd as child process. PPPD use stderr to write errors. If these errors gets intermixed with ppp stdout, I will receive trash (instead of ppp packets) from master socket. So, If stderr of child process will not be touched (inherited from parent) -- it will solve that weird problem.

the entire point of pty.js is to use a pty... why are you using pty.js instead of http://nodejs.org/api/process.html ?

PPPd requires terminal on it's stdin/stdout. And not require that stderr also be terminal. AFAIK, process API in nodejs does not provide option to allocate terminal.

pty's have no stdout or stderr. They're just one bidirectional pipe fd. What you're asking is impossible. The pty fd doesn't point to a process. It points to a terminal containing a foreground process, so you lose the ability to have an stderr.

No, you not understand right.
In current situation, when process is run, opened /dev/pts/xxxx id duplicated (dup2()) to stdin,stdou and stderr of child process. This is OK for running shell (like bash) and not OK for running pppd.
It will be nice if you can make an option to not overriding stderr of child process. In that case, stderr of child process should point to same file descriptor as in parent process.
Please reopen.


[swift-3.0-branch] Eliminating integer overflow in Version

Explanation: Removing integer overflow
Scope of Issue: Fixing the existing issue
Origination: Previous code assumed positive hashCode values
Risk: Minimal
Reviewed By: Dmitri Gribenko
Testing: Running the test suite
Directions for QA: N/A

rdar://problem/28266819

@swift-ci Please test

LGTM


feat(app)!: change app subscription process

Description
an inactive subscription now won't be activated, instead a new subscription will be created
the following endpoints have been changed from appId to subscriptionId:
/api/apps/supscription/{subscriptiondId}/activate
/api/apps/{subscriptionId}/unsubscribe
Why
Since the subscription is linked to a technical user and an app instance we don't want to reactivate an inactive subscription. Instead we want to create a new one.
Issue
N/A - Jira Issue: CPLP-2911
Checklist

[x] I have followed the contributing guidelines
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[x] I have added tests that prove my changes work
[x] I have checked that new and existing tests pass locally with my changes
[x] I have commented my code, particularly in hard-to-understand areas

We need to clarify whether to remove the 'obsolete'-annotations on the updated endpoints (and code being referenced)


Locale option broken by 2.0 update

Since the 2.0 update (2.0.0.rbeta.5.ge42eb87-1 via lemonbuddy-git on AUR), the locale option seems to be broken because the date module is still in english.
Tried locale = fr_FR.UTF-8 which worked before the update.
I can send you my full config file if needed.
Awesome soft btw.

Thanks for reporting it.. Should be fixed now

dis-moi si tu trouves d'autres choses qui ne marches plus stp... :)


Statoscope plugin fails in childCompilation for workbox-webpack-plugin.InjectManifest

Describe the bug
try to use statoscope for workbox-webpack-plugin.InjectManifest and it doesn't work
most of the problems in workbox-webpack-plugin.InjectManifest are related to plugin problems in childComplilation - maybe this also applies to the plugin
To Reproduce
Steps to reproduce the behavior:

Add workbox-webpack-plugin.InjectManifest plugin into a webpack config

plugins: [
        new InjectManifest({
            swSrc: './src/sw.js',
            swDest: 'sw.js',
            webpackCompilationPlugins:
                [
                      new StatoscopeWebpackPlugin({
                          name: 'SW',
                          saveTo: path.resolve(`./dist/sw-statoscope.html`),
                          open: 'file',
                      }),
                  ]
        }),

start webpack to build
See the absense of a statoscope's report

Expected behavior
Expected to see a report for service worker
https://developers.google.com/web/tools/workbox/reference-docs/latest/module-workbox-webpack-plugin.InjectManifest
Versions:

Node (for non-browser bug): 16.0.0
Statoscope: ^4.1.2

Hello.
I had tried to use this:
new InjectManifest({
            swSrc: './src/sw/sw.js',
            swDest: 'sw.js',
            webpackCompilationPlugins:
                [
                      new StatoscopeWebpackPlugin({
                          name: 'SW',
                          saveTo: path.resolve(`./dist/sw-statoscope.html`),
                          open: 'file',
                      }),
                  ]
        }),

Then npm run build
And there is no problem. HTML report with two compilations was successfully generated.

Please, ensure that child compilations are not hidden

I'm sorry - I constantly forget about this option and this is not immediately visible in the report

@budarin Please note that Statoscope is 5.4.1 now ;)
Consider updating for more features (stats validation on CI, gzip-sizes, packages version) ☺

thanks !


Build Failure seen for<EMAIL_ADDRESS>in Spack environment when using with<EMAIL_ADDRESS>

I am observing build failure when building the<EMAIL_ADDRESS>from the sources in the spack environment. I have root caused it to<EMAIL_ADDRESS>. the latest version of the cmake being used the spack:develop branch is the<EMAIL_ADDRESS>. The<EMAIL_ADDRESS>or<EMAIL_ADDRESS>is able to build succesfully when used with<EMAIL_ADDRESS>.
seeing something as below for 4.3.1,
[ 21%] Building CXX object amd_openvx/openvx/CMakeFiles/openvx.dir/api/vx_nodes.cpp.o
179    cd /tmp/root/spack-stage/spack-stage-mivisionx-4.3.1-omykae7rhuwtoyhec46hmkpypwy37whq/spack-build-omykae7/amd_ope
nvx/openvx && /spack/lib/spack/env/gcc/g++ -DCL_TARGET_OPENCL_VERSION=220 -DENABLE_HIP=0 -DENABLE_OPENCL=1 -Dopen
vx_EXPORTS -I/tmp/root/spack-stage/spack-stage-mivisionx-4.3.1-omykae7rhuwtoyhec46hmkpypwy37whq/spack-src/amd_ope
nvx/openvx/include -I/tmp/root/spack-stage/spack-stage-mivisionx-4.3.1-omykae7rhuwtoyhec46hmkpypwy37whq/spack-src
/amd_openvx/openvx/ago -I/tmp/root/spack-stage/spack-stage-mivisionx-4.3.1-omykae7rhuwtoyhec46hmkpypwy37whq/spack
-src/amd_openvx/openvx/api -I/spack/opt/spack/linux-centos7-skylake_avx512/gcc-7.3.1/rocm-opencl-4.3.1-uzvzdnko7g
hztnerj3b3syapxhawregv/include -I/spack/opt/spack/linux-centos7-skylake_avx512/gcc-7.3.1/rocm-opencl-4.3.1-uzvzdn
ko7ghztnerj3b3syapxhawregv/include/Headers -I/spack/opt/spack/linux-centos7-skylake_avx512/gcc-7.3.1/protobuf-3.1
8.0-qjdkaluiywaug63k2joowgmkkqo2kxz3/include -O3 -s -msse4.2 -std=c++14 -msse4.2 -std=c++11 -O3 -DNDEBUG -fPIC -M
D -MT amd_openvx/openvx/CMakeFiles/openvx.dir/api/vx_nodes.cpp.o -MF CMakeFiles/openvx.dir/api/vx_nodes.cpp.o.d -
o CMakeFiles/openvx.dir/api/vx_nodes.cpp.o -c /tmp/root/spack-stage/spack-stage-mivisionx-4.3.1-omykae7rhuwtoyhec
46hmkpypwy37whq/spack-src/amd_openvx/openvx/api/vx_nodes.cpp
180    /tmp/root/spack-stage/spack-stage-mivisionx-4.3.1-omykae7rhuwtoyhec46hmkpypwy37whq/spack-src/amd_openvx/openvx/ag
o/ago_util_opencl.cpp: In function 'int agoGpuOclSetKernelArgs(cl_kernel, vx_uint32&, AgoData*, bool, vx_uint32,
vx_uint32)':

181    /tmp/root/spack-stage/spack-stage-mivisionx-4.3.1-omykae7rhuwtoyhec46hmkpypwy37whq/spack-src/amd_openvx/openvx/ag
o/ago_util_opencl.cpp:730:23: error: 'union cl_int2' has no member named 's0'; did you mean 's'?
182                     value.s0 = data->u.thr.threshold_lower.S16;
183                           ^~
184                           s
185    /tmp/root/spack-stage/spack-stage-mivisionx-4.3.1-omykae7rhuwtoyhec46hmkpypwy37whq/spack-src/amd_openvx/openvx/ag
o/ago_util_opencl.cpp:731:23: error: 'union cl_int2' has no member named 's1'; did you mean 's'?
186                     value.s1 = data->u.thr.threshold_upper.S16;
187                           ^~
188                           s
189    /tmp/root/spack-stage/spack-stage-mivisionx-4.3.1-omykae7rhuwtoyhec46hmkpypwy37whq/spack-src/amd_openvx/openvx/ag
o/ago_util_opencl.cpp:741:23: error: 'union cl_uint2' has no member named 's0'; did you mean 's'?
190                     value.s0 = data->u.thr.threshold_lower.U8;
191                           ^~
192                           s
mivisionx_failed.log

@srekolam can you try TOT master with cmake 3.22.X ?

@kiritigowda  usually we use the sources from the release and build. If you have a commit-id that fixes the issue, i can use that as a patch for 4.5.0 or 4.5.2 release. Let me know if that works ? Otherwise, i can re-test it for 5.0 release once the sources are tagged.

@srekolam the TOT master and the 5.0 release branch have added the support for cmake 3.22.X. Please verify and let us know.

@srekolam any updates on this issue? Is this fixed with TOT?

I am currently updating the rocm recipes for 5.0.0 release. I will keep you updated once i have verified the same. or if you have commitid i can verify it on the existing release too

i just verified that the issue is resolved when using cmake-3.22.2 for mivisionx for rocm-5.0.0 release. Thanks for looking into it and providing the fix. i will be upstreaming the recipe updates soon.


Suggestion to have a setting for up and down arrows for trades instead of arcs (circles)

Hey C451,
The trades in arc/circle format are sometimes hard to see on the chart. Would be great to have a setting to show up/down arrows instead of the circles for the trades.
Warm Regards,
Sudeep

Yep, an alternative overlay should be in the community library.


Firefox does not respect addEventListener calls made with EventTarget of a detached realm

We extract all of the natives we need to operate Snow from within an iframe that is immediately detached from DOM to prevent attackers from accessing the natives' realm and abusing it.
Apparently in Firefox, if a call to addEventListener is made and that addEventListener originated in a detached realm, Firefox ignores it (even if the function is called on an object of another realm that is correctly attached and live).
Possible solution:

Instead of detaching the assisting iframe, hide it in a ShadowDOM.
make a unique non-changeable copy of specifically addEventListener from the top main realm instead of the detached iframe.

Fixed (hopefully properly) with #62


outline focus (highlight) should reflect position of current selected cell

a sample notebook:
# header 1
	cell 1
	cell 2
## header 1.1
	cell 3
	cell 4
# header 2
	cell 5
	cell 6

current behavior is:

click header 1 in outline, header 1 is highlighted, the editor goes to show header 1
scroll in notebook to select cell 5 (header 1 section is now invisible)
in outline view, header 1 is still highlighted, but header 2 is expected to be highlighted, as we are currently under section header 2

expected behavior is:

if only one cell is selected (or edited): the focus of outline should automatically select the corresponding header, e.g.

select cell 1 - highlight header1
select cell 3 - highlight header 1.1
select cell 6 - highlight header 2

if multiple cells are selected: (no highlight is fine)

I see this when notebook.outline.showCodeCells is disabled, not sure if we are intending to find the parent and focus it or not

@yuuuxt Do you have 'Follow Cursor' enabled?

No I didn't;
Now I ticked it, but it doesn't have the expected behavior - the highlight item in outline doesn't follow my selection.

How do you evaluate the priority of this feature?  Currently user cannot find what section they are currently are if they just scroll to browse - As I mentioned, "follow cursor" is very limited.

Seems it's of low priority. Workarounds are (both need "follow cursor"):

turn notebook - outline - show code cells on, then every cell appears in outline. It looks cumbersome, but at least shows current cell position;
quickly add a markdown cell and then delete (in edit mode: amdd / bmdd) to let the outline jump to the next header/markdown cell. It keeps outline cleaner, but notice that the selected header is the next header.

Thank you for filing this issue, given the fact that we haven't had sufficient upvotes on this issue I'm closing this as not planned.


Convert scripts to import Sentec data from matlab to python.

Potentially using ChatGPT?
Consider whether this is allowed in terms of privacy/data protection, etc.

see bb2dataread_R1.m and exiting Draeger parser