fix: light-client goerli source data broken

What was wrong?
A light-client test recently started failing breaking our ci. I'm not sure I 100% grasp the problem, but believe I have all the important parts covered.
There seems to have been some issues with a fork on goerli yesterday (from ACD discord channel). It seems like the checkpoint fallback data providers we were using "probably" haven't made whatever fixes were necessary to track the head of the chain. Therefore they were not able to find a "finalized block_root".
How was it fixed?
So... the data providers we were using could not track the head of the chain, but some of the other checkpoint providers did implement the changes necessary to track the head of the chain. The problem is that we are unable to deserialize the json from these providers. So the json responses (containing a finalized block root) were just being turned into errors. These providers return the slot number as a String and not u64, which was why were unable to deserialize these responses. The fix was to add the deser rule str_or_u64.
There was also a case where some of the endpoints had a trailing / - so when we constructed the url, we would have endpoints containing //.
Typically, it's not a good idea to have unit tests that rely on external sources of data. I would definitely be in favor of removing this dependency if it's at all possible?
To-Do

[x] Clean up commit history and use conventional commits.

Typically, it's not a good idea to have unit tests that rely on external sources of data. I would definitely be in favor of removing this dependency if it's at all possible?

I agree

Going to go ahead with this merge, since it has one approval and it's breaking the build on master. However, I'd like to hear from @ogenev if there's any possible way to remove these external dependencies?

Yeah if there is a cleaner solution we can do a follow up PR :+1:

Typically, the solution for avoiding external dependencies on data providers is to implement some kind of "MockServer". Though, tbh, in this situation, we're dealing with like 8/9 different providers for Goerli and just as many for Mainnet... so my guess is that it'll be quite a pain in the *** to implement a mock server for all of these endpoints

