Storing files in external drive media folder

Some people were using external hard drive, on the @alexbelgium version of the addon, thus I need to add the ability to customize storage paths.

Hi, until this is up, people can install the Samba NAS addon which publishes local drivers as SMB, and then mount the SMB using HomeAssistant embedded system

Hi, thanks I though it was native.
If it works that way I have nothing to change on the addon, ppl can still mount in share folder


use build-essential default recipe rather than calling lwrp

this is for supporting older versions of build-essential cookbook that do not publish an lwrp

+1

+1

good thx


Unity sprites

Unfortunately, it doesn't work, the sprite still has an offset; we also need to allow changing the pivot via settings.


Formatting issue

There is a formatting issue in the document Graphics Paths in GDI+.
         Point[] myPointArray = {
    new Point(5, 30),
    new Point(20, 40),
    new Point(50, 30)};

Should be:
     Point[] myPointArray = {
             new Point(5, 30),
             new Point(20, 40),
             new Point(50, 30)};

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

ID: ccb917e6-c7e1-8094-6deb-355b69cbb9e3
Version Independent ID: 404a6256-abc2-39f0-d572-1398c6af5fab
Content: Graphics Paths in GDI+
Content Source: docs/framework/winforms/advanced/graphics-paths-in-gdi.md
Product: dotnet-framework
Technology: dotnet-winforms
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Thank you for opening this issue. I'll add it to the backlog. You can always submit the fix yourself by editing the original article. Click on the Content Source link at the bottom of your original comment. To learn how to edit, see the Editing files in a repository article from GitHub.
Thanks again!


Array to and from Mapping conversion

When building RESTful or RESTlike apps, I came across the request to allow passing bundles of information in the following format:
[
  {
    "field": "fname",
    "value": "John"
  },
  {
    "field": "lname",
    "value": "Doe"
  }
]

For storing purposes, I needed it in the following format:
<?php
array(
  'fname' => 'John',
  'lname' => 'Doe'
);

So utilizing the Arr class I added methods to convert back and forth between these two formats.

@uda i think this is really REST specific and most likely does not belong in the Arr class. Are json collections always formatted like that? If so I would put it in a new Json class. If not I would even think about making a Rest class.
@shadowhand can you give your 2c?

I'm not opposed to the functions. The placement does seem to be a bit odd, though I can't think of a better place for it.

@shadowhand maybe make a Rest class for them? They seems to be only usefull for rest operations.

@rjd22 the classes aren't named by purpose though. The Date class does things with dates, the Cookie class does things with cookies, so that Arr class does things with arrays. "REST" is not a type, but a pattern.

@shadowhand Yea you're right. Maybe we could do something with the term collection?
Something like convertColumnToFlat and convertFlatToColumn. Like in this function: http://php.net/manual/en/function.array-column.php

I'm not entirely sure this is about "columns" either, since the goal is converting from a "schema" to "schema-less" or "generic" mapping. Perhaps it could be toMapping and fromMapping?

@shadowhand I'm okay with that :) @uda would you be able to change the methods to those names?

Yes @rjd22, i will do it soon

Well?

@uda I'm willing to merge this but can you maybe add some simple tests? That way to know how it needs to be used.

@uda I'm merging this. I will make a ticket that it will need tests :)

@rjd22 not really any of my business, but merging this without tests feels like a mistake.

I agree.

@acoulton @shadowhand While I most of the time agree with that it needs test we should also be careful not to discourage other developers from contributing.
This is mostly isolated code and tests can always be added later but keeping good code out to wait for tests will end up with no contributions at all.
It's better practise to motivate people by merging the PR for the hard work they did and ask them if they could add some tests. And if the don't want to do that I will make some myself.

@rjd22 afraid I disagree. Most of the major projects I've used and occasionally contributed to in the past have had a "no tests, no merge" policy. It doesn't seem a barrier to them building a community and getting contributions.
You're right that it's important not to discourage people - responding politely, offering to help with tests, even writing some and sharing them so they can add them to their PR are all good things and most importantly will help them to grow as contributors. I've had the benefit of help like that from other projects in the past, and I've really valued it. When a project that doesn't take any old thing helps you to improve your contribution, it's a good feeling.
Merging their PR without tests and hoping that at some point in the future disconnected from them you might get round to writing some yourself doesn't help that contributor.
What it does do is reduce the overall quality of the package - no matter how isolated or "good" the code - and as a result makes it less likely that people will use it so the pool of potential contributors shrinks. Even for people who do use it, the absence of comprehensive tests for existing code may make them less likely to propose changes.
At my work, we exclusively use a BDD process to build our own code. When looking for an external package, the quality of the test suite is an important consideration. My sense is that there's an increasing number of places like that.
Just my £0.02

@acoulton This would only work when you already have a big pool of contributors. Ohanzee has a really small pool of those and not having tests does not mean the code is "bad".
It already has been reviewed by multiple people and checked op potential errors. And it already has been hand tested. I agree that we should not just merge everything but we should also be more considerate to our contributors that already did good work and not push everyone into our "ideal" world.
Like I said I will add some tests soon but I still believe that bit more flexibility will give projects like ohanzee and kohana for that matter more freedom to grow.

I agree with @acoulton completely. When contributors refuse to write tests, it shifts the burden of testing onto the maintainers and defers finding bugs that would otherwise be missed during review and "hand testing". As the gatekeepers, we have a responsibility to ensure that code coming in meets a standard. And I strongly feel that one of those standards should be "fully tested".

@shadowhand Okay, lets agree to have different points of views. But what I do wonder is why the tests are not working properly right now. Also there are tests that test functions that are not there.

@rjd22 @shadowhand @acoulton, in some freakish way, I agree with all...
I agree that sometimes the requirement of tests puts some complications for contributors who are not used to developing with tests (by them selves or in general, sadly enough).
On the other hand, I agree that pushing code to a public project w/o tests is bad behavior. really bad, and I apologize for that, the reasons don't matter.
If @rjd22 won't make tests, I'll convert ours to match Ohanzee's conventions.

I added tests, creating PR now.


Add rustdoc content

To aid developers using the library when we've forgotten how it works even if it's (hopefully) obvious.

As a data point docs.rs as of kmip-ttlv v0.3.1 says:

Coverage: 46.36%
70 out of 151 items documented1 out of 84 items with examples


bug: [Bug] ion-segment beta.11 stuck style in first button

Type: bug
Ionic Version: 2.x
Platform: all
The ion-segment component is showing the first item style like if it is always chosen even when other is chosen:

Hey, thanks for opening an issue with us! Would you mind posting a screenshot of the issue you are seeing? Thanks!

I did, look in the description.

Thanks! Sorry, didn't see it at first! Would you mind posting a code sample or repo I can use to reproduce this issue?

I did not manage to reproduce in a new app, however i managed to work around it, i just set the variable in the ionViewDidEnter method instead of the constructor nor the variable definition, that seems to have it solved, also the error only happened when using chrome's device emulation, in actual device or in normal chrome view it did not happened.


fortran.io is down

Getting a 502 when accessing fortran.io

thanks for the report! now fixed

Still 502 for me!

@oliverbenns should be fixed now, thanks!

Awesome! Thank you :)

