IronPython .NET constructors and Intellisense failure

IronPython 2.7.5, PTVS 2.2RC and VS 2013 Desktop
To inherit from a C# class and call a specific base class constructor the IronPython docs say
.NET constructors can be overloaded.
 To call a specific base type constructor overload, you need to define a
 __new__  method (not __init__) and call __new__ on the .NET base type.

Assuming CSharpTest has multiple constructors and I want to call a specific one this, as recommended, works but gives no Intellisense on c
class Child (CSharpTest):
    def __new__(cls):
        instance = CSharpTest.__new__(cls, "one", "two")
        return instance

c = Child()

But if I call the C# constructor directly it also works and I get Intellisense on c.
class Child (CSharpTest):
    def __new__(cls):
        instance = CSharpTest("one", "two")
        return instance

c = Child()

It looks like Intellisense can’t track through new to see what the resulting type is. I don't know if this is an IronPython documentation failure (why bother going through  new if calling the constructor directly works) or something that Intellisense doesn't, or can't, do.
Sorry about the formatting  of__ new__ in the last paragraph. It should be double underscore+ "new"+double underscore but I can't see how to override the markdown without putting the text in a code block :(

Most likely we don't have any support for calling __new__ (use a single backtick to quote code inline) on a non-Python class. It's probably just never come up before.

Alternatively, we're hitting our default __new__ handling, which should return an instance of the cls parameter, and then we're not handling the managed base class.

It has been pointed out to me that calling the base constructor directly only gives Intellisense on the "c" instance for the original C# class so any further Python defined members of Child are not available in Intellisense. So this is problem has more impact than I originally thought.

Yes, but that should match Python's behavior. If you return an object from __new__ that is not an instance of the class containing __new__, then you have created a completely different object.
Your first code snippet is correct and PTVS is incorrectly handling it. You should code correctly for IronPython and don't break your code just for the sake of the editor :)

Thanks for filing this issue, @andygraham!  I've been trying to deal with this, as I have a C# class with a different constructor that I want to call directly.  The only way I can do this is with __new__, but as Andy points out, this breaks the Intellisense completely.


configurable mpack base urls (new optional vars: hdf_mpack_base_url, solr_mpack_base_url)