However, I'd like to hear from @ogenev if there's any possible way to remove these external dependencies? (of course, I'm also interested in feedback on the actual solution implemented here)

Looking at the bigger picture, this test is testing the checkpoint fallback service.
For a light client to start syncing, we must provide a finalized block root for a checkpoint within the subjectivity period.
If the consensus node or in our case Beacon portal network doesn't have the requested checkpoint available, we may redirect this request to trusted checkpoint providers. I'm not sure if we have this use case for Portal and if we want to use a fallback service. If the answer is negative, we can remove this service and the test.
I agree that using external dependencies is not a good idea but with the current fix, we may get away with it. I will give this test one more chance to start falling before taking more drastic actions :smile_cat: .


Add new column 'Corrected_result_ID' to simplereport schema to fully support corrections.

SimpleReport will soon be sending us corrections.  this ticket is to be ready for that.
Every submitted result row from SimpleReport, even a correction, always has a new/unique Result_ID.
So, we'll create a new Corrected_result_ID column that a Correction can use to point to the previous data being corrected.
If there are multiple corrections, the Corrected_result_id should be the Result_id of the most recent previous connection.  That is, the second correction points to the first correction, not back to the original result.
There are two work items for the Hub team:

Hub team needs to add `Corrected_result_ID as an optional column.
Hub team needs to check on whether we're using the right valueset hl70123 vs hl70085

So, hl70123 is the "Result Status", and is required for use in an OBR hl7 line.
https://phinvads.cdc.gov/vads/ViewValueSet.action?oid=2.16.840.1.114<IP_ADDRESS>5
And hl70085 is the "Observation Result Status" and is required for use in an OBX hl7 line.
See: https://phinvads.cdc.gov/vads/ViewValueSet.action?oid=2.16.840.1.114<IP_ADDRESS>1
Our hl7 appears to create both OBX and OBR rows, so we probably need both.  However, we're only likely to use Final, Corrected, and Delete/Cancel, so it seems silly to ask SimpleReport to send both.    I think we can just map from one to the other.    So, I'm going to leave it as hl70123 in the schema, and we can translate as needed to generated the OBX line.

So, hl70123 is the "Result Status", and is required for use in an OBR hl7 line.
https://phinvads.cdc.gov/vads/ViewValueSet.action?oid=2.16.840.1.114<IP_ADDRESS>5
And hl70085 is the "Observation Result Status" and is required for use in an OBX hl7 line.
See: https://phinvads.cdc.gov/vads/ViewValueSet.action?oid=2.16.840.1.114<IP_ADDRESS>1
Our hl7 appears to create both OBX and OBR rows, so we probably need both.  However, we're only likely to use Final, Corrected, and Delete/Cancel, so it seems silly to ask SimpleReport to send both.    I think we can just map from one to the other.    So, I'm going to leave it as hl70123 in the schema, and we can translate as needed to generated the OBX line.


C# client for stability-sdk

Hello :)
I like your AI, so I have created a C# client for Stability-SDK and plan to develop it further. Could you please add my project to the Community-contributed clients' section of the readme?
https://github.com/Katarzyna-Kadziolka/StabilityClient.Net

Thank you, I've added it to the README!


Express error: request entity too large

I created a new post with too much content, and express started throwing errors.
Saving Failed!

I inspect in to it and its related to express data post limit. I have to change the file core/server/middleware/index.js to make it work
// Body parsing
    blogApp.use(bodyParser.json({limit: '50mb'}));
    blogApp.use(bodyParser.urlencoded({extended: true, limit: '50mb'}));

Is there a better way to set limit via config.js ??

Hi @devilankur18, sorry to hear you're having trouble. I've not heard of people encountering this before, except in cases where their nginx/apache configuration, browser or ISP was limiting the size of the request.
I don't think that the code you suggested is the correct solution to the problem, as the limit for bodyparser defaults to 100mb according to their documentation: https://github.com/expressjs/body-parser#limit and therefore would already be greater than 50mb.
I recommend updating this issue, framing it as a bug report with reproduction steps - there is a template in our contributing guidelines, which outlines all the information it would be useful to include. That will help us to reproduce the issue so that we can understand it.

Hello @devilankur18
@ErisDS is correct. You don't have to change your bodyparser limit.
I believe that the problem is based on nginx part of the server. You can increase the maximum body size from your .conf file. I suggest adding the following:
client_max_body_size 240M;

client_body_buffer_size 128K;

I was able to reproduce this running Ghost without nginx.
Issue Summary
Cannot create posts larger than 100kB. This is due to the default bodyParser limit of 100kb.
Steps to Reproduce

click on New Post
Copy (75kB) content of https://gist.github.com/reinoudk/4c1c8e63d2970c0d2275#file-75kb-txt to content
click on SAVE DRAFT
Copy (150kB) content of https://gist.github.com/reinoudk/4c1c8e63d2970c0d2275#file-150kb-txt to content
click on SAVE DRAFT

Observerd result
Step 2 successfully saves the post.
Step 5 shows an error:
Saving failed.
The server returned an error (Server was not available).

Desired result
Step 5 should also save the draft.
Technical details

Ghost Version: master - latest commit:  bec5db59807adfc6cd2b0c688ea12854e3860953
Client OS: Windows 8.1
Server OS: Windows 8.1
Node Version: 0.10.40
Browser: Chrome 46.0.2490.80 m
Database: sqlite

@ErisDS I also thought that my nginx was causing the problem, but as I started debugging,  it as not nginx. Nginx has no error logs, and the max-post size was already 100mb there.
Here is the post which was causing the problem in creation. Everything got fixed after I have added added 2 lines of code mentioned above.
http://blog.smugglr.co/2015/10/23/we-made-it-open-season-and-got-100s-of-agencies-as-users/
@ErisDS I think you misread the limit size, its 100kb not 100mb on https://github.com/expressjs/body-parser#limit

@devilankur18  You are right,it works for me.

It would be nice to have a dedicated setting instead of having to manually change that lines.
I know 1mb is a reasonable limit for textual content, but I plan to add a few base64-encoded pictures in my posts. In such scenario, that limit could be too low.

Same problem here, I had to change:
./web/api/canary/content/app.js:15:    apiApp.use(bodyParser.json({limit: '200mb'}));
./web/api/canary/admin/app.js:16:    apiApp.use(bodyParser.json({limit: '200mb'}));
./web/api/canary/admin/app.js:17:    apiApp.use(bodyParser.urlencoded({extended: true, limit: '200mb'}));


Updates before launch time

Modified Index and Architecture pages to be more concise. Added GitHub link at the upper right.
Added a Community tab with Getting Help and Contribution pages.

Thank you, Patrick!


Enable text select

Thank you asvd for the script.
Is there a way to select text with  Dragscroll enabled  ?

Solved ! I had "nochilddrag" inside the class quotation mark, where it should outside.


Move README to GitHub format

It looks like GitHub is the official place for Quarter now. So Markdown format is an obvious suggestion.

@VolkerEnderlein is it good to go? Is there any reason other than historic that a plain README is used?

Looks good to me.


createModelReducer is not a function

Just taking exemple from wiki and get the error.
This part does not work
import { createModelReducer } from 'react-redux-form';

import LoginForm from './forms/login-form';

const store = createStore(combineReducers({
  user: createModelReducer('user')
}));

Exactly same issue with createFormReducer  from other page of wiki

Sorry about that! Seems like you're reading outdated documentation from version 0.x. Please read the most up-to-date docs here: http://davidkpiano.github.io/react-redux-form/docs.html


⚠ SOAP Platform (ETU) has degraded performance

In e718d61, SOAP Platform (ETU) (https://soap-etu.six-group.com/healthcheck) experienced degraded performance:

HTTP code: 503
Response time: 20751 ms

Resolved: SOAP Platform (ETU) performance has improved in 1efeb68.


Search doesn't work in Safari (10.0.3)

Searching for any term, e.g. "Python" and "Xcode", doesn't work on Safari. There were no Javascript errors output to console. I was not able to reproduce the issue on Chrome (56.0.2924.87)

Just kidding, it's happening on Chrome now too. I wonder if it's because I used the browser to navigate back from a generated .gitignore file? Restarting the page and restarting Chrome does not resolve the issue. Will try clearing cache next..

Nope, clearing Browser History, Download History, Cookies and other site and plugin data, Cached images and files, and Hosted app data did not resolve the issue.

When you're saying "doesn't work" are you going to https://www.gitignore.io and searching?

Yup.. but it's working now on my phone. Maybe it was a network issue.

Safari is my primary browser so that's what I used when developing the site.  Every time I test, I'm on Safari latest and just tested the site on Chrome 56.0.2924.87 and they both work.

Does this endpoint work for you?

https://www.gitignore.io/dropdown/templates.json?term=py&_type=query&q=a
All the search box does is make a GET request to that end point multiple times with whatever is populated in the term parameter and return that back to the Select2 dropdown.

Does the staging server work?

There also could be a potential caching issue with Heroku's dynos.  Can you check and see if the stating server works?
https://gitignoreio-stage-swift.herokuapp.com

Are you trying to run locally?

The only time I've seen problems like that are when people are trying to run the site locally because they don't follow the git clone --recursive instructions.  They never download the submodule for GitHub's main repo and therefore are missing a lot of templates.

Where are you located?

Maybe I can try and VPN into whatever country (if you're not in the US) you're located and see if there is a DNS issue.

What is your on your desktop DNS?

Mines is <IP_ADDRESS>

I think the issue here is that the "search bar" doesn't like capitalized letters.
Examples:

Writing "Windows" gives no results, whilst "windows" does.
Writing "Java" gives no results, whilst "java" does.
Two results: https://www.gitignore.io/dropdown/templates.json?term=py
No results: https://www.gitignore.io/dropdown/templates.json?term=Py

Chrome Version 56.0.2924.87 if that is any help.

@XDRosenheim Thanks for figuring out the problem!
@katzenbaer master is building right now — Once it passes CI I'll push it to production.


Disable horizontal swipe to go back

Version

react-native-router-flux v3.22.0
react-native v0.24.0-rc5

It's there a way to disable horizontal swipe to go back but only for one Scene? It's because I'm already using the swipe for other thing, so when I updated RN and react-native-router-flux this functionality is
not working anymore.
Thanks

I already fixed changed that scene with type 'reset' and it worked. I don't know if it's the best solution. I tried to change the direction to 'vertical' but it didn't worked

#525

Hi @aksonov , sorry I'm using with RN 0.24 and looks pretty stable, Navegation bugs are already solved.  Anyway I already solved this with another 'type' prop in Scene, but when I change direction from 'horizontal' to 'vertical' nothing changed.

0.24 may seem stable, but the underlying navigation library that this library uses was shipped with some major bugs. If you can, stick with 0.22.


Bridge UI must reflect contract state (pausable)

Describe the feature request
The smart contracts can be paused, e.g. individual vaults may not be available. The user should be informed by a clearly visible info box and the individual transfers must be blocked already on the UI level.
Describe alternatives you've considered
Description of the alternatives you've considered here.
Additional context
Additional context here.

done in #15322


Jira link tooltip: Content overflows off of the floating card

repoening. It was observed the text still overflow on server version 9.6
https://mattermost.atlassian.net/browse/MM-57321

@raghavaggarwal2308 Can you please take a look at this? Thank you

@yasserfaraazkhan Are you able to provide the JSON response from the server here? You'll need to:

Open browser dev tools. If you're using the desktop app, you can go to View > Developer Tools for Current Server to do this
Go to the network tab
Hover over the ticket with the issue
Right-click the request in the network tab related to the tooltip
Select "Copy response" in the right-click menu

Thanks

@mickmister , here it is.
{
   "expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations,customfield_11138.properties,customfield_11108.requestTypePractice",
   "id": "",
   "self": "https://mattermost.atlassian.net/rest/api/2/issue/98392",
   "key": "MM-57315",
   "fields": {
       "Creator": {
           "Password": "",
           "active": true,
           "avatarUrls": {
               "16x16": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png",
               "24x24": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png",
               "32x32": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png",
               "48x48": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png"
           },
           "displayName": "Yasser Khan",
           "self": "",
           "timeZone": "America/Los_Angeles"
       },
       "aggregateprogress": {
           "percent": 0,
           "progress": 0,
           "total": 0
       },
       "assignee": {
           "Password": "",
           "accountId": "",
           "active": true,
           "avatarUrls": {
               "16x16": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/HS-6.png",
               "24x24": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/HS-6.png",
               "32x32": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/HS-6.png",
               "48x48": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/HS-6.png"
           },
           "displayName": "Harshil Sharma",
           "self": "https://mattermost.atlassian.net/rest/api/2/user?accountId=6054be09e394c30069d776ea",
           "timeZone": "America/Los_Angeles"
       },
       "attachment": [
           {
               "author": {
                   "Password": "",
                   "accountId": "",
                   "active": true,
                   "avatarUrls": {
                       "16x16": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png",
                       "24x24": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png",
                       "32x32": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png",
                       "48x48": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png"
                   },
                   "displayName": "Yasser Khan",
                   "self": "",
                   "timeZone": "America/Los_Angeles"
               },
               "content": "https://mattermost.atlassian.net/rest/api/2/attachment/content/57915",
               "created": "",
               "filename": "image-20240318-100340.png",
               "id": "",
               "mimeType": "image/png",
               "self": "https://mattermost.atlassian.net/rest/api/2/attachment/57915",
               "size": 361947,
               "thumbnail": "https://mattermost.atlassian.net/rest/api/2/attachment/thumbnail/57915"
           }
       ],
       "comment": {
           "comments": []
       },
       "components": [],
       "created": "2024-03-18T03:04:31.22-0700",
       "creator": {
           "accountId": "62d18629a94a6f9c0eff460b",
           "accountType": "atlassian",
           "active": true,
           "avatarUrls": {
               "16x16": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png",
               "24x24": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png",
               "32x32": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png",
               "48x48": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png"
           },
           "displayName": "Yasser Khan",
           "self": "",
           "timeZone": "America/Los_Angeles"
       },
       "customfield_10000": null,
       "customfield_10001": null,
       "customfield_10003": null,
       "customfield_10004": null,
       "customfield_10006": "2|i04icv:",
       "customfield_10007": null,
       "customfield_10011": [
           {
               "boardId": 11,
               "endDate": "2024-03-18T03:44:45.000Z",
               "goal": "",
               "id": 536,
               "name": "Sprint 313 (March 12-March 18)",
               "startDate": "2024-03-12T16:06:52.292Z",
               "state": "active"
           }
       ],
       "customfield_10200": {
           "id": "10201",
           "self": "https://mattermost.atlassian.net/rest/api/2/customFieldOption/10201",
           "value": "S2_functionality_loss_or_glaring_UI_regressions"
       },
       "customfield_10500": null,
       "customfield_10600": {
           "hasEpicLinkFieldDependency": false,
           "nonEditableReason": {
               "message": "The Parent Link is only available to Jira Premium users.",
               "reason": "PLUGIN_LICENSE_ERROR"
           },
           "showField": false
       },
       "customfield_10700": "{}",
       "customfield_10800": null,
       "customfield_10900": null,
       "customfield_11100": null,
       "customfield_11101": {
           "id": "10785",
           "self": "https://mattermost.atlassian.net/rest/api/2/customFieldOption/10785",
           "value": "ICU"
       },
       "customfield_11103": null,
       "customfield_11104": null,
       "customfield_11105": null,
       "customfield_11106": null,
       "customfield_11107": null,
       "customfield_11108": null,
       "customfield_11109": [],
       "customfield_11110": null,
       "customfield_11111": null,
       "customfield_11112": null,
       "customfield_11113": null,
       "customfield_11114": null,
       "customfield_11116": null,
       "customfield_11117": null,
       "customfield_11118": "Fixed an issue where \u003cAdd Details\u003e. Thanks to \u003cReporter\u003e for contributing to this improvement under the Mattermost responsible disclosure policy.",
       "customfield_11119": null,
       "customfield_11121": null,
       "customfield_11123": null,
       "customfield_11124": null,
       "customfield_11125": null,
       "customfield_11126": null,
       "customfield_11127": null,
       "customfield_11129": null,
       "customfield_11130": null,
       "customfield_11131": null,
       "customfield_11133": "",
       "customfield_11134": 0,
       "customfield_11135": null,
       "customfield_11136": null,
       "customfield_11137": null,
       "customfield_11138": null,
       "customfield_11139": null,
       "customfield_11140": null,
       "customfield_11141": null,
       "customfield_11142": null,
       "customfield_11143": null,
       "customfield_11144": null,
       "customfield_11145": null,
       "customfield_11146": null,
       "customfield_11147": null,
       "customfield_11148": null,
       "customfield_11149": null,
       "customfield_11150": null,
       "customfield_11151": null,
       "customfield_11152": null,
       "customfield_11153": null,
       "customfield_11155": null,
       "customfield_11156": null,
       "customfield_11157": null,
       "customfield_11158": null,
       "customfield_11159": null,
       "customfield_11160": null,
       "customfield_11161": null,
       "customfield_11162": null,
       "customfield_11163": null,
       "customfield_11164": null,
       "customfield_11165": null,
       "customfield_11166": null,
       "customfield_11167": null,
       "customfield_11168": null,
       "customfield_11169": null,
       "customfield_11170": null,
       "customfield_11171": null,
       "customfield_11172": null,
       "customfield_11173": null,
       "customfield_11174": null,
       "customfield_11175": null,
       "customfield_11176": null,
       "customfield_11177": null,
       "customfield_11178": null,
       "customfield_11179": null,
       "customfield_11180": null,
       "customfield_11181": null,
       "customfield_11182": null,
       "customfield_11183": null,
       "customfield_11184": null,
       "customfield_11185": null,
       "customfield_11186": null,
       "customfield_11187": null,
       "customfield_11188": null,
       "customfield_11189": null,
       "customfield_11190": [],
       "customfield_11193": null,
       "customfield_11194": null,
       "customfield_11195": null,
       "customfield_11196": null,
       "customfield_11197": null,
       "customfield_11198": null,
       "customfield_11199": null,
       "customfield_11202": null,
       "customfield_11203": null,
       "customfield_11204": null,
       "customfield_11205": null,
       "customfield_11206": null,
       "customfield_11207": null,
       "customfield_11208": null,
       "customfield_11209": null,
       "customfield_11210": null,
       "customfield_11211": null,
       "customfield_11212": null,
       "customfield_11213": null,
       "customfield_11214": null,
       "customfield_11215": null,
       "customfield_11216": null,
       "customfield_11217": null,
       "customfield_11218": null,
       "customfield_11219": null,
       "customfield_11220": null,
       "customfield_11221": null,
       "customfield_11222": null,
       "customfield_11223": null,
       "customfield_11224": null,
       "customfield_11226": null,
       "customfield_11227": null,
       "customfield_11229": null,
       "customfield_11231": null,
       "customfield_11233": null,
       "customfield_11235": null,
       "description": "also Fix e2e test : \n\n* [https://github.com/mattermost/mattermost/blob/a9a879d00d244236a9347fc6bd5bcea72dbd96a6/e2e-tests/cypress/tests/integration/channels/emoji/custom_emoji_1_spec.ts|https://github.com/mattermost/mattermost/blob/a9a879d00d244236a9347fc6bd5bcea72dbd96a6/e2e-tests/cypress/tests/integration/channels/emoji/custom_emoji_1_spec.ts|smart-link]  \n* [https://github.com/mattermost/mattermost/blob/a9a879d00d244236a9347fc6bd5bcea72dbd96a6/e2e-tests/cypress/tests/integration/channels/emoji/custom_emoji_2_spec.ts|https://github.com/mattermost/mattermost/blob/a9a879d00d244236a9347fc6bd5bcea72dbd96a6/e2e-tests/cypress/tests/integration/channels/emoji/custom_emoji_2_spec.ts|smart-link] \n* [https://github.com/mattermost/mattermost/blob/a9a879d00d244236a9347fc6bd5bcea72dbd96a6/e2e-tests/cypress/tests/integration/channels/emoji/custom_emoji_3_spec.ts|https://github.com/mattermost/mattermost/blob/a9a879d00d244236a9347fc6bd5bcea72dbd96a6/e2e-tests/cypress/tests/integration/channels/emoji/custom_emoji_3_spec.ts|smart-link] \n* [https://github.com/mattermost/mattermost/blob/f1f54508f414275226409691aa8a690889a723cb/e2e-tests/cypress/tests/integration/channels/emoji/recently_used_emoji_1_spec.ts|https://github.com/mattermost/mattermost/blob/f1f54508f414275226409691aa8a690889a723cb/e2e-tests/cypress/tests/integration/channels/emoji/recently_used_emoji_1_spec.ts|smart-link]  \n\n!image-20240318-100340.png|width=1370,height=858!\n\n\n",
       "fixVersions": [
           {
               "archived": false,
               "id": "12804",
               "name": "v9.7 (April 2024)",
               "releaseDate": "2024-04-16",
               "released": false,
               "self": "https://mattermost.atlassian.net/rest/api/2/version/12804"
           }
       ],
       "issuelinks": [],
       "issuerestriction": {
           "issuerestrictions": {},
           "shouldDisplay": false
       },
       "issuetype": {
           "avatarId": 10303,
           "description": "A problem which impairs or prevents the functions of the product.",
           "iconUrl": "https://mattermost.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium",
           "id": "1",
           "name": "Bug",
           "self": "https://mattermost.atlassian.net/rest/api/2/issuetype/1"
       },
       "labels": [],
       "lastViewed": "2024-03-18T03:06:09.272-0700",
       "progress": {
           "percent": 0,
           "progress": 0,
           "total": 0
       },
       "project": {
           "avatarUrls": {
               "16x16": "https://mattermost.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/12528?size=xsmall",
               "24x24": "https://mattermost.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/12528?size=small",
               "32x32": "https://mattermost.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/12528?size=medium",
               "48x48": "https://mattermost.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/12528"
           },
           "id": "10302",
           "key": "MM",
           "name": "Mattermost",
           "self": "https://mattermost.atlassian.net/rest/api/2/project/10302"
       },
       "reporter": {
           "Password": "",
           "accountId": "",
           "active": true,
           "avatarUrls": {
               "16x16": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png",
               "24x24": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png",
               "32x32": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png",
               "48x48": "https://secure.gravatar.com/avatar/12e1a72edb468ff4c41241ae2cb31f91?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYK-1.png"
           },
           "displayName": "Yasser Khan",
           "self": "",
           "timeZone": "America/Los_Angeles"
       },
       "security": null,
       "status": {
           "description": "The issue is open and ready for the assignee to start work on it.",
           "iconUrl": "https://mattermost.atlassian.net/images/icons/statuses/open.png",
           "id": "1",
           "name": "Open",
           "self": "https://mattermost.atlassian.net/rest/api/2/status/1",
           "statusCategory": {
               "colorName": "blue-gray",
               "id": 2,
               "key": "new",
               "name": "To Do",
               "self": "https://mattermost.atlassian.net/rest/api/2/statuscategory/2"
           }
       },
       "statuscategorychangedate": "2024-03-18T03:04:32.149-0700",
       "subtasks": [],
       "summary": "Custom Emoji | Annimated gif | Uploading a annimated gif as emoji is failing with error `http: request body too large`",
       "timetracking": {},
       "updated": "2024-03-18T11:37:57.58-0700",
       "votes": {
           "hasVoted": false,
           "self": "https://mattermost.atlassian.net/rest/api/2/issue/MM-57315/votes",
           "votes": 0
       },
       "watches": {
           "isWatching": true,
           "self": "https://mattermost.atlassian.net/rest/api/2/issue/MM-57315/watchers",
           "watchCount": 2
       },
       "worklog": {
           "maxResults": 20,
           "startAt": 0,
           "total": 0,
           "worklogs": []
       },
       "workratio": -1
   }
}

@mickmister @yasserfaraazkhan I tried reproducing the issue with the latest release i.e. v4.1.0 but it was not reproducible on my end. I tested it on mm cloud server version v9.4.0 and v9.6.0,
Can you please confirm if the user facing the issue is using the latest release and try clearing the browser cache maybe?
On cloud server v9.6.0

@raghavaggarwal2308 @mickmister .
can you try creating a Bug/task , in open state and check?
I see in the screenshot you shared there double square brackets [[https . Not sure if this makes any difference, but you can try to rerproduce.
its seen on community server.

@raghavaggarwal2308
another text overflow seen in community.

@yasserfaraazkhan Can you please try once again after looking at this comment.
cc: @mickmister

@yasserfaraazkhan Can you please try once again after looking at this comment. cc: @mickmister

https://github.com/mattermost/mattermost-plugin-jira/issues/1018#issuecomment-2008612838
@raghavaggarwal2308  @ayusht2810 I did try again in the above comment.
I'm using desktop 5.7 version of Mac

FYI community is currently running:
Jira version: 4.1.0, c52dea3

@yasserfaraazkhan @mickmister the issue is reproducible on Jira v4.1.0-rc3. But it is fixed in Jira v4.1.0. I think we may need to update the version present in the community.

@yasserfaraazkhan @mickmister the issue is reproducible on Jira v4.1.0-rc3. But it is fixed in Jira v4.1.0. I think we may need to update the version present in the community.

oh!! Great work in finding it!!
I'll let @amyblais and @mickmister look into this, and close this issue once its updated.

@ayusht2810 @yasserfaraazkhan The plugin was updated on community to 4.1.1-rc1 on community today, which contains the changes of 4.1.0. I think hub also needs to be updated

@mickmister Is this fixed on community now, if it is fixed we can close the issue ?


added proxy authethication support

i figured out how to integrate proxy support into your code, also I'd like to talk to you about the addition of request.post

Hi, I added support of proxy authorization (over gost - will be installed in docker, and need to install if you use bypasser as package). Don't think that plugin usage (like in flaresolverr) is good idea, because it can be detected.
Processing of post requests in progress ...

 Thanks

Ok, give me to know if some problems will be detected.


Need to create a DataSource in the test

Add the credentials.json and token.pickle in the .pow/temp/ directory [Need to get the pull requrest to OpenWormData merged!]
create a DataSource with the torrent_file_name within the test

Coverage decreased (-39.3%) to 38.519% when pulling f91b06f3ee7092016087508fbbcec76efa5c1694 on jaideep-seth:dev into 19c0ee1e8fcb89d3a94136603907740fb7eac748 on openworm:dev.

One other thing: the directory loader needs a method can_load to check if the loader is able to load the files for that data source.


remove circle_ci

it is ok to leave circle.yml on this branch. We plan to ship packages from here :)


Release <IP_ADDRESS>

Could we get the latest 18.x (18.19.0) released? Some projects are stuck with 18 and could use the most recent fixes to that version.
(the tests pass locally; update: …and on CI)

I'll make and push builds to rubygems this weekend.

Huh I got this one when building on arm64-darwin :/
In file included from ../deps/v8/src/compiler/backend/frame-elider.cc:5:
In file included from ../deps/v8/src/compiler/backend/frame-elider.h:8:
In file included from ../deps/v8/src/compiler/backend/instruction.h:13:
In file included from ../deps/v8/src/codegen/external-reference.h:9:
In file included from ../deps/v8/src/runtime/runtime.h:11:
../deps/v8/src/base/bit-field.h:43:29: error: integer value 31 is outside the valid range of values [0, 15] for this enumeration type [-Wenum-constexpr-conversion]
  static constexpr T kMax = static_cast<T>(kNumValues - 1);
                            ^
1 error generated.
make[1]: *** [/Users/loic.nageleisen/Source/github.com/rubyjs/libv8-node/src/node-v18.19.0/out/Release/obj.target/v8_compiler/deps/v8/src/compiler/backend/frame-elider.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ../deps/v8/src/compiler/backend/gap-resolver.cc:5:
In file included from ../deps/v8/src/compiler/backend/gap-resolver.h:8:
In file included from ../deps/v8/src/compiler/backend/instruction.h:13:
In file included from ../deps/v8/src/codegen/external-reference.h:9:
In file included from ../deps/v8/src/runtime/runtime.h:11:
../deps/v8/src/base/bit-field.h:43:29: error: integer value 31 is outside the valid range of values [0, 15] for this enumeration type [-Wenum-constexpr-conversion]
  static constexpr T kMax = static_cast<T>(kNumValues - 1);
                            ^
1 error generated.
make[1]: *** [/Users/loic.nageleisen/Source/github.com/rubyjs/libv8-node/src/node-v18.19.0/out/Release/obj.target/v8_compiler/deps/v8/src/compiler/backend/gap-resolver.o] Error 1
In file included from ../deps/v8/src/compiler/backend/instruction-scheduler.cc:5:
In file included from ../deps/v8/src/compiler/backend/instruction-scheduler.h:10:
In file included from ../deps/v8/src/compiler/backend/instruction.h:13:
In file included from ../deps/v8/src/codegen/external-reference.h:9:
In file included from ../deps/v8/src/runtime/runtime.h:11:
../deps/v8/src/base/bit-field.h:43:29: error: integer value 31 is outside the valid range of values [0, 15] for this enumeration type [-Wenum-constexpr-conversion]
  static constexpr T kMax = static_cast<T>(kNumValues - 1);
                            ^
1 error generated.
make[1]: *** [/Users/loic.nageleisen/Source/github.com/rubyjs/libv8-node/src/node-v18.19.0/out/Release/obj.target/v8_compiler/deps/v8/src/compiler/backend/instruction-scheduler.o] Error 1
In file included from ../deps/v8/src/compiler/backend/code-generator.cc:5:
In file included from ../deps/v8/src/compiler/backend/code-generator.h:11:
In file included from ../deps/v8/src/codegen/macro-assembler.h:8:
In file included from ../deps/v8/src/codegen/turbo-assembler.h:12:
In file included from ../deps/v8/src/codegen/assembler-arch.h:8:
In file included from ../deps/v8/src/codegen/assembler.h:46:
In file included from ../deps/v8/src/codegen/external-reference.h:9:
In file included from ../deps/v8/src/runtime/runtime.h:11:
../deps/v8/src/base/bit-field.h:43:29: error: integer value 31 is outside the valid range of values [0, 15] for this enumeration type [-Wenum-constexpr-conversion]
  static constexpr T kMax = static_cast<T>(kNumValues - 1);
                            ^
1 error generated.
make[1]: *** [/Users/loic.nageleisen/Source/github.com/rubyjs/libv8-node/src/node-v18.19.0/out/Release/obj.target/v8_compiler/deps/v8/src/compiler/backend/code-generator.o] Error 1
In file included from ../deps/v8/src/compiler/backend/instruction-selector.cc:5:
In file included from ../deps/v8/src/compiler/backend/instruction-selector.h:12:
In file included from ../deps/v8/src/compiler/backend/instruction-scheduler.h:10:
In file included from ../deps/v8/src/compiler/backend/instruction.h:13:
In file included from ../deps/v8/src/codegen/external-reference.h:9:
In file included from ../deps/v8/src/runtime/runtime.h:11:
../deps/v8/src/base/bit-field.h:43:29: error: integer value 31 is outside the valid range of values [0, 15] for this enumeration type [-Wenum-constexpr-conversion]
  static constexpr T kMax = static_cast<T>(kNumValues - 1);
                            ^
1 error generated.
make[1]: *** [/Users/loic.nageleisen/Source/github.com/rubyjs/libv8-node/src/node-v18.19.0/out/Release/obj.target/v8_compiler/deps/v8/src/compiler/backend/instruction-selector.o] Error 1

clang that failed:
Apple clang version 15.0.0 (clang-15<IP_ADDRESS>)
Target: arm64-apple-darwin23.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Strangely it did not fail on this one:
Apple clang version 15.0.0 (clang-15<IP_ADDRESS>)
Target: x86_64-apple-darwin23.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Found this: https://github.com/llvm/llvm-project/issues/59036
Worked around in ea0c4d6.

Pushed gems:
libv8-node-<IP_ADDRESS>-aarch64-linux-musl.gem
libv8-node-<IP_ADDRESS>-aarch64-linux.gem
libv8-node-<IP_ADDRESS>-arm64-darwin.gem
libv8-node-<IP_ADDRESS>-x86_64-darwin.gem
libv8-node-<IP_ADDRESS>-x86_64-linux-musl.gem
libv8-node-<IP_ADDRESS>-x86_64-linux.gem
libv8-node-<IP_ADDRESS>.gem

thanks heaps... any chance we can bump this up to 18.19.1 (looks like that is the latest for hydrogen)
20.11.1 would be nice as well but will probably require more work.

18.19.1: I'll do that.
20.11.1: yeah there's still the runtime crash, which is much more involved.
Also the above build error I've seen and worked around seems to be an upstream bug (code is ill-formed and undefined behaviour) but saw no mention of it there. I'll report it just in case.
I was thinking of adding automated PRs from crawling Node releases. Benefits would be:

notify us
run tentative CI
overall save us some time

sounds great, just pushed  mini racer 0.9.0 for this and will follow with 0.9.1 post update

Added 18.19.1 in https://github.com/rubyjs/libv8-node/commit/5839e9a8f1d3f98f986b3b2a44e6478c9ca97d53
Building...

Pushed gems:
libv8-node-<IP_ADDRESS>-aarch64-linux-musl.gem
libv8-node-<IP_ADDRESS>-aarch64-linux.gem
libv8-node-<IP_ADDRESS>-arm64-darwin.gem
libv8-node-<IP_ADDRESS>-x86_64-darwin.gem
libv8-node-<IP_ADDRESS>-x86_64-linux-musl.gem
libv8-node-<IP_ADDRESS>-x86_64-linux.gem
libv8-node-<IP_ADDRESS>.gem


[HowTo] add columnpicker capability to SlickGrid

Dear all,
here there is a quick guide on how to activate the columnpicker functionality on the SlickGrids.

add slick.columnpicker.d.ts file in Scripts\typings\slickgrid folder (you have to create the last level). Such file will be something like this:

declare namespace Slick.Controls {
    class ColumnPicker {
        constructor(columns: Slick.Column[], grid: Slick.Grid, options?: Slick.Controls.ColumnPickerOptions);
    }

    interface ColumnPickerOptions {
        fadeSpeed?: number;
    }
}

in your xyzGrid.ts override the createSlickGrid() method in the following way:

protected createSlickGrid(): Slick.Grid {
    let grid = super.createSlickGrid();
    let columnPicker = new Slick.Controls.ColumnPicker(grid.getColumns(), grid);
    return grid;
}

add the following instruction in your _LayoutHead.cshtml (just before your MyProject.Web.js line):

@Html.Script("~/Scripts/SlickGrid/Controls/slick.columnpicker.js")

Edit: forgot to add the final result...

@volkanceylan: if it sounds good (and if you agree), I'll move such informations on a wiki article.
Best Regards

Thank you very much @marcobisio, i'm sure many users would like to see this in wiki

A bit quick&dirty, but here it is:
https://github.com/volkanceylan/Serenity/wiki/SlickGrid:-Column-Picker-(TypeScript-only)
Thanks to you for sharing all your (hard) job with us :-)
Bye

Also, don't forget to reference ~/Content/slick.columnpicker.css in _LayoutHead.cshtml, otherwise you won't get the nice styling it provides.


Preserve orders if companies are deleted

Fixes #2788

@matmair I'm not sure I agree with your approach here, at the very least I don't understand it.
What is the advantage of adding a new "is_deleted" field, when we could simply set the order reference to None. If we are going to allow deletion of company objects and retain the order information, isn't this just adding more complexity?

@SchrodingersGat the idea is that there will always be a company instance. If you delete a company all instances that refer to that company are set to a fallback company for all orders etc. with deleted companies so that the API, frontend etc. do not break. Also you retain all information but the company something was sold to.

This "deleted company" does not provide any extra detail, compared to simply setting the related field in the Order model(s) to 'null' on delete, though?
On top of that another field is being added to the database model, which is only ever set to "True" for the deleted instance, correct?
From an information theory point of view, we'd retain exactly the same amount of information if we just nulled out the company field, and for less effort / overhead.

@matmair any further work on this one? Please use the SET_NULL option for these fields, rather than adding the extra complication of the faux deleted company object.

@SchrodingersGat I implemented the requested change - I will however explore my first suggestion a bit further and find a cleaner implementation.

Unless you can find a convincing argument I'd prefer to simply set the company field to null  :)

@SchrodingersGat I will ping you once I find a better argument - I would say we can merge like this with SET_NULL for now.

@matmair I'm happy with that. There are still some outstanding issues with this PR - the most notable of which is that deleting the "company" referenced from a SalesOrder or PurchaseOrder will break the templates:

@SchrodingersGat I fixed the templates and str instances

@matmair a few small suggestions but pretty close!

@matmair ready for review again?

Thanks for your work on this :0


Validation using Json Schema PoC

How we could define JSON schemas and then leverage them for validation.

This looks neat.

Should this be a draft PR? It isn't clear why it has the "Do Not Merge" label.

Should this be a draft PR? It isn't clear why it has the "Do Not Merge" label.

This should be a draft PR but I don't think I can change it now. Going to close and will re-open once I start working on it again.


Make use of #[track_caller] in unwrapped

Fixes #119

I'm gonna try fixing up git history, I messed it up a bit

Hmm, it would be nice for this to be generic over a Try, but it's nightly-only. Ah well...


Network issues in UEFI after second boot

Hi,
we are using the latest meta-tegra from the mickledore branch on an AGX Orin Devkit and experiment with the new PXE Boot option of Jetson Linux 35.4.1.
Unfortunately we experience some very weird networking issue, where we have no issues on the first boot after flashing a new image, but can't ping any other host on the network from an UEFI shell on the second boot. Obtaining an IP address from our DHCP server still seems to work on the second boot:
Shell> ifconfig -l

-----------------------------------------------------------------

name         : eth0
Media State  : Media present
policy       : dhcp
mac addr     : XX:XX:XX:XX:XX:XX

ipv4 address : <IP_ADDRESS>

subnet mask  : <IP_ADDRESS>

default gateway: <IP_ADDRESS>

  Routes (2 entries):
    Entry[0]
     Subnet : <IP_ADDRESS>
     Netmask: <IP_ADDRESS>
     Gateway: <IP_ADDRESS>
    Entry[1]
     Subnet : <IP_ADDRESS>
     Netmask: <IP_ADDRESS>
     Gateway: <IP_ADDRESS>

DNS server   :
-----------------------------------------------------------------

Shell> ping <IP_ADDRESS>
Ping <IP_ADDRESS> 16 data bytes.

2 packets transmitted, 0 received, 100% packet loss, time 0ms
Shell>

Does somebody else experience the same issue?

Hi @lms-jk
Have you checked to see if this is something specific to meta-tegra? Can you reproduce with Nvidia's source release?  If so you may want to cross post on their developer forum.

Hi @dwalkes
we will try Nvidia's release next week to check.
In the meantime we found a workaround: When we reset the NVRAM variables in the UEFI with Device Manager -> NVIDIA Configuration -> Reset Settings & reboot we can use the networking again. We have to do this after every reboot, but it is better than flashing a new image.

We experienced the same issue with the prebuilt image provided by Nvidia. I opened a post on their developer forum: https://forums.developer.nvidia.com/t/jetson-linux-35-4-1-network-issues-in-uefi-after-second-boot/266130


Support for  zh-TW ("Chinese (Taiwan)")[TRANSLATABLE]

Is your feature request related to a problem? Please describe.
Unable to get zh-TW caption.
Describe the solution you'd like
I can get it by this:
YouTubeTranscriptApi.get_transcript("jNzlJXQpr3k", ('en', 'zh-TW'))

I think it should get the only one caption by default. No matter what language it have.
Describe alternatives you've considered
No.
Additional context
YouTube Link: https://www.youtube.com/live/jNzlJXQpr3k
Here is the log:
root@eced1610fe6e:/app/youtube-transcript-api# python
Python 3.12.4 (main, Aug  2 2024, 14:41:30) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from youtube_transcript_api import YouTubeTranscriptApi
>>> YouTubeTranscriptApi.get_transcript("jNzlJXQpr3k")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/app/youtube-transcript-api/youtube_transcript_api/_api.py", line 137, in get_transcript
    return cls.list_transcripts(video_id, proxies, cookies).find_transcript(languages).fetch(preserve_formatting=preserve_formatting)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/youtube-transcript-api/youtube_transcript_api/_transcripts.py", line 183, in find_transcript
    return self._find_transcript(language_codes, [self._manually_created_transcripts, self._generated_transcripts])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/youtube-transcript-api/youtube_transcript_api/_transcripts.py", line 219, in _find_transcript
    raise NoTranscriptFound(
youtube_transcript_api._errors.NoTranscriptFound:
Could not retrieve a transcript for the video https://www.youtube.com/watch?v=jNzlJXQpr3k! This is most likely caused by:

No transcripts were found for any of the requested language codes: ('en',)

For this video (jNzlJXQpr3k) transcripts are available in the following languages:

(MANUALLY CREATED)
 - zh-TW ("Chinese (Taiwan)")[TRANSLATABLE]

(GENERATED)
None

(TRANSLATION LANGUAGES)
 - ab ("Abkhazian")
 - aa ("Afar")
 - af ("Afrikaans")
 - ak ("Akan")
 - sq ("Albanian")
 - am ("Amharic")
 - ar ("Arabic")
 - hy ("Armenian")
 - as ("Assamese")
 - ay ("Aymara")
 - az ("Azerbaijani")
 - bn ("Bangla")
 - ba ("Bashkir")
 - eu ("Basque")
 - be ("Belarusian")
 - bho ("Bhojpuri")
 - bs ("Bosnian")
 - br ("Breton")
 - bg ("Bulgarian")
 - my ("Burmese")
 - ca ("Catalan")
 - ceb ("Cebuano")
 - zh-Hans ("Chinese (Simplified)")
 - zh-Hant ("Chinese (Traditional)")
 - co ("Corsican")
 - hr ("Croatian")
 - cs ("Czech")
 - da ("Danish")
 - dv ("Divehi")
 - nl ("Dutch")
 - dz ("Dzongkha")
 - en ("English")
 - eo ("Esperanto")
 - et ("Estonian")
 - ee ("Ewe")
 - fo ("Faroese")
 - fj ("Fijian")
 - fil ("Filipino")
 - fi ("Finnish")
 - fr ("French")
 - gaa ("Ga")
 - gl ("Galician")
 - lg ("Ganda")
 - ka ("Georgian")
 - de ("German")
 - el ("Greek")
 - gn ("Guarani")
 - gu ("Gujarati")
 - ht ("Haitian Creole")
 - ha ("Hausa")
 - haw ("Hawaiian")
 - iw ("Hebrew")
 - hi ("Hindi")
 - hmn ("Hmong")
 - hu ("Hungarian")
 - is ("Icelandic")
 - ig ("Igbo")
 - id ("Indonesian")
 - ga ("Irish")
 - it ("Italian")
 - ja ("Japanese")
 - jv ("Javanese")
 - kl ("Kalaallisut")
 - kn ("Kannada")
 - kk ("Kazakh")
 - kha ("Khasi")
 - km ("Khmer")
 - rw ("Kinyarwanda")
 - ko ("Korean")
 - kri ("Krio")
 - ku ("Kurdish")
 - ky ("Kyrgyz")
 - lo ("Lao")
 - la ("Latin")
 - lv ("Latvian")
 - ln ("Lingala")
 - lt ("Lithuanian")
 - luo ("Luo")
 - lb ("Luxembourgish")
 - mk ("Macedonian")
 - mg ("Malagasy")
 - ms ("Malay")
 - ml ("Malayalam")
 - mt ("Maltese")
 - gv ("Manx")
 - mi ("Māori")
 - mr ("Marathi")
 - mn ("Mongolian")
 - mfe ("Morisyen")
 - ne ("Nepali")
 - new ("Newari")
 - nso ("Northern Sotho")
 - no ("Norwegian")
 - ny ("Nyanja")
 - oc ("Occitan")
 - or ("Odia")
 - om ("Oromo")
 - os ("Ossetic")
 - pam ("Pampanga")
 - ps ("Pashto")
 - fa ("Persian")
 - pl ("Polish")
 - pt ("Portuguese")
 - pt-PT ("Portuguese (Portugal)")
 - pa ("Punjabi")
 - qu ("Quechua")
 - ro ("Romanian")
 - rn ("Rundi")
 - ru ("Russian")
 - sm ("Samoan")
 - sg ("Sango")
 - sa ("Sanskrit")
 - gd ("Scottish Gaelic")
 - sr ("Serbian")
 - crs ("Seselwa Creole French")
 - sn ("Shona")
 - sd ("Sindhi")
 - si ("Sinhala")
 - sk ("Slovak")
 - sl ("Slovenian")
 - so ("Somali")
 - st ("Southern Sotho")
 - es ("Spanish")
 - su ("Sundanese")
 - sw ("Swahili")
 - ss ("Swati")
 - sv ("Swedish")
 - tg ("Tajik")
 - ta ("Tamil")
 - tt ("Tatar")
 - te ("Telugu")
 - th ("Thai")
 - bo ("Tibetan")
 - ti ("Tigrinya")
 - to ("Tongan")
 - ts ("Tsonga")
 - tn ("Tswana")
 - tum ("Tumbuka")
 - tr ("Turkish")
 - tk ("Turkmen")
 - uk ("Ukrainian")
 - ur ("Urdu")
 - ug ("Uyghur")
 - uz ("Uzbek")
 - ve ("Venda")
 - vi ("Vietnamese")
 - war ("Waray")
 - cy ("Welsh")
 - fy ("Western Frisian")
 - wo ("Wolof")
 - xh ("Xhosa")
 - yi ("Yiddish")
 - yo ("Yoruba")
 - zu ("Zulu")

If you are sure that the described cause is not responsible for this error and that a transcript should be retrievable, please create an issue at https://github.com/jdepoix/youtube-transcript-api/issues. Please add which version of youtube_transcript_api you are using and provide the information needed to replicate the error. Also make sure that there are no open issues which already describe your problem!

You didn't provide the language you want to your transcript to be in, so it will be english by default. You'll have to call YouTubeTranscriptApi.get_transcript("jNzlJXQpr3k", languages=['zh-TW'])) to get the zh-TW transcript.

@jdepoix I suggest that when it cannot be found, the default response should be the first subtitle.

Thank you for the suggestion, but I disagree with this approach, as this would potentially just return transcripts in an unknown language, without the user even knowing that it is not the language which was requested.

Thanks for your reply.
I don't quite agree with this view. The reason is that the subtitles we download might be used for AI reading. AI can recognize all languages, so theoretically, any language can be understood. Therefore, providing an option to download the first subtitle in any language might be a good design.

When creating a dataset to train a model, you would quite certainly want to have control over which languages that model is trained on, therefore, this makes much more sense as a default behaviour. If you don't care about the language you can still implement your desired behaviour using the list_transcripts API.


animation lag bug when specifying layout height.

Foreword edit: I just ran a test while writing this issue. Changing the height to wrap_content fixes the issue but I will still post to bring it to attention for others who need more direct height controls
Notice the bottom bar: http://imgur.com/i0bZMJZ
There is a horizontal line slightly above the translucent nav bar. In this picture I was in the green colored index and animated over to the blue colored index. The ripple doesn't expand throughout the entire bar evenly, it just goes across horizontally and the rest changes behind it a bit later. Even with a solid nav bar there is still a 4-5px line lagging behind on the bottom of the nav bar.
Using 2.0.1-rc1
Google Pixel, 7.1.1 if it matters
<it.sephiroth.android.library.bottomnavigation.BottomNavigation         android:id="@+id/view_main_nav"         android:layout_width="match_parent"         android:layout_height="56dp"         android:layout_gravity="bottom"         app:bbn_entries="@menu/nav_main"         app:bbn_scrollEnabled="true"         app:bbn_badgeProvider="@string/bbn_badgeProvider"         app:layout_behavior="@string/bbn_default_view_behavior" />

you have to use either wrap_content or match_parent, not a specific dp size. the internal height of the navbar will be 56dp at the end, but the actual component will be bigger than that.


[ActivityReminder] Change the app.js display and cleanup + maybe some optimisations

Great - thanks!


Detect file paths and correctly link/reference target

When authoring json it'd be great to have a richer experience when referencing other files, without having the overhead of defining a file:// URI whenever this is required (see example below).

I would expect this behaviour by standard when the schema is defining the values as file-references, this is also related to my more pertinent issue in the vscode-yaml repository concerning the handling of k8s kustomize resources (vscode-yaml#559)

when the schema is defining the values as file-references

Does that exist already?
I'd rather not define new vscode non-standard formats.

I've never seen it used sadly (as above) and looking at the reference (https://cswr.github.io/JsonSchema/spec/basic_types/) seems to also support the fact that it doesn't have this. On the other hand there are references that state that this does exist using an additional (optional) format definition in the schema definition (https://json-schema.org/understanding-json-schema/reference/string.html#format).
I'm currently unable to check whether vscode actually respects/supports these different formats, do you happen to know? If it is supported (and this would be preferable), then the issue clearly lies with the schema authors :)

Yes. we support most of the format kinds.
I think that format uri-reference would work for relative paths as well.
We have automatic link rendering if a value is in the URL form (scheme://authority/...). That's cheap as we can generate this without a need to test if the path exists.
For relative paths this is not so easy. A lot of strings could be valid relative paths. It would be look strange if all strings get an link underline.
So IMO for relative paths we require a format, such as format uri-reference`
If you want to work on this and add link support for all elements that have format uri-reference that woukld be cool. But not sure that this would solve your request.

Hi, sorry for the delay
If I understood you correctly, it is true that vscode currently doesn't use the format: uri-reference  even if it is defined in the schema of a file right?
That would explain the issue in the vscode-yaml plugin aswell: https://github.com/redhat-developer/vscode-yaml/issues/559#issuecomment-909560115

format: uri-reference is used for validation as seen here
https://github.com/microsoft/vscode-json-languageservice/blob/main/src/parser/jsonParser.ts#L661
but not for link detection


Bug fix, remove parameter, and server format check

Looks good, only 1 small thing,
the script in batchutils.py will break from removing the content type field:
https://github.com/demisto/tools/blob/master/py-client/batchutils.py#L57

Using the Web-UI, so I created a separate pull request.
On Tue, Feb 7, 2017 at 9:21 AM, Meir Wahnon<EMAIL_ADDRESS>wrote:

Looks good, only 1 small thing,
the script in batchutils.py will break from removing the content type
field:
https://github.com/demisto/tools/blob/master/py-client/batchutils.py#L57
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/demisto/tools/pull/4#issuecomment-278032028, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABJkL3-0CaH-1Dn8BVJEORosmVEJhfc8ks5raIwXgaJpZM4L5l0s
.


17JAN C++ CODE added

SOLVES ISSUE #496

@maddy020 you need to re-submitted the code as it was not working.

I have done the changes


[Bug] Beam errors out when using PortableRunner (Flink Runner) – Cannot run program "docker"

What happened?
I am trying to deploy a Beam job (Python Beam) that runs on a PortableRunner (Flink Runner) in my Kubernetes cluster.
I have not experienced issues prior with Beam using the Flink Runner. However, today I tried to set up Beam to be a consumer from Apache Kafka using ReadFromKafka from apache_beam.io.kafka.
My Flink Cluster is managed by the Apache Flink Kubernetes Operator.
My Beam jobs are managed by a Beam Flink Job Manager, which posts Beam jobs to the Flink master. The Job Manager uses the image apache/beam_flink1.16_job_server:2.54.0.
My Flink Task Managers each contain a sidecar for a Beam worker pool, which is spun up using the image apache/beam_python3.11_sdk:2.54.0 and the arg --worker_pool.
When I start my beam job, I get the following error on the job manager logs:
Caused by: java.io.IOException: Cannot run program "docker": error=2, No such file or directory

These are my Beam pipeline options:
--job_name=beam_example_pipeline
--runner=PortableRunner
--job_endpoint=beam-flink-job-server:8099
--artifact_endpoint=beam-flink-job-server:8098
--environment_type=EXTERNAL
--environment_config=localhost:50000
--parallelism=1
--streaming

Some resources I've found suggest that the Kafka transform has its own environment type which is set to (and overrides any environment you set?) --environment_type=DOCKER, which is what causes the issues. However, I could be wrong, so please say so if I am.
All of this taking place on a Kubernetes cluster, where, to my knowledge, Docker in Docker is not recommended. I do not want to use a PROCESS environment_type, I require EXTERNAL. How can I resolve this issue? Is this a bug with Beam?
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components

[X] Component: Python SDK
[X] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[X] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[X] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

I'm currently facing the same problem myself, using a beam yaml pipeline, when it comes to run the SQL transformation it intents to run a docker with java in flink-main-container
WARN  org.apache.beam.runners.fnexecution.environment.DockerCommand [] - Unable to pull docker image apache/beam_java17_sdk:2.56.0, cause: Cannot run program "docker": error=2, No such file or directory
ERROR org.apache.flink.runtime.operators.BatchTask                 [] - Error in task code:  CHAIN MapPartition (MapPartition at [3]Sql/BeamCoGBKJoinRel_77/Join.Impl/CoGroup.ExpandCrossProduct/{extractKeylhs, CoGroupByKey}) -> FlatMap (FlatMap at ExtractOutput[0]) (1/1)
java.lang.Exception: The user defined 'open()' method caused an exception: java.io.IOException: Cannot run program "docker": error=2, No such file or directory
org.apache.flink.runtime.operators.BatchTask.run(BatchTask.java:508) ~[flink-dist-1.17.2.jar:1.17.2]
org.apache.flink.runtime.operators.BatchTask.invoke(BatchTask.java:357) ~[flink-dist-1.17.2.jar:1.17.2]
org.apache.flink.runtime.taskmanager.Task.runWithSystemExitMonitoring(Task.java:952) [flink-dist-1.17.2.jar:1.17.2]
org.apache.flink.runtime.taskmanager.Task.restoreAndInvoke(Task.java:931) [flink-dist-1.17.2.jar:1.17.2]
org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:745) [flink-dist-1.17.2.jar:1.17.2]
org.apache.flink.runtime.taskmanager.Task.run(Task.java:562) [flink-dist-1.17.2.jar:1.17.2]
java.lang.Thread.run(Unknown Source) [?:?]

