Generate react-apollo components from operations in .tsx files

I'd like to colocate my GraphQL operations with my React components.  So instead of defining a query in a corresponding .graphql file, I would like to use graphql-tag to define the same query within a .tsx file instead.
I receive the following error
  ✖ src/generated/graphql.tsx
    SyntaxError: Unexpected token (1:1)

Using this config:
overwrite: true
schema: 'http://localhost:3000/graphql'
documents: '**/*.tsx'
generates:
  src/generated/graphql.tsx:
    plugins:
       - add: "/**\n * THIS IS A GENERATED FILE, DO NOT MODIFY DIRECTLY\n */\n"
      - 'typescript'
      - 'typescript-operations'
      - 'typescript-react-apollo'

@DAB0mB , can you please take a look? I think it's related to graphql-tag-pluck.

I can't reproduce it and I'm not sure I even understand what your'e trying to do. So basically I setup the same config as you showed and I created the following .tsx files with a React.Component a a GraphQL document:
const messagesQuery = gql `
  query GetMessages {
    messages {
      ...Message
    }
  }
  ${fragments.message}
`

const MessagesList = () => {
  const { data: { messages } } = useGetMessages()

  // ...
}

export default MessagesList

This is not the first time we do that, we also do it with the WhatsApp-Clone. I would need you to elaborate please or write a code snippet that reproduces the issue.

Also, @JAFong , please let us know where do you import gql from, and which version of the codegen do you use.

@JAFong I'm closing, please re-open if you're still having issues.


Windows Terminal hangs when resizing the window with large historySize

Since yesterday's update (0.10.761.0) I can no longer resize the Windows Terminal window if historySize is set to about 33'000 or higher. Instead of resizing the window, the app just hangs and has to be killed.

Please search before filing new issues.
/dupe #4972 #4978 #2815 #5016


Running cells in quick succession doesn't behave as expected

Version: 1.60.0-insider (user setup)
Commit: a4eb4d688477fb9f2176bb2ed932b0b1726caed3
Date: 2021-08-05T21:34:13.867Z (2 hrs ago)
Electron: 13.1.7
Chrome: 91.0.4472.124
Node.js: 14.16.0
V8: 9.1.269.36-electron.0
OS: Windows_NT x64 10.0.22000

Take a script that looks like this:

#%%
a = 1

#%%
b = a + 1

#%%
a = a + 1

Click Run Below 3 times in quick succession
Inspect the value of a.

Actual

Expected
'a' should be 2, right?
The reason this is the case can be seen in the execution history of the Interactive window:

I would have expected the history to show 3 consecutive copies of the 3 cells in the script running. Rather than each cell being run 3 times in a row.
This may seem contrived, but I ran into it by accident and I suspect that real situations could arise where things get goofed up and the user doesn't realize it.

Moving to triage, as i think this is a important and golden scenario issue. (basically pretty serious bug)

Try to repro. May be fixed

Still repros but only on first open. If the window is already open, then it behaves as expected.

Also you have to click the link 3 times. If you click it once it works fine.

I can repro all the time.

Verification is pretty easy here. Just create a .py file with a few cell markers defined. In each cell just do a small timing loop to burn a second or two of time. Then trigger something like Run Below from the top code lens twice. In the old code you would get Cell A, Cell A, Cell B, Cell B, Cell C, Cell C. Now we get each command handled in order, so Cell A, Cell B, Cell C, Cell A, Cell B, Cell C.

/verified


default.nix: ensure venv is created relative to default.nix, not cwd

uninteresting to non-nixers

Interesting travis is failing for this - it must also be failing for our master.

That seems to have fixed it


Fix raven:test NoMethodError: undefined method id for Hash error

When running rake raven:test, the task exits with NoMethodError: undefined method id for #Hash:... error. This is because Raven.capture_exception(e) returns a hash representation of Raven:Event, so event.id leads to an error. This PR checks whether the returned event is a Hash, and if so, retrieves the id from it.

Ack! Need to improve our test coverage here too if that passed anyway.

I've added specs for CLI (which is largely copied from integration_spec.rb) that would have caught that error. Hope this helps!

Awesome! Should get a release for this out.


Update archiving-metrics.md

🚀 Deployed on https://63d879a5478acf15ef8dddcb--cozy-fox-0defec.netlify.app


Netcore dependecy managament