@mapmeld site is down again(

@mishazawa thanks for letting me know! It's back online again


detect serverless aws_lambda

@rudolfix Please let me know for any concerns

Hi @rudolfix , Sure, I will make changes for GCP as well and update you on the progress.

This was my first proper open source contribution. Thanks for the opportunity @rudolfix .


Error Compile openMVG MEX function

Hi, thanks for releasing the code.
When I tried to compile the OpenMVG mex  function for Matlab, the errors occured:
/usr/bin/ld: /usr/local/lib/libopenMVG_geometry.a(Similarity3.cpp.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libopenMVG_geometry.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status.
Could you please give me some suggestions?

were you able to figure this out? my mex function is also not working

were you able to figure this out? my mex function is also not working

Not yet, we are still waiting for a response from the project owner. Due to the difficulty of compiling mex function, we pay less attention to this project.


Current doc is not working on Windows machine...update doc for windows

scripts for windows machine is not documented
I like to understand the reasons behind of the error deploying this project on windows
**there is no docs for windows machine even on the internet **
need official doc for windows user by Dapper Lab

Issue should be resolved here #268


chore(main): release 1.26.13

:robot: I have created a release beep boop
1.26.13 (2023-10-01)
Bug Fixes

add post run message to pull vidos (01d9dbb)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/aidanaden/canvas-sync/releases/tag/v1.26.13 :sunflower:


Remove pointless blank line in JSON policy document.

Issue #, if available:
N/A
Description of changes:
Just removing a blank line.

Thank you for your contribution.

Wonderful - thanks @ljquin 👍


Adding new overload with length for BlobAsyncClient.upload()

resolves #6090

I wonder if a better approach to this would be leveraging the fact that BinaryData created with a Flux<ByteBuffer> can pass the length: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core/src/main/java/com/azure/core/util/BinaryData.java#L393
This would hook into the BinaryData-based overload for upload and would require a few minor changes to how that BinaryData is consumed, for instance inspecting its length here: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/options/BlobParallelUploadOptions.java#L104

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


Type Error: Missing required parameter "eventId"

Hello I'm carlos, I had an issue with my code, I wanna add an event and then add an attendee but when I want to update my event, drop me the error Type Error: Missing required parameter "eventId" and I can't understand why?, could you help me with my issue please, I leave my code here
python: 3.10.7
windows 11
from calendar import Calendar
from gcsa.event import Event
from gcsa.google_calendar import GoogleCalendar
from gcsa.recurrence import Recurrence, DAILY, SU, SA
from gcsa.attendee import Attendee

from beautiful_date import *

def classtogooglecal():

    calendar = GoogleCalendar('myemail@gmail.com',credentials_path='credentials.json')

    event = Event('Prueba',start=(25 / Oct / 2022)[21:58],minutes_before_email_reminder=20)

    attendee =<EMAIL_ADDRESS>
    calendar.add_event(event)

    event.add_attendee(attendee)

    calendar.update_event(event)

classtogooglecal()

calendar.add_event(event) returns a created event with the set id. So replace this line with
event = calendar.add_event(event)

And everything should work.
But if adding the attendee is the only update you do to the event, you can just add attendee before add_event:
...
attendee =<EMAIL_ADDRESS>event = Event('Prueba',
                         start=(25 / Oct / 2022)[21:58],
                         minutes_before_email_reminder=20,
                         attendees=attendee)
calendar.add_event(event)

Also, glad to see that you are using beautiful-date 😊

Thank you so so much, it works, and the reason for using the instruction attendee instead of just adding in event instruction is that I wanna make a function where a can only enter emails and be able to delete them as well as add them, and a think I cloud do that with a for, I don't know, what do u think?

and btw, I love beautiful-date, its so easy to use, and very useful

Happy that this resolved your issue.
Just a suggestion (as per attendees docs) you can simply pass a list of Attendees or list of emails to the event:
emails = ["firstemail<EMAIL_ADDRESS>event = Event('Prueba',
                         start=(25 / Oct / 2022)[21:58],
                         minutes_before_email_reminder=20,
                         attendees=emails)
event = calendar.add_event(event)

GCSA will create Attendee objects for you.
I'll close the issue. If you have any other questions post them here or in the [Discussions](https://github.com/kuzmoyev/google-calendar-simple-api/discussions].


Setting order is now maintained

Settings are now more thread-safe and when enumerated will be listed in the order they were defined and then any settings that have not been defined again will be listed afterwards in the order they are listed in the settings.json.

Closes #442


Sometimes Citrus fails test case because of action timeout for receiving replay message while actually it was received

At the certain stage in our test case we need to send request to the client, and since client has parallel threads for request processing and for the related to that request flow, I'm using parallel container.
Steps look like:
 http()
                .client(<client_name>)
                .post()
                .header("Content-Type", "text/xml")
                .fork(true)
                .payload (....);

        parallel().actions(
                sequential().actions(
                        http()
                                .client(<client_name>)
                                .response(OK)
                                .messageType("xml")
                ),
                sequential().actions(
//here we are receiving other requests from client and sending responses
)

With such test case structure test case sometimes fails (~2 out of 10 runs) due to "Action timeout while receiving synchronous reply message from http server", while in log I see that response was received and correlation id saved.

Part of the log:
14:42:42,027 INFO         citrus.Citrus|
14:42:42,028 DEBUG        citrus.Citrus| TEST STEP 23/27 SUCCESS
14:42:42,028 INFO         citrus.Citrus|
14:42:42,028 DEBUG        citrus.Citrus| TEST STEP 24/27: parallel
14:42:42,028 DEBUG        citrus.Citrus| TEST ACTION CONTAINER with 2 embedded actions
14:42:42,033 DEBUG nnel.ChannelConsumer| Receiving message from: EVR_services.inbound
14:42:42,033 DEBUG ngCorrelationManager| Get correlation key for 'citrus_message_correlator_Trigger_MSREF'
14:42:42,034 DEBUG   citrus.RetryLogger| Correlation key not available yet - retrying in 300ms
14:42:42,041 DEBUG ltCorrelationManager| Saving correlation key for 'citrus_message_correlator_Trigger_MSREF'
14:42:42,041 DEBUG  context.TestContext| Setting variable: citrus_message_correlator_Trigger_MSREF with value: 'citrus_message_id = '3ca5eafd-966b-49c4-9c21-2c5ec3a12ea8''
14:42:42,042 DEBUG    client.HttpClient| Sending HTTP message to: 'http://localhost:8081/ode/processes/MSREF'
14:42:42,042 DEBUG    client.HttpClient| Message to send:
<...forked request message here...>

14:42:42,043 DEBUG ingClientInterceptor| Sending Http request message
14:42:42,043 DEBUG   Logger.Message_OUT| POST http://localhost:8081/ode/processes/MSREF
Accept:text/plain, application/json, application/*+json, */*
Content-Type:text/xml
Content-Length:2463
Accept-Charset: <.....>

<...forked request mesage here...>

14:42:42,059 DEBUG ingClientInterceptor| Received Http response message
14:42:42,059 DEBUG    Logger.Message_IN| HTTP/1.1 200 OK
Server:Apache-Coyote/1.1
Set-Cookie:JSESSIONID=2EFD1060F8B676FCCE3B937583BB04F6; Path=/ode/; HttpOnly
Accept:text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
SOAPAction:""
Content-Type:text/xml;charset=utf-8
Content-Length:963
Date:Tue, 14 Feb 2017 12:42:41 GMT

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><jmsIdResponse xmlns="http://www.revenue.ie/schemas/ccn-csi/schemas/send-message-response/v1" xmlns:ns10="http://www.revenue.ie/itp/om/messaging/output" xmlns:ns11="http://www.revenue.ie/schemas/common/revenue-types-v1" xmlns:ns2="http://www.revenue.ie/schemas/ros/form/integration/v1/ros-submission-schema-v1" xmlns:ns3="urn:ec.europa.eu:taxud:fiscalis:vatrefund:v1" xmlns:ns4="urn:ec.europa.eu:taxud:fiscalis:common:v1" xmlns:ns5="http://www.revenue.ie/schemas/evr/national-vat-app/v1" xmlns:ns6="http://www.revenue.ie/schemas/itp/banking/common/model/ItpBankingPaymentRequest" xmlns:ns7="http://www.revenue.ie/schemas/evr/services/evr-common-types/v1" xmlns:ns8="urn:ec.europa.eu:taxud:fiscalis:message:v1" xmlns:ns9="http://www.revenue.ie/schemas/ccn-csi/schemas/send-message-request/v1">Received</jmsIdResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
14:42:42,060 INFO     client.HttpClient| HTTP message was sent to endpoint: 'http://localhost:8081/ode/processes/MSREF'
14:42:42,061 DEBUG ltCorrelationManager| Saving correlated object for 'citrus_message_id = '3ca5eafd-966b-49c4-9c21-2c5ec3a12ea8''
14:42:42,071 DEBUG ngHandlerInterceptor| Received Http request:
HTTP/1.1 POST /integration/evr/service/validation
SOAPAction:""
Accept:text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Cache-Control:no-cache
User-Agent:Java/1.7.0_45
Connection:keep-alive
Host:localhost:8082
Accept-Encoding:gzip
Pragma:no-cache
Content-Length:10035
Content-Type:text/xml; charset=UTF-8

<...request from the client at next parallel branch is here...>
14:42:42,073 DEBUG annelEndpointAdapter| Forwarding request to message channel ...
14:42:42,073 DEBUG t.TestContextFactory| Created new test context - using global variables: '{project.name=Citrus Integration Tests}'
14:42:42,073 DEBUG ltCorrelationManager| Saving correlation key for 'citrus_message_correlator_ChannelEndpointAdapter:producer'
14:42:42,073 DEBUG  context.TestContext| Setting variable: citrus_message_correlator_ChannelEndpointAdapter:producer with value: 'citrus_message_id = '31547810-131c-4555-b530-a2121a4dbaee''
14:42:42,074 DEBUG .ChannelSyncProducer| Sending message to channel: 'EVR_services.inbound'`

and at the log later we have records like:
14:43:41,402 DEBUG ltCorrelationManager| Finding correlated object for 'citrus_message_id = '3ca5eafd-966b-49c4-9c21-2c5ec3a12ea8''
14:43:41,402 DEBUG   citrus.RetryLogger| Reply message did not arrive yet - retrying in 500ms
14:43:41,901 DEBUG ltCorrelationManager| Finding correlated object for 'citrus_message_id = '3ca5eafd-966b-49c4-9c21-2c5ec3a12ea8''
14:43:41,901 DEBUG   citrus.RetryLogger| Reply message did not arrive yet - retrying in 500ms
14:43:42,400 DEBUG ltCorrelationManager| Finding correlated object for 'citrus_message_id = '3ca5eafd-966b-49c4-9c21-2c5ec3a12ea8''
14:43:42,401 ERROR   container.Parallel| Parallel test action raised error
com.consol.citrus.exceptions.ActionTimeoutException: Action timeout while receiving synchronous reply message from http server
	at com.consol.citrus.http.client.HttpClient.receive(HttpClient.java:146)
	at com.consol.citrus.http.client.HttpClient.receive(HttpClient.java:137)
	at com.consol.citrus.actions.ReceiveMessageAction.receive(ReceiveMessageAction.java:146)
	at com.consol.citrus.actions.ReceiveMessageAction.doExecute(ReceiveMessageAction.java:125)
	at com.consol.citrus.actions.AbstractTestAction.execute(AbstractTestAction.java:42)
	at com.consol.citrus.dsl.actions.DelegatingTestAction.doExecute(DelegatingTestAction.java:54)
	at com.consol.citrus.actions.AbstractTestAction.execute(AbstractTestAction.java:42)
	at com.consol.citrus.container.Parallel$ActionRunner.run(Parallel.java:107)
	at java.lang.Thread.run(Thread.java:745)
14:43:42,408 INFO         citrus.Citrus|
14:43:42,408 ERROR        citrus.Citrus| TEST FAILED MSEST_VAT_Refund_application_TC01 <ie.revenue.integration> Nested exception is:
com.consol.citrus.exceptions.ActionTimeoutException: Action timeout while receiving synchronous reply message from http server```

You are doing a lot of parallelism in your test. Forking the first http send operation in combination with parallel container can lead to racing conditions. I suggest to remove the parallel container in your test as it is not required here.
You should put the http().client().receive().response(OK) to the very end of your test. You can do other actions in between http().client() request and response without having to use parallel containers everywhere.

Many thanks, that solved the issue.


Space Application Supporter can access specific app environment variable endpoints

Issue
Allow space application supporter to access specific app environment variable endpoints.
Context
We are introducing a new role and we want to make sure it has the right access.
Expected result
A space application support should be able access the following endpoints:

[ ] GET /v3/apps/:guid/environment_variables
[ ] PATCH /v3/apps/:guid/environment_variables

Acceptance
A space application supporter would see the same info as a space developer assigned to the same space for these and only these endpoints.
Documentation
When I browse to any of these endpoints on v3 docs I can see the Space Application Supporter role in the list of permitted roles with an indication that this role is not fully implemented and the permissions will be changing.

There is an additional endpoint for application environment vars:
GET /v3/apps/:guid/env  = https://v3-apidocs.cloudfoundry.org/version/3.101.0/index.html#get-environment-for-an-app
AFAIK, this one is used by "cf env".
GET /v3/apps/:guid/env
GET /v3/apps/:guid/environment_variables
are both controlled by the feature flags env_var_visibility and space_developer_env_var_visibility. Both api calls fail for space developers unless both feature flags are enabled.
Interestingly, PATCH /v3/apps/:guid/environment_variables is enabled for a space developer even if space_developer_env_var_visibility is disabled. I.e. env vars are write-only with disabled space_developer_env_var_visibility.
In our (SAP) foundations we have space_developer_env_var_visibility enabled so that space developers can see env vars including VCAP_SERVICES. However, Space Application Supporters shall not have access to VCAP_SERVICES (service credentials). Access (read/write) to application environment variables should be enabled so that supporters are able to configure applications.
I see two implementation options. Both involve a new feature flag space_application_supporter_env_var_visibility.
Option 1
New feature flag space_application_supporter_env_var_visibility that controls visibility of env vars for Space Application Supporters the same way as space_developer_env_var_visibility does for Space Developers.

space_application_supporter_env_var_visibility
enabled
disabled

GET /v3/apps/:guid/env
allowed, includes VCAP_SERVICES
forbidden

GET /v3/apps/:guid/environment_variables
allowed
forbidden

PATCH /v3/apps/:guid/environment_variables
allowed
allowed

:+1: consistent with existing functionality for space developers
:+1: no incompatible changes to existing CF API v3
:-1: Space Application Supporters can't read (but write) regular application env vars. Our use case is not fully covered.
:-1: inconsistency between read and write of env vars when feature flag is disabled (as in todays v3 api)
:-1: feature flag allows a configuration that is against the definition of Space Application Supporter role (shall not see technical credentials)
Option 2
New feature flag space_application_supporter_env_var_visibility that controls visibility of env vars for Space Application Supporters but VCAP_SERVICES (maybe all system provided env vars) is redacted.

space_application_supporter_env_var_visibility
enabled
disabled

GET /v3/apps/:guid/env
allowed, redacted VCAP_SERVICES
forbidden

GET /v3/apps/:guid/environment_variables
allowed
forbidden

PATCH /v3/apps/:guid/environment_variables
allowed
allowed

:+1: consistent with existing functionality for space developers
:+1: no incompatible changes to existing CF API v3
:+1: With enabled feature flag Space Application Supporters can read and write regular application env vars. Our use case is fully covered.
:-1: inconsistency between read and write of env vars when feature flag is disabled (as in todays v3 api)
:+1::-1: hardcoded handling of VCAP_SERVICES (but according to the definition of Space Application Supporter role)

Hi Stephan,
We had an asynchronous discussion about this exact issue and responded to your thoughts into the spreadsheet.
To summarize our thoughts: We are not thrilled about using the existing flag to allow space application supporters access to this endpoint since it is named after the space developer role. Renaming the flag is not an option and creating a new flag that would serve the exact same person seems like a hassle and would add would add unnecessary bulk to the API because the information that would have been presented in the redacted view can be collected by calling a combination of other existing endpoints that are not protected by a feature flag. For this reason we will just keep this endpoint as off limits and update the CLI implementation to not depend on this endpoint.

Hi @monamohebbi,
thanks for the explanation.
The changes in "cf env" may get a bit ugly but otherwise this would cover our uses cases.

Yes, this is a mostly accurate summary except we are not planning on adding the flag SpaceApplicationSupporter. So the table would look a little more like:
---|---|---|---|---
GET /v3/apps/:guid/env | allowed | forbidden | forbidden
GET /v3/apps/:guid/environment_variables | allowed | forbidden | allowed
PATCH /v3/apps/:guid/environment_variables | allowed | allowed | allowed
GET /v3/environment_variable_groups/:name | allowed | allowed | allowed
"cf env" shows | app env, groups, VCAP_SERVICES | forbidden | app env, groups
Our hope is that the SpaceDeveloperEnabled flag was mainly introduced to hide secrets and sensitive data - which we do not intend to show to the Space Application Supporter regardless (the redacted view).
Although - seeing this chart I'm wondering if there is a world where the following might be acceptable behavior:
---|---|---|---|---
GET /v3/apps/:guid/env | allowed | app env, groups | app env, groups
GET /v3/apps/:guid/environment_variables | allowed | forbidden | allowed
PATCH /v3/apps/:guid/environment_variables | allowed | allowed | allowed
GET /v3/environment_variable_groups/:name | allowed | allowed | allowed
"cf env" shows | app env, groups, VCAP_SERVICES | forbidden | app env, groups
But I think there might be a risk in showing information that an admin might historically have been expecting to be secret?
cc @piyalibanerjee

I guess this is just a misunderstanding of the table header (I did not manage to format the table with 2 nested headings).
First line in the header is the role that the user has and second line is the value of the existing feature flag "space_developer_env_var_visibility". I.e. no separate feature flag for SpaceApplicationSupporters but todays implementation of the /v3/apps/:guid/env|environment_variables  is already controlled by feature flag space_developer_env_var_visibility.
The columns for SpaceDeveloper in my table should reflect the existing implementation for the env var endpoints. The feature flag space_developer_env_var_visibility controls the complete endpoint not just the sensitive env vars like VCAP_SERVICES:

https://github.com/cloudfoundry/cloud_controller_ng/blob/main/app/controllers/v3/apps_controller.rb#L250
https://github.com/cloudfoundry/cloud_controller_ng/blob/main/app/controllers/v3/apps_controller.rb#L265.

It would be surprising if a SpaceApplicationSupporter can see more than a SpaceDeveloper, isn't it? That's why I think that the feature flag space_developer_env_var_visibility should also control access for SpaceApplicationSupporters.
In our foundations we have space_developer_env_var_visibility enabled so I can also live without checking space_developer_env_var_visibility for SpaceApplicationSupporters.

I agree that it would be confusing for a space supporter to see more than a space developer in certain cases. And it is good feedback to hear that you do not think it would be confusing to overload the space_developer_env_var_visibility flag. @piyalibanerjee is this something you could gather more feedback on?

I agree with @stephanme -- I think it's fine to overload the flag -- that way there's no additional flag for the admins to toggle. We can also make a note of it in documentation of the flag. The only downside I see is if an operator team has a specific reason why they don't want to show env vars at all to space app supporters, but they do want to provide space developers that access, they would not have that level of granular control since the same flag would control both. But I don't think this would be a common case. And the app environment_variables endpoint shouldn't be revealing sensitive information in the first place, so even if in the worst case scenario the space supporters are able to view them, it shouldn't be detrimental from a security standpoint.

Starting this now.

Before continuing on this, could I just confirm that this story is indeed ready to be worked on and that the two endpoints that the new role needs access to are the two currently in the description?
i.e.
GET /v3/apps/:guid/environment_variables
PATCH /v3/apps/:guid/environment_variables

The description is correct. A more detailed and explicit description would go like this:
Expected result
With enabled feature flag 'space_developer_env_var_visibility' a space supporter should be able access the following endpoints:

[ ] GET /v3/apps/:guid/environment_variables
[ ] PATCH /v3/apps/:guid/environment_variables

With disabled feature flag 'space_developer_env_var_visibility' a space supporter should be able access the following endpoints:

[ ] PATCH /v3/apps/:guid/environment_variables

Note that the related endpoint GET /v3/apps/:guid/env is never accessible for space supporters because it exposes sensitive information (VCAP_SERVICES).
cf cli needs adaptions so that space supporters can use "cf env" (assuming feature flag 'space_developer_env_var_visibility' enabled). This is out of scope for this story.

If we are moving forward with overloading the space_developer_env_var_visibility flag, then I think it should be fine to move forward with allowing a redacted view of v3/apps/:guid/env. Our initial reasoning not to do so was because we did not want to create a new flag. Since this is already picked up though I will create a new issue in the backlog.

PR #2388 is now pending approval


HTTP endpoint fallback in case non-http content

Assuming I have two TCP listeners in my config, one of them has HCM filter (expecting http traffic) and the second has tcp_Proxy filter. Would it be possible to route traffic from the listener with HCM filter chain to the listener with tcp_proxy filter chain (through loopback), in case that non-http traffic was sent to the listener with the HCM?
Thanks

not that im aware of - there may be some workaround you could use that i dont know of tho
i was looking here to try and see if there was an obvious way:

https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto#config-cluster-v3-cluster (transport_socket_matches)
https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto#config-cluster-v3-cluster-transportsocketmatch

but im not sure if that would help

Thanks @phlax, do you have an idea what kind of change can be made so it would be supported?

assuming its not supported currently - i guess this is something you could write a filter for - im not sure how desirable this is as a general case and can think of quite a few reasons you wouldnt want to do this or problems it might create

What kind of filter? I mean, L4 filter won't indicate if HTTP is involved on one hand, and on the other hand L7 filter would not even be triggered, as the HTTP filter chain would not be invoked if it's non-http traffic. Am I missing something?
Also can you please give an example of a problem it might create? Maybe I have missed something

i may be wrong about whether this is supported - i asked chatGPT

Q: is there a way to use the envoy proxy for opportunistic http - by which i mean if a connection appears to be http upgrade otherwise proxy to a tcp upstream

Yes, it is possible to use Envoy proxy for opportunistic HTTP, which means upgrading a plain text HTTP connection to a secured HTTP or WebSocket connection if possible, or proxying it to a TCP upstream if not. This can be achieved by using Envoy's connection manager filters and upgrading headers.
To enable opportunistic HTTP, you can use the upgrade_configs field of the Envoy HTTP connection manager ...

how about if an incoming connection is not http - can envoy take a peek and route correctly in that case to a plain tcp upstream

Yes, Envoy can route non-HTTP traffic to a plain TCP upstream using the TCP proxy filter. The TCP proxy filter allows Envoy to handle generic TCP traffic and can be used as a fallback for non-HTTP traffic that cannot be upgraded to HTTP or WebSocket.
To configure Envoy to route non-HTTP traffic to a plain TCP upstream, you can use a network filter chain and include the TCP proxy filter. Here's an example configuration that routes traffic to a TCP upstream for any port that is not explicitly defined as HTTP or WebSocket traffic:

static_resources:
  listeners:
  - name: listener_0
    address:
      socket_address:
        address: <IP_ADDRESS>
        port_value: 80
    filter_chains:
    - filters:
      - name: envoy.filters.network.http_connection_manager
        typed_config:
          ...
      - name: envoy.filters.network.tcp_proxy
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy
          stat_prefix: tcp_proxy
          cluster: my_tcp_cluster
    - filters:
      - name: envoy.filters.network.http_connection_manager
        typed_config:
          ...
      - name: envoy.filters.network.tcp_proxy
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy
          stat_prefix: tcp_proxy
          cluster: my_tcp_cluster
    ...
  clusters:
  - name: my_http_cluster
    ...
  - name: my_tcp_cluster
    connect_timeout: 5s
    type: strict_dns
    lb_policy: round_robin
    load_assignment:
      cluster_name: my_tcp_cluster
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: <IP_ADDRESS>
                port_value: 1234

The config definitely wont work as chatGPT is out of date (and often wrong) - but it might provide some helpers

for the design and potential pitfalls of such a filter im afraid that is not my area

hmm reviewing its suggestion i dont see anything that would detect - but maybe it would just fallback for non-HTTP traffic
apologies if i am not too clear on the answer to this question

The ChatGPT suggestion doesn't make sense :D. There can only be one terminal filter in the filter chain and both HCM and tcp_proxy are terminal, so they can't co-exist

Is the http and non-http traffic TLS?
I think the first listener with the HCM needs to have a filter chain match for http traffic via tls/http inspector listener filters.
Eg. if it matches application_protocol to be http it sends to a primary filter chain containing the HCM otherwise if non-http is detected on a secondary filter chain then it has TCPProxy and loops back to the secondary non-http listener...

I can consider this option for non-TLS endpoint, what can be done if there's TLS? Thanks

I think the option above works with TLS traffic because the http inspector can detect the application protocol better (or only, not completely sure) when the transport protocol is TLS.

I'm not sure if this detection is possible for non-tls traffic if transport_protocol = raw_buffer though..

Thanks for the diagram :) @pxpnetworks I'm not sure how it would work with TLS. When there's TLS the data receiced in the listener buffer is TLS handshake data, and unencrypted data would only be available at the network/http filters as the TLS handshake needs to complete. If you are referring to this line:
https://github.com/envoyproxy/envoy/blob/73b4071036d724d21fbc58b6bc268ba75a81b7a6/source/extensions/filters/listener/http_inspector/http_inspector.cc#L58
Then what I understand from it is that if there's TLS, http inspector can't inspect properly..


select the port on which you run profyle

select the port to use for profyle

Cool, I already have implemented this feature for the next release, this will be published probably later today!!

Already implemented in the next release

Thanks! Le 17 oct. 2023 17:39, vpcarlos @.***> a écrit :
Already implemented in the next release
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


built-in modules

might allow things like sys.platform to be used in Talon

There’s a difference from builtin commands than builtin modules.

There’s a difference from builtin commands than builtin modules.

I know, but Talon doesn't have support for modules yet.


[StyleCop] Fix all the warnings on Integration.ApplicationInsights.Core

Fix spacing

Replaced with #1494


Error 'Unable to open compare', when git setting log.showsignature is active

GitLens Version: 11.1.3
Git Version: 2.30.0
VSCode Version: 1.52.1
OS Version: Ubuntu 20.10

Steps to Reproduce

add git config setting log.showsignature=true
try to display a diff of a file by selecting it in the COMMITS section
Error: Unable to open compare. See output channel for more details

The reason
From the logs I figured out that the following git command is called
git log -n1 --no-renames --format=%H --find-object=HASH ANOTHER_HASH -- FILENAME

When I execute it manually the output looks like this:
gpg: some text
gpg: some text
gpg: some text
HASH VALUE

Afterwards the following command is in the GitLens (Git) log:
git show --name-status --format= gpg: Signature...

Idea
It might be useful to add the parameter -c log.showSignature=false to all git comands relying on the git output. In this case the command would look like this:
git  -c log.showSignature=false log -n1 --no-renames --format=%H --find-object=HASH ANOTHER_HASH -- FILENAME

Another option would be to ignore all output starting with gpg: .

Can you please verify this fix in tomorrow's insiders edition?
You can install the insiders edition from here. Be sure to disable/uninstall the stable version of GitLens first.

Thank you very much for the quick fix. It works for me, in the insider edition.


Write automated tests

I tried to write an automated test but this software needs to scan the QR code which I as unable to thing how to do that in automated test.

I think this can be done now, this is my last branch, I haven't pulled it yet but it's all working.

This issue will be worth points for each written test.

I would like to work on this issue.

@poojasrinivass assigned, you have 4 days + renew if there is no one in queue

Can I take it on?

I need a little more time to work on it

Tell me the ones u are working on and i will do the others. Points for each test remember?

I have tried to do multiple. So you pick what you want and I will continue with the rest.

I think this can be done now.
I just pulled the experimental branch, take a look, I had a hard time doing that hehehe

Is it working now? Because im still having the same issue of QR code

Can you tell me what you're working on?

Both of you are working on this issue?

sorry for the delayed response,
I am figuring out the application at the moment, will directly send the PR if I make any progress... if thats ok

Both of you are working on this issue?

I am still working on it.

Can I also work on this issue if there are points for each test case?

@HarsheetKakar your turn, @poojasrinivass unassigned

@xandao6 I am already working on an issue ATM, would it be ok if someone else can do it?

I am interested.

@xandao6 please assign this to @himadrisingh she had started working on it :)

@SinghHimadri assigned

@SinghHimadri Do you will continue to work in this issue?

Yes, I am writing more tests I would request you to keep me assigned.


path matching breaks on 1st match

not sure if that should be considered as a bug but here is this config I was writing in tests to write custom rules ()
    rate_limit = RateLimitMiddleware(
        hello_world,
        auth_func,
        redisbackend(),
        {
            r"/multiple": [FixedRule(second=1, minute=3)],
            r"/custom": [CustomRule(rules=[LimitFrequency(limit=3, granularity=2)])],
            r"/multiple_custom": [CustomRule(rules=[LimitFrequency(limit=3, granularity=2), LimitFrequency(limit=4, granularity=3)])],
        },
    )

as the path matching  breaks on the 1st match, if you send a
        response = await client.get(
            "/multiple_custom", headers={"user": "user", "group": "default"}
        )

it will think you are using the FixedRule from the /multiple endpoint while in fact you wanted not.
should I use             r"^/multiple$": [FixedRule(second=1, minute=3)], instead the match does not occur as expected.
As a user it could be confusing.

Uh, but there seems to be no better way to solve this problem. Perhaps the matching order should be clearly specified in the instructions for use.

yep a doc hint is likely the best option
On Sat, Apr 3, 2021 at 12:33 PM Aber @.***> wrote:

Uh, but there seems to be no better way to solve this problem. Perhaps the
matching order should be clearly specified in the instructions for use.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/abersheeran/asgi-ratelimit/issues/16#issuecomment-812846708,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAINSPUI5P54BOZWOLNRTBDTG3VHLANCNFSM42J4Y7GA
.

--
benoit barthelet
http://pgp.mit.edu/pks/lookup?op=get&search=0xF150E01A72F6D2EE


fix: use base path in client router

fixes https://github.com/solidjs/solid-start/issues/397
allows us to use github pages with the static adapter.

Thank you


[MANGO-68] Spark Upgrade

Resolves #68

Merged build triggered.

Merged build started.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/mango-prb/49/
Test PASSed.


Update github-event-processor

The CodeownersUtils update to change the way ServiceLabel parses with AzureSdkOwners

Closing this out and starting a new one.


Output is incomplete when using 'acm>help'

Description
acm>help output information is incomplete.
Steps to Reproduction
1.Run commands $ node zephyrjs-cli.js  -c
2. acm>help
Actual Result

There should be  'du' and 'parse' and remove 'eval'
Expected Result
acm> help
Welcome to the ZJS 'A Shell' interface!

Command list:
    help           Display this help information
    run    FILE    Run the JavaScript program in the file
    parse  FILE    Check if the JS syntax is correct
    stop           Stop current JavaScript execution
    ls             List all files
    cat    FILE    Print the contents of a file
    du     FILE    Estimate file space usage
    rm     FILE    Remove file or directory
    mv     F1 F2   Move a file F1 to destination F2
    clear          Clear the terminal screen
    erase          Erase flash file system and reboot
    boot   FILE    Set the file that should run at boot
    reboot         Reboot the device

Relatvie bug #197

load, parse and du commands are skipped in the IDE image, so the actual outcome is correct in this case.

@nagineni
"eval" command can't be used, why it is displayed?

eval command is there because we are using IDE image in CLI too. It is supported in IDE, but not in CLI.  There was an issue exiting with control character (i.e 'CTRL+D') once you enter into eval mode in the console (i.e CLI) and that's the reason the support is disabled.


If some keypoints of a single body are not detected, multiple skeletons for a single person will be generated?

https://github.com/octiapp/KerasPersonLab/blob/32d44dd1f33377128a87d6e074cf8214224f0174/post_proc.py#L97
From my understanding,
this_skel[kp['id'], :2] = kp['xy']
this_skel[kp['id'], 2] = kp['conf']
path = iterative_bfs(skeleton_graph, kp['id'])[1:]
for edge in path:
      if this_skel[edge[0],2] == 0:
           continue

the order of the path will be uniquely determined by the start keypoint due to the tree-structure of person. So, if some keypoints  in the path are not detected, multiple skeletons will be generated for a single body because of this snippet:
if this_skel[edge[0],2] == 0:
           continue

for example, let's assume that the start (the highest score) keypoint is Lwrist and all keypoints except L_elbow are detected for a single person, then this for edge in path: loop will always goto continue and this_skeleton will only contain the Lwrist keypoint location.
I don't know if I understand it correctly?

That's correct


data no longer available online

deleted link

I forked this repo into my own. I'll make changes from there and create a pull request later.


Add a hook for inserting aberration optics after the pupil

Adds poppy.Instrument.get_aberrations which returns a poppy.OpticalElement or None. Used in the implementation of the WFIRST WFI model.
Additionally, lets POPPY select the units of OPD based on a FITS header keyword instead of forcing them to be microns.

Hmm, upon reflection this should probably be _get_aberrations rather than `get_aberrations.

This looks ready to go to me, and the test passes now. Just to confirm you're not planning to add anything else in to this PR? If so I can merge it now.

The only thing is if you think it's a good idea to have a fallback interpretation of OPD maps supplied without units. Since it would still break existing installs if we defaulted to meters, and it would be perhaps more surprising than just erroring out, I'm inclined to stick with having the code be pedantic about needing units supplied.
Aside from that, good to go!

I agree that erroring out is the least likely behavior to yield incorrect results. Explicit is better than implicit, errors should never pass silently, and all that.


Compatibility for Cypress 10 files change to cy.ts and cy.js

in Cypress 10. the Spec files are changed to be .cy.ts and .cy.js as apposed to .spec.ts and .spec.js.  This breaks the highlighter functionality.

Hey @jdini76
Thanks for reporting it! I just pushed a new version of the extension (v.1.2.0) with support for Cypress files. Can you give it a try? :)

Thanks so much for the quick turn around on this.  So far things look good!

No problem :)
Luckily it was an easy fix so I could implement it quickly. Thanks for using the extension.


Rename master to main

https://www.theserverside.com/feature/Why-GitHub-renamed-its-master-branch-to-main

Thanks! This is resolved.


Fail with challenge_required message

I followed the instructions step by step to add this lib to my project, but I get "checkpoint_challenge_required" error type. I don't know how can I fix this issue.

I followed the instructions step by step to add this lib to my project, but I get "checkpoint_challenge_required" error type. I don't know how can I fix this issue.

All Instagram private api's are disabled and deleted.
The Instagram server has been updated.

I followed the instructions step by step to add this lib to my project, but I get "checkpoint_challenge_required" error type. I don't know how can I fix this issue.

All Instagram private api's are disabled and deleted.
The Instagram server has been updated.

What? Everything works for me. Why do you think so?

I think We can't use Instagram login for new applications. Instagram suggest to use Facebook login instead

It's really hard to get this API to be working flawlessly.
Challenge Authentication can be bypassed though, there are 2 ways of doing so:

The first one is to fake a request acting as the instagram app, and to transmit to the servers a fake ack request.
The second one is by asking the user tu authenticate via SMS or email basing on the current available method(s).


Add support for dasherized/camelized urls and attribute keys

This is an updated version of @theirishpenguin's PR #143 with a few improvements:

Removes the global configuration class, moving the formatter configuration to class attributes on JsonApiClient::Resource. This allows the formatters to be overridden on a per-resource basis.
Uses the configured key formatter when serializing attribute and relationship data.

Just found an untested case around metadata; update coming shortly.

Nice one @reidab! FWIW, will take a proper look at your PR tomorrow. Would love to see some progress on this and see this feature fully implemented.

Just reviewed this and love the changes. The successful change to per-resource overriding is great. :+1:


coqPackages.coq-record-update: 0.3.0 → 0.3.1

Description of changes
Fixes: https://github.com/tchajed/coq-record-update/releases/tag/v0.3.1
cc maintainer @ineol.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/582


Add cmake files for android build

Borrow cmake files from opencv, to make it buildable using Android's ndk toolchain.

Have these files been adapted to dlib in some way?  Or are they simply copies of files from another project?

@davisking They are copied from https://github.com/taka-no-me/android-cmake but I verified that it works without problems. I actually did not modify any of those files.

If you think that's no worth to be copied to this project. Feel free to close it.

Yeah, people who want to use it can just get it from the original project :)

But there is no any documentation about that. Having it checkin have the benefits or supporting more platform without much effort.
If not added, I wish there is a documentation about this somewhere. That would save others' time.

That's true.  But copying the files doesn't address the lack of
documentation.  If you wrote a blog post or something like that which
documented how to setup an android build using cmake that would be super.


Create language specification

Closes #64

This contains a first draft of the Ham language specification, and how the Ham language translates into Ninja.
Jam is very loose with its semantics of dependencies, so there are some hacky workarounds on the Ninja side for the general case, but the "normal" usage is fairly straightforward.
There are some (small) intentional semantic changes versus Jam defined in this doc, and I need to go back over it to put down missing info (like target binding). I'll also document any important differences from Jam in another document.

The purpose of this doc is both to serve as a reference for users, and also make it easier for me to plan out the architecture before actually creating the structure; for instance I hadn't considered any of the edge cases transforming to Ninja before making this.
Writing this now lets me slightly tweak Ham's semantics before hand to be less buggy/work better with Ninja.

This specifies the language well enough for current work (parsing/evaluating) to continue. Other parts of the spec can be fleshed out more when the appropriate parts are developed.


Output format of camera pose estimation

Hello authors,
The camera pose estimation function returns the pose in terms of a 'qvec' and 'tvec'. Am I right in assuming that the 'qvec' corresponds to the orientation in terms of quaternions and the 'tvec' corresponds to the translation? What is the format of the output for the camera pose estimation?
Also, if array 'qvec' in fact does return the quaternions, what is the origin/reference with respect to which the quaternion/orientation is calculated?
Your help is much appreciated.
Thanks!
Shivani Kamtikar

The repository uses COLMAP as backend so the pose is returned in COLMAP format qw, qx, qy, qz, tx, ty, tz in world-to-camera convention - see https://colmap.github.io/format.html#images-txt.


ImageMagick: remove alpha channel from PDF thumbnails

Will otherwise create black images in most cases.

Coverage decreased (-0.01%) to 0.571% when pulling 18aa8f93512de269212f20a1622aa68f11c36ef6 on dunn:pdf-alpha into 926d3a72d0728892de72325db34041cdb30509d2 on curationexperts:master.

We're getting this error: https://github.com/cbeer/engine_cart/issues/90, but I don't see any references to .internal_test_gem here.

@dunn that's using a really ancient version of engine_cart. Can you upgrade it?

@dunn looks like the upgrade is done in https://github.com/curationexperts/riiif/pull/121, just need someone to merge.

@dunn Jack merged that other PR, so can you rebase this?

I had to unpin bundler in order to test locally, but I can remove that commit if there's a reason to keep it at 1.x.


wow, very good, hope it can be open-sourced soon

Thanks for your interest in our project.
We are working on preparing the code for public release. In the near future, we will release a demo (like Gradio) with all features.

It's another alibaba project just like AnimateAnyone!

I think the completed task has some similarities with “DreamPose: Fashion Image to Video Synthesis via Stable Diffusion”, but the latter is also not open-source.

Hope to see the training code with training dataset (want to compare dreamoving with DISCO).

where is the code?

anything from alibaba has about a 35-40% chance of being released.

I wonder why most demos for human dancing video synthesis (this dreamoving as well as DisCo) cut the image frames below knee. Not easy to follow feet movement?

anything from alibaba has about a 35-40% chance of being released.

I am not holding my breath

it won't happen, just like this, https://github.com/HumanAIGC/AnimateAnyone/issues/37#issuecomment-1855484136
welcome to know chinese opensource🤣🤣🤣


🐞[bug]: Adjust Scroll to Top Button Size to Match Chatbot Icon

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
The current "scroll to top" button appears to be smaller than the chatbot icon. To improve consistency and UI balance, the "scroll to top" button should be resized to match the size of the chatbot icon.
Expected behavior
The "scroll to top" button should have the same size (width and height) as the chatbot icon.
Add ScreenShots

What browsers are you seeing the problem on?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

@sezallagwal it's not required


Merge beta.7 release branch to master

Merge beta.7 release branch to master. Make sure choose the option "Create a merge commit" to merge this PR, so the tag can be easily synced to clients with a fetch.

The windows package names are updated. Please take another look. It's easier to just review the last commit.


Update for qupath v02

Use new QPEx method
Get 2D list from 3D

Codecov Report

Merging #226 (1454aaa) into master (b9d225d) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 1454aaa differs from pull request most recent head 0d6ce1a. Consider uploading reports for the commit 0d6ce1a to get more accurate results

@@           Coverage Diff           @@
##           master     #226   +/-   ##
=======================================
  Coverage   51.65%   51.65%
=======================================
  Files          77       77
  Lines        5910     5910
=======================================
  Hits         3053     3053
  Misses       2857     2857

Impacted Files
Coverage Δ

pyluna-pathology/setup.py

setup.py
0.00% <0.00%> (ø)

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 b9d225d...0d6ce1a. Read the comment docs.


[Bug]: File names are not correct when calculating variability indices for certain realizations.

What happened?
I'm using r*i1p1f1 in the parameter file to calculate variability indices for all realizations but with i1p1f1 (only change r numbers). This seems to work but the output file name does not follow the realization name:
metrics_results : /p/user_pub/climate_work/duan5/Noise/DuanPMP-New/CanESM5-psl-historical-CBF
Converting units by  divide 100.0
 -----  CanESM5  ---------------------
model_path: /p/css03/esgf_publish/CMIP6/CMIP/CCCma/CanESM5/historical/r1i1p1f1/Amon/psl/gn/v20190306/psl_Amon_CanESM5_historical_r1i1p1f1_gn_185001-201412.nc
 ---  r*i1p1f1  ---
model_lf_path: None
Warning: Data now ends at 2014 instead of 2015
Converting units by  divide 100.0
INFO::2024-07-17 14:40::pcmdi_metrics:: Results saved to a json file: /p/user_pub/climate_work/duan5/Noise/DuanPMP-New/CanESM5-psl-historical-CBF/var_mode_NAO_EOF1_stat_cmip6_historical_mo_atm_CanESM5_r*i1p1f1_1850-2014.json
2024-07-17 14:40:40,049 [INFO]: base.py(write:251) >> Results saved to a json file: /p/user_pub/climate_work/duan5/Noise/DuanPMP-New/CanESM5-psl-historical-CBF/var_mode_NAO_EOF1_stat_cmip6_historical_mo_atm_CanESM5_r*i1p1f1_1850-2014.json
2024-07-17 14:40:40,049 [INFO]: base.py(write:251) >> Results saved to a json file: /p/user_pub/climate_work/duan5/Noise/DuanPMP-New/CanESM5-psl-historical-CBF/var_mode_NAO_EOF1_stat_cmip6_historical_mo_atm_CanESM5_r*i1p1f1_1850-2014.json
model_path: /p/css03/esgf_publish/CMIP6/CMIP/CCCma/CanESM5/historical/r1i1p1f1/Amon/psl/gn/v20190429/psl_Amon_CanESM5_historical_r1i1p1f1_gn_185001-201412.nc
 ---  r*i1p1f1  ---
model_lf_path: None

The model path is correct with r1i1p1f1 but not the file names.
What did you expect to happen? Are there are possible answers you came across?
The file name should follow the model path name.
Minimal Complete Verifiable Example (MVCE)
No response
Relevant log output
No response
Anything else we need to know?
No response
Environment
pcmdi-metrics             3.3.4                    pypi_0    pypi

@ShihengDuan Thank you for reporting this. I am currently on vacation but should be able to work on this in a few weeks after I return. Do you have a workaround during the mean time?

I'm using * for now and it should be fine for most models. But for CanESM5, there are lots of ensembles with varying physics schemes (which we don't need). So it would be better if we can only get the ensembles with different initial conditions.

I tried to use xsearch and only select the ensemble members I want to keep. Here is a workaround that is slow but seems to work.
import sys
sys.path.insert(0, '/p/user_pub/xclim/persist/software/xsearch/')
import xsearch as xs
import argparse
import subprocess
import os

def get_args():
    parser = argparse.ArgumentParser()
    parser.add_argument('--model', type=str, default='CanESM5')
    parser.add_argument('--scenario', type=str, default='historical')
    parser.add_argument('--variability', type=str, choices=['PNA', 'NAM', 'SAM', 'NAO'])
    args = vars(parser.parse_args())
    return args

def modify_template_file(template_path, new_file_path, new_lines):
    # Read the content of the template file
    with open(template_path, 'r') as file:
        content = file.readlines()

    # Add new lines to the beginning
    new_content = new_lines + content

    # Save the modified content to a new file
    if os.path.exists(new_file_path):
        os.remove(new_file_path)
    with open(new_file_path, 'w') as file:
        file.writelines(new_content)

args = get_args()
model = args['model']
scenario = args['scenario']
variability = args['variability']
var = 'psl'
print('model: ', model, ' \nscenario: ', scenario)
files = list(xs.findPaths(scenario, var, 'mon', model = model).keys())
print(sorted(files))
print(len(files))
template = 'parameter_template_psl.py'
for file in files:
    member = file.split('/')[-6]
    # print(member)
    if 'i1p1f' in member:
        print(member)
        new_lines = [
            "scenario = "+"'"+scenario+"'\n",
            "gcm_name = "+"'"+model+"'\n",
            "realization = "+"'"+member+"'\n",
            "modpath = "+"'"+file+"'\n",
            "variability_mode = "+"'"+variability+"'\n"
        ]
        modify_template_file(template, variability+'-'+model+'-'+member+'.py', new_lines)

        command = f"variability_modes_driver.py -p "+variability+"-"+model+"-"+member+".py > "+variability+"-"+model+"-"+member+".out"
        subprocess.run(command, shell=True)

parameter_template_psl.py only contains parameters that are not relevant to the model and realizations (e.g., CBF, debug options, msyear)

@ShihengDuan my apology that it took me a while to get back to this. This should be resolved in the next version release. I am glad you have found the workaround and appreciate sharing it.

PR #1219 addressed this.


Broken translation?

I've installed this extension on a fresh new beta 5 but I can't get translation displayed.

I've deleted storage cache and removed assets .js
What can I do more?
Thanks.

Try re-enabling a random extension in your admin cp.

Well. I enabled Akismet. Nothing.
Disabled. Nothing.
Switched back to EN. Still Nothing.

What version of the extension do you have installed and what language do you have selected?

0.2.3 and I tried it with EN and FR.

Did you delete all assets/*.js?

Sure. Just did again right now.
Translation still not displaying.

CloudFlare enabled by any chance?

@Luceos it was almost that. There is a Varnish cache activated on my hosting.
2 hours passed, I was afk and it now works. How cool is that!
Thanks for your time!

No problem. Glad it got solved.


Spl-token importing

Hey ! For javascript browser we can import @solana/web3.js thanks to

but what is the equivalent for @solana/spl-token ?
I don't use Node for my website and need to keep include javascript like that.
Thanks

There is no browser-compatible import available for spl-token, and we don't have any plans to provide one right now.  You'll need to configure your own build to package everything together.
If you need to do this, however, you can copy something very similar to the rollup configuration for the stake-pool JS package: https://github.com/solana-labs/solana-program-library/blob/master/stake-pool/js/rollup.config.js and then run the build like in https://github.com/solana-labs/solana-program-library/blob/6b5e7cbbeb0fa9fe6448115d6c5fc83a75fc473c/stake-pool/js/package.json#L6


[💡 FEATURE REQUEST]: Decrease/set up a timeout for an error log

Plugin
JOBS
I have an idea!
RR > 2.*
When set incorrect credentials for sqs driver. Now, We must wait too long time to see the error log. I expect to see error as soon as possible, so I suggest decreasing this time for example 30s or give an ability for configuring this one.

Timeout set to 30s


added quotation around $JAVA nohup and exec call

When the $JAVA environment value contains spaces, the scripting context fails to interpret the command correctly.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@lamchakchan Thanks for your patch. Sorry that I'm going to close this PR since the issue was resolved by https://github.com/apache/kafka/commit/c34f3d066ead40d8c0bca0cf92d4226d2d6416c6


apps sc & wc: Modified the FluentdQueueLength alert expression

What kind of PR is this?
It triggers an alert if the rate of increase in the buffer queue length exceeds 0.3 units per minute over the last 15 minutes and sustains that condition for at least 5 minutes
Required: Mark one of the following that is applicable:

[ ] kind/feature
[x] kind/improvement
[ ] kind/deprecation
[ ] kind/documentation
[ ] kind/clean-up
[ ] kind/bug

Optional: Mark one or more of the following that are applicable:

[!important]
Critical security fixes should be marked with kind/security
Breaking changes should be marked kind/admin-change or kind/dev-change depending on type

[ ] kind/admin-change
[ ] kind/dev-change
[ ] kind/security
[ ] kind/adr

What does this PR do / why do we need this PR?

...

Fixes #

Additional information to reviewers
Screenshots
Checklist

[x] Proper commit message prefix on all commits

Change checks:

[x] The change is transparent
[ ] The change is disruptive
[x] The change requires no migration steps
[ ] The change requires migration steps

Metrics checks:

[x] The metrics are still exposed and present in Grafana after the change
[ ] The metrics names didn't change (Grafana dashboards and Prometheus alerts are not affected)
[ ] The metrics names did change (Grafana dashboards and Prometheus alerts were fixed)

Logs checks:

[ ] The logs do not show any errors after the change

Network Policy checks:

[ ] Any changed pod is covered by Network Policies
[ ] The change does not cause any dropped packages in the NetworkPolicy Dashboard

Pod Security Policy checks:

[ ] Any changed pod is covered by Pod Security Admission
[ ] Any changed pod is covered by Gatekeeper Pod Security Policies
[ ] The change does not cause any pods to be blocked by Pod Security Admission or Policies

Falco checks:

[ ] The change does not cause any alerts to be generated by Falco

n't really remember the discussion. That could be a good way to reduce the number of alerts while still alerting us

Sure yes i am checking that too FluentdOutputError with Grouping at namespace level by updating the alert rule , I will update the PR :)

My thinking was that it could be an idea to group by plugin_id so that there isn't one alert for each plugin_id per pod. I'm not sure if it's a good idea though but you can think about it.

My thinking was that it could be an idea to group by plugin_id so that there isn't one alert for each plugin_id per pod. I'm not sure if it's a good idea though but you can think about it.

Thanks @OlleLarsson  for the suggestion , plugin_id did not gave me desired result but yes with service label, it helped to reduces the alert one third of number originally(36 to 11)
I have updated the PR accordingly.


Add code scanning with CodeQL

Description:
Briefly describe the change of behavior

[ ] Closes #xxxx
[ ] Changelog entry

FYI @jviehhauser @ivergara

I got a single alert which I dismissed.


Threadtweak is outdated in 1.20.5

sry im not a english native speaker
When I launch minecraft, this appears:
Mod 'ThreadTweak' (threadtweak) 1.20.4-0.1.2 requires version 1.20.4 of 'Minecraft' (minecraft), but only the wrong version is present: 1.20.5!

Have you somehow delated the file (fabric_loader_dependencies.json)[https://github.com/TheBossMagnus/Thunder/blob/main/src/1.20.5/fabric/config/fabric_loader_dependencies.json] ? If that's the case readd it and everything should work fine.
Threadtweak isn't yet officially available for 1.20.5, but with this hacky workaround i was able to make it work just fine.

@renovat3 does this still happens on https://modrinth.com/modpack/thunder/version/1.2.1+1.20.5 or https://modrinth.com/modpack/thunder/version/1.0.1+1.20.6 ? ty

Closing due to no answer


posix: use uint32_t instead of void* for pthread_t

Several other widely-used pthread implementations abstract pthread_t as uint32_t. The benefit
there is that we avoid passing around a pointer to an internal structure (implementation detail).
Additionally, this removes the alias from k_tid_t to pthread_t inside of struct pthread_mutex.

Compliance check is a false positive

Compliance check failures are false positives.


Using cookies as json data from request

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
How to use cookie data as json object in python for using ytdlp? May be exists some way to add them to headers?
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
I have no problems with compiling

Construct the cookies string xxx from your JSON data according to RFCs.
Pass the cookies string as the value of a Cookie header. CLI: --add-headers "Cookie: xxx".

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie.

dirkf's solution has the problem that the cookies are sent to all domains. A better method is to transform it into a Netscape format textstream that http.cookiejar.MozillaCookieJar can read.
Ref:
https://github.com/yt-dlp/yt-dlp/blob/ddae33754ae1f32dd9c64cf895c47d20f6b5f336/yt_dlp/YoutubeDL.py#L305
https://curl.haxx.se/docs/http-cookies.html
https://docs.python.org/3/library/http.cookiejar.html#http.cookiejar.MozillaCookieJar

It really depends on OP's unspecified requirements: is this a quick one-off for some URL, or a production script that will be used with multiple sites?
While you probably don't care (and the server probably doesn't either) if you send cookies for videos.some.site to other.some.site or media.somesite.cdn, you shouldn't add a prepared cookie header option to a general-purpose config file or download script.


Fix events catching on rotated ellipse annotations

Fix #580

@kurkle as usual, I write step by step about math calculations... For sure, you don't like it ;)

@kurkle I didn't set the milestone because I don't know if you want to release it in 1.3.0 or before with another release


Lnt feature tc

all passed logs are here http://<IP_ADDRESS>/ptf/ipdk_lnt/

Result:SUCCESS JenkinsConsole:https://s3.ipdk.io/ovs/PR-48-1/index.html GitCommit:https://github.com/ipdk-io/ovs/commits/7885a5b06d545aca5903b97105ec54e2f6cc31dc

Below files are updated by copying them from p4proto/p4src/linux_networking in latest build <IP_ADDRESS>.5. Is it legit ?
common/p4c_artifacts/linux_networking/linux_networking.p4
common/p4c_artifacts/linux_networking/lnw_ct.p4

Result:SUCCESS JenkinsConsole:https://s3.ipdk.io/ovs/PR-48-2/index.html GitCommit:https://github.com/ipdk-io/ovs/commits/7885a5b06d545aca5903b97105ec54e2f6cc31dc

General comment:

Avoid using cryptic/abbreviated commit messages.
Some explanation of what the details are in descriptions would be helpful

all passed logs are here http://<IP_ADDRESS>/ptf/ipdk_lnt/

Another general comment: Links internal to a company should not be posted on public open-source forums

all passed logs are here http://<IP_ADDRESS>/ptf/ipdk_lnt/

Automated Linux networking test cases for following scenarios.

lnt_2hotplugvm_vxlan_2nsvm.py test case:
P4OVS along with two Hotplug VMs are deployed on localhost. Legacy OVS and two ip netns VMs are deployed on remote host. Vxlan is deployed between hosts

lnt_2vm_vxlan_2nsvm_5min_ping.py test case:
Continuous 5 minutes ping from local VM to remote VM is executed for above test case 1.

lnt_4vm_full_mesh.py.
Full mesh ping among local VMs and remove VMs for above test case 1

lnt_4vm_2host_add_dele_rule.py test case
Add and delete traffic rule and verify traffic accordingly upon rule’s existence.

lnt_ctrl_vhost_port_flap.py
Flap vhost port, vlan port and  vxlan control port and verify traffic accordingly upon the port state of up or down.

lnt_1hotplugvm_vxlan_1nsvm.py
P4OVS along with one Hotplug VMs are deployed on localhost. Legacy OVS and one ip netns VMs are deployed on remote host. Vxlan is deployed between hosts

lnt_4vm_on_same_host.py test case:
Four standard VMs are created on same host.  VLANs connectivity are deployed among VMs. Change code execution sequence by moving set-pipe code after VM creation code.

http://<IP_ADDRESS>/ptf/ipdk_lnt/

The logs are too large. It's not good to paste here. I couldn't find a way to attached large log file. Any suggestion?

Result:SUCCESS JenkinsConsole:https://s3.ipdk.io/ovs/PR-48-4/index.html GitCommit:https://github.com/ipdk-io/ovs/commits/13e0d4b66afdbffa54ad44bf69814439bf114759

Result:SUCCESS JenkinsConsole:https://s3.ipdk.io/ovs/PR-48-5/index.html GitCommit:https://github.com/ipdk-io/ovs/commits/13e0d4b66afdbffa54ad44bf69814439bf114759

Result:SUCCESS JenkinsConsole:https://s3.ipdk.io/ovs/PR-48-6/index.html GitCommit:https://github.com/ipdk-io/ovs/commits/13e0d4b66afdbffa54ad44bf69814439bf114759

Result:SUCCESS JenkinsConsole:https://s3.ipdk.io/ovs/PR-48-7/index.html GitCommit:https://github.com/ipdk-io/ovs/commits/13e0d4b66afdbffa54ad44bf69814439bf114759

Result:SUCCESS JenkinsConsole:https://s3.ipdk.io/ovs/PR-48-8/index.html GitCommit:https://github.com/ipdk-io/ovs/commits/9d3591e8905f16b73f68a8b87d159d13c45187c4

Can this be merged?

yes, please update the commit message as well to reflect this - https://github.com/ipdk-io/ovs/pull/48#issuecomment-1214634474 and then it can be merged


Functionality for /set banlist, /get banlist

Please, advise how to know endpoints for these commands and type ,content whatever for such requests? Unfortunately, web version of skype is limited.
Please, contact me, in case you can share experience of getting this info
<EMAIL_ADDRESS>Thanks in advance, Anastasiia

Found how, thanks

How'd you do it?

Set banlist (override previous value)
Endpoints.custom("https://client-s.gateway.messenger.live.com/v1/threads/@thread.skype/properties?name=banneduserlist", (SkypeImpl) SkypeHelper.getSkype()).header("Authentication", "skypetoken=" + ((SkypeImpl) SkypeHelper.getSkype()).getSkypeToken())
.expect(200, "")
.put(new JsonObject().add("banneduserlist","8:"));

Set banlist (override previous value)
Endpoints.custom("https://client-s.gateway.messenger.live.com/v1/threads/{chat id}@thread.skype/properties?name=banneduserlist", (SkypeImpl) SkypeHelper.getSkype()).header("Authentication", "skypetoken=" + ((SkypeImpl) SkypeHelper.getSkype()).getSkypeToken())
.expect(200, "")
.put(new JsonObject().add("banneduserlist","8:{user id}"));


Decide what to do with the API

There is a tiny thing bothering me: how to properly get the delta pose to the out world ?
It could be:

Through the twist of the nav_msgs::Odometry
Using the the process third arg relative_pose_msg
else ?

Depending on that the core API may evolve a bit.

Looks like we gonna stick with the current api.

Replace as many tf::Transform with
using Transform = Eigen::Affine3d;

for later handling of tf2.

Sooooo, the main issue now is that the retrieved increment ( process(scan, nullptr, increment_msg) ) is actually the increment since the last key-frame ...
Would one expects to retrieve the current increment instead ?

Sooooo, the main issue now is that the retrieved increment ( process(scan, nullptr, increment_msg) ) is actually the increment since the last key-frame ...
Would one expects to retrieve the current increment instead ?

Sooooo, the main issue now is that the retrieved increment ( process(scan, nullptr, increment_msg) ) is actually the increment since the last key-frame ...
Would one expects to retrieve the current increment instead ?


refactor: format repoData after receive event

Format repoData after receiving HostingClientRepoDataInitedEvent, fix #272.
For the RepoData module, the current strategy is that only one worker fetches the remote repo data, and then synchronize the data to other workers through the event mechanism. Before sending the event, the object will be serialized. After receiving the data, the type of createdAt/updatedAt ... changed from Date(object) to String, which caused errors in date comparison.
Signed-off-by: WuShaoling<EMAIL_ADDRESS>

/approve


"src" or "lib" directory missing if installing 1.1.1 from npm

After installing the latest version with npm and run webpack, I got the error:
These dependencies were not found:

react-sweet-progress in ./assets/js/app.js
react-sweet-progress/lib/style.css in ./assets/js/app.js
I thought I had something wrong in webpack or somewhere else. It took me an hour or so to realise that your package does not contain any actual source files apart from some config stuff.
I used your library in another project before and I didn't encounter this issue. Then I figured out that my another project was using a previous version which is 1.1.0.
You must have forgotten to upload the src or lib directory to npm with your 1.1.1 update.

Thanks you! Fixed in 1.1.2


Rename max_length dictionary members

(Wanted to do this before it fell off my radar). This PR renames the canonical keys we use in the max_length dictionary (used to set the max lengths for padding) to match the class variables in text_trainer.
Fairly trivial PR, i just ran:
grep -rl "word_sequence_length" . | xargs sed -i 's/word_sequence_length/max_sentence_length/g'
grep -rl "word_character_length" . | xargs sed -i 's/word_character_length/max_word_length/g'

with a git commit after each.
renaming _get_word_sequence_lengths to _get_max_sentence_lengths was unintended, but I kind of like the new name --- thoughts? it should actually probably get a new name altogether since you can get both the max_sentence_length and the max_word_length from it...

I think I would actually prefer to standardize the other way, removing "max" entirely.  For example, the keys that you used in the AS Reader are formatted like num_*: https://github.com/allenai/deep_qa/blob/b000dc22924a15d0817062e6acc682851b718409/deep_qa/models/reading_comprehension/attention_sum_reader.py#L121-L124.


Fix autobuild for organization

After moving the repository to a separate organization, packages need to be published in the same organization packages

@wherewhere do I need to move the winrt branch to another AdvancedSharpAdbClient.WinRT repository?

Wow, I will do that.

um... I am only a member...

um... I am only a member...

one moment

um... I am only a member...

done

I created a nuget organization.
https://www.nuget.org/profiles/SharpAdb

My VK ID is @wherewhere7. Maybe we can chat on it...

My VK ID is @wherewhere7. Maybe we can chat on it...
ahha, ok


SQL Saturday Belo Horizonte 2024

EventChecklist_SQLBH2024.xlsx

@way0utwest  Hey, Could you publish our event? other information will be sent soon.

This is live

@way0utwest
follow the registration information.

Call for Speakers
https://sessionize.com/sql-saturday-belo-horizonte-2024/

Listening Participants
*https://www.sympla.com.br/sql-saturday-belo-horizonte-2024-1097__2597146

The site is updated with the links.

@maruanafif Updated. Hope things go well

@way0utwest
follow the data.
logos of sponsors and their websites.
Sponsors Website = GOLD
Otus7 = https://otus7.com/
Engenharia de dados = https://engenhariadedadosacademy.com/
Fiap = https://www.fiap.com.br/
DATAX = https://www.linkedin.com/company/eventodatax/
Sponsors Website = SILVER
Pythian = https://www.pythian.com/
Sponsors Website = free organizer
Seu Chatgpt =  https://sulamitadantas.com.br/
DGA = https://www.dgasolutions.com.br/

@way0utwest
see if you can download the images

@way0utwest
Please update the website and only use this list
Follow the official list of volunteer names
Bernardo Zschaber
Fábio Sousa
Juliana Felix
Rafael Cardoso
Reinilson Júnior
Rodrigo Araújo
Tiago Morais

Please name them approapriately. It's not always clear which is which. I have a few updated with merge #740

@way0utwest
I sent it, now with the subject SQL Saturday Belo Horizonte 2024

Should be updated, but one of the images is very light.

@way0utwest
I have now emailed you the adjusted logo.

Can I get an update of number registered and attended? I sent an email as well

@way0utwest
the form was answered by a Sulamita Dantas.
please check receipt.


RFC: Vertical and Horizontal helpers like RN

paddingVertical, paddingHoriztonal, marginVertical, marginHorizontal

Interesting. I’ve seen this in a few other places as well, most notably Tachyons with ph and pv classes. I’m into it. Should be trivial to implement, too.

I’m not sure where to add this yet, but I’m still thinking about it.

@jaredpalmer One edge case I’m not sure how to handle is if the user specifies the shorthand prop as well as the normal prop. jsxstyle props are alphabetised before they’re applied, so you wouldn’t be able to rely on key order.
<Block
  paddingVertical={4}
  paddingTop={8}
/>

How does React Native handle that case?

I’ve been thinking about this a bit and I think it would work best as a babel transform.
I’m working on making some utilities that would make writing jsxstyle-specific babel transforms a bit easier. The babel plugin helper in particular would visit all JSXElements and call the callback only when it encounters a valid jsxstyle JSXElement.
Would look something like this:
const {
  isStyleAttribute,
  jsxstyleVisitor,
  makeAttribute,
} require('jsxstyle-babel-utils');

module.exports = jsxstyleVisitor(path => {
  const modifiedAttributes = [];

  path.node.attributes.forEach(attr => {
    if (!isStyleAttribute(attr)) {
      modifiedAttributes.push(attr);
      return;
    }
    if (attr.name.name === 'paddingVertical') {
      modifiedAttributes.push(makeAttribute('paddingTop', attr.value));
      modifiedAttributes.push(makeAttribute('paddingBottom', attr.value));
      return;
    }
    modifiedAttributes.push(attr);
  });

  path.node.attributes = modifiedAttributes;
});

Still thinking this over but I’m going to close it for now.

How does React Native handle that case?

I've documented this detail of RN, specifically https://github.com/necolas/react-native-web/blob/1776891/website/guides/style.md#how-styles-are-resolved

🚢 💨


Illegal offset type when Resource has Custom keys with array type

Getting below error when Importing
Illegal offset type {"userId":1,"exception":"[object] (ErrorException(code: 0): Illegal offset type at /path/to/project/vendor/simonhamp/laravel-nova-csv-import/src/Importer.php:133)
[stacktrace]
#0 /path/to/project/vendor/simonhamp/laravel-nova-csv-import/src/Importer.php(133): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'Illegal offset ...', '...', 133, Array)
...

I traced the issue down to this function in Importer.php
private function mapRowDataToAttributes($row)
    {
        $data = [];

        foreach ($this->attributes as $field) {
            $data[$field] = null;
...

The Nova Resource I was trying to import has a MapField, which in $this->attributes evaluates as an array. When checking for using offset array thats when it throws exception.
A quick solution i see is to check if key is string before using it.
 $data = [];

        foreach ($this->attributes as $field) {

           // skip array attributes
            if(!is_string($field)) continue;

            $data[$field] = null;
...

I could do a PR for this if this is ok

Thanks for investigating and reporting @tumainimosha. I'm not familiar with this sort of MapField... are you using a specific Nova package to add this or did you roll your own? Could you share the implementation of that Field so that I can investigate further?

@simonhamp I think it's about having a array casts on JSON field.
https://laravel.com/docs/8.x/eloquent-mutators#array-and-json-casting


Update version to 1.0.26-2 on main

Update version to 1.0.26-2

🚀 [Deployed](https://github.com/Expensify/Expensify.cash
/actions/runs/765130740) 🚀 to
staging on Mon Apr 19 2021 at 22:41:56 GMT+0000 (Coordinated Universal Time)

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Refine executable dependencies

Complicating our Cabal setup to build executable dependencies is not nice. This PR pulls cardano-cli, cardano-node, and cardano-wallet to the Nix shell with a few words here and there directing people to the original repositories to find their best installation option. When people do want to build the executables from the source, they should do it in their respective clones, not changing commit hashes and doing it here.
The net effects of this PR are:

cardano-cli, cardano-node, cardano-wallet available in nix-shell by default.
cardano-node, cardano-cli, cardano-config, and an optparse-applicative fork removed from our cabal.project.
A thinner development environment (+82 -2194 yay!).

The second commit is only updateMaterialized, so reviewing the first one should be sufficient.
Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[ ] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[x] Useful pull request description
[ ] Reviewer requested

I tried to have nix provide the cardano-node and cardano-cli at some point. The problem was that inside the plutus nix-shell the version of the plutus (for example) dependency was not the same as the one from the cardano-node repository. So you get a pretty unpredictable build of cardano-node where some of its dependencies are actually not tested. This is why the current advice is to build or install the node separately.
I think that removing them from cabal is a very good idea, but adding them to nix is going to create problems for us down the road (which in fact, it already has).

@raduom I indeed built on your previous work and saw the removal commit! That is why I was still very vague with the cardano-node instructions. I don't know what the correct way is...
Overall, I don't think adding cardano-node to the Nix shell is the problem. People can choose not to use them, or easily build even less stable executables themselves. We should either document a stable way or just automate that process. I wonder if we could open an issue to track that, then merge this earlier? I'd be happy to remove cardano-node and cardano-cli from nix-shell for now if required.
For the issue, do you have notes on previously found problems? If plutus-apps should follow cardano-node then we should enforce that with tests and simply use prebuilt nodes?

I've tested this PR and the node builds without linking to the plutus-apps dependencies.

Thank you @raduom for your insights and help on Slack!


swift4.2 be default

Remove unsupported by Xcode 10.2 old swift version 3

Needs to be 4, not 4.2, or Carthage users for 4.0 are screwed.

Thanks!


Curl Error

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 16555  100 16555    0     0   158k      0 --:--:-- --:--:-- --:--:--  161k
=> Downloading nvm from git to '/home/nirgr/.nvm'
=> Cloning into '/home/nirgr/.nvm'...
remote: Enumerating objects: 365, done.
remote: Counting objects: 100% (365/365), done.
remote: Compressing objects: 100% (313/313), done.
remote: Total 365 (delta 43), reused 167 (delta 26), pack-reused 0
Receiving objects: 100% (365/365), 365.08 KiB | 1.43 MiB/s, done.
Resolving deltas: 100% (43/43), done.
remote: Enumerating objects: 366, done.
remote: Counting objects: 100% (366/366), done.
remote: Compressing objects: 100% (315/315), done.
remote: Total 366 (delta 43), reused 162 (delta 25), pack-reused 0
Receiving objects: 100% (366/366), 365.79 KiB | 896.00 KiB/s, done.
Resolving deltas: 100% (43/43), done.
fatal: bad object cdc56687ada0c47f97632b0049b0446aadbe3a3a
error: remote did not send all necessary objects
Failed to fetch origin with v0.39.7. Please report this!

What happens if you try to git clone the nvm repo?

git clone https://github.com/nvm-sh/nvm.git
Cloning into 'nvm'...
remote: Enumerating objects: 9308, done.
remote: Counting objects: 100% (2109/2109), done.
remote: Compressing objects: 100% (227/227), done.
remote: Total 9308 (delta 1993), reused 1916 (delta 1881), pack-reused 7199
Receiving objects: 100% (9308/9308), 3.59 MiB | 8.18 MiB/s, done.
Resolving deltas: 100% (5985/5985), done.

hmm - i wonder if it's a github fluke. Can you delete that cloned repo, and then rerun the install script?

hmm, that's very strange. can you confirm that the removal worked?
can you confirm that you have full ownership of your own home directory, and that it's on a disk that's writable and not full?

environment issue

environment issue

hmm, that's very strange. can you confirm that the removal worked?
can you confirm that you have full ownership of your own home directory, and that it's on a disk that's writable and not full?

yes

glad you figured it out! what was the environment issue?

since i was emulating linux
it had missing dependencies
getting nvm on windows and using that in the wsl works


How to verify the Precision, Recall and F1-Measure of the model

First of all, thanks for your work!
I'm using deeppavlov.models.classifiers.logreg_classifier and cos_sim_classifier. After I trained my models, I only saw those models can work, but I can't know the Precision of those models. So is there has some method to let me know the Precision, Recall and F1-Measure of my models?
Thanks!

In every config file you can modify train.metrics section: for example, add new metrics. They all be calculated in the evaluation phase of training. For implemented metrics see https://github.com/deepmipt/DeepPavlov/tree/master/deeppavlov/metrics
For example, there is F1-measure for classification tasks. You can implement your own metric taking it as an example:
https://github.com/deepmipt/DeepPavlov/blob/d643000f0a5bb4c220a28899d727e12e195000e0/deeppavlov/metrics/fmeasure_classification.py#L25


Edge hovering not working

I try to highlight edges upon hover event, but it's not working for some reasons
This is how I instantiate the instance:
var map = new sigma({
      renderers: [
        {
          container: document.getElementById('map'),
          type: 'canvas' // sigma.renderers.canvas works as well
        }
      ],
      settings: {
        defaultNodeColor: '#ec5148',
        defaultEdgeColor: '#917373',
        defaultEdgeType:'line',
        enableHovering:true,
        edgeColor: "default",
        maxNodeSize: 25,
        maxEdgeSize: 5,
        font:"Open Sans",
        enableEdgeHovering: true,
        edgeHoverColor: 'edge',
        defaultEdgeHoverColor: '#000',
        edgeHoverSizeRatio: 1,
        edgeHoverExtremities: true
      }
    });

I bind the events to it
     map.bind('overEdge',(e)=>{       debug(e);     })     map.bind('overNode',(e)=>{       debug(e);     })
reads in the data and start forceAtlas2
map.graph.read(this.getGraphData());       map.startForceAtlas2({worker: true, barnesHutOptimize: false,strongGravityMode: true});
I found out that the overEdge event is not even called, but overNode works properly.
I googled and found some possible solutions, such as adding size to edges. None of them works for me.
I  really appreciate it if anyone can help me.
Thanks!

have the same issue, did you solved it?

I also have this problem on the canvas type map. More specifically, when I first create a graph, it has only one node in my situation.  I find that if I add 1 other node and 1 edge, that edge does not dispatch overEdge events until I move one of the nodes using 'dragNode'.

^ no hover event
However, if I expand the map by adding 2 nodes and 2 edges (even as a first step) the overEdge event starts to work without any further adjustment.

^ now it works
I still can not figure out what seems to be blocking it.


behat --definitions not working as expected

The documentation at the following location suggests that "behat --definitions" should present a list of definitions.  It doesn't.
http://docs.behat.org/cookbook/behat_and_mink.html
I received an error:
The "--definitions" option requires a value.

behat [-c|--config="..."] [-p|--profile="..."] [--init] [-f|--format="..."] [--out="..."] [--lang="..."] [--[no-]ansi] [--[no-]time] [--[no-]paths] [--[no-]snippets] [--[no-]snippets-paths] [--[no-]multiline] [--[no-]expand] [--story-syntax] [-d|--definitions="..."] [--name="..."] [--tags="..."] [--strict] [--dry-run][--rerun="..."] [--append-snippets] [features]

Looking through the codebase the following alternative options:

use -dl to just list definition expressions
use -di to show definitions with extended info
use -d 'needle' to find specific definitions

It sounds like "-di" is a suitable match to the old "--definitions" behaviour.
I've just performed a pear upgrade on behat/behat to get the latest version.

use either short notations:
-dl
-di
-d needle

or full notation:
--definitions l
--definitions i
--definitions needle

--definitions now requires a specifier of values that you want to list


Mangahost

It would highly appreciated if you could add mangahosted. Thanks!
https://mangahosted.com/

#262


[MNT] Update codecov config

What does this implement/fix? Explain your changes.
Excludes some files from code coverage metrics.

I'm not really sure if that makes a difference. Doesn't seem like it.

The files were actually already excluded by the .coveragerc file which is used when generating the coverage reports in .github/workflows/build-and-test.yml.