The tasks were executed in the python-harness container runned smoothly, but when it come to the Sql transformation, it failed

Facing same problem. Does anyone has solution? I'm trying to run a basic Kafka pipeline on my M1 MacBook.
This is the docker-compose which I'm running as an environment.
version: v3

services:
  kafka-1:
    container_name: my_kafka_cluster_node_1
    image: 'bitnami/kafka:3.5.1'
    deploy:
      resources:
        limits:
          memory: 2G
    networks:
      my_network:
        ipv4_address: <IP_ADDRESS>
    ports:
      - 9097:9097
    environment:
      - KAFKA_KRAFT_CLUSTER_ID=CqhzvKYNSvmn-8NmZWgOHb
      - KAFKA_ENABLE_KRAFT=true
      - KAFKA_CFG_NODE_ID=1
      - KAFKA_CFG_PROCESS_ROLES=broker,controller
      - KAFKA_CFG_CONTROLLER_QUORUM_VOTERS=1@<IP_ADDRESS>:9093
      - KAFKA_CFG_LISTENERS=INTERNAL://<IP_ADDRESS>:9092,CONTROLLER://<IP_ADDRESS>:9093,EXTERNAL://:9097
      - KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,INTERNAL:PLAINTEXT,EXTERNAL:PLAINTEXT
      - KAFKA_CFG_ADVERTISED_LISTENERS=INTERNAL://<IP_ADDRESS>:9092,EXTERNAL://localhost:9097
      - KAFKA_CFG_CONTROLLER_LISTENER_NAMES=CONTROLLER
      - KAFKA_CFG_INTER_BROKER_LISTENER_NAME=INTERNAL

  flink-jobmanager:
    image: flink:1.18
    networks:
      my_network:
        ipv4_address: <IP_ADDRESS>
    ports:
      - "8081:8081"
    command: jobmanager
    environment:
      - |
        FLINK_PROPERTIES=
        jobmanager.rpc.address: flink-jobmanager
        jobmanager.memory.process.size: 5gb

  flink-taskmanager:
    image: flink:1.18
    networks:
      my_network:
        ipv4_address: <IP_ADDRESS>
    depends_on:
      - flink-jobmanager
    command: taskmanager
    scale: 1
    environment:
      - |
        FLINK_PROPERTIES=
        jobmanager.rpc.address: flink-jobmanager
        taskmanager.numberOfTaskSlots: 20
        taskmanager.memory.process.size: 5gb

  beam-worker-pool:
    image: apache/beam_python3.11_sdk:latest
    networks:
      my_network:
        ipv4_address: <IP_ADDRESS>
    ports:
      - "50000:50000"
    command: --worker_pool
    environment:
      - BEAM_WORKER_POOL_IN_DOCKER_VM=1