For Netcore 1.x (and maybe 2.x) it is possible to properly handle dependencies (not sure if it is involved with the current fail when loading.
Current error:
The type 'Console' exists in both 'System.Console, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'
...
"Microsoft.Extensions.DependencyModel": "2.1.0",
...

using Microsoft.Extensions.DependencyModel;
using Microsoft.Extensions.DependencyModel.Resolution;

        internal sealed class AssemblyResolver : IDisposable
        {
            private ICompilationAssemblyResolver assemblyResolver;
            private DependencyContext dependencyContext;
            private AssemblyLoadContext loadContext;

            public AssemblyResolver(MemoryStream stream)
            {
                this.Assembly = AssemblyLoadContext.Default.LoadFromStream(stream);
                this.Dependency(Environment.GetEnvironmentVariable("LOADER_SCRIPT_PATH"));
            }

            public AssemblyResolver(AssemblyName assemblyName)
            {
                this.Assembly = AssemblyLoadContext.Default.LoadFromAssemblyName(assemblyName);
                this.Dependency(Environment.GetEnvironmentVariable("LOADER_SCRIPT_PATH"));
            }

            public AssemblyResolver(string path)
            {
                this.Assembly = AssemblyLoadContext.Default.LoadFromAssemblyPath(path);
                this.Dependency(path);
            }

            public Assembly Assembly { get; }

            public void Dispose()
            {
                this.loadContext.Resolving -= this.OnResolving;
            }

            private void Dependency(string path)
            {
                this.dependencyContext = DependencyContext.Load(this.Assembly);

                this.assemblyResolver = new CompositeCompilationAssemblyResolver(new ICompilationAssemblyResolver[]
                {
                    new AppBaseCompilationAssemblyResolver(Path.GetDirectoryName(path)),
                    new ReferenceAssemblyPathResolver(),
                    new PackageCompilationAssemblyResolver()
                });

                this.loadContext = AssemblyLoadContext.GetLoadContext(this.Assembly);
                this.loadContext.Resolving += OnResolving;
            }

            private Assembly OnResolving(AssemblyLoadContext context, AssemblyName name)
            {
                RuntimeLibrary library = this.dependencyContext.RuntimeLibraries.FirstOrDefault(runtime =>
                    string.Equals(runtime.Name, name.Name, StringComparison.OrdinalIgnoreCase));

                if (library != null)
                {
                    var wrapper = new CompilationLibrary(
                        library.Type,
                        library.Name,
                        library.Version,
                        library.Hash,
                        library.RuntimeAssemblyGroups.SelectMany(g => g.AssetPaths),
                        library.Dependencies,
                        library.Serviceable);

                    var assemblies = new List<string>();
                    this.assemblyResolver.TryResolveAssemblyPaths(wrapper, assemblies);
                    if (assemblies.Count > 0)
                    {
                        return this.loadContext.LoadFromAssemblyPath(assemblies[0]);
                    }
                }

                return null;
            }
        }

Solved with: https://github.com/metacall/core/commit/dba6de5f1665b7ccb9b3feea84d618aa5ba63a1c
And additional test bug solved too: https://github.com/metacall/core/commit/b64393fe388966ddfe5009def5503c7fa2407227


binary_sensor._asleep

Is your feature request related to a problem? Please describe.
I'm unable to determine if car is disconnected (poor signal, service outage) vs asleep
Describe the solution you'd like
A binary sensor to indicate if the car is asleep
Describe alternatives you've considered

An attribute to the online sensor that shows state: asleep (this is what v2.* of the tesla integration had). The attribute worked, but having a dedicated binary sensor is much more useful given how often/common it is for the car to be asleep vs offline.
Change the online binary_sensor to a regular sensor and publish the different states. this would be too disruptive to change an existing sensor.

Additional context
I'm happy to make a PR (here and in teslajsonpy) to add the asleep binary sensor, but I wanted to started a conversation first to see if we feel that's the best approach.

@shred86 any thoughts since you were the one to change it?
I'm ok with an added attribute although the HA philosophy was to move away from attributes and move to straight sensors. I believe the philosophy is that anything someone may want to access directly or have history of, should be it's own sensor.
Breaking changes are highly disruptive so the preference is to avoid them unless there's a strong justification. That would mean we should lean to keeping existing sensors functional and adding others. Of course, that may mean we end up with tons of sensors so that's another countervailing issue to consider.

thanks @alandtse that's what I was feeling as well, which is why my main solution/suggestion was to add a new sensor for it. Apologies if I didn't format the request well.

Oh sorry. Most people aren't using the template so I forgot that the alternatives section existed and I just answered without thinking. Yes, I'm fine with a binary sensor PR.


Lint broken

PR are failing lint due to a bug which looks unrelated to the PR.  Example
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.8.12/x64/bin/pylint", line 8, in <module>
    sys.exit(run_pylint())
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pylint/__init__.py", line 22, in run_pylint
    PylintRun(argv or sys.argv[1:])
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pylint/lint/run.py", line 358, in __init__
    linter.check(args)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 108[7](https://github.com/quantumlib/Cirq/runs/6516853850?check_suite_focus=true#step:6:8), in check
    check_parallel(
  File "/opt/hostedtoolcache/Python/3.[8](https://github.com/quantumlib/Cirq/runs/6516853850?check_suite_focus=true#step:6:9).12/x64/lib/python3.8/site-packages/pylint/lint/parallel.py", line 148, in check_parallel
    jobs, initializer=initializer, initargs=[dill.dumps(linter)]
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/dill/_dill.py", line 364, in dumps
    dump(obj, file, protocol, byref, fmode, recurse, **kwds)#, strictio)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/dill/_dill.py", line 336, in dump
    Pickler(file, protocol, **_kwds).dump(obj)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/dill/_dill.py", line 620, in dump
    StockPickler.dump(self, obj)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line 487, in dump
    self.save(obj)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line 603, in save
    self.save_reduce(obj=obj, *rv)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line 717, in save_reduce
    save(state)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line 560, in save
    f(self, obj)  # Call unbound method with explicit self
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/dill/_dill.py", line 1251, in save_module_dict
    StockPickler.save_dict(pickler, obj)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line [9](https://github.com/quantumlib/Cirq/runs/6516853850?check_suite_focus=true#step:6:10)71, in save_dict
    self._batch_setitems(obj.items())
  File "/opt/hostedtoolcache/Python/3.8.[12](https://github.com/quantumlib/Cirq/runs/6516853850?check_suite_focus=true#step:6:13)/x64/lib/python3.8/pickle.py", line 997, in _batch_setitems
    save(v)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line 603, in save
    self.save_reduce(obj=obj, *rv)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line 7[17](https://github.com/quantumlib/Cirq/runs/6516853850?check_suite_focus=true#step:6:18), in save_reduce
    save(state)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line 560, in save
    f(self, obj)  # Call unbound method with explicit self
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/dill/_dill.py", line 1[25](https://github.com/quantumlib/Cirq/runs/6516853850?check_suite_focus=true#step:6:26)1, in save_module_dict
    StockPickler.save_dict(pickler, obj)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line 971, in save_dict
    self._batch_setitems(obj.items())
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line 997, in _batch_setitems
    save(v)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line 560, in save
    f(self, obj)  # Call unbound method with explicit self
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/dill/_dill.py", line 1251, in save_module_dict
    StockPickler.save_dict(pickler, obj)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line 971, in save_dict
    self._batch_setitems(obj.items())
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line 997, in _batch_setitems
    save(v)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line 603, in save
    self.save_reduce(obj=obj, *rv)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line 687, in save_reduce
    save(cls)
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/pickle.py", line 560, in save
    f(self, obj)  # Call unbound method with explicit self
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/dill/_dill.py", line 1791, in save_type
    defaults = [obj._field_defaults[field] for field in obj._fields]
  File "/opt/hostedtoolcache/Python/3.8.12/x[64](https://github.com/quantumlib/Cirq/runs/6516853850?check_suite_focus=true#step:6:65)/lib/python3.8/site-packages/dill/_dill.py", line 1791, in <listcomp>
    defaults = [obj._field_defaults[field] for field in obj._fields]
KeyError: 'color'
Error: Process completed with exit code 1.

Dill just got upgraded so my guess is that is the problem.

Confirmed that bumping dill back fixes lint.

But now notebook tests fail.  joy.

There was a notebook that used cirq --pre but was not in the excluded list. I've added it there which fixes things. Need to investigate why that got through CI


[Feature Request]: Get an user by ID without a Team or a Conversation Reference

Scenario
The primary use case is background processes that need to notify users when some events happen. Currently developers are forced - when the bot starts or whenever possible, to loop through a bunch of teams to save the IDs of the potential people we want to contact, but it's brittle and annoying.
Solution
An API to get user reference without having needing a Team ID reference or a conversation reference
Additional Context
I know this might not be the right repository - but I have been advised by another Microsoft Employee to post it here :)

Can you provide more information and context about what your request is? What does the current code look like? Is this in a chat or a channel? What is the user scenario here; why do they need a bot collecting IDs? Who recommended you post here? Perhaps they can provide more context?


StackList::export does not exist anymore

See https://github.com/concrete5/concrete5/blob/75e5da3317b8700459265e0ff56f4a22f49bb957/concrete/src/Backup/ContentExporter.php#L139

Now marked as deprecated, with instructions on how to use the migration tool instead.


FIX test-suite.yml for CI failing when disabling tokenization

Pull Request
Added New run command for Run cargo tree without default features and check lindera is not present
Related issue
Fixes #3991
What does this PR do?

fixes CI failing when disabling tokenization by adding if-then block for Run cargo tree without default features and check lindera is not present in .github/workflows/test-suite.yml

PR checklist
Please check if your PR fulfills the following requirements:

[x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Hey @curquiza, It would be great if you could review my pr and provide your valuable feedback.

Hey @harshau007 👋
Would it be possible to display a message when the Lindera library is found and shouldn't instead of the other way around, please? The main goal of this CI is to report when the lindera crate is found but mustn't, as we disabled most of the tokenization feature (with --no-default-features).

Hey @Kerollmops, made the changes you asked for CI will display message lindera is present only if its installed or else it will continue with further steps

bors merge

bors merge-

Merging by hand, looks like we have a crash with bors...

I think it's due to the permission when I read this discussion. But we already have write & read permission access on this repo 🤷♀


[Feature Request] Account::deposit(address, token) should auto create account

Feature Request
Describe the Feature Request
if We call Account::deposit(address, token) in a module, and the account of address do not exist, will raise an error with code: 27141
{
    "category_code": 5,
    "category_name": "NOT_PUBLISHED",
    "reason_code": 106,
    "reason_name": "ERR_TOKEN_NOT_ACCEPT"
  }

The account creates at the script:
    public(script) fun peer_to_peer_v2<TokenType: store>(account: signer, payee: address, amount: u128) {
        if (!Account::exists_at(payee)) {
            Account::create_account_with_address<TokenType>(payee);
        };
        Account::pay_from<TokenType>(&account, payee, amount)
    }

Describe Preferred Solution

Auto-create the account if the account does not exist when call Account::deposit
Describe Alternatives

Related Code

Additional Context

If the feature request is approved, would you be willing to submit a PR?
Yes / No (Help can be provided if you need assistance submitting a PR)

I can try to get it done


Fix url of Contributing.md

https://github.com/edgexfoundry-holding/rfid-llrp-inventory-service/pull/20#discussion_r630408917

@ajcasagrande , DTO verify is failing due to the commit not signed off

@lenny-intel fixed


Unable to use it in a unittest.TestCase

Was trying to use this in my test cases. I normally use the Class based approach with unittest.TestCase and was not able to get it to work.
Example:
class ExampleTest(unittest.TestCase):

    @pytest.mark.usefixtures("spark_session")
    def test_create_df(self, spark_session):
        df = spark_session.createDataFrame([
            [1, 1, 1],
            [1, 2, 1],
            [1, 2, 4]
        ], columns=['x', 'y', 'z'])

I can see that pyspark recognized the plugin, the spark session has been created but it fails with:
TypeError: test_create_df() missing 1 required positional argument: 'spark_session'

This plugin (pytest-spark) is specifically for usage with pytest framework and is dependent on its features.
Please, check the note section in the end of this page:

While pytest supports receiving fixtures via test function arguments for non-unittest test methods, unittest.TestCase methods cannot directly receive fixture function arguments as implementing that is likely to inflict on the ability to run general unittest.TestCase test suites.
...

For your case, you can consider using my other plugin for the nose2: nose2-spark


support for test-without-building, build-for-testing

this one adds support for test-without-building using derived data path
#Build For Testing
scan(derived_data_path: "my_folder", build_for_testing: true)
# run tests using derived data from prev. build
scan(derived_data_path: "my_folder", test_without_building: true)
# or run it from an existing xctestrun package
scan(xctestrun: "/path/to/mytests.xctestrun")

related issues:

https://github.com/fastlane/fastlane/issues/7086

+1

Thanks for the PR. This would also require some mentioning in the documentation

+1

@hjanuschka @KrauseFx what documentation is needed and where?

Really keen to start using this. Can I help?

@KrauseFx  can you help me here, where should i add some documentation for it?

I'm willing to help in someway @hjanuschka , but I've no clue how to checkout out the pr and build it.
What needs to happen for this to be approved @mfurtak , there seems to be some mention of the documentation and where changes should be made @KrauseFx

You can run it as described below:
Option 1
get this script into your project folder,
https://gist.github.com/hjanuschka/3040fc6f371f46acff72a5e67f649b27
This requires you to push changes first to github and then call try_pr.sh again,
but its an easy way to try out PR's
cd /path/to/your/project/
# this only has to be done once.
curl -o try_pr.sh https://gist.githubusercontent.com/hjanuschka/3040fc6f371f46acff72a5e67f649b27/raw/9600a34188949061a96f77c82505efd99ad6f5e4/try_pr.sh
chmod a+x  try_pr.sh

# then call it with (which in this case should show the help screen of your supply):
./try_pr.sh hjanuschka  testing_scan fastlane your_lane

Option 2
Totally local.:
cd /path/to/your/fastlane-clone/
# ensure your branch is checked out
export FASTLANE_LOCAL_DEV=1
bundle update # only once
bundle install #only once
bundle exec fastlane

just to be sure, unsupported, unofficial, use at your own risk! - and review the shell script before you run it.

Thanks I will take a look.
What does the other pull request do, it looks like the same as this?

@Jules2010 one PR adds the test-without-building/build-for-testing to scan and the other for snapshot

Could someone please clarify what needs to happen for this to go in. @mfurtak @KrauseFx  ?

@samskiter - I think that the issue is that we are not seeing any speed improvements to testing times by doing this.

@ohwutup over multiple devices ?

@Jules2010, so I'm not so familiar with the new feature in xcodebuild tbh. But I don't believe that should matter given the fact that running it on the same machine in multiple simulators showed no speed improvements at all. In fact, the runs were slightly slower. See this thread for reference: https://github.com/fastlane/fastlane/pull/7131#issuecomment-262290506

@ohwutup I'm confused I thought the idea was that it built once then used that build without the other simulators and this lack of subsequent build time was the saving. Maybe I've misunderstood.

@Jules2010 we were equally confused 🤔 haha. We thought the same thing as you but as we put it through testing we didn't notice any improvements in speed.

I would love to see build-for-testing & test-without-building integrated with scan – I'm currently using xcodebuild but I miss some scan features like jUnit reports. Although the discussion here is related to snapshot, I can see many other use cases like testing different OS versions, locales and screen sizes.
This is my current setup:

I'm running xcodebuild with build-for-testing in build step, them uploading results to a cloud storage. In test steps, I download results from previous step and run xcodebuild with test-without-building.
Please let me know if there is anything I can do to help.

@fsaragoca we didn't notice any time savings when running tests on simulators, in fact it got a bit longer. Are you noticing speed enhancements? https://github.com/fastlane/fastlane/pull/7131#issuecomment-262290506

@fsaragoca Actually I think this PR is about scan.
The other (https://github.com/fastlane/fastlane/pull/7131) is about snapshot
Are others here getting the two mixed up?
I don't know why you would see speedup for snapshot. build-for-testing and test-without-building are about creating all the compiled binaries and object files (and a description of the tests to be run) and then being able to distribute those onto multiple machines to actually run.
I've previously done some tests with xcodebuild. On related compiles for testing, I remember seeing a speedup. It's been a while, but I will try to get some numbers tomorrow.
Regardless of being able to measure speedups or not - this is an interface onto xcodebuild that is currently missing from scan, so why hold up exposing it?

@ohwutup yes I am. Here is a comparison between xcodebuild and scan:
Test A:

Running xcodebuild & test-without-building
Derived data contains results from xcodebuild & build-without-testing

+------+----------------------------------------+-------------+
|                      fastlane summary                       |
+------+----------------------------------------+-------------+
| Step | Action                                 | Time (in s) |
+------+----------------------------------------+-------------+
| 1    | Verifying required fastlane version    | 0           |
| 2    | default_platform                       | 0           |
| 3    | setup_environment_variables            | 0           |
| 4    | Switch to ios prepare_for_testing lane | 0           |
| 5    | check_build_cache_workspace            | 0           |
| 6    | clear_derived_data                     | 0           |
| 7    | unarchive_derived_data                 | 1           |
| 8    | xcodebuild                             | 21          |
+------+----------------------------------------+-------------+

Test B:

Running scan
Derived data contains results from xcodebuild & build-without-testing

+------+----------------------------------------+-------------+
|                      fastlane summary                       |
+------+----------------------------------------+-------------+
| Step | Action                                 | Time (in s) |
+------+----------------------------------------+-------------+
| 1    | Verifying required fastlane version    | 0           |
| 2    | default_platform                       | 0           |
| 3    | setup_environment_variables            | 0           |
| 4    | Switch to ios prepare_for_testing lane | 0           |
| 5    | check_build_cache_workspace            | 0           |
| 6    | clear_derived_data                     | 0           |
| 7    | unarchive_derived_data                 | 1           |
| 8    | scan                                   | 281         |
+------+----------------------------------------+-------------+

Test C:

Running scan
Derived data contains results from previous scan build

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | setup_environment_variables         | 0           |
| 4    | scan                                | 37          |
+------+-------------------------------------+-------------+

Summary for scan:
+-----------------------+----------------------------------+
|                 Summary for scan 0.14.2                  |
+-----------------------+----------------------------------+
| scheme                | Project Test                     |
| clean                 | false                            |
| skip_build            | true                             |
| sdk                   | iphonesimulator                  |
| derived_data_path     | fastlane/build_cache/DerivedData |
| workspace             | ./Project.xcworkspace            |
| code_coverage         | false                            |
| address_sanitizer     | false                            |
| output_directory      | ./fastlane/test_output           |
| output_types          | html,junit                       |
| buildlog_path         | ~/Library/Logs/scan              |
| open_report           | false                            |
| skip_slack            | false                            |
| slack_only_on_failure | false                            |
| use_clang_report_name | false                            |
| fail_build            | true                             |
| xcode_path            | /Applications/Xcode.app          |
+-----------------------+----------------------------------+

xcodebuild parameters:
xcodebuild(
  scheme: 'Project Test',
  destination: 'platform=iOS Simulator,name=iPhone 6,OS=10.2',
  derivedDataPath: ENV['BUILD_CACHE_DERIVED_DATA_PATH'],
  xcargs: '-sdk iphonesimulator test-without-building'
)

I also noticed that scan derived data is not reliable, sometimes nothing changes and it recompiles everything. xcodebuild + build-for-testing derived data can be cached and shared between different CI machines.

@samskiter yes, I agree with you

Thanks for all that info @fsaragoca! And you're definitely right @samskiter that we are not currently supporting the entire interface into xcodebuild. That being said, our goal with scan or any of our tools for that matter is not to be a direct interface into underlying tools, rather, to provide tools that meet the needs of common app development and deployment tasks and we need to be careful introducing new functionality and options so as to make sure if things change down the line we will not break people's configurations. Now, with that being said, I do think that it is worthwhile to support the test-without-building and build-for-testing options. It would be awesome if @hjanuschka and company could address the open feedback regarding passing the destination option that @samskiter mentioned and retesting in Xcode 8.2 and then we can work on getting it merged in.

Thanks for the reply. Just in the process of getting some testing metrics
together with the 'destination' set, to show the advantage you get
compiling for multiple targets (I.e. reusing .o files for the common
files). We have a small cluster of machines that a Jenkins instance can
control and we are hoping to see a big speedup by centralising 'compile' on
one fast machine and distributing 'run' to several slower machines.
To be clear, the speedup from this feature will only be seen when running
with multiple build agents.
On Wed, 21 Dec 2016, 16:39 David Ohayon<EMAIL_ADDRESS>wrote:

Thanks for all that info @fsaragoca https://github.com/fsaragoca! And
you're definitely right @samskiter https://github.com/samskiter that we
are not currently supporting the entire interface into xcodebuild. That
being said, our goal with scan or any of our tools for that matter is
not to be a direct interface into underlying tools, rather, to provide
tools that meet the needs of common app development and deployment tasks
and we need to be careful introducing new functionality and options so as
to make sure if things change down the line we will not break people's
configurations. Now, with that being said, I do think that it is
worthwhile to support the test-without-building and build-for-testing
options. It would be awesome if @hjanuschka
https://github.com/hjanuschka and company could address the open
feedback regarding passing the destination option that @samskiter
https://github.com/samskiter mentioned and retesting in Xcode 8.2 and
then we can work on getting it merged in.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fastlane/fastlane/pull/7130#issuecomment-268569902,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNnWwNg3UbafxqdA11I2G0m4pT0JQxnks5rKVY3gaJpZM4K5Wsl
.

Yes, but that's not the point right - you should test with the same device
you build for right?
On Wed, 21 Dec 2016, 18:25 Helmut Januschka<EMAIL_ADDRESS>wrote:

@hjanuschka commented on this pull request.
In scan/lib/scan/test_command_generator.rb
https://github.com/fastlane/fastlane/pull/7130:

@@ -31,8 +31,9 @@ def options

     options = []
     options += project_path_array

   options << "-sdk '#{config[:sdk]}'" if config[:sdk]

   options << destination # generated in `detect_values`

   options << "-sdk '#{config[:sdk]}'" if config[:sdk] && !config[:build_for_testing]

   options << destination unless config[:build_for_testing] # generated in `detect_values`

   options << "  -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO" if config[:build_for_testing]

@samskiter https://github.com/samskiter correct me if i am wrong but
during creating this PR - i discovered that once you set destination you
get troubles building for different architectures and ios versions.
so i it ended up to switch from -destination to -sdk iphonesimulator
ONLY_ACTIVE_ARCH=NO - found the note somewhere (i think in aws device
farm docs)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fastlane/fastlane/pull/7130, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNnW8gM609VOKl7JrGbzI5OvWYp2YBWks5rKW8qgaJpZM4K5Wsl
.

@samskiter, not sure I follow. Would you mind elaborating a bit? 😄

Sorry, github e-mail reply fail.

@samskiter  i think that was meant to be a codeline reply :)
you can specify multiple devices - like ['iPhone 6', 'iPad Air']  this would potentially be an ARCH problem - therefore build for iphonesimulator with all arch's. or am i totally wrong - at least what i saw during testing.

@hjanuschka So are you saying when you tried to specify multiple device in the build-for-test phase, it then didn't work with those same devices in the test-without-building phase?

@samskiter that what i ran into! - my first try was just to swap out "build"  for "build-for-testing"  - and it just didn't work. and especially if you wan't to build-for-testing, and later on copy those files to a remote machine, you can specify different devices/versions - as it is not bound to special arch.

Aren't you supposed to swap out "test" for "build-for-testing" ? Not sure if theres a difference in what you'd specify.

@hjanuschka I've looked into the multiple devices thing.
Firstly, AFAICT scan doesn't really support testing from multiple architectures - it only really supports simulators through the devices - you can pass destination to get it running on physical devices, but that's for 'pro' users AND you can't pass multiple destination arguments to scan. So I actually don't see how anyone would currently achieve creating a scan run that will be compiling for multiple architectures. My code signing is bust right now so I've been a bit limited in my testing.
I've also tried using xcodebuild directly with multiple devices (one simulator and real device) and found I could build-for-testing and then build-without-testing without any issues. For reference, using XCode 8.2 and the following commands:
set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace MyProject.xcworkspace -scheme MyProject -destination 'platform=iOS Simulator,id=<UDID>' -destination 'platform=iOS,id=<UDID>' -derivedDataPath 'derivedData' build-for-testing | tee '/Users/samskiter/Library/Logs/scan/MyProject-MyProject.log' | xcpretty

set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace MyProject.xcworkspace -scheme MyProject -destination 'platform=iOS Simulator,id=<UDID>' -destination 'platform=iOS,id=<UDID>' -derivedDataPath 'derivedData' test-without-building | tee '/Users/samskiter/Library/Logs/scan/MyProject-MyProject.log' | xcpretty

If you do have trouble with multiple architectures, that seems like a bug with xcodebuild. Forcing the multiple architecture compile will increase compile times, which is the exact opposite of what this is supposed to achieve. You should either specify the device up-front in the build-for-testing phase, or, if you really need to be able to compile for everything, I think it would be a better solution so add an option to scan to manually turn on multi-arch compile.
From my reading of the presentation I posted earlier, the point of build-for-testing isn't to allow you to be able to test on any device you might like sometime in the future, you should know ahead of time, what you will be running on and can build accordingly, then later run the test with exactly the same arguments.
Re: this MR - I've tested quite a bit on my fork (which just removes the ACTIVE_ARCH stuff) and found it works great :)

@samskiter  thank you for your detailed rexplanation.
is it ok for you if i just cherry-pick your 2 commits into this branch, or should we continue in a new PR directly from your branch?

@hjanuschka Yea, fine, really they are just reverting your change, but feel free to adjust this PR as needed

@samskiter

I think it would be a better solution so add an option to scan to manually turn on multi-arch compile.

Sounds good! 👍

@mfurtak i simplified the build mode detection and made it more exclusive.
also added a few specs to prevent regressions.

@ohwutup feedback addressed, i tried to avoid elsif - but its better not to change the config params.

@hjanuschka This PR needs to support the -xctestrun option. This option is especially helpful when the build is executed on one machine, packaged up and then transferred to another machine for the testing phase.
You can look at my PR (which was closed in favor of this one) as an example: https://github.com/fastlane/fastlane/pull/7728

@ileitch  ok just to check if i got it right.
build_for_testing is ok as it is in this PR.
and test_without_building should by default use the derived_data approach.
and i should add a option: xctestrun - where you can set a path to a xctestrun package, and if this is supplied it should be added to the test command?
i am happy to add this - if you wan't you also could do a PR against the testing_scan branch  on my fork adding this functionallity.

build_for_testing is ok as it is in this PR.
Correct.

and test_without_building should by default use the derived_data approach.
Correct.

and i should add a option: xctestrun - where you can set a path to a xctestrun package, and if this is supplied it should be added to the test command?
Correct.

-xctestrun implies test_without_building, so I'm not sure how you want to handle that from a Fastlane API perspective. Require both options be explicitly provided, or enable test_without_building if xctestrun is present?

@ileitch  see 41cc468 i added a option for that :xctestrun(-X) and a test for it, can you try this PR?
edited initial PR body and show how to use it.

Can this go yet?

many thx on all involved guys, this is a great example of team work!!!

Thanks @hjanuschka !


The values of Roles property in AuthorizeAttribute aren't trimmed

Hi.
Actually in the asp.net 5 (1.0.0-rc1-final) the values of the Roles property in Authorize attribute aren't trimmed before using it.
This lead to the situation where if for any reason you have this code:

[Authorize(Roles="user, admin")]
public class MyController : Controller
{
}

Users with the admin role will never be authorized because the role name will be evaluated to " admin" and not "admin".
I can work on a patch and submit it if you want.
Regards

Sure, if you want to submit a PR to fix this, that would be great :)

Hi.
PR submitted (#634)
Regards

a8ef4df32a6ce8f47da882d34685768dafbe7c8e


Add ur20 to possible values

Turns out, the ur20 seems to work fine. Closing #35

@Mergifyio backport humble

@Mergifyio backport iron


Respect time-limit configuration

Previously the time-limit option had no effect on the RPCQ server. Closes #124.
Some redundant/bad stuff has been removed.
Squashed commit msgs below

a time-limit of zero should correspond to no timeout, yet this code
leaves the default huchentoot timeout of 20s
in entry-point.lisp the conversion from milliseconds to seconds is
already performed, so (/ ... 1000) is unnecessary here

Specify time-limit in seconds rather than ms
And prevent negative values
Use configurable time-limit for rpcq server
Ooops - actually set time-limit

Make sure to update the manpage

Modulo what Robert said, this LGTM.


oracle database image size is huge

I created a database image using your scripts:
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
oracle/database     <IP_ADDRESS>-ee         8adc010e6d91        13 minutes ago      13.2GB
when I check size of files using bash in container: 5.9G
Is it possible to shrink the size of image? I.e. you can merge RUN commands in your script and remove files immediately after install to avoid producing to many layers.

Yes, you can use the --squash option to produce a smaller image, see: https://geraldonit.com/2017/11/13/how-to-create-small-docker-images/
If you look at the Dockerfile you will see that the RUN commands are pretty much already all merged.
The issue is simply with copying in a ZIP file and unzipping it.
Even unzipping and deleting the zip file within a single RUN instruction doesn't avoid the extra space being wasted, unfortunately.

@gvenzl Thanks, the --squash option provides a much leaner image:
$ docker images
REPOSITORY           TAG                 IMAGE ID            CREATED             SIZE
oracle/db-prebuilt   <IP_ADDRESS>-ee         801cde12e07c        6 minutes ago       9.5GB
oracle/database      <IP_ADDRESS>-ee         aad4e86f3d3b        23 minutes ago      5.05GB

However, as you can see the prebuilt image per the docs doesn't stay lean.
Do you have any recommendations for cutting down the size of the prebuilt image? I'm testing docker-squash as I'm writing this...

Update on squashing. the library I linked doesn't work, so I ended up using this instead:
result;
$ docker images
REPOSITORY           TAG                 IMAGE ID            CREATED             SIZE
oracle/db-prebuilt   12-squashed<PHONE_NUMBER>f6        15 minutes ago      9.01GB
oracle/db-prebuilt   <IP_ADDRESS>-ee         801cde12e07c        About an hour ago   9.5GB

So it saves a decent 1/2 GB, but 9GB still seems pretty chunky for a totally empty database...

Can we also perform the steps:
rm -rf $INSTALL_DIR && \
rm -rf $ORACLE_HOME/demo && \
rm -rf $ORACLE_HOME/jdbc && \
rm -rf $ORACLE_HOME/jlib && \
rm -rf $ORACLE_HOME/md && \
rm -rf $ORACLE_HOME/nls/demo && \
rm -rf $ORACLE_HOME/odbc && \
rm -rf $ORACLE_HOME/rdbms/jlib && \
rm -rf $ORACLE_HOME/rdbms/public && \
rm -rf $ORACLE_HOME/rdbms/demo && \
rm -rf $ORACLE_HOME/bin/rman && \

The procedure to remove components from the database remains the same.

@avindra The --squash option seems to work pretty good for me. I've just enabled the experimental docker daemon to use it:

$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
oracle/database     <IP_ADDRESS>-se2        213f7feb796b        53 seconds ago      6.25GB
<none>              <none>              da45af7947ce        2 minutes ago       13.2GB

Just note that @avindra image is bigger because he keeps a pre-built database inside the image as well (data files, etc). So he won't quite get to the 6GB :)

We have now also implemented multi-stage builds by default which makes using the --squash option redundant. I'll close the issue for now as I believe this to be answered. Please reopen if there are outstanding questions.

The image gets bigger because you have data files in the image now, which come with default sizes. If you want to have a smaller image but still with a pre-built database there is a great blog post on the Mobiliar Database Blog which shows you a couple of tricks to make some data files and tablespaces even smaller.

Hi @gvenzl. I'm actually trying to go through the instructions that Alain posted using 18c XE... with mixed success. I can't decrease the size of system01.dbf via alter database datafile because it claims that 357M has already been exceeded. Is there a way to overcome this?
Also, I can't re-create sysaux via his instructions because since in 18c the tables are no longer WRI$_OPTSTAT_... so I don't know which ones to move. Is it a simple matter of finding out which tables end with "HISTORY" and then what all of their indexes are?

I know this is old but I had this problem also and went with this approach which I describe here:
https://www.linkedin.com/posts/sian-o-briain-194a008a_docker-have-you-ever-had-this-problem-activity-6753399399659008000-s_PA
But basically you get rid of the copy instructions by serving up the installers/patches via a local http server (you can do this with one command via python)
That way you can download,extract and delete all in the one RUN instruction.
Hope it helps

p.s. obviously if you don't need credentials for downloading installers you could just download from a regular file repo (like artifactory) rather than serve them up locally

@salob Have a look at this post by Alain Fuhrer and the corresponding repo by @wemu. I managed to get down to a ~2.5GB image by using their approach with —squash.
https://mobiliardbblog.wordpress.com/2020/11/23/optimized-oracle-18c-xe-docker-image-available-on-github/


Lazy instantiation and proxy for issue #143

This is the implementation for the ProxyManager I made for using with Auryn\Injector.
I updated the readme, I'm not native english and I may have made some grammatical errors.
I preferred to add new class with an interface for wrapping the ProxyManager instead of injecting directly the class.
The new implementation is tested, I created a dedicated file for it.
Updated the composer.json to support PHP 7.2 >= and ProxyManager ~2.2.* (that is the last version for the 7.2)
Updated travis.yml to test with PHP 7.2|7.3|7.4|nightly and added some tweak
In future there are also PHPUnit that needs to be updated to the latest version and change athletic/athletic with phpbench/phpbench because athletic is no longer supported, for now they are still working fine.

@overclokk: I've thought a bit about possible implementations and have implemented my idea in #185, what do you think? It's a generic proxy approach there without a dependency on proxy-manager. I'm not sure whether the proxy callable should receive a callable acting as constructor or the actual constructor arguments.

@kelunik

I've thought a bit about possible implementations and have implemented my idea in #185, what do you think? It's a generic proxy approach there without a dependency on proxy-manager.

I like that idea, maybe I can add more generic approach on my implementation following yours, I have to think about it and do some test.
In your implementation the ::prepare()  method call the real object as soon as you call $injector->prepare()
Here part of the code to replicate the issue

class V8 implements Engine
{
	public $value = '';

    public function __construct()
    {
        print __METHOD__ . PHP_EOL;
    }

    public function turnOn()
    {
        print __METHOD__ . PHP_EOL;
    }
}

$injector = new Auryn\Injector;
$injector->alias(Engine::class, V8::class);
$injector->proxy(Car::class, $proxy(Car::class));
$injector->proxy(V8::class, $proxy(V8::class));
$injector->prepare( V8::class, function ( V8 $v8, \Auryn\Injector $injector ) {
	$v8->value = 42;
} );

@kelunik I implemented yours idea from #185 , I just simplified the closure, all tests passes and no more dependency from ProxyManager, what do you think?

@kelunik have you seen the code I made?

@overclokk: Not yet, was on holiday, but will probably have time in the coming days.

@kelunik Ok, no problem :-)

@kelunik maybe after one year you are no more interested in this PR, if this is the case feel free to close it and I will continue to maintain the forked version, don't worry, if you are still interested let me know.

@overclokk Thanks for the reminder. I'm still interested in supporting the feature and have now started a larger cleanup in https://github.com/amphp/injector.

@kelunik I'm happy to hear that.
So now all PR should ba made to the new repository?

Yes, will still accept new PRs for bug fixes, but new features will land in the new repo. Don't worry, I'll merge the PR manually, you don't need to do anything.

Ok, perfect :-)
Thank you

@overclokk Merged! :rocket:

This is awesome, thank you :-)


Document what happens exactly when forever stop is called

I'm hoping that when forever stop is called, it sends a SIGTERM signal to let the process gracefully exit, but looking at the code, I'm not seeing anything that verifies it. And in any case, the documentation should mention this. I also see some "forceKill" option or something in the code, which makes me think there are other things going on. Can someone clarify this?

Indeed, the documentation is very brief on that, but check the killSignal option (iirc, you need to specify it in forever start so that the stop will behave accordingly).

I think I found the the issue to this. I created a new issue: https://github.com/foreverjs/forever/issues/811

Your link is messed up for some reason: https://github.com/foreverjs/forever/issues/811

@fresheneesz Thanks I believe it it fixed now.


[quorum] Updated Quorum molecule tests in Git Actions

Signed-off-by: kaverikhaneja<EMAIL_ADDRESS>
Updated quorum molecule tests in git actions
Updated molecule scenario files, as required.

Reviewed by
@sownak @suvajit-sarkar
Linked issue
#735

Please test the quorum code as well after the bin_install_dir changes, before the codes gets merged (reply to this for confirmation)

Please test the quorum code as well after the bin_install_dir changes, before the codes gets merged (reply to this for confirmation)

Network deployed successfully. 👍


hash/crc32: wrong output for unaligned input on s390x

CL https://go-review.googlesource.com/#/c/24470/ introduced a test for unaligned crc32 computations.  It seems this broke the s390x implementation.
See https://build.golang.org/log/e03a4804f6a0c93d08194fb85a168701774f729d , the build bot for s390x is failing.
@ChrisXZou

s390x assembly problem, uncaught until now? All the other builders look happy.
/cc @mundaym @billotosyr for s390x

Yes, I'm assuming this is a s390x assembly bug unless proven otherwise.

We'll have a look at it.

Can this fix be marked for 1.7.1? The CL is simple and should apply cleanly to 1.7.

Sure.


Example script link is broken in readme.md

Example script link gives a 404: https://github.com/YOU54F/cypress-slack-reporter/blob/master/cli/spec.ts

Thanks @you1anna - fixed now

Thanks @YOU54F  I also had a couple of questions, where would be the best place to raise these?

Feel free to raise a separate issue for questions as they can be marked as such 👍


fix(api-docs): remove title in response schema

What this PR does / why we need it:
close #330
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #

Special notes for your reviewer:
/cc @hezhizhen @supereagle

Release note:

NONE

/lgtm

/lgtm

/cherrypick release-0.2


[TLM CI] Add unique queries for tests + add re-run failed tests ci

/test-tlm

/test-tlm

/test-tlm

/test-tlm

/test-tlm

/test-tlm ✨ Starting TLM tests... ✨ If you want to run the TLM tests again (in case they failed or you have further updates to the TLM code), comment '/test-tlm' on this PR. View full GitHub Actions run log ✨ Tests completed! ✨ TLM Tests Results: ❌❌❌❌❌ TLM Property Tests Results: ✅✅✅✅✅ Click the Github Actions run log for more information. ✨ Tests completed! ✨ TLM Tests Results: ❌❌❌❌❌ TLM Property Tests Results: ✅✅✅✅✅ Click the Github Actions run log for more information. ✨ Tests completed! ✨ TLM Tests Results: ✅✅✅✅✅ TLM Property Tests Results: ✅✅✅✅✅ Click the Github Actions run log for more information.

why we have 3 outputs now?

why we have 3 outputs now?

I was manually re-triggering the tests since the property tests were passing I was just calling "re-run failed jobs". This still triggers the print and is expected but does not trigger the starting tests print since we don't start the test with test-tlm


How could I have an x-axis scrollbar for admonition when my equation is too long?

Here is the example where the equation can not completely render in admonition or, say, it just hides to the corner that I can not see. Would you mind telling me how to solve this problem? Much thanks to you.

Added in 6.1.1


Does it support less, scss, sass, and css files?

Does it support less, scss, sass, and css files?
html files are normal in writing angular projects but scss files do not support autocomplete.

Hi,
No it does not. And I encourage you to try out the official Plugin from Jetbrains: https://plugins.jetbrains.com/plugin/15321-tailwind-css :)


Remote bookmarks

To be implemented after #132 which will take the form of bookmarks. Once that's done, it should be not too much work to enable "remote bookmarks", i.e. run QEMU binary on another machines (Windows/Linux/Mac) while having all the data hosted on the iOS device (qemu-nbd and SPICE). This effectively turns UTM into a terminal client powered by SPICE.

[ ] Enable LZ4 in SPICE
[ ] Integrate qemu-nbd code into UTM
[ ] Create utm-server CLI for Windows/Linux/Mac which is a wrapper for launching QEMU
[ ] Pass authentication  information from client to server
[ ] Connect to non-localhost for QEMU monitor, SPICE, NBD, etc

Hi @osy, I'd like to help on this one, namely in the form of using your very nice CocoaSpice to connect to already running QEMU VMs. I'm helping add support for Apple Silicon to the whonix.org project, and as part of that I'm using QEMU as opposed to the currently recommended Virtual Box for Intel Macs.
I was thinking of adding this under the "File" menu, such that it's more for advanced users. i.e. "File" > "Connect to Virtual Machine". Would you be open to a PR in this direction? Thanks!


AF on Azure Container Apps (Private Preview) vs build image from function app

I've recently been investigating whether we could run Azure Functions as Container Apps, and created a proof of concept where I built a docker image from an app and deployed it to a Container App environment. All worked well.
Could you please clarify what the Azure Functions on Azure Container Apps (Private Preview) adds over and above building a container from a function app and deploying to a container app, which was already possible. I'm not clear on that having looked over the readme.

I hope we have addressed your query and since there is no action identified closing this issue for now!


inactive validators

Description
Describe the changes or additions included in this PR.

Get inactive staking stakingPoolId from inactivePoolsId in getLatestSuiSystemState
Added notification whenever a stakeObject is on an inactive validator
Highlight stakeObject with an inactive validator

Test Plan
How did you test the new or updated feature?

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ x] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

@Jibz-Mysten could we update the spacing between cards to be 12px following this Figma
https://www.figma.com/file/xu2VnyPAuruNi74UQzGigW/02-Wallet?node-id=6135-83467&t=rdlM2lh8RKebtm9v-4

@Jordan-Mysten can you take a look


Use customer-provided DNS TLD

We should be taking the domain name provided by the client and using that in the hostname of the Bastion server.  This then means that all the certificates built pre-dump will then be incorrect.  So the ipconf.sh script will need to drive a small playbook that regenerates all the certificates.
Issues to be considered in this:

Maybe it makes sense to take out all of the Ansible code that pre-builds certs?  It's scattered all through the various tasks. Bringing it into a single task file or playbook that can then be shipped with the Bastion makes some sense.
What about the DNS records?  The cluster's internal DNS names can be retained, or moved to something that is not "wsc.ibm".
The default cluster name of "ocp-z-poc" will be difficult to change, I think... we can prompt for it in the web interface, and then run a DNS playbook to update the DNS names if needed... hmm, this could be easier than I first thought :)

