"Spawn scene object not found for" and "Could not spawn assetid=" errors

Full errors, displayed in the console:
Spawn scene object not found for AB5EEAD6BA36AA73 SpawnableObjects.Count=0
Could not spawn assetid=00000000-0000-0000-000000000000 scene=AB5EEAD6BA36AA73 netid=1
These 2 errors happen whenever I connect from the editor to the host; Host is a standalone application. When I connect from a standalone application to the editor running as host, the errors are not displayed in the console, but presumably occur as well, and in both cases the clients stop working.
Any help would be appreciated.

Are you trying to spawn something inside the scene, instead of a prefab?
Spawning things that are inside the scene is not supported. Save things as a prefab, then add them to the NetworkManager known prefabs. Make sure they have a single NetworkIdentity too.

Okay, I think I fixed it, I had to add UI that I was spawning to Spawnable Prefabs, so do I have to do this for UI as well, even if it's client-side only, or am I doing something wrong?

https://mirror-networking.com/docs/Articles/CommunityGuides/MirrorQuickStartGuide/index.html
You can have UI client side, have it in scene, when local player spawns, grab it, or a script containing references too it.
The community quickstart has similar, use that as template/learning  :)

Closing this...not a bug.


--config command not working

Hello, I had to increase the resolveNodeLimit value because I got the following error while testing my schema but it failed to read this value from the config file. I think the --config command is not working.
Authorization Model resolution required too many rewrite rules to be resolved. Check your authorization model for infinite recursion or too much nesting
config.yaml
resolveNodeLimit: 100000
resolveNodeBreadthLimit: 10000000
http:
  upstreamTimeout: 110

Hey @xXAvoraXx, that configuration is for the OpenFGA server and isn't exposed by the CLI. If you're running your own instance of OpenFGA you would provide these to the openfga run via one of the configuration methods described in the docs.
If you're using a hosted version of OpenFGA then this configuration is most likely not exposed.

Hey @xXAvoraXx, that configuration is for the OpenFGA server and isn't exposed by the CLI. If you're running your own instance of OpenFGA you would provide these to the openfga run via one of the configuration methods described in the docs.
If you're using a hosted version of OpenFGA then this configuration is most likely not exposed.

I found the config command here so I wanted to try it.
https://github.com/openfga/cli/pull/60

We do expose some configurations values for the CLI that you can find documented here, generally these are related to configuration on how the CLI will connect to the server (URL, store/model IDs, auth etc.)
The values in your initial comment are not supported as these are for the OpenFGA server.


Shape preview

The pull request introduces a new mode - shape-preview, which prints information about the shape as well as enables one to output Wolfram Mathematica representation of the shape.

Closes #13


New user is not assigned to an application

When I follow the doc:
from okta import UsersClient
# http://developer.okta.com/docs/api/getting_started/getting_a_token.html
usersClient = UsersClient('https://example.oktapreview.com/',
                          '01a2B3Cd4E5fGHiJ6K7l89mNOPQRsT0uVwXYZA1BCd')

new_user =<EMAIL_ADDRESS><EMAIL_ADDRESS>                firstName='Saml',
                lastName='Jackson')
user = usersClient.create_user(new_user, activate=False)

The user is created, but not assigned to an application.  I have two applications after running the migration process from Stormpath.  Is this the problem?  That it does not know which application to assign the new user to?  How do I resolve this?

Did you ever get this one resolved?

I don't remember.


AbstractDsn database name should be optional?

It is possible to connect to a DB server without selecting a database.
I have not checked if that works with PDO, but if it does, $databaseName should be optional in the AbstractDsn class.

you need to configure it not to throw an exception, which is the idea so we can implement it safely.

I don't understand what you mean with this.
Example use case:

Connect to DBMS
SHOW DATABASES;
select a database

Should also be fixed for Socke Dsn, see https://github.com/yiisoft/db/pull/652


typo: Double word "or"

No eye involved :wink:
I ran https://github.com/errata-ai/vale/ and https://github.com/Jason3S/cspell to pick up the issues I PR'd in this repo


doctor: Check for branch of core tap (take 2)

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew tests with your changes locally?

Fixes the issues with https://github.com/Homebrew/brew/pull/3089 -- the git_head returns a commit sha.
Pulls the changes from https://github.com/Homebrew/brew/pull/3094 without the refactor to GitClient, to get the easy win merged first

I fixed a brew style CI failure for you.

Thanks @BenMusch!

No problem! Sorry for not being super responsive, but I'm still happy to fix any bugs about this if they pop up


Support for Active Choice Reference Parameter

Support for additional type of Active Choice Parameter - Active Choice Reference Parameter. Added tests, documentation and one new class ActiveChoiceReferenceContext extending ActiveChoiceContext. As activeChoiceReferenceParam differs from activeChoiceParam in reference part and XML element name, XML part is moved to parametrized createGenericActiveChoiceNode.

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests


Type "session" has no properties in common with type 'ICachingProps'

[{
"resource": "/C:/code/spfx-pnp-js-example/src/webparts/pnPjsExample/components/PnPjsExample.tsx",
"owner": "typescript",
"code": "2559",
"severity": 8,
"message": "Type '"session"' has no properties in common with type 'ICachingProps'.",
"source": "ts",
"startLineNumber": 92,
"startColumn": 52,
"endLineNumber": 92,
"endColumn": 61
}]
I need help with this error ... NooB
EDIT: WORKAROUND: Commented out the line spCache and replace the cache object in the IRespnseItem[] line 94 spCache = spfi(this._sp) and works fine, but the speed seems compromised

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

ID: 4b19eb96-192d-2d8b-8d4e-0de787f22093
Version Independent ID: e2cbd2b2-8bb7-a95f-0768-15f1b045b4c4
Content: Use @pnp/sp (PnPJS) library with SharePoint Framework web parts
Content Source: docs/spfx/web-parts/guidance/use-sp-pnp-js-with-spfx-web-parts.md
Product: sharepoint
Technology: sharepoint-framework
GitHub Login: @VesaJuvonen
Microsoft Alias: vesaj

@joxicraft
Got below solution at SharePoint Stackexchange and worked form me.
https://sharepoint.stackexchange.com/questions/301746/error-while-following-microsoft-documentation-on-web-part-caching-with-pnpjs.
import { Caching, ICachingProps } from "@pnp/queryable";
// ...
const cacheProps: ICachingProps = {
store: "session"
};
const spCache = spfi(this._sp).using(Caching(cacheProps));


[feat]: config ui modal: put new list items at the bottom of the list

Steps to reproduce:

configure a service that has a list of objects (or unions)
click "+add" to add a new list item
new item is added to top of list instead of bottom:

This is confusing and inelegant, and may lead to downstream bugs. For instance, a user trying to keep their RTL nodes in a specific order, for instance, would have a rough time keeping their nodes in their desired order, since the last node added ends up first on the list. This would also then have an effect on their backups, since backups are stored by the order the nodes appear in the config.
New list items should be added to the bottom of the list, not the top.
Alternatively, there needs to be a way to easily reorder the items in the list.

Lists probably ought to be reorderable

The biggest issue is that in RTL the first node in the list is the "default node", that is, it's the node that displays in the RTL dashboard every time you log in. So, when adding a new node, the new node always becomes the new default node, which is not intuitive to the user, and requires awkward deletions and re-additions in order to put the list in a desirable order, while processing information in the reverse manner from what they're used to. A prepend-only list is just not an intuitive data structure for either users or package devs.
As for backups, it's mostly fine, but again, as a package dev it's much less intuitive to deal with a prepend-only list, because what ends up happening in this case is that the backup for node 1 is stored int the node-1 directory. Then if you add a node 2, node 2 becomes node 1, and the old node 1 becomes the new node 2. So the backup that used to exist in the node-1 directory is now in the node-2 directory, which, again, is just confusing, for both the user and the package dev. An append-only list is a much more straightforward data structure to handle.

Totally agree from a data structure standpoint. The primary challenge is that appending new items might be invisible unless the screen auto scrolls to the bottom of the list. I will think on a UX solution, any ideas are welcome.

We scroll when you attempt to save and there are errors on the page. We scroll to the first error

Scrolling is an option. Need to test with lists of varying length and see how it feels

Implemented, very nice. Will go into 0.3.1.


Should each() have a dedicated implementation?

Laravel Version: 5.4
PHP Version: 7.1
Database Driver & Version: mysqli 5.0.12

Description:
I was using each() in an effort to iterate a result set and do some calculations based on the values in every row.  To my dismay, I found out that each() calls chunk() to do its bidding, rather than having its own implementation.  Unfortunately, chunk() is slow when the OFFSET part of the query becomes sufficiently large.
According to https://github.com/laravel/framework/issues/14007 and https://github.com/illuminate/database/blob/master/Concerns/BuildsQueries.php#L58 it appears this behaviour is by design.
My current workaround is something like: $x = app(db)->getPdo()->query(...); while($x->fetch()) {...}
Since it already has its own dedicated function name "each", I was hoping it would also get its own dedicated non-chunking implementation similar to the above workaround.  Please let me know if this is completely out of the scope of BuildsQueries trait, or perhaps if I've missed something simple/obvious here...
Steps To Reproduce:
Run each() with an active DB listener.  Notice the default "limit 1000"

    /**
     * Execute a callback over each item.
     *
     * @param  callable  $callback
     * @return bool
     */
    public function each(callable $callback)
    {
        $results = app('db')->getPdo()->query($this->toSql());
        if (!$results) {
            return false;
        }

        while ($row = $results->fetch(\PDO::FETCH_ASSOC)) {
            if ($callback($row) === false) {
                return false;
            }
        }
        return true;
    }

This works (maybe not every db cli will have getPdo, and maybe you want to do $callback(collect($row))) but is not pretty

This repo is for bug tracking. This isn't a bug so you can open a proposal in the laravel/internals repo


The bot cannot ping

An error occurred in call_api: 403 Client Error: Forbidden for url: https://nw.nodepay.org/api/network/ping
An error occurred in send_ping: 'NoneType' object is not subscriptable
Can you update this

I will check it later

I check it and it still working, it might be your IP/connection is blocked by Cloudflare


Two-way binding annotations in local template do not update readOnly properties