networks:
  my_network:
    driver: bridge
    ipam:
      driver: default
      config:
        - subnet: <IP_ADDRESS>/24

and I run a beam_flink1.18_job_server seperatly by docker command.
docker run -d --network my_network -p 8099:8099 -p 8098:8098 -p 8097:8097 -v /tmp/f-conf:/flink-conf apache/beam_flink1.18_job_server:latest --flink-conf-dir=/flink-conf --flink-master=cre-center-flink-jobmanager:8081

and this is my Beam pipeline
import apache_beam as beam
from apache_beam.options.pipeline_options import PipelineOptions
from apache_beam.io.kafka import ReadFromKafka

if __name__ == "__main__":
  options = PipelineOptions([
    "--runner=PortableRunner",
    "--job_endpoint=localhost:8099",
    "--environment_type=EXTERNAL",
    "--environment_config=<IP_ADDRESS>:50000"
  ])

  with beam.Pipeline(options=options) as pipeline:
    (
    pipeline
    | "Read Data" >> ReadFromKafka(
      consumer_config={
        "bootstrap.servers": "<IP_ADDRESS>:9092",
        "auto.offset.reset": "earliest",
      },
      topics=["member_entered_store"])
    )

finally, I'll execute the pipeline by running command on MacBook
python beam_playground/main.py

