aioredis (version >=2.0) has no attribute create_redis

Describe the bug
When testing the vm supervisor natively (not in a docker container), the vm fails to boot due to the following error :
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/usr/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/root/aleph-vm/guest_api/__main__.py", line 128, in put_in_cache
    redis: aioredis.Redis = await get_redis()
  File "/root/aleph-vm/guest_api/__main__.py", line 24, in get_redis
    _redis = await aioredis.create_redis(address=address)
AttributeError: module 'aioredis' has no attribute 'create_redis'

After a quick search, it seems the create_redis method was removed from aioredis version 2.0 (source)
I suggest forcing the use of aioredis 1.3 in the dependencies documentation.
To Reproduce
1: clone the aleph-vm repo
2: follow the steps described in /tutorials/TESTING.md and install the latest version of aioredis with pip
3: start the vm supervisor natively (python3 -m ... command)
4: access http://localhost:4020
Expected behavior
The micro vm should successfully start.
Desktop (please complete the following information):

OS: arch linux 5.17.9
Browser : Brave

Actually, my suggested solution of using aioredis 1.3 will not work.
aioredis 1.3 uses the asyncio.wait_for method, for which the loop argument has been deprecated from python since 3.8, and removed in 3.10. This makes aioredis 1.3 incompatible with python 3.10.
However, at first glance seems to work with aioredis 1.3.1

