text:
Exception: multichannel

It looks like that skimage has removed the multichannel=True parameter (again? found an old post that it was added in 0.14).
https://github.com/matrach/img2unicode/blame/1eea995bf441e0f141312e9db0f1533d20b124f3/img2unicode/renderer.py#L72
Tested a few versions of skimage, but didn't work works with 0.19.3. Removing multichannel=True fixes the issue.
Traceback (most recent call last):
  File "C:\Users\Gamer\Documents\Projekte\coding\python\pyToot\main.py", line 26, in <module>
    keep_running = main_menu()
  File "C:\Users\Gamer\Documents\Projekte\coding\python\pyToot\main.py", line 16, in main_menu
    readToots.read_toots()
  File "C:\Users\Gamer\Documents\Projekte\coding\python\pyToot\readToots.py", line 94, in read_toots
    display_toots(toots)
  File "C:\Users\Gamer\Documents\Projekte\coding\python\pyToot\readToots.py", line 67, in display_toots
    print_media_attachments(original_toot.get("media_attachments", []))
  File "C:\Users\Gamer\Documents\Projekte\coding\python\pyToot\readToots.py", line 45, in print_media_attachments
    terminal_image.render_image(attachment["url"])
  File "C:\Users\Gamer\Documents\Projekte\coding\python\pyToot\inc\TerminalImage.py", line 24, in render_image
    renderer.render_terminal(local_image, sys.stdout)
  File "C:\Users\Gamer\Documents\Projekte\coding\python\pyToot\venvs\venv3_10\lib\site-packages\img2unicode\renderer.py", line 108, in render_terminal
    chars, fgs, bgs = self.render_numpy(path_or_img, optimizer, **kwargs)
  File "C:\Users\Gamer\Documents\Projekte\coding\python\pyToot\venvs\venv3_10\lib\site-packages\img2unicode\renderer.py", line 112, in render_numpy
    img, chars, fgs, bgs = self.optimize(path_or_img, optimizer, **kwargs)
  File "C:\Users\Gamer\Documents\Projekte\coding\python\pyToot\venvs\venv3_10\lib\site-packages\img2unicode\renderer.py", line 81, in optimize
    img = self._prepare_image(self._ensure_image(path_or_img))
  File "C:\Users\Gamer\Documents\Projekte\coding\python\pyToot\venvs\venv3_10\lib\site-packages\img2unicode\renderer.py", line 73, in _prepare_image
    ims = skimage.filters.gaussian(ims, 1, multichannel=True)
TypeError: gaussian() got an unexpected keyword argument 'multichannel'

Process finished with exit code 1

Update: skimage 0.19.3 throws a deprecated warning
C:\Users\Gamer\Documents\Projekte\coding\python\pyToot\venvs\venv3_10\lib\site-packages\img2unicode\renderer.py:72: FutureWarning: `multichannel` is a deprecated argument name for `gaussian`. It will be removed in version 1.0. Please use `channel_axis` instead.
  ims = skimage.filters.gaussian(ims, 1, multichannel=True)

Hi! Thanks for the heads up!
It should be fixed in 0.1a11 that I've just released.
Please let me know if it resolves your problem.

authors: bison-- matrach


text:
Historical string power level clarification

This PR aims to clarify and to define a reasonable standard for handling string power levels in room versions up to and including room version 9.
Related: #3264, #3667.

Preview: https://pr3688--matrix-org-previews.netlify.app

Is anybody aware of real-world rooms v6+ rooms that have (stringified) bigint power-levels? I can see that breaking existing rooms with string power levels is a no-go, but breaking existing rooms with bigint string power levels seems pretty reasonable to me.

Real world or not, it's unsafe to consider some room versions affected and others not, unfortunately.

I don't understand. What do you mean by "unsafe"?

(Please use my thread with related comments for this conversation)

Sorry, but (long-running) review threads on GitHub screw with on-site notifications badly, you can basically only interact with them in a reliable way through email, which is far from my preferred workflow 😕

I've moved it to a thread now: https://github.com/matrix-org/matrix-doc/pull/3688#discussion_r797987777

source: gharchive/pull-request

authors: ShadowJonathan jplatte neilalexander turt2live

repo: matrix-org/matrix-doc

license_type: permissive

license_source: github-api


text:
Room settings view controller v2

MXKRoomDetailsViewController becomes MXKRoomSettingsViewController

LGTM

authors: giomfo ylecollen

repo: matrix-org/matrix-ios-kit

license_source: bigquery


text:
Resources don't reload when launching app from configuration pane view

Loading the UI with full URLs like https://ui-url/#/workloads/kube-system/Deployment/my-awesome-deployment?view=config result's in the 404 page being displayed, regardless of whether the resource exists.

fixed in recent release

source: gharchive/issue

repo: matt-deboer/kuill

license: mit


text:
Trim spaces for utterances

Using a construct like (|this) will have an utterance with a preceding space. This will remove that space. Note the only change is associated with commit https://github.com/matt-kruse/alexa-app/commit/7b80f3dc557ce5c787297eaafc4a36c59abcdb58