and I receive same error in beam_flink1.18_job_server container
Cannot run program "docker": error=2, No such file or directory

I think the flink cluster should have the docker installed since it needs to download the Python SDK worker image.


doc: host.docker.internal not supported on Linux

Probably should add a warning in the doc refering to the docker issue https://github.com/docker/for-linux/issues/264

Resolved in #26

Linux support for this hostname has been implemented and is likely coming in the next days/weeks: https://github.com/docker/libnetwork/pull/2348
I found that best practice however might be to refer (in the environment var file and the db) to containers by their container name on the Docker network defined by docker-compose.yml.
host.docker.internal:5000 -> nlu:5000
host.docker.internal:8081 -> botfront-api:8080 (container port and not exposed port)
etc.

Support might be coming in a few days but it will probably take years for all linux distros to ship with the right docker version.
We arrived at the same conclusion for using containers names, it's in the work and requires testing.

It is now working on Linux, you can run docker rmi botfront/botfront -f to remove the image and then run docker-compose up again in botfront-starter, so that it downloads the latest version of the image


Remove Unnecessary "Please fill details" Toast on Pre-filled Login Page

Current behavior
Expected behavior
Currently, when users are redirected to the login page and their credentials are already pre-filled in the input fields, they receive an unnecessary toast notification prompting them to input credentials. This toast is confusing and redundant, as the credentials are already provided.
Steps to reproduce the issue