I seem to be hitting another issue with aioredis (or aiohttp, not sure)
essentially, in guest_api/__main.py line 24, the address set (redis://localhost) will resolve to both ipv6 and ipv4. My internal dns will first resolve it as ipv6. Of course, the redis server only runs on ipv4.
Normally, aioredis should first try connecting to the ipv6 resolved address, then the ipv4.
However, it instead seems to stop if it cant connect on the first attempt ; it wont try the next dns resolution to ipv4. this makes the connection to the VM fail even though it's running just fine.
related post : https://github.com/aio-libs/aiohttp/issues/2402
This might be resolved by updating the guest api to work with the latest versions of aioredis, aiohttp and python.

PS: I am using Arch Linux myself, I just run everything inside containers or Firecracker virtual machines 😉.


[TH2-2269] increased protobuf message levels of nesting

Please increase the minor version and add information about change into README


--site option

When trying to initialise a config file with the --site option as below:
octopress deploy init git foo/bar --site foo
The site_dir option is set to true instead of foo. Am I doing something wrong?

Thanks for the report! I just released 1.2.4 with a fix for the --site option.

Thx !


Cherry-pick to 4.10: CrossTrainedRecognizer and allowInterruptionForSkill

https://github.com/microsoft/botbuilder-dotnet/commit/06153032d5e55e89ac10b7158d446f3c4abe452c
and
https://github.com/microsoft/botbuilder-dotnet/commit/5515b8c6a1b860cf9b4ca9de8f7f9d81256b3b34

I reviewed the schema diffs and compared them to what's in main; they look exactly the same as expected...


Extended method yiibase\Controller::createAction()

Inline action can be dynamic/magic method of controller/behavior.
External/standalone action in Controller::actions() can be Action instance.

Q
A

Is bugfix?
✔

New feature?
✔

Breaks BC?
✔/❌

Tests pass?
✔

Fixed issues
#18875

I don't understand your use case.

@machour for example
class TestController extends \yii\web\Controller
{
    public function actionUpdate(): string
    {
        return __METHOD__;
    }
    public function __call(string $name, array $arguments)
    {
        if ($name === 'actionCreate') {
            return $this->actionUpdate(...$arguments);
        }
        throw new InvalidArgumentException($name);
        // return parent::__call($name, $arguments);
    }
}

Inline action can be dynamic/magic method of controller/behavior.

There was already PR for that, with slightly more efficient (and safe) approach: https://github.com/yiisoft/yii2/pull/13517

External/standalone action in Controller::actions() can be Action instance.

According to phpdoc, it should be action configuration. Why would you return action instance in actions()?

@rob006

with slightly more efficient (and safe) approach

how you check this?

According to phpdoc, it should be action configuration?

agree, rollback

Thanks for the reference, @rob006. I totally forgot about that PR.

@samdark  $this->ensureBehaviors(); already called in $this->getBehaviors()

@samdark also, it's not simple as my pr - I'm only extend method

Actually #13517 works differently than this PR, since it does not handle inline actions. I still don't like the idea of actions implicitly inherited from behaviors without any interface or switch to opt-in for this behavior. This may be surprising and even create security issues - if I have actionSecretKey() method in my behavior, now it suddenly becomes publicly available on example.com/controller/secret-key.

To be honest this would be the argument against the behaviors in general, not only action-ones.

Personally I don't like inheriting methods from behaviors in general and I'm trying to not rely on it. But this is not a big problem for regular methods, since they can be called only by developer. This PR extend this possibility to anyone with web access, which is way more dangerous.

Is it likely that developer will call a regular method actionSomething?

Why not? getActionSomething() is not unusual, and some people skip get in getters names.

@rob006

Why not? getActionSomething() is not unusual

I'm can't find behavior with  action* method on GitHub. it's "very rarely" and need somebody why find this action to use... it's "very very rarely", rather, end of world will happen tomorrow...

some people skip get in getters names

some people don't want use magic properties - it's their choice, but ownerSomething() seems more obvious to me

@samdark @rob006 @bizley
Mini-vote

[ ] remove support for Behavior actions
[ ] add property public $useBehaviorActions = false; and use it optionally

@machour for example
class TestController extends \yii\web\Controller
{
    public function actionUpdate(): string
    {
        return __METHOD__;
    }
    public function __call(string $name, array $arguments)
    {
        if ($name === 'actionCreate') {
            return $this->actionUpdate(...$arguments);
        }
        throw new InvalidArgumentException($name);
        // return parent::__call($name, $arguments);
    }
}

By use case I meant what are the (real life) situations when you find yourself needing this? That piece of code doesn't demonstrate it.
I'm not in favor of this PR at all, as it introduces "magic" which is really not needed IMHO.

I'm alway suprised about changes like this. Isn't Yii2 in feature freeze mode since more than 3 years now? And to me this looks very much like a new features that may even break existing installments.
https://www.yiiframework.com/news/156/yii-2-1-and-yii-2-0-feature-freeze

@WinterSilence Yii already has convention to create reusable actions, you're just creating another hacky way of achieving the same thing while introducing potential footgun.

@machour  why you think it's not real?

I'm not in favor of this PR at all, as it introduces "magic" which is really not needed IMHO.

It's not your personal project. Yii in most cases base on magic.

@rob006 vote

I've updated vote-post with a way to actually vote.

I was thinking about it before but you guys convinced me that we should not add anything in that matter. Too big risk of breaking things, not clear use case, many ways of doing the same already present and well established.

@mikehaertl I'm don't add something new, only fix it. Where is written that inline actions cannot be added through behaviors or be dynamic methods?

@bizley

many ways of doing the same already present and well established

for example?

@WinterSilence this: https://www.yiiframework.com/doc/api/2.0/yii-base-controller#actions()-detail

@samdark this not inline actions

@bizley

many ways of doing the same already present and well established
for example?

I mean you can always add action, through trait or by using external standalone actions.

@WinterSilence correct. You want and action in a separate file. You can do it like I've linked, with traits and, if this PR is applied, with behaviors. Is there a special reason you want it via behaviors instead of ways already available?

@bizley it's not same. For example, you want add actionSitemap to frontend controllers, that's controllers in modules (Composer packages). Question: how do it? You extends all module controllers or adds behavior to them by app config?

@samdark "instead of"? it's extend ways not replace it.

It's not your personal project.

It is not yours either, and please avoid that tone when debating a PR.
Make sure you read our code of conduct.
This PR get a nay on my part, for all the reasons listed in this thread.
You can continue this conversation without me.

@machour If I wanted to offend you I would say it directly. I'm too don't love magic, but it's yii2 and I follow "yii style".

it's not same. For example, you want add actionSitemap to frontend controllers, that's controllers in modules (Composer packages). Question: how do it? You extends all module controllers or adds behavior to them by app config?

In that case I would recommend extending some parent controller for all "frontend" controllers that will have this shared action.

@bizley they parent controller is yii\web\Controller you can't extend it easy

they parent controller is yii\web\Controller you can't extend it easy
Depends on whether the app code is done by you or not - if by you it's very easy.

@bizley if you extends your controllers by your base controller -yes, but if you don't have base controller or use external packages/modules - no.

Yes, that is a problem indeed. There is no easy solution for this.

@bizley as I'm already say easy solution is add this action by behavior


When LB service that is stuck in "updating-active" state is removed , more LB Agent are spawned to satisfy the scale.

Server version - V0.20.0
Create LB service with scale 2 and link it to another service in the same environment.
Set up has 3 hosts.
Edit Lb service and set scale to 4.
This results in another LB agent being created on the 3rd host , as expected.
The service is stuck in "updating-active" state forever , since there is no host available for scaling to 4.
At this point , there is an option to remove the service .
Deleting the service succeeds. But this also results in creating another LB agent, which is later on purged.
mysql> select id,name,external_id , state from instance;
+----+---------------+------------------------------------------------------------------+---------+
| id | name          | external_id                                                      | state   |
+----+---------------+------------------------------------------------------------------+---------+
|  1 | test_test1_1  | 31f6bc52be1da1b5514352303b6d1bf6fd8aab65bdda65d63653b16d96c62b46 | running |
|  2 | test_test1_2  | d7c47848e76daff9790c40fd86b46f74e5d4afe19f9b2f49b3a7e75ebe340ce9 | running |
|  3 | Lb Agent      | 6db17e89fb748ca70f1c3b07af3de7c6eafe940b23012013a797281e0295f3a0 | purged  |
|  4 | Lb Agent      | 25a5ca1806a9066dfa32cf28e511977a51383c6c4f312743fa9a59c403eb973d | purged  |
|  5 | Network Agent | 7ee13ec8fe947ff38e277e8a66a2265813e7957547359db17e462a9e7448e750 | running |
|  6 | Network Agent | bd28f51dd21abc2da3180f43b7fe6eec436d2fb9c76b598be7f73787dae73a2c | running |
|  7 | Network Agent | 5283253b474226d5cea6c2b151238ff2e7704f83004ff0e15f8eb1df22bd9129 | running |
|  8 | Lb Agent      | 70f5b0cc51854e8de32fd9bece9c24cef3e6b8aff35477f9cfb00ea82b813a9e | purged  |
|  9 | Lb Agent      | NULL                                                             | purged  |
| 10 | Lb Agent      | NULL                                                             | purged  |
| 11 | Lb Agent      | NULL                                                             | purged  |
| 12 | Lb Agent      | NULL                                                             | purged  |
| 13 | Lb Agent      | NULL                                                             | purged  |
| 14 | Lb Agent      | NULL                                                             | purged  |
| 15 | Lb Agent      | NULL                                                             | purged  |
| 16 | Lb Agent      | ebe7bdd1995312edbfe54ab8d921ed74a4a84707f9537435265c8f9be9180954 | purged  |
+----+---------------+------------------------------------------------------------------+---------+

As long as the instance gets removed eventually, its fine. It happens that the instance is scheduled for start and came up Running till the lb service process kicks in and removes this instance as a part of the lb removal.


Update syntex to 0.31.0

Tested lightly with racerd/YCM, seems to work fine. tests passed on my machine.

This change is

Great, thanks @jwilm


Allow fee-payment with proofs

This PR adds the ability to pay fees using a proof as authorisation.
Checklist:

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

I think the archive db schema/code will need to be updated to reflect the changes here.

!ci-build-me

Out-of-scope for berkeley

Stale, and not targeted for the upcoming release. Closing.


Use Case 31: Achieve Live Data on Live Server Using a Database

Achieve Live Data on Live Server Using a Database
User Story
As a developer, I want to implement live data functionality on the live server so that users can access real-time sensor updates through the deployed platform.
Description
This use case involves setting up a mechanism to achieve live data updates on the live server, similar to what was implemented on the local server. The goal is to store incoming sensor data in a database and retrieve it in real-time for the dashboard. WebSocket or other real-time communication methods will be integrated to push updates from the server to the frontend.
Acceptance Criteria
Sensor data is sent from the Raspberry Pi to the live server via HTTP POST.
The live server stores the data in a database (e.g., MongoDB or Firebase) in real time.
The backend retrieves the most recent data from the database and pushes it to the frontend via WebSocket or polling.
Users see real-time data updates on the dashboard without needing to refresh the page.
The system handles high-frequency updates efficiently without performance issues.
Testing
Normal Flow of Events
Raspberry Pi sends sensor data to the live server’s /sensor-data endpoint.
The live server stores the data in the database with timestamps.
The live server pushes the most recent data to the dashboard in real time.
The frontend dashboard updates the displayed sensor data automatically.
Alternate/Exceptional Flows
S-1: Database connection issues
If the live server fails to connect to the database, the system logs the error and retries the connection.
S-2: Delays in data retrieval or update
If retrieving or pushing data takes too long, the system implements optimizations (e.g., caching or batch updates).
S-3: Large data volume causes performance issues
The system implements strategies to limit data retention (e.g., removing outdated records) or optimize query performance.

Built a connect between R-pi Pico and mongoDB. Using wifi hotspot (Maximum compatibility).


Create review form

As a hotel reviewer
I want to write reviews in a form
So that I can give my feedback about a hotel

How was the service?
How were the facilities?
How was the view?
Overall rating out of 5


How to remove background through opencv_dart?

How to remove background through opencv_dart?  Used for personal identification photos.

Most of opencv APIs have been ported, just do what you do with normal opencv


Fix firstPair issue #452

Closes #452

[x] Running yarn lint does not trigger any linter errors
[x] The test of the method you have fixed is passing
[x] You have written a new skeleton method for someone else to work on!
[x] You have written tests to accompany your skeleton method

This was way harder than I thought it would be.

Hey @josephbhunt ! It looks like you are trying to commit changes to 49 different files. I'm not sure how that happened, but if you could correct it, please feel free to open a new PR. Thanks!


Fails to upload when there are files to overwrite (MLSD support)

Noticed the issue with FTP uploader since version 2.2.1
I'm uploading to Azure having MS FTP server based on IIS I believe
Upload works great if there are no files to overwrite. Here is the log abstract:
+------------------------------------------------------------------------------+
| (0<EMAIL_ADDRESS>                                                       |
+------------------------------------------------------------------------------+
| id: ftp-upload                                                               |
| version: 2.1.2                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2017-08-11T02:57:04Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
INFO[02:57:04] Start installing (golang) with apt-get
INFO[02:57:04]  * [OK] Step dependency (go) installed, available.

Configs:
- HostName: waws-prod-sn1-107.ftp.azurewebsites.windows.net:21
- Username: ***
- Password: ***
- SourcePath: ./build
- TargetPath: /site/wwwroot

Connecting to server...
Connected

Authenticating user...
2017/08/11 02:57:05 < 220 Microsoft FTP Service
2017/08/11 02:57:05 220 Microsoft FTP Service
2017/08/11 02:57:05 > USER angry-dragon\bitrise
2017/08/11 02:57:05 < 331 Password required
2017/08/11 02:57:05 > PASS UpL0ad3r
2017/08/11 02:57:05 < 230 User logged in.
2017/08/11 02:57:05 > MKD /
Successful

Uploading...
Warning: 550 Access is denied.

2017/08/11 02:57:05 < 550 Access is denied.
2017/08/11 02:57:05 > MKD /site
Warning: 550 Cannot create a file when that file already exists.

2017/08/11 02:57:05 < 550 Cannot create a file when that file already exists.
2017/08/11 02:57:05 > MKD /site/wwwroot
2017/08/11 02:57:05 < 550 Cannot create a file when that file already exists.
2017/08/11 02:57:05 > MKD /site/wwwroot
Warning: 550 Cannot create a file when that file already exists.

2017/08/11 02:57:05 < 550 Cannot create a file when that file already exists.
Warning: 550 Cannot create a file when that file already exists.

2017/08/11 02:57:05 > TYPE I
2017/08/11 02:57:05 < 200 Type set to I.
2017/08/11 02:57:05 > PASV
2017/08/11 02:57:05 < 227 Entering Passive Mode (13,84,40,212,39,131).
2017/08/11 02:57:05 > STOR /site/wwwroot/app.bundle.js
2017/08/11 02:57:05 Connecting to waws-prod-sn1-107.ftp.azurewebsites.windows.net:10115
2017/08/11 02:57:05 < 150 Opening BINARY mode data connection.
2017/08/11 02:57:06 < 226 Transfer complete.
2017/08/11 02:57:06 > MKD /site/wwwroot/fonts
2017/08/11 02:57:06 < 257 "/site/wwwroot/fonts" directory created.
2017/08/11 02:57:06 > TYPE I
2017/08/11 02:57:06 < 200 Type set to I.
2017/08/11 02:57:06 > PASV
2017/08/11 02:57:06 < 227 Entering Passive Mode (13,84,40,212,39,132).
2017/08/11 02:57:06 > STOR /site/wwwroot/fonts/din_alternate_bold.ttf
2017/08/11 02:57:06 Connecting to waws-prod-sn1-107.ftp.azurewebsites.windows.net:10116
2017/08/11 02:57:06 < 150 Opening BINARY mode data connection.
2017/08/11 02:57:06 < 226 Transfer complete.
2017/08/11 02:57:06 > MKD /site/wwwroot/img
2017/08/11 02:57:06 < 257 "/site/wwwroot/img" directory created.
2017/08/11 02:57:06 > TYPE I
2017/08/11 02:57:06 < 200 Type set to I.
2017/08/11 02:57:06 > PASV
2017/08/11 02:57:06 < 227 Entering Passive Mode (13,84,40,212,39,133).
2017/08/11 02:57:06 > STOR /site/wwwroot/img/boom.png
2017/08/11 02:57:06 Connecting to waws-prod-sn1-107.ftp.azurewebsites.windows.net:10117
2017/08/11 02:57:06 < 150 Opening BINARY mode data connection.
2017/08/11 02:57:06 < 226 Transfer complete.
2017/08/11 02:57:06 > TYPE I
2017/08/11 02:57:06 < 200 Type set to I.
2017/08/11 02:57:06 > PASV
2017/08/11 02:57:06 < 227 Entering Passive Mode (13,84,40,212,39,134).
2017/08/11 02:57:06 > STOR /site/wwwroot/img/dragon-items.png
2017/08/11 02:57:06 Connecting to waws-prod-sn1-107.ftp.azurewebsites.windows.net:10118
2017/08/11 02:57:07 < 150 Opening BINARY mode data connection.
2017/08/11 02:57:07 < 226 Transfer complete.

If files are already there upload fails:
+------------------------------------------------------------------------------+
| (0) ftp-upload                                                               |
+------------------------------------------------------------------------------+
| id: ftp-upload                                                               |
| version: 2.1.2                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2017-08-11T02:41:52Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
INFO[02:41:52] Start installing (golang) with apt-get
INFO[02:41:52]  * [OK] Step dependency (go) installed, available.

Configs:
- HostName: waws-prod-sn1-107.ftp.azurewebsites.windows.net:21
- Username: ***
- Password: ***
- SourcePath: ./build
- TargetPath: /site/wwwroot

Connecting to server...
Connected

Authenticating user...
2017/08/11 02:41:53 < 220 Microsoft FTP Service
2017/08/11 02:41:53 220 Microsoft FTP Service
2017/08/11 02:41:53 > USER angry-dragon\bitrise
2017/08/11 02:41:53 < 331 Password required
2017/08/11 02:41:53 > PASS UpL0ad3r
Successful

Uploading...
2017/08/11 02:41:54 < 230 User logged in.
2017/08/11 02:41:54 > MKD /
Warning: 550 Access is denied.

2017/08/11 02:41:54 < 550 Access is denied.
2017/08/11 02:41:54 > MKD /site
Warning: 550 Cannot create a file when that file already exists.

2017/08/11 02:41:54 < 550 Cannot create a file when that file already exists.
2017/08/11 02:41:54 > MKD /site/wwwroot
Warning: 550 Cannot create a file when that file already exists.

2017/08/11 02:41:54 < 550 Cannot create a file when that file already exists.
2017/08/11 02:41:54 > MKD /site/wwwroot
Warning: 550 Cannot create a file when that file already exists.

2017/08/11 02:41:54 < 550 Cannot create a file when that file already exists.
2017/08/11 02:41:54 > TYPE I
2017/08/11 02:41:54 < 200 Type set to I.
2017/08/11 02:41:54 > PASV
2017/08/11 02:41:54 < 227 Entering Passive Mode (13,65,89,174,39,18).
2017/08/11 02:41:54 > STOR /site/wwwroot/app.bundle.js
2017/08/11 02:41:54 Connecting to waws-prod-sn1-107.ftp.azurewebsites.windows.net:10002
2017/08/11 02:41:54 < 150 Opening BINARY mode data connection.
2017/08/11 02:41:54 < 226 Transfer complete.
2017/08/11 02:41:54 > MKD /site/wwwroot/fonts
2017/08/11 02:41:55 < 550 Cannot create a file when that file already exists.
2017/08/11 02:41:55 > TYPE A
2017/08/11 02:41:55 < 200 Type set to A.
2017/08/11 02:41:55 > PASV
2017/08/11 02:41:55 < 227 Entering Passive Mode (13,65,89,174,39,19).
2017/08/11 02:41:55 > MLSD /site/wwwroot/fonts/
2017/08/11 02:41:55 Connecting to waws-prod-sn1-107.ftp.azurewebsites.windows.net:10003
2017/08/11 02:41:55 < 500 Command not understood.
2017/08/11 02:41:55 > LIST /site/wwwroot/fonts/
Failed to upload files, error: 125 Data connection already open; Transfer starting.

2017/08/11 02:41:55 < 125 Data connection already open; Transfer starting.

There are some reports MS servers do not support MLSD command. May be that's the problem and there is an alternative way?

Thank you for the report! It will be fixed soon.

The issue is resolved in the new version: 2.1.3


Added required step into GETTING_STARTED.md file that is telling to S…

Added this required step where user have to tell to System loader where Angular Material2 is located.

@amiral84 are you going to make the recommended changes in the PR?

@jelbourn now it is updated. :)

@googlebot I signed it!

LGTM, thanks!

@jelbourn you're welcome :)


COMDOX-247: Migrate Admin Pattern Library from magento/devdocs

Purpose of this pull request
This pull request (PR) migrates the Admin Pattern Library from the devdocs.magento.com site to the Adobe DevSite.
Staging: https://developer-stage.adobe.com/commerce/admin-developer/
Affected pages

Several

Links to related PRs or Jira tickets

COMDOX-247
{insert devdocs PR here}

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My changes follow the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] All new and existing tests passed.