Hi @rickwargo - i think we should close this branch.
My thought with the custom slot types is that it's not going to be great including the content for the custom slots within the framework. Some of these lists can contain hundreds of items! Having them in text files to feed into the skills interface seems like the best option for now - until hopefully amazon provides us with a standard xml or json definition we can send for having the skill service share it's definition for the schema, slot types, utterances, and custom slots.
I think the easiest thing might be to run with the suggestion made on the alexa-utterances repo from
@simplydallas : just add a .replace(/{-|/g, "{") to the output. I also think adding the trim() from this branch to fix the output would be an improvement to the output.
Sound good? I'd like to create a new branch that brings the custom slot regex and the trim() statement forward, along with tests for checking it works.

@mutexkid @rickwargo

Some of these lists can contain hundreds of items!

Thousands.  The current limit is 50K, and I saw someone complaining the forums about going over the limit.  So I guess I'm seconding mutexkid.

Indeed - i used "hundeds" only as an illustration here - even schlepping 50 values into a javascript array only to have it spit back out again in the server seems to be a tad rediculous :D

@mutexkid That sounds good to me. The real challenge is how to populate the Skill Interaction Model as you mentioned. Having those custom slot values in a consistent format is the first step; even if it is just by convention. I threw them in my model just to try to enforce that; I'm happy keeping them in text files.

authors: GitTom mutexkid rickwargo

repo: matt-kruse/alexa-app


text:
Undetected keypoint confused with the point of (0, 0)

Hi @matteorr, thanks for your great work. I would like to ask a question that is there a way to handle the case that undetected keypoint assigned to (0, 0) is considered as the prediction.
I obtained some analyzed results as follows. We can see each type of error has such a case. I think it may generate incorrect analysis. Thank you.
Inversion

Jitter

Miss

Swap

@yw155 - Thanks for pointing this out. Could you please share a bit more details on how to reproduce this bug? Is this happening in the localization errors function? And what version of the COCO dataset are you using (i.e. 2014 or 2017)? I'll look into it right now, but the more info you give me the easier it'll be to spot it.

Hi @matteorr, thanks for your reply. I just found the above outputs from the folder of 'localization_errors/keypoints_breakdown'. And I use COCO 2017. Is it possible that the bug exists after the OKS matching and evaluation considers the point of (0, 0)? Thanks.

I'll look into it.Could you post or send me a link to where I can download your json detections?

Hi @matteorr, the file is here:
coco_val2017-1_4.zip

Hey @yw155, this commit](https://github.com/matteorr/coco-analyze/commit/c5c6009fe11823a59c7f04704cc6adf0e572edfc) fixes the problem.
The reason the visualizations contained keypoints in (0,0) is that your algorithm predicts keypoints that are not visible (i.e. visibility flag is 0) in location (0,0), while all of the algorithms I previously analyzed always make a prediction for all the keypoints in the skeleton, regardless of the value of the visibility flags.
You now have the option in the localizationErrors file to set a variable USE_VISIBILITY_FOR_PLOTS such that when plotting the detections the value of the visibility flag will be taken in consideration and only keypoints whos visibility is 1 (visible but occluded), or 2 (visible) will be plotted.
NOTE: This bug isn't really a bug, but more of a difference in the outputs of the algorithms, and only affects the plotting but not the evaluation and analysis itself since that already takes into account the visibility. Nonetheless thanks for pointing it out!

Just hit this, it might be good to put a comment about this on the readme?

@WillBrennan  - Great suggestion! Thanks for your contributions to the repo, small details can make a big difference.

authors: WillBrennan matteorr yw155

repo: matteorr/coco-analyze


text:
Update Deployments.md

0x701f22B1860B1F03e6EFcc17403720dfC703552e contract

merged! thanks 🤙
Check out our step-by-step tutorials to learn more about zkSync

license: MIT


text:
Command "deploy-l2-weth" not found

When I run zk init command I face the following error:
$ yarn workspace l2-zksync-contracts deploy-l2-weth
error Command "deploy-l2-weth" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1

should work with latest head of main branch. pleae reopen if it does not.

authors: hatemosphere pwnforce

repo: matter-labs/zksync-era


text:
eth.getAccounts() function returns an empty address Array

I involved this function on my private chain environment which is installed on mac that geth client. the json rpc interface about "eth_accounts" actually returns an address data. So I read the source found that a bug code, here it is:
guard let string = self.result as? [String] else {return nil}             let values = string.compactMap { (str) -> EthereumAddress? in                 return EthereumAddress(str, ignoreChecksum: true)             }
the ignoreChecksum parmas value if is ture, then the init function body will return nil, so that leads the values empty
public init?(_ addressString:String, type: AddressType = .normal, ignoreChecksum: Bool = false) {         switch type {         case .normal:             guard let data = Data.fromHex(addressString) else {return nil}             guard data.count == 20 else {return nil}             if !addressString.hasHexPrefix() {                 return nil             }             if (!ignoreChecksum) {                 // check for checksum                 if data.toHexString() == addressString.stripHexPrefix() {                     self._address = data.toHexString().addHexPrefix()                     self.type = .normal                     return                 } else if data.toHexString().uppercased() == addressString.stripHexPrefix() {                     self._address = data.toHexString().addHexPrefix()                     self.type = .normal                     return                 } else {                     let checksummedAddress = EthereumAddress.toChecksumAddress(data.toHexString().addHexPrefix())                     guard checksummedAddress == addressString else {return nil}                     self._address = data.toHexString().addHexPrefix()                     self.type = .normal                     return                 }             }             return nil         case .contractDeployment:             self._address = "0x"             self.type = .contractDeployment         }     }

Hello @chaomaf
Thank you for spotting a bug :) will fix immediately
Sincerely, Alexander

Should be fixed in #34

authors: chaomaf shamatar


text:
gitlab authentication not working anymore (gitlab 12.10.3)

I confirm (by marking "x" in the [ ] below: [x]):

[X] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[X] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[X] I have read contributing guidelines.

Summary
Since gitlab 12.10.2 mattermost-desktop can't submit the authentication gitlab's forms (ldap and standard logins)
Environment

Operating System:  Linux Ubuntu 18.04
Mattermost Desktop App version: 4.2.1
Mattermost Server version: 5.21.0

Steps to reproduce
When on the mattermost server's login page, choose "log in with gitlab", then on gitlab, enter your credentials either using ldap or standard forms.
Expected behavior
As it used before, gitlab should authenticate you and forward you back to mattermost where you should be automatically logged on.
Observed behavior
The gitlab's ldap authencation form just reload the form when submitting, the credentials aren"t submitted at all. The standard form returns a 422 "The change you requested was rejected." error.
On both firefox and Chrome the problem doesnt occurs. Users can logon properly on mattermost using gitlab.

Possible fixes

Hello and thanks for the report!
have you tried with a more recent release? 4.4.2 just got out

Excellent, it does fix the problem! Thanks!

authors: ArnY Willyfrog

repo: mattermost/desktop


text:
Doc RDP communication process with security researchers

We should document communication protocol with security researchers providing issue reports according to our responsible disclosure policy:
Communicating with Security Researchers:

After a report is received immediately acknowledge it was received and will be under review (this can be an auto-reply just confirming the report was received, or a manual email macro)
Within X days review the report, and if it doesn't meet criteria respond with a reason why. Open a ticket in docs repo to document the reason so if people report a duplicate issue the explanation is public, e.g. we have people "discovering" account enumeration by telling people their password is incorrect, which we purposely offer as a usability benefit, which we don't see as a security issue if people are properly deployed behind a firewall, and which can be optionally switched off (We should at least open a ticket to document this, and eventually get it into some sort of FAQ).
If the report does meet criteria, and we plan to ship a patch, we should reply back and let them know work is in progress and to thank them for their report and ask if a) they would like to be publicly credited and what name to use (no links, sorry), b) optionally if they would be open to us sending them a modest thank you gift through the mail, and if so, to let us know their mailing address.
If someone offers a name, we should add it to the end of the "Security Research Hall of Fame" list at https://www.mattermost.org/responsible-disclosure-policy/. If someone has multiple contributions, note that in their name and move them to the top of the list.
If they've given their address, mail the gift.
Ship the security fix per the standard policy.

@DSchalla, is this something you'd be open to helping with? Or, if we already have this let me know and I'll make sure it's in the correct place in the handbook. :)

Hey @justinegeffen,
we have a public documentation for this here: https://mattermost.com/security-vulnerability-report/ and a internal security team document we have in our Shared Google Drive that covers the entire internal workflow, which would cover the second side. We could move this to the public handbook, but may need to give it another pass before doing so.

authors: DSchalla it33 justinegeffen

repo: mattermost/docs


text:
Update help wanted issue query

Update help wanted issue query to a permalink which redirects from https://mattermost.com/pl/help-wanted-mattermost-server to the appropriate query.
Why the change?
The GitHub help wanted issue query changed, breaking all existing links. By using a permalink, we'll only need to update the link once by fixing the redirect from https://mattermost.com/pl/help-wanted-server
Why https://mattermost.com/pl/help-wanted-mattermost-server ?
This is consistent with permalinks we use in the product. Moreover, by specifying mattermost-server makes it clear which repository the link redirects to, allowing us to specify redirects for other repos in future, such as mobile, if we decide to do so.

This is ready for review, but should not be merged until marketing has added the redirect page (https://mattermost.com/pl/help-wanted-mattermost-server) and until all Mattermost HW tickets have the Help Wanted label.
Each of these efforts are in progress.

Redirects added, help wanted labels applied and reviews complete. Merging.


text:
Error when working with slash commands

Hello!
I can't deal with slash commands. I created a command with a URL to my server and a Get request type. When I call a command, I receive an incoming request on the server.
But what should I do next?
I tried to reply with the simplest message {"text": "sayhello"} to the url from the request from the response_url parameter (https://server_mm.com/hooks/commands/91mt9icimiyf5et6x1adrchf5c), but the command responds with an error. In the logs comes the message:
"error": "command: Command with a trigger of 'sayhello' failed., parsing error at line 1, character 2: invalid character 'h' looking for beginning of value".
How can I respond correctly and to what address should I send it?
Help me please!

Found an error.


text:
Help Wanted: Check generated HTML file

To ensure the generated HTML files are valid and all links are working, a new step should be included in the CircleCI pipeline. Using https://github.com/gjtorikian/html-proofer or a similar proofer all generated files should be checked.
To reduce the initial work load to implement this changes, skipping some checks with e.g. --empty_alt_ignore is fine.
Bonus points for adding a make check target or including even more checks like --check_html.

@hanzei Can you give me a heads-up? I don't know about it but It sounds interesting.

@cpanato - Is this something your team can assist with?

@cwarnermm What is the reasoning behind removing the Help Wanted from this issue? Can we keep this up for the community?

@hanzei - The original ask was to add a step to the CircleCI pipeline. It's my understanding that we're migrating from CircleCI to GitHub actions. With this in mind, I looped Carlos in. I wasn't sure if this ticket would need some updates to take our updated infrastructure into account, or if Carlos' team would be needed for final execution.
@cpanato has confirmed that the same type of implementation would be possible via GitHub Actions. Since the ask is the same, I'm quite open to keeping this as a Help Wanted ticket open to our community, and will re-add the appropriate labels.

@cwarnermm Can I work on this?

That would be awesome, thanks @varunKT001 :+1:


text:
Request for Documentation: Setup HA cluster

Mattermost user prapti.shrestha from https://community-daily.mattermost.com has requested the following be documented:
##### Steps to setup HA cluster
Notes:
- See https://docs.mattermost.com/deployment/cluster.html for more info.
- Same steps can be ported to docker-compose to easily spin up the HA cluster.

1. Start database
```bash
docker run -d --name db -e POSTGRES_USER=mmuser -e POSTGRES_PASSWORD=mmuser_password -e POSTGRES_DB=mattermost mattermost/mattermost-prod-db

Start Minio as file storage
a. Start its docker image

docker run -d --name minio -p 9000:9000 -e MINIO_ACCESS_KEY=minioaccesskey -e MINIO_SECRET_KEY=miniosecretkey minio/minio server /data

b. Add mattermost-test as main folder
docker exec minio sh -c 'mkdir -p /data/mattermost-test'

c. Confirm that it's running by visiting localhost:9000 and enter access/secret keys.

Start application servers
a. Save attached config.json to a folder

/tmp/mm/config/config.json

b. Grant permission to /tmp.  Below is grant to all but correct approach is to grant specific user/group only.
sudo chmod -R a+rwx /tmp

c. Spin up the first application server and visit localhost:8065 if working properly.
docker run -d --link db --link minio -p 8065:8065 -v /tmp/mm/config/config.json:/mattermost/config/config.json -v /tmp/mm/:/tmp/ --name app mattermost/mattermost-enterprise-edition:master

d. Then the other application server and visit localhost:8066 if working properly.
docker run -d --link db --link minio --link app -p 8066:8065 -v /tmp/mm/config/config.json:/mattermost/config/config.json -v /tmp/mm/:/tmp/ --name app1 mattermost/mattermost-enterprise-edition:master

Expose the cluster with Nginx
a. Download and install Nginx
b. Save attached ha-mattermost nginx conf as /etc/nginx/sites-available/mattermost and link to enable.

sudo ln -s /etc/nginx/sites-available/ha-mattermost /etc/nginx/sites-enabled/ha-mattermost

c. Start Nginx
sudo systemctl start nginx

d. Should return without error and localhost or localhost:80 should be accessible. localhost:8065 and localhost:8066 should still be accessible.
That's it! You've successfully setup an HA cluster.

Want to inspect the logs, especially of the server? Simply do docker logs -f [name], so for the first application server named as app

docker logs -f app

See the original post [here](https://community-daily.mattermost.com/_redirect/pl/9s8s1fctrbgutkre85uhnp9crc).

_This issue was generated from [Mattermost](https://mattermost.com) using the [Doc Up](https://github.com/jwilander/mattermost-plugin-docup) plugin._

Hey @DHaussermann, can you help me with the file, where I need to document this?

@svelle - Can you please confirm whether the functionality above has been ported to docker-compose to support the creation of high availability clusters?

@cwarnermm the steps above are not related to the mattermost/docker repository. If I understand correctly this issue here is meant to spin up a local high availability setup which is not what the docker repository is meant to do.

Thanks, @svelle! Do we officially support local HA environment setups?

@cwarnermm I don't see any reason why we should, it's nonsensical because it defeats the purpose of high availability. so no we don't.
If it's meant for development purposes yeah sure, but that's outside of our domain and also "unsupported" since it's meant for development/testing only.
hope that helps :)

This helps a lot, @svelle. Based on your input, I'm closing this ticket.

authors: cwarnermm haardikdharma10 matterdoc svelle


text:
Feat crt

Summary
Collapsed reply threads on mobile.
Ticket Link
Checklist

Device Information
This PR was tested on: iPhone 11 (iOS 14.5)
Screenshots

Release Note

/update-branch

/update-branch

/update-branch

/update-branch

/update-branch

repo: mattermost/mattermost-mobile


text:
Updating search bar styling

Summary
Updating search bar styling
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] Added or updated unit tests (required for all new features)
[ ] All new/modified APIs include changes to mattermost-redux (please link)
[x] Has UI changes
[ ] Includes text changes and localization file updates

Device Information
IOS simulator, Xperia Z3
Screenshots

@enahum pushed with your values.
We can take this for now, and then when you have the time, you can left align the content in the input, and I can look into styling that.


text:
[Gekidou MM-45790] Create File Options Menu for Tablet View

Summary
This PR changes the result from a use clicking the ... file options menu when the user is on a tablet
While mobile uses a bottomScreen, the tablet uses a menu option, similar to you what you would see in the webapp ... menu.
When the user clicks the ... button the following will happen:

fileOptions open (above or below the ... icon depending on the location of the file in the screen)
the ... icon has the background color changed while the menu is open
if the user clicks the same ... menu, the menu will close
if the user clicks ... for a different file

the current selected menu is closed and the new location opens
the selected background changes to the new file

After a user selects an action (download, copy link, open in channel) the modal closes and the selected icon goes back to default color

Refactoring

search/resutls/file_options/hooks.tsx move all of the creation functions out of file_results.tsx and into this file.  All hooks are commented and easier to understand what they are and why we have them.
file_results.tsx - only renders the FileResult components and calls the new hooks.
option_menus.tsx - contains the menu option items for both mobile and tablet
mobile and tablet options have their own files (tablet_options.tsx and mobile_options.tsx)
FileResult now handles the Options Menu handlers for tablet and mobile.
FileResult now has the toasts at this level and decoupled from FileResults

TODO

[x] opening direction up is transparent, while opening down is opaque
[x] verify file options work
[x] position toasts (try to always position from the bottom)

[ ] tablet - margin is above the lower navigation background. possibly leverage Overlay
[ ] mobile - calculate from bottom insets

[x]  Add a shadow on the menu for tablets
[x] tablet - once the user selects and action, close and then show the toasts
[x] fix toast width
[x] fix toast height relative to bottom tab bar
[x] change copy link toast icon from check to link-variant

Ticket Link
https://mattermost.atlassian.net/browse/MM-45790
Checklist

[ ] Added or updated unit tests (required for all new features)
[ ] Has UI changes
[ ] Includes text changes and localization file updates
[ ] Have tested against the 5 core themes to ensure consistency between them.

Device Information
This PR was tested on:
Screenshots

Release Note

5. On tablet, I think it would still be worthwhile showing the toasts for these options too.

Would you mind adding these to figma and I'll incorporate them into the design.

On tablet, I think it would still be worthwhile showing the toasts for these options too.

Would you mind adding these to figma and I'll incorporate them into the design.

Added this to Figma for you @jfrerich

On tablet, I think it would still be worthwhile showing the toasts for these options too.

Would you mind adding these to figma and I'll incorporate them into the design.

Added this to Figma for you @jfrerich

Thanks, @matthewbirtch!

@matthewbirtch, can you give this another look.  I refactored some stuff and I think the response times are faster.
I also got the toasts working for tablet also. I will check with figma to get the correct vertical height.
Note that I also implemented a UX change that will hide the bottomsheet after an option is taken.
For the Tablet version, the toast is shown and then the menu disappears. I'm having some difficulty getting the menu to disappear before the toast is shown.
If you'd rather the menu and bottomsheet stay open, I can do that too. Thanks!

@matthewbirtch, can you give this another look. I refactored some stuff and I think the response times are faster.
I also got the toasts working for tablet also. I will check with figma to get the correct vertical height.

I think the vertical height is good here. However, I believe we have a wider width for toasts on tablet with a max-width of 480px or something like that. Have a look at how toasts are implemented in the channel view (when users choose copy link from the long-press menu for example). I'm not sure if the max-width was applied, but the toast certainly appears wider on tablet here.

Note that I also implemented a UX change that will hide the bottomsheet after an option is taken.

Yep, this is what we want. However, I'm only seeing this on phones right now - the menu stays open on tablet (as you mentioned below)

For the Tablet version, the toast is shown and then the menu disappears. I'm having some difficulty getting the menu to disappear before the toast is shown.

Ya, we want this menu to disappear as soon as you choose an option - we don't want to wait until the toast disappears. That definitely feels wrong from a UX standpoint.
Also, we need a shadow on the menu for tablets. Were you able to look in to that?

Thanks, @matthewbirtch.  I added those items to the remaining todos in the PR description and will work on them today.

Also, for the toasts that show on mobile, can we adjust the position and width?

Implemented
Designed

It should have 8px margin from the left/right edges and 8px margin from the bottom tab bar.

I added both in the todo list.  The design for the iPhone needs to be adjusted.

Hey @jfrerich is this ready for review? just confirming cause I lost track of a few things

@enahum, not yet. I have one issue remaining with the toasts.  Daniel and I are going to look at it today.

All, I have finally got this working.  The corner case that was extremely slow was when there are 100+ files in the search result.  Huge thanks to @larkox for teaching me the Flipper Profiler and helping me diagnose this problem. The tool is amazing!
@larkox, the effect of closing the other modals (filter and team picker) was a problem. If a user had either of those open when the admin changed the copy public links or download settings, these menus would close. I have a huge comment on that useEffect describing what I dis to resolve the issue. Both FileResults and FileResult have their own state to know if the OptionsMenu is open. They cannot be shared because passing the parent FileResults state value to FileResult causes that long rendering problem where all files rerender.

Thanks, @avinashlng1080!  Feedback has been corrected.

authors: enahum jfrerich matthewbirtch


text:
[MM-44359]: Replace alt text with a symbol for a link keyboard shortcut for mac

Summary
Replace alt text with a symbol for a link keyboard shortcut for mac. In keyboard shortcuts modal and ATE link tooltip
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-44359
Related Pull Requests
NA
Screenshots

before
after

Release Note

- Replace alt text with a symbol for a link keyboard shortcut for mac

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/221046

/cherry-pick cloud

Cherry pick is scheduled.

authors: AshishDhama amyblais mattermod

repo: mattermost/mattermost-webapp


text:
[GH-13334] UI Automation: Write an automated test using Cypress for "Boolean element check"

Summary

UI Automation: Write an automated test using Cypress for "Boolean element check"
Ticket Link

https://github.com/mattermost/mattermost-server/issues/13334
Related Pull Requests

None
Screenshots

None

@deanwhillier Ready for your review

authors: larkox saturninoabril


text:
Added test to verify Accessibility Support in Account Settings

Summary
Added test to verify Accessibility Support in Account Settings
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-22628
Screenshots

/update-branch


text:
[MM-27231]: cypress test for MM-T1837

Summary

Automate MM-T1837: Bot DM channels display a normal Header

Ticket Link

Part of https://mattermost.atlassian.net/browse/MM-27231

AFAIK, a bot a from a plugin is the same as a "normal" bot, so there's only one test here.

@ashishbhate I think step 2 refers to uploading/enabling a plugin and checking if the bot from that plugin also works. It may have the same expectation but the creation flow is a bit different, e.g.
        // # Upload and enable "matterpoll" plugin
        cy.apiUploadPlugin('com.github.matterpoll.matterpoll.tar.gz').then(() => {
            cy.apiEnablePluginById('com.github.matterpoll.matterpoll');
        });

then check the DM for @matterpoll

@josephbaylon updated with a test for a bot from a plugin.

/update-branch

authors: ashishbhate josephbaylon


text:
[MM-29684] Add check for isCloud to main_menu for displaying user_limit_modal

Summary
This check was missing on the user limit modal, which meant that on any license you would see the modal if the userlimit was non-zero.
Ticket Link
https://mattermost.atlassian.net/browse/MM-29684
Related Pull Requests
N/a
Screenshots
n/a

/update-branch

/cherry-pick cloud-ga

Cherry pick is scheduled.

authors: mattermod nickmisasi


text:
Removing some unused files and components

Summary
Removing some unused files and components
Ticket Link
None
Release Note
NONE

@AGMETEOR @nickmisasi I added you to the review to confirm about the user_limit_modal that looks like is no longer used, so I guess we can remove that. This is only part of the files that are unused, I have other extra files that I going to add in other PR.

@AGMETEOR @nickmisasi I added you to the review to confirm about the user_limit_modal that looks like is no longer used, so I guess we can remove that. This is only part of the files that are unused, I have other extra files that I going to add in other PR.

We've got no plans for this for the time being so should be good to remove. Worst case we can pull it back in from the git history.

@AGMETEOR @nickmisasi I added you to the review to confirm about the user_limit_modal that looks like is no longer used, so I guess we can remove that. This is only part of the files that are unused, I have other extra files that I going to add in other PR.

@jespino Withdrawing my previous comment - this model should still be in use by legacy installations on our free tier. We'll need this component until Feb 2022, when those grandfathered installations are moved to a paid plan.

@nickmisasi but where is this used?

Looks like it was removed from main_menu and wasn't added to the global header menu. I have failed to locate which PR removed it. But, Nick is right we still needed to show it for legacy cloud plan installations.

LGTM. Maybe we shall create a new ticket to temporarily add the user_limit_modal again. That'll be @marianunez call.

This used to be called here: https://github.com/mattermost/mattermost-webapp/blob/f68d8dd0a335b05eada0cbe8c36f61dfbdfab798/components/invitation_modal/invitation_modal.jsx#L327 but was removed as part of a revamp of the invitation modal here https://github.com/mattermost/mattermost-webapp/pull/9358
This user limit modal is no longer needed as in server side it is handling this check and presented the error in the new invite modal. We should be good to permanently remove user_limit_modal.

@hmhealey do you think we need any QA on this? I think we don't because we are mainly removing code, and if something would break, should do it at compilation time, right?

@jgilliam17 do you mind to run the e2e tests over this branch, I think that should be enough "smoke testing" to ensure that we are not breaking anything with this changes.

Thanks @jespino E2Es running here https://automation-dashboard.vercel.app/cycles/1342b5d3-6823-4231-9b71-9dbe1e46dc0f
I'll post the report when ready.

@jgilliam17 thanks!

/update-branch

E2E results https://mattermost-cypress-report.s3.amazonaws.com/90515-d88f783-ee-ent-webapp-pr-9419-mm-ee-test:d88f783/mochawesome.html
I'll re-run after update, some of these failures look familiar just want to rule out as already fixed.

@jespino here's the new report https://automation-dashboard.vercel.app/cycles/ba839b68-7253-4bcb-b180-f9dd5e29ac40
similar failures, re-tested manually and not able to reproduce. Looks good to merge.

authors: AGMETEOR jespino jgilliam17 marianunez nickmisasi


text:
Allow loading of already-compiled binaries for local compiler-explorer

It would be useful if one could load an already-compiled binary. For my case, I have a binary that consists of many source files and copying the files into the webinterface is very time consuming. If I could just upload the source files I am interested in, and provide the pre-compiled executable and have the nice source<->asm coloring, that would be really cool.

Hi! What do you mean by an already-compiled binary? Compiler Explorer works on source, not binaries.
You can upload a single source file with the little disc icon on the editor.
Compiler Explorer is not a reverse engineering tool - it can't map arbitrary compiled binaries back to source. It's limited by the debug information output by either the compiler (in its normal mode), or else using the debug information recorded in the binary (when doing binary mode).

I thought because it already can associate assembly-lines back to source lines (using debug informations?), it should be able to know also the file name that the assembly-line comes from (filename:sourceline). So I imagine it could "simply" omit the compilation-process and let me pass the result-executable. With its assembly-lines <-> sourcefile:sourceline association features which it gets from the debug information, it should be able to color the source lines aswell, of any files I upload.
So if the executable consists of 100 source files, but I'm only interested into looking-up the assembly for a single source file "foo.cpp", I can pass it the generated executable, and paste only "foo.cpp". And it would color the part of the disassembly that belongs to "foo.cpp"'s source files.
It wouldn't have to decompile back to source.

I see. Ok, for 99% of Compiler Explorer's output I parse the text output of the compiler. There's no binary, no disassembly, and I use the handy .line directives in the assembly output.
For "binary mode" (the terrible 11010 icon), I do actually compile and link, and then run objdump on the executable. This would probably work work your setup, however it's not something I'm planning on adding myself; handling large binary uploads, and objdumping them adds complexity. We'll keep this bug open though as a feature request!
If you'd like to spike something out yourself, the code is in the https://github.com/mattgodbolt/compiler-explorer/blob/master/lib/asm.js#L235 binary parser here, and the binary flag triggers the run of objdump here: https://github.com/mattgodbolt/compiler-explorer/blob/master/lib/base-compiler.js#L453

I'm going to close this, as I don't think it's part of the remit of Compiler Explorer, and is better served by other decompilers/disassemblers (gdb for example!). If however you have other ideas on improving this, or pull requests, I'll happily consider them!

authors: RealLitb mattgodbolt

repo: mattgodbolt/compiler-explorer


text:
Security Bug: possibility to read server files

Tested on: https://godbolt.org

Howdy.
Thanks so much for the report!
I edited your bug, just to remove the details from the public while we look into a solution.

Also, might want to disable unneeded cc.py arguments (eg. --report or --text-report) as they can create files outside /compiler-explorer (eg.: /tmp)

We have now pushed a fix for the server, but will wait a week to post the original report. Thanks @cedriczirtacic for letting us know :)

Found another one. This one lets you read the whole file. Any email I could use to send the info?

Sure! I've emailed you. Thanks for taking the time to improve CE :)

Issue sent. Thanks!

Just to reiterate @rabsrincon here: thanks for taking the time to report this issue (and the others).
We're working on a new isolation technique for both compilation and execution. When that's in place we'd very much appreciate your help in trying to find weaknesses too!

Oh yes I can read /etc/passwd ok. Where do I submit this?

Hi @SoniEx2 - you can read /etc/passwd by design (as the compiler itself has to be able to read it to get some basic user facts). There's nothing particularly sensitive about the /etc/passwd you're looking at: it's not the password file of the node you're running on (it's a docker instance inside of the node).
If you're able to read a sensitive file (/etc/shadow or something like that), I'd love to find out how. You can always email us at compiler-explorer-admin@googlegroups.com or directly matt@godbolt.org

Well, if I can read /etc/passwd, what's to say I can't read /tmp files i.e. other ppl's code?

That's a really good point - thanks!
At the moment the only thing stopping you doing that is being able to guess the randomly-named temporary directory where code is held while it's compiled. That's not impossible of course: I'm not using a cryptographically secure RNG. It's not an attack vector I'm too worried about right now, however.
With the isolation technique I'm planning on using soon (e.g. firejail or similar) I hope to isolate even that - so there's no way to read anything other than the temporary directory your particular compile is in.

All you really need is a whole botnet.

If someone unleashes a botnet on Compiler Explorer, information leakage is only one of the problems I'd face. The temporary filenames are of the form /tmp/compiler-explorer-compiler118213-29772-18k4o60.sz18msfw29 so there's quite a search space. The files only exist during compilation, and there's multiple CE nodes running (with separate /tmp directories). It's definitely possible, but pretty unlikely. My instinct is a botnet would crush the ability to compile well before you got lucky and found another user's in-progress compilation.

authors: RabsRincon SoniEx2 cedriczirtacic jaredwy mattgodbolt


text:
Unable to build using mingw on Windows

Using #140, with mingw8, conan and Windows 10, the following errors appear:

Errors when compiling using mingw on Windows
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/StringUtil.h:28:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
Scanning dependencies of target embedded
In file included from C:\Users\maarten\source\repos\seasocks\src\main\c\StringUtil.cpp:26:
C:\Users\maarten\source\repos\seasocks\src\main\c\seasocks/StringUtil.h:28:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
mingw32-make.exe[2]: *** [seasocks\src\main\c\CMakeFiles\seasocks_obj.dir\build.make:306: seasocks/src/main/c/CMakeFiles/seasocks_obj.dir/util/CrackedUri.cpp.obj] Error 1
mingw32-make.exe[2]: *** Waiting for unfinished jobs....
mingw32-make.exe[2]: *** [seasocks\src\main\c\CMakeFiles\seasocks_obj.dir\build.make:292: seasocks/src/main/c/CMakeFiles/seasocks_obj.dir/StringUtil.cpp.obj] Error 1
In file included from C:\Users\maarten\source\repos\seasocks\src\main\c\StringUtil.cpp:26:
C:\Users\maarten\source\repos\seasocks\src\main\c\seasocks/StringUtil.h:28:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
mingw32-make.exe[2]: *** [seasocks\src\main\c\CMakeFiles\seasocks_pic_obj.dir\build.make:292: seasocks/src/main/c/CMakeFiles/seasocks_pic_obj.dir/StringUtil.cpp.obj] Error 1
mingw32-make.exe[2]: *** Waiting for unfinished jobs....
C:\Users\maarten\source\repos\seasocks\src\main\c\HybiAccept.cpp:31:10: fatal error: arpa/inet.h: No such file or directory
 #include <arpa/inet.h>
          ^~~~~~~~~~~~~
C:\Users\maarten\source\repos\seasocks\src\main\c\HybiAccept.cpp:31:10: fatal error: arpa/inet.h: No such file or directory
 #include <arpa/inet.h>
          ^~~~~~~~~~~~~
In file included from C:\Users\maarten\source\repos\seasocks\src\main\c\util\CrackedUri.cpp:26:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/StringUtil.h:28:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
mingw32-make.exe[2]: *** [seasocks\src\main\c\CMakeFiles\seasocks_pic_obj.dir\build.make:96: seasocks/src/main/c/CMakeFiles/seasocks_pic_obj.dir/HybiAccept.cpp.obj] Error 1
mingw32-make.exe[2]: *** [seasocks\src\main\c\CMakeFiles\seasocks_obj.dir\build.make:96: seasocks/src/main/c/CMakeFiles/seasocks_obj.dir/HybiAccept.cpp.obj] Error 1
mingw32-make.exe[2]: *** [seasocks\src\main\c\CMakeFiles\seasocks_pic_obj.dir\build.make:306: seasocks/src/main/c/CMakeFiles/seasocks_pic_obj.dir/util/CrackedUri.cpp.obj] Error 1
C:\Users\maarten\source\repos\seasocks\src\main\c\HybiPacketDecoder.cpp:29:10: fatal error: arpa/inet.h: No such file or directory
 #include <arpa/inet.h>
          ^~~~~~~~~~~~~
In file included from C:\Users\maarten\source\repos\seasocks\src\main\c\seasocks\SynchronousResponse.cpp:28:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/StringUtil.h:28:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
In file included from C:\Users\maarten\source\repos\seasocks\src\main\c\internal/PageRequest.h:29,
                 from C:\Users\maarten\source\repos\seasocks\src\main\c\PageRequest.cpp:26:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/Request.h:30:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
In file included from C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/util/CrackedUriPageHandler.h:28,
                 from C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/util/PathHandler.h:28,
                 from C:\Users\maarten\source\repos\seasocks\src\main\c\util\PathHandler.cpp:26:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/Request.h:30:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
In file included from C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/WebSocket.h:28,
                 from C:\Users\maarten\source\repos\seasocks\src\main\c\seasocks/Connection.h:29,
                 from C:\Users\maarten\source\repos\seasocks\src\main\c\Server.cpp:29:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/Request.h:30:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
In file included from C:\Users\maarten\source\repos\seasocks\src\main\c\seasocks\SynchronousResponse.cpp:28:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/StringUtil.h:28:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
In file included from C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/WebSocket.h:28,
                 from C:\Users\maarten\source\repos\seasocks\src\main\c\seasocks/Connection.h:29,
                 from C:\Users\maarten\source\repos\seasocks\src\main\c\Server.cpp:29:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/Request.h:30:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
In file included from C:\Users\maarten\source\repos\seasocks\src\main\c\seasocks\StreamingResponse.cpp:28:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/StringUtil.h:28:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
C:\Users\maarten\source\repos\seasocks\src\main\c\HybiPacketDecoder.cpp:29:10: fatal error: arpa/inet.h: No such file or directory
 #include <arpa/inet.h>
          ^~~~~~~~~~~~~
In file included from C:\Users\maarten\source\repos\seasocks\src\main\c\seasocks\StreamingResponse.cpp:28:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/StringUtil.h:28:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
In file included from C:\Users\maarten\source\repos\seasocks\src\main\c\internal/PageRequest.h:29,
                 from C:\Users\maarten\source\repos\seasocks\src\main\c\PageRequest.cpp:26:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/Request.h:30:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
In file included from C:\Users\maarten\source\repos\seasocks\src\main\c\seasocks\Request.cpp:26:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/Request.h:30:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
In file included from C:\Users\maarten\source\repos\seasocks\src\main\c\internal/PageRequest.h:29,
                 from C:\Users\maarten\source\repos\seasocks\src\main\c\Connection.cpp:32:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/Request.h:30:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
In file included from C:\Users\maarten\source\repos\seasocks\src\main\c\internal/PageRequest.h:29,
                 from C:\Users\maarten\source\repos\seasocks\src\main\c\Connection.cpp:32:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/Request.h:30:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
In file included from C:\Users\maarten\source\repos\seasocks\src\main\c\seasocks\Request.cpp:26:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/Request.h:30:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
In file included from C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/util/CrackedUriPageHandler.h:28,
                 from C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/util/RootPageHandler.h:29,
                 from C:\Users\maarten\source\repos\seasocks\src\main\c\util\RootPageHandler.cpp:26:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/Request.h:30:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
In file included from C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/util/CrackedUriPageHandler.h:28,
                 from C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/util/PathHandler.h:28,
                 from C:\Users\maarten\source\repos\seasocks\src\main\c\util\PathHandler.cpp:26:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/Request.h:30:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~
In file included from C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/util/CrackedUriPageHandler.h:28,
                 from C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/util/RootPageHandler.h:29,
                 from C:\Users\maarten\source\repos\seasocks\src\main\c\util\RootPageHandler.cpp:26:
C:/Users/maarten/source/repos/seasocks/src/main/c/seasocks/Request.h:30:10: fatal error: netinet/in.h: No such file or directory
 #include <netinet/in.h>
          ^~~~~~~~~~~~~~

It seems Mingw doesn't provide netinet/in.h:

https://stackoverflow.com/questions/1517762/sockets-in-mingw
https://stackoverflow.com/questions/4638604/where-does-one-get-the-sys-socket-h-header-source-file

Closing; we're really only targeting Linux (with some very minor affordances for other UNIX-like OSes). If you get mingw working, we'd accept patches for it, but it's not a goal right now. Thanks.

authors: madebr mattgodbolt offa

repo: mattgodbolt/seasocks


text:
Add web socket authentication on OCPP_initialize

Hi!
My application uses web socket authentication when connecting with the Central System, I imagine this is a common security measure in EV chargers.
I was thinking about making a pull request to add "login" and "password" optional arguments to OCPP_initialize, what do you think? @matth-x

Defaulting to SSL might be worth it as well. We can add the fingerprint as an optional argument and just send an empty string if not used.

Hi Pedro,
If I'm honest, I never really liked the initialize function myself. Very happy to accept improvements.
To provide the community with the best code, it should be aligned to the most practical requirements. The WebSocket authentication header is a very common practice in OCPP. Fingerprints are wide spread in IoT controllers, but with OCPP I've only seen TLS certificates so far. So is it an option for you to provide a certificate-based initialize function?
I also like the idea to engage people to move from WS to WSS much quicker. It would be a huge improvement to combine both in the same initialize function. Do you think it's possible enable / disable TLS based on the URL?

authors: matth-x pedro-fuoco

repo: matth-x/ArduinoOcpp


text:
fix typo

See https://github.com/matthew1232/discord-webhook-node/blob/master/src/classes/messageBuilder.js#L35

My mistake, I overlooked #39


text:
Improve the status of the hero model

HP以外の新しいステータスフィールド関数を追加
軽いリファクタリング
テストの追加

マージの検討よろしくお願いしたく:bow:

Rubyで既存の同じクラス名のクラスを定義すると、上書きではなく拡張になると見ました。status.rbでは既存クラスHeroを拡張していると思います。
ここまでは分かったのですが、そのクラスの中でモジュールStatusを定義しているのは何のためなのでしょうか？
hero.rbでinclude Vainglory::Hero::Statusとインクルードするためでしょうか？
お手数おかけしますが、教えていただければ幸いです。

そのクラスの中でモジュールStatusを定義しているのは何のためなのでしょうか？
hero.rbでinclude Vainglory::Hero::Statusとインクルードするためでしょうか？

そうですね。名前空間をわかりやすくしてインクルードしたかったのと、クラスを拡張してるということを明示的に書いておきたかったためにinclude を使った書き方をしました。
ミツルさんの言うとおり、特にモジュールを定義しない＆includeを書かなくても既存のクラスを拡張することはできるのですが、今回のような書き方をするとわかりやすい気がしています。
ただ、この書き方が一般的にベターかはわかりません:pensive:
いちおう何かのOSSでこのような書き方をしていたのを見てから真似るようになったのですが:persevere:
なので微妙な書き方の場合は修正するので遠慮なく突っ込んでください:+1:

何のためかが分からなかったのでお聞きしました。明示するためなのですね。
Moduleで囲んでいるのにkoshka.Status.hpではなく、koshka.hpとモジュール名を指定せずに使うことができるのですね。不思議です。
ソースコード自体はチェックしたのでマージします。


text:
Empty array instead of MissingTypeError

In JSONDecodable Line 197 an empty array gets return. Why is there no MissingTypeError thrown. This pattern can be found in more places.
It does not make sense to return an empty array if the key is unavailable.

thanks for fixing this 👍

repo: matthewcheok/JSONCodable


text:
In readme.md, OSX install instructions have an error

The relevant command is brew install boost-python rather than brew install python-boost

Fixed in most commit 3f252a3

authors: alexwhittemore matthewelse

repo: matthewelse/bleep


text:
Email Registration

Add some details about email registration in the readme file, with basic example templates that can make it work.

Thanks this is great!

authors: matthiask raratiru

repo: matthiask/django-authlib


text:
Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter innoxel for common errors and appropiate suggestions to keep this adapter up to date.
This check is based on the current head revisions (master / main  branch) of the adapter repository
Please see the result of the check below.
ioBroker.innoxel
   -
ERRORS:

[ ] :heavy_exclamation_mark: [E507] missing size attributes [xs,sm,md,lg,xl] for staticText at admin/jsonConfig.json/items/txtIntervals

WARNINGS:

[ ] :eyes: [W510] "/admin/i18n/uk/translations.json" or "admin/i18n/uk.json" not found, but admin support is declared. Please add.

:thumbsup: No suggestions found
Please review issues reported and consider fixing them as soon as appropiate.
Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.
Warnings reported by repository checker should be reviewed. While some warnings can be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
You may start a new check or force the creation of a new issue at any time by adding the following comment to this issue:
@iobroker-bot recheck
or
@iobroker-bot recreate
Please note that I (and the server at GitHub) have always plenty of work to do. So it may last up to 30 minutes until you see a reaction. I will drop a comment here as soon as I start processing.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence
Last update at Mon, 09 Dec 2024 05:31:39 GMT based on commit 36548a83981c6ffe6ebedd215158add652968b2c
ioBroker.repochecker 3.2.2

@iobroker-bot recheck

authors: ioBroker-Bot matthsc


text:
Syntax errors in sample code

The following line requires a closing parenthesis:
print('There were {0} torrents found.'.format(len(torrents))
DEC parameter should be DES:
torrents = t.search('public domain', page=2, order=ORDERS.NAME.DEC, category=CATEGORIES.VIDEO.MOVIES)
Category typo, should be VIDEO not VIDEOS:
torrents = t.browse(category=CATEGORIES.VIDEOS)

Fixed, many thanks!


text:
Changes on gtkrc, TreeModel and deprecated method calls

Added methods for the reloading and resetting of gtkrc styles, implemented two methods to get the TreeModel and all selected rows on this model and finally updated two deprecated method calls.

Thank you

repo: mattn/go-gtk


text:
error: Unreachable code on gyro fetch

It appears that gyro fetch does not wait for certain github submodules to download and hits unreachable code.
zig version
0.9.0-dev.1815+20e19e75f

[linuxy@void zsaga]$ gyro fetch
Segmentation fault at address 0x0
???:?:?: 0x282918 in ??? (???)
src/thread/pthread_create.c:195:2: 0x7fb54676d8cd in start (src/thread/pthread_create.c)
Aborted
[linuxy@void zsaga]$ gyro fetch
git github.com/fengb/wz                                                                                d0f9221c [                                                                                ]   0%       thread 1023 panic: reached unreachable code
Aborted
gyro.zzz
deps:
  zCord:
    git:
      url: "https://github.com/fengb/zCord.git"
      ref: master
      root: src/main.zig

build.zig
const Builder = @import("std").build.Builder;
const pkgs = @import("deps.zig").pkgs;

pub fn build(b: *Builder) void {
    const mode = b.standardReleaseOptions();

    const exe = b.addExecutable("main", "src/main.zig");
    exe.setBuildMode(mode);
    pkgs.addAllTo(exe);
    exe.install();

    const run_cmd = exe.run();
    run_cmd.step.dependOn(b.getInstallStep());
    if (b.args) |args| {
        run_cmd.addArgs(args);
    }

    const run_step = b.step("run", "Run the app");
    run_step.dependOn(&run_cmd.step);
}

fixed this one a few weeks ago!

authors: linuxy mattnite

repo: mattnite/gyro


text:
[ENHANCEMENT] - Can we make an option to have youtube be a link on the main page just like spotify et al?

Is your feature request related to a problem? Please describe.
I know that the "socials" part up along the top bar includes a youtube option because that makes sense for non-podcast type websites.  But for video podcasts where youtube is really a primary distribution platform alongside spotify and apple music, it seems strange not to have a big link to it next to those others.
Describe the solution you'd like
Would be great to have the ability to specify a youtube_subscribe link alongside the others for people who also publish their podcast episodes straight to youtube so the channel link is as prominent as the audio-only services.

Fixed in #368

authors: ctindel mattstratton

repo: mattstratton/castanet


text:
Add tvOS to deployment target list.

Tested it, seems to work just fine on tvOS.

Ahh dup: https://github.com/mattt/Ono/pull/59

repo: mattt/Ono


text:
🛑 VQ PROD RD is down

In b2814e8, VQ PROD RD (http://demord.sidesys.com.do:8080/virtualqueue/index.html) was down:

HTTP code: 500
Response time: 533 ms

Resolved: VQ PROD RD is back up in c69d6c7.

repo: mauribesson/upptime


text:
Use this component as listener?

Your Environment

Plugin version: 0.2.0-alpha.7
Platform: Android
OS version: 5.1
React Native version: 0.44.0
Plugin configuration options:

Context
I'm trying to setup the methods like the official geolocation listener methods, is it possible? I look into the source and did not find any unmounting method. Only stop() is available but I do not want to stop the service entirely.
Anyway, here's my approach and it works, just that I'm not sure whether it has really unmounted my listeners. Has anyone tried the same approach?
// real time update user location even before tracking
  followUser = () => {
    this.startBackgroundGeolocation()
    this.followUserListener = BackgroundGeolocation.on("location", location => {
      this.props.updateLocation(location)
    })
  }

// remove follow user listener
  removeFollowUserListener = () => {
    if (this.followUserListener) {
      this.followUserListener.remove()
    }
  }

Notice: this issue has been closed because it has been inactive for 152 days. You may reopen this issue if it has been closed in error.


text:
Bug: CIs with huge JSON attributes do not show up

https://openproject.mhx.at/projects/mhx-backlog/work_packages/431/activity?query_id=1359
ZIP file

No issue after all

repo: max-bytes/omnikeeper


text:
Atomation error since Home Assistant Core 2023.12.4 update

Hello,
I got a 429 error since I updated to Core 2023.12.4.
Temperatures are well updated but script stop due to 429 error.
Logger: homeassistant.components.automation.temperature_20
Source: helpers/script.py:468
Integration: Automatisation (documentation, issues)
First occurred: 18:29:37 (3 occurrences)
Last logged: 19:15:30
Température - 20: Error executing script. Unexpected error for call_service at pos 1: 429 Client Error: Too Many Requests for url: https://m.airzonecloud.com/api/v1/devices//status/?installation_id=&format=json
Température - 20: Error executing script. Unexpected error for call_service at pos 1: 429 Client Error: Too Many Requests for url: https://m.airzonecloud.com/api/v1/devices//status/?installation_id=&format=json
Température - 20: Error executing script. Unexpected error for call_service at pos 1: 429 Client Error: Too Many Requests for url: https://m.airzonecloud.com/api/v1/devices//status/?installation_id=&format=json
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 468, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 704, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 666, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2067, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2104, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 272, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 903, in entity_service_call
raise result from None
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1233, in async_request_call
return await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 632, in async_service_temperature_set
await entity.async_set_temperature(kwargs)
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 482, in async_set_temperature
await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/airzonecloud/climate.py", line 166, in set_temperature
self._device.set_temperature(round(float(temperature), 1))
File "/usr/local/lib/python3.11/site-packages/AirzoneCloud/Device.py", line 254, in set_temperature
self.refresh()
File "/usr/local/lib/python3.11/site-packages/AirzoneCloud/Device.py", line 316, in refresh
self._state = self._api._api_get_device_state(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/AirzoneCloud/AirzoneCloud.py", line 162, in _api_get_device_state
return self._api_get(
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/AirzoneCloud/AirzoneCloud.py", line 210, in _api_get
return self._api_request(method="GET", api_endpoint=api_endpoint, params=params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/AirzoneCloud/AirzoneCloud.py", line 293, in _api_request
raise err
File "/usr/local/lib/python3.11/site-packages/AirzoneCloud/AirzoneCloud.py", line 290, in _api_request
call.raise_for_status()
File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://m.airzonecloud.com/api/v1/devices//status/?installation_id=******&format=json

Hello,
Everything seems fine since I updated my airzone server to 4.03

I close the topic

I reopen it because it is still not working

I seem to get the same error in my log.
Temperature is not updated in Airzone.

Found this Error in my log.
Logger: AirzoneCloud.AirzoneCloud
Source: custom_components/airzonecloud/climate.py:281
Integration: airzonecloud (documentation, issues)
First occurred: 28 décembre 2023 à 17:47:23 (25454 occurrences)
Last logged: 15:40:54
{ "message":"API rate limit exceeded" }

I'm also having this error in my logs. How did you update your webserver? @domotiquemaison07  Mine is in v3.16

@rafabayona
In the main menu of your Airzonecloud web interface
Select the Airtools section and click on your installation.
On the right of your firmware version the icon shows you if an update is available.

authors: domotiquemaison07 rafabayona riddle-stc


text:
Smart Tutor for SAMSUNG Galaxy

https://apps.samsung.com/appquery/appDetail.as?appId=com.rsupport.rs.activity.rsupport.aas2

Important


text:
feature request: skip local storage for backups

It would be great to have an option to back-up straight to cloud storage as otherwise, with larger datasets, the local storage requirements get quite big. Alternatively, an option to not keep local backups would also be fine (currently setting retention: 0 does nothing).

lately I am a bit busy. I will try to do this when I have time. welcome to send a PR

Hi, could you test this one maxisam/mgob:dev.113
You just need to set retention to 0 in the plan. thx!

Will check and report shortly.

It doesn't seem to work. The dump is still copied over to /storage after the backup. I double-checked that I'm running the correct image as advised above.

I am so sorry, I think I made a stupid mistake. Could you test dev.115 ?

No problem, thanks a lot for taking a look. I've rolled out the new version, but no luck. It's still copying the file over to /storage after the backup is complete. Here's a snippet of the container log:
time="2022-12-23T13:05:08Z" level=info msg="On demand backup started" plan=testdb-daily
time="2022-12-23T13:06:03Z" level=info msg="new dump" archive=/tmp/testdb-daily-1671800708.gz err="<nil>" mlog=/tmp/testdb-daily-1671800708.log
time="2022-12-23T13:06:03Z" level=info msg="Local backup finished Local backup finished `/tmp/testdb-daily-1671800708.gz` -> `/storage/testdb-daily/testdb-daily-1671800708.gz` Duration: 122.00008ms" plan=testdb-daily
time="2022-12-23T13:06:08Z" level=info msg="S3 upload finished " plan=testdb-daily
time="2022-12-23T13:06:08Z" level=info msg="Clean up temp finished Temp folder cleanup finished, `/tmp/testdb-daily-1671800708.gz` is removed." plan=testdb-daily
time="2022-12-23T13:06:08Z" level=info msg="On demand backup finished in 1m0.604096637s archive testdb-daily-1671800708.gz size 270 MB" plan=testdb-daily

I've validated using the correct image, dev.115. Let me know if there's anything else I can do on my side.

Do you set retention: 0 on that plan?

dev.116 should work! I can't believe I made another stupid mistake. This must be the punish from the unit test God.

Works like a charm, thanks a lot for this! :tada:

Thanks for testing! Here is the release https://github.com/maxisam/mgob/releases/tag/1.10.14

authors: aneagoe maxisam

repo: maxisam/mgob


text:
Buffer() is deprecated due to security and usability issues

When I use this library like so:
function unzip(src, dest) {
    return extractZip(src, {dir: dest});
}

I get the following error:

(node:3912) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Please fix

Which Node version are you using?

node --version: v12.16.2 (LTS)
npm --version: 6.14.4

I'm getting this as well

It'd help if you run your script with node --throw-deprecation so it's more obvious where the Buffer deprecation warning is coming from - because there's no Buffer references in the extract-zip code base.

extract-zip is dependent on yauzl
on line 3 of yauzl's index.js:
var crc32 = require("buffer-crc32");
we see its dependent on buffer-crc32
on line 63 of buffer-crc32's index.js
var buffer = new Buffer(length);
and on line 81
return hasNewBufferAPI ? Buffer.from(input) : new Buffer(input);
We see it calls on new instances of the buffer class
Node now has this feature deprecated, instead its recommended that one should use Buffer.from(<array>)
Its been 4 years since buffer-crc32 has been updated, so i understand why its still there.
But I am unfamiliar with implementing cyclical redundancy checks (like i can even distinguish the importance of it being 32 bit), so this is where my contribution stops

Since this is an issue in a transitive dependency, there's nothing that we can do in the code here to fix it. Please subscribe to https://github.com/thejoshwolfe/yauzl/issues/114 if you want to know the status.

yauzl has had an open PR with a potential fix for this since Feb. Namely the fd-slicer2 package. (it does having breaking changes for node versions 4 and under I believe)
So using that, and as a temporary measure, in an extract-zip fork I'm aliasing a forked yauzl that is aliasing a fixed version (fd-slicer2) of the broken and no longer maintained fd-slicer package.
I post this here because this is something that extract-zip could do since it already requires node 10.17.0+, and could do it without any actual code changes to the forked yauzl (beyond aliasing fd-slicer).  So if/when yauzl is able to resolve this, this change can be reverted rather easily.
It's more of a broken transitive dependency workaround than a real solution. I agree with @malept that the real solution is yauzl resolving 114. That said, it is quick to workaround:
in forked yauzl

npm uninstall fd-slicer then alias it with npm install fd-slicer@npm:fd-slicer2

in extract-zip

npm uninstall yauzl then alias it with npm install yauzl@<GithubUser>/<GithubRepoOfForkedYauzl>.git

and that's it.

additionally, if you wish to fork fd-slicer2 as well, in forked yauzl just change that alias:
npm install fd-slicer@<GithubUser>/<GithubRepoOfForkedFd-Slicer2>.git
and as a last note, somewhere along the way i was told to peg an aliased fork to a commit.
(Something about npm's cache and a git repo's HEAD only getting pulled when a dep is initially installed. honestly not sure if that's a relevant/current thing anymore)
To do that just append the alias with #<CommitHash> like
@<GithubUser>/yauzl.git#71c42b5ea24170eeab7147f4b77fbc2c74

It'd probably be easier to use yarn resolutions in this case. Something along the lines of (note: untested):
{
  // ...rest of package.json...
  "resolutions": {
    "extract-zip/yauzl/fd-slicer": "fd-slicer2"
  }
  // ...rest of package.json...
}

But of course, this requires you to use yarn instead of npm.

Oh I wish I could get that work, but Yarn (classic, 1xx version) doesn't seem to support resolutions in this manner (aliasing within a resolution or resolving to a different package), only resolving specific versions.
I tried previously with no luck, but would gladly adopt this instead if I've misunderstood and someone can point me to the correct syntax. (the syntax you suggested doesn't seem to do it)
It IS a feature of Yarn2 (modern), however.  The syntax there is closer to an alias:
  "resolutions": {
    "extract-zip/yauzl/fd-slicer@npm:fd-slicer2": "^1.1.0"
  },

But Yarn2 is a whole other thing, of course, and not available to me at the moment.
I simply don't know enough about it to speculate whether it's applicable to extract-zip resolving the transient dep created issue.
But cheers and thanks regardless!

Perhaps then, you could specify a git branch as a replacement version?

Perhaps then, you could specify a git branch as a replacement version?

I'm not sure which way to read the question, so apologies if I missed it.
If you're asking if that is doable:
Yes, you could:.
"dependencies": {
...
"module": "user/repo#feature\/branch"
...
}

npm install <Module>@<GithubUser>/<GithubRepoOfForkedModule>.git#<branch>
If you're asking if I can refer one:
Due to the nature of the error, I think it would be preferable for extract-zip to fork the yauzl repo as described above and offer a minor version bump or branch. Not at all my call, obviously, but it would keep this within the extract-zip maintainers' control until yauzl resolves their issue.
That being said, here are my forks for both extract-zip and yauzl with those single line edits. (they won't be updated once the above issue is resolved by either as I will revert back, full FYI):
my temp fork of yauzl
my temp fork of extract-zip

I do know that you can't specify a git branch in a released npm module, it'd have to specify a real version (range). So specifying that for extract-zip itself is a non-starter.
For the record, I have no interest in maintaining yet another module (I'm stretched way too thin as it is) or changing to a forked version where I don't know who the maintainer is (basically, avoid an event-stream incident).

authors: Jozzzef hwlmatt malept papb soryy708 valkyrienyanko

repo: maxogden/extract-zip


text:
TextInput in Modal: shows all stacked modals

I have a TextInput field in modal. when I Click on textInput keyboard opens and when I press hardware back button to close keyboard all stacked models shown one after another. It should close only keyboard keeping the modal intact. Anyone can please guide.

did you solve that?

authors: Mimicx chetankotkar


text:
HA 2021.6 Lit version upgrade

Describe the bug

Raising for awareness:
This card is importing Lit in a way that might break in HA 2021.6 which ships with Lit 2.0
For more information, see https://developers.home-assistant.io/blog/2021/05/19/lit-2.0/

Thanks for the heads-up!

@hmmbob So far it looks like it works although there is a notification in the dev console. I guess HA devs added a workaround to still support cards which were not migrated.
I haven't merged the PR yet because it increases card size significantly (x3).

authors: hmmbob maxwroc

repo: maxwroc/battery-state-card


text:
test(e2e): add e2e tests for notification

Please provide a link to the associated issue.
Closes
Please provide a brief summary of this pull request.
Please check whether the PR fulfills the following requirements

[ ] the commit message follows the guideline:
https://github.com/SAP/fundamental-ngx/blob/main/CONTRIBUTING.md
[ ] tests for the changes that have been done
[ ] all items on the PR Review Checklist are addressed :
https://github.com/SAP/fundamental-ngx/wiki/PR-Review-Checklist
[ ] Run npm run build-pack-library and test in external application

Documentation checklist:

[ ] update README.md
[ ] Breaking Changes Wiki
[ ] Documentation Examples
[ ] Stackblitz works for all examples

please squash

please remove all non-e2e test file changes. (platform table component, etc)

https://github.com/maxym-valor/fundamental-ngx/pull/86

repo: maxym-valor/fundamental-ngx


text:
Value::get does not function as advertized in the README

README says:
// For convenience way, you can use get() when you're sure that the value exists.
// If type error occurred, std::runtime_error is raised.
toml::Value v = ...;
cout << v.get<string>("foo.bar") << endl;

However, get is templated to return actual types rather than Value objects like so:
string& s = v.get<string>("foo.bar");
cout << s << endl;

Fixing it to return a value as advertised wouldn't change the syntax much, and would allow us to confirm the type before getting the actual value.
toml::Value& v = root.get("foo.bar");
if (v.is<string>())
    cout << v.as<string>() << endl;

If the original behaviour is still desired, it is probably best as an overload to Value::as since the template version has no params:
string& s = v.as<string>("foo.bar");
cout << s << endl;

Thanks for the report, and sorry for late response. I didn't notice this issue mail for long..., really sorry.
When I wrote this, my intention is that get(...) is a short way for find(...)->as().
However, it is also reasonable that get(...) is the same as *find(...).
In my opinion, I'd like to keep the current behavior. If get(...) is the same as *find(...), get() is almost meaningless. Just use find(). Since we need to get an actual type from toml::Value when using a value, the current behavior is more convenient.

Updated README in 4e34224.
WONTFIX.

authors: mayah professorlava

repo: mayah/tinytoml


text:
Unknown shader gif

core:a-node:error Failure loading node:   Error: "Unknown shader gif"
Aframe 11
browser.js:111:7
It's working fine two moths ago now suddenly gif image not diplay

@devadhirath Thank you for asking.
A-frame will be update to solve this issue.
Please check this PR.
https://github.com/aframevr/aframe/pull/4167

authors: devadhirath mayognaise

repo: mayognaise/aframe-gif-shader


text:
Bring video windows top-level on open

From Kyra:

Can we brainstorm on a way we can get the video window not to pop up right underneath the Gridview window? I am doing a lot of window shuffling around, especially with the SD files.

This may be possible using the show command in Sharktopoda 2. Otherwise, this may be tricky.

Implemented in v0.8.0. A Sharktopoda 2 show command is sent when a localization is shown.

Currently using v0.8.0 and it doesn't look like this is fixed.

@KSchlining Roger that. We have a command in Sharktpoda 2 (show) that's intended to bring a given video window top-level, and gridview is now sending that command to S2 as of v0.8.0. So, this may need a change in how the show command is handled within S2.
@hohonuuli Do you know if the show command will bring the focus to the S2 application within macOS, or does it just reorder its windows internally?

Show should be bringing the given window the front but it does not change the focused application.

In v0.8.1, the open -a command is run for app Sharktopoda in order to bring it to the forefront.

authors: KSchlining hohonuuli kevinsbarnard

repo: mbari-org/vars-gridview


text:
do while statement

java fortran.ofp.FrontEnd --class fortran.ofp.XMLPrinter --output tree.xml --verbosity 100 src_sechiba/hydrolc.f90
Cannot find any context of [loop] among open contexts.
Current context hierarchy (innermost first) is:
  statement
  body
  subroutine
  members
  module
  file
  ofp
java.lang.RuntimeException: Aborting construction of the AST.
	at fortran.ofp.XMLPrinter.cleanUpAfterError(XMLPrinter.java:2268)
	at fortran.ofp.XMLPrinter.contextFind(XMLPrinter.java:151)
	at fortran.ofp.XMLPrinter.setAttribute(XMLPrinter.java:305)
	at fortran.ofp.XMLPrinter.loop_control(XMLPrinter.java:1644)
	at fortran.ofp.parser.java.FortranParserExtras_FortranParser08.loop_control(FortranParserExtras_FortranParser08.java:25507)
	at fortran.ofp.parser.java.FortranParserExtras_FortranParser08.do_stmt(FortranParserExtras_FortranParser08.java:26778)
	at fortran.ofp.parser.java.FortranParserExtras_FortranParser08.block_do_construct(FortranParserExtras_FortranParser08.java:26646)
	at fortran.ofp.parser.java.FortranParserExtras_FortranParser08.do_construct(FortranParserExtras_FortranParser08.java:26616)
	at fortran.ofp.parser.java.FortranParserExtras.do_construct(FortranParserExtras.java:2855)
	at fortran.ofp.parser.java.FortranParserExtras.executable_construct(FortranParserExtras.java:630)
	at fortran.ofp.parser.java.FortranParserExtras_FortranParser08.execution_part_construct(FortranParserExtras_FortranParser08.java:1002)
	at fortran.ofp.parser.java.FortranParserExtras_FortranParser08.execution_part(FortranParserExtras_FortranParser08.java:803)
	at fortran.ofp.parser.java.FortranParserExtras_FortranParser08.subroutine_subprogram(FortranParserExtras_FortranParser08.java:39720)
	at fortran.ofp.parser.java.FortranParserExtras_FortranParser08.module_subprogram(FortranParserExtras_FortranParser08.java:34463)
	at fortran.ofp.parser.java.FortranParserExtras_FortranParser08.module_subprogram_part(FortranParserExtras_FortranParser08.java:34380)
	at fortran.ofp.parser.java.FortranParserExtras_FortranParser08.module(FortranParserExtras_FortranParser08.java:33938)
	at fortran.ofp.parser.java.FortranParserExtras.module(FortranParserExtras.java:2930)
	at fortran.ofp.FrontEnd.parseModule(FrontEnd.java:120)
	at fortran.ofp.FrontEnd.parseProgramUnit(FrontEnd.java:199)
	at fortran.ofp.FrontEnd.call(FrontEnd.java:400)
	at fortran.ofp.FrontEnd.main(FrontEnd.java:349)

Part of the code where it fails:
     OnceMore = .TRUE.
     niter = 0
     lbad_ij(:)=.TRUE.
     DO WHILE ( OnceMore .AND. ( niter .LT. nitermax ) )  ! nitermax prevents infinite loops (should actually never occur)

       niter = niter + 1

Original source code:
https://pastebin.com/ytqC0z7i

Fixed in latest release 0.4.0.
This case is added as test/examples_large/ORCHIDEE_hydrolc.f90 for future compatibility.

authors: jurnix mbdevpl

repo: mbdevpl/open-fortran-parser-xml


text:
Dockerize

Depends upon #140.
Early experiments with running the server in a Docker container revealed the need for improvements in scripts/serve and server shutdown per #138 and #140. Once #140 is closed, I'll return to this task.

Even though I've technically already "Dockerized" the app in #153, will keep this open until the graceful shutdown from #140 is implemented.

repo: mbland/custom-links

license: isc


text:
public: Add Backend.deleteLink

Also extracts the cl.rejectOnApiError helper function.

Coverage increased (+0.01%) to 98.011% when pulling 8713fa815f70b49ff9332a0db1b9ea657328def1 on backend-delete into bf7611b473c6c8ce84bf2a24cd1a6a1debcf18d5 on master.

Coverage increased (+0.01%) to 98.011% when pulling 8713fa815f70b49ff9332a0db1b9ea657328def1 on backend-delete into bf7611b473c6c8ce84bf2a24cd1a6a1debcf18d5 on master.

Coverage increased (+0.01%) to 98.011% when pulling 8713fa815f70b49ff9332a0db1b9ea657328def1 on backend-delete into bf7611b473c6c8ce84bf2a24cd1a6a1debcf18d5 on master.

authors: coveralls mbland


text:
Android Preview

I've got problems with the display dimensions, for example if I set the camera with : cordova.plugins.camerapreview.startCamera({x: 0, y: 0, width: 360, height: 360}, "front", tapEnabled, dragEnabled, toBack);
The application crashes and in the logcat I have the following lines :
D/Preview (25516): previewWidth:1280 previewHeight:720
D/layout (25516): left:0
D/layout (25516): top:-745
D/layout (25516): right:1244
D/layout (25516): bottom:1465
E/SurfaceFlinger( 134): dimensions too large 1244 x 2210
E/SurfaceFlinger( 134): createNormalLayer() failed (Invalid argument)
E/SurfaceComposerClient( 444): SurfaceComposerClient::createSurface(SurfaceView) error Invalid argument
W/WindowStateAnimator( 444): OutOfResourcesException creating surface
After a little testing it appears that the crash occurs for a height > 325
(The screen.width returns 360 and the screen.height returns 592)

Solved by switching width and height

repo: mbppower/CordovaCameraPreview


text:
Help Flutter Port

hey can u make its flutter Port. can u tell me how to do this

Hey, I'm not really that familiar with Flutter unfortunately so I probably can't help. Its a fairly simple library though, if Flutter has a Firebase plugin thats probably a good place to start.


text:
Phi3Model ImportError

when run the script, met the problem: ImportError: cannot import name 'Phi3Model' from 'transformers'

Hi @zimenglan-sysu-512,
Thank you for your interest in our work. Which transformers version are you using? Please make sure that you are using transformers==4.41.0. Please let me know if it fixes the issue.

Get it. and need to update accelerate to 0.27.0. but still meet some problem: [rank6]: RuntimeError: FlashAttention only supports Ampere GPUs or newer.
hi @mmaaz60 can u show me how to close the flash attention?
thanks.

repo: mbzuai-oryx/VideoGPT-plus


text:
Flash override: Change button border to red when button uses override functions.

As suggested by mcallegari in the forum discussion about the overriding flash functionality, I changed the visualization of the flash button to display the border red instead of green when FlashForceLTP or OverridePriority is used.

coverage: 32.027%. remained the same
when pulling 8016413b3ad84573a05f7a168cec1e3968eb9302 on Wazzledi:master
into fb559e8a5d698d906c996103b6be157b69543500 on mcallegari:master.

🔥

Thanks :+1:

authors: Wazzledi coveralls mcallegari yestalgia

repo: mcallegari/qlcplus


text:
New fixture - Pro-Lights-LumiPIX-12Q

http://www.qlcplus.org/forum/viewtopic.php?f=3&t=10044

"X Ch Mode" should be "X Channel"


text:
Disable IR

I use one of my G2H's behind glass. For this reason I need to disable IR. Is there a way to do it without restoring the Aqara app?

Found my answer here: https://github.com/mcchas/g2h-camera-mods/issues/12#issuecomment-876464602

Hi Niels, does your IR stay off after issuing the echo 1 > /sys/class/gpio/gpio62/value ?

authors: TheStigh nielspeen


text:
🛑 ChatGenie Client API is down

In 84631d1, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 5364aec.


text:
🛑 ChatGenie Client API is down

In e10b8b9, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 9155e09.


text:
🛑 ChatGenie Client API is down

In 91a663c, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 1408e9a.


text:
🛑 ChatGenie Client API is down

In 02c90d3, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in cd3d42c after 9 minutes.


text:
🛑 ChatGenie Client API is down

In 0f639e1, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 8116add after 14 minutes.


text:
🛑 ChatGenie Client API is down

In 5f722e5, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 35c168e after 17 minutes.


text:
🛑 ChatGenie Client API is down

In 791a52d, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 05d814d after 31 minutes.


text:
🛑 ChatGenie Client API is down

In 2200700, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in b2b22a5 after 17 minutes.


text:
🛑 ChatGenie Client API is down

In c891ced, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 56d19a1.


text:
🛑 ChatGenie Client API is down

In 6cccc15, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 6a1730f.


text:
🛑 ChatGenie Client API is down

In 99aa6db, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 102ac43.


text:
🛑 ChatGenie Client API is down

In 46e70e9, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in f0774cc.


text:
🛑 GitHub Mirror is down

In af780b5, GitHub Mirror (https://gh.chapro.xyz) was down:

HTTP code: 500
Response time: 387 ms

Resolved: GitHub Mirror is back up in 5792a34 after 14 minutes.

repo: mchaNetwork/status


text:
🛑 Reddit Mirror (Redlib) is down

In bd8c9c0, Reddit Mirror (Redlib) (https://hong-di.eu.org/) was down:

HTTP code: 404
Response time: 633 ms

Resolved: Reddit Mirror (Redlib) is back up in 67dc6f9 after 5 minutes.


text:
iOS build error: warning: implicit conversion from 'long long' to 'NSInteger' (aka 'int')

/Users/christian/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_statusbarcolor-0.2.3/ios/Classes/FlutterStatusbarcolorPlugin.m:15:37: warning: implicit conversion from 'long long'     to 'NSInteger' (aka 'int') changes value from 38482458385 to -172247279 [-Wconstant-conversion]     static NSInteger statusBarViewTag = 38482458385;

How I use plugin in my code:
FlutterStatusbarcolor.setStatusBarColor(Theme.of(context).accentColor);

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.2 19C57, locale it-IT)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
[✓] Android Studio (version 3.5)
[!] VS Code (version 1.41.1)
✗ Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (1 available)

ETA on this as it generates an XCode warning?

authors: christianarduino codegrue


text:
Notifications after despawn

When a Pokemon that is listed in the Notify section despawns, it generates many notifications in a row. I haven't counted how many but it's seems like 10-20.

I just noticed that same issue.

Now I can't get it to stop. I have two that are doing it continuously and still do it even after I exit the program and reload. :(

Happened for me several times too. Only way to turn it off for me was to remove the pokemon from alert list.

The problem with this has to do with lures. The notification is triggering when a lured pokemon despawns until the lure is changed, MANY times. It is making notifications nigh-unusable in heavily lured areas. PLEASE FIX.

authors: JesseWV MacDogg SkyFyre jane0815

repo: mchristopher/PokemonGo-DesktopMap


text:
If multiple of the same new codex entry are in the same system, it doesn't update the rest when one is scanned

Fixed in 1.4.1

repo: mcmuttons/GeoPredictor


text:
SegNet's results

Hi all,
I just use the Cityscapes Dataset to train a SegNet model and make some experiments with it.
And now, I want to evaluate my results on val set, and I also know that we need to have full resolution if I want to submit to the evaluation server.
But, I am confused that why I see the result of SegNet on official benchmark suite was evaluated on subsample with factor 4 at test time?
Is there another official code for the result which is subsample with factor 4 ?
Because I must compare my result with that in the same way.

And, I want to ask all that could anybody share the trained model on the Cityscapes dataset if you did?
Thanks all!
Best,
Gary

Hi Gary,
The subsample factor primarily corresponds to the input image.
You are right, the evaluation server requires the prediction results to
have the original resolution. The simplest is to apply an upsampling
without interpolation, but this is the responsibility of the authors and
not performed automatically. I think also in the case of SegNet, the
authors used this type of upsampling.
The only public model trained on Cityscapes that I am currently aware of is
Dilation10:
https://github.com/fyu/dilation
Best,
Marius
2016-08-26 3:40 GMT+02:00 B.C Tsai notifications@github.com:

Hi all,
I just use the Cityscapes Dataset to train a SegNet model and make some
experiments with it.
And now, I want to evaluate my results on val set, and I also know that we
need to have full resolution if I want to submit to the evaluation server.
But, I am confused that why I see the result of SegNet on official
benchmark suite was evaluated on subsample with factor 4 at test time?
Is there another official code for the resul which is subsample with
factor 4 ?
And, I want to ask all that could anybody share the trained model on the
Cityscapes dataset if you did?
Thanks all!
Best,
Gary
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mcordts/cityscapesScripts/issues/11, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AJFqlpJ11QFsxh-K46JJjK8Af-i0nxjwks5qjkP1gaJpZM4JtqZ0
.

Hi mcordts,
Thank you very much for your quick and detail response.
I will try the things what you suggested.
Best.
Gary

repo: mcordts/cityscapesScripts


text:
DIN fonts removed from iOS 10

In Xcode 8.x I no longer see the DIN fonts. I think they should be marked as removed.

Thanks for that. I’ll be sure to update

authors: JamaicanRumCream mcritz

repo: mcritz/iosfonts


text:
[Feat] Enhance hover effect of the home page

Description
I will work on hover effect of the home page when the cursor is pointed to it.
Please assign it to me under gssoc-ext, hacktoberfest, and a suitable level label.
Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

Hey @Ankitha2130, as we are not decided to add any hover effect to our website, we will let you know if there's any work related to it. You can search for other issues/bugs and raise an issue accordingly. Thank you for raising the issue.

Please don't forget to give our repository a star and let me know once you've done it.


text:
Showing only first 4 apps

I am getiing only 4 application in available list..
i have more than 4 upi feature apps and which are supported by this package.
When i uninstall any one of previously showing app next time new app is listed but only 4 apps are geting listed in below call
_upiIndia.getAllUpiApps().then((value) {
    setState(() {
      apps = value;
    });
  });

upi india V 2.1.2

I will look into this problem.

Ok, Thanks for quick reply. Waiting for your reply..

I have modified the plugin little bit. Take a look at this:

I haven't uploaded it to pub.dev yet. You can fork or clone the repo and test the example itself to see it. I don't think it will solve your problem though.
The Code that I have written depends on the package manager of the device to return the apps that can handle the upi request generated by this plugin as an intent call. So I can't say why you are only seeing 4 apps.
Anyway now I can guarantee that if an app is listed then it will be able to process the request and you can assume the UPI apps that are not shown won't even be able to process the payment request generated by this plugin.
I don't know if it helps you but that is the most I can do without reproducing the issue itself.
If you want to help me, try using another plugin upi_pay. It also offers the same feature but has been implemented in Kotlin. If it is able to list all the apps that you have, please comment it here.
Thanks in advance.


text:
Fun

I feel like there could be ways to make the game more engaging to the players

Can you identify a couple of ways?

First, I suggest the introduction of Variability Cards, such as Wildcard and Challenge Cards, to inject a thrilling element of unpredictability and active participation into the gameplay. These cards would require players to navigate dynamic changes or tackle specific scenarios and tasks, fostering a more immersive experience.
Additionally, recognizing the importance of staying current, I recommend updating our prompts and responses to reflect contemporary and relatable AI scenarios. This update would not only make our game more pertinent but also encourage deeper, more meaningful discussions among players about the real-world implications of AI technologies => I proposed some extra lines that I added in the prompts.csv and responses.csv files and I think inviting players to contribute new content by editing these files can keep the game fresh and evolving.
To add a competitive edge and urgency, implementing timed rounds could also significantly enhance the game's pace, compelling players to think and act quickly. Moreover, introducing role-playing elements, where players assume various personas or roles, could further deepen engagement and offer diverse perspectives on the scenarios presented.
I also edited the README.md file to add the new features and propositions in the pull request.

authors: ElioBouJaoudeh mdbesten

repo: mdbesten/what-could-go-wrong-llm


text:
Using logical operands

In UI add support to combine 2 different attributes to match the condition (AND, OR, NOT,etc...)
For example make text red when YAML properties are:
class = project AND status: notstarted
Currently I haven't find other solution how to make such double conditon.

I know, it's a good idea, but as I said it's out of scope right now.

how to use css to do logical operands

authors: HEmile PencilMing dxcore35


text:
Is this the best the community and PowerShell team member can do!?

OS

[ ] Windows
[ ] macOS
[ ] Linux
[X] Not specific to an OS

New feature description
https://github.com/Textualize/rich
This is what the PowerShell community wants!
Guessing we won't get it from the PowerShell team.
Hasn't been any real innovation out of the PowerShell team in years.
#sad

PowerShellRun is a terminal based launcher and fuzzy finder, not a module for text formatting. It is out of the scope of this module.
However, I'm a bit curious which feature in the Rich interested you the most.

I'd have pointed you towards https://github.com/ShaunLawrie/PwshSpectreConsole, but it seems like you're already listed as a contributor there, which implies that you know about this already.
Also a bit curious about what exactly you had in mind here, @dfinke

authors: Hrxn dfinke mdgrs-mei

repo: mdgrs-mei/PowerShellRun