react preset is not applied to node_modules when jsnext is true

I know that the title doesn't help, but I've created an example repo here.
If you use preact as alternative to react and bundle everything with jsnext: false it works just fine.
When you set instead jsnext: true, preact happens to be an ES6 module, so it has to be converted by babel. I've included it in include but the compilation fails because preact-compat/src/index.js includes some JSX code.
I don't understand why the JSX in my index.js is converted just fine (I'm using react preset) while the JSX in node_modules isn't.

This PR kinda fix it developit/preact-compat#144 but it's still weird that babel config is not applied on node modules

Closing this as outdated, I hope you have worked around your issue. Feel free to open a new one it stays unresolved.


Move Scalar Subquery validation logic to the Analyzer

Which issue does this PR close?

Closes #.
Rationale for this change
Leverage the out reference columns to do validation, and join filter extraction. Avoid duplicate logic among the decorrelation rules.

What changes are included in this PR?

Move the Scalar Subquery validation logic from the rule ScalarSubqueryToJoin to Analyzer
Add more validations for Scalar Subquery
Clean up join filter extraction logic in the rule ScalarSubqueryToJoin, avoid duplication logic with other rules.

Are these changes tested?

Are there any user-facing changes?

@jackwener
Would you please help to take a look at this PR?

I am reviewing this now

I will help review this PR tomorrow morning

🚀

I will merge this PR and continue working on following improvement.


Sample Needed for Azure Stack keyvault

[ ] bug report
[x] request for new sample
[ ] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Expected behavior:
A keyvault sample would be helpful /keyvault/hybrid

Is this a docs improvement/addition?
I'm new to probably everything except knowing basic golang but would like to work on this if pointed in the right direction. Would take time to complete though.


release-Sentinel-2023-02-01

Please note all PRs to this branch have already been reviewed and approved by Swagger team and ARM. No need for addition ARM review.

/azp run


position pods correctly

fixed in #17
(could replicate the “no visible” on someone else’s computer today, but not on my own, don’t know why)


[Android] emulate syncFence behavior on ImageReader's before API33

The ImageReader itself performs no additional synchronization before returning the next Image. IF we do not have access to the syncFence API, then we can emulate the fence behavior by accessing the image bytes and forcing the image reader to synchronize it.
getPlanes()[0].getBuffer()

@jonahwilliams from android triage - is this something you are working on, and if so, would you mind assigning yourself? If not thats fine too, just want to know for triage flow

Not working on it :)

Note from triage: The Android team is not clear on what needs to happen here. @jonahwilliams Can you please update the issue to better answer what should be done or close it?

If the syncFence code (whichis API 33+ only) code can't run then our platform views/texture interop is running unsynchronized: https://github.com/flutter/engine/blob/a2ed373fa70fd43cd8121e3c7e59bbb5ae6917db/shell/platform/android/io/flutter/embedding/engine/renderer/FlutterRenderer.java#L691-L698

@jonahwilliams what is the consequence to users if our platform views/texture interop is running unsynchronized? Does this mean that our code has always been broken and we gained the ability to fix it in api 33+ or that starting in api 33+ if we dont take some action then the code is broken.

Potentially always been broken


deps: bump vllm-tgis-adapter to 0.2.4

https://github.com/opendatahub-io/vllm-tgis-adapter/releases/tag/0.2.4
Required for compatibility with vLLM 0.5.4

/test smoke-test

Superseded by #127


How can i override the Ajax request URL

So i have a twig template which  uses ajax to load the desired content of different tabs ( different routes and templates etc.
One of those tabs should contain the datatable. but whenever i try to initialize the Datatable it uses the url of the Tab-Overview. and not the url of the loaded content (kinda obvius).
I tryed to pass the ajax url in different places but i won't work. i saw somehwere in your code that the ajax url is set to the window.location which is mostly okay, but in my case it sucks.
And i can't find a way to override it. and there is no documentation on passing the option arguments like this in php to the datatableFactory other then the config in the .yml ( which is no option because i have serveral uses of datatables in the app)
Any help is highly appreciated :D

Okay maybe someone could add this to the docu :)
clientside :
var datatableSettings = {{ datatable_settings(datatable)}}
datatableSettings['url']= 'Your desired URL'
$('#PoolList').initDataTables(datatableSettings,
...
)


Implement clone

Implemented .clone(isDeepCopy as Boolean) for ifSGNodeDict interface. Both shallow and deep clones copy Fields but only the deep clone copies Children.
Added associated unit and e2e tests.

@anyatokar this project is stalled and the Roku Community has forked it (see @sjbarag suggestion on https://github.com/sjbarag/brs/issues/681) do you mind re-pushing your PR on https://github.com/rokucommunity/brs ?


Why no update for such a great app

Hello
I'm wondering why developer @devfake left such a wonderful watch list to dry?

I guess they no longer have that itch to scratch. I can't code to save my life, so I wish someone would fork it and continue to develop.
Flox really is the best experience I've found for watchlists.

Sadly no releases for a long time. Maybe look at https://github.com/bonukai/MediaTracker

Sadly no releases for a long time. Maybe look at https://github.com/bonukai/MediaTracker

Thanks for the tip! I appreciate how they link similar projects for comparison. Classy.

I guess they no longer have that itch to scratch. I can't code to save my life ((edit to remove a wish for forks. There is a fork as recent as last month that updates python support. Several before that. I'll be trying them out soon!!))

Looking forward to hear from you.
Can you please tell me about the newly updated docker ones?

Flox really is the best experience I've found for watchlists.

Exactly same here, simple clean and all you need.

Looking forward to hear from you. Can you please tell me about the newly updated docker ones?

I'm switching 100% to MediaTracker. The Docker image works great, and it now tracks video game and book releases! Simple multi-user support and expanded rating and review system.
It took a few minutes to adjust to the different user interface, but lookups are fast and the UI is very responsive. Even easier to navigate on my phone than Flox.
The only downside is there isn't any way to migrate data from Flox which I find minor because I could never do anything useful with it's import/export feature in the first place. I never expected that data to be portable.

@choochus I tried it few weeks ago but the UI wasn't something I was looking for plus the over-killing it with options wasn't a good idea in my opinion either.
Still using Flox as of today, something I found problematic is that the login is not working behind a proxy manager in my case Nginx Proxy Manager.

Up for @AuthorShin @choochus and @devfake . Just to be sure you saw my previous message. Have a nice day.

@Simounet Hi, Thank you for mentioning it here and thank you for updating the project.


Version <IP_ADDRESS>

Looks like there was a hotfix yesterday and now android clients are getting a warning that the server version is outdated.
The version it shows in the client is <IP_ADDRESS> so can you provide an update for a pinned ENV version?
I changed the VERSION to LATEST for now but prefer to use pinned versions whenever possible.
Thanks.

This is now pushed to Docker Hub.


More troops in AiV-editor

At the moment you can only place 10 units of one figure in the AiV-editor. But some castles are so big that some areas are barely protected due to the lack of bowmen ect.. So is there are way to increase the limit from 10 figures to something like 20? Thereby you can balance some castles easily by yourself.
ps: If that's possible it would make my day! :D

Can it also be fixed that Sultan will put Arabian archers on walls or towers if an AIV is made for him with Arabian archer positions on the walls or towers?

That is an unrelated issue - but ofc, still an issue - as one can already place archer spots for Sultan, he just doesn't use them.
Providing additional spots to place in the AIV editor is a different thing to that.
Something to keep in mind though: Currently, for troops spots the AI distributes a fixed total amount of troops (per unit type) among all troop spots of that type. If you just add more spots, that means less troops per spot, only distributing the (same) total amount of troops over more places without actually increasing the total amount of troops.
In order to really make use of the additional troop spots (or even of the existing 10 spots, for some AI characters), the used total amounts of troops would have to be increased as well, along with improvements to the way the AI handles the "usage" / manning of those spots.

Can it also be fixed that Sultan will put Arabian archers on walls or towers if an AIV is made for him with Arabian archer positions on the walls or towers?

That is an unrelated issue - but ofc, still an issue - as one can already place archer spots for Sultan, he just doesn't use them.
Providing additional spots to place in the AIV editor is a different thing to that.

I would love to be able to put Arabian archers on Sultan's vanilla lookout towers and his slingers can be on the walls. That would make him not so useless against enemy missile units.

Something to keep in mind though: Currently, for troops spots the AI distributes a fixed total amount of troops (per unit type) among all troop spots of that type. If you just add more spots, that means less troops per spot, only distributing the (same) total amount of troops over more places without actually increasing the total amount of troops.
In order to really make use of the additional troop spots (or even of the existing 10 spots, for some AI characters), the used total amounts of troops would have to be increased as well, along with improvements to the way the AI handles the "usage" / manning of those spots.