I'm still trying to fix the size of the spinner .gif on this page: https://developer-stage.adobe.com/commerce/admin-developer/pattern-library/feedback-to-user/progress-indicator/#spinner.
I've posted a question in the #adobeio-devsite Slack and am waiting for a response.

Fixed the size of the spinner .gif by adding a new component (advised to do so by devsite team). Redeploying the branch to staging.

Yeah, Tim recommended it to side-step whatever processing Gatsby does with images. I don't think it's exclusive to .gif files. Probably any image file that is small and not meant to be enlarged.


Bug: stickers are not visible clearly

Thanks for the update, i m using latest update (14112021)
Bug

[ ✓ ] I have read the comment above and have completed each step
[ ✓ ] I have filled out the system info
[ ✓ ] I have described the bug, filled in the expected outcome and the actual
outcome including screenshots where appropriate

System info

OS: Android 11
Browser: Chrome, 1dm+
Version: latest from Play Store

Describe the bug
In vertical scroll stickers are not visible clearly last row stickers are little outside of the screen.
As u can see in preview after changing rows problem still persist.
Expected outcome
It should be clearly within the screen after changing to vertical scroll and rows

Thanks for raising this - I've been able to reproduce this on my own device. I'll take a look at this


Build failure with esp-idf (libc_errno.h missing)

Hello.
I have built WARM (1.3.0 78be221) on esp-idf (v4.4.6) and have found that it fails to compile with the following error.
/home/hiromasa/devel/esp32/m5stamp-c3wamr/components/wasm/
wasm-micro-runtime/core/shared/platform/esp-idf/espidf_socket.c:8:10:
fatal error: libc_errno.h: No such file or directory
 #include "libc_errno.h"
          ^~~~~~~~~~~~~~
compilation terminated.

CMakeLists.txt configuration:
# wasm-micro-runtime settings
list(APPEND EXTRA_COMPONENT_DIRS "components/wasm/wasm-micro-runtime/build-scripts/esp-idf")
set(WAMR_BUILD_INTERP 1)
set(WAMR_BUILD_FAST_INTERP 1)
set(WAMR_BUILD_AOT 0)
set(WAMR_BUILD_LIBC_BUILTIN 1)
set(WAMR_BUILD_APP_FRAMEWORK 0)

This event does not occur in WARM (1.2.3 fa2f29f), which compiles correctly.
I found this when trying to upgrade the WAMR version from 1.2.3 to 1.3.0.
Best regard.