Can you handle fixing this bug by yourself?

[ ] YES
[ ] NO

Environment details

Browser:
OS:
Code Version:

Additional information

need to check if this is still happening

This issue occurs mainly on the first time when app becomes unauthorized and logouts.

@Adameddy26 can you please review this and attach a jam link for what exactly is happening here.

Issue is replicated at my end multiple times but the toast message is not getting captured in the JAM video. Therefore, mentioning the steps here.
Steps to Replicate -

Log in the App with a user.
Open the login URL in other window.
Here, log in with same user and then logout from the App.
Go back to first window and logout from the App.
Click on Login button in the first window to observe the issue.

@ravilodhi Please connect with me in case of any doubt.

Checked it and found that it is working fine. May be it got fixed in impact of some other issue fix. Therfore, closing this issue.


[QUESTION] - Content upgrade process for SharePoint Success Site

Submit your question
Is there an upgrade process for the SharePoint Success Site add-on content pack? In the event the playlists change, or additional content is available.

https://docs.microsoft.com/en-us/office365/customlearning/custom_contentupdates
https://docs.microsoft.com/en-us/sharepoint/customize-sss

What is the context of your question

[ ] Installation
[ ] Learning Pathways Content
[x] SharePoint Success Content
[ ] Administration
[ ] Custom Content
[ ] Viewer Web Part

What is your question
Is there an upgrade process for the SharePoint Success Site add-on content pack? In the event the playlists change, or additional content is available.

https://docs.microsoft.com/en-us/office365/customlearning/custom_contentupdates
https://docs.microsoft.com/en-us/sharepoint/customize-sss

@robertcaretta Are you asking what is the process for the content to be updated? We try to keep on a quarterly update schedule.  The last update to the content was in May of 2021. There is another one slated to come out in the next few weeks.
If you are looking for updates to the templates themselves we don't usually update those unless there is an issue with them. If there is something specific you are looking for feel free to make a request and we can put it on the list of enhancements to be triaged.
Thanks,
Derek

I was just wondering what the overall process is for the content add-on pack(s),  When a Learning Pathways update is released would that potentially also include updates for the SharePoint Success Site?  Or would updating that content be a separate process?

The content for all of the assets are updated quarterly. We are looking at a new release in a few weeks.

Closed as answered. If you are still having an issue please create a new issue.


Autojoin channels based on signup flow information

As a user, I want to autojoin a Slack channel corresponding to my military status (milspouse / active duty), so that I have a new user experience tailored to my current life situation.
Product Requirements

(MVP) Users on signup that identify as a military spouse autojoin #milspouses.
Users on signup that identify as active duty autojoin #active-duty.

I'm new here, but this looks liked a combined feature between the backend passing the e-mail plus the military status.  Either the backend or the pybot will need to keep an association between the status and the channel.
It looks like the pybot is using the undocumented user invitation referred to in this (SO post)[ https://stackoverflow.com/questions/30955818/slack-api-team-invitation].  So if the backend could pass the e-mail and an optional status, then the pybot could take that and associate that with the correct channel id's to include on the invitation.

So initially, when the slack invitation is created the user profile may not have the military status information.
The user can update their profile at any time to change their current status with incremental updates to their profile.  They can also change their status before signing onto slack via their e-mail link, or not update their profile and log onto slack.
So check would be performed after both a slack ID is given from the bot to the back-end or the front end communicates a status update to their profile.  If the check was successful that both slack id and military status exist in the DB, then a call the python bot would be made invite the user to the associated channel.
For after invitation joins, a python bot would invite a user to the channel via the slack API channels.invite.  However, the python bot would need to be a member of that channel according to the documentation.  It would need to sit on activeduty and milspouses.
It looks like milspouses is a shared channel, so I don't know if adding the bot to the channel would be permitted?

Sounds fun. If it can wait until the weekend I'd like to have a crack at it.

@mdaizovi I committed the WIP I have so far and on OperationCode/operationcode-pybot#110 on my fork and my pybot fork.  I was just going to put some better unit/integration tests on it tonight.
It's not really complete.  In the pybot I don't do channel invitations just extended the the existing messages when slack-id and status is present and changes.  I haven't tested it actually working with Slack in the loop.
I'll be out camping this weekend and won't be able to work on it after tonight.  If you want to take it from there this weekend and review/clean up/scrap and rework/change/test and put a PR together, I'm cool with that if you want to team up or take it over yourself.

Ok, I did the test last night and pushed that up just not in the commit above so it looks like it's working in my local environment.  I won't be able to work on this anymore until later next week.
@mdaizovi did you want to take it over from here with the pybot changes too?  I didn't get a chance to write any tests for pybot.  You can take credit for both if you want.  If not, I'll pick it up again later next week.  :)