This may be a deliberate design choice, and it's fine if it stays the way it is. However, I would like to submit for consideration the following:
Two-way binding annotations signal an intention from the element author that - even if a property is marked as readOnly - the property should be updated when the bound value notifies. Perhaps Polymer should automatically update readOnly properties in such conditions.

By "local template", I assume you mean the template of the element that has the readOnly property?
I think this would need some additional logic in the notification handling that checked the origin of the notification event.

By "local template", I assume you mean the template of the element that has the readOnly property

Yes.

@cdata @azakus
I'd like to know is this issue related to my question.
When I set property si of my-element to be readOnly: true, and bind si to the attribute of selected-item of a iron-list, which is a child element of my-element. It does not update the value of si.

Addition:
When I bind someReadOnlyProp to a child element, it won't work.
When I bind someReadOnlyProp.subProp to a child element, it works.
I think these two behaviour is inconsistent.

I have a PR for this #3580 ready. My #3551 is a dup of this issue, but it has a better code example why this might be a (really) good change. :cake:

Yup still an issue with Polymer 2: http://jsbin.com/natumubedu/edit?html,console,output


npm run watch --pretty=false

How do I disable pretty URL --pretty=false  while developing with npm run watch ?

You could do something based on the environment, in tasks/build.js.
For example, in Maizzle, I create a variable:
https://github.com/maizzle/maizzle/blob/07727e20944b3ae53820f064a86b155384466c6f/tasks/js/build.js#L24
and then I use it in the command.get():
https://github.com/maizzle/maizzle/blob/07727e20944b3ae53820f064a86b155384466c6f/tasks/js/build.js#L29

That's a great solution, you're also free to add --pretty=false directly to the build command in tasks/build.js if you don't need it controlled by environment.


Add compare_runs report for comparing results of different Robocop runs

Closes #489

I see that I need to add few e2e tests as well to increase coverage.


Truncated pretty printing