The ipconf.sh script currently uses DDNS to change the IP address only.  This will be inadequate if changing the TLD -- change in /etc/named.conf will be needed to reflect new domain to be authoritative for (as well as changing the domain content).

Current tasks/roles that include certificate generation:

configure-cockpit/main
create-zvm-certificates/main (only the "generic" z/VM certs with no customer domain portion)
enable-haproxy-stats/main
setup-ocp-deployer/create-certificate (template, deployed)
setup-web-resources/main
The deployed create-certificate.yml task file could be ideal for creating a playbook in the deployed system that would regenerate required certificates (among other changes) in the same way that configure-cluster already does.


Add ColumnMerger to merge multipul input columns of same sensor into one column

Add ColumnMerger to merge multipul input columns of same sensor into one column. Currently, I only implement SingleColumnMerger.
Fix TimeJoinOperator bug that if we query one non-exist sensor, we will get NPE. Add UT for this corner case.

LGTM


Scale may not be working correctly

Really cool mod! I'm currently using version 1.0.2 on the Valheim 0.218.15 Ashlands release.
The Scale option in the config for local scale, set to default to 0.25, doesn't appear to be affecting the lantern while it is equipped. When the lantern is dropped on the ground, it does increase/decrease in size though.
I do want to confirm that the scale option is intended for while it is equipped, is that right?