Hey @brownnrl , I'm very happy to collaborate with you on this but it looks like you've done most of the work! I apologize for my non-response, hard to find time after work and familiarizing myself w/ codebase. I do have a few things 'd like to add, so I'd love to do them this week, but if you get to it first, no problem, there will be other issues.

No worries.  I'd actually prefer to collaborate with you.  After work time flies with family stuff, but I would like to contribute, help others contribute, and learn from how other people tackle issues.
I think that the ticket on this side is fairly complete, but the pybot changes are still incomplete on the other side.  I have had the front end and back end communicating, but I don't have experience simulating the pybot locally (I haven't tried).  As I said before, I don't have any unit / automated integration tests implemented for the pybot changes.
If you have any roadblocks I'll be happy to take a second look too.  We can also connect on the opcode slack as well.

Great! I'm not finished, but this is what I'm thinking: the user should be auto joined, so some of the status data should be included in the initial invite, and then also sent as a message if the status changes. Also, we should try to abstract a little so that if more status channels are added it's easy to add this functionality. I haven't finished yet, nor have I tested it, and I think the dicts could be put in a better place, but this is where I'm thinking we should go with it. Your thoughts?

On your first point, the problem I discovered with including it in the initial slack invite is that the military status information might not be present when the slack invite is sent out so it might have to reach back into the front end.
Currently, a new user signs up with email / password / name / zip code.  Then the back end at that point sends the initial slack invite and email confirmation.  Then the new user can login, join the slack, confirm their e-mail, and can update their profile with status.  All of those things can be done independently.  So they could update their profile first and not have a slack id, or join slack but not have annotated their status.  So if you wanted it to be on initial invite, you'd have to change the front end as well perhaps by including military status in the initial form.  But for a first pass, it probably isn't necessary.
If we use the channels.invite to use the pybot to invite them to the channel in place of where you have your commit then whenever they get around to both updating their military status and joining the slack the new user would maybe get a special message and an invite.
On your second point, an abstraction of all the functions that should be performed when a new user joins is a good idea.
However, all that needs a few tests in the pybot code to confirm those abstractions work as intended before we do any pull requests.  It would also be nice to try it out with slack in the loop before a PR, but I don't have much experience in that area.  Maybe I'll ping the slack channel later in oc-python-projects to see how they normally test new pybot features.  I saw a pybot channel for that purpose, so I'm guessing that is how.

Cool.  Yeah, delaying the task would probably catch most.  Using updates would catch the rest.
Let me know if you want any help with implementation or tests after this weekend.  Likely won’t be able to touch it this weekend but will have time Monday.

@mdaizovi Hi mic, did you get a chance to work on this over the weekend?  Let me know if you want any help.

Yeah kinda. I really want to watch the signup flow go but each of the readmes only describe that repo, I haven't seen one that describes getting a full working local dev env set up. I forked and cloned all 3 of the main repos and kind of had one going with just a local virtual environment, but I'm getting a lot of errors (sentry, KeyError: 'SLACK_TOKEN', etc...) I bet I wouldn't get if I set up docker or whatever it is I'm properly supposed to do. Do you know if this document exists, or do I need to just figure it out?

It looks like they have a test slack.  https://github.com/OperationCode/operationcode-pybot/issues/69
We can get a test token either via that or create another slack test channel.  Probably best to get a recommendation from someone that owns the process on oc-python-projects channel.


disable remove repeated underscores rule from _normalize_name as athena allows it

When we are trying to use pandas.to_redshift function, a columnName has double underscore, like __dc_timelabel
This internally call to_s3, which is trying to normalize_columns_names_athena. This ended up with columnName dc_timelabel in redshift and it's unexpected behavior.
The issue is athena actually support repeated underscores, we should not remove it.
disable the rule of remove repeated underscores in function normalize_columns_names_athena in athena.py
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hi @tiechengsu, thanks for open this issue. It makes sense and I will work on that.


How to install on unix ?

Warning: I will close the bug issue without the minimal init.vim and the
reproduce ways.
I run the following:
curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh
For example, we just use ~/.cache/dein as installation directory
sh ./installer.sh ~/.cache/dein
Then added the following to init.vim:
if &compatible
set nocompatible " Be iMproved
endif
" Required:
" Add the dein installation directory into runtimepath
set runtimepath+={path to dein.vim directory}
" Required:
call dein#begin({path to plugin base path directory})
" Let dein manage dein
call dein#add({path to dein.vim directory})
if !has('nvim')
call dein#add('roxma/nvim-yarp')
call dein#add('roxma/vim-hug-neovim-rpc')
endif
" Add or remove your plugins here like this:
"call dein#add('Shougo/neosnippet.vim')
"call dein#add('Shougo/neosnippet-snippets')
" Required:
call dein#end()
" Required:
filetype plugin indent on
syntax enable
" If you want to install not installed plugins on startup.
"if dein#check_install()
" call dein#install()
"endif
Problems summary
Error detected while processing /home/lewis/.config/nvim/init.vim:
line   10:
E15: Invalid expression: ~/.config/nvim/plugin})
E116: Invalid arguments for function dein#begin
line   13:
E15: Invalid expression: ~/.config/nvim/plugin})
E116: Invalid arguments for function dein#add
line   24:
E117: Unknown function: dein#end
Expected
oh my dream would be:
wget github.com/blah/blah/path/dein.vim/install.sh
./install.sh
and it works.
Environment Information (Required!)

dein.vim version(SHA1):
current

OS:
openbsd 7.1

Vim/neovim version:

nvim v0.6.1
Provide a minimal .vimrc with less than 50 lines (Required!)
$ cat .vimrc
cat: .vimrc: No such file or directory
The reproduce ways from Vim starting (Required!)

vim
errors

Screen shot (if possible)

Upload the log messages by :redir and :message (if errored)