The most simple, least disruptive and downward compatible extension to
fulfill (my) feature request ( https://github.com/hortonworks/ansible-hortonworks/issues/78 ) to be able to override the mpack's base url without the base url (also) used to define the yum repositories.
Example config, to get the mpacks from a local /tmp folder:
hdf_mpack_base_url: "file:///tmp"
solr_mpack_base_url: "file:///tmp"

wdyt @alexandruanghel (other contributors @zer0glitch , @laurentedel ?)

Impl. infos:

That solution is very similar to (2) that I had proposed (in issue link)
Initially I was thinking if/howto achieve it through a more configurable hdf_main_repo_url , but was quickly giving that up, because the fact that this var is defined via include_vars loading does not make it overrideable in group_vars. (As long as ansible does not support something like https://github.com/ansible/ansible/issues/14248#issuecomment-254059046 )

For the group_vars/all issue, I end up removing everything in group_vars before using the code base.  Items in there should be defaults, since that is what it is being used for, and then can be overridden other than by the command line.  You can see how I handled this case here (https://github.com/sscpac/ansible-hortonworks/blob/master/playbooks/roles/ambari-config/tasks/main.yml).  As a side not, the sscpac fork is based on total disconnected network if that is a case you are trying to solve.

@zer0glitch thanks for your input 👍

For the group_vars/all issue, I end up removing everything in group_vars before using the code base.

Yeah I've done the same (including removing playbooks/all)

You can see how I handled this case here

- name: set repo variables
  set_fact:
    repo_os_family: "{{ repo_os_family | default(repo_os_family_default) }}"
    ...

(-^ Snippet from your repo) Yes (using set_fact with an extra set of default vars ) that is more or less the only option there is, and it would be ok for me if we could use that pattern throughout the role here ( @alexandruanghel ?) but I refrain from doing it in our fork as I prefer to keep the fork aligned as much as possible to upstream (If only ansible maintainers would understand us complex role users, and implement something like https://github.com/ansible/ansible/issues/14248#issuecomment-254059046 !)

As a side not, the sscpac fork is based on total disconnected network if that is a case you are trying to solve.

Yes have the same case for the customer I need to prepare now
ps: On that customer we also have Spacewalk as you do. One thing I didn't understand, is there a way to provide http repo URLs for a Spacewalk repository, assuming it's more difficult to disable any use of repositories in our hortonworks role vs giving it the spacewalk repos as http URL (despite that the nodes already see spacewalk repos, without any yum client *repo files!)

As far as I can tell, you have to change this in the UI, changing your database directly, or using the REST API.  That is what I ended up doing it.  Check this out here: https://github.com/sscpac/ansible-hortonworks/blob/master/playbooks/roles/ambari-blueprint/tasks/main.yml#L112
Be warned that the names must match, so your repo named MyAmbariRepo must be used in the name inside the json file to update the postgres database.

@alexandruanghel any concern with this PR (or need time to test first) ?

Closing this PR in favor of the simpler and more flexible one #154 .


decomposition for torch.minimum, torch.maximum

torch.maximum, torch.minimum can be decomposed using where (though we need to be careful about NaNs), we should do that...
cc @apaz-cli @tfogal

What's interesting about both torch.minimum and torch.maximum is that they are primitives in PyTorch, and similar operators are primitives in JAX.
While these operations can be expressed using other operations, it may be easier for executors to make the primitives fast than a decomposition of the operations.

Works for me as long as NVFuser fuses them (I initially wanted to file that as an issue but then switched to the decomposition).

I added the nvfuser label. Would you like to retitle the issue something "Add nvFuser support for torch.minimum and torch.maximum"?


warm-ups should be done as close to the actual trials as possible

would be nice if github supported creating branches by issue


Toa 72 channel join provider

Implements ChannelJoinProvider to let application control channel join behavior

Closing Pull Request, should have pulled to develop.


Fix gas support

Closes #1767
Checklist

[x] Relevant issue is linked
[x] Docs updated/issue for docs created
[x] Added relevant tests

@cptartur Can we fix and merge this one?


Interceptor does not work with multiple interceptors when attempting to pause

I am using this library to pause requests that fail with a 401 and attempt to refresh a token when these requests fail. My use also involves attaching request and response interceptors.
Here' the code I'm working with -
const axiosInstance = axios.create({ baseURL: HOST });

const createAuthRefreshLogic = failedRequest => axiosInstance.post('/auth/public/login', {}, {
  skipAuthRefresh: true,
  headers: {
    'Content-Type': 'application/json',
    Authorization: `Basic ${btoa(`${CLIENT_ID}:${CLIENT_SECRET}`)}`
  },
}).then((result) => {
  console.log('createAuthRefreshLogic');
  failedRequest.response.config.headers.Authorization = `Bearer ${result.data.token}`;
  return Promise.resolve();
});

axiosInstance.interceptors.request.use(
  (config) => {
    const latestToken = AuthService.getAuthServiceInstance().getAuthToken();
    console.log('request interceptor');
    if (config.url === '/auth/public/login') {
      // eslint-disable-next-line no-param-reassign
      config.headers.Authorization = `Basic ${btoa(`${CLIENT_ID}:${CLIENT_SECRET}`)}`;
    } else {
      // eslint-disable-next-line no-param-reassign
      config.headers.Authorization = `Bearer ${latestToken}`;
    }
    return config;
  }
);

axiosInstance.interceptors.response.use(
  (response) => {
    console.log('response interceptor');
    GlobalService.getGlobalServiceInstance().setLastUpdatedAt(Date.now());
    return response;
  },
  // Attempting to handle the errors here does not seem to work
  (error) => throw new ApiError(error) // This causes the the createAuthRefreshLogic to not be invoked
);

From the approach above, the requests don't seem to get paused for some reason? Is there an issue with how I'm approaching it.
~If I uncomment the request and response interceptors, the createAuthRefreshLogic interceptor does not get invoked. Anything I'm doing wrong?~
Update
I was able to get a part of the request and response interceptors to work with the createAuthRefreshLogic function.
However, trying to handle the errors within the response interceptor causes createAuthRefreshLogic to not be invoked, but I still see two 401 requests while neither seem to be paused.
Here's a screen shot of the network requests failing. The 401s don't seem to be getting paused.

I'm having the same problem. Did anybody ever figure this out?

lol, I wrote my own Interceptor middleware and I am struggling with exactly same issue now 😅


Generic term system

See #162
Things to finish before considering ready for merging:

[ ] complete parsing of typedefs
[x] parse ontology metadata (we'll need the name at the very least)
[x] simplified input format as per @sanjarogic recommendations
[x] add a message source for resolving ontology terms from the database if missing from messages.properties
[ ] remove stubbed ontologies and move PHONe-specific data into https://github.com/PavlidisLab/pediatric-oncology-network-rdp-registry-data
[ ] deal with purl URL redirection
[ ] preserve term activation when deactivating an ontology
[ ] inference for searching
[ ] fix drag & drop for term table (especially the drop at last position)
[x] fix handling of missing rows (null booleans cannot be rendered by Thymeleaf)
[ ] fix validation of empty multipart file when importing ontologies

Hmm, seems like the Java compiler on GitHub Actions is having trouble with the @SuperBuilder annotations. I can't reproduce this locally.

PURL URL for Uberon dosen't work because it has a double HTTP redirection. It seems that only a single redirection is supported.

It's actually due to the protocol change that GitHub expects, not the number of redirections:
http://purl.obolibrary.org/obo/uberon.obo -> https://github.com/obophenotype/uberon/releases/latest/download/uberon.obo -> https://github.com/obophenotype/uberon/releases/download/v2022-06-20/uberon.obo

I'll see if there's a workaround as we should be okay with upgrading http:// to https://.

The profile page is a bit slow, there must be some intensive database query happening. I'm suspecting that the rendering logic for the ontology is at fault here.

EMAPA have thousands of subtrees because it lacks a hierarchy. We should cap the number of displayed subtrees at around 100.

It raises an interesting question: should we consider leave nodes as subtrees?

Slow tests can be mitigated by using a smaller ontology as fixture such as Uberon.

I will now proceed with the merge! We'll be addressing the nitpicking in the dev trunk and a release branch.


Store users profile images

Why?

For admin panel monitoring or dashboard usage

where do you want to store ?

Minio


#49 Feat/query all ever gifted punks

This tab will show all the punks that have ever been gifted. Same rules of sorting by newest at the top, apply.
Timestamp needed to be added after merge #48
Also, created a new way to show crypto punks, which has a little overlapping on mobile. Let me know if the design is something preferable, and I will fix the mobile issue with it.

I LOVE the cleaner design. Didn't noticce any mobile overlap :)
But I have a few very minor comments.
(1) The tab currently gifted isn't showing anything, but there are a number of punks being gifted right now. The definition of the punks that are being gifted right now is when the end tenancy date is in the future.
(2) The tab of all ever gifted isn't showing all the historical and current punks. (This could be a problem with the subgraph, whereby it deletes the punks that are no longer active)

I LOVE the cleaner design. Didn't notice any mobile overlap :)

The mobile overlap happens with longer hour values: 11:23 pm, it looks minor, but still.

But I have a few very minor comments.
(1) The tab currently gifted isn't showing anything, but there are a number of punks being gifted right now. The definition of the punks that are being gifted right now is when the end tenancy date is in the future.

done

(2) The tab of all ever gifted isn't showing all the historical and current punks. (This could be a problem with the subgraph, whereby it deletes the punks that are no longer active)

Maybe because the tenantId for the expired ones set back to "0x0000000000000000000000000000000000000000", but just guessing. I only get 6 punks back from the API alltogether.

Maybe because the tenantId for the expired ones set back to "0x0000000000000000000000000000000000000000", but just guessing. I only get 6 punks back from the API altogether.

where have you noticed this?

Maybe because the tenantId for the expired ones set back to "0x0000000000000000000000000000000000000000", but just guessing. I only get 6 punks back from the API altogether.

where have you noticed this?

Queries, I see this filter:
  where: { tenant_not: "0x0000000000000000000000000000000000000000" }

Not sure if the tenant is set back, just see the filter.

and here is the query, in case subgraph does not load for you:
{
    provenances {
    	id
      minSalePriceInWei
      cryptopunk {
        id
      }
      tenancyDates {
        id
        start
      }
    }
}


IP_PKTINFO socket option not supported

Tested on build 14905:
setsockopt(..., IP_PKTINFO, ...) seems to always return EINVAL.  This causes numerous failures in the .NET Core System.Net.Sockets tests.

@ericeil - Thanks for reporting this. This is already being tracked in our pipeline or work to be done. No ETA at this moment.

Just an update that a fix for this has been checked in the dev branch and should soon hit the Insider release.


Add a Providers::BaseManager::OperationsWorker

Add a worker which can handle ems_operation type work if a provider
needs e.g. custom connection handling
Depends:

[x] https://github.com/ManageIQ/manageiq/pull/19464

kicking


fix: asar file is recogonized as directory

ref: https://github.com/microsoft/vscode/issues/143393#issuecomment-1047518447
issue scrrenshot:

@ionutvmi
Help me check here https://github.com/ionutvmi/path-autocomplete/pull/104/files#diff-bce7092f72ad431a35618c01f1af65469c9b9b7dee60315bf3a3d9d209c13da2L262.

thank you for your contribution !

published in 1.19.0


CSV read stops

Describe the bug
When an exception occurs from Apache Common CSV library, the reader stops.
Someone might continue work with the shorter result, without noticing the shortage.
To Reproduce
Steps to reproduce the behavior:

Import finefood.sample.txt
Set delimiter as colon.
Click "Next", then "Done"
I.DS row count is 8000. (Correct!)
Import again, with comma delimiter.
I.DS row count is far less than 8000 (4183 in the screenshot)

This is because the CSV parser has stopped when it ran into wrong quotations between delimiters.
Expected behavior
I.DS row count should be more than 7000 skipping the ill-quoted lines.
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
BTW, whole empty lines are skipped by default.

1st integrated test passed.


add feign default http plugin

Feign provide default http client implementation with java.net.HttpURLConnection when run in default mode.
This is a plugin for intercept the default implementation of http calls by the Feign
Feign default http client Plugin Contribution
Link: /sky-walking/apm-sniffer/apm-sdk-plugin/feign-default-http-9.x-plugin/
Supported Version: feign-9.x
I have tested based on version 9.5.0，it can work.
trace DAG

trace stack

span infomation

#160

@pengys5 Next time, please add these comments in your pull request. 😆 It is a new feature, it seems strange as a part of issue.
And from my understanding, your demo is like this:
Java main(Feign client)[with agent] --->  Web application(without agent)

Am I right? Feign is only a client, the web application shows as a Feign default http, which looks like Feign is a web container. I know this is comes from the client's component tag. But still, it isn't right, I think. @pengys5 , thoughts?

Closing this. PR is ready to merge.


Added Paribu (Turkish Exchange, BTC/TRY)

Hi, I'm glad you found btcbar useful! I don't currently merge non-USD currencies into the official distribution to keep things tidy, but feel free to fork my repo and distribute your own version of the app.
In a future version of btcbar I'd really like to set up a plugin system so users can share Fetchers...


Renaming environment should also rename nested .jsonnet

Currently the env directory is being renamed on env set foo --name=bar, however the foo.jsonnet file also needs to be renamed to
bar.jsonnet. This commit fixes that.
Fixes #54

So, as I mentioned offline, the current regimen will "orphan" directories. If you rename us-west/prod to prod it will leave an empty us-west lying around. We should fix that before we ship.


Update route53.md

The route53:ListHostedZones action is also required for acme to renew the certs

@atif1996 can you please sign your commits? (see https://cert-manager.io/docs/contributing/sign-off/)


Battery level is zero C0% P0%

Is there any solution how to fix this?
Attached conf file. (I use Miryoku)

CONFIG_ZMK_KEYBOARD_NAME="Chocofi ZMK"
CONFIG_USB_DEVICE_VID=0x13BA
CONFIG_USB_DEVICE_PID=0x3E7
CONFIG_ZMK_BLE=y
CONFIG_BT=y
CONFIG_ZMK_IDLE_TIMEOUT=30000
CONFIG_ZMK_SLEEP=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000
CONFIG_ZMK_MOUSE=y

My config is based on ZMK repo main branch + another branches which were merged into the main:
ftc/zmk/mouse-ftc petejohanson/zmk/ble/gatt-dis-config-improvements manna-harbour/zmk/suspend-test

Hi, you need https://github.com/zmkfirmware/zmk/pull/1243 to be merged for this to work.

@Katona It's doesn't work anymore. I'm using miryoku layout and github actions

Yeah, my branch is completely outdated, I didn't get the chance to update it.

@Katona could you please give a hint what should be updated?

It was already finish and merged to main.
https://github.com/zmkfirmware/zmk/pull/2045#event-11381541407


Polymer.updateStyles under SHADY DOM

This instruction behaves as expected on Shadow DOM
Polymer.updateStyles({'--accent-color': 'red']});

All components change, but in Shady dom, some components as 'paper-button' does not change, I got
<style is="custom-style">
    :root {
        --paper-button: {
            background: var(--accent-color);
            color: var(--white);
        }
    }
</style>

This and other elements that obey the style rule does not change under SHADY DOM.

I have a repro based on Polymer 2.0 that demonstrates the same: https://github.com/srijken/polymer-issuerepro
Do you want to track this here or in a new issue?

Duplicate of #2268


add subcommand for genome_servers manipulation

there's no way to edit genome_servers from the command line now. The edits have to be made by hand in the config.
this will entail implementing a method in refgenconf and linking it to the CLI

I kind of like refgenie subscribe and refgenie unsubscribe.
list should show the servers.
changing the order is a bit harder, though. maybe refgenie promote and refgenie demote. not sure this would be easier though -- maybe just allow subscribing and unsubscribing and that's it... if you want to change priority you have to edit the file.

I'd say:
refgenie subscribe <url> <url1> appends to the server list
refgenie subscribe -r/--reset <url> <url1> creates a new one

and refgenie unsubscribe <url> just removes from the list


Debian package ?

Is there any chance of a debian package, e.g. python3-friendly-traceback ?
This would make it easier to use friendly-traceback in python/gtk based projects there.

I have no idea about what's involved in creating a debian package.  friendly-traceback is a pure python package with no dependencies other than what is found in Python's standard library.
I will leave this issue open in the hope that someone else can provide an answer.

Cheers, and feel free to close if it hangs around too long unanswered :)
(I've been procrastinating on learning this very thing for a while now)


Multiline select doesn't start where mousedown occurs

Issue Type: Bug
When starting a column / multiline select, the selection doesn't start where the mousedown event occurs (like in Visual Studio 2019)
This makes it really annoying to do multiline selects.
eg, when editing 5 lines of HTML elements and you want to add a 'class=""' to all of them. In order to do this, you first need to set the carret on the first line and THEN you can select downwards.
in VS2019 you don't need to set the carret first, you simply start the selection where it should start.
it should be very easy to fix this, simply set the carret on mousedown..

Does this occur after you run the Command Palette command to reload with all extensions disabled?

yes, this issue is a flaw in VScode.. not the extensions.

@Montago Column selection can be triggered by a multitude of steps. What precise steps are you doing?
For example, the following steps work for me:

pressing middle mouse button and dragging
configuring editor.multiCursorModifier": "ctrlCmd" to free up alt and then doing alt+click and dragging.

@Montago Column selection can be triggered by a multitude of steps. What precise steps are you doing?
For example, the following steps work for me:

pressing middle mouse button and dragging
configuring editor.multiCursorModifier": "ctrlCmd" to free up alt and then doing alt+click and dragging.

Hi .. I'm using CTRL + ALT + Mouse left
But it seems that middle-mouse does exactly what i want.
strange that there's a difference between the two.

so you closed this issue because i'm able to solve my problem by using my mouse - but the shift + alt behavior still sucks ??


As a CIF administrator, I want to see attachment added on its own form, so that its not an after thought after a project has been entered

Description:
This was a feature request raised by Lindsay P. during the CIF (Internal) App Demo on Apr 13, 2023.
Acceptance Criteria:
Given
When
Then
Development Checklist:

[ ] Checklist item
[ ] Checklist item
[ ] Checklist item
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:

Closing this as a duplicate of #1462


Added Bouachain Mainnet

1 ATM, will increase in a long run.
Sent from Proton Mail Android
-------- Original Message --------
On 12/10/2024 03:53, ping  wrote:

@liangping requested changes on this pull request.
How many validators do you have?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

We only accept blockchains which have 10+ validators on mainnet

Ok that's alright, once we have up to 10 validators. We will send a notification.


Feature Request: AddClientIDToOpenIDConnectProvider

Hi there,
I'm looking for a feature to add or attach new Client ID/Audience to an existing OIDC provider API doc

@yambottle you should be able to add a new client to an OpenIDConnectProvider using the OpenIdConnectProvider resource.
If you are not currently managing the OpenIdConnectProvider you can import the resource.

Hi @corymhall ,
Thanks for your response!
I might have a different use case of Pulumi project/stack abstraction here:
- organization_aws_account # Pulumi Project 1
- - org_iam.py # add OIDC provider
- - ...... # other org level infra
- - Pulumi.yaml
- - Pulumi.orgA.yaml
- - Pulumi.orgB.yaml

- team # Pulumi Project 2
- - team_iam.py # add audience/client_id
- - ...... # other team level infra
- - Pulumi.yaml
- - Pulumi.orgA_team1.yaml
- - Pulumi.orgA_team2.yaml
- - Pulumi.orgB_team1.yaml
- - Pulumi.orgB_team2.yaml

I have two Pulumi projects, the first one provisions organizational infra and each organization has a different AWS account; the second one provisions infra for each team within its organizational AWS account, and in my case, each team has a different client_id, but they need to have the same OIDC provider. With only OpenIdConnectProvider resource, I can only think of a solution that org_iam.py creates an OIDC provider and then team_iam.py gets the existing OIDC provider and then recreates/updates the existing OIDC provider with an updated client_id_list. However, this leads me to a 'resource exists' error.
My solution

Create the OIDC provider in org_iam.py

def create_oidc_idp():
  url = "xxx"
  account_id = aws.get_caller_identity().account_id

  try:
    existing_provider = aws.iam.get_open_id_connect_provider(arn=f"arn:aws:iam::{account_id}:oidc-provider/{url}")
  except:
    existing_provider = None
  # just in case to call pulumi up later after a new client_id been added
  if existing_provider:
    provider = aws.iam.OpenIdConnectProvider(
      "xxx",
      url=f"https://{existing_provider.url}",
      client_id_lists=existing_provider.client_id_lists,
      thumbprint_lists=existing_provider.thumbprint_lists
    )
  # initial creation
  else:
    provider = aws.iam.OpenIdConnectProvider(
      "xxx",
      url=f"https://{url}",
      client_id_lists=[],
      thumbprint_lists=["xxx"]
    )

# pulumi up --stack orgA

Add audience in team_iam.py

def add_audience_to_oidc_provider(client_id: str):
    url = "xxx"
    account_id = aws.get_caller_identity().account_id

    # if OIDC provider created and research_project provisioning adds client_id as audiences,
    # need to update the existing OIDC provider
    try:
      existing_provider = aws.iam.get_open_id_connect_provider(arn=f"arn:aws:iam::{account_id}:oidc-provider/{url}")
    except:
      raise Exception("OIDC provider not found")
    if existing_provider:
      existing_provider.client_id_lists.append(client_id)
      provider = aws.iam.OpenIdConnectProvider(
        "xxx",
        url=f"https://{existing_provider.url}",
        client_id_lists=existing_provider.client_id_lists,
        thumbprint_lists=existing_provider.thumbprint_lists
      )

# pulumi up --stack orgA_team1 -> 'resource exists' error
# pulumi up --stack orgA_team2 -> 'resource exists' error

Is there anything incorrect with how I deal with this? If not, I was thinking adding a function addClientIDToOpenIDConnectProvider or a resource ClientIDAttachment would be more logically straight forward to understand based on my Pulumi project/stack design. Or maybe there could be a better project/stack design for me, please let me know.

@yambottle thanks for the additional details. In these types of cases what I've done in the past is continue to centrally manage the OpenIdConnectProvider resource. If these projects are managed in different repos for example, the team that creates a new client_id would create a PR against the org repo to add their client to the provider.
If that doesn't work for your use case and you do need to be able to modify the OpenIdConnectProvider in different projects then I can see where a new resource would be useful. You would need to create a feature request in the terraform-provider-aws repo and see if they would be open to creating this additional resource.

@corymhall Thanks! Just created a request. For a temporary walk-around, I'll use boto3 add_client_id_to_open_id_connect_provider in the downstream script for now.


Rebuilded APK is Broken when used -force-manifest.

Information

Apktool Version (v2.4.0-dirty) -
Operating System (Linux - Termux Ubuntu Rootsfs) -
APK From? (Any) -

Steps to Reproduce

apktool d -s -r -force-manifest myapp.apk
apktool b myapp

Rebuiding Success But APK is broken everytime.
APK
Included any APKs
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything? - Yes
If you are trying to install a modified apk, did you resign it? - No
Are you using the latest apktool version? - Its up-to-date on Ubuntu20 aacrh64. apktool v2.4.0-dirty

This is not expected to be possible at this time, as the decompiled resources are required to recompile the AndroidManifest.xml file. So, -r/--no-res and --force-manifest aren't compatible if you'd like to rebuild the app (see #1699).
The only thing that could be done is changing up the documentation to note that this flag is intended for analytic purposes only (as is the case with --match-original), and that using this with --no-res prevents rebuild.

As mentioned above. This property is for analysis and not intended to be used for recompilation as you'll need hooks to resources to properly rebuild the manifest.
Slipped in commit to update docs to mention this - https://github.com/iBotPeaches/Apktool/commit/d9572e534461434b73a94b8821e415df91c16856
Closing as docs updated.


use reverse domain name for package name (and asmdef)

According to official documentation, It's recommended to use reverse domain name for package name.
This is mandatory for OpenUPM publishing
vcc.docs.vrchat.com/guides/convert-unitypackage/#package-maker-tool

The standard practice for is reverse domain notation like com.vrchat.packagename, using a domain you own.

Most other projects use reverse domain name, <user>.github.io is regarded to be owned by github user so I think we should use io.github.rurre as prefix.
See also: https://docs.unity3d.com/2019.4/Documentation/Manual/cus-naming.html

Will do in the next update later today. Thanks!


Missing/non-functional drawables

The following objects appear not to work; either no Drawables are defined for them, or nothing renders when you attempt to draw them:

Beacon
Circle K Power Cube
Fracker
Key
Key Locker
Lawson Power Cube
Media

Additional needs:

A way to specify beacon type
XM glow color constant for chaotic matter-based items (frackers, key lockers)
Color constants for the five key locker colors

Feel free to put up a PR for the drawables definitions (except beacon, that one might need special handling).
See manifest/assets.json and src/constants.js for how to define those.  Should be easy enough to follow the pattern for all of the inventory/world items.
Beacons will probably require special handling, but I haven't exactly kept up with the latest anti-obfuscation of the ingress client, so it could be a pretty big task to reverse engineer them and figure out how to implement them.
The color constants will face a similar issue, as well.  I'd recommend contacting someone who does regular teardowns to locate those for you... cough

Here is a recent example of adding a couple new items:
manitfest/assets.json and src/constants.js

So I've gotten Circle K/Lawson power cubes, frackers and key lockers working. I've also added in constants for the key locker colors and the chaotic XM glow color, although the latter is estimated and not actually read from Ingress. I ran into problems trying to get keys and media to work, and as you suggested I haven't attempted beacons. I'll be making a pull request soon.

Pull request created: #37

Did you ever get the canonical dark XM color/key capsule colors from the apk?

Not yet. I'll poke the teardown guy again.

👍

Actually, the key capsule colors are correct. It's just the chaotic matter color that is an estimate.

According to the teardown guy:
coreGlowChaotic: vec4.fromValues(1, 0.35, 0, 1)
coreGlowChaoticAlt: vec4.fromValues(0.66, 0.1, 0.09, 1)

Closed by #47


Extension section-bibliographies installed but not found during render

Environment: RStudio 2022.12.0+353 for Ubuntu Jammy
I am writing a scientific manuscript using Quarto/RStudio. I just installed the section-bibliographies filter as an extension using quarto install extension pandoc-ext/section-bibliographies which concluded with "Extension installation complete". I also now see the _extensions/pandoc-ext/section-bibliographies subdirectories in the project directory. I then updated my yaml as described in the section-bibliographies/README. However, when I render the .qmd file, it errors with "Error running filter section-bibliographies: Could not find executable section-bibliographies". I've looked for solutions to this issue, but have come up empty and am hoping you can help. Thanks.

It looks like Quarto tries to run the extension as a JSON filter, which won't work. Not sure what's going wrong there.
Workaround: specify the full path to the filter file. This will force Quarto to use it as a Lua filter:
filters:
  - _extensions/pandoc-ext/section-bibliographies/section-bibliographies.lua


Unable to use llm.Chat (OpenAI) with only one existing embedder for OpenAI

Description

this PR https://github.com/tmc/langchaingo/pull/362 removed the openai and vertexai chat embedders, with that we cannot anymore pass in the LLM created with the WithClient option to the embedder init method, because openai.LLM (https://github.com/tmc/langchaingo/blob/main/llms/openai/llm.go)  and openai.Chat LLM (https://github.com/tmc/langchaingo/blob/main/llms/openai/openaillm_chat.go) are two different LLMs.

when we want to use openai.Chat LLM, we need to have proper embedder for it.

code example (chat LLM through Azure) with vectorstore:
package main

import (
	"context"
	"os"

	openAIChatEmbedder "github.com/tmc/langchaingo/embeddings/openai/openaichat"
	"github.com/tmc/langchaingo/llms/openai"
	"github.com/tmc/langchaingo/vectorstores"
	"github.com/tmc/langchaingo/vectorstores/pinecone"
)

type Config struct {
	ApiKey          string // Azure OpenAI key 1 or (key 2)
	BaseUrl         string // Azure OpenAI base url
	Model           string // Azure OpenAI model
	EmbeddingsModel string // Azure OpenAI embeddings model
}

func main() {
	ctx := context.Background()
	config := Config{
		ApiKey:          "",
		BaseUrl:         "",
		Model:           "",
		EmbeddingsModel: "",
	}

	chatLLM, err := openai.NewChat(
		openai.WithAPIType(openai.APITypeAzure),
		openai.WithBaseURL(config.BaseUrl),
		openai.WithToken(config.ApiKey),
		openai.WithModel(config.Model),
		openai.WithEmbeddingModel(config.EmbeddingsModel),
	)
	if err != nil {
		print(err)
		os.Exit(1)
	}

	emb, err := openAIChatEmbedder.NewChatOpenAI(openAIChatEmbedder.WithClient(chatLLM)) // we cannot do this anymore
	if err != nil {
		print(err)
		os.Exit(1)
	}

	vectorDB, err := pinecone.New(ctx, pinecone.WithEmbedder(emb))
	if err != nil {
		print(err)
		os.Exit(1)
	}

	retriever := vectorstores.ToRetriever(
		vectorDB,
		1,
		vectorstores.WithNameSpace("namespace"),
		vectorstores.WithEmbedder(emb), // even here we could pass in the embedder separately
	)

        all other logic here not that important
	....
}

this code above shows how we can use llm.Chat with it's embedder.
The whole handicap is that now, without "github.com/tmc/langchaingo/embeddings/openai/openaichat" or the same for vertexai we cannot create the the embedder needed to be used in the llm.Chat or to pass it via WithClient llm option.
@tmc @eliben, continuing the discussion from the merged PR above.
This is the main blocker for us/me and whoever wants to use the chat llm.

yeah, that could resolve the issue, we should revert back the PR https://github.com/tmc/langchaingo/pull/362, then once we have better approach to satisfy the needs, we could do the clean up (and remove the duplication), b/c at the moment all people that were using llm.Chat are blocked for updates for the newer changes from the lib. cc @tmc

I can help with this a bit later today, if we don't have a simple enough forward fix I'm open to reverting for now.

PTAL at #374 - this is a sketch of what I mean. It makes the EmbedderClient interface public (we can still keep it in internal later) and adds NewEmbedder which takes EmbedderClient and returns a type that itself implements Embedder.
Both LLM and ChatimplementEmbedderClientimplicitly, so @zivkovicn you can take aChatyou created withopenai.NewChatand pass it toNewEmbedder. Its return value can then be passed into pinecone.WithEmbedder`.
Please try it and let me know if it works for you.

This approach can help reduce a lot of duplication that currently exists in the embeddings package; happy to get to that once we hash out the basic design, which is using interfaces to decouple things. What the embeddings package does is really take lower level clients that have CreateEmbedding and adorns them with some additional options (like stripping newlines and batching) to produce implementations of the more full-featured Embedder interface. #374 implements this with interfaces instead of duplicating the same code over and over and over.

Merged! Can we consider this resolved?

I think that we are good. Will resolve this issue. Thanks both!


For partner chains active sync a couple of additional indexes are handy

Partner chains noticed that they needed to add in the following two
indexes:
CREATE INDEX IF NOT EXISTS idx_ma_tx_out_ident ON ma_tx_out(ident);
CREATE INDEX IF NOT EXISTS idx_redeemer_tx_id ON redeemer(tx_id);

These help with performance using as an active bridge with Cardano to partnerchains. We've been manually applying these indexes but maybe these would be helpful for others if they were included by default?

Quoting from #1349

In general, since db-sync is used by different clients with different query needs, it should be the responsibility of clients to add the indexes that they need. More information can be found https://github.com/input-output-hk/cardano-db-sync/blob/1040fa9ec85fd75ce9f02dae2006170136793d02/doc/migrations.md#upgrading-to-13100

(Ofcourse - the master branch of that doc here for updated reference)

Another option is to have "common" indexes be added as a config option in the config file.
Technically adding the index sits behind a flag, but what we couldn't provide is thorough support of new features affecting these indexes.


Wrapper  tag

Hi, thanks for your grate package.
I searched a lot and I couldn't find a way to change the container component!
It would be really nice to add a "component" prop just like material-ui components to change the wrapper component if necessary!
Sometimes it's just cool to animate inline tags without having a  wrapper and trying to make that inline!
Thanks in advance.

CSS can't animate inline elements. Only block elements like div, img e.t.c.


Support for 1.21.4

I like this mod and would like to use it in the latest version.

just release a version for 1.21.4 let me know if you run into any issues

thank you!


Sass sourcemap issue

Node version:
v7.7.1
npm version:
4.1.2
Operating system:
Windows 10 Anniversary Update
Command line used:
babel-node tools/build.js
Steps to reproduce:
I'm using bootstrap-sass and I'm having an exception on the generation of the source maps.
C:\Users\Moi\live\node_modules\source-map\lib\source-map-generator.js:277
      throw new Error('Invalid mapping: ' + JSON.stringify({
      ^

Error: Invalid mapping: {"generated":{"line":1,"column":26388},"source":"webpack:///Users/Moi/live/src/styles/C:/Users/Moi/live/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss","original":{"line":15,"column":-11},"name":null}
    at SourceMapGenerator_validateMapping [as _validateMapping] (C:\Users\Moi\live\node_modules\source-map\lib\source-map-generator.js:277:13)
    at SourceMapGenerator_addMapping [as addMapping] (C:\Users\Moi\live\node_modules\source-map\lib\source-map-generator.js:101:12)
    at C:\Users\Moi\live\node_modules\source-map\lib\source-node.js:345:13
    at SourceNode_walk [as walk] (C:\Users\Moi\live\node_modules\source-map\lib\source-node.js:224:9)
    at SourceNode_walk [as walk] (C:\Users\Moi\live\node_modules\source-map\lib\source-node.js:220:13)
    at SourceNode_walk [as walk] (C:\Users\Moi\live\node_modules\source-map\lib\source-node.js:220:13)
    at SourceNode_toStringWithSourceMap [as toStringWithSourceMap] (C:\Users\Moi\live\node_modules\source-map\lib\source-node.js:336:8)
    at ConcatSource.proto.sourceAndMap (C:\Users\Moi\live\node_modules\webpack-sources\lib\SourceAndMapMixin.js:28:32)
    at Compilation.<anonymous> (C:\Users\Moi\live\node_modules\webpack\lib\SourceMapDevToolPlugin.js:57:32)
    at Array.map (native)
    at Compilation.<anonymous> (C:\Users\Moi\live\node_modules\webpack\lib\SourceMapDevToolPlugin.js:43:84)
    at Array.forEach (native)
    at Compilation.<anonymous> (C:\Users\Moi\live\node_modules\webpack\lib\SourceMapDevToolPlugin.js:42:11)
    at Compilation.applyPlugins1 (C:\Users\Moi\live\node_modules\tapable\lib\Tapable.js:75:14)
    at self.applyPluginsAsync.err (C:\Users\Moi\live\node_modules\webpack\lib\Compilation.js:630:11)
    at next (C:\Users\Moi\live\node_modules\tapable\lib\Tapable.js:138:11)

Is there a way to disable sourcemaps for css?

I have not seen this before but the source maps are set in the loaders within the webpack config.

@kwelch can I disable them for now somehow?

You can turn them off, by removing the sourcemap flag from this line in the webpack.config.
https://github.com/coryhouse/react-slingshot/blob/1a2b1d581c4d4e997f995aaa3826132a41932660/webpack.config.dev.js#L61
It will have to be done for both dev and prod if the issue exists in both.

Thanks, I'll try this out tonight

@nojaf, just following up. Did @kwelch's suggestion work for you?

Yes it did.

It appears this may be related to https://github.com/sass/libsass/issues/2312


Missing space after username in PR conversation headers

Today I saw that since a few days there's a space missing after the username in the PR conversation header.

It is likely due to this:
https://github.com/sindresorhus/refined-github/blob/6bba1c5de1e8b609e010f252d72ff9c63af431a6/source/features/clean-conversation-headers.tsx#L46
which should be ' into '
Github refined v20.8.16 on Chrome

PR: https://github.com/sindresorhus/refined-github/pull/3484


How to manage files size (axios) to upload?

Hello! Should be convenient to set maxContentLength + maxBodyLength using custom params? Ive tried to upload a pdf file which sizes +20mb but Ive had to add maxContentLength: Infinity, maxBodyLength: Infinity inside axios create function. Or maybe to get sizeLimit param inside providerOptions at plugin file. Thanks!

Sure, let me try. Thank you


[Feature] Add ability for channel admins to assign roles to users

A brilliant feature from Discord is the ability to define roles that can be assigned to users chosen by the administrators of the server, and I think without this key feature Stryve is rather lacking in moderation features.

A planned feature that is mentioned in the README.md.


Added TypeScript definitions

Fixed #61
Hi! We had a discussion in #61 about this. Adding types into the package itself is a better option than adding it to DefinitelyTyped (consumer doesn't have to install extra package), so please consider merging this PR. I think that's what many people need.

Coverage remained the same at 79.487% when pulling 2fe6c3ecdfb40e873c8fdf076e65c0c6ded93b96 on yurist38:add-ts-definition into 6e0dbe9cb71a8ee34906250bfe106e8d3ec7f26a on Wildhoney:master.

Thanks @yurist38 – merged and will publish a new version now.


⚠ Burdi - Selfservice has degraded performance

In 015f498, Burdi - Selfservice (https://manage.burdi.com.au) experienced degraded performance:

HTTP code: 200
Response time: 14879 ms

Resolved: Burdi - Selfservice performance has improved in 5dc4482 after 6 minutes.


#extensions-on-chrome-urls

Any chance making use of this chrome://flags/#enable-panels

Extensions on chrome:// URLs
Enables running extensions on chrome:// URLs, where extensions explicitly request this permission. – Mac, Windows, Linux, Chrome OS, Android
#extensions-on-chrome-urls

BTW Google should bring you on as Lead UI Dev for all projects.

I've tried this already, but unfortunately Chrome UI is based on polymer and heavily depends on Shadow DOM, so Midnight Lizard cannot completely override their styles. It would look something like this:


fix use boost regex instead of std

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Bumps dependency of flarum-ext-markdown to beta 5 so that no composer…

… installer is created anymore
flarum-ext.-markdown beta 3 requires the composer installer which then destroys your installation because of creating a extension dir etc.

This seems not correct to me:

You have merge conflicts committed.
The version constraint is minimal 0.1.0-beta.3 that also includes latest beta's.

Yes, sorry about the merge conflicts that was an error of me while trying to get it work.
The version constraint should be change to minimal 0.1.0-beta.5, because if not, beta3 is used and then an extension directory is created.

The version constraint indicates a minimum requirement so it will always propose any higher version.
And yes we should probably increase this constraint, but that won't be possible with this particulate PR.


small changes

Title

provide a brief description. Use "(feat):" for enhancement requests. Use "(bug):" for bugs/defects/issues.

Related Issue(s)

list any related issue(s) via issue title and number that this pull address is addressing.

Additional Info

provide any additional information relevant to the pull request

Summary by CodeRabbit
"Refactor: Updated Application Title"

The application's title in the metadata object has been updated from 'Makaut Buddy' to 'Makaut Buddies'. This change will reflect across the application wherever the title is displayed, providing a more accurate representation of the application's purpose and content.

Well Try!


Continuity does not work with Blueprint

Minecraft version
1.20.1
Describe the bug
Continuity does not work with Blueprint
Steps to reproduce
1.Install Embeddium Lazurite continuity and blueprint
2.Start the game
3.continuity doesnt work though built-in resourcepacks are enabled
...
Logs
No response
Additional context
No response

Duplicate of #1001


SyntaxError: Named export 'importClass' not found.

Describe the bug
The hello world example does not work out of the box.
To Reproduce
Try the hello world example.
Expected behavior
No import errors
Environment

Windows 11 64bit
Node 20 LTS
Java 1.8

Additional context
Needed to use
import pkg from "java-bridge";
const { importClass } = pkg;

Then I also had to use the libPath option for the jvm, but that was not an issue.

Are you using Typescript or an ESM module? The example in the readme is written in Typescript and runs fine if compiled to CommonJS. But I've never tested ESM, so this may be an issue.

Hi yes, I am using ESM and not transpiling using vite  / webpack / babel / other ...
It makes sense it could work if transpiled, I guess that was implied, but the above works if anyone is using type: "module".


Github bug - Fix the releases out of order

Semi fixed, but v0.7 is still out of order, have to fix that.

Fixed.


Updating standard peripheral library to low-layer API

STM released a library called Low-Layer(LL) API after the standard peripheral library(SPL). They're both similar in syntax, but STM has been supporting LL and deprecated the SPL. Would this be something that you all would want to do? I don't know if you all can allocate more members to this or not but wanted to let you all know! If you do want to do this, I can send the library src folder to you.
Just as a note, LL is different from STM's High Abstraction Layer(HAL) library which has some overhead. There may not be a lot overhead in HAL, but there are some register level stuff we need that HAL can't provide easily.

There's an overview of HAL and LL here: https://www.st.com/content/ccc/resource/technical/document/user_manual/2f/77/25/0f/5c/38/48/80/DM00122015.pdf/files/DM00122015.pdf/jcr:content/translations/en.DM00122015.pdf
From what I can tell, LL does not provide a CAN API. Since this is somewhat critical to our operation, I could see this being an issue. We could write our own drivers at the register level instead, but that seems like a non-trivial project.

Yea that would be an issue. I did not see that, thanks for catching that Chase. We're able to have a hybrid of HAL's CAN API and LL on a project with no conflicts. The UART and SPI peripherals are the ones where we need to be close to the registers level (for the BPS with RTOS at least). What do you all think about this option?

Why exactly do we need to be close to register level with those peripherals? Not sure I fully understand this. Haven't been dealing this low level recently.

We need those peripherals on interrupts for the RTOS to block/unblock tasks. Peripheral data transfers are blocking functions, so the OS can schedule a different task to run if the original task is waiting on a peripheral transfer to be completed. In order to unblock a task though, we need an indicator for when a transfer is complete. The interrupt handler can be triggered whenever a transfer is complete and inside the handler we can call a semaphore to unblock the task.
E.g. for the BPS, we have one task for voltage/temperature monitoring and the other task is for amperes monitoring (volt/temp task priority higher than amperes task priority). While the LTC driver is doing an SPI data transfer in the volt/temp task, the amperes monitoring task can running. Whenever the SPI transfer is complete, the SPI interrupt handler will unblock the volt/temp task. The OS will then schedule the volt/temp task to run now.
OS_SEM SPI_Sem4;

void VoltTempTask(void) {
    while(1) {
        Voltage_UpdateMeasurements();   // Blocking statement because LTC driver calls SPI1_Transfer
        // Do stuff

        Temperature_UpdateMeasurements();   // Blocking statement because LTC driver calls SPI1_Transfer
        // Do more stuff
    }
}

void AmperesTask(void) {
    while(1) {
        Amperes_UpdateMeasurements();
        // Do stuff
    }
}

void SPI1_Transfer(uint8_t data[], uint32_t len) {
    for(int32_t i = 0; i < len; i++) {
        OSSemWait(&SPI_Sem4);
        SPI1_DATA_R = data[i];
    }
}

void SPI1_IRQHandler(void) {
    // Ack tx complete
    OSSemPend(&SPI_Sem4);
}

Just to note, that code is an example and not actually in the BPS XD

I think using the mixed HAL and LL option would be good.

I think this would be a lot of work, and not worth the effort, since our BSP already works (for the most part)


Water doesn't freeze in winter

Describe the bug
Spigot with Minecraft 1.20.6
AdvancedSeasons 1.2.7 update.
ProtocolLib dev [#689] May 6, 2024, 5:02 PM
Water doesn't freeze during winter.
I tried disabling all other plugins except AdvancedSeasons and ProtocolLib.
No errors on console. Nothing in logs.
How to reproduce

Install Spigot 1.20.6 and dev version of protocolLib that runs on 1.20.6
Install AdvancedSeasons.
Set season to winter.
Nothing happens to water.

Screenshots / Videos
https://snipboard.io/8rXLsh.jpg
Server Log
No response

Try using the default config. If the problem dissapears, send all your config files to see where's the error.

Another thing, go to the river/ocean and then use F3 to determine the biome name, then go to biomeConfiguration/.yml and check that the winter.winter-frezee section is in TRUE. If not, set it to "true", restart your server and run /season setseason  and /season setseason winter and check.

Biome settings are on defaults.
I also set the calendar.yml to default settings and restarted in between. It seemed to make no difference, the issue still persists.
But I will try to isolate it further by setting up a Spigot 1.20.6 test server which runs only ProtocolLib and AdvancedSeasons on default settings. I will report back how it goes later today.

Not sure if the chunk info is relevant or what it means exactly. But it's showing spring.

Seems like water doesn't freeze in winter unless it's raining (?) so this is likely the  same issue as ticket #91


Consider use of "mkdir -p" in INSTALL.sh

# Create directories if needed:
if [ ! -d "$PREFIX" ]; then
    mkdir $PREFIX
fi

if [ ! -d "$BIN" ]; then
    mkdir $BIN
fi

if [ ! -d "$LIB" ]; then
    mkdir $LIB
fi

could be standard
mkdir -p "$PREFIX"/{bin,lib}

I've made the change as suggested to the INSTALL script.
Release: 1.2.4
Merge: 48b1ab5f06ad8dd1f92fb5aec9d136c9326bc553


feat: autoCLI added along with v0.50 SDK upgrade

Background
AutoCLI enabled

@aleem1314 your review to merge?

@aleem1314 we need your approval on this ticket to merge.

FYI @aleem1314 we need your approval to merge, ser.


[release] Check new structured docs

@Naros, any reasons you didn't merge this? Definitely feel free to do so :)
@jpechane, thanks!


[WIP][ENH] origin for lattice

This PR allows for the declaration of the starting point in the creation of regular lattices.

[x] functionality
[x] docstring
[ ] example
[ ] tests

[ ] test_network
[ ] test_network_api

maybe scrap the simple "origin" for this PR and adopt a more robust method via my dissertation code base: synthetic_grid.


Bootstrap 4.1.0 Carousal caption text jumps when sliding after adding media queries to caption text

I added below CSS to caption text
.carousal-caption-text {
    font-size: 1.2rem !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

	.carousal-caption-text {
    font-size: 1.5rem !important;
  }

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
.carousal-caption-text {
    font-size: 1.8rem !important;
  }

}

This is HTML for the caption part of carousal item:
<div class="carousel-caption carousal-caption-text">
<p> some  text </p>
<p> more text </p>
</div>

After making caption text responsive Carousal text jumps up from lower position to higher position as the image frame slides in all devices. Jump occurs at end of slide transition for each slide. Very annoying. Any fix?

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via JS Bin and report back with your link, Bootstrap version, and specific browser and OS details.

This is a saved reply.


Add --restart-container option to devspace sync command

Is your feature request related to a problem?
No
Which solution do you suggest?
It would be great to have ability to specify --restart-container option in devspace sync command, which would add functionality, already available via restartContainer option in devspace.yaml config.
Which alternative solutions exist?
Alternative would be to use devspace dev pipeline
Additional context
I need to run file sync separate from dev pipeline. DevSpace is a great tool, and it would be even better, if standalone dev sync command had the same functionality as sync section in dev pipeline.

/kind feature

Hey @petr-buchin! Thanks for creating this issue! I'm not sure if we should add this, since devspace sync is just meant to sync files into a container, but the --restart-container option would lead to replacing the container and injecting the restart helper. This is wanted in the regular dev workflow, but I'm not sure if we should add this for the sync command only as we would also need to add the other options for replacing a container or expect the restart helper to be injected already, which could cause confusion.

Thanks again for the suggestion, @petr-buchin .
As Fabian mentioned, we're having some concerns related to the integration of the suggested feature in our overall product concept.
I have converted this issue to a discussion so we could address the topic further, if you'd like to.
We would be happy to provide you with more details there!


qstopmotion: 2.3.2 -> 2.4.0

Motivation for this change
Version bump.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build qstopmotion

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: qstopmotion
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: qstopmotion
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/pzwi0s5jpzpw0rbwy9n9r65h8jrczc6x-qstopmotion-2.4.0
/nix/store/pzwi0s5jpzpw0rbwy9n9r65h8jrczc6x-qstopmotion-2.4.0
shrinking /nix/store/pzwi0s5jpzpw0rbwy9n9r65h8jrczc6x-qstopmotion-2.4.0/bin/qstopmotion
gzipping man pages under /nix/store/pzwi0s5jpzpw0rbwy9n9r65h8jrczc6x-qstopmotion-2.4.0/share/man/
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/pzwi0s5jpzpw0rbwy9n9r65h8jrczc6x-qstopmotion-2.4.0/bin
patching script interpreter paths in /nix/store/pzwi0s5jpzpw0rbwy9n9r65h8jrczc6x-qstopmotion-2.4.0
checking for references to /build in /nix/store/pzwi0s5jpzpw0rbwy9n9r65h8jrczc6x-qstopmotion-2.4.0...
postPatchMkspecs

Failure on aarch64-linux (full log)
Attempted: qstopmotion
Partial log (click to expand)
[73/80] Building CXX object CMakeFiles/qstopmotion.dir/src/technical/grabber/imagegrabberfacade.cpp.o
[74/80] Building CXX object CMakeFiles/qstopmotion.dir/src/frontends/qtfrontend/preferences/projectwidget.cpp.o
[75/80] Building CXX object CMakeFiles/qstopmotion.dir/src/technical/grabber/video4linux2/v4l2grabber.cpp.o
[76/80] Building CXX object CMakeFiles/qstopmotion.dir/src/domain/animation/animationproject.cpp.o
[77/80] Building CXX object CMakeFiles/qstopmotion.dir/src/domain/animation/scene.cpp.o
[78/80] Building CXX object CMakeFiles/qstopmotion.dir/src/frontends/qtfrontend/dialogs/cameracontrollerdialog.cpp.o
[79/80] Building CXX object CMakeFiles/qstopmotion.dir/src/frontends/qtfrontend/qtfrontend.cpp.o
ninja: build stopped: subcommand failed.
builder for '/nix/store/h8jn3a3xjh6dfcwwrryd34fnhmmw6q58-qstopmotion-2.4.0.drv' failed with exit code 1
error: build of '/nix/store/h8jn3a3xjh6dfcwwrryd34fnhmmw6q58-qstopmotion-2.4.0.drv' failed


(un)locking when (un)rolling

Context:
When a program is compiled it is locked, and no further changes can be made to it. This means that a compiled program cannot be unrolled unless Program.locked = False.
Description of the Change:
TDMProgram.unroll and TDMProgram.space_unroll unlock the program before unrolling and, if it was locked before, locks it again.
Benefits:
Users no longer have to manually unlock programs before attempting to unroll them.
Possible Drawbacks:
None
Related GitHub Issues:
None

Great @thisac! Quite simple but useful.  This is just missing a test checking that automatic unlocking/locking does happen when (un)rolling.


igluctl: drop version and extension from executable filename

Hey @oguzhanunlu, could you please prioritize this for 0.4.0? Reach me if you need help - this is a very quick thing to do.

Should be igluctl_0.3.0.zip/igluctl instead of igluctl_0.3.0.zip/igluctl-0.3.0.jar.

Sure @chuwy , I'll.


Automatic conversion of illegal class names

unocss样式的非法转化导致的样式未能正常生效。
例如 top-0 被转化成 top0 ，left-0 被转化成 left0。
version
nuxt 3.7.4
@unocss/nuxt 0.56.5
@unocss/eslint-config 0.56.5
tools
UnoT 0.0.49
The illegal conversion of unocss styles causes the styles to fail to take effect normally.
For example, top-0 is converted to top0 and left-0 is converted to left0.

It has been fixed in v0.0.50
da5836b2960b2389d76abb135a850aa20c78d588


BUNDLE_PATH is not respected with bundle/inline

When setting BUNDLE_PATH with a script using bundle/inline the folder is created but the gems are not downloaded inside it.
test script:
begin
  require 'bundler/inline'
rescue LoadError => e
  $stderr.puts 'Please update your Bundler'
  raise e
end

gemfile(true) do
  source 'https://rubygems.org'
  gem 'hello-ruby-gem'
end

calling this script with: BUNDLE_PATH=./vendor/bundle ruby test.rb creates the empty folders .vendor/bundle inside my dir.

Closed as expected behavior and documented through a test in #7154.


Fix nerdctl system info : sort problem.

/kind bug
Fix nerdctl system info : sort problem.

/kind bug
Fix nerdctl system info : sort problem.

Thanks @yanggangtony
Would you please provide more information about the bug, from the template from https://github.com/containerd/nerdctl/issues/new?assignees=&labels=kind%2Funconfirmed-bug-claim&projects=&template=bug_report.yaml :-)
like:

Steps to reproduce the issue
Describe the results you received and expected

... Thanks for so quick ..
I will supplement the issue description


-quiet progress issue

Hi @odeke-em!
I didn't want to bring this up earlier because you seemed busy but since you're very active today and I guess you might have missed the updates in #502 because the issue was already closed, could you please check why the "progress" information is "randomly" displayed while using -quiet?
Thanks in advance!
Edit: See https://github.com/odeke-em/drive/issues/502#issuecomment-172208797

Hello again @chevillet, thank you for opening this issue. My apologies for the late reply, I've been swamped lately. I'll take a look at it when am free.

No worries and you really don't need to apologize!

Hello @chevillet thank you for the kind words and for the patience. I'll be pushing up a CL to fix this in a second.

@chevillet please get the latest from master go get -u github.com/odeke-em/drive/drive-gen && drive-gen and if it persists, please don't hesitate to reopen this issue as it was autoclosed by a  commit from PR https://github.com/odeke-em/drive/pull/642.

Thanks a lot!
Just updated my setup, I'll let you know if it happens again.


Something in webview makes browser tests flaky unless we have a released build

We had a lot of red builds in CI until we released a new insiders (it seems). So I conclude that something in the unit tests depends on a build being released, I suspect something around webviews being published to some remote endpoint so that web tests can run.
I think we need to remove this source of failure as it will happen again in the future.
//cc @Tyriar

This test flaked the other day which complained about a webview endpoint being accessed https://dev.azure.com/monacotools/Monaco/_build/results?buildId=146269&view=results

👎


[DOC] META: Flint

What do you want to do?

[ ] Request a change to existing documentation
[X] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
Track documentation writing assignments and tasks.
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
#3454 #4577

@vagimeli @derek-ho - do we have any flint-related features going out in 2.12? If so, can we create individual issues for specific features and close this one? Thanks.


⚠ Thumbnails API Endpoint has degraded performance

In 032efd6, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 2336 ms

Resolved: Thumbnails API Endpoint performance has improved in 54061d3.


multiple repos for course res-15-005-healthcare-finance-15-482x-spring-2019

For some reason, studio creates a new repo for res-15-005-healthcare-finance-15-482x-spring-2019 every time it is imported
The course does not publish either

Expected Behavior
Should be a very simple course, based on https://ocw.mit.edu/resources/res-15-005-healthcare-finance-15-482x-spring-2019/
Actual Behavior

multiple repos: https://github.mit.edu/ocw-content-rc?q=res.15-005-spring-2019&type=
failed publish, due to missing description: https://cicd-qa.odl.mit.edu/teams/ocw/pipelines/draft/jobs/build-ocw-site/builds/49?vars.site="res-15-005-healthcare-finance-15-482x-spring-2019"#L62018b43:11

The correct repo looks to be this one: https://github.mit.edu/ocw-content-rc/res.15-005-spring-2019

The repo res.15-005-spring-2019 is for res-15-005-healthcare-finance-spring-2019, the repo res.15-005-spring-2019-28 is for res-15-005-healthcare-finance-15-482x-spring-2019.  There seems to be a fault in the logic used to determine what the repo should be when there are multiple sites that match the base name, causing one of the sites to get a new repo every time it is imported.


sc-8210: hotfix - refactoring callback component

Scope of changes
sc-8210: hotfix - refactoring callback component
Type of change

[x] bug fix
[ ] new feature
[ ] documentation
[ ] other (describe)

Acceptance criteria
sc-8210: hotfix - refactoring callback component
Author checklist

[ ] I have manually tested the change and/or added automation in the form of unit tests or integration tests
[ ]  I have updated the dependencies list
[ ]  I have recompiled and included new protocol buffers to reflect changes I made
[ ]  I have added new test fixtures as needed to support added tests
[ ]   Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
[ ]  I have moved the associated Shortcut story to "Ready for Review"

Reviewer(s) checklist

[ ] Any new user-facing content that has been added for this PR has been QA'ed to ensure correct grammar, spelling, and understandability.

Codecov Report

Merging #707 (405388c) into main (f74d95b) will decrease coverage by 5.63%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #707      +/-   ##
==========================================
- Coverage   43.72%   38.08%   -5.64%
==========================================
  Files         580      155     -425
  Lines       17471     2434   -15037
  Branches     1275      618     -657
==========================================
- Hits         7639      927    -6712
+ Misses       8644     1330    -7314
+ Partials     1188      177    -1011

Impacted Files
Coverage Δ

web/gds-user-ui/src/components/ui/AlertMessage.tsx

...eb/gds-user-ui/src/modules/auth/callback/index.tsx

...b/gds-user-ui/src/modules/auth/login/user.slice.ts

web/gds-user-ui/src/utils/utils.ts

...s-user-ui/src/components/Addresses/AddressList.tsx

...er-ui/src/modules/dashboard/certificate/submit.tsx

...b/gds-user-ui/src/components/BasicDetail/index.tsx

...om/trisacrypto/directory/pkg/utils/logger/level.go

...modules/dashboard/certificate/lib/defaultValues.ts

...i/src/components/NeedsAttention/AttentionAlert.tsx

... and 415 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


API compile fails a certain commit

After this commit, a mvn install for the api fails for me.  I've included the pertinent portion of the log, but let me know if I need to include more.
As a further confusion, it fails on several Ubuntu servers I tested but it it compiles fine on my macbook (Sierra 10.12.5).
registerUser(com.capitalone.dashboard.auth.DefaultSecurityTest)  Time elapsed: 0.052 sec  <<< FAILURE!
java.lang.AssertionError: Status expected:<200> but was:<401>
        at org.springframework.test.util.AssertionErrors.fail(AssertionErrors.java:60)
        at org.springframework.test.util.AssertionErrors.assertEquals(AssertionErrors.java:89)
        at org.springframework.test.web.servlet.result.StatusResultMatchers$10.match(StatusResultMatchers.java:655)
        at org.springframework.test.web.servlet.MockMvc$1.andExpect(MockMvc.java:171)
        at com.capitalone.dashboard.auth.DefaultSecurityTest.registerUser(DefaultSecurityTest.java:87)

Running com.capitalone.dashboard.auth.ldap.LdapAuthenticationDetailsSourceTest```

rebase and build again.

I am pulling from master branch and I also tried cloning the repo and running it again, but it still fails for me.  For reference, it did build on RH and my macbook.

I hit the same problem building on a Debian Stretch system yesterday on the first build following cloning the repo.

Build from latest codebase. Re-open if still exists.

Working on a CentOS machine now and facing this issue. Having the same error.
Can someone tell me what is it related to? Is it a db config issue?

The whole build is successful if I'm executing "mvn clean install package -DskipTests" command. But will there be any complications later?

@neerajram : I tried building latest codebase, it went through fine with no errors of test cases.
If you are facing an error for test case, try getting latest codebase after re-base, if it is still there, you can skip it, it should not be any trouble later.

@nitin1706 Can I ask what machine are u using?

The error is:
`2017-10-02 16:25:15,045 INFO  o.s.t.w.s.TestDispatcherServlet - FrameworkServlet '': initialization completed in 2 ms
Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.137 sec <<< FAILURE! - in com.capitalone.dashboard.auth.DefaultSecurityTest
registerUser(com.capitalone.dashboard.auth.DefaultSecurityTest)  Time elapsed: 0.019 sec  <<< FAILURE!
java.lang.AssertionError: Status expected:<200> but was:<401>
at org.springframework.test.util.AssertionErrors.fail(AssertionErrors.java:60)
at org.springframework.test.util.AssertionErrors.assertEquals(AssertionErrors.java:89)
at org.springframework.test.web.servlet.result.StatusResultMatchers$10.match(StatusResultMatchers.java:655)
at org.springframework.test.web.servlet.MockMvc$1.andExpect(MockMvc.java:171)
at com.capitalone.dashboard.auth.DefaultSecurityTest.registerUser(DefaultSecurityTest.java:87)
`

It doesn't depend on machine. Make sure it has proxy setup. I just tried with the latest code base, it took some time to build, but it went through fine.

I am having this issue too.. Double checked all the proxy settings.


Feat/civ 3521

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/CIV-3521
Change description

add role to access profile mappings for civil case roles
replace auth by case role with profile instead

Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

stale


Conda packaging

[Current coverage][cc-pull] is 100%

Merging [#50][cc-pull] into [master][cc-base-branch] will not change coverage

@@           master    #50   diff @@
====================================
  Files          97     97
  Lines        6709   6709
  Methods         0      0
  Messages        0      0
  Branches        0      0
====================================
  Hits         6709   6709
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last updated by [f18f115...5aed664][cc-compare]
[cc-base-branch]: https://codecov.io/gh/Ecpy/ecpy/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/Ecpy/ecpy/compare/f18f1157eebd96e47d780e079ce4a8ce9c833b5a...5aed6645e3d14b995f67ef40d2558e453e7d9227
[cc-pull]: https://codecov.io/gh/Ecpy/ecpy/pull/50?src=pr


Backport 1.3: Memory leak in example programs pk_encrypt and pk_decrypt

This is the backport of #1129 to Mbed TLS 1.3. It's slighly different from the head and the 2.1 backport because there is no separation of ctr_drbg_init and ctr_drbg_seed in 1.3.

Mbed TLS 1.3 is now End of Life, as has been previously announced.
Unfortunately that means no further releases of Mbed TLS 1.3 will be made, so this PR will not be merged, and is closed now.


HTML code blocks are not escaped

If I have a markdown file containing:
```html
<div>Hello world</div>
```

The output of the pre/code blocks is not escaped, so the HTML renders on the page instead of being readable code.
I found this which explains it exactly: https://stackoverflow.com/questions/47279702/markdown-imported-file-not-writing-escaped-characters-in-fences

@emmasax thanks for the issue and linking back to the SO question. I'll take a look at this and see if we can remove the unescaping. There is another markdown helper that doesn't unescape and I think this one should follow that same pattern.

@doowb What is the other markdown helper, out of interest?

The other helper is helper-markdown. It works as a block helper that renders the markdown from inside the block.

Handlebars escapes the html automatically if you use {{md "path/to/file.md"}}. To get the raw html use {{{md "path/to/file.md"}}}


[v6.0] Fix uninitialized var warning

|| ../../lib/lv_bindings/lvgl/src/lv_draw/lv_img_decoder.c: In function ‘lv_img_decoder_open’:
lib/lv_bindings/lvgl/src/lv_draw/lv_img_decoder.c|150 col 7| warning: ‘res’ may be used uninitialized in this function [-Wmaybe-uninitialized]
||      if(res == LV_RES_INV) {
||        ^

I fixed this in the vla branch but it seems to have been lost. Thanks!

I fixed this in the vla branch but it seems to have been lost. Thanks!

Ups, I haven't pulled the vla branch before merged it to dev-6.0 because I supposed there is no other code there than mine. Next time I'll pull!

@kisvegabor No problem, I understand.


USER STORY: Finishing Tasks for Belindas

As an admin, I will want to have a few last changes implemented so the app looks the way I want it to look.
Issues:

[ ] Remove product name textbox from Add Product Page:

[ ] Change “resupply” to “sign up” on Sign Up Page:

[ ] Change frog color to green on Sign In Page:

Who should this be assigned to and what project is it associated with?


Endless loading bar when adding version to hosted workflow

Describe the bug
When you try to add a version to a hosted workflow, the loading bar never stops. But if you refresh the page, you'll see that the version was added at some point.
To Reproduce
Steps to reproduce the behavior:

Go to https://dockstore.org/my-workflows/ or on staging. Probably dev too, but didn't check.
Create a hosted workflow
Try to add a version
See error

Expected behavior
I expect the loading bar to stop at some point whether adding the version was successful or not.
Additional context
production - API - 1.8.1 dockstore UI - 2.5.1
staging - API - 1.8.2 dockstore UI - 2.5.1
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Sprint: Backlog
┆Issue Number: DOCK-1280

Saw this one the other day and meant to log it; thanks for capturing it.

I'm seeing this on refreshing a namespace on hosted tools as well.
Staging UI - 2.5.1
Dev UI - 2.5.1-rc.1-28-g83e35787

Original issue only happens on new hosted workflows

Fixed in 1.9.0-alpha.9 and 2.6.0-rc.0.


Support scoped packages

@types can not support scoped packages. this will require:

figuring out how they should be defined on DefinitelyTyped
How they would be published
changes to the ts compiler to find them

I'd really like to publish typings for @slack/client but I see now way of doing it with the types publisher.
Has anyone made any headway towards thinking about this?
Is it possible to have a package URL such as this: npmjs.com/package/@types/@slack/client?
If not, could we possibly bundle definitions under a common package, so the package could be npmjs.com/package/@types/@slack with package files that match the scoped package e.g. client.d.ts?

I do not think npm supports nested scopes. one option is we can publish to @types/_slack, then use the _ to mean @ later on in the compiler when it is resolving the import.

@mhegazy Would that mean tossing every definition into the same NPM package and losing versioning as a result? I don't think there's a way to achieve everything without changes to NPM at this point.

Would that mean tossing every definition into the same NPM package and losing versioning as a result?

not sure i understand the question, can you elaborate?

You suggested putting it under _slack (the module name in this example is @slack/client -> @types/_slack). Is that implying that you would put /client under the @types/_slack module, and if you do, doesn't that mean you can not version this module properly because it's a giant mix of everything under @slack now?

You're right, that's a bad suggestion; sorry. I think it's unrealistic to expect a change to NPM to support this, and I think using an underscore is probably going to cause further problems in the future.
I don't have a better suggestion for now though... other than to prefix with something unlikely to be chosen for a package name.

Well i was actually thinking of multiple packages.. something like _slack_client or $slack$client.. some sort of serialization...

Right, but now it'll be difficult for people to install and you can end up with conflicts because the current packages don't serialise in any way - unless they get made consistent with whatever approach you use. That's what I was looking at doing for Typings, but I figured it was reasonable for Typings since a separate tool was doing those mappings - in this case a human needs to do them and do them consistently. It might not be bad if there's an obvious way it'd work.

Perhaps it's time to open up discussions with NPM? Maybe they have something in the pipeline that will enable support for nested scopes.

@mhegazy Can we commit to using @types/foo__bar to represent @foo/bar? Would like to start using it on DefinitelyTyped even if we don't have compiler support yet.
(Useful: https://github.com/npm/validate-npm-package-name)


python311Packages.google-cloud-websecurityscanner: 1.13.0 -> 1.14.0

Changelog: https://github.com/googleapis/google-cloud-python/tree/google-cloud-websecurityscanner-v1.14.0/packages/google-cloud-websecurityscanner
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.11 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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 285635 run on x86_64-linux 1

2 packages built:

python311Packages.google-cloud-websecurityscanner
python311Packages.google-cloud-websecurityscanner.dist


Adding reCaptcha to Contact form

I would like to add a reCaptcha box to the form. I think I have the html bits working but not the php side.
I'm not sure where to put the code found on https://bootstrapious.com/p/bootstrap-recaptcha in the php file.

This isn't specific to the theme, more of a troubleshooting sort of thing. I'd ask on the Slack channel https://startbootstrap-slack.herokuapp.com/ or somewhere like Stack Overflow.


Fix narrative and others

The change I came in for was to add improvements to the narrative index. Specifically, the owner was missing, the narrative title mapping needs to support both text and keyword, flags for temporary and narratorial were missing, modification date missing.
While testing I also found that that the scientific name indexing had regressed -- it needs to support both text and keyword. The implementation here (multi field) is different than search1 (which added a separate field scientific_name_keyword).
Also revealed by integration testing of the searchapi was that DNA size fields need to be long, not integer.
Travis tests were broken due to python deps not being installed, and a missing yaml dependency.

These type mapping changes look good to me. Are you done with this PR?

I'm going to go ahead and say that this looks good and merge.
I won't make a release for this until we figure out a migration game plan for these types and fields. We may have to make new index names for these and update the config again, but I want to see if I can migrate the db without doing that.


DioException [bad response]: The request returned an invalid status code of 500.

Package
dio
Version
5.3.3
Operating-System
Android
Output of flutter doctor -v
[√] Flutter (Channel stable, 3.13.2, on Microsoft Windows [Version 10.0.22621.2283], locale en-US)
• Flutter version 3.13.2 on channel stable at C:\Users\jamal\Downloads\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ff5b5b5fa6 (7 weeks ago), 2023-08-24 08:12:28 -0500
• Engine revision b20183e040
• Dart version 3.1.0
• DevTools version 2.25.0
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at C:\Users\jamal\AppData\Local\Android\sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[X] Visual Studio - develop Windows apps
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2022.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
[√] VS Code (version 1.83.0)
• VS Code at C:\Users\jamal\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.74.0
[√] Connected device (4 available)
• sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 12 (API 31) (emulator)
• Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [Version 10.0.22621.2283]
• Chrome (web)                 • chrome        • web-javascript • Google Chrome 117.0.5938.149
• Edge (web)                   • edge          • web-javascript • Microsoft Edge 117.0.2045.60
[√] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
Dart Version
3.0.1
Steps to Reproduce
Future bookAppointment(
String date, String day, String time, int doctor, String token) async {
try {
var response = await Dio().post('http://<IP_ADDRESS>:8000/api/appointment',
data: {
'date': date,
'day': day,
'time': time,
'doctor_id': doctor,
},
options: Options(headers: {'Authorization': 'Bearer $token'}));
if (response.statusCode == 200 && response.data != 'data') {
return response.statusCode;
}
} catch (error) {
return (error);
}
}
Expected Result
I/flutter ( 5871): DioException [bad response]: The request returned an invalid status code of 500.
Actual Result

A 500 status code indicates a backend failure, not an issue with the dio library.


feat(i18N): provide the translation strings for zh-CN and en.

Update the *.po files for admin and mobile web.

Deploy preview ready!
Built with commit 08c474e16586a0b56420d4a0ed392136d47d8ccb
https://deploy-preview-352--mcs-lite-introduction.netlify.com

Deploy preview ready!
Built with commit 08c474e16586a0b56420d4a0ed392136d47d8ccb
https://deploy-preview-352--mcs-lite-ui.netlify.com


Issue 751

Override flash alert message for when user is signed in and a URL invitation token is provided. DMPRoadmap/roadmap#751

@briri the message is now according to @mxsstrong suggestion.


Fix for order of conditions in jmx_exporter upgrade task

Fixes [BUG] Incorrect order of multiple conditions check in jmx_exporter upgrade task #2845
Signed-off-by: cicharka<EMAIL_ADDRESS>

/azp run


Inject versions in generic item

Leverage the generic item struct to inject
serialization format information for all
items
Unwires the old code that injected versions
in kopia wrapper but leaves some code in
the wrapper to strip out the serialization
format during restore
Future PRs should move the process of
pulling out serialization format to
individual services
Viewing by commit may make review
easier

Does this PR need a docs update or release note?

[ ] :white_check_mark: Yes, it's included
[ ] :clock1: Yes, but in a later PR
[x] :no_entry: No

Type of change

[x] :sunflower: Feature
[ ] :bug: Bugfix
[ ] :world_map: Documentation
[ ] :robot: Supportability/Tests
[ ] :computer: CI/Deployment
[ ] :broom: Tech Debt/Cleanup

Issue(s)

#4328

Test Plan

[x] :muscle: Manual
[x] :zap: Unit test
[x] :green_heart: E2E

manually tested backup on current main (without this change) and then restore on this PR and vice versa for all services. All backups and restores completed successfully

can PRs of this size please get split up into a series of changes? Even if there's a span of changes that cannot succeed until the last one goes it, that's prefereable to review compared to a gigantic update like this.

Logically I'm not sure how that's much different from having a PR that has commits that are split up and can be browsed/reviewed individually in GitHub (as this one is an as noted in the description). I'm really not a fan of squash commits and less of a fan of merging PRs into other PRs prior to merging to main


package.html files should be converted to package.java

We currently have Package.html files mingled in with the source to contain package level javadocs. This should be done with Package.java files instead.

done


Desktop wallet bug

Sent a test amount (10XRB) to the desktop wallet and the wallet is show a pending balance even though the wallet is synced up. Transfer was initiated on 12/27. OS is Mac 10.12.6.
https://raiblocks.net/account/index.php?acc=xrb_1rturss531maoekf6xifdd8mcwyt13fck3uzxt6uga8g1w9k6roxarphgo99

I was able to recover the test amount by using the seed to recover the wallet with raiwallet. I sent 1 XRB back to the desktop wallet and tried to send it back but the address is highlighted in red.

Have the same problem. Sent 10 XRB to my desktop wallet after I had bootstrapped the wallet with the daily blockchain download. The wallet shows it as pending. In the logs, I see that it finds the pending block and broadcasts the confirm req to representatives:
[2017-12-29 13:50:44.446604]: Beginning pending block search
[2017-12-29 13:50:44.455086]: Found a pending block<PHONE_NUMBER>AFE89952FC3A02490B6F1EA5E5821C31407C0B227C1CCB9E6AA1D7 from account xrb_31a51k53fdzam7bhrgi4b67py9o7wp33rec1hi7k6z1wsgh8oagqs7bui9p1 with head 1DA1C9E6108EBE58809FCCD5259E61858AB816490DD7127236A1CAA0DDA2E608
[2017-12-29 13:50:44.455086]: Broadcasted confirm req to 7 representatives
[2017-12-29 13:50:44.456064]: Pending block search phase complete
But the block never confirms. I won't use the web wallet as I want to maintain security over my own seeds. Is there any known workaround for this issue?  (Have tried creating another account, switching to it and then switching back, no luck.)

I saw this symptom with a recent transaction (using rai wallet 8.0).  Eventually (~many minutes/hours later) the balance went from pending to in the account proper.


Select2 placeholders are not shown with jquery 3.3.x

As already noticed in https://github.com/select2/select2/issues/5585, the placeholders (Select...) of the Labels and Responsible select2 fields are not shown initially.

Keep an eye on https://github.com/jquery/jquery and https://github.com/select2/select2 respectively, for a fix of this issue.

Should we implement the workaround suggested in the above linked issue for version 2.0?

Yeah. Feel free to give it a shot and see if it works.
https://github.com/openculinary/frontend/pull/10/files


Simplification of boolean expression

Motivation:
Simplify code and reduction the logical operations.
Modifications:
Simplify boolean expression.
Result:
Code less and simpler.

4.1 (ccd1d77) 4.0 (0c3ffdf)
Thanks @fenik17 !


Add forceDeployImplementation option

Adds an option to force the deployment of the implementation contract even if it was previously deployed with the same bytecode. This can be used with the salt option when deploying a proxy through OpenZeppelin Platform to ensure that the new proxy has a matching implementation deployed with the same salt.

Note that this introduces forceDeployImplementation as the opposite of useDeployedImplementation, but these options by themselves are not completely intuitive.
An alternative could be to have a single option with different "modes" controlling whether the implementation is deployed, for example an option such as deployImplementation?: 'force' | 'never' | 'onchange', with onchange being the default.  However, there is already a function called deployImplementation so this would be slightly confusing as well.
@frangio let me know what you think.

Replaced by #804


Ensure tab state is torn down on window close

Task/Issue URL: https://app.asana.com/0/1201048563534612/1208463834186044/f
Description:
For some weeks we've had reports about music playing after a browser window playing music is closed. Turns out an indirect reference to the WebView was being held through the ActiveDomainPublisher introduced during https://github.com/duckduckgo/macos-browser/pull/3076. I've made an attempt at fixing this, but lemme know if there's a better way.
Steps to test this PR:

Open a single browser window.
Go to soundcloud.com and start any music playing
Close the window
4. Music should stop playing

Definition of Done:

[ ] Does this PR satisfy our Definition of Done?

Internal references:
Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

Hey @graeme, I'm a bit confused by this change.  I'm adding a bit of context around this issue to explain why.

You're right that the referenced PR introduced a bug.
As far as I was aware that bug should've been fixed here by making the reference weak, meaning it can no longer retain a tab.

The bottom line is: this change is clearing what's already a weak reference.  Are you sure this is resolving the reported issue?  I could not reproduce / validate the original issue through the proposed testing steps.


bump version

release version v0.4.0

Codecov Report

Merging #58 (bbee51f) into master (ce0255e) will decrease coverage by 4.65%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
- Coverage   79.28%   74.63%   -4.66%
==========================================
  Files          18       18
  Lines         758      757       -1
==========================================
- Hits          601      565      -36
- Misses        157      192      +35

Flag
Coverage Δ

unittests
74.63% <100.00%> (-4.66%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

cordex/version.py
100.00% <100.00%> (ø)

cordex/preprocessing/preprocessing.py
63.03% <0.00%> (-17.07%)
:arrow_down:

cordex/core/domain.py
75.45% <0.00%> (+0.34%)
:arrow_up:


[#69] Profile page changes

Middle name was the only real oddity here.  The middle name is being saved during the signup form submission and it is the only thing being saved to the UserProfile.
For detailed AC as to how the forms are supposed to look/act, look at the issue ticket.

Yep, we're abusing the profile by having middle name stored there instead of on the user.

Phil, I get the following error, that looks either like an incomplete migration of an ommission of a model field when clicking on submit to create a new user sign up with this branch 69-profile-page-changes:
"""

Request Method:
POST

http://<IP_ADDRESS>:8000/accounts/signup/

1.8.14

ProgrammingError

column theme_userprofile.zip_code does not exist LINE 1: ...profile"."address_2", "theme_userprofile"."city", "theme_use...                                                              ^

/usr/local/lib/python2.7/site-packages/django/db/backends/utils.py in execute, line 64

/usr/local/bin/python

2.7.11

['/hydroshare',  '/src/python-irodsclient',  '/hydroshare',  '/usr/local/lib/python27.zip',  '/usr/local/lib/python2.7',  '/usr/local/lib/python2.7/plat-linux2',  '/usr/local/lib/python2.7/lib-tk',  '/usr/local/lib/python2.7/lib-old',  '/usr/local/lib/python2.7/lib-dynload',  '/usr/local/lib/python2.7/site-packages',  '/hydroshare']

Thu, 22 Mar 2018 13:59:13 +0000

Request Method:
POST

http://<IP_ADDRESS>:8000/accounts/signup/

1.8.14

ProgrammingError

column theme_userprofile.zip_code does not exist LINE 1: ...profile"."address_2", "theme_userprofile"."city", "theme_use...                                                              ^

/usr/local/lib/python2.7/site-packages/django/db/backends/utils.py in execute, line 64

/usr/local/bin/python

2.7.11

['/hydroshare',  '/src/python-irodsclient',  '/hydroshare',  '/usr/local/lib/python27.zip',  '/usr/local/lib/python2.7',  '/usr/local/lib/python2.7/plat-linux2',  '/usr/local/lib/python2.7/lib-tk',  '/usr/local/lib/python2.7/lib-old',  '/usr/local/lib/python2.7/lib-dynload',  '/usr/local/lib/python2.7/site-packages',  '/hydroshare']

Thu, 22 Mar 2018 13:59:13 +0000

Getting closer. I can create a new account with a middle name on the signup form and it appears in the profile. I can edit the profile. However, when I save the profile, and then go back and look at it, Address 1, Address 2, and City are not remembered. Everything else is there.
Also, as described in #69, Date of Birth should be a calendar widget. An example of a HS styled calendar widget can be seen by editing the metadata for a resource and looking at the metadata settings for temporal extents.

Also, don't forget companion ticket #57 to add the icon with the help text to zipcode.


Using bot services without directline

Hi,
I'm making a website with a chat bot in it, and currently we are using bot services with LUIS and Qna maker service. And in the current scenario we are interacting with it using the directline api. But I'm really sorry to say that, we are very disappointed with the service, it is very slow, the average response time per message is 8-10 seconds, this is after me eliminating, the secret to token conversation and refresh token parts. I want to know how can I communicate with the bot service without using the Directline api. I searched a lot but everything points me back to the emulator, but here o want to check in my chat window... Can someone please let me know how can I do this.
If I can find a way to optimize the time to 2-3 seconds(ain't sure if this is possible), nothing would be more greatful than this.
One more thing, ain't using c# or node.js, I'm using just the plain old js(this is getting my job done in case if directline api)
Thanks,
Keerthi

You mean "the average response time per message is 8-10 seconds" because you need to poll N times, right? If so, not so much but also worried about the polling approach, not sure if times improve with websockets. And not sure about imolementing websocket as I'm integrating server to server and feels weird maintaining a websocket during X time after sending a message. I would prefer a bidirectional api instead of that websocket approach so that I can configure the endpoint MS should send messages to.

@rakeshkeerthi are you still experiencing the above reported latency problem with directline?  If yes, can you provide some additional details about your environment & issue?
Environment

Operating System:

Windows
macOS
Linux

SDK Platform:

C#/.NET
Node.js

SDK version:
Development environment:

localhost
Azure Web App
Azure Bot Service App
other

If you are using the Node.js SDK:

Node.js version:
NPM version:

Issue
What the issue is, in broad strokes. Link to Stack Overflow post.
Example Code
The code snippet or complete bot example (preferred) that demonstrates the issue.
Steps to Reproduce
Please provide the shortest amount of steps to reproduce your issue.
Expected Behavior
What you expected to happen.
Actual Results
What actually happened. Please give examples and support it with screenshots, copied output or error messages.

We recommend using the Direct Line client as it is the officially supported method of interacting bots outside WebChat.  You can learn more about the DirectLineJS client here: https://github.com/Microsoft/BotFramework-DirectLineJS