You have to restart the game after you change that part of the config. As stated in config's description.

You can adjust the values using RuntimeUnityEditor to get effect you need then apply the values to config and restart the game.

Ok I thought I was going crazy so I went back to test it and it kept happening. Then I realized I was having a similar issue with the quickstep mod and figured out it's because I'm making changes to the config while the game is still open and then restarting. Before I close the game, at some point the mod is overwriting my changes in the config. Reloading the config shows that the value was reset to 0.25. I double checked this theory this by closing the game completely, changing the value to 0.5 (It worked, hurray), launching the game, then changing the value to 1 and saving the file before restarting the game. The value was then overwritten in the config back to 0.5.
So it's not a matter of restarting the game, it's a matter of making sure the game is closed while editing the config. Thanks!

I can recommend using ingame Configuration Manager. That's much much more handy then file editing.
https://thunderstore.io/c/valheim/p/shudnal/ConfigurationManager/ for example


Add ECUPL

Add East China University of Political Science and Law
添加 华东政法大学

@signaliks Pull request merged. Thank you!


Typo in readme

In your readme example of including the admin URLs you are using url() instead of simple_url() .

Thanks!
Fixed in 5ffefffad2ae0ca51e8bcb8d994ec221c7bf6ee3, and manually edited on pypi.


yeelink.light.color5