I tried to install again... (it about 2 hours I'm trying)...
$ rm -rf .cache/dein
$ mkdir .nvim/dein
$ sh ./installer.sh .nvim/dein

after this I created the nvim conf file in .config/nvim/init.vim like this:
if &compatible
  set nocompatible
endif
set runtimepath+=/home/lewis/.nvim/dein//repos/github.com/Shougo/dein.vim
call dein#begin('/home/lewis/.nvim/dein/')
call dein#add('/home/lewis/.nvim/dein//repos/github.com/Shougo/dein.vim')
call dein#end()
filetype plugin indent on
syntax enable

Then I run nvim and then :call dein#install(), and the following are the new errors:
[dein] Target plugins are not found.
[dein] You may have used the wrong plugin name, or all of the plugins are already installed.

You have specified only one plugin dein.vim.
It is already installed.
So dein.vim cannot find install plugins.


[Other] Enhancing UI of error 404 page

What would you like to share?
It will enhance the site.
Additional information
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@punyakrit Please assign me this issue under gssoc'24.


Fixed web support capability at pub.dev

Before need to merge PR at [extended_image_library]
https://github.com/fluttercandies/extended_image_library/pull/26
Additional info
https://github.com/fluttercandies/extended_image_library/issues/25

Usage saved for any users

Usage saved for any users


fix a bug when finding audio file on Android.

Hi, when we play the given video file , there is bug if we put the code of finding the android raw resources at first, for example, if we have finished to recording a 233.mp3 and try to play it. we are supposed to do:
new Player(233.mp3).play();
but in your former logic , it will search the file in android raw resources first, and the name 233 can be convert to a int resID which is not equal to 0, so your code will return the wrong path which can not be find.
I have cost me almost a whole day to find why I can not play the recorded audio and fixed it.

Thanks for the fix! That surely was unexpected behavior in the old code...


[EnergyServices] Add private endpoints support for Microsoft.OpenEnergyPlatform/energyServices

Description

Add Microsoft.OpenEnergyPlatformto supported private endpoints
Testing Guide

History Notes

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

EnergyServices


Spawning sandboxes gets stuck on loading snapshot

Sometimes when spawning a sandbox the process gets stuck on loading the snapshot and times out.
One of the possible causes of this is the network namespace handling in Go — it is possible that the goroutine namespace could be somehow switched because of the way the threads and namespaces are handled.
This bug would cause the request for sandbox to return 500 "Cannot create a environment instance right now" error.

I think this is caused by the UFFD handler that sometimes panics with:
uffd_msg not ready
stack backtrace:
   0: rust_begin_unwind
             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:595:5
   1: core::panicking::panic_fmt
             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:67:14
   2: core::panicking::panic_display
             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:150:5
   3: core::panicking::panic_str
             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:134:5
   4: core::option::expect_failed
             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/option.rs:1988:5
   5: uffd_valid_handler::uffd_utils::Runtime::run
   6: uffd_valid_handler::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread 'main' panicked at src/firecracker/examples/uffd/valid_handler.rs:32:14:


The logger call virtual destructor when writting logs

Hi,
I encounter a problem when starting my C++ code. The logger caused a segmentation fault. After checking backtrace using gdb, I saw that a simple LOG(INFO)  sentence in my code calls the virtual destructor. To this end, Logger::Level will become a very large negative number, which results in a segmentation fault.

I tried to run the code, sometimes it is executed normally and the log entry in my code call the function of Writer (marked as 1 in the above pic.). sometimes it leads to segmentation fault by calling the function ~Writer (marked as 2 in the above pic).
The log entry in my code is as following pic. shows

My C++ project  is a multi-thread one. In each thread there exists log entries, and I  declare following settings before the entry of main function in main.cpp
"INITIALIZE_EASYLOGGINGPP
#define ELPP_THREAD_SAFE
#define ELPP_QT_LOGGING"
And the settings of config file is:

GLOBAL:
FORMAT               =  "%datetime{%Y-%M-%d %H:%m:%s,%g} %fbase:%line [%level] %msg"
FILENAME             =  "../logs/my123.log"
ENABLED              =  true
TO_FILE              =  true
TO_STANDARD_OUTPUT   =  true
SUBSECOND_PRECISION  =  3
PERFORMANCE_TRACKING =  true
MAX_LOG_FILE_SIZE    =<PHONE_NUMBER>  ## 100MB - Comment starts with two hashes (##)
LOG_FLUSH_THRESHOLD  =  200 ## Flush after every 100 logs

Can you please indicate what leads to the unexpected segmentation fault based on the information I provide.
Thanks in advance.

I think the solution is define macros in cmakelists.txt instead of in main.cpp. This is explained in the readme file of the repository.

After doing the following in CMakeLists.txt
target_compile_definitions(logger_lib PUBLIC ELPP_THREAD_SAFE)
I still encounter the segmentation fault when using LOG(INFO) << "xxxx";
any suggestions?


Small glitch

Just working through the instructions. I got...
  File "/Users/tomsmith/pmst-master/tools/pointillism-spritesheet.py", line 9, in <module>
    for h in range(0,30,2)+range(100,130,2):

fixed with...
joinedlist = range(0,30,2)+range(100,130,2)
for h in joinedlist:

Oh nope...
TypeError: unsupported operand type(s) for +: 'range' and 'range'

Hi, I think the script is written for python 2, quick fix for python 3 would be
list(range(0,30,2))+list(range(100,130,2))


Component As Syntax Throws Tracker Error (angular 1.x)

Hi all,
this controller is breaking my app, which uses the 'component as' syntax (angular 1.x). It's curious, because I use the same syntax in all of the other controllers, but only breaks 2 of my controllers. I tried copy-pasting the code from working controllers and replacing the contents, but no luck....
angular.module('testApp').directive('breadcrumbs', function () {
  return {
    restrict: 'E',
    templateUrl: 'client/components/breadcrumbs/breadcrumbs.html',
    controllerAs: 'breadcrumbs',
    controller: function($scope, $reactive, $location) {
      $reactive(this).attach($scope);

      this.urlArr = $location.path().split('/').splice(1);
      console.log('ROuterrrrL', this.urlArr);
    }
  }
});

When I comment out the line stated below, the code doesn't throw the error.
$reactive(this).attach($scope);
These are the 2 error message that I get if the line is uncommented:
Exception in queued task: TypeError: Cannot read property 'splice' of undefined
    at http://localhost:3000/packages/angular-meteor-data.js?36dfe4bee5b3da21eaa0d9bc0366addac4788a1a:2134:30
    at http://localhost:3000/packages/tracker.js?7776276660c988c38fed448d8262b925dffb5bc3:310:31
    at Object.Tracker.nonreactive (http://localhost:3000/packages/tracker.js?7776276660c988c38fed448d8262b925dffb5bc3:615:12)
    at Tracker.Computation.invalidate (http://localhost:3000/packages/tracker.js?7776276660c988c38fed448d8262b925dffb5bc3:309:15)
    at Tracker.Dependency.changed (http://localhost:3000/packages/tracker.js?7776276660c988c38fed448d8262b925dffb5bc3:443:30)
    at http://localhost:3000/packages/minimongo.js?cdf1a26cf7719fa9471a8017c3defd5aea812727:407:13
    at _.extend.runTask (http://localhost:3000/packages/meteor.js?9730f4ff059088b3f7f14c0672d155218a1802d4:685:11)
    at _.extend.flush (http://localhost:3000/packages/meteor.js?9730f4ff059088b3f7f14c0672d155218a1802d4:713:10)
    at _.extend.drain (http://localhost:3000/packages/meteor.js?9730f4ff059088b3f7f14c0672d155218a1802d4:721:12)
    at LocalCollection.insert (http://localhost:3000/packages/minimongo.js?cdf1a26cf7719fa9471a8017c3defd5aea812727:615:22)
-----------------------------------------------------------------------------------------
Exception from Tracker recompute function:
debug.js:41 TypeError: Cannot read property 'changed' of undefined
    at Scope.$$Reactive.$$changed (angular-meteor.js:2199)
    at angular-meteor.js:2099
    at Object.Tracker.nonreactive (tracker.js:589)
    at controller.<anonymous> (angular-meteor.js:2083)
    at angular-meteor.js:1563
    at Tracker.Computation._compute (tracker.js:323)
    at Tracker.Computation._recompute (tracker.js:342)
    at Object.Tracker._runFlush (tracker.js:481)
    at onGlobalMessage (setimmediate.js:102)

Any ideas? Why does it work in some places and not the others?

The component was inside of another component. I suspect that this may have caused it.

see #1269

@ThomsCass Thank you good sir. Closing this one


Is there a way to disable checksum offloading with knife?

I found that chef-client on Windows 2012R2 would fail horribly with checksum offloading enabled.  Is there  a knife rackspace command to disable this?

Hello! Given that this bug appears to be an issue with knife and/or knife-windows, and there's been no activity in approximately 1 year, I'm going to go ahead and close this. Please re-open if you identify that the bug is present in knife-rackspace. Thank you!


Getting compatibility error while building project with appium and visual studio for mac

Using VIsual studio for MAC
.net core
Added nuget package - Appium.WebDriver <IP_ADDRESS>
When building the project, getting error
Warning NU1701: Package 'Appium.WebDriver <IP_ADDRESS>' was restored using
'.NETFramework,Version=v4.6.1' instead of the project target framework '
.NETCoreApp,Version=v2.0'.
This package may not be fully compatible with your project. (NU1701) (netcoreappconsoleapp)

Appium.WebDriver does not support .NetCore as of yet.


"Create new project" dialog box button focus is "Cancel" not "Create"

When creating a new project in Spyder the default button highlighted is "Cancel", not "Create".
So the user (me) enters the new project information, hits the "Enter" key on the keyboard, and the dialog box disappears without creating the project, because the "Cancel" button is highlighted by default.  So I have to re-enter the information.
I have trained myself to not use the mouse, and rely on well-designed GUIs to have the proper defaults keyboard shortcuts for the operation at hand, in this case "Create" project.
Please cleanup this minor usability issue in the next release.
Thank you.
Rich

Issue Report Checklist

[ ] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
What steps reproduce the problem?

What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version:
Python version:
Qt version:
PyQt version:
Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

Hey @richdevboston, thanks for reporting. We'll try to fix this in our next version (5.2.0), to be released in a couple of weeks.


README should tell which min version of go is required

I had difficulties to install this and follow the README tutorial, because I had an old version of go.
Switching to go1.14.2 was the solution.
However, a note in README about a go version prerequestie would be fine.

What I can tell so far is that demoit is working with go 1.14, but not with go 1.12


Bug 1700206: Use sentence case for error messages

ClusterOperator condition messages should be correct sentences.

Interesting. This would mean that from now on, if I lookup an error message string in the openshift codebase, I shall remember to turn on case-insensitive matching. Isn't that a bit confusing? Why would we want to arbitrarily changing error messages coming from other parts of the system?
If having consistent casing in the error messages is important, perhaps we may agree on a convention, rather than fixing at runtime.

@pierreprinetti, updated, that should be more classical approach :)

/lgtm
/rofl


Multiple Bitmap picture generate pdf documents,and the speed is slow.

Hello!
Thank you a lot for the library.
When I am using the library you created to create a PDF with a few pictures，I find that “LosslessFactory.createFromImage(doc,pagePicture);” will takes about three seconds.Can this speed be optimized?
“JPEGFactory.createFromImage(doc, pagePicture, 1.0f);” is fast but the picture quality is bad。

Use the LosslessFactory instead.

If your pictures are in JPEG files, then the best way to work is to use JPEGFactory.createFromStream().


feat(go): support golines

Closes #240

Thanks
Would I get a beloved contributor badge at some point? 😅🤣


Updates all vendoring to latest (except pipdeptree)

More vendoring updates (updates all vendoring to latest except pipdeptree)
The checklist

[ ] Associated issue
[X] A news fragment in the news/ directory to describe this fix with the extension .bugfix.rst, .feature.rst, .behavior.rst, .doc.rst. .vendor.rst. or .trivial.rst (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.

Well, that is superseded by the bump to 3.12 right?

Well if we merge this first we should see just the 3.12 related changes in the other PR.


ImportError: cannot import name 'RootModel' from 'pydantic'

My test platform is
GPU: 1x A100,
OS: ubuntu 22.04
CUDA: 12.2.1
Followed the README.md to build Docker Stable Diffusion XL (SDXL) was easy and simple. No issue for the process. But when I ran soulteary/sdxl:all-xformers, it always got the following error:
root@a674cf84f3b3:/app# python refiner.py
Traceback (most recent call last):
File "/app/refiner.py", line 1, in
import gradio as gr
File "/usr/local/lib/python3.10/dist-packages/gradio/init.py", line 3, in
import gradio._simple_templates
File "/usr/local/lib/python3.10/dist-packages/gradio/_simple_templates/init.py", line 1, in
from .simpledropdown import SimpleDropdown
File "/usr/local/lib/python3.10/dist-packages/gradio/_simple_templates/simpledropdown.py", line 6, in
from gradio.components.base import FormComponent
File "/usr/local/lib/python3.10/dist-packages/gradio/components/init.py", line 1, in
from gradio.components.annotated_image import AnnotatedImage
File "/usr/local/lib/python3.10/dist-packages/gradio/components/annotated_image.py", line 11, in
from gradio import processing_utils, utils
File "/usr/local/lib/python3.10/dist-packages/gradio/processing_utils.py", line 22, in
from gradio.data_classes import FileData, GradioModel, GradioRootModel
File "/usr/local/lib/python3.10/dist-packages/gradio/data_classes.py", line 19, in
from pydantic import BaseModel, RootModel, ValidationError  # type: ignore
ImportError: cannot import name 'RootModel' from 'pydantic' (/usr/local/lib/python3.10/dist-packages/pydantic/init.cpython-310-x86_64-linux-gnu.so)
root@a674cf84f3b3:/app#
root@a674cf84f3b3:/app# python basic.py
Traceback (most recent call last):
File "/app/basic.py", line 1, in
import gradio as gr
File "/usr/local/lib/python3.10/dist-packages/gradio/init.py", line 3, in
import gradio._simple_templates
File "/usr/local/lib/python3.10/dist-packages/gradio/_simple_templates/init.py", line 1, in
from .simpledropdown import SimpleDropdown
File "/usr/local/lib/python3.10/dist-packages/gradio/_simple_templates/simpledropdown.py", line 6, in
from gradio.components.base import FormComponent
File "/usr/local/lib/python3.10/dist-packages/gradio/components/init.py", line 1, in
from gradio.components.annotated_image import AnnotatedImage
File "/usr/local/lib/python3.10/dist-packages/gradio/components/annotated_image.py", line 11, in
from gradio import processing_utils, utils
File "/usr/local/lib/python3.10/dist-packages/gradio/processing_utils.py", line 22, in
from gradio.data_classes import FileData, GradioModel, GradioRootModel
File "/usr/local/lib/python3.10/dist-packages/gradio/data_classes.py", line 19, in
from pydantic import BaseModel, RootModel, ValidationError  # type: ignore
ImportError: cannot import name 'RootModel' from 'pydantic' (/usr/local/lib/python3.10/dist-packages/pydantic/init.cpython-310-x86_64-linux-gnu.so)
root@a674cf84f3b3:/app#
Does anyone know how to fix this issue? Thank you in advance.

try https://github.com/soulteary/docker-stable-diffusion-xl-turbo