The first AI that needs to be changed in terms of number of defensive archers is King Phillip, he only puts one or two archers in one spot from my experience (maybe 3 eventually in the game?) :(

The thing is increasing the limit of the unit positions doesn't necessarily mean that the AI will use them.
Doesn't work for the siege / tower engines correctly as well. Up to 6 of one type are built, the others not.

So is there a way to test if additional unit positions do work after all?
Maybe you could fix this issue in an other way: if it is possible to give the Wolf for example some unit positions for a unit he doesn't recute normaly (Spearman for example) and instead of this unit a Bowman or Crossbowman will take it's Position?


Convert InstancedMeshSceneNode to use Compute shaders instead of Transform Feedback

This is because Mobile GPUs do not have Transform Feedback

kind of absorbed by #303


Consider using NSError userInfo providers

We might want to start using the NSError userInfo provider support in iOS 9 / OSX 10.11. If we use that we can stop using our custom error bridging (though we'd still need to keep it around for iOS 8 / OSX 10.10). Getting rid of the error bridging means errors created by the Obj-C API can be consumed by Swift code (and vice versa).

Swift 3 has brand new NSError bridging support, so we can get rid of our hacky bridging and use the CustomNSError protocol instead.


[interop] Ensure an FRT or a pointer to struct/class gets a Swift typ…

…e name for a C++ template parameter
In the follow-up, I should also expand this to cover pointers to builtin types too, but for now lets go with a miminal fix here

@swift-ci please test

@swift-ci please test source compatibility


Gitea in cluster works only on one node

Gitea Version
1.15.6
Git Version
No response
Operating System
Orcalce Linux 8.4
How are you running Gitea?
I use Consul + Nomad on 3 nodes + docker image. I've tried gitea/gitea:latest and gitea/gitea:latest-rootless
Database
PostgreSQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
I have a problem with deploying Gitea in the cluster. If I have one node the Gitea works fine. But if there are more nodes docker containers on other nodes restarted. For example, the first instance is a node0 and the Gitea instance on the node0 will work, but on node1 & node2 this one didn't work. I also tried don't use the orchestrator and just run docker images on two physical hosts instead of VMs. Same problem:
Gitea rootless:
2021/11/18 04:39:27 cmd/web.go:196:listen() [I] Listen: http://<IP_ADDRESS>:3000
2021/11/18 04:39:27 cmd/web.go:199:listen() [I] LFS server enabled
2021/11/18 04:39:27 ...s/graceful/server.go:62:NewServer() [I] Starting new Web server: tcp:<IP_ADDRESS>:3000 on PID: 1
2021/11/18 04:39:27 ...s/graceful/server.go:75:func1() [D] Starting server on tcp:<IP_ADDRESS>:3000 (PID: 1)
2021/11/18 04:39:30 Started GET / for <IP_ADDRESS>:41846
2021/11/18 04:39:30 ...s/context/context.go:751:1() [D] Session ID: fcc27658b31b6efc
2021/11/18 04:39:30 ...s/context/context.go:752:1() [D] CSRF Token: CzBhBzggnxWYm7lbes3w0ZZ484E6MTYzNzIxMDM3MDU1MDIxNjIwMg
2021/11/18 04:39:30 ...s/context/context.go:185:HTML() [D] Template: home
2021/11/18 04:39:30 Completed GET / 200 OK in 11.320454ms
2021/11/18 04:39:36 ...ource/manager_run.go:40:Run() [T] Event source has no listeners
2021/11/18 04:39:36 ...ource/manager_run.go:50:Run() [T] Pausing the eventsource
2021/11/18 04:39:40 Started GET / for <IP_ADDRESS>:42116
2021/11/18 04:39:40 ...s/context/context.go:751:1() [D] Session ID: 9ea9071af68d6af9
2021/11/18 04:39:40 ...s/context/context.go:752:1() [D] CSRF Token: cuDQKd2oObZ4X3Px5cdtlJI3-TA6MTYzNzIxMDM4MDU2MjA4NzU2Ng
2021/11/18 04:39:40 ...s/context/context.go:185:HTML() [D] Template: home
2021/11/18 04:39:40 Completed GET / 200 OK in 8.460325ms
2021/11/18 04:39:50 Started GET / for <IP_ADDRESS>:42328
2021/11/18 04:39:50 ...s/context/context.go:751:1() [D] Session ID: 0ab8f1edab76d3d7
2021/11/18 04:39:50 ...s/context/context.go:752:1() [D] CSRF Token: 1roB0bBeXhH6G5f4ntleRPt3tgY6MTYzNzIxMDM5MDU3MTAwNDA1Ng
2021/11/18 04:39:50 ...s/context/context.go:185:HTML() [D] Template: home
2021/11/18 04:39:50 Completed GET / 200 OK in 7.808446ms
2021/11/18 04:40:00 Started GET / for <IP_ADDRESS>:42610
2021/11/18 04:40:00 ...s/context/context.go:751:1() [D] Session ID: ad126567e24e5ce8
2021/11/18 04:40:00 ...s/context/context.go:752:1() [D] CSRF Token: uIjTU_rnUG8rx81Qkx7bRM7ltqM6MTYzNzIxMDQwMDU3ODc1NTk2NQ
2021/11/18 04:40:00 ...s/context/context.go:185:HTML() [D] Template: home
2021/11/18 04:40:00 Completed GET / 200 OK in 6.643954ms
2021/11/18 04:40:10 Started GET / for <IP_ADDRESS>:42908
2021/11/18 04:40:10 ...s/context/context.go:751:1() [D] Session ID: b24f9e3ef30c6248
2021/11/18 04:40:10 ...s/context/context.go:752:1() [D] CSRF Token: 0ojrEiMPAGyqMfTgKoxD9368hEo6MTYzNzIxMDQxMDU4NjY5OTc4Mg
2021/11/18 04:40:10 ...s/context/context.go:185:HTML() [D] Template: home
2021/11/18 04:40:10 Completed GET / 200 OK in 6.780851ms
2021/11/18 04:40:20 Started GET / for <IP_ADDRESS>:43210
2021/11/18 04:40:20 ...s/context/context.go:751:1() [D] Session ID: cb7748a797641ed1
2021/11/18 04:40:20 ...s/context/context.go:752:1() [D] CSRF Token: vPSWMrfx82sXNA52ChooNM2AJP46MTYzNzIxMDQyMDU5NDE3NTg0OQ
2021/11/18 04:40:20 ...s/context/context.go:185:HTML() [D] Template: home
2021/11/18 04:40:20 Completed GET / 200 OK in 5.610022ms
2021/11/18 04:40:30 Started GET / for <IP_ADDRESS>:43464
2021/11/18 04:40:30 ...s/context/context.go:751:1() [D] Session ID: 0b33c1ed22d99bdc
2021/11/18 04:40:30 ...s/context/context.go:752:1() [D] CSRF Token: dN0fLK6f7JVOcQMxhPK2kFowOcA6MTYzNzIxMDQzMDYwMzYxMjA4Ng
2021/11/18 04:40:30 ...s/context/context.go:185:HTML() [D] Template: home
2021/11/18 04:40:30 Completed GET / 200 OK in 7.657606ms
2021/11/18 04:40:40 Started GET / for <IP_ADDRESS>:43774
2021/11/18 04:40:40 ...s/context/context.go:751:1() [D] Session ID: 3a7dbf98072a16f3
2021/11/18 04:40:40 ...s/context/context.go:752:1() [D] CSRF Token: ZjLzGxQmP-zH9G0-tyhBc5b1zPo6MTYzNzIxMDQ0MDYxMjgxMzg3MA
2021/11/18 04:40:40 ...s/context/context.go:185:HTML() [D] Template: home
2021/11/18 04:40:40 Completed GET / 200 OK in 7.760696ms
2021/11/18 04:40:45 ...ueue_disk_channel.go:145:Run() [F] Unable to create internal queue for push_update Error: Unable to create queue level for push_update with cfg queue.LevelQueueConfiguration{ByteFIFOQueueConfiguration:queue.ByteFIFOQueueConfiguration{WorkerPoolConfiguration:queue.WorkerPoolConfiguration{QueueLength:20, BatchLength:20, BlockTimeout:1000000000, BoostTimeout:300000000000, BoostWorkers:1, MaxWorkers:5}, Workers:0, Name:"push_update-level", WaitOnEmpty:false}, DataDir:"/data/gitea/queues/common", ConnectionString:"", QueueName:""} by max attempts: error: resource temporarily unavailable

Gitea (root)
2021/11/18 11:04:52 cmd/web.go:196:listen() [I] Listen: http://<IP_ADDRESS>:3000
2021/11/18 11:04:52 cmd/web.go:199:listen() [I] LFS server enabled
2021/11/18 11:04:52 ...s/graceful/server.go:62:NewServer() [I] Starting new Web server: tcp:<IP_ADDRESS>:3000 on PID: 17
2021/11/18 11:04:52 ...s/graceful/server.go:75:func1() [D] Starting server on tcp:<IP_ADDRESS>:3000 (PID: 17)
2021/11/18 11:05:01 ...ource/manager_run.go:40:Run() [T] Event source has no listeners
2021/11/18 11:05:01 ...ource/manager_run.go:50:Run() [T] Pausing the eventsource
2021/11/18 11:05:57 Started GET / for <IP_ADDRESS>:48564
2021/11/18 11:05:57 ...s/context/context.go:751:1() [D] Session ID: eeb9c04b4af35239
2021/11/18 11:05:57 ...s/context/context.go:752:1() [D] CSRF Token: LYO984feAA3yKVcAnaz20Sei6ZI6MTYzNzIyMjc1NzUxNjA3NzM5Mw
2021/11/18 11:05:57 ...s/context/context.go:185:HTML() [D] Template: home
2021/11/18 11:05:57 Completed GET / 200 OK in 8.510021ms
2021/11/18 11:05:57 Started GET /assets/img/logo.svg for <IP_ADDRESS>:48566
2021/11/18 11:05:57 Started GET /assets/css/index.css?v=66b87c123c0ab767e55d95c43d170494 for <IP_ADDRESS>:48564
2021/11/18 11:05:57 Completed GET /assets/img/logo.svg 200 OK in 5.448293ms
2021/11/18 11:05:57 Completed GET /assets/css/index.css?v=66b87c123c0ab767e55d95c43d170494 200 OK in 6.093715ms
2021/11/18 11:05:57 Started GET /assets/js/index.js?v=66b87c123c0ab767e55d95c43d170494 for <IP_ADDRESS>:48566
2021/11/18 11:05:57 Completed GET /assets/js/index.js?v=66b87c123c0ab767e55d95c43d170494 200 OK in 10.267137ms
2021/11/18 11:05:57 Started GET /assets/img/favicon.png for <IP_ADDRESS>:48566
2021/11/18 11:05:57 Completed GET /assets/img/favicon.png 200 OK in 2.086707ms
2021/11/18 11:06:10 ...ueue_disk_channel.go:145:Run() [F] Unable to create internal queue for notification-service Error: Unable to create queue level for notification-service with cfg queue.LevelQueueConfiguration{ByteFIFOQueueConfiguration:queue.ByteFIFOQueueConfiguration{WorkerPoolConfiguration:queue.WorkerPoolConfiguration{QueueLength:20, BatchLength:20, BlockTimeout:1000000000, BoostTimeout:300000000000, BoostWorkers:1, MaxWorkers:5}, Workers:0, Name:"notification-service-level", WaitOnEmpty:false}, DataDir:"/data/gitea/queues/common", ConnectionString:"", QueueName:""} by max attempts: error: resource temporarily unavailable
Received signal 15; terminating.

Configuration (located on raid 1):
APP_NAME = Gitea: Git with a cup of tea
RUN_MODE = prod
RUN_USER = git

[repository]
ROOT = /data/git/repositories

[repository.local]
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo

[repository.upload]
TEMP_PATH = /data/gitea/uploads

[server]
APP_DATA_PATH    = /data/gitea
DOMAIN           = git.homedatasrv.ru
SSH_DOMAIN       = ssh.homedatasrv.ru
HTTP_PORT        = 3000
ROOT_URL         = https://git.homedatasrv.ru/
DISABLE_SSH      = false
SSH_PORT         = 2222
SSH_LISTEN_PORT  = 2222
LFS_START_SERVER = true
LFS_CONTENT_PATH = /data/git/lfs
LFS_JWT_SECRET   = 1bmqEfFlGLi_YvY5XlWOetAKGnl3NelSAiEV2oXGVNg
OFFLINE_MODE     = false

[database]
PATH     = /data/gitea/gitea.db
DB_TYPE  = postgres
HOST     = srv1.prod:5432
NAME     = gitea
USER     = gitea
PASSWD   = gitea
LOG_SQL  = true
SCHEMA   =
SSL_MODE = disable
CHARSET  = utf8

[indexer]
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
#ISSUE_INDEXER_TYPE = db

[session]
PROVIDER_CONFIG = /data/gitea/sessions
PROVIDER        = file

[picture]
AVATAR_UPLOAD_PATH            = /data/gitea/avatars
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
DISABLE_GRAVATAR              = false
ENABLE_FEDERATED_AVATAR       = true

[attachment]
PATH = /data/gitea/attachments

[log]
MODE      = console
LEVEL     = trace
ROUTER    = console
ROOT_PATH = /data/gitea/log

[security]
INSTALL_LOCK                  = true
SECRET_KEY                    = RUaoJDuxDyNi2vZgPRzuv3Q2LaTJQC04XEKZ1AXooCKIuoJXV00hQA9HwrpN7E7K
REVERSE_PROXY_LIMIT           = 1
REVERSE_PROXY_TRUSTED_PROXIES = *
INTERNAL_TOKEN                = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE2MzIyNDM2NzJ9.rdWKPA4L7CYvZdvQBgF2N5uQ4e9vaZqM_bPiVHSZGSM
PASSWORD_HASH_ALGO            = pbkdf2
IMPORT_LOCAL_PATHS            = true

[service]
DISABLE_REGISTRATION              = true
REQUIRE_SIGNIN_VIEW               = true
REGISTER_EMAIL_CONFIRM            = true
ENABLE_NOTIFY_MAIL                = true
ALLOW_ONLY_EXTERNAL_REGISTRATION  = false
ENABLE_CAPTCHA                    = false
DEFAULT_KEEP_EMAIL_PRIVATE        = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING       = true
NO_REPLY_ADDRESS                  = noreply.localhost

[mailer]
ENABLED = false

[openid]
ENABLE_OPENID_SIGNIN = true
ENABLE_OPENID_SIGNUP = true

[migrations]
ALLOW_LOCALNETWORKS = true

[ui]
THEMES = gitea,arc-green, gitea-modern

Docker-compose file (on the hosts for test):
networks:
  gitea-backend:
    ipam:
      config:
        - subnet: <IP_ADDRESS>/24
    external: false

services:
  server:
    image: gitea/gitea:latest
    environment:
      - GITEA__database__DB_TYPE=postgres
      - GITEA__database__HOST=srv1.prod:5432
      - GITEA__database__NAME=gitea
      - GITEA__database__USER=gitea
      - GITEA__database__PASSWD=gitea
    restart: always
    networks:
      - gitea-backend
    volumes:
      - /shared/gitea/data:/data
      - /usr/share/zoneinfo/Europe/Moscow:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 3000:3000
      - 200:22

Screenshots
No response

Could you share your nomad job file?

Could you share your nomad job file?

Ok, but I'm repeating, I have tried to deploy Gitea on two physical hosts as docker-compose without nomad.
Job (root version):
job "gitea-job" {
  datacenters = ["dc1"]
  type = "service"
  group "gitea-group" {
    count = 3

    volume "gitea" {
      type      = "host"
      read_only = false
      source    = "gitea"
    }

    restart {
      attempts = 2
      interval = "5m"
      delay = "15s"
      mode = "fail"
    }
    ephemeral_disk {
      size = 300
    }
    task "gitea-job" {
      driver = "docker"

      volume_mount {
        volume      = "gitea"
        destination = "/data"
        read_only   = false
      }

      config {
        image = "gitea/gitea:latest"
        port_map {
          lb = 3000
          ssh = 22
        }
      }

      env {
            GITEA__database__NAME			= "gitea"
            GITEA__database__PASSWD		= "gitea"
            GITEA__database__USER			= "gitea"
            GITEA__database__DB_TYPE	= "postgres"
            GITEA__database__HOST			= "srv1.prod:5432"
          }

      resources {
        cpu = 200
        network {
          port "lb" {
            static = 3000
          }
          port "ssh" {
            static = 2222
          }
        }
      }
      service {
        name = "gitea"
        tags = ["http", "ssh"]
        port = "lb"
        check {
          name     = "alive"
          type     = "http"
          path     = "/"
          interval = "10s"
          timeout  = "2s"
        }
        }
    }
  }
}

It looks like you are using the breve indexer. By design it is only available to one process at a time and by using multiple processes the others can't obtain a lock.
There are other configuration changes you'll need to do to ensure HA. I recommend looking at the recent PR to the gitea helm chart to see which changes you may need to make as well (such as using redis as a queue, etc..). The PR documents the various areas that HA needs to be paid attention to.


Xamarin Studio and Mono MDK roslyn preview

From travis:
fatal: unable to access 'https://github.com/Homebrew/homebrew/': Could not resolve host: github.com

I've restarted the builds.


Is development frozen for Franz ?

Its been a while since there was a new update to Franz. Wondering if there is anything in the works or if the developers have moved on to new projects

It looks like the devs have moved on :( I hope they are just taking a break because COVID and are coming back. It is disappointing not getting support on here at all though!!

It seems that no development is occurring, no one answering when I reach via email. It would be helpful to give formal notice.

Just had a look and I contacted the dev in June 2019 about spell check on the Touch Bar with no reply.
Franz Twitter has been dead since early 2019!!
Seems development or any major development is not happening.
Lucky I got a new card and when my annual fee date came around it got rejected.
Seems they are still happy to take the subscription fee but not do any work. If I am wrong I am happy to be corrected.

Quite frustrated by this.  I believe in supporting good tools and gladly paid the subscription service.  I should have done a better job checking development activity before purchasing. :(

Quite frustrated by this. I believe in supporting good tools and gladly paid the subscription service.

Me too. When I got the “thanks for signing up email” I felt really good about supporting someone’s livelihood. Especially a small dev. I kept it last year because I felt it was wrong to not pay during covid.

I love Franz... I hope the devs are OK.
That said, if you are looking for an alt(I am not associated with it in any way): https://github.com/getferdi/ferdi

Ferdi are committing work but not doing any releases. equally frustrating

I used Franz a long time ago, switched to Rambox and now ended up with Ferdi because it is the most up to date with dependencies like Electron and actively fixing bugs. I also started contributing to it. Try it out for yourselves, currently it is necessary to download nightly release: https://github.com/getferdi/nightlies/releases

Grr ok feeling a bit frustrated now. Booted up my personal laptop after a long day in the office only to be greeted by this

Anyone had any luck with the devs? They want me to pay, sure I'm happy to but not if you leave us in the dark!!

I pay and still don't hear back


Fix import of JavaEsSparkSQL

Thank you for submitting a pull request!
Please make sure you have signed our Contributor License Agreement (CLA).
We are not asking you to assign copyright to us, but to give us the right to distribute your code without restriction. We ask this of all contributors in order to assure our users of the origin and continuing existence of the code.
You only need to sign the CLA once.

[x] I have signed the Contributor License Agreement (CLA)

In version 5.0.0-alpha5 of the elasticsearch-hadoop connector, we have:
From: org.elasticsearch.spark.sql.java.api.JavaEsSpark SQL  => To: import org.elasticsearch.spark.sql.api.java.JavaEsSparkSQL

LGTM. Thanks for the patch!


fix: container width mapping to breakpoints

Types of Changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue, please reference the issue id)
[ ] New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

Description
[Place a meaningful description here.]

:tada: This PR is included in version 3.1.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[FLINK-5586] [table] Extend TableProgramsClusterTestBase for object reuse mode

Make all cluster-based ITCases verified in object reuse mode. This only includes batch table tests now.

rebased to the latest master.

hey @fhueske can you take a look at this?

The changes look good to me. Thanks @KurtYoung

I don't have merge permission yet, can you help merge this @twalthr ? Thanks.

I can do it as well.

Seems like this will effect the new aggregate interface and make the tests failed, will wait for that fix first.

Hi @KurtYoung, FLINK-5955 was resolved by #3465.
This PR should be good to merge now.


[LANG-1584] refine StringUtils.isNumericSpace

reduce calling charAt several times.
also change order to try to reduce function calls.

Hi.
I think this pr does not need jmh test.
If you still need it, I will do it, but I will just not do it until someone tell me to.


Hot reload functionality

Feature request
What is the expected behavior?
CLI should automatically restart the app when any change is made into the code.
What is the current behavior?
user need to manually run bb stop and bb start <app_name> to see changes in effect

Hi @Aashiq-Otp
Thanks for hacking using our CLI. We will add this feature to CLI soon and will keep you posted.

hmr is added in latest version. @Aashiq-Otp


Backend: Expand resource registry microservice to check users authentication users when requesting resources and things

Add a functionalities to check the users JSON web token to GET and POST for Repository, Pipeline, Operator and Resource.

Backend can be debugged with the _logger things. To see in Docker desktop microservice containers log, use _logger.warning().
If you want to see all logs in Docker desktop microservice containers change microservices setting to have log level Debug.


Add Nong Song:

Song Name
Get your Wish
Artist Name
Porter Robinson
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=ahEovqzpLeU&t=0s
Direct File Link
No response
Song ID
1311072
Start Offset [ms]
0
Extra
Used in the level "Get your Wish" - 107350258

Note: The current Auto-NONG is no longer valid since the song was changed to a different one, so it needs to be updated to this

Nvm looks like someone already submitted a request, ignore this


Fix command descriptions

Codecov Report

Merging #221 into master will not change coverage.
The diff coverage is 0.00%.

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


[proxy] accept LF delimited headers, not just CRLF

reference:
"Reverse proxy return 0 byte for some pages"
https://redmine.lighttpd.net/issues/2594

Thanks! Applied in 0aa2ea74e3fcc181fd70e2968320a9803e685bcc


When I use a folder the split mode does not work correctly

If I use the following command, it generates a file inside Journal, but it opens an empty panel in obsidian.
If I remove Journal\ it works correctly.
name Journal
type note(Journal\<% moment().format("YYYY-MM-DD__HH_mm_ss") %>, split) template
action tp-daily
templater true

^button-6ut6

@javiavid sorry for the delay. Your folder should have a forward slash following it, not a backslash.
When I run this:
```button
name Journal
type note(Journal/<% moment().format("YYYY-MM-DD__HH_mm_ss") %>, split) template
action tp-daily
templater true
```
it works as expected


Provision static assets

Summary
This PR will provision static assets in S3.

Talked with @iomodo offline: This PR should go into master. He will rebase it.

@hanzei My mistake no need to rebase here. This PR goes to MM-31782-static-asset-proxy and it goes to master.

@iomodo The PR is hard to review for me as MM-31782-static-asset-proxy will conflict with master once these changes are in. 1/5 that it's simpler to review if the PR goes to master.

Codecov Report

Merging #62 (80c570a) into MM-31782-static-asset-proxy (5c774e2) will not change coverage.
The diff coverage is n/a.

@@                     Coverage Diff                      @@
##           MM-31782-static-asset-proxy      #62   +/-   ##
============================================================
  Coverage                        20.53%   20.53%
============================================================
  Files                               23       23
  Lines                              706      706
============================================================
  Hits                               145      145
  Misses                             555      555
  Partials                             6        6

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 5c774e2...3d3345c. Read the comment docs.

Heads up I'll merge this into the feature branch. You can review PR to master.


Add sexiarz.pl to list

GTMetrix website report: https://gtmetrix.com/reports/sexiarz.pl/AzeBaHTr/

That is for sure something different. Nice to see such a large, well designed page being so small! Welcome to the 250kb Club!


Fix redundant export {} in declaration file

Fixes #51338

And here I always assumed declaration files worked exactly like source files w.r.t. what’s exported - before today I would have confidently told anyone who asked that A there was internal to the file and not importable, just like it would be if that were a .ts file

Declaration files have really, really weird export semantics. Been trying to augment ts-eslint to handle that in https://github.com/typescript-eslint/typescript-eslint/pull/8611 but it's definitely a battle, so not surprised to see this be wrong.

It hasn't really needed to be something we've needed to think about since our declaration emitter started emitting privates and export {} automatically to work around the issue; it's weird, but it does "just work", back to ancient versions of TS.

This is weird. I am implementing the Isolated Declarations transformation in oxc. When I came across this empty export I thought it was a bug. it doesn't always occur, only non-exports referenced in the export statement generate export {}. so I tried searching in the TypeScript issues to confirm my suspicion.
So I want to ask, when a third-party tool wants to implement Isolated Declarations, does it also have to port this behavior?

For future implementors of isolated declarations, you need port this "bug" as a feature 😁
We are already using the transpileDeclaration API to guide our implementation, but due to https://github.com/microsoft/TypeScript/issues/51338, we assumed it is a bug and hence this PR.

Yeah; if you do find anything weird, please do report it so we can at least make sure it isn't actually a bug. e.g. https://github.com/oxc-project/oxc/pull/3798 is likely a bug on our end.
Not quite sure where to document export {}, as this has been this way for ages and also applies to DT/hand-written types; I could have sworn this was documented on the website somewhere...


[AVM Module Issue]: Synapse Datalake Storage RA

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
Module Name
avm/res/synapse/workspace
(Optional) Module Name if not listed above
No response
(Optional) Module Version
No response
Description
Considering that a default datalake storage account needs to exist before the Synapse Workspace is deployed, it would be very convenient if this module can handle the appropriate role assignment to the storage account after the creation of the workspace. (or at least have a boolean parameter to optionally do this)
(Optional) Correlation Id
No response

likewise with function app

linking #937

Please note that this module currently has no owner. As a result, triaging the change may take longer than usual.

Hi @Jackmt9, since there's no owner for this module, but i've contributed to migrate it, i'll try to support in best-effort for this issue. Let me validate your requirement and i'll be back to you

@AlexanderSehr, @Jackmt9 referring also to the issue #937 , we have the pattern for the resource role assignment now available https://github.com/Azure/bicep-registry-modules/tree/main/avm/ptn/authorization/resource-role-assignment .
Wouldn't be the right option to use that call: module resourceRoleAssignment 'br/public:avm/ptn/authorization/resource-role-assignment:' ?

Hey @elanzel,
there are basically two options I'm seeing here. Either

Create the role assignment in the scope of the storage account as part of the module if the user wants that, OR
Push back and have the user rather take care of that.

Now I don't know the resource well enough to make an informed call. From the tests it appears no role assignment is require / the deployment doesn't fail if you just provide the required defaultDataLakeStorageAccountResourceId to the workspace without a role assignment (would be great @Jackmt9 if you could elaborate what permissions are required for what).
Assuming that, for example, the workspace's identity needs permission on the storage account, then one could argue that in case of a user assigned identity, this role assignment should be done before the module is deployed (as described above), and only in case of the system-assigned identity, a role assignment in the module may make sense. But for that I'd need @Jackmt9 to provide more information.
I guess at the end of the day, the workspace does not fail if no permissions are set outright and one could set the permissions for the storage account of parameter defaultDataLakeStorageAccountResourceId after the module deployment, - and it's just a matter of convenience if the module could do this implicitly.

This feature should be implemented as a pattern, not implicitly in the module


NPE for edge cases

Code added to counter NPE for some extreme cases.

Verified that @myothiha09 has signed the CLA. Thanks for the pull request!


typo in README

"CDE Lightbrand" should be "CDE Lightband" (no R)
Secondly, since this is an open source library which parses dhcp lease files generally (and not just some format used by CDE Lightband), it seems strange to mention them.

Thanks. This has been resolved.


Change opentsdb.relay to always report so alerts don't trigger unknown

This shows up as unknown on the dashboard since it seems to report only when non-zero. Need it to send data even when there is no relay errors

Not sure this is still a problem, closing unless someone cares


Empty fields on LICENCE file

https://github.com/Microsoft/thrifty/blob/master/LICENSE#L190
It looks like
Copyright [yyyy] [name of copyright owner]

Thank you for pointing this out, I didn't know.


After an error with the DuckDB backend, TidierDB is unable to proceed even when fixing the error

I have code that works:

But when I cause an error:

And after causing an error when I revert back to the code that works, it still continues to fail with the same old error:

Here's a video of that in action:
https://github.com/user-attachments/assets/198720d1-6d77-4674-b59b-abc8d819ff99
It continues to work if I recreate the connection and table.

So as far as the table goes comedies are stored as mutable structs.
So after you save the table, you need to use t(table_name) starting to change. Otherwise you will alter the underlying struct.
Resave the table and then as long as you refer to it with DB.t(table) this should fix this issue

That resolves this thank you!


Integrated your sdk with cocoapods and it is not working

Some API endpoints are unresponsive and some don't work properly. e.g. :
[[AviasalesSDK sharedInstance] searchAirportsWithString:@"LISBOA" completion:^(NSArray *airports, NSError *error){

        if(!error)
        NSLog(@"airports %@", airports);
        else{
            NSLog(@"error %@",error);
        }
    }];

Returns:

Error Domain=AviasalesSDK Code=404 "Didn't find any airport with requested search string" UserInfo={NSLocalizedDescription=Didn't find any airport with requested search string}

[[AviasalesSDK sharedInstance] requestAirportByName:@"LISBOA" completion:^(AviasalesAirport *airport, NSError *error){

        if(!error)
        NSLog(@"airport %@", airport);
        else{
            NSLog(@"error %@",error);
        }
    }];

Doesn't return.
Is the API still working or not? @sevabill @diniska

Please use
- (void)searchAirportsWithString:localCompletion:webCompletion:
as "lisboa" cannot be found in local database. WebCompletion will return airport you are looking for.
By the way, SDK version available through cocoapods is still in development, so if you'd like to have a stable version, consider using classing integration flow (https://github.com/KosyanMedia/Aviasales-iOS-SDK/wiki/Connecting-the-template-project) for stable release (https://github.com/KosyanMedia/Aviasales-iOS-SDK/releases/tag/v1.3.2).
Thanks for pointing out the problem with requestAirportByName:.
Sorry for inconvenience.

I've created a new project from scratch and integrated your static lib libAviasales.a.
All methods that I've tried don't work.
Using

(void)searchAirportsWithString:localCompletion:webCompletion:

[[AviasalesSDK sharedInstance] searchAirportsWithString:@"BCN" localCompletion:^(NSArray *airports, NSError *error){

        if(!error)
            NSLog(@"local airports %@", airports);
        else{
            NSLog(@"local error %@",error);
        }

    } webCompletion:^(NSArray *airports, NSError *error){

        if(!error)
            NSLog(@"web airports %@", airports);
        else{
            NSLog(@"web error %@",error);
        }
    }];

Returns :
local error Error Domain=AviasalesSDK Code=404 "Didn't find any airport with requested search string" UserInfo={NSLocalizedDescription=Didn't find any airport with requested search string} 2016-05-28 00:48:19.345 TripRoulette[332:75125] web airports ( )
Also,

(void) requestAirportByIATA: (NSString *) IATA completion: (void (^) (AviasalesAirport * airport, NSError * error)) completion;

with "BCN" as IATA, also doesn't return...
I'm sorry to say that I was excited about your framework after reading online about it in multiple articles/links like this one http://blog.travelpayouts.com/en/free-flight-search-mobile-sdk/ and getting disappointed on its performance. It is currently broken.

Please checkout new SDK and new integration steps


wonky counts for GO

http://pombase2.aska.gen.nz/term/GO%3A0000002
24 unique here
http://pombase2.aska.gen.nz/term_genes/GO%3A0000002
reports 21

might be related?
https://github.com/pombase/website/issues/225

I don't see a problem - on the first page you linked, cce1, mgm101, and pog1 each show up twice, so it's 24 rows but 21 unique genes (and there's no count shown on that page).

I counted, supposedly unique, and totally missed all 3 duplicates. Scary!


[docs] Use a better example for log_enabled!

The previous example code for the log_enabled! macro doesn't properly demonstrate why to use it, since the use of log_enabled! doesn't improve anything.  (The debug! macro already prevents the expensive call when debug logging is disabled.)
This changes the example to one that has better performance compared to debug! alone.
r? @sfackler

Strictly speaking, the old setup will still improve performance when debug logging is dynamically disabled, but this change seems like a nice improvement regardless. Thanks!


Could not set unknown property 'sourceSetNames' for task ':xx:generateJunitApolloIR' of type com.apollographql.apollo.gradle.ApolloSystemCodegenGenerationTask.

Getting this error with apollo-1.0.0-alpha2 when trying to use system installed apollo-codegen on a project using source sets.
Using:

apollo-1.0.0-alpha2
Gradle 4.4
apollo-codegen 0.19.1

A problem occurred configuring project ':xx'.
> Could not set unknown property 'sourceSetNames' for task ':xx:generateJunitApolloIR' of type com.apollographql.apollo.gradle.ApolloSystemCodegenGenerationTask.

Caused by: groovy.lang.MissingPropertyException: Could not set unknown property 'sourceSetNames' for task ':xx:generateJunitApolloIR' of type com.apollographql.apollo.gradle.ApolloSystemCodegenGenerationTask.
        at org.gradle.internal.metaobject.AbstractDynamicObject.setMissingProperty(AbstractDynamicObject.java:115)
        at org.gradle.internal.metaobject.ConfigureDelegate.setProperty(ConfigureDelegate.java:105)
        at com.apollographql.apollo.gradle.ApolloPlugin$_createApolloIRGenTask_closure5.doCall(ApolloPlugin.groovy:151)

It is working with alpha1

Do you have any sourceSetNames  custom type defined in apollo config?

I don't believe I do.
To clarify, this works on alpha2 using the downloaded version (via installApolloCodegen) instead of the system one.
It works with the system one on alpha1

Could you please show me your config for Apollo plugin that you have in gardle

Wait you are using system installed Apollo codegen, right?

Yes, using the system installed Apollo Codegen (0.19.1), which it fails on. For further clarification:
alpha2 - system installed - Not Working
alpha2 - installApolloCodegen- Working
alpha1 - both - Working
Nothing really special in my gradle config besides
classpath "com.apollographql.apollo:apollo-gradle-plugin:apollo-1.0.0-alpha2"
apply plugin: 'com.apollographql.android'
    implementation "com.apollographql.apollo:apollo-runtime:apollo-1.0.0-alpha2"
    implementation "com.apollographql.apollo:apollo-rx2-support:apollo-1.0.0-alpha2"

and a couple of source sets configured for different flavors of my app that don't touch any apollo classes or anything.


Slow Loading Onlyoffice document server on windows server

Hi,
We are not able to load new doc or sheet & unable to load old docs also.
below is the screenshot on windows server:

The document/sheet loads forever, it never loads. Not getting where is the problem.

Can anybody look into this ?, It will be a big help

Hello @OpsHealthcode, please create an issue in Document Server section. Specify in this new issue, why you are using localhost in the address, when HTTPS is enabled. Try to use the domain name the certificate is given to.
Specify also what actions were performed before the issue appeared (update or some settings changes).
What SSL certificate do you use?


Add fastutil serializers

I should test to figure out whether this is actually required or not. If fastutil serializes by default, then this ticket was a waste of your time.
https://github.com/apache/giraph/blob/4f9c6c24a8b4b03e2836c77fe2e53e38b6519420/giraph-core/src/main/java/org/apache/giraph/writable/kryo/serializers/FastUtilSerializer.java
interesting strategy, but works.

Looking forward to the results of your test ;-)

snerk nicely played. I'll get there.

Vanilla kryo 5.1.1 selects MapSerializer for fastutil's Object2IntOpenHashMap (fastutil 8.5.2), which fails with this exception:
com.esotericsoftware.kryo.KryoException: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
Serialization trace:
testField (com.test.Test)
	at com.esotericsoftware.kryo.serializers.ReflectField.write(ReflectField.java:101)
	at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:107)
	at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:711)
	at ...
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
	at com.esotericsoftware.kryo.serializers.MapSerializer.write(MapSerializer.java:140)
	at com.esotericsoftware.kryo.serializers.MapSerializer.write(MapSerializer.java:42)
	at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:642)
	at com.esotericsoftware.kryo.serializers.ReflectField.write(ReflectField.java:70)

Serialized class contains:
private final Object2IntMap<String> testField;
public Test(String someParam) {
    testField = new Object2IntOpenHashMap<String>();
    // fill in some data
}

I guess fastutil needs custom serializer that takes precedence over default collection serializers.
How is everyone dealing with this? Are people adding the entire Apache Giraph core as a dependency? Or is everyone adding an override for all fastutil classes/interfaces that forces use of FieldSerializer?
BTW, is this project alive? There have been no commits for 2 years.

My current workaround is this:
kryo.addDefaultSerializer(Object2IntMap.class, new JavaSerializer();

This has to be done for every top-level interface in fastutil. This could be added to kryo-serializers.

I could do a quick pull request copying Giraph code if there is someone around to merge it.


Spell check replacement on defocused window is not correct

Do you want to request a feature or report a bug?
I want to report a bug
What is the current behavior?

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.

go to https://draftjs.org/
enter the first line with the incorrect word
end the second line and keep the selection on the second line
click outside of the browser window
right-click or 2-tap on the misspelled word and pick a replacement
observe the second line lost it content

What is the expected behavior?
Only misspelled word should be updated
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Tested on 0.10 and 0.11, both windows, macOS, Chrome and FF

I would make a PR but FB, seems, does not give a hug. So, if you have the same issue, you can go into the editOnInput.js file and change line 118 with the
  // We'll replace the entire leaf with the text content of the target.
  var targetRange = selection.merge({
    anchorOffset: start,
    focusOffset: end,
    isBackward: false
  });

to the
  // We'll replace the entire leaf with the text content of the target.
  var targetRange = selection.merge({
    anchorOffset: start,
    focusOffset: end,
    anchorKey: blockKey,
    focusKey: blockKey,
    isBackward: false
  });

Hey @yury-sannikov could you shed some light on this solution?

hi @gmertk. Basically, when editOnInput is called, draftJS expect that global.getSelection() is in sync with the editorState.getSelection(). Which is not the case.
editOnInput gets SelectionState for the wrong block and replace the entire text with the domText. This part should sync up updated DOM with the EditorState I suppose

Thanks for the quick explanation @yury-sannikov Let's see if the author of the PR I referenced replies soon. If not, I'll send a PR 👍


Bug 1446928 - IE/Edge support of isPointInStroke

See https://bugzilla.mozilla.org/show_bug.cgi?id=1446928

Work is done. I created a pull request, and it has been approved. The content appears on the appropriate page: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/isPointInStroke


Remote Debuggee crashes on Debugger's "quit" command

Your environment
Windows 11: Using Docker Desktop container (with docker compose) running Alpine, using foreman to run Procfile on start

ruby -v: ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x86_64-linux-musl]
rdbg -v: rdbg 1.5.0

Describe the bug
Running quit command on attached debugger causes the debuggee to exit (logs provided below).
To Reproduce

Set up a rails application on a docker container (I can provide my configurations if needed).
Add a require 'debug/open_nonstop' in the bin/rails file at the top of the file.
Add a line in Procfile to start bin/rails server -p 3000 -b <IP_ADDRESS> if it's not already there
Set up your docker-compose.yml to run the bin/dev command on start to run foreman using the Procfile
Start docker container docker compose up -d
Attach to debuggee using docker compose exec <container name> rdbg --attach
Add debugger line in the application and trigger the breakpoint (by visiting a web page or any method you prefer)
In rdbg console you attached to (in step 6) type quit
Debugging process quits but the container also breaks saying:
-- unsupported:  \  exited with code 1

Expected behavior
Debugger should gracefully detach and debuggee should be open to accept a new debugger attachment.
Additional context
Dockerfile uses FROM ruby:3.1.1-alpine3.15 base image.
Whole docker container terminal output when following above steps to reproduce:
20:26:35 web.1  | started with pid 10
20:26:35 web.1  | DEBUGGER: Debugger can attach via UNIX domain socket (/tmp/ruby-debug-sock-0/ruby-debug-ruby-debug-10)
20:26:37 web.1  | DEBUGGER: Connected.
20:26:43 web.1  | => Booting Puma
20:26:43 web.1  | => Rails <IP_ADDRESS> application starting in development
20:26:43 web.1  | => Run `bin/rails server --help` for more startup options
20:26:44 web.1  | Puma starting in single mode...
20:26:44 web.1  | * Puma version: 5.6.4 (ruby 3.1.1-p18) ("Birdie's Version")
20:26:44 web.1  | *  Min threads: 5
20:26:44 web.1  | *  Max threads: 5
20:26:44 web.1  | *  Environment: development
20:26:44 web.1  | *          PID: 10
20:26:44 web.1  | * Listening on http://<IP_ADDRESS>:3000
20:26:44 web.1  | Use Ctrl-C to stop
20:26:47 web.1  | Started GET "/" for <IP_ADDRESS> at 2022-04-13 20:26:47 +0000
20:26:47 web.1  | Cannot render console from <IP_ADDRESS>! Allowed networks: <IP_ADDRESS>/<IP_ADDRESS>, ::1
20:26:47 web.1  |   ActiveRecord::SchemaMigration Pluck (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
20:26:47 web.1  | Processing by ApplicationController#index as HTML
20:26:50 web.1  | unsupported:
20:26:51 web.1  | exited with code 1
20:26:51 system | sending SIGTERM to all processes

Thank you. Does it work on multi-process mode?
(Can I see debug REPL console log?)

Thank you. Does it work on multi-process mode? (Can I see debug REPL console log?)

Here's the REPL console log including the command I used to attach to the remote debugger:
docker compose exec app rdbg --attach ruby-debug-ruby-debug-10
# No sourcefile available for /usr/local/bundle/gems/puma-5.6.4/lib/puma/single.rb
=>#0    [C] Thread#join at /usr/local/bundle/gems/puma-5.6.4/lib/puma/single.rb:61
  #1    Puma::Single#run at /usr/local/bundle/gems/puma-5.6.4/lib/puma/single.rb:61
  # and 16 frames (use `bt' command for all frames)

Stop by SIGURG
(rdbg:remote) continue    # command
[1, 10] in /app/app/controllers/fees_controller.rb
     1| class FeesController < ApplicationController
     2|   before_action :set_fee, only: %i[ show edit update destroy ]
     3|
     4|   # GET /fees or /fees.json
     5|   def index
=>   6|     debugger
     7|     @fees = Fee.all
     8|   end
     9|
    10|   # GET /fees/1 or /fees/1.json
=>#0    FeesController#index at /app/app/controllers/fees_controller.rb:6
  #1    ActionController::BasicImplicitRender#send_action(method="index", args=[]) at /usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/basic_implicit_render.rb:6
  # and 73 frames (use `bt' command for all frames)
(rdbg:remote) quit    # command
Really quit? [Y/n] Y
disconnected (quit)

After that quit command is where the docker container exits.
When you say "multi-process mode" are you referring to rdbg --open? If so, here's the docker terminal output when I remove the require 'debug/open_nonstop' and add this to my Procfile rdbg --open -c -- bin/rails server -p 3000 -b <IP_ADDRESS>:
15:35:25 web.1  | started with pid 9
15:35:25 web.1  | DEBUGGER: Debugger can attach via UNIX domain socket (/tmp/ruby-debug-sock-0/ruby-debug-ruby-debug-9)
15:35:25 web.1  | DEBUGGER: wait for debugger connection...
15:36:06 web.1  | DEBUGGER: Connected.
15:36:20 web.1  | => Booting Puma
15:36:20 web.1  | => Rails <IP_ADDRESS> application starting in development
15:36:20 web.1  | => Run `bin/rails server --help` for more startup options
15:36:21 web.1  | Puma starting in single mode...
15:36:21 web.1  | * Puma version: 5.6.4 (ruby 3.1.2-p20) ("Birdie's Version")
15:36:21 web.1  | *  Min threads: 5
15:36:21 web.1  | *  Max threads: 5
15:36:21 web.1  | *  Environment: development
15:36:21 web.1  | *          PID: 9
15:36:21 web.1  | * Listening on http://<IP_ADDRESS>:3000
15:36:21 web.1  | Use Ctrl-C to stop
15:36:22 web.1  | Started GET "/fees" for <IP_ADDRESS> at 2022-04-18 15:36:22 +0000
15:36:22 web.1  | Cannot render console from <IP_ADDRESS>! Allowed networks: <IP_ADDRESS>/<IP_ADDRESS>, ::1
15:36:22 web.1  |   ActiveRecord::SchemaMigration Pluck (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
15:36:22 web.1  | Processing by FeesController#index as HTML
15:36:34 web.1  | unsupported:
15:36:34 web.1  | exited with code 1

And the corresponding REPL console:
docker compose exec app rdbg --attach
[1, 4] in bin/rails
     1| #!
=>   2| APP_PATH = File.expand_path("../config/application", __dir__)
     3| require_relative "../config/boot"
     4| require "rails/commands"
=>#0    <main> at bin/rails:2
(rdbg:remote) continue    # command
[1, 10] in /app/app/controllers/fees_controller.rb
     1| class FeesController < ApplicationController
     2|   before_action :set_fee, only: %i[ show edit update destroy ]
     3|
     4|   # GET /fees or /fees.json
     5|   def index
=>   6|     debugger
     7|     @fees = Fee.all
     8|   end
     9|
    10|   # GET /fees/1 or /fees/1.json
=>#0    FeesController#index at /app/app/controllers/fees_controller.rb:6
  #1    ActionController::BasicImplicitRender#send_action(method="index", args=[]) at /usr/local/bundle/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/basic_implicit_render.rb:6
  # and 73 frames (use `bt' command for all frames)
(rdbg:remote) quit    # command
Really quit? [Y/n] Y
disconnected (quit)

As you can see I forgot to run this in nonstop mode so it stopped on the rails command which I continued. Let me know if there is anything you need.

I can confirm this is happening for me as well:
(rdbg:remote) quit    # command
Really quit? [Y/n] disconnected (No such file or directory @ rb_sysopen - <IP_ADDRESS>)

web-debug_1              | DEBUGGER: wait for debugger connection...
web-debug_1              | DEBUGGER: Connected.
web-debug_1              | unsupported:

Bugsnag caught this the last time I quit via vscode, not certain if it's relevant
web_1                    | DEBUGGER: Disconnected.
web_1                    | #<Thread:0x0000aaaadecb2c60@DEBUGGER__::SESSION@server@/usr/local/bundle/gems/debug-1.5.0/lib/debug/session.rb:144 run> terminated with exception (report_on_exception is true):
web_1                    | /usr/local/bundle/gems/debug-1.5.0/lib/debug/server_dap.rb:158:in `send': undefined method `write' for nil:NilClass (NoMethodError)
web_1                    |      from /usr/local/bundle/gems/debug-1.5.0/lib/debug/server_dap.rb:183:in `send_event'
web_1                    |      from /usr/local/bundle/gems/debug-1.5.0/lib/debug/server_dap.rb:392:in `event'
web_1                    |      from /usr/local/bundle/gems/debug-1.5.0/lib/debug/session.rb:238:in `process_event'
web_1                    |      from /usr/local/bundle/gems/debug-1.5.0/lib/debug/session.rb:194:in `session_server_main'
web_1                    |      from /usr/local/bundle/gems/debug-1.5.0/lib/debug/session.rb:164:in `block in activate'
web_1                    | Exiting
web_1                    | Not notifying due to notify_release_stages :["production"]
web_1                    | /usr/local/bundle/gems/debug-1.5.0/lib/debug/server_dap.rb:158:in `send': undefined method `write' for nil:NilClass (NoMethodError)
web_1                    |      from /usr/local/bundle/gems/debug-1.5.0/lib/debug/server_dap.rb:183:in `send_event'
web_1                    |      from /usr/local/bundle/gems/debug-1.5.0/lib/debug/server_dap.rb:392:in `event'
web_1                    |      from /usr/local/bundle/gems/debug-1.5.0/lib/debug/session.rb:238:in `process_event'
web_1                    |      from /usr/local/bundle/gems/debug-1.5.0/lib/debug/session.rb:194:in `session_server_main'
web_1                    |      from /usr/local/bundle/gems/debug-1.5.0/lib/debug/session.rb:164:in `block in activate'
web_1 exited with code 1

Seems like @sock was nil here maybe?

Thank you I confirmed without foreman.

rails new app
Add a require 'debug/open_nonstop' in the bin/rails file at the top of the file.
bin/rails server -p 3000 -b <IP_ADDRESS>
rdbg -a
quit command

$ bin/rails server -p 3000 -b <IP_ADDRESS>
DEBUGGER: Debugger can attach via UNIX domain socket (/tmp/ruby-debug-sock-1000/ruby-debug-ko1-9092)
=> Booting Puma
=> Rails 7.0.3 application starting in development
=> Run `bin/rails server --help` for more startup options
Puma starting in single mode...
* Puma version: 5.6.4 (ruby 3.1.2-p20) ("Birdie's Version")
*  Min threads: 5
*  Max threads: 5
*  Environment: development
*          PID: 9092
* Listening on http://<IP_ADDRESS>:3000
Use Ctrl-C to stop
DEBUGGER: Connected.
unsupported:

$?:1

$ rdbg -a
# No sourcefile available for /home/ko1/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/puma-5.6.4/lib/puma/single.rb
=>#0    [C] Thread#join at ~/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/puma-5.6.4/lib/puma/single.rb:61
  #1    Puma::Single#run at ~/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/puma-5.6.4/lib/puma/single.rb:61
  # and 16 frames (use `bt' command for all frames)

Stop by SIGURG
(rdbg:remote) quit    # command
Really quit? [Y/n]
disconnected (quit)


expose output service and more editor primitives

There's also a .codesandbox/Dockerfile in there, which I used to make it work with CodeSandbox. I'm also happy to remove it if you prefer!
This PR exposes IOutputService and many more interfaces from the editor, in case you want to create your own IEditorGroupsService. I was contemplating whether I should just do export * from '...', but went with the safe route for now :).
Fixes #138

Thank you!
Can you please follow the semantic release convention for your commits? (and splitting it in 2 commits - types and dockerfile) to make the automatic changelog relevant
How does it work for codesandbox though? I'm not familiar with it

Okay! It's now split up in two commits.

How does it work for codesandbox though? I'm not familiar with it

I've now added a devcontainer configuration for this repo. This essentially tells what environment this repo would need to properly run, which is useful for local development (VSCode can hint suggestions because of it), but it also helps for online development.
CodeSandbox is one of those online editors (I'm one of the co-founders, so there's bias). It allows you to open the repo in an online code editor, which already runs the repo so you don't have to clone locally and set up the environment yourself. Here's an example: https://codesandbox.io/p/github/CodinGame/monaco-vscode-api/main, although you can see it has an error currently because it lacks the configuration this PR contributes 😄 .
There are two advantages to it:

Every PR has a running dev env that you can use for reviewing, so you don't have to check it out locally
Contributors can open the online editor, click "Create Branch" and contribute more easily back to the repo

I've changed the CodeSandbox configuration to become a devcontainer configuration, so it will work with all online editors that use it (Codespaces as well, for example).

Ok, looks great! thanks!

https://codesandbox.io/p/github/CodinGame/monaco-vscode-api/main seems to still be not working, jq is required :)


Standardize code review templates

Updated all recipe docs (except python) to conform to a common standard - Python is changed in #150
Update all links for CSE and other links to work after change in PR #148
Remove TypeScript recipe as we already have a JavaScript/TypeScript recipe and moved the relevant parts into the JavaScript recipe
Add link to the Terraform.md from the readme

TODO: this is not verifying or updating technical content - this will be updated in a series of other issues. This is to move the existing content to a consistent format

I think these recipes are missing guidelines on testing tools/platforms for each language. When starting out in a new language or in a new organization it is very helpful to know what others are using for testing. what do you think?
I noticed that the recipes don't all have the same sections, Is that intentional? For example, dependencies is not always there. If we think that the recipes should contain relevant info about dependencies it would be nice to have it there and add a TODO to think about any guideline we want to add there.

I think these recipes are missing guidelines on testing tools/platforms for each language. When starting out in a new language or in a new organization it is very helpful to know what others are using for testing. what do you think?
I noticed that the recipes don't all have the same sections, Is that intentional? For example, dependencies is not always there. If we think that the recipes should contain relevant info about dependencies it would be nice to have it there and add a TODO to think about any guideline we want to add there.

See comments about testing above...
Regarding different sections, some will have language specific sections like dependencies. The common sections that would be relevant to most are listed in the task.  But even those would not be required. As an example, linters will not be applicable to C# or Java


Theia docker image vulnerability scan is failing constantly

Please refer to https://github.com/antrea-io/theia/actions/workflows/clair.yml

Thanks @reachjainrahul for reporting this! We have merged a PR to fix this. As the test triggered daily, let's keep this issue open till we ensure the success of the test.


Component Id's mixed up between pools

I have components for default pool and also "Core" pool
I am getting these mixed up in reactive systems.
Entitieswith the wrong components get returned in Execute()
I am not sure if this is a bug or am I using the matcher incorrectly.
I want the reactive system to process events of adding of entities that have Core component
ConsumeProgress on them selves. The error occurs in foreach loop then using .consumeProgress
components of returned entity since returned entities do not have ConsumeProgress components.
Seems to me like returned entities only have component from the "default" pool with the same
componentId (index) as the requested component in "core" pool.
public class ConsumeProgressSystem : IReactiveSystem, IEnsureComponents
{
    public TriggerOnEvent trigger { get { return CoreMatcher.ConsumeProgress.OnEntityAdded();} }
    public IMatcher ensureComponents { get { return CoreMatcher.ConsumeProgress; } }
    public void Execute(List<Entity> entities)
    {
        foreach (var e in entities)
        {
			// Using brake at this point shows that I got entities
			// with ProgressListener components and no ConsumeProgress

			// So it fails at this point and drops out an error:
			// InvalidCastException: Cannot cast from source type to destination type.
			var targetEntity = e.consumeProgress.Target;

			targetEntity.ReplaceProgress(
				targetEntity.progress.progress - e.consumeProgress.Amount);
        }
    }
}

// <auto-generated>
public static class ComponentIds {
    public const int ProgressListener = 0; //these are the components that I DO get

    public const int TotalComponents = 1;

    public static readonly string[] componentNames = {
        "ProgressListener"
    };

    public static readonly System.Type[] componentTypes = {
        typeof(ProgressListenerComponent)
    };
}

// <auto-generated>
public static class CoreComponentIds {
    public const int ConsumeProgress = 0; //these are the components I WANT to get
    public const int Position = 1;
    public const int Progress = 2;
    public const int Resource = 3;
    public const int Tick = 4;
    public const int UIPosition = 5;
    public const int UIResource = 6;
    public const int UIView = 7;
    public const int View = 8;

    public const int TotalComponents = 9;

    public static readonly string[] componentNames = {
        "ConsumeProgress",
        "Position",
        "Progress",
        "Resource",
        "Tick",
        "UIPosition",
        "UIResource",
        "UIView",
        "View"
    };

    public static readonly System.Type[] componentTypes = {
        typeof(ConsumeProgressComponent),
        typeof(PositionComponent),
        typeof(ProgressComponent),
        typeof(ResourceComponent),
        typeof(TickComponent),
        typeof(UIPositionComponent),
        typeof(UIResourceComponent),
        typeof(UIViewComponent),
        typeof(ViewComponent)
    };
}

Can you show me how you create ConsumeProgressSystem. It seems to me you just used the wrong pool for that
e.g.
pool.CreateSystem<ConsumeProgressSystem>();

// vs
corePool.CreateSystem<ConsumeProgressSystem>();

If that's the case the system will actually trigger when ProgressListener is added. That's why you get InvalidCastException. Internally, both have the same component index, so you basically observing a component with index 0.

Ah yes, @sschmid's response gave me a proper direction to the cause of the issue, although it was not exactly the described case. I was incorrectly adding entities with default pool component (ProgressListener) to a different core pool. That lead to matching that component as another one (ConsumeProgress) with the same component index in core pool.
It would be nice if we could we warned when adding different pool components to entities in another pool.
[Core]
public class CoreStuffComponent : IComponent
{
	public float x;
}

public class DefaultPoolStuffComponent : IComponent
{
	public float x;
}

// this should be fine
		Pools.core.CreateEntity().AddCoreStuff(3f);
// but this should throw some warnings
		Pools.core.CreateEntity().AddDefaultPoolStuff(3f);

We can consider this issue fixed. Explained, actually.
Thanks @sschmid


How do I use it

title

There are 2 ways to use it:

From Command Line Interface
From another python file

For more info check out usage here: https://google-images-download.readthedocs.io/en/latest/index.html

How

Hi @teddyphotos ,
I tried to use it but it doesn't download any images stating : "Unfortunately all 10 could not be downloaded because some images were not downloadable. 0 is all we got for this search filter!"
Can you make test to see if it works these days ? I suspect new google terms of use to cause this bug.
Or am I doing something wrong ? (I was just using the examples given with my personnal keywords).
In advance, I thank you for your reply.

Same issue as @Myroboland

what do you mean by arguments
$ googleimagesdownload [Arguments...]

Looks like this software is broken!
Inference: Google changed page structure
I am looking into it right now.

what do you mean by arguments
$ googleimagesdownload [Arguments...]

Please look at 'How to use a terminal?'


The dependancy on xbmc.python versio 2.250 could not be satisfied

Android TV Box Running Android 7.1
Kodi Version 19.0
Earlier it was working flawlessly, recently it started giving issues like not able to play any channels and taking much time to load TV.
So, yesterday I removed the add-ons and updated to the Kodi 19.0. I added the repository as advised on your site, but I could not find the add-ons to install, though I was able to search add-ons.
I tested this with Kodi on Window 10 to see if anything was wrong with my Android TV Box, but it gave same error.

Duplicate of #107

Downgrade the Kodi version to 18.9


Fix the bug that decoder not return when level limit occur

See code review at: https://www.rbcommons.com/s/OpenH264/r/1268/

Travis CI not run, will re-do it

Travis CI has some problems and did not run auto.

The travis CI seems OK, re-open it


Don't mark as read when browser fails

closes #570
One question: is it alright to break early in this switch, specifically before a invalidate(itempos)? Not exactly sure what this is doing..

Coverage decreased (-0.2%) to 40.321% when pulling 9e64591973510b8f957aff9c51d742c75e97237e on mjsir911:feature/error-no-unread into 8add98d17511fe617921daa21cf14b29c3fdc2c7 on newsboat:master.

Thanks for taking the time to implement this!
This would also be good to have for OP_OPENALLUNREADINBROWSER_AND_MARK, both to keep it consistent and as a fail-safe in case one of the items fails to open.
Given you've already done most of the work this should be trivial to implement.

I'm having trouble with invalidation, since currently at the end of OP_OPENALLUNREADINBROWSER_AND_MARK invalidate_all() is called, but presumably if execution halts halfway through, only the successfully viewed items should be invalidated.

invalidate_everything() is the safe choice, if an item didn't get updated it'll just be redrawn as-is. Even in the current code not all items will be opened (i.e. only unread items, and only up to max-browser-tabs each time), yet we still invalidate everything and don't bother to invalidate each one individually.
So don't worry about this part, leaving it as-is will work.

@Minoru, give me a bit of time to write some tests for this new feature

Oh cool, I forgot we have tests for ItemListFormAction ._. Sure I'll wait :)

@Minoru good to go!

Thank you!


During provisioning that uses RKE (custom/node pools), while waiting for the hosts to come up, the cluster will show "Unavailable" and "Waiting for API to be available"

@deniseschannon are you complaining about the color or the error message words?

I'm complaining that it looks like we failed at provisioning after the containers running rke components are launched and we're just waiting for them to start up. We should be still in a "provisioning" state while we wait for the api to be available.

what do you think @vincent99? Seems like we did this for a reason: if the cluster is unavailable then we show red alert. The transitioning is set to yes so i guess you add that red flag for a reason.

There is a new Waiting state that's blue instead of Unavailable and red when waiting for the API server to come up during provisioning.


Windows

error[E0433]: failed to resolve: could not find `unix` in `os`
  --> src\commands.rs:25:14
   |
25 | use std::os::unix::process::CommandExt;
   |              ^^^^ could not find `unix` in `os`

Hi Steven, thanks for trying out oaf!  I'm sorry it didn't compile for you.  I do all my dev work on Linux, (or WSL), so Windows and Mac have been a blind spot.
The two reasons for *nixisms are

supporting exec.  This could be worked around by simply using run() on platforms where exec isn't supported.
supporting converting the output of commands to OsString without enforcing a particular encoding.  It's a bit unclear to me how this would work on Windows.  There seems to be a mismatch between u8 and u16 characters in the low-level apis.

supporting exec

this is concerning. why is this needed in the first place? are you trying to call git.exe or something? I am searching for a Git client/implementation that doesn't rely on any external commands. The official C implementation on Windows has some issues, so I have been trying to find a replacement, but I dont want something that is simply relying on the existing C Git implementation.

oh dear:
https://github.com/abentley/oaf/blob/b693fb5ad96704c060c633a86713e6975be6458e/src/git.rs#L35-L39

I will make it clearer that Oaf mainly wraps existing commands.  Sorry it's not what you're looking for.


Dial sensor color resets to orange when restart streamdeck

Dial sensor color resets to orange when restart streamdeck, i tried with 13600k CPU Temp

I'm experiencing the same, plugin update added new colour features which are very nice but on restarting the Deck pluging is ignoring set colours and showing all dials in orange. Colours are still set correctly in each sensor's configuration, but are ignored by the plugin it seems.
Flicking between different display type e.g. to text and back to dial fixes the colour temporarily but it just breaks the next time software restarts and needs to be done for every sensor.

Any updates about this bug? Any idea if this even going to be fixed?

this going to be fixed?

I have the same issue - can reproduce it consistently.

Same issue here ! It is annoying to just leave every buttons orange.

I also have this bug.


Install uvloop alongside Uvicorn for performance improvements

The Uvicorn webserver used by Flatnotes supports two asynchronous event handlers for networking: uvloop and Python's built-in asyncio
uvloop is a performance-focused reimplementation of asyncio written in Cython and the recommended choice by Uvicorn developers, as mentioned at Uvicorn's homepage:

· the event loop uvloop will be installed and used if possible.
· uvloop is a fast, drop-in replacement of the built-in asyncio event loop. It is implemented in Cython. Read more here.
· The built-in asyncio event loop serves as an easy-to-read reference implementation and is there for easy debugging as it's pure-python based.

However currently it is not listed as a dependency in the pipfile and does not get installed at the produced Flatnotes Docker images, where Uvicorn falls back to using asyncio
I've done some testing and here's the idle CPU usage of Flatnotes in my armv7 RPi, both with and without uvloop:
CONTAINER ID   NAME               CPU %     MEM USAGE / LIMIT     MEM %     NET I/O          BLOCK I/O         PIDS
b67416769f9c   mytinytodo         0.01%     1.023MiB / 967.2MiB   0.11%     390kB / 0B       10.1MB / 8.19kB   9
55ac3e0c2840   metube             0.04%     3.641MiB / 967.2MiB   0.38%     131MB / 6.71MB   318MB / 787MB     11
279dc758531d   flatnotes          0.86%     33.75MiB / 967.2MiB   3.49%     1.31kB / 0B      5.47MB / 36.9kB   2
cf591b2de849   flatnotes-uvloop   0.63%     30.4MiB / 967.2MiB    3.14%     1.24kB / 0B      868kB / 24.6kB    6

Both them actually fluctuate a lot however I've found the uvloop-powered one to constantly use less CPU than asyncio
(As a curiosity: mytinytodo is a PHP app using the Lighttpd webserver, you can find the used Dockerfile under my Github profile, and metube is a Python3 app using the aiohttp server)
I haven't conducted a proper stress test to also confirm a performance improvement under heavy load though, but seems reasonable that it would improve too
Now I'd like to have made this a pull request however I'm having trouble with re-locking the pipfile (pipenv throws a terribly long error message and a complaint about invalid syntax) and have been unable to work it around so I'll just tell you the what the two required small changes are:

Add uvloop as a dependency to the pipfile
Add the --loop uvloop argument to the entrypoint script to make sure Uvicorn is picking up uvloop

Thanks for your attention

Odd, I am specifying uvicorn[standard] in the pipfile, uvicorn docs seem to indicate this is enough but you're right, it doesn't look like uvloop is being installed by pipenv. I'll do some digging.

Ah, looks like uvloop doesn't support Windows and I develop (and lock the Pipfile) on Windows. I might have a look at using a devcontainer so that I can develop on Linux.

The develop branch and the latest develop Docker image now includes a Pipfile.lock that was locked on Linux (using a devcontainer). I can now see that uvloop is installed as expected.

Tested working. Great, thank you!


Add RHEL9 e2e test environment variables to quick test spec

Issue #, if available:
Description of changes:
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve


Add some basic plotting functions

Create some functions that allow to visualise:

the generated data
a prioritizr output

We will do this by creating separate functions:

[ ] elsar_plot_static_raster_c() for continuous data (including options for ggplot and tmap)
[ ] elsar_plot_static_raster_d() for discrete data (including options for ggplot and tmap)
[ ] elsar_plot_static_vector_c() for continuous data (including options for ggplot and tmap)
[ ] elsar_plot_static_vector_d() for discrete data (including options for ggplot and tmap)
[ ] wrapper around all above: elsar_plot_static() with options: data_type = c or d and spatial_data = raster or vector
[ ] elsar_plot_interactive() for the same options as above but using only leaflet (maybe add tmap option)
[x] an addition to include contours or polygons of current PAs, boundaries or other if wanted
[ ] an addition to add logos etc. if wanted

@scabecks thoughts?

Note: I will not focus on tmap options for now: use ggplot for static plots and leaflet for interactive plots (after chatting about this with @scabecks and hearing abozt some previous tmap issues)

I suggest we simply do not use tmap at all?


Fix NER HF token alignment for BILOU data

[ ] I have added tests to tests to cover my changes.
[ ] I have updated docs/, if necessary.
[ ] I have updated the README.md, if necessary.

In dataquality.utils.hf_tokenizer.LabelTokenizer, there were a few accidental if/if/elses that should have been if/elif/else.
If the labels are BILOU, this causes the alignment process to convert them into BIO (unintended) while aligning them with HF tokens (intended).
This results in the model being trained to produce BIO spans, which the rest of dq will try to interpret as BILOU spans.  No valid BIO span is a valid BILOU span, so we'll record no predicted spans from the model ever.

Codecov Report

Merging #506 (078a08f) into main (884d2c9) will decrease coverage by 0.17%.
The diff coverage is 48.38%.

@@            Coverage Diff             @@
##             main     #506      +/-   ##
==========================================
- Coverage   91.69%   91.53%   -0.17%
==========================================
  Files         126      126
  Lines        9709     9729      +20
==========================================
+ Hits         8903     8905       +2
- Misses        806      824      +18

Impacted Files
Coverage Δ

...uality/loggers/data_logger/image_classification.py
69.01% <40.00%> (-16.10%)
:arrow_down:

...ataquality/loggers/data_logger/base_data_logger.py
89.66% <66.66%> (ø)

dataquality/utils/hf_tokenizer.py
96.80% <100.00%> (ø)

dataquality/utils/vaex.py
93.23% <100.00%> (-0.15%)
:arrow_down:

dataquality/utils/version.py
96.00% <0.00%> (-4.00%)
:arrow_down:

tests/test_dataquality.py
99.47% <0.00%> (-0.53%)
:arrow_down:

dataquality/clients/api.py
49.68% <0.00%> (-0.16%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Dunno what the failing test is about.  It doesn't import the code I changed.

@rfriel this is a flaky test - i'm going to skip it and make a ticket for @elboy3 to check out

@elboy3 https://app.shortcut.com/galileo/story/3721


Fix #78

Personal work for https://github.com/ros-industrial/industrial_ci/pull/79

Found a workaround so this achieved the purpose.


[1/n][gql-performance][pg] Update table schema files for pg-backed indexer per transactions benchmark findings

Description
Updates .sql files and pg schema to reflect updated tx lookup tables and a new cp_tx table that models a checkpoint's first and last tx_sequence_number. While this code will compile, we'll need to also have at least https://github.com/MystenLabs/sui/pull/18232 so that we can correctly write to the new tables.
Test plan
This PR on its own won't pass the ci tests - I'll be landing the other PRs into this one.
This chain of PRs is also pg-specific so we can start backfilling, but the mysql implementation is likely broken in the meantime

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:

As per the discussion at the last stand-up, don't forget to change the base commit to idx-breaking-changes-park

uh oh .... apologies in advance for any email noise 😅


How can I custom back button In StackNavigator?

How can I custom back button In StackNavigator?

Hi @xclidongbo ! It looks like this is a general question about react-navigation: I suggest next time you use Stack Overflow which is better suited for answering these types of questions. I also encourage you to join the Reactiflux community on Discord. There are React Native and React Navigation channels with helpful people who might be able to answer your question. I would also like to mention that there is a collection of helpful links and tutorials for React Navigation here which might be helpful for you.
If you believe that you are experiencing a bug or have a feature request, please open a new Issue following the dedicated template or submit a PR.


Add stdio FileDescriptors

As prompted by discussion with @ePaul et al., this PR adds (JVM-only) stdio support to ceylon.io.
Since these streams are unidirectional, I have refactored the FileDescriptor interface to support this.

Looks nice (didn't try yet).

LGTM, except that I think (not too sure) that we should use standardInput (or input?) rather than stdin, with aliased("stdin") on it.
WDYT @tombentley, our trusty Grand Naming Authority?

Yes, I suppose standardInput is more consistent. I hesitate for a moment because I always call it stdin (even in speech I pronounce it "stud-in"), so to me stdin is the canonical name for this thing, but maybe I'm in the minority, and with alised is doesn't matter so much.

Will merging be delayed until 1.2.1 is out?

That Closeable interface ... isn't it something similar to Destroyable?

Will merging be delayed until 1.2.1 is out?

Not at all, but we don't get notifications when you add commits to a PR, so when you do, you should add a comment so we know something happened ;) We were just waiting for the name to get fixed I think.
Thanks a lot!

That Closeable interface ... isn't it something similar to Destroyable?

Yeah, I wondered about that, but this can be another PR.


Keybase prompts to "Enable Keybase in Explorer" when it is already enabled in Explorer

Keybase GUI Version: 2.5.1-20180808131430+bbc9797a57
The Windows client (on Windows 10 Pro 1803) prompts to "Enable Keybase in Explorer". However, I can already access my KBFS files in Explorer (there's a "drive" assigned) and it works properly, as the correct version of the Dokan library/subsystem required by Keybase is already installed in the system.
If I go ahead and click "Enable Keybase in Explorer" the installation fails because the library is already there. Can we get Keybase to recognize that the Explorer integration is already functional and not display the prompts/icons?

This is our way of telling you that the drivers can be upgraded. Maybe that could be conveyed better, but if you uninstall the current Dokan and then proceed to install the newer one, that banner will go away.

The currently installed version has the same version number as the one that Keybase wants to install- at least to the extent that is described in the error message saying that it is already installed.
I understand that removing and re-installing the same version will probably make the message go away. However this still seems like a bug that should be fixed, albeit one with a workaround.


SOLUTION: count(): Argument #1 ($value) must be of type Countable|array, null given

Hey!
I just found the solutions for this error.
You just need to replace the line 84 for:
@if($files &&count($files) > 0)
Steps to reproduce the error:

Using the livewire-dropzone inside a modal, when you try to close it, you get this error. So, you just need to validate if $files exists first.

Thanks!

Please send a PR.

Sent from my own account. Thanks


Fix issues where deferred messages error handling would be ignored.

This accounts for times where messages are ignored, rather than sink them, we should be throwing a NoSubscribersToDeliverTo exception.
Let me know if there is a more acceptable way to handle this.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

ok to test

Rerunning the tests because a couple of them were from problems on master that should be fixed now.
Jenkins, please retest this.

Ah okay, will take a look at that.

@BenDol I took a look before sending my last message and it appears that messages are sent to local subscribers immediately, even if the bus is not connected and the message is also deferred for remote subscribers. Personally, I don't like that, but changing that is out of scope for this fix IMO.

@BenDol So I took a look at the failing tests and they need to be changed a bit.
These tests are breaking because they test the exact same scenario this PR fixes. They send a deferred message to a non-responding service and expect a no-op to happen. But now, we have to make sure that, in such cases, the error callback is called with the right exception and message.
org.jboss.errai.bus.client.tests.ServiceAnnotationTests.testMethodWithLocalService1
org.jboss.errai.bus.client.tests.ServiceAnnotationTests.testClassWithLocalService1
org.jboss.errai.cdi.event.client.test.CDIServiceAnnotationTests.testMethodWithLocalService1
org.jboss.errai.cdi.event.client.test.CDIServiceAnnotationTests.testClassWithLocalService1
After this change, I think this PR is good to go :)

@BenDol Thanks for taking the time for fixing the tests. It looks almost ready.
Before merging, though, I'd like to see assertions for the exception and message inside the error callback. Also, we need to make sure that, if a timeout happens, the tests fail. There are essentially three cases possible after sending a deferred message in these test cases:

Nothing happened. (That's when the timeout happens. Tests should fail in this case)
Message is sent. (Tests should fail in this case)
An error happened. (Here, we should include assertions for which error happened. In this case we are expecting a NoSubscribersToDeliverTo exception to happen).

In a runNonRespondingServiceTest it is expected to be failing though, right?

I keep getting: junit.framework.AssertionFailedError: No response received after 10006 ms when I run the tests locally no idea why. I am not able to run the tests.

@BenDol The timeout was expected before this PR. Now, if a timeout occurs, we know that the error didn't happen, and so the test must fail.
Which SO are you running the tests on and how are you running them? If you're not able to run them locally at the moment, you can commit your changes and let Jenkins do the job :)

@BenDol Changes look good to me, the only thing that's making the tests fail right now is that you used Assert.assertTrue and it can't be used inside a GWTTestCase. Changing it to assertTrue from the TestCase class should fix the problem.

Thanks @BenDol!


Root run select label not rendering for old runs

When opening an older run's UI page (which doesn't show up in the "Latest runs" dropdown list), the dropdown form selection label will not render anything:

The "Latest runs" input label is also cropped incorrectly.
The form selection label should render the run id and run state chip as normal (example from another run):

Still manifests in the new version of the Dashboard:


stopRecorder() function doesn't work on Android 7 when it uses react-native-voice

Please fill the template to help you out. Also, please try the Example project compare before submiting the issue when you have certain issue with your project setup.

Version of react-native-audio-recorder-player 3.2.1
Version of React Native 0.63.4
Platforms you faced the error (IOS or Android or both?) Android 7
I'm using the recorder in parallel with react-native-voice. On Android 8 e 10 it's working well, start, stop. However, on Android 7 the function stopRecorder() doesn't work. The message on catch is "Error not specified."
My const is outside and I tried to use callback too...
Steps to reproduce the behavior
import React, { useState, useEffect } from "react";
import { View, Button, PermissionsAndroid } from "react-native";
import Voice, {
  SpeechRecognizedEvent,
  SpeechResultsEvent,
  SpeechErrorEvent,
} from "@react-native-voice/voice";

import AudioRecorderPlayer from "react-native-audio-recorder-player";

const audioRecorderPlayer = new AudioRecorderPlayer();

const { forwardRef, useRef, useImperativeHandle } = React;

const Microphone = forwardRef((props, ref) => {
  const setState = (state) => {
    props.onSetState(state);
  };

  useImperativeHandle(ref, () => ({
    async startRecognizing() {

        try {
          await Voice.start("pt-BR");
        } catch (e) {
          console.error(e);
        }
    },

    async stopRecognizing() {
      setState({
        ...props.onState,
        recording: false,
        audio: true,
      });
      try {
        await Voice.stop();
      } catch (e) {
        console.error(e);
      }
    },
  }));

  useEffect(() => {

    const onSpeechStart = (e) => {
      try {
        recordStart();
        setState({
          ...props.onState,
          recording: true,
          audio: false,
          playing: false,
        });
      } catch (e) {
        console.error(e);
      }
    };

    const onSpeechEnd = (e) => {
      try {
        stopRecord();
        setState({
          ...props.onState,
          recording: false,
          audio: true,
        });
      } catch (e) {
        console.error(e);
      }
    };

    Voice.onSpeechStart = onSpeechStart;
    Voice.onSpeechEnd = onSpeechEnd;

    return () => {
      Voice.destroy().then(() => Voice.removeAllListeners());
    };
  }, []);

  const recordStart = React.useCallback(async () => {
    const result = await audioRecorderPlayer.startRecorder();
  }, []);

  const stopRecord = React.useCallback(async () => {
    try {
      const result = await audioRecorderPlayer.stopRecorder();
      audioRecorderPlayer.removeRecordBackListener();
    } catch (e) {
      console.error("erro ao parar gravacao " + e);
    }
  }, []);

  const destroy = async () => {
    try {
      await Voice.destroy();
      await audioRecorderPlayer.removePlayBackListener();
      await audioRecorderPlayer.removeRecordBackListener();
    } catch (e) {
      console.error(e);
    }
  };

  return (
    <View>
      {/* <Button onPress={start} title="Start" color="#841584" />
      <Button onPress={stop} title="Stop" color="#822222" /> */}
    </View>
  );
});

export default Microphone;

Same issue on IOS, getting the error: 'Already stopped'

since android does not allow you to use mic with 2 different components, react-native-voice and audio-recorder could not be used at the same time. this is not only for audio-recorder but it is also affecting camera recorders too.
on ios, you can use those two at the same time.


docs({ Tactic + test }/MoveAdd): improve docs, add explanatory tests

The usage of move_oper was unclear (Zulip).  This PR corrects the docs and adds tests to show intended usage.
Affected files:
Tactic/MoveAdd
test/MoveAdd

Thanks! :tada:
bors merge


484 fix issues in  debug compilation stage after latest merge

The last merge missed some errors when compiling with _DEBUG defined, detected by an internal CI. This MR fixes those issues.
To have GitHub CI detect similar issues, GitHub issue #33 has been raised.
This MR also addresses:

build system: after rearrangement of some source files into the root of the ALP/GraphBLAS include directory, those moved files were no longer installed
code improvements: various minor code style fixes

Code review, internal CI testing, and manual smoke testing OK, as is the CI test on GitHub. Will merge.


[1.12.2] ComputerCraft1.80pr1

Any attempt to wrap or find the radio as peripheral results in null or false.
I'm trying to guess what is happening looking at source...
Any position:
peripheral.wrap('left') -->nil
peripheral.find('openfm_radio') -->nil

Right, when I released the ports for 1.10 and 1.12 these builds didn't exist so the CC API was removed and the CC specific code went unused.  Test http://ci.pc-logix.com/job/OpenFM-1.12/16/ the build here and let me know if it works for you please.

Build 17 fixes ComputerCraft compat


where does the MiddleManager Node "Runtime.properties" file exist?

where does the MiddleManager Node "Runtime.properties" file exist?

if you are looking for the location of runtime.properties is to be added to the classpath of middlemanager.
If you are looking for a sample prod configs - you can find them here - http://druid.io/docs/latest/configuration/production-cluster.html