hello ,please can add support to yeelink.light.color5 with color controler?

Support is now added as of version 0.9.17


About people face not good

When I use the original VGG-19 model,I found when face in the picture,the face in the finished picture is not good.How could I change the options to get good effect.Who can give me advise? Thanks!

My experiments (not vary familiar with ML) showed some options for this problem

Try to play with style_scale and style_layers. I have python scripts that try almost all valuable combinations of these params (keep num_iterations to greatly speed up processing).
I have better results with Texture nets in term of less distortion. Also you can try additional params that have some forks of this repository.
There are some implementation of neural styling that provides masks for processing. You can use OpenCV to detect a face and apply a mask to it.

I've tried style_scale,style_layers,content_weight,style_weight and other options,but e,the face in the finished picture is still not good. Can you tell your options? Thanks

My last time I've used these options, but the result depends on the styling image anyway:
python run_neural_style.py -style_scale 1.2 -init image -style_image .... -content_image ~... -image_size 750 -output_path ... -content_weight 5 -style_weight 50 -save_iter 100 -num_iterations 1000 -gpu 0 -optimizer adam -tv_weight 0.001 -learning_rate 6 -seed 123 -style_layers relu1_2,relu2_2,relu3_2,relu4_2  -original_colors True -content_layers relu5_2