Hi, could you try the below patch?
diff --git a/core/shared/platform/esp-idf/shared_platform.cmake b/core/shared/platform/esp-idf/shared_platform.cmake
index 8d7fe5d8..6cd4cc42 100644
--- a/core/shared/platform/esp-idf/shared_platform.cmake
+++ b/core/shared/platform/esp-idf/shared_platform.cmake
@@ -10,6 +10,9 @@ include_directories(${PLATFORM_SHARED_DIR}/../include)

 file (GLOB_RECURSE source_all ${PLATFORM_SHARED_DIR}/*.c)

+include (${CMAKE_CURRENT_LIST_DIR}/../common/libc-util/platform_common_libc_util.cmake)
+set(source_all ${source_all} ${PLATFORM_COMMON_LIBC_UTIL_SOURCE})
+
 set (PLATFORM_SHARED_SOURCE ${source_all} ${PLATFORM_COMMON_MATH_SOURCE})

Thank you for your response.
After applying the patch, it now compiles correctly!
diff --git a/core/shared/platform/esp-idf/shared_platform.cmake b/core/shared/platform/esp-idf/shared_platform.cmake
index 8d7fe5d8..e31c8653 100644
--- a/core/shared/platform/esp-idf/shared_platform.cmake
+++ b/core/shared/platform/esp-idf/shared_platform.cmake
@@ -8,6 +8,9 @@ add_definitions(-DBH_PLATFORM_ESP_IDF)
 include_directories(${PLATFORM_SHARED_DIR})
 include_directories(${PLATFORM_SHARED_DIR}/../include)

+include (${CMAKE_CURRENT_LIST_DIR}/../common/libc-util/platform_common_libc_util.cmake)
+set(source_all ${source_all} ${PLATFORM_COMMON_LIBC_UTIL_SOURCE})
+
 file (GLOB_RECURSE source_all ${PLATFORM_SHARED_DIR}/*.c)

 set (PLATFORM_SHARED_SOURCE ${source_all} ${PLATFORM_COMMON_MATH_SOURCE})

esptool.py v3.3.4-dev
Creating esp32c3 image...
Merged 2 ELF sections
Successfully created esp32c3 image.
Generated /home/hiromasa/devel/esp32/m5stamp-c3wamr/build/m5stamp-c3wamr.bin

I appreciate your help!

Welcome. Close the issue as it was fixed.


Lectures: Fix lecture unit names not trimmed

Checklist
General

[x] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] I followed the coding and design guidelines.
[ ] I added multiple integration tests (Spring) related to the features (with a high test coverage).
[x] I implemented the changes with a good performance and prevented too many database calls.

Motivation and Context
Closes #5839
Description
Lecture unit names are now trimmed, whenever the name is set.
Steps for Testing
Prerequisites:

1 Instructor
1 Course where you can create lectures and lecture units.

Log in to Artemis
Navigate to Course Administration
Navigate to a course
Create a lecture
Create all kinds of lecture units with a name containing leading and/or trailing spaces.
Try to delete all lecture units again. Just type the name without any additional leading or trailing whitespace. Once the name is typed, the delete button should be enabled.

Review Progress
Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage

Codecov Report

Merging #6008 (63b442d) into develop (6a7bfe2) will decrease coverage by 0.00%.
The diff coverage is 50.00%.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #6008      +/-   ##
=============================================
- Coverage      79.91%   79.91%   -0.01%
- Complexity     12379    12380       +1
=============================================
  Files           2124     2124
  Lines          84491    84491
  Branches       12676    12676
=============================================
- Hits           67518    67517       -1
  Misses          9440     9440
- Partials        7533     7534       +1

Impacted Files
Coverage Δ

...java/de/tum/in/www1/artemis/domain/Attachment.java
80.00% <0.00%> (-1.54%)
:arrow_down:

...um/in/www1/artemis/domain/lecture/LectureUnit.java
81.48% <100.00%> (ø)

Flag
Coverage Δ

client
75.75% <ø> (ø)

server
84.52% <50.00%> (-0.01%)
:arrow_down:

Continue to review full report at Codecov.

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


tsserver High CPU usage

VSCode Version: 1.42.0-insider (system setup)
Electron: 6.1.6
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS Version:Windows_ NT x64 10.0.1 8363

Steps to Reproduce:

Open the project and type in the js file

Does this issue occur when all extensions are disabled?: Yes
video

@2234839 Can you [lease try upgrading your workspace to use typescript@next by installing this extension. Does that fix the issue?

@mjbvz Problem solved. Thank you very much


Some Views as CBV

this commit has a mix in support django 1.8 and convert some views to CBV, for better maintainability, also #485 add some support and remove warnings

You have mentioned django1.8 support. Does it now passes tests on django1.8? Could we add a new test environment to test it?

@swistakm the app past all test in django 1.8, without anychange but show a lot of warnings, when executed

OK, I reviewed this briefly and I really like refactorization done to views because it really makes code easier to read and maintain.
But there is a serious problem and can be merged in that form. Many userena users customize views by importing them from userena.views and manually including them in their urlconfs. This is in fact a way to customize userena behaviour that is suggested in some parts of documentation. I think that this change would break a lot of user builds.
So there should be still option to import views like before. They could be simply instantiated in userena.views.__init__ using 'as_view()` class methods.
I think that we could drop all function based views in userena 2.x and successfully deprecate them in incoming minor releases. I think that this would go to userena==1.5.0 and should also mark as deprecated those views that were replaced by CBV versions.
Anyway I really like that change but it needs some improvements to be merged.

@swistakm Is this what you mean or have to create something more explicit warnings?

when to merge this?

I wanted to make it a part of 2.0.0 release but it was just the time to release support for django 1.9 and this PR was not reviewed yet.
I want to make these class-based views as a part of 2.1.0 release but this will require some additional work:

this feature needs to be rebased, tested and reviewed once again
all new class based views need to have backwards compatible functional counterparts provided for users that extended them in their own url configurations
functional alternatives needs to have deprecation warnings since they will be removed in 3.0.0
all documentation needs to be updated (tutorials, FAQ, examples)
probably demo application needs to be updated too
all views that were not yet ported to CBV should be rewritten too

Without the help of others this will take some time because I have a very limited resources.


rhub::check_for_cran() vs devtools::check_rhub()

devtools::check_rhub() allows to pass arguments to pkgbuild::build() before uploading the package to R-hub builder.

An example of when this could be used would be good.

I don't think this is important, you can call build() or R CMD build first and then rhub::check() on the tarball.

or you could directly run rhub::check(), I know, but keeping notes here in case someone ever asks. :-)

Another difference, if folks have devtools automatically loaded for interactive work (because of https://usethis.r-lib.org/articles/articles/usethis-setup.html#use-usethis-in-interactive-work) then they have less characters to type. :grin:

Other thing.

This issue is about the previous R-hub system, it does not apply to the new system, so I am closing it now.


Changes to get all files and skip existing files downloaded

It took about 15 hours to get to file 200000, before it errored, so I have added some file skips to speed it up if files exist.
I also found async of 1 was faster on my linux host, anything above 1 just caused it to stall (most likely a computer setup issue, but I've set the default limit to 1)

Current coverage is 16.66% (diff: 6.25%)

Merging #11 into master will decrease coverage by 0.21%

@@             master        #11   diff @@
==========================================
  Files             4          4
  Lines           237        246     +9
  Methods          59         60     +1
  Messages          0          0
  Branches         63         65     +2
==========================================
+ Hits             40         41     +1
- Misses          197        205     +8
  Partials          0          0

Powered by Codecov. Last update af66abe...39e0ae7

I'd take some stuff "selectively" because I've reformatted a few bits just so I could read it quicker, and I haven't put it back to the original style. I literally just needed to get it working :)

this is incomplete


Update a2-english.tsx

Did the required changes.
Added aria-hidden property as well as did some changes in the value of d to align the items in the center
Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #52908

here is the atttached screenshot
Before

After


scrolling through a set of image pairs more than once alters the mcd coordinates (v0.2.3)

If you go through all the image sets once, the ROI coordinates are correct when imported into the mcd file. If you then scroll back around to the first image set without closing the tool the mcd coordinate csv file is resaved even without moving the ROIs. The issue is that this gives rise to new coordinates which are very off. I did a test with 3 images where in the first round I set alignment points and ROIs and saved the transformed mcd coordinates. I then scrolled through the images twice more copying the coordinates elsewhere each time, then closed the tool and scrolled again 3 times for a total of 6 times, each time saving the coordinates. Attached are the coordinates for the first image. top row is original values, second and third rounds. Bottom row is fourth to sixth.
composite_10038218.csv
It's clear the coordinates change after the first round then not again, even after restarting the tool. The other two images show the same result.
I don't know if this happens in other versions of the tool.

Fixed with v0.2.5


Not Display SVG File shadow in Device

import Go_BG_Icon from '../../../assets/resources/img_go_icon.svg'

<Go_BG_Icon />

I'm added img_go_icon svg  in my project which is contain shadow. But unfortunately not display SVG shadow in device when run app.
Configure react-native-svg step-by-step. SVG is display but their shadow is not dropping in device.

Can you provide a complete reproduction? Almost impossible to know otherwise.


[FLINK-33679] Fix the misleading description about RestoreMode#LEGACY

What is the purpose of the change
Fix the description of RestoreMode#LEGACY, the word 'so far' is misleading.
Brief change log
Fix the description as well as the docs.
Verifying this change
This change is a trivial rework without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

merged fb7324b0 into master


Question: Provisioning additional resources

Hi!
First of all - kudos on an amazing resource! Up is truly an achievement!
I have a question: in my project, I have several services running on AWS utilizing SQS, SNS and RDS.
When I deploy a service with UP I have an option to specify staging/production environment which is awesome, but in order for two environments to use different queues, topics and databases I will have to provision manually a different set of resources per environment - is that correct?
Are there any plans on automate this?
It would be amazing to be able to deploy a staging version of a project together with a different set of AWS resources applicable to it.
Right now I am using Terraform for this, but looking at Up as a future possible solution.
Thanks in advance!

Thanks :D!
Terraform is definitely the way to go for now, but I'd like to add #453 and/or some way to utilize user-defined CloudFormation templates. Nothing is nailed down so I'm totally open to ideas about how it would be implemented.
More common things like SQS / DynamoDB might be nice to just bake support right into Up

Yup. The idea in #453 sounds like it would cover my scenarios!
I'll subscribe to that thread, very interested to see how this develops!

awesome I'll close this one :D


Serialization of 'Symfony\Component\HttpFoundation\File\UploadedFile' is not allowed issue?

Laravel Version
10.8.0
PHP Version
8.2.3
Database Driver & Version
No response
Description
Sorry, newbie here. I try to write this as clear as possible.
I think the problem start to show after I update to v10.8.0, before that everything is normal.
This is what i got from log:
[2023-04-22 22:21:08] local.ERROR: Serialization of 'Symfony\Component\HttpFoundation\File\UploadedFile' is not allowed {"userId":24,"exception":"[object] (Exception(code: 0): Serialization of 'Symfony\Component\HttpFoundation\File\UploadedFile' is not allowed at /dir/vendor/laravel/serializable-closure/src/Serializers/Signed.php:68)
[stacktrace]
/dir/vendor/laravel/serializable-closure/src/Serializers/Signed.php(68): serialize(Object(Laravel\SerializableClosure\Serializers\Native))
[internal function]: Laravel\SerializableClosure\Serializers\Signed->__serialize()
/dir/vendor/laravel/framework/src/Illuminate/Queue/Queue.php(158): serialize(Object(Illuminate\Queue\CallQueuedClosure))
/dir/vendor/laravel/framework/src/Illuminate/Queue/Queue.php(127): Illuminate\Queue\Queue->createObjectPayload(Object(Illuminate\Queue\CallQueuedClosure), NULL)
/dir/vendor/laravel/framework/src/Illuminate/Queue/Queue.php(105): Illuminate\Queue\Queue->createPayloadArray(Object(Illuminate\Queue\CallQueuedClosure), NULL, '')
/dir/vendor/laravel/framework/src/Illuminate/Queue/SyncQueue.php(38): Illuminate\Queue\Queue->createPayload(Object(Illuminate\Queue\CallQueuedClosure), NULL, '')
/dir/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(253): Illuminate\Queue\SyncQueue->push(Object(Illuminate\Queue\CallQueuedClosure))
/dir/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(229): Illuminate\Bus\Dispatcher->pushCommandToQueue(Object(Illuminate\Queue\SyncQueue), Object(Illuminate\Queue\CallQueuedClosure))
/dir/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(95): Illuminate\Bus\Dispatcher->dispatchToQueue(Object(Illuminate\Queue\CallQueuedClosure))
/dir/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(266): Illuminate\Bus\Dispatcher->dispatchSync(Object(Illuminate\Queue\CallQueuedClosure), NULL)
/dir/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
/dir/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
/dir/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(81): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
/dir/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Object(Closure), Object(Closure))
/dir/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Object(Closure), Array, NULL)
/dir/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1250): Illuminate\Container\Container->call(Object(Closure))
/dir/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(215): Illuminate\Foundation\Application->terminate()
/dir/public/index.php(60): Illuminate\Foundation\Http\Kernel->terminate(Object(Illuminate\Http\Request), Object(Illuminate\Http\RedirectResponse))
{main}
I think it happens when I use dispatch()->afterResponse() and pass a $request variable (Illuminate\Http\Request class) which contains an uploaded file. Here is the code:
dispatch(function () use($request) {
...some code...
})->afterResponse();
Code inside dispatch function above is not executed. Everything is normal before 10.8.0.
Steps To Reproduce

Pass a $request variable which contains uploaded file to dispatch()->afterResponse() function.
Error doesn't show directly to user, but shows up on error Log.

Also there is a comment, if he also facing this issue when pass a PDO object: https://github.com/laravel/framework/discussions/46842

Isn't the point is 'Symfony\Component\HttpFoundation\File\UploadedFile' cannot be serialized? Because this problem doesn't happen before 10.8.0?


fix: r2 secret unset failing CI error

Summary of changes
Changes introduced in this pull request:

fixed r2 secret unset failing CI errors

Reference issue to close (if applicable)

Closes
Other information and links

@samuelarogbonlo Is it possible to do a dry-run to catch these things?


Add SF support

This patch adds new functions to get parse and retrieve the Scalable
Functions(SF).
This patch also adds the following new helper functions
getNetDevicesFromPath - retrive network devices based on path
GetPfPciFromVfPci - retrieves the parent PF
GetNetDeviceFromAux - gets auxiliary device name
GetPfPciFromAux - retrieve PF PCI and SF index
GetSfIndexByAuxDev - gets SF device name (e.g 'mlx5_core.sf.2')
Test cases for helpers and SF functions
Authored-by: Dmytro Linkin<EMAIL_ADDRESS>Signed-off-by: Dmytro Linkin<EMAIL_ADDRESS>Signed-off-by: Alin-Gabriel Serdean<EMAIL_ADDRESS>

/CC @adrianchiris @moshe010

I added also two test cases for HW and fixed the existing compilation errors on sriovnet_integration_test.go

some minor comments and nits, once addressed LGTM from my pov

LGTM from my side once address Adrian's comments

@adrianchiris  if you have comments we will address them in follow-up PR.


IOS8.1.2 Can't use camera upload

as the title...

Steps/code to reproduce?

Oh, I fixed it .Thanks guys.


Type numeric native enum is not assignable to type 'string'

I'd like to produce the following type:
export type ButtonItem = {
  type: ItemType.BUTTON
}

where ItemType is a native numeric enum
So I try this:
z.object({
    type: z.nativeEnum([ItemType.BUTTON]),
  })

But it says: Type 'ItemType' is not assignable to type 'string'
I'm not sure how to proceed here?

I didn't know the existence of z.literal.
That solves the issue:
z.object({
    type: z.literal(ItemType.BUTTON),
  })


Error in the class change recipe

The error as attached raises when running the class change recipe. It happens when you click the done button after specifying the images and legend. Tried with Chrome and FireFox still the same issue.

Teo

After understanding the required data (categorical data such as a landcover classification) for this recipe, I have been able to run it with no errors. Thank you @cdanielw for the support. I am closing this issue :)


Invalid Signature. Code object is not signed at all.

Steps to Reproduce

flutter clean
flutter build ios
Xcode: using Automatic signing
Xcode: Product -> scheme -> Runner
Xcode: Product -> Destination -> Any iOS device (arm64)
Xcode: Product -> Archive
Validate (with proper certificate and App Store distribution profile)
Validation fails

Expected results:  Validation Success
Actual results:
Invalid Signature. Code object is not signed at all. The file at path [Runner.app/Frameworks/App.framework/flutter_assets/assets/js/lib/snippets/lang.js] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html
Tried the suggestions from https://github.com/flutter/flutter/issues/71164, but the same result.

Flutter Doctor result
[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.7 19H15, locale en-AU)
• Flutter version 1.22.2 at /Users/gokulnk/DevTools/flutter
• Framework revision 84f3d28555 (8 weeks ago), 2020-10-15 16:26:19 -0700
• Engine revision b8752bbfff
• Dart version 2.10.2
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/gokulnk/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.9.3
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 49.0.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] IntelliJ IDEA Ultimate Edition (version 2020.2.3)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin installed
• Dart plugin version 202.8070
[✓] VS Code (version 1.48.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.13.2
[!] Connected device
! No devices available
! Doctor found issues in 1 category.

I solved the issue. The issue was with the contents in file "lang.js".

I ran into a similar problem. How did you solve it? Can you tell me more specifically? Thanks!


Deploy to aliyun oss

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.heimanba seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


SearchService lacks code and issue search support

Sure, there's some TODOs in search_service.dart, but it would be better to have an issue for this

[x] SearchService Issue support
[x] SearchService Code support

Closed via https://github.com/DirectMyFile/github.dart/pull/120 and https://github.com/DirectMyFile/github.dart/pull/170

To be released in 5.3.0


GROUP_CONCAT + concat

Hi! I would like to include a column like the following on my query:
array_to_string(array_agg(DISTINCT i3_.abbreviation || '-' || i3_.name ), '/') AS sclr10,
I need a CONCAT inside GROUP_CONCAT. I've tested but couldn't achive this with your library. Do you think it's possible?

Hi. Need to test

It looks that it will need soem alterations on lexer... :( don't know if it's viable.

ah, after some debate with other people of them, it turns that I don't needed the concat inside group concat. But I'm having another issue right now. When running the code in production, I got this:
[2015-02-04 12:34:33] request.CRITICAL: Uncaught PHP Exception Doctrine\ORM\Query\QueryException: "[Syntax Error] line 0, col 337: Error: Expected known function, got 'GROUP_CONCAT'" at /Users/waltercruz/devel/dialogos-setoriais/vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php line 52 {"exception":"[object] (Doctrine\ORM\Query\QueryException(code: 0): [Syntax Error] line 0, col 337: Error: Expected known function, got 'GROUP_CONCAT' at /Users/waltercruz/devel/dialogos-setoriais/vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php:52, Doctrine\ORM\Query\QueryException(code: 0): SELECT convocation.name as convocation_name,\n            a.id,\n            dialog.name as dialog_name, \n            a.name,\n            a.code,\n            a.status,\n            a.type,\n            a.pathAgreement as path_agreement,\n            a.pathGreenlight as path_greenlight, \n            a.pathNonObjection as path_non_objection, GROUP_CONCAT( DISTINCT institutionslocais.abbreviation SEPARATOR '/') as locais, GROUP_CONCAT( DISTINCT institutionsexternals.abbreviation SEPARATOR '/') as externals FROM Dialog\ActionBundle\Entity\Action a INNER JOIN a.institutions institutionslocais INNER JOIN a.institutions institutionsexternals INNER JOIN a.dialog dialog INNER JOIN a.convocation convocation WHERE institutionslocais.institutionType = 1 AND institutionsexternals.institutionType = 2 AND a.type = :type GROUP BY a.id,dialog.name,a.name, a.code, convocation_name, a.status, a.type, a.pathAgreement, a.pathGreenlight, a.pathNonObjection at /Users/waltercruz/devel/dialogos-setoriais/vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php:41)"} []
there's some another conf to register the dql function on prod environment?

Seems that GROUP_CONCAT does not added.  There are no differences between dev and prod. Please, make sure you have added doctrine configuration to convig.yml and config_dev.yml includes it

hum... it works with:
$kernel = new AppKernel('prod', true);
but don't
$kernel = new AppKernel('prod', false);

ok, just a cache warmup :)


add dev admin console item

fix #161
not ready...
to test.
mvn clean install
mvn quarkus:dev
then go to
http://localhost:8080/q/dev/

seems not working currently...

Hey @dufoli Nice work, I fixed several small issues, it is fully working now.


Determine how to run local app with contract on testnet

It would be nice to run the local app, but using the Rinkeby or Ropsten test networks.
As coded now, the app always looks our contract at location specified by local truffle installation.
There is way to reference locations on other networks, and we should do that.
@ryana , seems like this is related to how we got things on Ropsten?

We figured out how this is done: Truffle automatically adds the address of the contracts on other networks in the contract's ABI file (MyContract.json).
However, this file is auto-generated and not under source control, so it's not clear how to include the addresses of our contracts on testnets in a standard user installation.


Update kythe-verifier.txt doc to include reference to --goal_prefix flag [phab:D922]

Created by schroederc at 2016-06-08 18:40:32:

schroederc wrote at 2016-06-08 18:41:54:
Reword

zarko commented inline (context lost during migration) at 2016-06-08 19:26:42:
This last sentence doesn't make sense; consider rewording to something like
"By default, the verifier looks for goals in BCPL-style comments that start with a dash:"

pludemann commented inline (context lost during migration) at 2016-06-08 19:32:10:
Mentioning "BCPL" is cute, but I suspect that most people wouldn't understand. You might prefer to call them "C++-style comments".
I think the original wording (but s/BCPL/C++/) is better ... "start with a dash" seems to imply "-//" which is not what you want. The example explains all, anyway.

zarko commented inline (context lost during migration) at 2016-06-08 19:45:07:
"By default, the verifier looks for goals in comments that start with //-:"

schroederc wrote at 2016-06-08 21:03:45:
Words

schroederc wrote at 2016-06-08 21:04:00:
PTAL

pludemann wrote at 2016-06-08 21:06:35:
LGTM ... I'm curious whether this is allowed:
//-this-is-a-goal

(i.e., is there an expectation that the //- is followed by a blank?)

zarko accepted this revision at 2016-06-11 00:05:07

zarko wrote at 2016-06-11 00:06:58:
No, there's no expectation that the //- is followed by a blank.

schroederc closed via commit bc031ce9c01af96943aa1c1cb173082871b6ef27 at 2016-06-13 15:33:32


Path matching semantics update

I would like to make a breaking change update to the way paths match, but I'm interested in everyones opinions before I implement any changes. My biggest gripe right now is that the special characters outside of a custom matching group restricts the characters that can be used inside of a matching group. I want to change this behaviour so only regex characters can be used inside a matching group and characters outside will be escaped.
Examples:

/test? - currently valid, makes the t character optional which really looks like a bug
/:test(.*) - currently invalid, periods are being escaped and asterisks are being turned into matching any character groups
/(\\d+) - currently won't be indexed properly since we don't have any regex group logic
/\\* - currently invalid, can't escape the meaning of special characters and will still become a match all route

Hey @blakeembrey, would you be willing to put together a list of the incompatibilities between 0.x and 1.x of path-to-regexp and how people an migrate their routes? I've been thinking a lot about it, and this is probably why I have been hesitant to bump the dep in the 5.x branch yet, because it seems like it's not a simple migration path (unless you think otherwise? let me know!). Ideally we would be able to describe the path differences and how to migrate your routes. It would be even cooler if we could come up with a way to detect if a path string may need changing in Express 3 -> 4 to give a way for people to do something to determine what they need to change in their app (this idea is not flushed out yet).

Oh, and as an additional though, @blakeembrey, I'm not really looking for a full list of new features in 1.x (at least for this), more of what kind of paths that would be broken/behave differently between the two versions and how to fix them to work in 1.x. I hope that helps!

Sure, I can look at putting something together. I think 99% of uses are the same, it's just the tricky edge ones (and hacks that may not have even been intended with 0.1.x but worked).

There's also https://github.com/pillarjs/path-to-regexp#compatibility-with-express--4x, though it's less exhaustive. Should give you an idea on the core changes that aren't supported now though. Most changes were around consistency and proper usage of path-to-regexp.

Yea, the tricky ones are what I'm looking for. I think the goal is just to get the best we can :) I looked at that section of the README, but it didn't seem quite what I was looking for, mainly just enough words to help people understand how to identify a route that would break.

Things that will be broken (may be incomplete):

RegExp groups

No nesting groups

/(\d([a-z]+)), the inner paren will be literal

RegExp outside of groups

Anything outside of the () is literal

/\d+ will break, use /(\d+)

No expansion of * inside groups

/(*) will break, use proper RegExp or asterisk outside of a group

/* or /(.*)

Proper "segment handling"

E.g. /:userId is treated as a path segment and matches accordingly when using repeated params

Advantages:

Consistent path matching behaviour
Well-documented (also, consistent and understandable algorithm)
Path reversal support
Understanding of "segments" - /foo/:part?/bar does do weird stuff like only match when /foo//bar

This is more important for matching end of paths - found lots of places in old code where it'd match paths with double trailing slashes like /foo//

Actually really awesome, if we use https://github.com/pillarjs/path-match with the engine PR I have outstanding in the engine, we can get automatic splat support (E.g. the raw segments when doing /:path*)
Can actually write regexps without them breaking, no idea how many times you discover you need to do a hack like \\d{0,} instead of using * in the group

These changes have now landed on the 5.0 branch 👍


Catch and emit exceptions

Exceptions (especially when using something gulp) are extremely cryptic. This resolves that by catching and emitting errors like a good browserify transform.

I have fixed the quotes and amended my commit on master.


VS Code flickering even after completely uninstalling and new installation on TS/JS Language server initialization

-Version: 1.31.1
Commit: 1b8e8302e405050205e69b59abb3559592bb9e60
Date: 2019-02-12T02:19:29.629Z
Electron: 3.1.2
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 4.15.0-45-generic
Steps to Reproduce:

Uninstalled(Deleted from folder) all the extensions and installed latest version.

I deleted all the extensions also.
However does not create issue with disable --gpu.

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
* [Terminal is not split (#69273)](https://www.github.com/Microsoft/vscode/issues/69273)

* [Go to definition opening a file from different location from different project. (#69431)](https://www.github.com/Microsoft/vscode/issues/69431)

Issue is not related to extensions.

What do you mean by VS Code flickering? Can you please provide a screenshot or a small gif showing it?

We are building exploration builds that use a much newer version of our UI framework (Electron version 4.0.x). I wonder if this issue reproduces with one of these builds, could you try? Download:

macOS: Download
Linux: Download
Windows: Download

@bpasero I purged my earlier code and installed linux one provided by you.
It still flickers.

@rgnrw I guess it does not flicker anymore when you run "code --disable-gpu"?

@bpasero Yes, it works fine with --disable-gpu.

Code-exploration updated through linux software updater.
Version: 1.33.0-exploration
Commit: 0c0bd7afe1491bf498db49dee9c411ae8d9bbbc1
Date: 2019-03-05T08:48:48.676Z
Electron: 4.0.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 4.15.0-46-generic
This version is working fine.

@bpasero  is there anything i can try?
as both code and code-exploration as flickering with gpu on updated versions.

Having the same issue with Ubuntu 16.04 LTS on Intel HD Graphics 3000 (1st Gen i3), It flickers every time the TS/JS Language server is starting, when the spinning arrows animation plays on the status bar. And also then the text on the terminal changes. Running with --disable-gpu solves the issue.

I also suffer extensive flickering on Ubuntu 16.04 that goes away with --disable-gpu.

Just wanted to say that I am now seeing this exact same flicker under Fedora 30. I'm not sure when it started, but perhaps over the last couple weeks. It didn't previously do this. It is very distracting and annoying. I will try with --disable-gpu and see how that goes.

Just a followup, it does appear that --disable-gpu resolves the flickering.

If this is a duplicate issue, would it be so hard to provide a link to the issue it is duplicating, rather than just closing it and telling us to search for it ourselves?

Came here to say the same thing. Is "We figured it's covering the same as another one we already have" the standard now for closing as a dupe? Is the dupe a secret?

Definition of futility: trying to reason with a bot... ;-)

Forgot to mention the issue: https://github.com/microsoft/vscode/issues/15211

@rickhall - maybe this is helpful for you:
--disable-gpu didn't solve the issue for me. Well the flickering went away, but I had another type of artifact: vertical artifacts appearing near the cursor and other places. I think it was about as annoying as the flickering.
What did seem to work was code --enable-native-gpu-memory-buffers.
You can check with code --status that it changes the native_gpu_memory_buffers:     enabled line from disabled to enabled. After that I have little to no flickering.

Just an FYI, I've upgraded to Fedora 31 recently and am on VS Code 1.39.2 and it appears that I'm no longer experiencing the flicker issue even with no additional flags passed into the editor. So, maybe the issue has been resolved.


Various SRD creatures with "custom"/flat damage have incorrect to-hit and damage values

The "Attack Ability" value is incorrectly set (e.g. to "Strength" rather than "None"), resulting in unwanted negative modifiers:

Here's a (rough/incomplete) list of likely suspects, should it be of use:
[
    "Badger",
    "Bat",
    "Cat",
    "Crab",
    "Flying Snake",
    "Hawk",
    "Homunculus",
    "Lizard",
    "Mummy Lord",
    "Octopus",
    "Owl",
    "Poisonous Snake",
    "Quipper",
    "Rat",
    "Raven",
    "Scorpion",
    "Spider",
    "Sprite",
    "Weasel"
]

Env:

dnd5e 4.1.2
Foundry 12.331
no modules active

Related:
https://github.com/foundryvtt/dnd5e/issues/2735
https://github.com/foundryvtt/dnd5e/issues/4702
https://github.com/foundryvtt/dnd5e/issues/4504


implement hash join

@amosbird The build is failing:
src/hash_join.rs:21:21: 21:40 error: type `std::collections::hash::map::HashMap<&str, collections::vec::Vec<&str>>` does not implement any method in scope named `contains_name`
src/hash_join.rs:21         if hash_map.contains_name(name) {
                                        ^~~~~~~~~~~~~~~~~~~
error: aborting due to previous error

Could you also add a test for this?

Awesome! Thanks!

@amosbird this needs a rebase

Looks like this is all good, merging before another rebase is needed. :)


ng build -w does not see changes in .ts files

I'm working on a project on different computers, on one of the computers ng build -w does not see changes in .ts files. In html files sees, when i change ts file оccurs rebuild but сhanges do not take effect and hash code rebuild same as before!

Please use and fill out the provided issue template.  Without the information we will be unable to provide assistance.

Same issue on #6092, you should have all information on it.

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.
If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template.


Spotlight cannot switch back to Docker Desktop

Description
When Docker Desktop is already running, I'm unable to bring it back into focus by selecting it in Spotlight.
Reproduce

Run Docker Desktop
Type Cmd+Space to open Spotlight
Search for and select Finder.app

This brings a Finder window into focus

Type Cmd+Space to open Spotlight
Search for and select Docker.app

This takes the Finder window out of focus, but Finder is still the active application

Expected behavior
Docker Desktop should come back into focus when selected in Spotlight.
docker version
Client:
 Cloud integration: v1.0.35
 Version:           24.0.2
 API version:       1.43
 Go version:        go1.20.4
 Git commit:        cb74dfc
 Built:             Thu May 25 21:51:16 2023
 OS/Arch:           darwin/amd64
 Context:           desktop-linux

Server: Docker Desktop 4.21.1 (114176)
 Engine:
  Version:          24.0.2
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.4
  Git commit:       659604f
  Built:            Thu May 25 21:52:17 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.21
  GitCommit:        3dce8eb055cbb6872793272b4f20ed16117344f8
 runc:
  Version:          1.1.7
  GitCommit:        v1.1.7-0-g860f061
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

docker info
Client:
 Version:    24.0.2
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.11.0
    Path:     /Users/jonathanhironaga/.docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.19.1
    Path:     /Users/jonathanhironaga/.docker/cli-plugins/docker-compose
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.0
    Path:     /Users/jonathanhironaga/.docker/cli-plugins/docker-dev
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.20
    Path:     /Users/jonathanhironaga/.docker/cli-plugins/docker-extension
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v0.1.0-beta.6
    Path:     /Users/jonathanhironaga/.docker/cli-plugins/docker-init
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     /Users/jonathanhironaga/.docker/cli-plugins/docker-sbom
  scan: Docker Scan (Docker Inc.)
    Version:  v0.26.0
    Path:     /Users/jonathanhironaga/.docker/cli-plugins/docker-scan
  scout: Command line tool for Docker Scout (Docker Inc.)
    Version:  0.16.1
    Path:     /Users/jonathanhironaga/.docker/cli-plugins/docker-scout

Server:
 Containers: 2
  Running: 0
  Paused: 0
  Stopped: 2
 Images: 14
 Server Version: 24.0.2
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
 runc version: v1.1.7-0-g860f061
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 5.15.49-linuxkit-pr
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 11.7GiB
 Name: docker-desktop
 ID: 030bde93-908b-4a9f-bbae-dbc4bd813989
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 No Proxy: hubproxy.docker.internal
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5555
  <IP_ADDRESS>/8
 Live Restore Enabled: false

Diagnostics ID
8DDFEBFF-B621-4896-983A-FAE27FC2B1B1/20230817175227
Additional Info
I'm running macOS Ventura 13.4.1 (c).
I checked macOS System Settings > Siri & Spotlight > Spotlight, but didn't find any app-specific configuration options.

This issue is duplicated by https://github.com/docker/for-mac/issues/6854

thank you @dryhumor for reporting this bug. This very annoying bug and I would appreciate if it get's resolved at earliest.

Same bug here.
Max OS 14.5 (23F79)
Docker Desktop 4.29.0, 4.31.0
thank you for reporting

Same here. I also have this issue when using raycast (spotlight alternative)
Mac OS 14.3
Docker Desktop 4.28.0

It is driving me nuts.

Same.
Mac OS: 14.6.1
Docker Desktop: 4.32.0 (157355)


Following button background color extends its button container

Browser: Firefox 62.0.3
Operating System: Windows 10 64bit
URL of the problem page: https://medium.freecodecamp.org/how-to-become-more-productive-while-working-less-9b9be71e9141

'Following' button background color extends its button container. Not sure if it was padding or something.

Hi @laurensiusadi!
Thanks for letting me know! I have this fixed in the master branch of this repository, but I'm holding off on updating the extension until I figure out what to do about the profile pages (e.g. https://medium.com/@wowmotty). The extension doesn't detect those pages as a medium page and looks really ugly when partially styled with the UserCSS. The Medium folks styled the page with one & two letter class names, so it's really difficult to deal with it :(


feat: add login feature flag

The type of this PR is: Feature

This PR resolves [CX-1092]
Description

Add Lab Flag for enabling Updated Android Login
Enable feature flags for android. (I tested few available feature flags and things seem to work fine)

https://user-images.githubusercontent.com/11945712/110982552-ee226100-8368-11eb-8f01-5f9a490a161f.mov

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a CHANGELOG.yml entry or my changes do not require one.

@MounirDhahri there's  a failing test, feel free to merge when it's fixed


When using .format() the minute of the output is always 08

Describe the bug
When using the method format the output seems to correct exept the minute part of the time, which always reads 08 or 8 minutes past.
To Reproduce
Steps to reproduce the behavior:
Using the following code I noticed the error
console.log("TIME=",
     moment().tz("Europe/London").format("YYYY-MM-DDTHH:MM:SS")
);

Expected behavior
TIME= 2022-08-06T15:29:39
Actual behaviour
TIME= 2022-08-06T15:08:39
Desktop (please complete the following information):

WSL2
Node.js v18.6.0.

Moment-specific environment
"moment-timezone": "^0.5.34",
Please run the following code in your environment and include the output:
Sat Aug 06 2022 15:29:39 GMT+0100 (British Summer Time)
06/08/2022, 15:29:39

You're trying to format with YYYY-MM-DDTHH:MM:SS, where MM means month, so you get 08 as the month, what you probably mean to use is YYYY-MM-DDTHH:mm:SS (lowercase mm for minutes), see https://momentjs.com/docs/#/parsing/string-format/


Visual diff testing

What feature would you like to have?
Right now we need to test manually to see if the layout/visuals of the app change whenever we update our dependencies.
I think we could probably do some sort of "visual snapshot" testing?
What problem will this feature solve?
Increased confidence updates do not break our layout/visuals.
Do you want to help make the feature?
Yes
Is there anything else we need to know?
No response

A couple of interesting resources for this:

How to actually test UIs: an interesting comparison of different testing resources for checking your UI
How to automate UI tests with Github Actions: useful examples to setup GitHub Actions with Cypress + Storybook + Chromatic

I'm gonna give Applitools a try for this: https://docs.cypress.io/guides/tooling/visual-testing#Tooling


Migration ORM init requires passing entities

Describe the bug
I'm trying to run some migrations completely via SQL scripts passing into method addSql. But initializing the connection to database requires having options entities passed into orm.init. I think it's a bit redundant.
Stack trace
(node:34) UnhandledPromiseRejectionWarning: Error: No entities found, please use `entities` option
    at Configuration.validateOptions (/app/node_modules/@mikro-orm/core/utils/Configuration.js:134:19)
    at new Configuration (/app/node_modules/@mikro-orm/core/utils/Configuration.js:21:18)
    at new MikroORM (/app/node_modules/@mikro-orm/core/MikroORM.js:20:27)
    at Function.init (/app/node_modules/@mikro-orm/core/MikroORM.js:38:21)
    at Migrations.start (/app/src/components/apps/migrations/Migrations.ts:17:36)
    at /app/src/app.ts:15:8
    at Object.<anonymous> (/app/src/app.ts:21:3)
    at Module._compile (internal/modules/cjs/loader.js:1076:30)
    at Module._compile (/app/node_modules/source-map-support/source-map-support.js:547:25)
    at Module.m._compile (/tmp/ts-node-dev-hook-4195075166508704.js:57:33)
    at Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
    at require.extensions.<computed> (/tmp/ts-node-dev-hook-4195075166508704.js:59:20)
    at Object.nodeDevHook [as .ts] (/app/node_modules/ts-node-dev/lib/hook.js:63:13)
    at Module.load (internal/modules/cjs/loader.js:941:32)
    at Function.Module._load (internal/modules/cjs/loader.js:782:14)
    at Module.require (internal/modules/cjs/loader.js:965:19)

To Reproduce
Steps to reproduce the behavior:
        const orm = await MikroORM.init({
            migrations: {
                tableName: "migrations", // name of database table with log of executed transactions
                transactional: true, // wrap each migration in a transaction
                disableForeignKeys: true, // wrap statements with `set foreign_key_checks = 0` or equivalent
                allOrNothing: true, // wrap all migrations in master transaction
                dropTables: true, // allow to disable table dropping
                safe: false, // allow to disable table and column dropping
                emit: "ts", // migration generation mode,
                migrationsList
            },
            type: "mariadb",
            dbName: "main",
            host: "localhost",
            port: 3306,
            user: "root",
            password: "12345678"
        });
        const migrator = orm.getMigrator();
        await migrator.up();
        await orm.close(true);

Expected behavior
no error happens
Versions
4.0.7

You can disable that validation via discovery: { warnWhenNoEntities: false }.

I think it's a bit redundant.

It is there because there were quite a lot of people who had the folder based discovery set up wrongly, and without debug mode enabled you would not see what is wrong, but doing anything with entities would cause "Metadata for entity abc ... found".

ah ok. I guess it only happens when they're using 1 single orm instance for both migrations and API db queries. I think in the case of running migrations, entities shouldn't be involved. I'm actual using 2 separated orm instances. One for running migrations, the other for handling db queries from API server. I also prefer not to use ORM style for db migrations since SQL scripts for DDL a bit more readable and debuggable IMHO. Thanks for the hint Martin.


enhance "Messages"-Component with fixed-floated grouping

In Whatsapp the "date" of a message is shown above the message in the middle of the screen and is fixed at the top while scrolling as long as messages within this date are available. This enhances the usability. Please provide a option to make this available within the component of framework7-messages. Thanks!!

F7 is not a Whatsapp replica, it is not so complex feature to realize manually, just look at position: sticky CSS property or numerous JS "sticky" libraries and plugins

Yes, you are right. The "sticky"-thing is not a complex feature.
However, it is not only about to stick the datetime on the top while scrolling all the messages within a datetime. The thing is, that grouping behaviour of datetime:
For example, having 4 messages with a different datetime but within the same day, then group these messages so that on top it is shown the word "Yesterday" instead of 4 different datetimes for each message with (1. Msg) 30.01.16 12.33, (2. Msg) 30.01.16 12.57, (3. Msg) 30.01.16 13.46, (4. Msg) 30.01.16 14.21. I think, this is a good feature. I know, F7 is not a WP replica and should not be. However, maybe you think also, that this is a nice feature and would enhance the messaging component of F7. A property like "groupMessageByDate" can be there to enable it.


Horizontal scroll for mobile

Loke fleets we could have better interface to consume nfts?
Like
https://www.devcon.org/en/#invite

nvm, we have nice mobile at https://beta.kodadot.xyz and another is coming


Change init_table to be a Fargate Task

init_table can't complete within the Lambda execution time limit for large tables. Those tables then need to be init'd manually.

Resolved in #8


Adding Beast_Prince.md

Added Beast_Prince.md

@BEAST-PRINCE make a new PR in which your name should be same as that in github account


Error while running own instance of the app

I was able to login using the anonymous option. But when I visit the http://localhost:8000/app/dashboard link, I get the following error.

Router: Children of  Router must have a path or default prop, or be a <Redirect>. None found on element type
function Redirect(props) {   return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(     BaseContext.Consumer,     null,     function (_ref7) {       var baseuri = _ref7.baseuri;       return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(         Location,         null,         function (locationContext) {           return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(RedirectImpl, _extends({}, locationContext, { baseuri: baseuri }, props));         }       );     }   ); }

Found a workaround from this thread. Doesn't seem like an ideal solution though
diff --git a/src/pages/app.js b/src/pages/app.js
index e77557f..6d46e70 100644
--- a/src/pages/app.js
+++ b/src/pages/app.js
@@ -9,7 +9,7 @@ import Dashboard from './app/dashboard';
 const App = () => (
   <Wrapper>
     <Router>
-      <Redirect noThrow from="/app" to="/app/dashboard" exact />
+      <Redirect noThrow path="/app" to="/app/dashboard" exact />
       <PrivateRoute path="/app/dashboard" component={Dashboard} />
       <PrivateRoute path="/app/builder/:id" component={Builder} />
       <NotFound default />
diff --git a/src/pages/r.js b/src/pages/r.js
index 5392c59..9cc01d8 100644
--- a/src/pages/r.js
+++ b/src/pages/r.js
@@ -7,7 +7,7 @@ import NotFound from './404';
 const ResumeRouter = () => (
   <Wrapper>
     <Router>
-      <Redirect noThrow from="/r" to="/" exact />
+      <Redirect noThrow path="/r" to="/" exact />
       <ResumeViewer path="r/:id" />
       <NotFound default />
     </Router>

Thanks mate, its working now.

I don't think the issue should be closed since there isn't a solution yet. The workaround above just bypasses the problem of webpack and the hot loader not working well together.
Here is the relevant Gatsby issue: https://github.com/gatsbyjs/gatsby/issues/11934
The problem is only seen while running the development server. If you use npm run build && npm run serve, the issue isn't seen.
There are two solutions listed in the link above:

Use @hot-loader/react-dom

Use fast-refresh as the hot loader as react-hot-loader is being deprecated. Adding GATSBY_HOT_LOADER=fast-refresh to the .env file is confirmed to work with npm run start

I think solution 2 is the way to go since react-hot-loader is being deprecated.

I prematurely closed the issue, my mistake. I'm new to git and react.

No worries! The author, @AmruthPillai, can re-open the issue if he wishes.
Thanks for filing the issue in the first place, it helped me realize I wasn't the only one seeing the problem.

Will look into this :) Thank you for bringing it to my attention @robert-w-gries and @Mohan-cloud!

Setting the default prop in <Redirect noThrow from="/app" to="/app/dashboard" exact default /> fixed the issue for me

Setting the default prop in <Redirect noThrow from="/app" to="/app/dashboard" exact default /> fixed the issue for me

This also fixed it for me.

Closing this in favor of Reactive Resume v3 release.
If you continue to face this issue, please raise a new one and I'll have a look at it as soon as I can.
In the meantime, if you are able to, please consider donating to keep supporting the project: https://www.buymeacoffee.com/AmruthPillai :)
Thank you!


App Service Managed Certificate

How to create and assign an App Service Managed Certificate to the app service via Powershell?

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

ID: b2906753-7656-ef4d-0de9-7e238181e3e1
Version Independent ID: 66dcb903-38dd-858b-dfb4-8a8dafaa0930
Content: Secure a custom DNS with a TLS/SSL binding - Azure App Service
Content Source: articles/app-service/configure-ssl-bindings.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@leonmeijer Thanks for the feedback! We are taking a look into this and will get back to you soon.

@leonmeijer Thanks for the feedback! We are taking a look into this and will get back to you soon.

@leonmeijer Thanks again for the feedback! You may refer to Current workaround script to use with PowerShell

@leonmeijer Thanks again for the feedback! You may refer to Current workaround script to use with PowerShell

@leonmeijer We will now close this out but if you feel you need more information please just let us know.

@leonmeijer We will now close this out but if you feel you need more information please just let us know.


How do I configure this plugin from Spyder?

I know this is not really your concern as this plug-in is host IDE agnostic. However you might know so I thought I'd ask. From the readme:

Depending on your editor, the configuration (found in a file called pylsp-mypy.cfg in your workspace or a parent directory) should be roughly like this for a standard configuration:

I'm more used to seeing config like this (from tomv564/pyls-mypy):
"pyls":
{
    "plugins":
    {
        "pyls_mypy":
        {
            "enabled": true,
            "live_mode": false
        }
    }
}

Which I think is how I enter config for jupyterlab's lsp. However in this fork's readme you just have a single array not some nested hierarchy:
{
    "enabled": True,
    "overrides": ["--python-executable", "/home/me/bin/python", True]
}

So how do I enter that for Spyder, any ideas?

Fwiw there's no pylsp-mypy.cfg  I can find and it doesn't help if I make one in the root folder of my project, maybe Spyder does not use the same mechanism as other ides

Sorry for not responding to your last issue. Feel free to leave them open. If I don't respond, that does not mean I wont, that means, I haven't had time yet (And/Or no idea how to help you yet).
First things first, I use this with spyder and specifically wrote/adapted it to use it with spyder, therefore I would like to assure you, that you will get it working with spyder. Furthermore this should be IDE agnostic. Some IDEs provide neat ways to pass configs. Spyder does not (as far as I am aware please correct me otherwise), therefore we have to use config files, but other than that the only uncertainty I am not completely sure about is how the root path for the diagnostic is determined. This might also be provided by the IDE. However, this should not be an issue.
The first config option is how you would configure the server to tell the plugin which configs to use. I am reasonably sure, that this would also work with the present code given the plugin name is specified correctly. However I never figured out where I am supposed to place that config file (I would be glad if you could tell me). Therefore, I wrote a different system (giving the plugin its own config file, which is structured like the second code you posted). This config files only contains the options of this plugin therefore only the last dict in the nested hierarchy. Such a config file does not exist by default, you have to create it. If named correctly and placed in the root folder of your project or a parent directory, the plugin should find it. If it does not, I would like to ask you how your project is set up. Please be very specific about your folder structure and python environments. Also please provide a pip list.

Sorry for not responding to your last issue. Feel free to leave them open. If I don't respond, that does not mean I wont, that means, I haven't had time yet (And/Or no idea how to help you yet).
No worries, I actually closed the last issue because I felt it was less clear than opening a fresh one like this. But thanks for the reassurance :)!

Regarding this issue, I've made a bit of progress:

Firstly, I opened an issue over in spyder and got this response https://github.com/spyder-ide/spyder/issues/17152#issuecomment-1008084770. Essentially "unfortunately, it's not possible for third-party plugins of the PyLSP to access or extend [the configuration] mechanism, and I can't think of an easy way to allow for that [...] Eventually, we plan to integrate that plugin in Spyder, and then we'll offer an easy way to configure it.". So you've done the right thing making an additional config file as Spyder only supports a certain hardcoded subset of lsp plugins with its internal config mechanism.
Secondly, I added some print-to-file logging my local copy of plugin.py file (incidentally, where  does the logging you've included  - e.g. https://github.com/Richardk2n/pylsp-mypy/blob/master/pylsp_mypy/plugin.py#L72 - actually go to in Spyder?). It showed that the "workspace" dir is not the cwd displayed in the top right but the root of my Spyder project. As it happens the cfg file actually is being picked up correctly, I was on a slightly older version of this plugin where "overrides" were not fully implemented so I was confused when nothing happened.

Anyway, thanks for explaining the thought process behind the configs, I feel I've learnt enough to debug it myself now (to some extent)

In regards to the logs:
Spyder runs the language server that in turns runs the plugins as a subprocess. If you are confident you can hook into the output of this python subprocess. Otherwise, there is also a log file in your spyder directory. On Linux it is ~/.config/spyder-py3, on WIndows it is in your users directory under .spyder-py3
In this folder go to the folder lsp_logs, the server log file is what you want.
Thanks for the information, I always assumed the root of the project the be the cwd as as far as I know, this is the usual usecase. Thanks for the heads up.
If you need additional help feel free to ask, otherwise feel free to close the issue once you have got it working.


Add children to RadialGradientProps

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.

Here is the diff that solved my problem:
diff --git a/node_modules/react-native-svg/src/index.d.ts b/node_modules/react-native-svg/src/index.d.ts
index 891a99d..112f6ba 100644
--- a/node_modules/react-native-svg/src/index.d.ts
+++ b/node_modules/react-native-svg/src/index.d.ts
@@ -365,6 +365,7 @@ export interface RadialGradientProps {
   gradientUnits?: Units;
   gradientTransform?: ColumnMajorTransformMatrix | string;
   id?: string;
+  children?: React.ReactNode;
 }
 export const RadialGradient: React.ComponentClass<RadialGradientProps>;
 export type RadialGradient = React.ComponentClass<RadialGradientProps>;

This issue body was partially generated by patch-package.

Thanks for submitting an issue! I believe this has been already solved in the newer versions of the library, as you can see here: https://github.com/software-mansion/react-native-svg/blob/b3dc36ab01d5b6e6335e30f0f442099a3dedef16/src/elements/RadialGradient.tsx#L10. I will close this issue then. Feel free to comment here if something is wrong and we can always reopen it then.


[Preliminaries and State Space Models]

Dear @xmindflow ,
Here is our new paper on the S7 architecture:
S7: Selective and Simplified State Space Layers for Sequence Modeling
https://arxiv.org/abs/2410.03464

Hi Nikola, thank you for your interest in our work. We have added your paper to the repository.


mesh: Fix and clean up iv update procedure

This patch fixes issue when receiving iv index greater than current
index + 42 in update mode. According to Specification when node is in update
state it should only accept iv index equal to the current iv index. When
node is in normal mode it should ignore index that is greater than current
index + 42.
This allows to pass MESH/NODE/IVU/BI-02-C.
Also this patch cleans up the iv update procedure, to make it easier to
read.

@jhedberg FYI

Updates according to @jhedberg's comments.


Fix @types/superagent has no default export

Fix @types/superagent has no default export.
Although this might be an issue with the "@types/superagent": "^4.1.0" type definition.
With typescript "strict": true, config enabled, doesn't allow implicit any type.
TS1192: Module '"C:/_/node_modules/@types/superagent/index"' has no default export.

TS7006: Parameter 'error' implicitly has an 'any' type.

TS7006: Parameter 'response' implicitly has an 'any' type.

Thanks for contributing @scottc!
Looks good! Quick question: Would an updated version of the @types/superagent+superagent packages help address this as well?

I tried:
<EMAIL_ADDRESS>// latest
<EMAIL_ADDRESS>// doesn't exist
<EMAIL_ADDRESS>
<EMAIL_ADDRESS>// latest
<EMAIL_ADDRESS>// currently used by swagger-typescript-codegen
<EMAIL_ADDRESS>
All versions listed above export via exports = module.exports = request;
https://github.com/visionmedia/superagent/blob/8580c4f5c4f515fdc2f703b41f0affed4613e958/lib/node/index.js#L47
In ES5, the equivalent of an ES6 default export would be module.exports.default = request;
So I'm inclined to believe that the @types/superagent typedef package is correct / accurate.
// single import
const get = require('superagent').get;
import { get } from "superagent";

// entire module import
const request = require('superagent');
import * as request from "superagent";

// default import
const request = require('superagent').default;
import request from "superagent";

If this is confusing, might be worth making a pull request to superagent, to expose request as the default export.

Thanks for clarifying!
Might be worth doing the PR against superagent, but not that urgent IMO. If we see confusion around this though we can do that sooner.
Thanks for fixing this!

@scottc - Merged and published as 1.9.4

FYI, there's a new major release 5.0.0 for superagent pending, with changes regarding packaging. It could be released soon, possibly in the next few hours. Although I'm no expert, this could impact importing as well. See here: https://github.com/visionmedia/superagent/pull/1423

Thanks for the heads up @sbusch! Will be interesting to try out that version


OpFunctionCall type matching validation includes storage class, is that correct?

OpTypeFunction always defines its parameters with the Function storage class. When calling the function, the passed-in variable may have a different storage class. It doesn't seem right to expect the storage classes to match, as otherwise it means the variable needs to be copied to a local variable in the caller just to get the storage classes identical (which is what glslang does).

For clarification, you are asking about pointer parameters to a function correct? If so, yes the storage classes must match. An implementation likely addresses Function and StorageBuffer (as an example) very differently which would lead to incorrect code generation if you coerced the storage class.
You can either do what glslang does (make a Function variable in the caller), load the value in the caller (if possible) and pass as non-pointer value or make a version of the callee with the right storage class.

@alan-baker your example makes sense. Since I wrote this, I also learned that you can specify non-Function storage in parameters, so this limitation really only affects sending Private, Input and Output variables to a function (which would require a load/store to a local variable).
It would have been nice if you could send those directly to a function, but not worth making an exception for.


'Object at index 0 is null' error after hitting play, with custom MRTK pointer profiles

Describe the bug
I am getting the following errors in play mode in my Unity editor, after I have create custom MRTK pointer profile in my scene
ArgumentException: Object at index 0 is null
UnityEditor.SerializedObject..ctor (UnityEngine.Object[] objs, UnityEngine.Object context) (at C:/buildslave/unity/build/Editor/Mono/SerializedObject.bindings.cs:39)
UnityEditor.Editor.GetSerializedObjectInternal () (at C:/buildslave/unity/build/Editor/Mono/Inspector/Editor.cs:526)
UnityEditor.Editor.get_serializedObject () (at C:/buildslave/unity/build/Editor/Mono/Inspector/Editor.cs:433)
Microsoft.MixedReality.Toolkit.Input.Editor.MixedRealityPointerProfileInspector.OnEnable () (at Assets/MRTK/Core/Inspectors/Profiles/MixedRealityPointerProfileInspector.cs:40)

A clear and concise description of what the bug is.
To reproduce
Steps to reproduce the behavior:

Make custom MRTK pointer profile
Hit play

Your setup (please complete the following information)

Unity Version 2018.4.20f1
MRTK Version 2.4 stabilization

Target platform (please complete the following information)

Editor

Seems related to #5935 . Reestarting Unity should remove the error.

Doesn't repro in 2.4 stabilization resolving as closed in favor of 5935.


Completion confirmation

Currently, when using lsp with typescript-language-server (tsserver in nvim-lspconfig) confirmation doesn't seem to trigger completion resolve, so automatic imports are not triggered.
I'm creating this issue to track following

We should use this https://github.com/hrsh7th/vim-vital-vs/blob/master/autoload/vital/vital/VS/LSP/CompletionItem.vim

We should use this https://github.com/hrsh7th/vim-vital-vs/blob/master/autoload/vital/vital/VS/LSP/CompletionItem.vim


Why not update playground schema?

trying to adding new elements in schema and run the server, dont show the changes aplyied
why dont update schema in the playground?
i found a solution is it change in launchSettings.json
"applicationUrl": "http://localhost:5002", to  "applicationUrl": "http://localhost:5003"
increasing by one
is a solution not trusted
any know this problem?

Seems like the schema is cached in the browser.
In playground you can refresh the schema here:

in banacak pop here:

Using Insomnia Core to test Graphql server is more confortable, thanks


FFT bench print CPU info

This change is

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.90%. Comparing base (8c8b744) to head (a09649e).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #870   +/-   ##
=======================================
  Coverage   91.90%   91.90%
=======================================
  Files          92       92
  Lines       12604    12604
  Branches    12604    12604
=======================================
  Hits        11584    11584
  Misses        910      910
  Partials      110      110

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.