This fixes my problem at https://github.com/Julian/jsonschema/issues/748, as well of some of the problems at https://github.com/Julian/jsonschema/issues/243
This does not use reprlib, because reprlib converts nested objects into a single string, which makes pretty printing impossible.
Instead, it implements a nested list truncator, with a nice ... formatting.
I would have liked to also truncate dictionaries after ~10 elements, but this is not really viable, as pformat pre python 3.8 unavoidably sorts dictionary keys, and the format looks horrible if you truncate it with ...: .... I left a comment in the code to this effect.
I suspect that list truncation is far more important than dictionary truncation anyway, and this definitely fixes my problem (thousands of lines trimmed down around a screenful.
Happy to take suggestions.

Thanks for giving this a whack, it's again very much appreciated.
I'll give it a closer look, but just initially, I wouldn't want to maintain this much code for this. Essentially the extent I'd want as a default is literally passing a single (existing or other wise <3 line) function that pretty-formats instances. Even if that was somewhere in an external lib. Anyone perhaps such as yourself with a more specific desire to make stuff look a particular way can just stub that in then.
Probably it will require a bit of thinking to see how to propagate that down to the right place, but yeah as-is this is more than I'd want.
Will though take a closer look and try to give more specific suggestions but yeah the backlog seems ever growing...

OK. It probably looks a bit bigger than it actually is, it's heavily documented. You could delete the try-except and just suffer with pformat's dictionary sorting (necessary pre 3.8).
I don't think you'll get anything that does this in 3 lines, because pformat doesn't do truncation, and reprlib doesn't do indentation, so something custom is required. I would think that a third-party dependency would be more effort than it's worth, but if you really prefer it that way, I'd be happy to move this to a separate library (or see if one exists).

Yep, I have to believe a better version of pformat has been written at this point. Worth looking to see. I vaguely recall even coming across one or two in the past year or two.

No, I'm wrong. prettyprinter can do it. Just pushed a new version that uses that. Much simpler code, but with the added dependency.

Not sure if this is the best though, it sometimes results in things like this:
            On instance:
                {
                    'level1': {
                        'level2': {
                            'level3': {...},
                            'level3.1': str(...),
                            'level3.2': str(...),
                            'level3.3': str(...),
                            'level3.4': str(...)
                            # ...and 1 more elements
                        },
                        'longlist': [
                            int(...),
                            int(...),
                            int(...),
                            int(...),
                            int(...),
                            # ...and 15 more elements
                        ]
                    }
                }

Not sure why the int/str printing. Will ask on the prettyprinter page.

https://github.com/tommikaikkonen/prettyprinter/issues/79


Automatically using secondary hand when accessing gui's conduit

Issue Description:
Undesired behavior when accessing gui's conduits (energy or item conduit) and you have an item/block that can be used/place in your secondary hand and no item on your main hand.
What happens:
The character automatically will interact with the world using the item in its secondary hand, right after accessing gui's conduit.
What you expected to happen:
The character must do nothing with its secondary hand when accessing a gui, it should just open it.
Steps to reproduce:

Create a new World (with cheats enabled)
Place an energy conduit connected to a EnderIO machine.
Put some food on your secondary hand
Write this command: /effect @p minecraft:hunger 3 100
Access the conduit configuration through black box atached to the block with nothing in your main hand.
After the GUI shows up, the player will automatically eat the food.

Affected Versions (Do not use "latest"):

EnderIO: <IP_ADDRESS> beta
EnderCore: <IP_ADDRESS> beta
Minecraft: 1.10.2
Forge:<IP_ADDRESS>5

Your most recent log file where the issue was present:
No log for this issue since the debug log doesn't show anything related to this.

known issue, happens for the main hand, too


[Bug]:  while running instances for SWE-BENCH instances

Is there an existing issue for the same bug?

[x] I have checked the troubleshooting document at https://docs.all-hands.dev/modules/usage/troubleshooting
[x] I have checked the existing issues.

Describe the bug
When running inference on SWE-BENCH instances with eval limit = 300, I encounter an Attribute Error that does not appear in eval limit = 5.
Current OpenHands version
0.9.2

Installation and Configuration
./evaluation/swe_bench/scripts/run_infer.sh [model_config] HEAD CodeActAgent 300

Model and Agent

Model: openai/gpt-4o-2024-05-13
Agent: CodeActAgent

Operating System
Linux
Reproduction Steps

Set up the environment
Write the Openhands/config.toml as follows (The name of the model_config llm.gpt4o is what I created for convenience):

[core]
workspace_base="./workspace"

[llm.gpt4o]
model="openai/gpt-4o-2024-05-13"
api_key="[your_api_key]"
base_url="https://llm-proxy.all-hands.dev"
embedding_model="openai"

Run
$ ./evaluation/swe_bench/scripts/run_infer.sh llm.gpt4o HEAD CodeActAgent 300

Logs, Errors, Screenshots, and Additional Context
The error should be as follows ((...) is a directory where your Openhands exists) :
[After Running Properly For A While]

ERROR:root:  File "(...)/OpenHands/evaluation/swe_bench/run_infer.py", line 465, in <module>
    run_evaluation(
  File "(...)/OpenHands/evaluation/utils/shared.py", line 278, in run_evaluation
    output = process_instance_func(instance, metadata, False)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "(...)/OpenHands/evaluation/swe_bench/run_infer.py", line 353, in process_instance
    return_val = complete_runtime(runtime, instance)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "(...)/OpenHands/evaluation/swe_bench/run_infer.py", line 275, in complete_runtime
    assert obs.exit_code == 0
           ^^^^^^^^^^^^^
ERROR:root:<class 'AttributeError'>: 'ErrorObservation' object has no attribute 'exit_code'
Instance django__django-11133:   3%| | 9/295 [1:00:50<32:13:15, 405.58s/it, Test Result: {'git_patch'

@xingyaoww not very familiar with the eval part. If you have a few minutes to take a look at this.

Yeah this one was more like a transient issue that I've encountered once in a while - typically, re-running the same instance again would most likely solve the issue.
@JiseungHong can you identify which "instance" this error happens, and can you show the detailed infer_logs for that? e.g., i want to know what action execution leads to this error.

Oh nvm! I saw the line 275 - probably the cd directory command. Can you share the commit you are running on?
This could be fixed by #3829. Can you try that one as well?

@xingyaoww I merged the most recent official repo, but failed again with another error... It seems to be affected by some external environments (docker or disk related), so I'll manage to figure out and run it, thanks!

@JiseungHong Can you share more about the another error? Would https://github.com/All-Hands-AI/OpenHands/pull/3846 helps/

@xingyaoww I would really like to, but I'm currently stuck because of the server problems (docker images). I'll be sharing the errors ASAP when I solve other errors.

The issue here is that in run_infer.py method complete_runtime it does not have an actual assert to assure it is the right result type, e.g.
assert isinstance(obs, CmdOutputObservation)

The result could be an ErrorObservation or any other event, but only CmdOutputObservation has the exit_code attribute.


Use 16-bit hash for history hashing

Use a hash function to map the 64-bit board code to a 16-bit hash, for greater memory density so we can check up to 32 moves back in the history in a single 64-byte typical cacheline size.

I couldn't find a difference here, so reverted the history hash changes but kept the miscellaneous cleanups, and fixed the windows-latest CI build to actually run the tests.


Build new Generator - But where?

Reason/Context
I am kind of new to Electron, Node.js and NPM, was playing around for months with modelina and generator. I choose modelina for csharp and typescript code generation. In my case there is some extras I need to implement. So my plan was to just copy the csharp folder in generator and make my changes, and keep the original as it is. Then I found out there is different directorys to make a new generator and the examples and docs are very unclear. The software needs to be copied hundred times later and should be always updateable, when there is bugs or improvements in modelina.
Where should I put my new Generator? In git-repo/src/generators or in the npm installed \node_modules@asyncapi\modelina\lib(cjs + esm + types)? in both ways I can make my code get to work in my electron application. But what is the default and recomended way?
As far as I understood, the node command build:prod generate the folders (cjs, esm and types) and compile the code somehow. So I think its better to define it in the src and build it.
The problem is, when I generate the files and copy them to my node_modules, with the next update some of the files are overwritten and my own generator isnt working anymore. This case isn´t described or covered by documentation. The examples are also unclear if I can use npm or always have to check them out by git clone.
I also wonder if I can choose a different folder for source of generators instead of the one I get by install with "npm install modelina"
Description
make it clear in the doc readme, where and how you use your amazing tools. You want to gain your users, so make the documentation better and easier to understand. Also describe the build process to make new generators and not just write, copy and look into Typescript Example. Its ways more than this... maybe someone can help me with my detailed questions because this is basics others also struggle.

Hey @julianwue, thanks for the question!
First of I highly recommend you to check out the next branch, which is right around the corner to being released as version 1. Here we documented how to create new official generators, input processors, presets, etc!

I choose modelina for csharp and typescript code generation. In my case there is some extras I need to implement

The whole idea of Modelina is high customization, which means it's built exactly to support your use-case of having different additions to the core generation of models. To me it does not sound like you need a new generator, but rather add custom presets or constraints that will customize the rendering of models.
Let's take a few examples (we have a bunch of examples you can check out here).
If I wanted to change the name of the model being generated in TypeScript, lets's say I always want to prepend MyModel, this is done through the constraints:
const generator = new TypeScriptGenerator({
  constraints: {
    modelName: typeScriptDefaultModelNameConstraints({
      NAMING_FORMATTER: (name) => {
        return PascalCase('MyModel' + name);
      }
    })
  }
});

Constraints are before it reaches the presets and renders the model, read more about the process here, and internal models.
Let's say you want to add custom methods to the C# models, then you create your own preset:
const generator = new CSharpGenerator({
  presets: [
    {
      class: {
        additionalContent({ content }) {
          return `${content}
public double someAdditionalFunctionForClasses()
{
        return 108.4;
} `;
        },
      }
    }
  ]
});

Presets are like layers you can place on top of each other, that extend the default generation process where it's possible to add or overwrite existing generated code.
Please let us know if you'd like more examples or documentation about certain topics, or want to contribute it! Hope that clarifies it, otherwise do let me know 🙂

Hey @julianwue, thanks for the question!
First of I highly recommend you to check out the next branch, which is right around the corner to being released as version 1. Here we documented how to create new official generators, input processors, presets, etc!

I choose modelina for csharp and typescript code generation. In my case there is some extras I need to implement

The whole idea of Modelina is high customization, which means it's built exactly to support your use-case of having different additions to the core generation of models. To me it does not sound like you need a new generator, but rather add custom presets or constraints that will customize the rendering of models.
Let's take a few examples (we have a bunch of examples you can check out here).
If I wanted to change the name of the model being generated in TypeScript, lets's say I always want to prepend MyModel, this is done through the constraints:
const generator = new TypeScriptGenerator({
  constraints: {
    modelName: typeScriptDefaultModelNameConstraints({
      NAMING_FORMATTER: (name) => {
        return PascalCase('MyModel' + name);
      }
    })
  }
});

Constraints are before it reaches the presets and renders the model, read more about the process here, and internal models.
Let's say you want to add custom methods to the C# models, then you create your own preset that adds additional content to the model:
const generator = new CSharpGenerator({
  presets: [
    {
      class: {
        additionalContent({ content }) {
          return `${content}
public double someAdditionalFunctionForClasses()
{
        return 108.4;
} `;
        },
      }
    }
  ]
});

Presets are like layers you can place on top of each other, that extend the default generation process where it's possible to add or overwrite existing generated code.
Please let us know if you'd like more examples or documentation about certain topics, or want to contribute it! Hope that clarifies it, otherwise do let me know 🙂

thanks for the fast reply. I already got some more informations I can use. If I have a more detailed question I will provide it the next days.
Anyway.... can you tell me how long it will take till we get a release of the next 1.0.0 final version? Didn´t find this information somewhere. Is it a matter of weeks or months?

Anyway.... can you tell me how long it will take till we get a release of the next 1.0.0 final version? Didn´t find this information somewhere. Is it a matter of weeks or months?

It really comes down to a lot of variables, as am doing a lot of other tasks around AsyncAPI in general, but I am 🤞 that either before Christmas, or at the very beginning of next year.

@jonaslagoni Hello Jonas,
I have big struggles with the documentation. And hope you have a second to clearify my problems. There is not even one example on how to use constrains and presets with pure JavaScript. What is my usecase because I use Electron with JS. I am now able to rewrite my enum output and include text out of x-definitions to fit my needs. Also I can inject comments into classes and enums... see this example how I did it. All changes in code are done with a preset.
class: { ctor({ content }) { const start = '// ConstructorStart' const end = '// ConstructorEnd' return '${start} \n${content} \n ${end}\n\n'; }}
But there is to much changes to my well formed AsyncAPI Schema definitions right by default c# generator now. I want to use constraints to make chances. But I am not able to make any changes by code and I was debugging every part of it for now. For now I wish to completely disable all constrain logic for a language like c#. I didnt find a way, except overwrite all default settings - and I dont know how to do it.
Also I cant translate this examples https://github.com/asyncapi/modelina/blob/next/examples/overwrite-default-constraint/index.ts into working JS code. Can you help me, with the constraint I have to feed to my
const generatorCSharpFile = new modelina.CSharpFileGenerator({ ...

But there is to much changes to my well formed AsyncAPI Schema definitions right by default c# generator now

Do you mind listing the things about the c# generator that does not make sense?

Also I cant translate this examples https://github.com/asyncapi/modelina/blob/next/examples/overwrite-default-constraint/index.ts into working JS code. Can you help me, with the constraint I have to feed to my
const generatorCSharpFile = new modelina.CSharpFileGenerator({ ...

You should be able to take the example and directly use it in JavaScript 🤔
const generatorCSharpFile = new modelina.CSharpFileGenerator({
  constraints: {
    modelName: ({modelName}) => {
      return modelName;
    }
  }
});

Is there any problems you are encountering?


Document breaking API changes from cordova-plugin-firebase

Documentation issue

Add a sub-section under "Migrating from cordova-plugin-firebase" in the README which explicitly states the breaking API changes.
It should also make it clear that ionic-native/@firebase will not work with this plugin due to the breaking API changes and so how Ionic users can directly use the JS API of the plugin in Typescript (with examples).

Any replacement of ionic-native/@firebase planned ?

@GuiF007 https://github.com/ionic-team/ionic-native/pull/3106

Seems only Ionic v4 ? :(

At least, with ionic v3, the old plugin still works, but I use almost nothing (just automatic events)


feat: time modeling

[ ] I certify that this PR does not contain any code that has been generated with GitHub Copilot or any other AI-based code generation tool, in accordance with this project's policies.

Description
Please describe what this PR does
Testing done

How did you test your changes?
Does this code require any new tests to be written?

Additional info
Resolves #xxxx

did you run cargo fmt on this?


Exclude non-containerized check from containerized osd

This new check was added about a week ago but was missing the criteria to only include in non-containerized OSD.

I think this is still needed for containers. See: https://github.com/ceph/ceph-ansible/pull/1158/files
we consolidate most of the variables, so I think the only check that needs non-container are:

https://github.com/ceph/ceph-ansible/blob/master/roles/ceph-osd/tasks/check_mandatory_vars.yml#L10
https://github.com/ceph/ceph-ansible/blob/master/roles/ceph-osd/tasks/check_mandatory_vars.yml#L23


feat: Add a high-level page about the dev toolbar

Description (required)
Right now it's not super documented that the dev toolbar exists, despite being at the bottom of every single page 😅
This page hopes to serve as an overview of the dev toolbar and its features.

Thank you! Will take a look at this in the next couple of days, when I can sit down and get comfy with it!  :raised_hands:

This is awesome! The dev toolbar definitely needs more attention 🙌

@Princesseuh Would love for you to review the changes I made here! Then, when you're happy, I think this is good to merge!

@Princesseuh Would love for you to review the changes I made here! Then, when you're happy, I think this is good to merge!

Looks great to me! GitHub should really add a way to review my own PR

!coauthor


How to use Arcface to recognize the reconstructed 3d face ?

Thanks for your work, it's very helpful for 3d face recognition.
The question is that how can i use the Arcface work to recognize a 3d face. There's no related content in the README file.

Perhaps your can refer to these lines?
https://github.com/sicxu/Deep3DFaceRecon_pytorch/blob/73d491102af6731bded9ae6b3cc7466c3b2e9e48/models/facerecon_model.py#L152-L154


[R-package] factor out {ggplot2}

Today the R package has a Suggests dependency on {ggplot2}.  This is only for one demo, demo/leaf_stability.R. This pull request proposes factoring it out and replacing it with base R code.
This will allow us to cut out this R CMD check NOTE:

checking package dependencies ... NOTE
Package suggested but not available for checking: ‘ggplot2’

More importantly, it's an expensive dependency that anyone installing the Suggests dependencies of {lightgbm}has to pay for.
Some of these plots look different from the comments around them, but this PR does not address that...it can be addressed in #1944 . This PR is limited to just factoring out {ggplot2}, to make the package as lightweight as possible when it goes to CRAN (work-in-progress, #629 ).
Comparisons
I've included before and after screenshots for each plot below. The "Depth Density" plots look noticeably different, I think because of changes in how geom_density() works in {ggplot2}. demo/leaf_stability.R was written more than 3 years ago.
Thanks to @alistaire47 for helping me with {ggplot2} stuff 😀
plot 1
before

after

plot 2
before

after

plot 3
before

after

plot 4
before

after

plot 5
before

after

plot 6
before

after

plot 7
before

after

plot 8
before

after

@jameslamb Can we now remove these lines?
https://github.com/microsoft/LightGBM/blob/50560573487e677037d392bfc0411e178ea80e6f/.ci/test_r_package.sh#L117-L118
https://github.com/microsoft/LightGBM/blob/50560573487e677037d392bfc0411e178ea80e6f/.ci/test_r_package_windows.ps1#L141

oooooooooooooooo yes we can! I forgot about those. Yes I'll remove them right now. We can always add back if we introduce new Suggests dependencies (like whenever #1944 is picked up, for rmarkdown) but for now it would be better to simplify those files.
I'll open a PR right now, thanks for the suggestion!


Re-connected Ankaios agent not receiving deleted workload when no added workloads are sent

When an Ankaios agent has assigned one workload and the workload will be deleted during the Ankaios agent is disconnected, then the Agent does not delete this workload once it reconnects to the Ankaios server.
Current Behavior

A reconnected agent with only one workload that will be deleted during the agent is disconnected will lead to a running workload that is not anymore in the desired state and the deleted workload will not be deleted. The agent is blind and does nothing with this workload on startup because the Ankaios server does only sent the added workloads and the workload states when an agent connects.
If the agent has assigned more then one workload and other workloads are not deleted during the agent is disconnected then the Agent receives added workloads from the server and the initial resume/replace logic of the agent runs which correctly deletes the deleted workload. The agent enforces correctly the desired state in this situation.
Expected Behavior

An Ankaios agent shall always enforce the desired state of the Ankaios server and shall not be out of sync.
Steps to Reproduce

Start an Ankaios server with server/resources/startConfig.yaml
Start one Ankaios agent with name agent_A to make sure that only the nginx workloads runs (the rest of the workloads inside the startConfig can be ignored for this situation)
Disconnect the agent after its workload nginx has the running state
Execute an ank -k set state desiredState emptyState.yaml containing an empty state to delete all workloads or use ank -k delete workload nginx
Start the agent_A again in the other terminal window.
Check the logs of server and agent

The agent connects to the server awaiting new commands of it, but since there are no new workloads of that agent inside the desired state, the server sends nothing to this agent.
Context (Environment)

Logs

Additional Information

Final result

To be filled by the one closing the issue.

Currently working on this.

After discussions with @krucod3 and @inf17101, the preferred approach will be as follows.
A new message is created, called ServerHello (name can be changed) as a response to the AgentHello, with information regarding the added workloads of the agent that connected. This way, the functionality remains the same and also this corner-case is covered.
This way, we separate the first response of the server from the regular updates, improving the overall logic of the code and making possible future improvements regarding configuration for the agents.

@GabyUnalaq, PR merged.


[WIP] Revert "remove linux support for the time being"

This reverts commit 0fe66a56d59ffb5feddbee33b7f1da3b3144d45c.

Ridiculed by https://github.com/reneme/conan-keychain/pull/2


Bosch Compress 7000i AW is "unknown null"

When attempting to integrate my Bosch Compress 7000i AW heat pump with Home Assistant, the integration fails to initialize and returns the message Your device is unknown null. Despite verifying credentials and configuration, the device is not recognized.
It worked fine before, it just stopped working someday and i can not get it back up (delete and reinstall integration)
To Reproduce

restart HA
Bosch Home integration restarts but fails to intialize and says "
Reinstall

Expected behavior
Initialisation succesfull
Screenshots
See attached
Version
Core 2024.11.1
Supervisor 2024.11.2
Operating System 13.2
Frontend 20241106.2
HA Bosch component version:
0.26.3
** Debug SCAN **
** IMPORTANT **
I can not find the debug scan, it is not in the menu!
Protocol says:
2024-11-11 23:26:23.040 ERROR (MainThread) [bosch_thermostat_client.gateway.ivt] I cannot find supported device. Your devices: null
2024-11-11 23:26:23.041 ERROR (MainThread) [custom_components.bosch] Your device is unknown null
2024-11-11 23:26:23.041 ERROR (MainThread) [custom_components.bosch] You might need to check your password.

Additional context
Add any other context about the problem here.

I have the same problem, with a Buderus heat pump connected through the MX300 "Connect-Key". But I only tried this today for the first time, so cannot say anything about changes in my setting...
However, the MX300 did request firmware updates as soon as I first started the Bosch EasyCom app, and now seeing your report, I do wonder whether such an firmware update broke your connection ability?
Alternatively, is there anything firewall related? This is all in the internal IP space, so the router should not be the culprit, but who knows...

Same here, any news ?

Same problem here with my Bosch EasyControl. Any solution?


Add handlers for the oauth redirect back to the app.

This adds handles and some logging around the oauth urls back to the app and serves as an example of how one might handle the redirect back to their own app.
This simply logs out if it was success or error and what the member guid was.

This also adds the ability to handle window.open calls within in the widget.


[Modules] Added new bicep features to tests

Description

Introduced a special azure tag that becomes visible on the Azure Resource for reference
Introduced CIDR function to be used for subnet generation

Pipeline references

For module/pipeline changes, please create and attach the status badge of your successful run.

Pipeline

Type of Change
Please delete options that are not relevant.

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Update to documentation

@AlexanderSehr I've reviewed this and OK with it. Did you want to validate README's before we merge given recent updates on modules?

@AlexanderSehr I've reviewed this and OK with it. Did you want to validate README's before we merge given recent updates on modules?

Hey Ahmad, which recent updates? There seem to be no conflicts, but I can regenerate the docs again based on latest main just in case

@AlexanderSehr I've reviewed this and OK with it. Did you want to validate README's before we merge given recent updates on modules?

Hey Ahmad, which recent updates? There seem to be no conflicts, but I can regenerate the docs again based on latest main just in case

Done, no changes


Default connection type should not be enhanced active/passive

I've noticed that enhanced active and passive mode don't work quite so well with some FTP servers. The reason FileZilla can work with them because it doesn't seem to use it, and instead uses regular passive mode. - @artiomchi

We need to see how to make regular passive and active modes the default / recommended option instead of enhanced, to be more similar to FileZilla and reduce the number of out-of-the-box issues.

I was thinking about that, and I was wondering if there's an issue with the enhanced implementations.
Even if the issue is on the server side, it would be cool if the library could fall back to regular modes in case of known errors.
To do this, the best thing to do is get some test servers and run some experiments.
I'm planning to spin up several different ftp servers soon, but I don't have a time estimate just yet on that

Fixed when using AutoDetect() in 26.0.1.
We now select protocols in this order of preference:

FtpDataConnectionType.PASV (passive)
FtpDataConnectionType.EPSV (enhanced passive)
FtpDataConnectionType.PORT (active)
FtpDataConnectionType.EPRT (enhanced active)
FtpDataConnectionType.PASVEX


added dockerfiles

Description

fixes
https://github.com/jef/nvidia-snatcher/issues/11 sorta

These are a set of docker files to build and run this inside a docker container. With chrome sandboxing. X11 forwarding instructions will soon follow if people want that. Sorta fixes issue 11 but its really meant as a easy way to get it up and running on a server to get notifications and can't do the automated browser workflow. (yet)

discord
mrsour#2727

Testing

New dependencies

This doesn't work for me. Maybe I'm doing it wrong. I'd recommend adding instructions at the very least before this gets merged in.

This doesn't work for me. Maybe I'm doing it wrong. I'd recommend adding instructions at the very least before this gets merged in.
I built with:
docker build --tag nvidiasnatcher:1.0 .
# Update docker-compose to reference nvidiasnatcher:1.0
docker-compose up

This resulted in
Starting nvidiasnatcher_nvidia-snatcher_1 ... error
ERROR: for nvidiasnatcher_nvidia-snatcher_1  Cannot start service nvidia-snatcher: Decoding seccomp profile failed: invalid character 'c' looking for beginning of value

ERROR: for nvidia-snatcher  Cannot start service nvidia-snatcher: Decoding seccomp profile failed: invalid character 'c' looking for beginning of value
ERROR: Encountered errors while bringing up the project.

Updated docker-compose to a newer version that supported seccomp. It starts up now, but fails to run and it exits.
WARNING: Found orphan containers (nvidiasnatcher_nvidia-snacher_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Removing nvidiasnatcher_nvidia-snatcher_1
Recreating 4dbac5b61ac6_nvidiasnatcher_nvidia-snatcher_1 ... done                                                                                Attaching to nvidia-snatcher_nvidia-snatcher_1
nvidia-snatcher_1  | (node:6) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process!
nvidia-snatcher_1  | Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
nvidia-snatcher_1  | [0922/055014.437055:FATAL:zygote_host_impl_linux.cc(190)] Check failed: ReceiveFixedMessage(fds[0], kZygoteBootMessage, sizeof(kZygoteBootMessage), &boot_pid).
nvidia-snatcher_1  | Received signal 6
nvidia-snatcher_1  |   r8: 00007fffa4596c34  r9:<PHONE_NUMBER>0000a2 r10:<PHONE_NUMBER>000008 r11:<PHONE_NUMBER>000246
nvidia-snatcher_1  |  r12: 00007fffa4597270 r13: 00007fffa45971ac r14: 00007f99332c6aa0 r15:<PHONE_NUMBER>0000a0
nvidia-snatcher_1  |   di:<PHONE_NUMBER>000002  si: 00007fffa4596b00  bp: 00007fffa4596b00  bx:<PHONE_NUMBER>000000
nvidia-snatcher_1  |   dx:<PHONE_NUMBER>000000  ax:<PHONE_NUMBER>000000  cx: ffffffffffffffff  sp: 00007fffa4596af8
nvidia-snatcher_1  |   ip: 00007f99341e86e2 efl:<PHONE_NUMBER>000246 cgf: aaaa000000000033 erf:<PHONE_NUMBER>000000
nvidia-snatcher_1  |  trp:<PHONE_NUMBER>000000 msk:<PHONE_NUMBER>000000 cr2:<PHONE_NUMBER>000000
nvidia-snatcher_1  | [end of stack trace]
nvidia-snatcher_1  | Calling _exit(1). Core file will not be generated.
nvidia-snatcher_1  |
nvidia-snatcher_1  |
nvidia-snatcher_1  | TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
nvidia-snatcher_1  |
nvidia-snatcher_1  |     at onClose (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:193:20)
nvidia-snatcher_1  |     at ChildProcess.<anonymous> (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:184:79)
nvidia-snatcher_1  |     at ChildProcess.emit (events.js:327:22)
nvidia-snatcher_1  |     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
nvidia-snatcher_1  | (node:6) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
nvidia-snatcher_1  | (node:6) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
nvidia-snatcher_nvidia-snatcher_1 exited with code 0```

That error you have is because of how chrome does sandboxing  - seccomp:chrome.json is what supposed to fix that. Docker version and platform?

I can't reproduce the error on my machine which is why I suspect maybe its the docker version or platform your running on https://github.com/Zenika/alpine-chrome#3-ways-to-securely-use-chrome-headless-with-this-image Heres the docs on the chrome image this uses. I included the seccomp profile because otherwise you have to turn the sand box off or run the container as admin neither of which seemed very appealing to me.
Sending build context to Docker daemon  830.5kB
Step 1/17 : FROM node:14-alpine AS builder
 ---> b85fc218c00b
Step 2/17 : WORKDIR /usr/src/app
 ---> Using cache
 ---> 338126af2d2e
Step 3/17 : COPY package*.json ./
 ---> Using cache
 ---> a1f4f50817be
Step 4/17 : RUN npm ci
 ---> Using cache
 ---> bf6975c1c519
Step 5/17 : COPY tsconfig*.json ./
 ---> Using cache
 ---> 8a5063501283
Step 6/17 : COPY src src
 ---> a6fd781c813a
Step 7/17 : RUN npm run build
 ---> Running in 208d9403e090

><EMAIL_ADDRESS>build /usr/src/app
> rimraf ./build && tsc

Removing intermediate container 208d9403e090
 ---> 26a9f9fa7c3f
Step 8/17 : FROM zenika/alpine-chrome:with-node
 ---> 36ddb624eb97
Step 9/17 : USER chrome
 ---> Using cache
 ---> 606b522cfb1a
Step 10/17 : ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD 1
 ---> Using cache
 ---> 64a246b886d2
Step 11/17 : ENV PUPPETEER_EXECUTABLE_PATH /usr/bin/chromium-browser
 ---> Using cache
 ---> d37c503a4216
Step 12/17 : WORKDIR /usr/src/app
 ---> Using cache
 ---> e44101c0e3b6
Step 13/17 : COPY --chown=chrome package.json package-lock.json ./
 ---> Using cache
 ---> d37879cc2919
Step 14/17 : COPY --chown=chrome tsconfig*.json ./
 ---> Using cache
 ---> 848d43e224eb
Step 15/17 : RUN npm install
 ---> Using cache
 ---> 648b7173bd4f
Step 16/17 : COPY --from=builder --chown=chrome /usr/src/app/build/ build/
 ---> 7a2d82f71f20
Step 17/17 : ENTRYPOINT [ "tini","--", "node", "build/index.js" ]
 ---> Running in 9904d9b7171e
Removing intermediate container 9904d9b7171e
 ---> b1751b40c27f
Successfully built b1751b40c27f
➜  nvidia-snatcher git:(main) vim docker-compose.yml
➜  nvidia-snatcher git:(main) ✗ docker-compose up
Recreating nvidia-snatcher_nvidia-snacher_1 ... done
Attaching to nvidia-snatcher_nvidia-snacher_1
nvidia-snacher_1  | [3:47:26 PM] info :: ✖ [bestbuy] still out of stock: evga xc3 black```

I think I see your issue Cannot start service nvidia-snatcher: Decoding seccomp profile failed: invalid character 'c' looking for beginning of value Pretty sure you accidentally added a c maybe while you were looking at the seccomp profile ^c accident maybe? If you repull that fine you should be good.

Busy at work, which is why I haven't responded, but the seccomp issue was a
docker-compose bug that I resolved by upgrading to a newer docker-compose.
The app now runs but spits out the message I posted earlier.
On Tue, Sep 22, 2020, 12:45 PM Christopher Sauer<EMAIL_ADDRESS>wrote:

I think I see your issue Cannot start service nvidia-snatcher: Decoding
seccomp profile failed: invalid character 'c' looking for beginning of value
Pretty sure you accidentally added a c maybe while you were looking at
the seccomp profile ^c accident maybe? If you repull that fine you should
be good.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jef/nvidia-snatcher/pull/174#issuecomment-696940581,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4RLJHGIC25YWUKTIFYC33SHD5FTANCNFSM4RU5U6JA
.

docker info and i'll try to see whats up.  I even had to reset docker at one point. you can also look at running the container as admin with SYS_ADMIN  but I would bet if its not working with the seccomp profile adding the admin flag wont do much. We can also maybe add a .env option to the code to pass in --no-sandbox which would then just disable it.

@mr-sour the --no-sandbox arg will be supported when #209 is merged. I'm running a headless container with this setup and it's working well. One feature which would be nice to have in this PR or another one would be a customizable screenshots directory. At the moment they're written to whatever the current working directory is, which can often be expected to be the app directory itself.

docker info and i'll try to see whats up.  I even had to reset docker at one point. you can also look at running the container as admin with SYS_ADMIN but I would bet if its not working with the seccomp profile adding the admin flag wont do much. We can also maybe add a .env option to the code to pass in --no-sandbox which would then just disable it.

`Client:
Debug Mode: false
Server:
Containers: 2
Running: 1
Paused: 0
Stopped: 1
Images: 18
Server Version: 19.03.13
Storage Driver: overlay2
Backing Filesystem: btrfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 8fba4e9a7d01810a393d5d25a3621dc101981175
runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 3.10.0-1127.18.2.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 31.06GiB
Name: MediaServer
ID: JIEF:RRVJ:ZTVZ:AVB3:UMJN:TK55:4O6V:M2UL:UKL6:7ZWE:OHF2:OE4Y
Docker Root Dir: /Media/data/docker-data
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
<IP_ADDRESS>/8
Live Restore Enabled: false`

bump. this gonna get merged?

Most likely not, I think https://github.com/jef/nvidia-snatcher/pull/411 will supercede this, although I want a few more changes in there before this goes.


Performance degradation on Firefox

The create instance page becomes slow with deeply nested attributes, a quick performance check indicates that the majority of the time in these cases is spent on calculating the layout. This can cause the application to be very difficult to use or be unusable in practice.
This issue is only present on Firefox, Chrome can handle the same form without any noticeable issues.

Closing this ticket in favor of #2157, as agreed on the standup,


Move all HTTP request logic to a single file - DO THIS FIRST

Currently, each HTTP request is made by a different file. There should be a single utility responsible for making these requests so that the code is not copy-pasted each time a new function is added. While working on this issue, look for other repeated logic that can be moved into utilities and create new issues for those.

F16 OK (200 pts)


Training code for Cosmo-1B?

Awesome work 🙂
Is there any plan to release the training code for cosmo-1b? Or at least details about what existing repos and framework tools were used?

Hi, we used an internal wrapper around nanotron framework, this is the training config (you will need to adapt it to work with nanotron)


⚠ ClamAV has degraded performance

In b35d8a0, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 220 ms

Resolved: ClamAV performance has improved in 06973b7.


Doesn't redirect if within the YouTube SPA

If navigating within the YouTube SPA, the background script's event listener doesn't fire. A full page reload will cause the redirect though.
I'm not sure yet what API to use to fix it. Maybe this one, but I'm not sure how to send the redirect:

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webNavigation/onBeforeNavigate

Another idea is to redirect using a content script and window.location.href.

Fixed in version 1.1.0.


[W6.4d][T11-B4] Artsiom Skliar

Implemented polymorphic method isMutating() to only store data when data has been changed.

@Articho28
Some comments added. Please close the PR after reading comments.


DateUtils.swift fatal error on line 65

Hi, sometimes I get this error that prevents my app from launching:
awesome_notifications/DateUtils.swift:65: Fatal error: Unexpectedly found nil while unwrapping an Optional value
To be able to get the app working again (even start) I must remove the app and install again.
To be honest I don't know how to debug it. Is it a known issue? Could it be for example caused by a badly created notification?
It happens everywhere (simulator, device, testflight)

Try to switch to the last 0.7.0 beta version and join in our discord server to receive updates.

Hi! Sorry for taking so long to respond to your issue on GitHub. I was focused on releasing the new 0.7.0 version of awesome_notifications and awesome_notifications_fcm and i didn't had time enough to do both. But now I can answer all your questions.
So now i'm asking you to recreate this topic using the new issue template. There's a lot of missing informations that i need to understand your problem, and all the instructions are already in the new issue template. Also, remember to check beforehand if your issue was posted by another user.
So I will automatically close all previous issues so far.
Sorry for the inconvenience and i will be waiting for your new issue request.
Thank you so much for your support!


Check that the query ID matches the answer ID.

Reduce some code duplication by making Exchange() use Client.Exchange().
When performing an Exchange if the query ID does not match the answer ID
return an error.  Also add a test for this condition.

Thanks. the query id fix is good.
I think I want to keep exchange as a light weight alternative to client.Exchange(). client.Exchange does a bunch of things (and allocates a lot more things) that only make sense if you can access the actual client structure.

Updated.


ERROR [HY000] [Microsoft][Zoho] (30)  Error with HTTP request, response code: 400. Message: Unknown error from server". I am getting this error trying to use the Query to preview Data

ERROR [HY000] [Microsoft][Zoho] (30) Error with HTTP request, response code: 400. Message: Unknown error from server". I am getting this error trying to use the Query to preview Data

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

ID: 2cf9edb6-5b9b-6ef4-a7bb-137871b0e2b5
Version Independent ID: 8067eb77-b429-e1c0-ae1a-7278bf231da5
Content: Copy data from Zoho (Preview) - Azure Data Factory & Azure Synapse
Content Source: articles/data-factory/connector-zoho.md
Service: data-factory
Sub-service: data-movement
GitHub Login: @jianleishen
Microsoft Alias: jianleishen

@sc-jlyma
Thanks for your feedback! We will investigate and update as appropriate.
It would be great if you could add a screenshots or link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

Hi @Naveenommi-MSFT
I tried use the Query tab.
I used this Scopes for Zoho:
ZohoCRM.settings.all,
ZohoCRM.modules.ALL,
ZohoSearch.securesearch.READ,
ZohoAnalytics.data.create,
ZohoAnalytics.data.read,
ZohoAnalytics.data.update,
ZohoAnalytics.metadata.read,
ZohoCRM.coql.READ

@sc-jlyma
The 400 (Bad Request) status code indicates that the server cannot or will not process the request because the received syntax is invalid, nonsensical, or exceeds some limitation on what the server is willing to process. It means that the request itself has somehow incorrect or corrupted and the server couldn't understand it. The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method . Therefore, it prevents the website from being properly displayed. The main thing to understand is that the 400 Bad Request error is a client-side error. The cause of a 400 error can be a wrongly written URL or a URL that contains unrecognizable characters. Another cause of the error might be an invalid or expired cookie. Also, if you try to upload a file that's too large. If the server is programmed with a file size limit, then you might encounter a 400 error.
if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

Hi @Naveenommi-MSFT this one https://learn.microsoft.com/en-us/azure/data-factory/connector-zoho?tabs=data-factory

@sc-jlyma
The 400 (Bad Request) status code indicates that the server cannot or will not process the request because the received syntax is invalid, nonsensical, or exceeds some limitation on what the server is willing to process. It means that the request itself has somehow incorrect or corrupted and the server couldn't understand it. The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method . Therefore, it prevents the website from being properly displayed. The main thing to understand is that the 400 Bad Request error is a client-side error. The cause of a 400 error can be a wrongly written URL or a URL that contains unrecognizable characters. Another cause of the error might be an invalid or expired cookie. Also, if you try to upload a file that's too large. If the server is programmed with a file size limit, then you might encounter a 400 error.
Could you please check above things.

@sc-jlyma
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

Was there ever any resolution to this issue or further direction provided?  I am also seeking to ingest our Zoho data via Azure Data Factory.  I have a linked service that connects successfully using the Zoho (Preview) connector inside of ADF and following the documents located at https://learn.microsoft.com/en-us/azure/data-factory/connector-zoho?tabs=data-factory#linked-service-properties.  Despite being able to query APIs via Postman, the ADF connector continually returns a 400 error when trying to use it as detailed above in this post.
Any assistance would be appreciated.

Same issue here. Connector seems broken. What are the alternatives to ingest Zoho data from Synapse?


C4TextShape doesn't parse numbers as strings

Creating a shape from a string such as: "C4"
Will only result in a shape that has either "C" or "C▢" depending on the font.
I believe this has to do with CTFontGetGlyphWithName because, in the following:
let str = String(character)
let cfstr = str as CFString
var glyph = CTFontGetGlyphWithName(ctfont, cfstr)

both str and cfstr have values of "4".

fixed with: https://github.com/C4Framework/C4iOS/commit/5b8765f0b882d648926e828da33de72a90859cdd


forge: make forge script create2deployer configurable.

Component
Forge
Describe the feature you would like
when forge create using create2, the default deployer is 4e59b44847b379578588920ca78fbf26c0b4956c.
I think we need to make it configurable via cmd args or env or both.
Additional context
No response

Thanks for your suggestion, marking as duplicate of https://github.com/foundry-rs/foundry/issues/2638


BUILD ERROR  @import url('~assets/...) wasn't found

Type of Issue
[ ] Bug Report
[x] Feature Request

Description
I want to have a relative path from my package inside node_modules to a less file which is located in assets folder of my application.
/node_modules
        ---------@myPackage/ui-date-picker
/src
       --------assets/styles/custom-theme.less'

'less' file of my application (ui-date-picker) that I want to package it, is some thing like this:
date-picker.component.less:
@import url('~assets/styles/custom-theme');
the assets folder is not supposed to be Inside this app. I want to refer to assets out of this package.
when I want to package my app I get this error:
BUILD ERROR
'~assets/styles/custom-theme.less' wasn't found.

when I buld it or serve it as 'aot', it is OK but when I want to package it, it's not possible.
when I change it to :
@import '../../assets/styles/custom-theme';
is OK but the problem is, it refer to assets of Inside package not outside one.
I'll appreciate  If somebody let me know how to do it.
Version Information
$ node_modules/.bin/ng-packagr --version
ng-packagr: ^2.4.2
@angular/*: ^5.2.0
angular/cli: ~1.7.4
typescript: ~2.5.3
rxjs: ^5.5.6
node: v8.11.1
npm: 5.6.0

I am not sure if I fully understand the issue here, but, a library shouldn't depend on an application, but rather vice-versa.
When a library when you use ~assets you are telling the library to locate that less or sass file from node_modules in this case it will be node_modules/assets/styles/custom-theme
https://github.com/webpack-contrib/sass-loader#imports


Add example engines

Simple example engines can be useful for learning how to use the library as well as for having more opponents out of the box. This adds three more engines that users can choose from.

Do you want them in the engine/tournament def file, and not some separate sample engines file? Fine with me just thought I'd ask though!

It seems reasonable to me to have these simple ones available in the engine module, but we can always move it later if it makes sense.


InfectionsWithFeedback requires gen_int and inf_feedback_pmf to be of same length

We should remove this constraint or at least document it so that we get useful error messages.

This is a bit linked to #458 . I think you might want to be more flexible in general with double_convolve_scanner.


How would you update an existing variable?

if $(myvar) is initialized with a value of val1, and I run ##vso[task.setvariable variable=myvar]val2, will it actually update myvar? or it will create another myvar variable with a limited scope with val2?
pretty much I want to know how to update a value during different stages and tasks.

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

ID: dd7e0bd3-1f7d-d7b6-cc72-5ef63c31b46a
Version Independent ID: dae87abd-b73d-9120-bcdb-6097d4b40f2a
Content: Variables - Azure Pipelines
Content Source: docs/pipelines/process/variables.md
Product: devops
Technology: devops-cicd
GitHub Login: @steved0x
Microsoft Alias: sdanie

If the variable is not marked as an Output variable i.e. does not have isOutput=true, then the new value myvar will be applicable to the rest of steps in the job. It will overwrite the existing value.
If you mark isOutput=true, then it would create a new variable as .myVar

Thanks for your question. It looks like your question isn't an issue with the documentation, but an issue or question specific to your implementation or a bug in the product itself.
For help with a specific task, here are a couple of options where you might consider asking your question:

Azure DevOps on Stack Overflow
Azure DevOps Support Bot

If you've encountered an issue with the product itself, to make sure it gets in front of the right people, please submit your bug here.
If you have an idea for improving the product, please submit your idea here.


Can you create a callback when Clusterize finished to work ?

Hi there,
Could we imagine I could use Clusterize.js to wait when it finishes to work to do some other javascript ? In fact I would like to apply DataTable.js to filter my values, but when I use it DataTable says to me that the table does not have any rows, and in fact it is because Clusterize.js was still working on it. I imagine somethings like :
var data = [];

for( var i = 0; i < 9000; i++ ) {
	data.push('
Hello World!
');
}

var clusterize = new Clusterize({
	rows: data,
	scrollId : 'scrollArea',
	contentId: 'contentArea',
	callbacks: {
		clusterReady: function() {
			$('#scrollArea>table').DataTable(); // Here would be great !!
		}
	}
});

If you can do this this library would be one of my best friend !

I tryied on JSFiddle, this work for a small amount of data : https://jsfiddle.net/cLp25uww/2/, but with a large amount of data : https://jsfiddle.net/cLp25uww/1/ DataTable throw an error cannot set property of undefined.


Variant annotation sets get

Add variantannotationsets-get to the CLI client. close #1092

Excellent, thanks. +1


VMSS Extension issue "The property 'CachedDataSyncPort' cannot be found on this object."

Hi Experts,
When I tried to executed terraform script to create a vmss resource, code similar to:
`resource "azurerm_virtual_machine_scale_set" "broker" {
name                         = "${local.prefix}-broker"
...
extension {
name                 = "ConfigureBroker"
publisher            = "Microsoft.Powershell"
type                 = "DSC"
type_handler_version = "2.73"
settings = <<SETTINGS
{
    "ModulesUrl": "${***.url}",
    "SasToken": "${***.sas}",
    "ConfigurationFunction": "VMConfiguration.ps1\\Broker",
    "Properties":{
      "is_staging":"${var.is_staging}",
      "service_name":"${var.service_name}",
      "client_id":"${var.vault_client_id}",
      "certificate_thumbprint":"${trimspace(data.local_file.kv-thumbprint.content)}",
      "vault_name":"${azurerm_key_vault.wem-keyvault.name}"
    }
}
SETTINGS

}
it thrown error as below:
Error: Code="VMExtensionProvisioningError" Message="VM has reported a failure when processing extension 'ConfigureBroker'. Error message: "DSC Configuration 'Broker' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource  failed to execute Set-TargetResource functionality with error message: The property 'CachedDataSyncPort' cannot be found on this object. Verify that the property exists and can be set.  The SendConfigurationApply function did not succeed."."
on broker.tf line 35, in resource "azurerm_virtual_machine_scale_set" "wem-broker":
35: resource "azurerm_virtual_machine_scale_set" "wem-broker" {
`
Not sure what the  property 'CachedDataSyncPort' is, while the dsc powershell could works in the local environment.
[Expected]
It should works fine.

Hi @ForrestIsARealGoodman,
I think you've posted this in the wrong GitHub repository; This repository is for Elastic's Azure Marketplace, an Azure Resource Manager template for deploying the Elastic Stack to Azure. Terraform is not used by this template. I can't determine based on the information presented where it might be best to direct you to open an issue, but I am going to close this issue here.

Sorry for posting it in wrong site.
Thanks anyway.


[v3.0.0-dev.10] Archive with specific audio and/or subtitles gives unexpected argument

Describe the bug
When trying to use the archive command with -a and/or -s. The error error: unexpected argument '-a/-s' found is thrown.
To Reproduce
Steps / command to reproduce the behavior:
$ crunchy archive -a ja-JP -s en-US {url}

Expected behavior
I would expect no error and it run like normal
Client (please complete the following information):

OS: Ubuntu 22.04 Server (headless)
Version 3.0.0-dev.10 (ee1344f 2023-04-09)]>

Additional context
On Windows 11, although it does error. It seem subsequent calls do end up having having those settings. Not the same on Linux.

The flag to set audio languages in archive is -l, not -a (a bit confusing that archive and download have different flags to specify the audio, I think I'll change this).

Okay. I was following the README, so would be awesome to see the flags updated to match. For now I will use -l. Thank you for the quick response!


Exclusive Canonicalization handles entities improperly which causes invalid digests

The problem came up when I had " as part of the node's text, it was being translated to ". However, according to the spec, it should only be replaced when used in attribute's value, not text.
http://www.w3.org/TR/2001/REC-xml-c14n-20010315#Example-Chars
It also seems that attributes use incomplete list of allowed entities (missing
 and 	).

I am having the opposite problem; whem I pass " as a nodes value it comes out (after signing) as a regular " breaking signature :/
To reproduce; https://tonicdev.com/renatoargh/569eed41c4e01c0d005a3327 (expand the results and click Full Text)
Any ideas?

does it work if you use getSignatureXml() instead of getSignedXml() and construct the final result yourself? what if you use "? I think it might be an issue with the xmldom dependency, you can verify by loading some xml with quote to it and then run toString() on the node.

I ran into the same issue and found the cause. The ExclusiveCanonicalization replaces certain characters with entity references.
The problem is that it uses the same replacement maps for attributes and text. This is wrong:

Encoding of special characters as character references in attribute values (&, <, ",
,
, 	)
Encoding of special characters as character references in text (&, <, >,
)

The solution would be to create separate normalizing functions for normalizing attribute values and text.


Support depresolve on raw NPMjs

Most packages on NPM won't have a github repo attached to them.
Currently it seems like srclib just fails to resolve dependencies when they don't have a github url attached to it.
In reality all of these dependencies can be resolved to https://www.npmjs.org/package/[PACKAGE NAME].  In fact github is less ideal than npmjs because head on a git repository is not necessarily version as represented by npmjs releases.  This will lead to inaccurate builds.
Related: https://github.com/sourcegraph/srclib/issues/105

note: does it support peerdeps? I'll look into this later.

Currently, srclib assumes all dependencies are resolvable to a git repository, but this assumption breaks for a lot of package management systems, including the case mentioned above. FYI, in the near future, we want to move to a model that doesn't make this assumption, so we can have source units that are found at arbitrary URLs (not just ones that resolve to git repositories).

We already have an "archive" VCS type that we define in pydep.  "NPM" can be considered a VCS and will be used as the method to checkout code from the registry anyways.

We're restarting development on this, so closing outstanding issues for now since they are likely out of date. Please re-open if still relevant.


How to delay a dispatch

How can I use dispatch inside setTimeout?
const addFavoriteDeveloperLogic = createLogic({
  type: ADD_FAVORIT_DEVELOPER,
  latest: true,
  warnTimeout: 0,
  processOptions: {
    dispatchMultiple: true,
  },
  process({ getState, action }, dispatch, done) {
    return axios.post(routeNames.API_CUSTOMER, action.payload.body)
      .then(resp => resp.data)
      .then(data => {
        dispatch({ type: ADD_FAVORIT_DEVELOPER_SUCCESS, payload: {error: false, showAlert: true, alertMessage: "Added developer to favourite list!"} })
        setTimeout(() => {
          dispatch({ type: ADD_FAVORIT_DEVELOPER_SUCCESS, payload: {error: false, showAlert: false, alertMessage: "Added developer to favourite list!"} });
          done();
        })
      })
      .catch(err => dispatch({ type: ADD_FAVORIT_DEVELOPER_FAILED }))
      .then(() => done());
  }
});

You can use a timeout but in your example you would need to make sure that you don't call done before.
So you can remove then(() => done()) and put a done inside the catch. You are also missing the second parameter of the setTimeout, how much time do you want to wait?

Thank you @cesarp, it is working now.


Add Medicine module

Add new module with following functionalities:

specialty: link
condition: link
medicalTest: link

I am just implemented this, can you assign this to me and check my pr


[stable/redis] Add masterAuth property to redis master

Signed-off-by: Miguel A. Cabrera Minagorri<EMAIL_ADDRESS>
What this PR does / why we need it:
This PR adds a new parameter to the redis master statefulset template. It is necessary because when the master dies a new master is elected and the old master needs to have the password to connect with the new as slave.
Now, if the master dies, it cannot connect with the new master.
Which issue this PR fixes

fixes #14627

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/cc @carrodher

/ok-to-test
/lgtm

It seems a revision of the chart was released since you created the PR. Could you please rebase from master, update the Chart.yaml and update the PR? Thanks in advance.

Sure, updated.


⚠ Bofrost.de has degraded performance

In 145b1d5, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1605 ms

Resolved: Bofrost.de performance has improved in eba87df after 20 minutes.


LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20210719033354615 to main

LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20210719033354615 to main with localized lcls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
26721

Relevant Lines:
56896

💛  - Coveralls


Re-implement evaluation script

The current evaluation script has some issues in specific conditions, especially if all labels are zero (#1, #2) or a predicitons file does not contain scores for each argument key point pair (#3, #4).
Second, when there is a tie in top-scored key points, the first key point is chosen. However, the task description states that the key point for an argument should be "randomly chosen in case of a tie".
Third, the implementation fills in dummy values that make it hard to understand the evaluation script and are not documented in the task description.
https://github.com/IBM/KPA_2021_shared_task/blob/eeaaf65fdcd2777be2485282786a917f6965c38b/code/track_1_kp_matching.py#L46
To address these issues, I have therefore re-implemented the evaluation script by following the task description as closely as possible. It would be great if you could take a look into the new implementation or otherwise fix the issues in the original scipt. I've tried my best to document all implementation details, but don't hesitate to ask in case of questions.
Impact on scores
I've checked the scores of the three public submissions with the original and new evaluation script.
Both strict and relaxed mAP are unchanged for 3J's BERT-Base submission.
Our term overlap baseline's scores change slightly.

Submission
Evaluation
mAP strict
mAP relaxed

BERT-Base (3J)
original
0.9330215172721863
0.9330215172721863

BERT-Base (3J)
new
0.9330215172721863
0.9330215172721863

Term overlap (with preprocessing)
original
0.6428707325554328
0.8017641012666208

Term overlap (with preprocessing)
new
0.6565378820089707
0.8094514423679504

Term overlap
original
0.5233282596542290
0.7022445394084025

Term overlap
new
0.5251743043326909
0.7020092150754788

I like your re-implementation. Though the diff is not really useful.
Maybe we can rephrase these lines a bit https://github.com/IBM/KPA_2021_shared_task/blob/b54d9e4b43147621c7a076c44b9321daf70b015b/code/track_1_kp_matching.py#L139-L144 as they do not exactly match the code.

I've explained the random tie resolving a bit more detailed.
You're right about the diff though :smile:
Also, I integrated your changes from #2 and #3 into the new implementation.

Thank you very much. To me this leaves no questions and it reads like a charm. Also your integration of my changes is superior and much cleaner. :+1:

We could also discuss this line where missing match labels are filled in:
https://github.com/IBM/KPA_2021_shared_task/blob/eef5d4dd3b0633890ec7eabae734c50b1bef424c/code/track_1_kp_matching.py#L145-L146


ota.status.status() missing support for nfs_keys subtype

Hey
started to test this library as it looks useful and perfect for our use case.
In our partition table we have partition with subtype nvs_keys and this makes ``ota.status.status()` break
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "ota/status.py", line 138, in status
  File "ota/status.py", line 84, in partition_table_print
KeyError: 4

I did some testing at it seems that changing following
https://github.com/glenn20/micropython-esp32-ota/blob/3c87b425edee75e2ff4cfe77e096bfdc8ee3e25d/mip/ota/status.py#L75
to
{0: "ota", 1: "phy", 2: "nvs", 4: "nvs_keys", 129: "fat"},

Solves the issue.
I can do PR, but I'm not sure what is the build process of building corresponding .mpy file.

From the micropython directory, you should be able to use this command (replacing FILENAME with the python file you would like to convert)
./tools/mpy-tool.py -f FILENAME

Let me know if that works!

Sorry for the slow response on this issue. I've been on holiday for the last 3 weeks. Your fix looks good, though it was not intended that the app crash on unidentified partition types. I'll fix that as well and post an update.


Make DidYouMean integration optional

The gem won't load when DidYouMean is disabled with
--disable-did_you_mean:
RUBYOPT='--disable-did_you_mean' rake
[...]
NameError:
  uninitialized constant Dry::Container::DidYouMean
# ./lib/dry/container/error.rb:9:in `<class:Container>'

With this commit, the gem loads even though some tests fail.

We run some of our Ruby apps with --disable-did_you_mean for performance reasons, hence the change.
I didn't write any tests for this. The only test I could think of would be something like shelling out to load a new Ruby interpreter without DidYouMean and validating that it doesn't fail:
ruby --disable-did_you_mean -r "dry-container" -e ""

I didn't see a lot of value in such test, but open to feedback or alternative.

Ah, sorry about that. I wrote the PR that added this feature and I failed to consider DidYouMean not being available for this reason.

Thanks for the PR. I just released 0.10.1 with your fix.

Thanks a ton @solnic  🙇.


Install issue on ANTsR.

Hi,
I am facing error in installing ANTsR package. I am on MacOS.  Any pointers would help.
Command used to install:
devtools::install_github("stnava/ANTsR")
1 warning generated.
cd /private/var/folders/46/zm1hrxpx0qxd1phxpr931fr40000gr/T/RtmpUgkg22/devtools1113a10bb7a42/stnava-ANTsR-69936eb/src/antb && make -j 2
make[1]: *** No targets specified and no makefile found.  Stop.
make: *** [libs] Error 2
ERROR: compilation failed for package ‘ANTsR’

do you have cmake or cmaker installed in your environment?
brian
On Wed, Feb 1, 2017 at 12:49 AM, Taposh Dutta Roy<EMAIL_ADDRESS>wrote:

Hi,
I am facing error in installing ANTsR package. I am on MacOS. Any pointers
would help.
Command used to install:
devtools::install_github("stnava/ANTsR")
1 warning generated.
cd /private/var/folders/46/zm1hrxpx0qxd1phxpr931fr40000gr/T/RtmpUgkg22/
devtools1113a10bb7a42/stnava-ANTsR-69936eb/src/antb && make -j 2
make[1]: *** No targets specified and no makefile found. Stop.
make: *** [libs] Error 2
ERROR: compilation failed for package ‘ANTsR’
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/136, or mute the thread
https://github.com/notifications/unsubscribe-auth/AATyfnnZil0_gZ5EFEebMRysy6MdRKjwks5rYBz8gaJpZM4Lzg7x
.

you might also read the installation section here:
http://stnava.github.io/ANTsR/
the one that says "please read this entire section"
brian
On Wed, Feb 1, 2017 at 5:46 AM, brian avants<EMAIL_ADDRESS>wrote:

do you have cmake or cmaker installed in your environment?
brian
On Wed, Feb 1, 2017 at 12:49 AM, Taposh Dutta Roy <
<EMAIL_ADDRESS>wrote:

Hi,
I am facing error in installing ANTsR package. I am on MacOS. Any
pointers would help.
Command used to install:
devtools::install_github("stnava/ANTsR")
1 warning generated.
cd /private/var/folders/46/zm1hrxpx0qxd1phxpr931fr40000gr/T/
RtmpUgkg22/devtools1113a10bb7a42/stnava-ANTsR-69936eb/src/antb && make
-j 2
make[1]: *** No targets specified and no makefile found. Stop.
make: *** [libs] Error 2
ERROR: compilation failed for package ‘ANTsR’
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/136, or mute the thread
https://github.com/notifications/unsubscribe-auth/AATyfnnZil0_gZ5EFEebMRysy6MdRKjwks5rYBz8gaJpZM4Lzg7x
.

I am seeing the same error message.  I am on CentOS 7, with cmake version <IP_ADDRESS> from the system.  I have R 3.4.1 freshly compiled from source.  I ran
install.packages('Rcpp')
install.packages('tools')
install.packages('methods')
install.packages('magrittr')
Though both 'tools' and 'methods' complain they are unavailable and are part of 'base' now.
I also install devtools, and I am using Method 1, with devtools in R

library(devtools)
install_github('stnava/ANTsR')

All of the following appear to install and load successfully:
$ ls /sw/arcts/centos7/ANTsR/3.4
abind  ITKR  magic  magrittr  mnormt  psych  Rcpp  RcppEigen  rsvd
$ R --quiet
> library(abind)
> library(ITKR)
> library(magic)
> library(magrittr)
> library(mnormt)
> library(psych)
> library(Rcpp)
> library(RcppEigen)
> library(rsvd)
>

I have access to cmake 3.5.2 if the problem is that cmake is too old.  I am installing these into the folder defined by the environment variable R_LIBS_SITE.
ANTsR compiles successfully, but it fails when preparing for lazy loading with the undefined symbol message.  I found something on the web suggesting that symbol might be in GDCM, so I have /sw/arcts/centos7/GDCM-2.8.2-Linux-x86_64/lib in my LD_LIBRARY_PATH when I start R, but it was not there when I compiled R.
Those libraries are stripped, but I find
$ for lib in *.so ; do     echo $lib;     strings $lib | grep gdcmjpeg16_jpeg_resync_to_restart; done
libgdcmcharls.so
libgdcmCommon.so
libgdcmDICT.so
libgdcmDSED.so
libgdcmexpat.so
libgdcmIOD.so
libgdcmjpeg12.so
libgdcmjpeg16.so*
gdcmjpeg16_jpeg_resync_to_restart
libgdcmjpeg8.so
libgdcmmd5.so
libgdcmMEXD.so
libgdcmMSFF.so*
gdcmjpeg16_jpeg_resync_to_restart
libgdcmopenjp2.so
libgdcmuuid.so
libgdcmzlib.so
libsocketxx.so

If you have any insight, I would appreciate it.
Thanks,  -- bennet


devserver associated setting may not come to effect when use function

module.exports = {
/config 1/
devServer: (devServerConfig, { env, paths, proxy, allowedHost }) => {
devServerConfig.port = 3009;
return devServerConfig;
},
/config 2/
devServer: (devServerConfig, { env, paths, proxy, allowedHost }) => {
return { ...devServerConfig, port: 3009 };
},
/config 3/
devServer: {
port: 3009,
},
};
When I use config 1 or 2, the setting will not come to effect. Only config 3 works fine.
create-react-app -V
3.4.1
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"@types/jest": "^24.9.1",
"@types/node": "^12.12.47",
"@types/react": "^16.9.41",
"@types/react-dom": "^16.9.8",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1",
"typescript": "^3.7.5"
},
"devDependencies": {
"@craco/craco": "^5.6.4"
}

Hi @DamonMuscle
Not much I can do for this one.
With option 3 CRACO set CRA PORT env variable (https://create-react-app.dev/docs/advanced-configuration) which is then pick up by CRA here: https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/scripts/start.js#L60
This is why it works.
When you use the function format of CRACO devServer, sadly, the function is executed at runtime when the devServer proxy is created by CRA. This is too late to set an environment var and CRA doesn't acknowled the port prop of the devServer config.

Hi @patricklafrance
Thank you for your reply.


Remove unused python server file (closes #961)

Remove unused python script. The usage has been already replaced by the wdio static-server (trackers/javascript-tracker/test/wdio.local.conf.ts) service.
closes #961

Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://docs.snowplowanalytics.com/docs/contributing/contributor-license-agreement/ to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


Imagelink

Pull request checklist

[x] My code contains tests covering the code I modified
[x] I linted and tested the project with bin/check
[ ] I added significant changes and product updates to the changelog

Thanks for the PR, @allancodenet! I'm a bit confused though - why does adding a link increase accessibility? There is already an alt tag for screen readers.

I see that now, It sis not a very necessary feature but It still encourages the action  to go to your personal site

I see that now, It is not a very necessary feature but It still encourages the action to go to your personal site

That's true but there is already a link on the page. I'd rather not spam people with it!


⚠ Bofrost.fr has degraded performance

In 2062071, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 820 ms

Resolved: Bofrost.fr performance has improved in 137ecb0.


Redirect www domain to bare excalidraw domain

[ ] www subdomain is currently not whitelisted in the json server, so users can't share links [PENDING RELEASE].
[ ] It turns out the www subdomain and the bare domain do not share browser storage, which isn't good.

The fact that Chrome (and Safari?) hides url scheme and www subdomain does not help in debugging what's going on, either.
/cc @lipis
EDIT: FF does some kind of a redirect, but it seems to be a browser intervention (there's no request/response):

https://www.excalidraw.com redirects to https://excalidraw.com

I tried on Chrome, Safari, Firefox on macOS and it works.. also:
$ curl https://www.excalidraw.com
Redirecting to https://excalidraw.com/ (307)

Clearing cache for excalidraw.com (all domains) solved it and the redirect started working.


attempt removal of $cdn

@piotrswigon  https://github.com/PolymerLabs/arcs/blob/master/shell/artifacts/Words/source/ShowSingleStats.js#L14 may break, to review and discuss further.

Stale, I think.


[move-prover] Update vector theory benchmark lab based on new mono backend

This re-generates the vector theory lab (which benchmarks Boogie arrays vs SMT arrays) using the new mono backend. It appears the SMT array wo/ extensionality axiom is now leading (before it was Boogie array), but only marginal, so not (yet) making it the default.
Motivation
Consolidate labs against newer code.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
NA
Related PRs
NA

/land


Use newer tinyproxy image

Motivation and Context
The current Dockerfile for version 1.11.0-r0 no longer builds.  This PR updates it to the latest available version.
What has changed
Updated the tinyproxy version.
How to test?
Check that it builds locally.
There'll be another PR on the way to point the app terraform to use it (the app terraform defaults to a specific version, where the Concourse terraform just uses latest).
There are no breaking changes, and it should work like for like, as is.
Links
https://trello.com/c/DJb1QP8L

 Can't build the tinyproxy docker image anymore (5)


Infer AseDbType prior to calculating what what to send to the server

Fixes issue #96
Note: the type will only be inferred if it is not set explicitly

@c-j-hughes hey can you check this over? After that I'll push out a build

Sweet, cheers


Add bike elevation profiles

This adds elevation profiles for bike routing.
When a bike elevation profile is used, routes with a lower elevation difference but longer distance will be preferred. This parameter is configurable.
For using this feature, additional elevation files are required.
Currently only elevation data in BIL file format are supported, e.g. SRTM data.

What are the performance characteristics for runtime routing and extract? Does it work planet size?

I will get these information. Might take a while to get the full dataset though.


keep launch dir

Make sure the launch directory is created, even if empty.

Fixed via https://github.com/PickNikRobotics/rviz_winter/commit/8cc4a49f89305e2e7524739f43c989f69b55cf6d instead


Bash debugging does not start with version 1.44.0

VSCode Version: 1.44.0
OS Version: EndeavourOS (Arch Linux based, rolling, with latest updates installed)

Steps to Reproduce:

Update Visual Studio Code to new version 1.44.0 and use the Bash Debug extension (0.3.7) by rogalmic
Try to Start Debugging your bash code
The terminal output shows error message:
bash: line 0: cd: too many arguments
and debugging does not start.

Note: previous Visual Studio Code version 1.43.2 does not have this issue.

Does this issue occur when all extensions are disabled?: Only using the Bash Debug extension.

The only thing that changed is Visual Studio code. The same extension version of Bash Debug works  as expected with the older (and many other older) versions of Visual Studio Code, but not with 1.44.0.
So I'd like to see more details backing up the claim that the extension is the cause.

Yes, may be, but the author of the Bash Debug extension needs to find out what the problem is. We have no know-how with the Bash Debug extension. If the problem is on our side we'll open this issue.

OK, I already wrote to them as well.
Thanks for answering!

From the Bash Debug extension creator I got this kind of response: https://github.com/rogalmic/vscode-bash-debug/issues/133.
He thinks this this is a VsCode issue related to semicolon handling. Please look at the thread behind the link.

The issue is still affecting Visual Studio Code versions 1.44.0 to 1.44.2.
The integrated terminal fails to start bash debugging. The external terminal option allows bash debugging to start.

the Bash Debug extension relies on passing a bash script as a program argument via the DAP "runInTerminal" request.
Since the "runInTerminal" API was designed to be shell agnostic, VS Code has to make sure that any possible argument is escaped properly so that it survives being passed through any type of shell. Since this is difficult, there are bugs.
In this case it looks like that the fix #93166 broke Bash Debug.
The fix addressed the issue that ';' in an argument (e.g. foo;bar) would result in a truncated argument (foo).
Escaping the ';' with a backslash (e.g. foo\;bar) works fine as long as the argument is not surrounded by quotes (which happens if the argument contains a space character). So "foo\;bar" -> foo\;bar.

@manuel-192 it would be great if you could verify the fix in the next Insiders (next Monday).

Sorry about the delay!
With the insider vscode (AUR version<PHONE_NUMBER>, updated at 2020-04-24 06:46) it works!
Thanks!

@manuel-192 thanks for verifying this.