In my opinion, you may need to find out what kind of exact style you want. You may no have to use all the initial style layers( relu1_2,relu2_2,relu3_2,relu4_2 ). I had a good result with relu2_1,relu3_1,relu4_1. So you can start with -content_weight 0 to find the style you expected. What's more, L-BFGS tends to give better results.

How could I choose style_layers?I found when I userelu1_2,relu2_2,relu3_2,relu4_2 or  relu1_2,relu2_2,relu3_2,relu4_2,the face is worse...
What's the mean of style_layers?I know this is neural network layers,but how I know what layer fit me？

I may misleaded you, but I actually got a nice result. This page may help youhttps://github.com/jcjohnson/neural-style/issues/363

I may misleaded you, but I actually got a nice result. This page may help you

Layers test questions #363

I may misleaded you, but I actually got a nice result. This page may help you #363


New branch

We added the api feature. We turned this web project into a REST api that can interact with the server using the CRUD methods. We did that by adding a directory called api that contains the code files. So the two branchs can be easily merged.

I will look into your code and decide if I should accept the pull request.


remove codecguide.com site

I believe this specific domain is to be moved from the hosts file as it is not Adult material. I have downloaded the K-Lite Codec Pack for years from there. For some reason it's on the list twice. Steven Black contributor dnmTX sent me here from here. Thanks.
Delete this
codecguide.com

Keep this
example..com
alive.example..com

Screenshots
Screenshot

External Info

All Submissions:

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Merge Requests (MR) or Issues for the same update/change?
[ ] Added ScreenDump for prove of False Positive

Todo

[ ] Removed this from Source file?
[ ] Removed from the RPZ zone adult.mypdns.cloud (@spirillen)

Thanks! I presume this issue will close once the commit is merged?

Yep, but as information to everyone, I can't generate the test/generation of a new good list until mid May, But you are welcome to do a manual removal from all lists within the https://github.com/Clefspeare13/pornhosts/tree/master/download_here and make it a PR, I will merge it asap.


Increment version for npm publish

Hi @nullfirm. Can you publish the latest version in github? It should close #2, see my comment

Duplicate of #11. Whoops!


Broken URL in Configuration page

In the section The Configure method at the end of first paragraph, URL linking to source code in github is broken.

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

ID: 793395fe-c738-22ce-d0e9-29a850c0fa88
Version Independent ID: 0546ce3a-3258-9817-0f3f-13281c2f55da
Content: Application startup in ASP.NET Core
Content Source: aspnetcore/fundamentals/startup.md
Product: aspnet-core
GitHub Login: @ardalis
Microsoft Alias: tdykstra

Thanks @gmanvel ... I'll square that away right now.


Search bar on admin portal for project.

Addition of a search bar on the admin portal for searching through projects.

Duplicate of #174


Ability to change ssl port

Is your feature request related to a problem? Please describe.
Router in my house uses 443 (https default port for panel access) and nextcloud suggests turning on HSTS.
Describe the solution you'd like
I want to ask for availability to set ssl redirect port for paths... so if for example http is on 80 and https is on 444 it would send to https://domain:444 instead of https://domain:443 (Browsers by default redirect to the 443 if no port is specified)
Describe alternatives you've considered
Changing router configuration.. and it is not possible - router managed by my dad.

Sua solicitação de recurso está relacionada a um problema? Por favor, descreva. O roteador na minha casa usa 443 (porta padrão https para acesso ao painel) e o nextcloud sugere ativar o HSTS.
Descreva a solução que você gostaria de pedir disponibilidade para definir a porta de redirecionamento ssl para caminhos... então se, por exemplo, http está em 80 e https está em 444 ele enviaria para https://domain:444 em vez de https://domain:443 (Navegadores por padrão redirecionam para o 443 se nenhuma porta for especificada)
Descreva as alternativas que você considerou Alterando a configuração do roteador.. e não é possível - roteador gerenciado pelo meu pai.

To be able to run https on ports other than 80 and 443 without error, you need to follow the steps below:
1 >> Stop Nginx Container
2 >> Edit docker-compose.yml change the port 443 to 444, only the one on the left and on the right remains the same.
Example
    ports:
      - '8880:80'
      - '81:81'
      - '444:443'

3 >> Start Nginx Again
4 >> Access the website as follows https://mydomain.com:444.
Another point I saw in your problem is that you configured the host for Nextcloud, so you need to make sure that your settings are similar to this

Define Location = /.well-known/caldav
Forward Hostname / IP* =  your ip 192.168.x.x/remote.php/dav/

Define Location = /.well-known/carddav
Forward Hostname / IP* =  your ip 192.168.x.x/remote.php/dav/

Define Location = /.well-known/webfinger
Forward Hostname / IP* =  your ip 192.168.x.x/index.php/.well-known/webfinger

Define Location = /.well-known/nodeinfo
Forward Hostname / IP* =  your ip 192.168.x.x/index.php/.well-known/nodeinfo

Then add these entries to Nextcloud config.php
  'overwritehost' => 'your.domain.com:444',
  'overwriteprotocol' => 'https',

I found that there is config fodr setting port override in nextcloud and after adding it, It seems it works now.
Also for https redirect to be for port 444 I needed to rebind rule directory of nginx proxy manager and set it to my custom path...


Integrate Raven js Sentry error logging

Allow me to drop this here.
Is there a way to use sentry error logging to AdonisJs used as API(backend)?

Hey @zeal29gdd
Yes! There's no reason that Adonis block you from using any third-party package! If you code works outside of Adonis it will works inside of it too!
If you encounter any issue please, fill free to ask a question.


Please unlock issue #3552

Hey
It's impossible to even add a reaction to a locked issue #3552, please unlock it.
I don't think you should restrict users from contributing comments on that issue, we should be able to provide additional use-cases or discuss possible work-arounds. If you're so annoyed with mindless "+1"s, you should probably add a warning about that.
Sorry for creating an issue for that, I couldn't find another way of contacting you on this matter.
Thanks!

Done. GitHub needs a way to allow me to prevent people from submitting +1 comments while still allowing meaningful discussion. I did not know that locking the issue would also lock reactions although it makes sense when I think about it.


Editor shows function 'xxx' not found, when using Makefile based Project

Hi,
When editing a file which has IMPORT FGL xyz, then the editor will not show any warning when CALL a function inside the imported module.
But When we have multiple modules being linked through Makefile, the CodeEditor whows a warning that the function is not found.
Is there any way we can overcome this?

In the above screenshot, the warnings : the functions exist in a different 4gl file, and the module linking is done via Makefile.

Hi, currently there isn't an option in the GUI for this.
You could have a look in fglcm.4gl in the function "buildCompileCmd" (which does add the -Wall flag)
and change it to your likes, see attached patch.
HTH, Leo

Am 8/30/22 um 08:42 schrieb susobhsugathan @.***>:
Hi,
When editing a file which has IMPORT FGL xyz, then the editor will not show any warning when CALL a function inside the imported module.
But When we have multiple modules being linked through Makefile, the CodeEditor whows a warning that the function is not found.
Is there any way we can overcome this?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

Diff seems not to transmitted, here just the plain text of the diff
diff --git a/fglcm.4gl b/fglcm.4gl
index e7df5b5..f4fa7a9 100644
--- a/fglcm.4gl
+++ b/fglcm.4gl
@@ -1668,11 +1668,11 @@ PRIVATE FUNCTION buildCompileCmd(dirname, compOrForm, cparam, fname)
--we cd into the directory of the source
IF file_on_windows() THEN
LET cmd =

   SFMT("cd \"%1\" && %2 %3 -M -Wall %4 2>",

   SFMT("cd \"%1\" && %2 %3 -M -Wall -W-implicit %4 2>",
       dirname, compOrForm, cparam, baseName)

ELSE
LET cmd =

   SFMT("cd \"%1\" && %2 %3 -M -Wall \"%4\" 2>",

   SFMT("cd \"%1\" && %2 %3 -M -Wall -W-implicit \"%4\" 2>",
       dirname, compOrForm, cparam, baseName)

END IF
RETURN cmd

Am 8/30/22 um 08:42 schrieb susobhsugathan @.***>:
Hi,
When editing a file which has IMPORT FGL xyz, then the editor will not show any warning when CALL a function inside the imported module.
But When we have multiple modules being linked through Makefile, the CodeEditor whows a warning that the function is not found.
Is there any way we can overcome this?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

Hi,
the above flag '-W-implicit' doesnt seem to work. Tried by compiling manually.
I have tried some combinations, doesn't seem to work for my case.
Everytime it does show warning that many functions not defined, but the function exist in a different module which is linked via Makefile.

Sorry , my fault , to switch off a compiler warning -Wno- must be used.
So in your case the switch is
-Wno-implicit
Regards, Leo

Am 8/30/22 um 11:49 schrieb susobhsugathan @.***>:
Hi,
the above flag '-W-implicit' doesnt seem to work. Tried by compiling manually.
I have tried some combinations, doesn't seem to work for my case.
Everytime it does show warning that many functions not defined, but the function exist in a different module which is linked via Makefile.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.


Test issue for the migration

 Issue by Juan-Gomez1
Thursday Aug 03, 2017 at 15:45 GMT
Originally opened as https://github.ibm.com/Juan-Gomez1/qiskit-sdk-py-dev/issues/1

** Markdown **
test
test
test

 Comment by Juan-Gomez1
Thursday Aug 03, 2017 at 15:46 GMT

Another comment goes here


Feature Request: Summary of "Missing" Season Posters from Assets Folder

Would it be possible to spit out a summary of shows that there are more seasons of a show in plex than there are posters in the assets folder?
For example, I have season posters for 1-12 in the folder and when season 13 comes out, I need to go find the poster for that season. Ideally only for shows that exist within the assets folder, and not shows I don’t have local posters for.

Added show_missing_season_assets under settings


Fix instant checkout

Short description and why it's useful
Instant checkout didn't work, there was no order module registered.
Which environment this relates to

[x] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[x] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[ ] I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

Contribution and currently important rules acceptance

[x] I read and followed contribution rules

Works now, gj


git commit fails when vscode is already open

VSCode Version: 0.10.11
OS Version: Windows 7

Steps to Reproduce:

Set vscode as your editor in git config.
Open vscode.
Using Git Bash, run git commit.
An error in Git Bash returns which states "Aborting commit due to empty commit message."
A new vscode Window opens with COMMIT_EDITMSG to enter the commit message.

When using Visual Studio Code, I use Git Bash to do all my git work including commits, though commits can be done using vscode itself but I think it is just a single line commit. The issue is that I can't commit from Git Bash (unless I use the -m option) while vscode is open.

Git integration is on its way and is available now in the insiders build which can be downloaded here. See https://github.com/Microsoft/vscode/issues/4006 for more information

Thanks. I tried finding a related issue before opening this one but I missed that one I guess.

No problems, I do the same sometimes :smiley:


Provide ability to emit SPDX SBOM formats

Is your feature request related to a problem? Please describe.
I would like to be able to generate SPDX SBOM format ('spdx-json' and 'spdx-xml') documents for an application so that I can integrate with other SPDX tooling.
Describe the solution you'd like
I would like there to be an option to emit SPDX format SBOMs and/or CycloneDX SBOMs (CycloneDX already implemented based on discussion in https://github.com/trailofbits/pip-audit/issues/3).
Describe alternatives you've considered
Alternative solutions would be taking the output of cycloneDX formats and converting it to SPDX format. However, this relies on external tooling which may not have proper conformance testing or maintenance going forward. In addition, the different specifications are working towards new directions (i.e. SPDX with build profiles), and relying on native libraries would be preferred.

Thanks for the request, @lumjjb!
When we started designing pip-audit, we selected CycloneDX over SPDX solely because of better Python bindings/library support. That was close to a year ago at this point and so things may have changed, but selecting a reasonable dependency for emitting SPDX SBOMs will be the first step here 🙂

Awesome! Sounds good :D.
@swinslow would you be able to recommend some python libraries to look at?

I did a little bit more searching, and couldn't find a good Python library for SPDX SBOM generation (but I might have completely missed it!)
Still open to suggestions here. Otherwise, when we prioritize this, we may have to hand-roll the format.

Let me ask around and do some searching too! I'll get back to you!

quick question - did you manage to take a look at https://github.com/spdx/tools-python/, what are some interfaces/structures that you think are needed to make it more useful to consume the library?
(Asking this also because I'm working on the golang library :))

I think I saw that repository, but might have mentally categorized it as a CLI tool rather than a Python API. But it looks like it does have a Python API, so I'll take another look, thanks!

what are some interfaces/structures that you think are needed to make it more useful to consume the library?

I might be able to answer this on my own, but in case you know it immediately: where are the right models for generating a "vulnerability profile" for each dependency listed in the SBOM? I see it was standardized here: https://github.com/spdx/spdx-spec/pull/510, and I think that's what we'll need in the context of pip-audit.

Ah yea - if i'm not wrong, I think that effort  was renamed to "Defects Profile", and it was for use case of reporting vulnerabilities as part of the SPDX document! https://github.com/spdx/spdx-spec/pull/733
I love your suggestion of using the profiles as ways to organize and define the interfaces! As more of the SPDX profiles get defined, this will be a great way to build up the libraries. Thank you!

Thanks for checking back! I believe that there's on-going OpenSSF funding request for the python library: https://github.com/ossf/sbom-everywhere/issues/6
Is this something that you are participating / interested in?

I think so! We have a decent amount of prior experience with SBOM generation, including contributing to other SBOM libraries for Python.
What's the best way to proceed here? Is there an specific OSSF point-of-contact that Trail of Bits should email?

Have a look at SBOM4PYTHON which might do what you need. It generates both SPDX and CyloneDX SBOMs for an installed Python module and all its assoicated dependencies.

@woodruffw sorry i missed this, I think this is the issue for the python lib funding https://github.com/ossf/sbom-everywhere/issues/6 that @joshbressers has been shepherding

No problem! Thanks for the update.
And thanks for the link @anthonyharrison!

I think so! We have a decent amount of prior experience with SBOM generation, including contributing to other SBOM libraries for Python.
What's the best way to proceed here? Is there an specific OSSF point-of-contact that Trail of Bits should email?

@woodruffw I've pointed Kate Stewart at this issue, she should be able to hook you up with the folks working on that SBOM library. Feel free to also follow along on the issue @lumjjb added

Thanks a ton @kestewart! I'm happy to join the weekly call; I'll be in contact over email.

guessing this went nowhere?

Nobody has volunteered to do it, if that's what you mean. The feature request itself is still open and I'd be happy to review proposals/PRs that add support for SPDX SBOMs.

Since any time I find to code, occurs between midnight and whenever I force myself awake until, while being able to turn up to work or be lucid for the family the next day.. I'm not promising anything here, though I will take a look as I do occasionally find time to do things like OWASP cheatsheets or redhat CVSSv4 support
To be frank, I was actually referring to the approved finding - but I appreciate the deflection back to us asking in true form to open source it's a team effort, I get it
Having said that, what happened here? Finding dry up or something? All promises no real interest in the outcomes?
Seems strange given all the talk on SBOM, or not so surprising it's all talk..

Since any time I find to code, occurs between midnight and whenever I force myself awake until, while being able to turn up to work or be lucid for the family the next day.. I'm not promising anything here, though I will take a look as I do occasionally find time to do things like OWASP cheatsheets or redhat CVSSv4 support
To be frank, I was actually referring to the approved funding - but I appreciate the deflection back to us asking in true form to open source it's a team effort, I get it
Having said that, what happened here? Funding dry up or something? All promises no real interest in the outcomes?
Seems strange given all the talk on SBOM, or not so surprising it's all talk..

I was never funded to work on SPDX SBOM integration into pip-audit. I think the funding you're referring to is the SPDX Python implementation's own funding, which they got for development on their own repository, not for integration into pip-audit.
This isn't really the right place to express generic grievances about funding, and it isn't nice to accuse people of being "all talk no action." With that being said, if you're interested in adding support for SPDX it would be greatly appreciated, and I'd be happy to review the changes. Per above the main requirement is that we use SPDX's official models and Python APIs rather than manually building the SBOM.


[CH] support TimeZone.setDefault(timezone)

Description
In spark ut

file: GlutenStatisticsCollectionSuite.scala
test: testGluten("store and retrieve column stats in different time zones"))

TimeZone.setDefault(timezone) doesn't work for clickhouse backends. @PHILO-HE does velox has the same issue ?

@taiyang-li, I guess setting default timezone here doesn't really take effect for velox backend. Currently, the default session timezone is set during GlutenPlugin initialization, see code. You can see it comes from Timezone class. If TimeZone.setDefault(timezone) is called after plugin's initialization, definitely it will not really work.

@PHILO-HE Thanks for explaination, it seems that clickhouse doesn't work too.

@PHILO-HE  sorry, it is test("store and retrieve column stats in different time zones")) not the one wrapped be testGluten.


[desktop_webview_window] macOS: Error running pod install

Can't run the app after installing desktop_webview_window: ^0.1.3
Launching lib/main.dart on macOS in debug mode...
CocoaPods' output:
↳
      Preparing
    Analyzing dependencies
    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
    Fetching external sources
    -> Fetching podspec for `FlutterMacOS` from `Flutter/ephemeral`
    -> Fetching podspec for `dart_vlc` from `Flutter/ephemeral/.symlinks/plugins/dart_vlc/macos`
    -> Fetching podspec for `desktop_webview_window` from `Flutter/ephemeral/.symlinks/plugins/desktop_webview_window/macos`
    -> Fetching podspec for `device_info_plus_macos` from `Flutter/ephemeral/.symlinks/plugins/device_info_plus_macos/macos`
    -> Fetching podspec for `native_pdf_renderer` from `Flutter/ephemeral/.symlinks/plugins/native_pdf_renderer/macos`
    -> Fetching podspec for `path_provider_macos` from `Flutter/ephemeral/.symlinks/plugins/path_provider_macos/macos`
    Resolving dependencies of `Podfile`
      CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_5_f_4.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/5/f/4/VLCKit/3.3.18b4/VLCKit.podspec.json exists! Returning local because checking is only perfomed in repo update
    [!] CocoaPods could not find compatible versions for pod "desktop_webview_window":
      In Podfile:
        desktop_webview_window (from `Flutter/ephemeral/.symlinks/plugins/desktop_webview_window/macos`)
    Specs satisfying the `desktop_webview_window (from `Flutter/ephemeral/.symlinks/plugins/desktop_webview_window/macos`)` dependency were found, but they required a higher minimum deployment target.
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:328:in `raise_error_unless_state'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `tap'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `unwind_for_conflict'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:254:in `process_topmost_state'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in `resolve'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in `resolve'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/resolver.rb:94:in `resolve'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1074:in `block in resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1072:in `resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:414:in `analyze'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:239:in `block in resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:238:in `resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:160:in `install!'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/command/install.rb:52:in `run'
    /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
    /usr/local/bin/pod:23:in `load'
    /usr/local/bin/pod:23:in `<main>'
Exception: Error running pod install
Exited (sigterm)

pod install output:
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "desktop_webview_window":
  In Podfile:
    desktop_webview_window (from `Flutter/ephemeral/.symlinks/plugins/desktop_webview_window/macos`)

Specs satisfying the `desktop_webview_window (from `Flutter/ephemeral/.symlinks/plugins/desktop_webview_window/macos`)` dependency were found, but they required a higher minimum deployment target.

flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6.1 20G224 darwin-x64, locale ru-RU)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.62.3)
[✓] Connected device (2 available)

seems duplicate with https://github.com/MixinNetwork/flutter-plugins/issues/27
You probably should upgrade you target macos version by change your project macos/Podfile file.
example:
https://github.com/MixinNetwork/flutter-plugins/blob/8ea2d84319c2cd0e18bada22f30ce45e6aa735ad/packages/desktop_webview_window/example/macos/Podfile#L1

seems duplicate with #27
You probably should upgrade you target macos version by change your project macos/Podfile file.
example:
https://github.com/MixinNetwork/flutter-plugins/blob/8ea2d84319c2cd0e18bada22f30ce45e6aa735ad/packages/desktop_webview_window/example/macos/Podfile#L1

solved with it


CAMEL-11920: camel-hdfs2 not working in osgi using documented HdfsOsg…

…iHelper

I'll review and merge tomorrow. Thanks :-)

Thanks @valdar the PR has been merged. Can you close this?

Merged.


Topic/rebuild and clean

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please restart ci

@conda-forge-admin, please restart ci

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found some lint.
Here's what I've got...
For recipe/meta.yaml:

Recipe maintainer "olivier-roussel" does not exist
Recipe maintainer "jorisv" does not exist
Recipe maintainer "proyan" does not exist
Recipe maintainer "jcarpent" does not exist

@conda-forge-admin, please restart ci

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.


feat: close #68, add custom template

Codecov Report

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

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


Added zmqpp version 4.2.0

I've checked this Git style guide. Yes]
I've checked this CMake style guide. Yes
My change will work with CMake 3.2 (minimum requirement for Hunter). Yes
I will try to keep this pull request as small as possible and will try not to mix unrelated features. Yes

Some help would be appreciated... I've got errors on testing:

Windows: I'm not used to windows compiling, but I think almost every test that failed was failing building dependency zeromq, not zmqpp; what should I do in this case?
Linux&Mac: I've got two errors:

One is from clang, it seems to me that is failing on a couple of warning. What should I do, disable warning during compile? I do not want to fix the error in the code
The other one is in 'IOS' compilying, and i never compiled for this system, so I don't understand what's happening

@ruslo Do you receive notifications about draft PR?

Some help would be appreciated... I've got errors on testing:

You are not running tests correctly. You should fetch CI configs from pkg.zmqpp branch. There is only single test in config:

https://github.com/ingenue/hunter/blob/pkg.zmqpp/.travis.yml#L103-L110

I'm sorry, but something is not clear to me: in wich branch or repository should i change the .travis and appveyor files? Should i open a pull request for them on ingenue/hunter?
I followed the ci-testing guide, but I was not sure about this.

Testing:

https://ci.appveyor.com/project/ingenue/hunter/builds/23628400
https://travis-ci.org/ingenue/hunter/builds/516222152?utm_source=github_status&utm_medium=notification

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/builds/23628692
https://travis-ci.org/ingenue/hunter/builds/516227362?utm_source=github_status&utm_medium=notification

Released: https://github.com/ruslo/hunter/releases/tag/v0.23.151


fix for install issue

fix for install issue
fixed broken builds due to rename fro LinkeredClient to Client
removed "to solve" comment from all over the place

Signed-off-by: Girish Ranganathan<EMAIL_ADDRESS>

Fixes #12


Suggestion: Replace pusher with beyondcode/laravel-websockets

For Broadcasting & WebSockets, why use pusher (which is a paid product), when we have https://github.com/beyondcode/laravel-websockets
Related to https://github.com/guillaumebriday/todolist-frontend-nuxt/issues/6

@guillaumebriday quick question here...
How can I see the websockets / pusher functionality in the todolist app? I added pusher keys to my laravel/.env and nuxt/.env but don't see anything.
Also no rush but any plans to implement this and replace pusher? Thanks!

Hey! Sorry for the late answer.
Hum, I think this is the only think you need to do? Do you see any requests in your pusher dashboard ? It works in production though
My anwser is the same as here : https://github.com/guillaumebriday/todolist-frontend-nuxt/issues/6#issuecomment-512570575
I'm sorry I have no time to reimplement that, but I could find to review a PR if needed :)


Namespace support

A summary of my thoughts on namespace support.
Inversion of control
Xml namespaces are defined in two ways:

Explicit namespaces. xmlns:name="...", where "name" is an arbitrary name you choose.
You use something from the "name" namespace as follows name:something.
This case is present in both elements, and attributes.
The default namespace xmlns="...". This is a namespace that is implicit in elements without an explicit one.
So if you create an element  in the scope of an xmlns, the namespace of it is the xmlns.
Unlike elements, attributes do use this, attributes without an explicit namespace always have no namespace.

The current way of dealing with namespaces puts the responisibility on the user to manage what namespaces name correspond to what namespaces.
// if the user creates an element, the trust is put in them to ensure it is in the scope of the correct xmlns definition.
var element = XElement.new("p:thing")
// namespace "p" must be a defined manually, else the document is invalid

This alone is not much of an issue, it's easy to thing about this when constructing a document.
The problem arises when interpreting a document that you've loaded from a file. The way namespaces can be any arbitrary name which maps to a value means that in order to correctly interpret the namespace of an element, you must search for the scoped namespace manually, and this management is unreasonably complex.
<forest xmlns:b="blue">
  <tree>
    <b:bird/>
    <!-- What is "b:" in this element? You have to search up the tree for "xmlns:b" yourself.
    The more deeply nested, the harder it becomes -->
  <tree>
</forest>

To address this, an approach which I'm referring to as "Inversion of control" is employed.
By storing the namespace value, rather than the namespace name in elements, you lift the responsibility of it's management from the user:
Instead of b:bird, they are presented with {blue}bird.
This is what is used in C#'s XLinq, and it works nice. It can be frustrating having to always define the default namespace for every element, but there are various methods to make this a negligible issue, which I intend to explain via a collection of examples at some point.
The class-based approach and why it's not viable in wren
In C#, {blue}bird is represented via the classes XNamespace and XName, but they on a feature exclusive to statically typed languages to be useful.
I'll start with a basic implementation to talk about
class XNamespace {
    construct new(name) {
        _name = name
    }
    name { _name }

    +(str) { XName.new(this, str) }

    ==(other) {
        if (other is String str) {
            return str == _name
        }
        return other.name == _name
    }
}

class XName {
    construct new(name) {
        _name = name
    }
    construct new(namespace, name) {
        _namespace = namespace
        _name = name
    }
    namespace { _namespace }
    name { _name }

    ==(other) { other.name == name && other.namespace == namespace}
}

An XNamespace has only it's name. An XName can have a namespace or not, along with it's "local name".
But when you're creating an element, you don't want to have to explicitly construct these every time.
// In c# you can pass a string, and it is implicitly converted to
// an XName.
var element = new XElement("bird");

// However, it also helps combine a namespace with a string to
// make an XName
var ns = XNamespace.Get("blue");
var name = ns + "bird";

// and equality checks too
var areSame = name == "bird"

But of course, wren is a dynamic programming language. You can see the equality check in the wren XNamespace I implemented is only going to work with strings if the namespace comes first, and equality checks should not be reliant on order of operands. You can modify every method to convert a string input to an XName, but there are many situations, especially equality checks, where this will not work.
The result would be a library internally cluttered with string conversions, and an API with many subtle sources of bugs and unintuitive behaviour.
The string-based approach
So what is the better solution? My idea is to use strings to represent XName. That is, an XName is a string with a part of it representing the namespace, and a part the localName.
var namespace = "{blue}"
var localName = "bird"
var nameWithNamespace = namespace + localName // == "{blue}bird"

While the addition operation is still order-dependent, it's obvious to the user since they are working with strings, and managing the namespace themselves. And the equality operator works great.
The {} notation is used in c#, and converted to XNamespace and XName appropriately in the implicit conversion, so it has precedent. But the use of specifically curly braces isn't important, the important part is to have a marker both before and after the namespace.

The first marker makes it quick to check if a namespace is present
The second marker shows where the namespace ends and local name begins

var name = "{blue}bird"
var localName = null
var namespace = null
if (name[0] != "{") {
  // does not have namespace
  localName = name
} else {
  // has namespace
  var idx = name.indexOf("}") + 1
  var namespace = s[0...idx] // "{blue}"
  var localName = s[idx..-1] // "bird"
}

With this, the code for the api doesn't need to be changed, since all the names are strings, just as they are currently.
What will need to change is the parser and writer. They will need to track scope of namespaces, to know at any point what namespace-name corresponts to what namespace-value.

I have been thinking about instead storing the namespace on a property of xattribute and xelement.
It solves some of the problems described, and it would perform much better for when you are dealing with namespaces.
The downside is that a lot of api methods would need copies that accept namespaces, so a lot more methods. Hmmmmm. And it would very slighlty negatively impact performance for when you dont have namespaces. Hmmmm.
It's tough to decide. I think I might write some benchmarking tests to see.