Named fragment support.

Named fragment support within the client. Now passes around the fragments within a query as a symbol table (i.e. an object mapping from fragment name to the fragment definition).
TODO:

[x] Update CHANGELOG.md with your change
[x] Make sure all of the significant new logic is covered by tests
[x] Rebase your changes on master so that they can be merged easily
[x] Make sure all tests and linter rules pass

@helfer - could you review?

Made the changes.

Just one tiny comment about one of the tests. Ready to merge otherwise. 🎉

Fixed.

Looks awesome!

Hm, we seem to have merged something in the meantime. Can you rebase one last time?

Rebased.

Merged!


Inconsistent value of sync_state_value in etcd3

What happened?
Due to a severe hit on the etcd3 cluster, in order to preserve the original data, a single-node etcd cluster was created using the force-new-cluster approach. Subsequently, the three-node cluster was restored through the member add method.
While executing a ‘switchover’ in the synchronous_mode, I observed that the cluster status was constantly changing when viewed through the ‘list’ function. Upon inspecting the etcd data, I discovered that the original sync state values were inconsistent.
I've noticed that in the code, the sync value is updated through etcd3's API using transactions (txn), which involves comparing 'revision' to determine the outcome, codes like this:
def set_sync_state_value(self, value: str, version: Optional[str] = None) -> Union[str, bool]:
return self.retry(self._client.put, self.sync_path, value, mod_revision=version)
.get('header', {}).get('revision', False)
curl -L http://<IP_ADDRESS>:2379/v3/kv/range -X POST -H "Content-Type: application/json" --data '{"key": "c3luYwo="}'
When checking the revision of the sync value in etcd, it was found that etcd nodes with inconsistent sync data return different revisions. Perhaps, the way Patroni compares revision is triggering issues within etcd?
How can we reproduce it (as minimally and precisely as possible)?
It is possible that the way Patroni updates etcd data has triggered a bug in etcd. When initially setting up a single-node etcd cluster and then expanding it to a three-node cluster through member add, issues may arise during failover or switchover operations where the status of the standby nodes keeps changing. This issue may not surface immediately but may require multiple executions of the ‘switchover’ operation before it triggers.
What did you expect to happen?
The status of the standby nodes should match their actual state, and the data across each node in the etcd3 cluster should be consistent.
Patroni/PostgreSQL/DCS version

Patroni version:  patroni3.3.2
PostgreSQL version:  postgres14
DCS (and its version):  etcd3.5.9

Patroni configuration file
scope: highgo-see-cluster
namespace: /service/
name: see_01

restapi:
  listen: <IP_ADDRESS>:8008
  connect_address: <IP_ADDRESS>:8008

etcd3:
  hosts: <IP_ADDRESS>:2379,<IP_ADDRESS>:2379,<IP_ADDRESS>:2379

bootstrap:
  dcs:
    ttl: 30
    loop_wait: 10
    retry_timeout: 10
    maximum_lag_on_failover: 1048576
    master_start_timeout: 300
    synchronous_mode: false
    postgresql:
      use_pg_rewind: true
      parameters:
        wal_level: replica
        hot_standby: "on"
        wal_keep_size: 100
        max_wal_senders: 10
        max_replication_slots: 10
        wal_log_hints: "on"
        archive_mode: "off"
        archive_timeout: 1800s
        logging_collector: "on"

postgresql:
  database: highgo
  listen: <IP_ADDRESS>:5866
  connect_address: <IP_ADDRESS>:5866
  bin_dir: /opt/highgo/postgres14/bin
  data_dir: /opt/highgo/postgres14/data
  config_dir: /opt/highgo/postgres14/data
  pg_hba:
  - local   all             all                                     md5
  - host    all             all             <IP_ADDRESS>/0               md5
  - host    all             all             ::1/128                 md5
  - local   replication     all                                     md5
  - host    replication     all             <IP_ADDRESS>/0               md5
  - host    replication     all             ::1/128                 md5

tags:
    nofailover: false
    noloadbalance: false
    clonefrom: false
    nosync: false

log:
  level: INFO
  traceback_level: INFO
  dir: /usr/local/patroni

patronictl show-config
loop_wait: 10
master_start_timeout: 300
maximum_lag_on_failover: 1048576
postgresql:
  parameters:
    archive_mode: 'off'
    archive_timeout: 1800s
    hot_standby: 'on'
    logging_collector: 'on'
    max_replication_slots: 10
    max_wal_senders: 10
    wal_keep_size: 100
    wal_level: replica
    wal_log_hints: 'on'
  use_pg_rewind: true
retry_timeout: 10
synchronous_mode: true
ttl: 30

Patroni log files
NOTHING SPECIAL

2024-09-12 09:16:58,934 INFO: no action. I am (see_01), a secondary, and following a leader (see_02)
2024-09-12 09:16:59,892 INFO: no action. I am (see_01), a secondary, and following a leader (see_02)
2024-09-12 09:17:00,645 INFO: establishing a new patroni restapi connection to postgres
2024-09-12 09:17:00,980 INFO: no action. I am (see_01), a secondary, and following a leader (see_02)
2024-09-12 09:17:01,945 INFO: no action. I am (see_01), a secondary, and following a leader (see_02)
2024-09-12 09:17:01,991 INFO: no action. I am (see_01), a secondary, and following a leader (see_02)
2024-09-12 09:17:02,037 INFO: Cleaning up failover key after acquiring leader lock...
2024-09-12 09:17:02,257 INFO: promoted self to leader by acquiring session lock
2024-09-12 09:17:02,996 INFO: Lock owner: see_01; I am see_01
2024-09-12 09:17:03,090 INFO: updated leader lock during promote
2024-09-12 09:17:04,171 INFO: no action. I am (see_01), the leader with the lock
2024-09-12 09:17:05,128 INFO: no action. I am (see_01), the leader with the lock
2024-09-12 09:17:05,995 INFO: Lock owner: see_01; I am see_01
2024-09-12 09:17:06,040 INFO: Assigning synchronous standby status to ['see_02']
2024-09-12 09:17:08,245 INFO: Synchronous standby status assigned to ['see_02']
2024-09-12 09:17:08,330 INFO: no action. I am (see_01), the leader with the lock
2024-09-12 09:17:08,332 WARNING: Loop time exceeded, rescheduling immediately.
2024-09-12 09:17:08,418 INFO: no action. I am (see_01), the leader with the lock
2024-09-12 09:17:09,378 INFO: no action. I am (see_01), the leader with the lock

PostgreSQL log files
NOTHING SPECIAL

2024-09-12 09:17:00.910 CST [32143] LOG:  replication terminated by primary server
2024-09-12 09:17:00.910 CST [32143] DETAIL:  End of WAL reached on timeline 8 at 0/30018D0.
2024-09-12 09:17:00.910 CST [32143] FATAL:  could not send end-of-streaming message to primary: no COPY in progress
2024-09-12 09:17:00.910 CST [32139] LOG:  invalid resource manager ID 195 at 0/30018D0
2024-09-12 09:17:00.913 CST [39203] FATAL:  could not connect to the primary server: server closed the connection unexpectedly
                This probably means the server terminated abnormally
                before or while processing the request.
2024-09-12 09:17:02.259 CST [32139] LOG:  received promote request
2024-09-12 09:17:02.259 CST [32139] LOG:  redo done at 0/3001858
2024-09-12 09:17:02.259 CST [32139] LOG:  last completed transaction was at log time 2024-09-12 09:16:36.5441+08
2024-09-12 09:17:02.260 CST [32139] LOG:  selected new timeline ID: 9
2024-09-12 09:17:02.279 CST [32139] LOG:  archive recovery complete
2024-09-12 09:17:02.280 CST [32139] LOG:  Switchover the SSHA Role. Current is NONE
2024-09-12 09:17:02.280 CST [32136] LOG:  database system is ready to accept connections
2024-09-12 09:17:06.047 CST [32136] LOG:  received SIGHUP, reloading configuration files
2024-09-12 09:17:06.047 CST [32136] LOG:  parameter "synchronous_standby_names" changed to "see_02"
2024-09-12 09:17:06.250 CST [39278] LOG:  standby "see_02" is now a synchronous standby with priority 1

Have you tried to use GitHub issue search?

[X] Yes

Anything else we need to know?
No response

I've noticed that in the code, the sync value is updated through etcd3's API using transactions (txn), which involves comparing 'revision' to determine the outcome

Yes, Patorni always updates most important keys atomically, using CAS operations.

found that etcd nodes with inconsistent sync data return different revisions.

Well, it all depends whether you use linearizable or serializable reads.

issues may arise during failover or switchover operations where the status of the standby nodes keeps changing. This issue may not surface immediately but may require multiple executions of the ‘switchover’ operation before it triggers.

I am sorry, but please provide relevant Patroni logs from all nodes and copy&paste from the terminal when you did patroctl switchover.

postgresql:
database: highgo

And

2024-09-12 09:17:02.280 CST [32139] LOG:  Switchover the SSHA Role. Current is NONE

This is not a Postgres.

As shown in the picture, the status of the standby database is inconsistent.

The reason may be that the data of etcd is inconsistent as shown in the picture above.

data of etcd is inconsistent

And why do you think it is a problem of Patroni? Please make sure that the time between all nodes is synchronized (ntpd, or similar service).

I'm sure the time is synchronized, and I found that the leader value can be updated correctly. It uses create_revision while sync update uses mod_revision. Why is that?

I'm sure the time is synchronized

And I am not, otherwise please explain why different etcd nodes returning different data?
Also, I don't understand why are you asking the question why etcd nodes returning different data here, and not in Etcd GH.

I found that the leader value can be updated correctly. It uses create_revision

With Etcd v3 the leader key is never updated, only created.

while sync update uses mod_revision. Why is that?

Because /sync key exists, and we want to guaranty there is no concurrent updates.

Thank you very much for your reply. I think you are right, I should ask in Etcd GH.


Provide Getter for Context from Request and attributes of the Entity

Category
User level API changes
Describe the feature you'd like to request
Currently, both Request and Entity do not expose the API for user to retrieve the Context of the Request and Attribute of the Entity.
In my use case, I need to access both Request and Entity information for purposes like authorization logging and mapping these fields into the OCSF (Open Cybersecurity Framework) format. However, my current option is limited to using the to_string() method to store the entire context of the entity and request in the authorization log.
If cedar could introduce features such as Request.context() -> Option<impl Iterator<Item = (String, RestrictedExpression)>>, Entity.attributes() -> Option<HashMap<String, RestrictedExpression>> , it would significantly enhance my authorization log by providing additional information. It would be beneficial for user to access both fields such that user could do some data manipulation and other purpose.
Describe alternatives you've considered
I used to_string() to log the whole string into the authorization log.
Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request
[ ] ⚠ This feature might incur a breaking change

+1
not an immediate issue for our team since we're interacting with cedar through a custom wrapper class, but this should probably be built in.

Thanks for the suggestion, we agree that would be useful! I'm adding it to our backlog for now, but I'll also mark it as "good first issue" since this is a small API change that we would love a PR for 😉


[Task]: Opening property pane should focus the widget name

From @somangshu

When you select a widget you need to use the mouse to start with keyboard navigation, I believe we have to reduce this click simply by focusing on the widget name as soon as the widget is selected.

Sounds good as long as we don't make it active and just focus on it.

@vuiets @somangshu @riodeuno
If we make the widget name to be focused on opening the property pane, the following user flows are getting affected:

Ability to delete the widget using the delete key.
Ability to copy the widget using the Cmd + C.

When the user performs these actions, the focus will be on the widget name and these actions will be applied on the widget name rather than on the widget itself!

I think in order to avoid the above scenarios we had the click on F2 to focus on widget name, rather than just focus directly on the widgetname.

@aswathkk @yaldram I was wondering if the widget name has two states:

Highlighted state where we're not yet editing the name, just the field is selected.
Focused state where we have the cursor, and can modify the entity name.
If we have these two states, we can make the default behaviour only highlight the name. This should free up the delete, cut and copy keyboard shortcut handlers.

What we decided on the last call is

When a new widget is inserted into the canvas, focus on the widget name. This also encourages users to give a proper name for the widgets initially.
When an existing widget is selected, focus on the first property in the property pane.
@vuiets Correct me if I'm wrong.

Yes, that's right @aswathkk
Came across another scenario on a user research call with @Nikhil-Nandagopal and @rahulramesha. User wanted to rename a widget on pasting it so adding that here

When a widget is pasted, focus on the widget name. This makes it easy for the user to name it and reference it properly in bindings on other widgets.

I understand that we are making it easier for a set of users to rename the widget.
But there is another set of users who are getting affected by this:

users who paste widgets accidentally
users who DnD wrong widget to the canvas
we will be making it hard for them to delete the widget

So @aswathkk we'll focus on the name but not make it active.
Then one has to hit Enter/Space to make it active and rename the widget.
This way the other operations like deleting a widget, copying a widget, and cutting a widget using keyboard shortcuts can still be done.

Working fine. Moving to done !

Issue# https://github.com/appsmithorg/appsmith/issues/14265
https://www.loom.com/share/e82c783cf6b940608bbfd95a3cd9104b
When adding a new widget, its name is not getting focused if we are doing a reflow.


Add LICENSE

What
As of now repository does not have any LICENSE file, and it is not clear if other people can actually use this product and what are the conditions.
Why

As a user I want to understand use conditions
As a contributor I want to understand if I can reuse the code and propose new features

How
Add LICENSE.txt/LICENSE.md document to repository root

Ha, fantastic idea! Hopefully can get a license set up this week.

MIT  license added


Question about ObstaclesPrioritizer::AssignCautionLevelByEgoReferenceLine

Apollo 5.0
ObstaclesPrioritizer::AssignCautionLevelByEgoReferenceLine
Someone can explain  what does this "first loop" mean  for me?
especially this snippet code:
cpp if (std::fabs(l) < std::fabs(ego_vehicle_l)) {      ego_vehicle_s = accumulated_s + s;      ego_vehicle_l = l;      ego_lane_id_ = lane_id;     ego_lane_s_ = s; }
find the minimum L position in ego lane sequence ? but why?

if (std::fabs(l) < std::fabs(ego_vehicle_l)) {       ego_vehicle_s = accumulated_s + s;       ego_vehicle_l = l;       ego_lane_id_ = lane_id;      ego_lane_s_ = s;  }


Linter-gcc unable to detect .h files

I am trying to follow this C++ tutorial
https://www.youtube.com/watch?list=PLAE85DE8440AA6B83&v=NTip15BHVZc
And there are no options that I am aware of in Atom to create a .h file. So I created it manually by going to Windows explorer, creating 2 text files and naming it “Classes.h” and “Classes.cpp”. In the “Classes.cpp” file I typed this out #include “Classes.h”
https://i.stack.imgur.com/Qk9gG.png
And I got an error that states that there is no such file or directory that exists.

On Mon, May 21, 2018 at 10:13 PM nod<EMAIL_ADDRESS>wrote:

i have the same problem
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hebaishi/linter-gcc/issues/161#issuecomment-390637004,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ab79BnQlefhXOK_pZUw6tksIfh40vV2Sks5t0q9_gaJpZM4SJPFm
.


Please update pubspec.yaml

Hi,
There is a new version of StageXL with version 0.11.0. The version constraint in your pubspec.yaml limits the version to <0.11.0. It would be great if you could update the constraint.
Thanks a lot,
Bernhard

Done and done.  Thanks for reaching out.  I didn't test though - so if you can verify it still works that'd be great.  The project that needed DartVN (which needed this library) was abandoned, so I haven't been in Dart much at all these past few months.  Bit bummed on the Dart announcement today...

Thanks for the quick update. I did a test and it works fine! It would be great if you could also update the version of stagexl_richtextfield and upload it to Pub.
Regarding the announcement, yes it's a little bit sad but i the dart2js compiler works pretty good and i hope they can improve it even more. Dart is still a great language - i know it because i have to write a lot of TypeScript at work and i hate it :)


Update errorMessages.js with Italian translations

Description

Checklist

[✔] I have read and followed the Contributing Guide
[✔] I have read and accept the Code of Conduct (TLDR: just behave in a friendly manner)
[✔] My code follows the general style of this project (explained here)

Again, thank you very much for the translation :)


Preferences without restart; simpler build process and uncovered a bug with tabbed browsing

I've done some cleanup of the build system, UI and have also made the extension reflect changes in preferences as they are changed (i.e. without a browser restart).
However this has shown up a bug that seems quite fundamental to how this (and maybe other) extensions work: when the browser tab changes, we loose the state of the current page (i.e. previousSelectedIndex).  If we then go back to that page later, it is possible to have a border "stuck" on an element until we cycle back through it.
I noticed this when implementing preferences being reflected instantly because opening the Add-Ons tab triggers this behaviour.  If one has the Add-Ons tab open always, the border preferences are properly changed in real-time.  If one opens the Add-Ons tab to change the preferences, the state of the web page tab is overwritten, so the code doesn't know which element to remove/add a border from/to when the preference changes.
I am not sure what is the best way to combat this -- keep state for each open tab, or maybe there is a mode for Firefox extensions that runs code specific to each tab (I would hope for the latter).
Perhaps the best way to proceed, if you have time and are able to work on this, would be for me to file that bug on your repo (as that's the root) to go into this further?  If you are not able to work on it I'll just file the bug on mine and try to hack away at it, and make a pull request if/when I fix it.
Please let me know which works for you.

I realised this is still open, and things have diverged quite a lot now (in the intervening time I've learnt that it's a good idea to make PRs from separate feature branches :-)). I have now got it all, at long last, converted to being a WebExtension (works on Chrome, too) and it's available directly in-browser via the browsers' respective add-on facilities.
Your contribution is, of course, still acknowledged, and I'm grateful to have had your great work to stand on the shoulders of.  I'm hoping that this new version of the extension will be easy for many more people to discover and install in-browser. Thanks!


full grid scan testing notes

aperture z check for safe move has no tolerance (??!!)
running once works, twice does not
pin tip centring dosn't happen at start of full grid scan (do we want it to?)
sometimes num_images is negative (??!!) https://graylog2.diamond.ac.uk/messages/logs_8246/27ff3cc1-f308-11ed-9360-1866dafadc6c -> sometimes num_steps is negative - was default values for min and max grid size the wrong way round - we are hitting edge of image somtimes
centre often wrong and snapshots often not displayed

covered in https://github.com/DiamondLightSource/dodal/issues/52

I think we don't want to for now, address in a later issue


Compile warning for src/be_byteslib.c:249:54

src/be_byteslib.c:249:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
  249 |     attr->len = ((int32_t)len <= attr->size) ? len : attr->size;
      |

source code:
static void buf_set_len(buf_impl* attr, const size_t len)
{
    uint16_t old_len = attr->len;
    attr->len = ((int32_t)len <= attr->size) ? len : attr->size;
    if (old_len < attr->len) {
        memset((void*) &attr->bufptr[old_len], 0, attr->len - old_len);
    }
}

Interestingly I don't get this warning.
I believe a simple cast should do it:
    attr->len = ((int32_t)len <= attr->size) ? (int32_t) len : attr->size;


 Thank you!

Nginx RTMP module is not compatible with this Ubuntu version, please, use other versions to install this module, or choose these methods:
Other methods: Docker or Vagrant.
./configure is not compatible and not working in this Ubuntu version.
Thank you.

@meverikxp apply this patch, should make it build again
diff -Nur a/ngx_rtmp_eval.c b/ngx_rtmp_eval.c
--- a/ngx_rtmp_eval.c	2018-06-02 19:23:28.993466673 +0200
+++ b/ngx_rtmp_eval.c	2018-06-02 19:23:26.532371311 +0200
@@ -166,6 +166,7 @@
                         state = ESCAPE;
                         continue;
                 }
+				 /* fall through */

             case ESCAPE:
                 ngx_rtmp_eval_append(&b, &c, 1, log);

In Ubuntu 18.04 you only need to install nginx as you would normally do (apt install nginx-full) and afterwards just do apt install libnginx-mod-rtmp. The only thing you need to do then is edit the config files and edit the RTMP part and the locations and such.

use nginx-1.13.8.tar.gz

so we can't build Nginx from source on Ubuntu 18.04? any tutorial about how to build Nginx with Modules?
thanks

No, please, install Ubuntu 16.04 LTS.

@meverikxp apply this patch, should make it build again
diff -Nur a/ngx_rtmp_eval.c b/ngx_rtmp_eval.c
--- a/ngx_rtmp_eval.c	2018-06-02 19:23:28.993466673 +0200
+++ b/ngx_rtmp_eval.c	2018-06-02 19:23:26.532371311 +0200
@@ -166,6 +166,7 @@
                         state = ESCAPE;
                         continue;
                 }
+				 /* fall through */

             case ESCAPE:
                 ngx_rtmp_eval_append(&b, &c, 1, log);

THIS WORKS THANKS

Works fine with nginx 1.14.2

Works fine with nginx 1.14.2

@flouthoc me too 👍

In Ubuntu 18.04 you only need to install nginx as you would normally do (apt install nginx-full) and afterwards just do apt install libnginx-mod-rtmp. The only thing you need to do then is edit the config files and edit the RTMP part and the locations and such.

where can I find the configuration file? any hint?

/etc/nginx/nginx.conf
From: KevinZhanggg<EMAIL_ADDRESS>Sent: vrijdag 5 maart 2021 19:49
To: arut/nginx-rtmp-module<EMAIL_ADDRESS>Cc: ustoopia<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [arut/nginx-rtmp-module] Getting error on make command Ubuntu 18.04 (#1255)
In Ubuntu 18.04 you only need to install nginx as you would normally do (apt install nginx-full) and afterwards just do apt install libnginx-mod-rtmp. The only thing you need to do then is edit the config files and edit the RTMP part and the locations and such.
where can I find the configuration file? any hint?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/arut/nginx-rtmp-module/issues/1255#issuecomment-791611712 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZM6CLYGBY52IADV7WER6DTCERSHANCNFSM4E5HXCYQ .  https://github.com/notifications/beacon/AGZM6CPFAQXFGXOGOHOFIODTCERSHA5CNFSM4E5HXCY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF4XQSQA.gif

/etc/nginx/nginx.conf From: KevinZhanggg<EMAIL_ADDRESS>Sent: vrijdag 5 maart 2021 19:49 To: arut/nginx-rtmp-module<EMAIL_ADDRESS>Cc: ustoopia<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [arut/nginx-rtmp-module] Getting error on make command Ubuntu 18.04 (#1255) In Ubuntu 18.04 you only need to install nginx as you would normally do (apt install nginx-full) and afterwards just do apt install libnginx-mod-rtmp. The only thing you need to do then is edit the config files and edit the RTMP part and the locations and such. where can I find the configuration file? any hint? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1255 (comment)> , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZM6CLYGBY52IADV7WER6DTCERSHANCNFSM4E5HXCYQ . https://github.com/notifications/beacon/AGZM6CPFAQXFGXOGOHOFIODTCERSHA5CNFSM4E5HXCY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF4XQSQA.gif

Thanks for your quick reply. For location info what I should put there ?

I’m not sure what you’re asking. Location info??
From: KevinZhanggg<EMAIL_ADDRESS>Sent: vrijdag 5 maart 2021 19:58
To: arut/nginx-rtmp-module<EMAIL_ADDRESS>Cc: ustoopia<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [arut/nginx-rtmp-module] Getting error on make command Ubuntu 18.04 (#1255)
/etc/nginx/nginx.conf From: KevinZhanggg<EMAIL_ADDRESS><EMAIL_ADDRESS>Sent: vrijdag 5 maart 2021 19:49 To: arut/nginx-rtmp-module<EMAIL_ADDRESS><EMAIL_ADDRESS>Cc: ustoopia<EMAIL_ADDRESS><EMAIL_ADDRESS>; Comment<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [arut/nginx-rtmp-module] Getting error on make command Ubuntu 18.04 (#1255 https://github.com/arut/nginx-rtmp-module/issues/1255 ) In Ubuntu 18.04 you only need to install nginx as you would normally do (apt install nginx-full) and afterwards just do apt install libnginx-mod-rtmp. The only thing you need to do then is edit the config files and edit the RTMP part and the locations and such. where can I find the configuration file? any hint? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1255 (comment) https://github.com/arut/nginx-rtmp-module/issues/1255#issuecomment-791611712 > , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZM6CLYGBY52IADV7WER6DTCERSHANCNFSM4E5HXCYQ . https://github.com/notifications/beacon/AGZM6CPFAQXFGXOGOHOFIODTCERSHA5CNFSM4E5HXCY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF4XQSQA.gif
Thanks for your quick reply. For location info what I should put there ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/arut/nginx-rtmp-module/issues/1255#issuecomment-791616377 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZM6COIUBRXMQG4FCVVV73TCESTPANCNFSM4E5HXCYQ .  https://github.com/notifications/beacon/AGZM6CNSE6CWP5ZXHGP4LGDTCESTPA5CNFSM4E5HXCY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF4XRW6I.gif

I’m not sure what you’re asking. Location info??

Oh. Sorry for confusing you. You said need to edit the config file and RTMP part and locations and such. I am asking what locations I should put there. Thanks !

Locations like where HLS stores its temporary files or where recorded files will be stored.

Try the latest version nginx-1.15.12.tar.gz

我想要给nginx从源码加nginx-http-flv-module-master模块，遇上了src/core/ngx_murmurhash.c: In function ‘ngx_murmur_hash2’:
src/core/ngx_murmurhash.c:37:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
37 |         h ^= data[2] << 16;
|         ^~~~~~~~~~~~~~
src/core/ngx_murmurhash.c:38:5: note: here
38 |     case 2:
|     ^~~~
src/core/ngx_murmurhash.c:39:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
39 |         h ^= data[1] << 8;
|         ^~~~~~~~~~~~~
src/core/ngx_murmurhash.c:40:5: note: here
40 |     case 1:
|     ^~~~
cc1: all warnings being treated as errors
make[1]: *** [objs/Makefile:544：objs/src/core/ngx_murmurhash.o] 错误 1
make[1]: 离开目录“/home/china/nginx-1.9.11”
make: *** [Makefile:8：build] 错误 2
怎么办啊？


MSAL credentials send requests through Requests

There are code paths through MSAL which wrapping credentials (e.g. InteractiveBrowserCredential) don't intercept. For example, MSAL applications create a new HTTP client (via a private method) every time they redeem a refresh token rather than reuse the clients they create at construction (and which we replace with an adapter).
Some MSAL application code paths also directly call into requests. For example, a public application's get_accounts method may send instance discovery requests.

MSAL Python 1.3.0 adds an http_client parameter to ClientApplication. This should enable channeling all MSAL's requests into our pipeline.

I think the current patching logic is not enough:
https://github.com/Azure/azure-sdk-for-python/blob/b299320a619087c7c33e1041af4a89ef8cbf2400/sdk/identity/azure-identity/azure/identity/_internal/msal_transport_adapter.py#L69
MSAL still uses requests for this line:
https://github.com/Azure/azure-sdk-for-python/blob/b15cededb71a33d787ab30a1e676b798825d0d0d/sdk/identity/azure-identity/azure/identity/_internal/msal_credentials.py#L274
When creating a credential with connection_verify=False (https://github.com/Azure/azure-sdk-for-python/issues/11944), the callback shows that requests is still directly used by MSAL (without RequestsTransport in between), thus failing to apply connection_verify:
https://github.com/Azure/azure-sdk-for-python/blob/0e82fae6b881d39497f8eb6890a33969dd9eec31/sdk/core/azure-core/azure/core/pipeline/transport/_requests_basic.py#L166
Traceback (most recent call last):
  File "d:\cli\azure-sdk-for-python\sdk\identity\azure-identity\azure\identity\_internal\exception_wrapper.py", line 18, in wrapper
    return fn(*args, **kwargs)
  File "d:\cli\azure-sdk-for-python\sdk\identity\azure-identity\azure\identity\_internal\msal_credentials.py", line 274, in _acquire_token_silent
    result = app.acquire_token_silent_with_error(list(scopes), account=account, **kwargs)
  File "D:\cli\microsoft-authentication-library-for-python\msal\application.py", line 546, in acquire_token_silent_with_error
    result = self._acquire_token_silent_from_cache_and_possibly_refresh_it(
  File "D:\cli\microsoft-authentication-library-for-python\msal\application.py", line 608, in _acquire_token_silent_from_cache_and_possibly_refresh_it
    return self._acquire_token_silent_by_finding_rt_belongs_to_me_or_my_family(
  File "D:\cli\microsoft-authentication-library-for-python\msal\application.py", line 639, in _acquire_token_silent_by_finding_rt_belongs_to_me_or_my_family
    last_resp = at = self._acquire_token_silent_by_finding_specific_refresh_token(
  File "D:\cli\microsoft-authentication-library-for-python\msal\application.py", line 670, in _acquire_token_silent_by_finding_specific_refresh_token
    response = client.obtain_token_by_refresh_token(
  File "D:\cli\microsoft-authentication-library-for-python\msal\oauth2cli\oauth2.py", line 521, in obtain_token_by_refresh_token
    resp = super(Client, self).obtain_token_by_refresh_token(
  File "D:\cli\microsoft-authentication-library-for-python\msal\oauth2cli\oauth2.py", line 242, in obtain_token_by_refresh_token
    return self._obtain_token("refresh_token", data=data, **kwargs)
  File "D:\cli\microsoft-authentication-library-for-python\msal\oauth2cli\oidc.py", line 83, in _obtain_token
    ret = super(Client, self)._obtain_token(grant_type, *args, **kwargs)
  File "D:\cli\microsoft-authentication-library-for-python\msal\oauth2cli\oauth2.py", line 462, in _obtain_token
    resp = super(Client, self)._obtain_token(
  File "D:\cli\microsoft-authentication-library-for-python\msal\oauth2cli\oauth2.py", line 214, in _obtain_token
    resp = (post or self._http_client.post)(
  File "D:\cli\env38\lib\site-packages\requests\sessions.py", line 581, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "D:\cli\env38\lib\site-packages\requests\sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "D:\cli\env38\lib\site-packages\requests\sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "D:\cli\env38\lib\site-packages\requests\adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with url: /organizations/oauth2/v2.0/token (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))

This is because the client created at msal.application.ClientApplication.__init__
self.client = self._build_client(client_credential, self.authority)

is not reused at msal.application.ClientApplication._acquire_token_silent_by_finding_specific_refresh_token
client = self._build_client(self.client_credential, authority)

So the monkey patch doesn't work for this client:
https://github.com/Azure/azure-sdk-for-python/blob/b15cededb71a33d787ab30a1e676b798825d0d0d/sdk/identity/azure-identity/azure/identity/_internal/msal_credentials.py#L136
This won't be an issue anymore since


Format the Wagtail codebase with black

We’ve discussed reformatting Wagtail’s codebase with black multiple times in the past, but it seems there is no public record of those discussions / why we haven’t done it yet but intend to.
Here is what we discussed in a past core team meeting:
TL;DR; wait until Black 1.0, and Django uses it

https://github.com/django/deps/blob/master/accepted/0008-black.rst
Django has confirmed they will adopt Black (Python code formatter) once Black reaches 1.0
https://black.readthedocs.io/en/stable/
https://black.readthedocs.io/en/stable/installation_and_usage.html#command-line-options
Matt’s thoughts

potentialy risk of distorting the git history but this has not been a major irritation (eg. renaming some folders last year)
list formatting is still not fully solved (ie. not as ‘smart’) and this may cuase some points of contention
Not against it in princible

Bertrand

workflow, do we expect people to run Black from their computer?
Not a fan of pre-commit hooks as this means environment has to be set up correctly

Decision - await to see what Django do for this, how their tooling is set up, how they make it easier for their contributors to use the formatter locally and also check things are formatted for Pull Requests

Relevant links:

PR trialing black formatting: #5310
Django DEP 0008, https://github.com/django/deps/blob/master/accepted/0008-black.rst
black’s stable release plans, https://github.com/psf/black/issues/517#issuecomment-578135675
black’s stable release roadmap, https://github.com/psf/black/projects/4#card-33986064

For reference, we’ve also discussed using Prettier as well (for JS, SCSS, Markdown, JSON, YAML). Here I think it’s just a matter of someone putting a small proposal together (in a new issue), and then making the change – we’re all in agreement we’d love to see this happen.

@thibaudcolas Thanks for writing this up 🙂

For reference, we’ve also discussed using Prettier as well (for JS, SCSS, Markdown, JSON, YAML). Here I think it’s just a matter of someone putting a small proposal together (in a new issue), and then making the change – we’re all in agreement we’d love to see this happen.

I can give this a go.

Black contributor here, I've stumbled across this issue by chance :P FYI, it is possible ignore certain commits when calling git blame using --ignore-rev or --ignore-revs-file since Git version 2.23. So at least that part of the git history won't be ruined, although the GitHub blame UI sadly doesn't support this feature yet.
For more information:
https://github.com/psf/black#migrating-your-code-style-without-ruining-git-blame
https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revltrevgt

FYI for people interested in this, based on https://github.com/psf/black/pull/2529. The info isn’t where I’d have expected this but the FAQ explicitly says:

[…] the first stable release, expected for January 2022

cc @Tijani-Dia who was interested in working on this.

Black has now made a stable release, so if anyone wants to pick this up please go ahead. I’d like us to proceed with this similarly with how we’re adding Prettier:

One PR with the black configuration, necessary integration with our other linting, continuous integration, documentation changes (see WIP #7908 for Prettier)
Another separate PR with the actual auto-formatting changes – meant to be merged right after the first, but kept separate so it’s easier to recreate as-needed to avoid merge conflicts
And in addition – a clear step-by-step procedure for contributors to rebase their own PRs with black formatting

Based on reviewing how Wagtail is set up right now, I’d expect the black setup to require:

A pyproject.toml with the configuration. Potentially a few changes to our .editorconfig too (unsure).
black installed via our setup.py testing_extras like other static analysis tools
Running in CircleCI in our config.yml’s backend job like for flake8
Adding to our Makefile’s lint target
Updating to the latest isort with the black-compatible profile
Potentially updating our flake8 rules to be compatible with black formatting
Docs updates to python_guidelines.rst to mention black
A black hook in our .pre-commit-config.yaml configuration

I’ll mark this as a good first issue – the steps involved are by no means simple, but this none of this requires extensive knowledge of how Wagtail works.

Done by Dan in #7967!


docs: update readme and add docs

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

GitHub release
v1.0.5

Your semantic-release bot :package::rocket:


Headings are not shown in outline (for rmarkdown)

Love the plugin, as I can edit rmarkdown files in obsidian.
But the outline (core plugin) does not show the headings. Syntax highlighting and everything else works. Also, plugins like Quick Switcher++ do not get the tags etc.

Could that be fixed? Or does the problem lie elsewhere?

I'm guessing this is because obsidian itself only scans .md files for metadata. My plugin only allows custom filetypes to be associated to views sadly. It's likely obsidian's api doesn't support this yet as well.


Limit operations blocking to Download phase of initial sync

https://github.com/Gizra/ihangane/issues/3068

@mariano-dagostino please review


Form fields validation, Events and Providers

Description
Please include a summary of the change.
Events create validation fields
Provider create validation fields
Screenshots
If applicable, add screenshots about your changes
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How to test it
If applicable, describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

Go to '...'
Click on '....'
Scroll down to '....'

Checklist:

[ ] Doesn't break the current code.
[ ] Passes linters and test, also is building.
[ ] Doesn't have spelling or grammatical problems.
[ ] Doesn't have unnecessary comments or debugging code.
[ ] The branch is updated with the last dev branch changes.

@PrototypeK02 please check this out

Seems like all the fields are required now?
@Eghinner please check
Also, remove the lockfile change, please

Yes, the custom input component makes the input required, but it wasnt working as a boolean, by default  the required option for the form was false, and the property required from the custom input was a string.

Verification performed found
-The fields, being empty and clicking save, throw the error written below the text field. - events

In providers, clicking add also shows me the fields with a text below the text field.


Missed requests not being deleted [v5.5]

Saw this while looking into #1489, reservations are correctly being flagged as missed but not being deleted correctly. It's possible this has to do with the deletion task looking at the due date, not the start date, but I'm not sure.

 I'm just going to check and see if we switched what a blank setting means (i.e. if in v3.4 it meant don't keep and in v5.5 it means keep forever) - if so I'll e-mail our clients to ask them to set it appropriately.

This setting was actually added post-v3.4 in #594, so everyone now defaults to the opposite of what things used to be. I'm re-opening this to change the default behavior to deleting after a week and will e-mail our clients to update their instances.


@Path("/") not rendered at all

When annotating a Java class with @Path("/"), then the slash ( / ), doesn't appear at all. In any other cases, like @Path("/abc"), the path "/abc" is rendered.
As our code runs, we would like to see the Swagger generated documentation handling it too.
I've tested this one with swagger-maven-plugin 3.0.0, 3.0.1 and 3.1.0, and couldn't find a reference for it elsewhere.
(This is a replacement of https://github.com/swagger-api/swagger-ui/issues/1720.)

@bojanantonovic
This looks like a known issue over in swagger-maven-plugin. Please add any useful information to https://github.com/kongchen/swagger-maven-plugin/issues/217
I can investigate this over the next few days.

@bojanantonovic
I've fixed this in swagger-maven-plugin 3.1.1-SNAPSHOT. Could you please pull source and verify ?
@webron This issue is probably safe to close; we can move discussion over to kongchen/swagger-maven-plugin#217

Thanks, @who.

Can confirm: problem is now fixed. Thanks!


Validation errors need to be fixed

Some of the exif in the Pillow is being taken in as integers this should be strings within the controlled dictionary
<xsd:integer> but must be a <xsd:string>

Also the raster bitsperpixel also needs to be fixed along with adding some assertions

Have implemented a fix for this however I have highlighted these as TODO as there may be a cleaner way to do this
Have replicated the fix across both Pillow and exifread repos so they can both work with the same solution even though each lib has different outputs for these variables.
fixing ints in what should only be strings in controlled dict:
https://github.com/casework/CASE-Implementation-PyPI-Pillow/blob/b9e800de8dcac95f5166099507c769e53b3ce03f/pillow_case/exif_node_maker.py#L177-L225
fixing strings in what should only be ints:
https://github.com/casework/CASE-Implementation-PyPI-Pillow/blob/b9e800de8dcac95f5166099507c769e53b3ce03f/pillow_case/exif_node_maker.py#L253-L256

@red-ship-it , FYI:
https://github.com/casework/CASE-Utilities-Python/pull/16


Question. Should aptsync run on RHEL with podman?

Tried to get Debian Repos (Bullseye) and write to local /var/www/html/debian. But get "Error: statfs /var/spool/apt-mirror: no such file or directory"
The /var/spool path is inside the container??
docker run --rm
-e LOG_ROTATE_CYCLE='5'
-e APTSYNC_URL='ftp.de.debian.org/debian'
-e APTSYNC_DISTS='bullseye|main contrib|amd64'
-v /var/spool/apt-mirror:/var/www/html/debian
docker.io/ustcmirror/aptsync:latest
Thanks in advance

I think it should be -v /var/www/html/debian:/data

@RudiOnTheAir Hi! aptsync should be able to run inside the container regardless of the distribution of the host environment.
As a complement to what @zhsj suggests, you could try the following command:
docker run --rm \
-e LOG_ROTATE_CYCLE='5' \
-e APTSYNC_URL='http://ftp.de.debian.org/debian' \
-e APTSYNC_DISTS='bullseye|main contrib|amd64' \
-v /var/www/html/debian:/data \
docker.io/ustcmirror/aptsync:latest

Please note the protocol of the APTSYNC_URL, it cannot be omitted due to the current implementation.

OK, tried it know.
I've aborted due to the permission error.. The data dir is inside the container??
`[root@debmirror aptsync]# ./aptsync.sh
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
chown: /data/: Permission denied
deb-amd64 http://ftp.de.debian.org/debian bullseye main contrib
============ SYNC STARTED AT 2022-03-13 20:10:39 ============
*********** 8< ***********
Downloading 22 index files using 20 threads...
Begin time: Sun Mar 13 20:10:40 2022
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Sun Mar 13 20:10:43 2022
Processing translation indexes: [T]
Downloading 38 translation files using 20 threads...
Begin time: Sun Mar 13 20:10:43 2022
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... ^C[6]... Aborted
`

It seems, that is SE-Linux related!
I've added in the volume variable two commands found in another forum thread.
[root@debmirror ~]# cat aptsync/aptsync.sh
docker run --rm
-e LOG_ROTATE_CYCLE='5'
-e APTSYNC_URL='http://ftp.de.debian.org/debian'
-e APTSYNC_DISTS='bullseye|main contrib|amd64'
-v /var/www/html/:/data --security-opt label=disable
docker.io/ustcmirror/aptsync:latest
https://github.com/containers/podman/issues/3683#issuecomment-517237050


Update API.md

Update API.md to include all endpoints and bring in line with other services.

 Update Api.md for java services


Lightning section

Description

Checklist

[x] tested locally using Vuepress
[x] mentioned related issue

#3

@davterra look at this

Will do

Good stuff. One suggestion: We have the restore.md that refers to a channel.backup but I don't think we have anything written about how to download a local channel.backup or where to find it in the myNode file structure if you don't download it. It could either be worked into the restore.md chapter, or maybe it needs it's own lnd-channel-backup.md chapter. I could do either pretty quickly if you have other priorities ATM.

I won't work on this ATM. Let me merge this PR and then you can take it forward with another PR.


Warning pops up even when I assign the output of the annotate function to a variable

I think the following warning should only appear if I don't assign the output of the annotate function to a variable? I could be convinced otherwise though.
*** WARNING: If you don't assign the output of the annotate function
                     to a variable all annotations are going to be lost.
                     To recover the last annotated SFrame call:

        `tc.image_classifier.recover_annotation()`

@shantanuchhabra From a UX perspective I agree. But I'm not sure whether it's possible to do this -- do you know of a way?

I've extensively searched around for a solution. Haven't found a solution as of yet. Closing for now. If you have any suggestions on how this could be done, please Re-Open this issue!


[Select] Update renderValue prop's TypeScript type

[x] I have followed (at least) the PR section of the contributing guide.

Closes #34083
We add conditional type on renderValue based on displayEmpty prop. If we don't use conditional type and simply consider renderValue type as (value: T | '') => React.ReactNode, we will always have to check for value not being an empty string to be able to use object methods like map, join etc (Array type) in renderValue.
Instead:

When displayEmpty is false, renderValue type is (value: T) => React.ReactNode.
When displayEmpty is true, renderValue type is (value: T | '') => React.ReactNode

Before: https://codesandbox.io/s/jolly-julien-qr1xlr?file=/src/App.tsx
After: https://codesandbox.io/s/staging-surf-fz8eme?file=/src/App.tsx

I am hoping this would not be breaking change for devs who use the displayEmpty prop and renderValue prop together requiring them to add a check for value type in renderValue callback - like I had to update the demo.

Overall the changes make sense, but I would count this as a breaking change if I am being honest. Let's wait to see what @michaldudak thinks before moving forward.

One improvement we could try to minimize the breaking changes is to include the multiple?: false in the ConditionalRenderValueType like this:
type ConditionalRenderValueType<T> =
  | {
      /**
       * If `true`, a value is displayed even if no items are selected.
       *
       * In order to display a meaningful value, a function can be passed to the `renderValue` prop which
       * returns the value to be displayed when no items are selected.
       *
       * ⚠ When using this prop, make sure the label doesn't overlap with the empty displayed value.
       * The label should either be hidden or forced to a shrunk state.
       * @default false
       */
      displayEmpty?: false;
      /**
       * Render the selected value.
       * You can only use it when the `native` prop is `false` (default).
       *
       * @param {any} value The `value` provided to the component.
       * @returns {ReactNode}
       */
      renderValue?: (value: T) => React.ReactNode;
      /**
       * If `true`, `value` must be an array and the menu will support multiple selections.
       * @default false
       */
      multiple?: boolean;
    }
  | { displayEmpty: true; multiple?: false; renderValue?: (value: T | '') => React.ReactNode }
  | { displayEmpty: true; multiple: true; renderValue?: (value: T) => React.ReactNode };

This way the demo could remain as it was before.
I don't think developers will be affected by the breaking change. If someone was using displayEmpty: true, multiple: false, and a custom renderValue, they had to cast the renderValue parameter anyway to be able to handle '', so their code should still work even after this change.

@michaldudak I have made your suggested change. Please take a look!

@michaldudak Can this be reviewed as well?

FYI this is breaking my code because I was using:
interface IProps extends SelectProps {

for a React component of my own that is wrapping the Select, but now SelectProps is a type and not an interface anymore.
I'll see if I can make it work by switching to a type as well.

@pcorpet A type can be extended to an interface with the extends working if the type satisfies the restrictions. I think it should work. Can you provide a CodeSandbox with a minimal example?

@ZeeshanTamboli @pcorpet I updated an existing issue with the cause here - https://github.com/mui/material-ui/issues/35728#issuecomment-1371034216
I'm guessing Mui Component Prop interfaces should never be converted to types since they cannot be extended.

@jonesmac it's not a matter of props being a type or an interface. The error comes from the fact that now the shape of SelectProps isn't known at compile time and thus it can't be used to build your own interfaces based on it. You can still, however, build your own types based on it:
type Props = SelectProps & {

However, this does count as a breaking change, and I missed this when reviewing the code. I'm now trying to find a way to fix this while having #34083 resolved.


pkg/serverinit: storageAndConfig never allows deletes

As reported in https://groups.google.com/d/msg/perkeep/EhhaE4K7mxY/hMN1huJOAgAJ it seems like RemoveBlobs will fail even if the relevant storage is a BlobRemover. That is (primarily) because it is wrapped in a storageAndConfig, that is always set as deletable = false by default.

https://perkeep-review.googlesource.com/#/c/perkeep/+/17246


Vertical writing

Is your feature request related to a problem? Please describe.
Cannot use vertical writing fonts.
I would like to write vertically in Japanese.
https://www.japanesewithanime.com/2021/08/writing-direction.html
Describe the solution you'd like
Add writing-mode and text-orientation option to all text boxes.
Like CSS.
https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode
https://developer.mozilla.org/en-US/docs/Web/CSS/text-orientation
Describe alternatives you've considered
None
Additional context
No response

@souchi
Teach me how to achieve in PDF creation. this project is not just HTML.

Thank you for your reply.
I did a little reserch PDF Specification.
https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/pdfreference1.7old.pdf
This document states(P.395)

Which set of metrics to use is selected according to a writing mode, where 0 specifies horizontal writing and 1 specifies vertical writing.

This metrics apparently come from font information.
AFM could be used, but I could not understand.
I don't know if this is relevant, Cmap also researced. (p. 48 of the following document)
https://adobe-type-tools.github.io/font-tech-notes/pdfs/5014.CIDFont_Spec.pdf
WMode 1 def

It may be possible by setting up a Cmap file for vertical writing.
https://github.com/adobe-type-tools/cmap-resources/blob/master/Adobe-Japan1-7/CMap/UniJIS-UTF8-V
The layout direction (left to right) may be set in the fontkit direction option. It was found in the test script. (line 38)
https://github.com/foliojs/fontkit/blob/master/test/shaping.js
Can you please kindly consider it.

Thank you.
This project's PDF creation process is heavily dependent on pdf-lib. Considering the implementation of pdf-lib, could you think about whether this can be realized with pdfme? We are using a forked version of pdf-lib, so customization is possible.
Also, the following repository seems to have implemented vertical writing by forking pdf-lib, so it might be helpful.
https://github.com/DenkiYagi/pdf-lib

hi @souchi, you can now rotate text 90 degrees, so you can achieve vertical writing.
There is another issue which may limit exact placement (#284), but otherwise I think this is now implemented.
If you agree then this issue can be closed.

ah ignore me, this will not be the same as vertical writing!

@souchi
Vertical writing is used in languages like Japanese, Chinese, Korean, and Mongolian.
To achieve this, one would likely need to utilize font features for layout.
This should probably be implemented as a plugin by someone (maybe me?) in version V3 or later.
@souchi  Would you be interested in implementing this if a V3 plugin becomes feasible?


[Android] [iOS] [UWP] Thumb labels overlap

Hi! I just got this issue on iOS and what's messing with my head is that I implemented that on Android and it works.
I had a look on iOS version code (trying to come up at least with a workaround) but I'm new enough on iOS that I only know positioning through constraints (autolayout). This component seems to use a different method.

fixed in 0.7.8


SwiftPM plugins cannot determine if output writes to a terminal

Description
It's common to change the format of output (notably, adding ANSI escape codes) when stdout/stderr is a TTY/terminal. SPM uses pipes to route output from a plugin back to the main swift process and its stdout, which prevents the use of isatty() etc. to determine the quality of output.
SPM could dodge the issue by setting an environment variable on spawned processes when it determines its own output is a TTY, and then plugins could be modified to check that variable. For example:
  var environment: [String: String] = ...
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || os(Linux)
  if nil != getenv("TERM") {
    if 0 != isatty(STDOUT_FILENO) {
      environment["SPM_STDOUT_IS_TTY"] = "1"
    }
    if 0 != isatty(STDERR_FILENO) {
      environment["SPM_STDERR_IS_TTY"] = "1"
    }
  }
#elseif os(Windows)
  if let stdoutHandle = GetStdHandle(STD_OUTPUT_HANDLE) {
    var screenBufferInfo = CONSOLE_SCREEN_BUFFER_INFO()
    if GetConsoleScreenBufferInfo(stderrHandle, &screenBufferInfo) {
      environment["SPM_STDOUT_IS_TTY"] = "1"
    }
  }
  if let stderrHandle = GetStdHandle(STD_ERROR_HANDLE) {
    var screenBufferInfo = CONSOLE_SCREEN_BUFFER_INFO()
    if GetConsoleScreenBufferInfo(stderrHandle, &screenBufferInfo) {
      environment["SPM_STDERR_IS_TTY"] = "1"
    }
  }
#endif

Expected behavior
I'd expect the typical behaviour for isatty(STDOUT_FILENO) and isatty(STDERR_FILENO) (and the Windows equivalents.)
Actual behavior
These streams are pipes on the plugin side.
Steps to reproduce
No response
Swift Package Manager version/commit hash
Swift Package Manager - Swift 5.8.0-dev
Swift & OS version (output of swift --version && uname -a)
swift-driver version: 1.73 Apple Swift version 5.8 (swiftlang-<IP_ADDRESS>.42 clang-14<IP_ADDRESS>)
Target: arm64-apple-macosx13.0
macOS Ventura

cc @neonichu @abertelrud


compiler error when building for any platform

Hi,
new version 6.1.1 has a missing compiler directive in TypeAnalyzer.cs:
#if UNITY_EDITOR
        static Dictionary<Type, bool> _allowDuringValidation = new Dictionary<Type, bool>();
#endif

we have a setup: warnings as errors and so we would not be able to compile because this is not in use on platform compilation.
Cheers and thanks for all your effort.
Patrick

Thanks for letting us know.  Fixed


Revert pruning on not equal predicate

Closes #560
Rationale for this change
Logic is incorrect. The only way we can tell for sure that a predicate of col != literal is always false, is if both the min and max are literal (aka there is a single value in the column)
What changes are included in this PR?

Fix up  https://github.com/apache/arrow-datafusion/commit/2568323dbd85e05f2bf3e6e484f7cc39983ff26c / #544
Add a test with expected results

I actually think I can still support not equals, I just need to make it a bit more restricted

fyi @jgoday

fyi @jgoday

@alamb, Sorry for introducing the bug, prune_not_eq_data test is much clearer to me now. Thank you!

@alamb, Sorry for introducing the bug, prune_not_eq_data test is much clearer to me now. Thank you!

No worries @jgoday  -- both @Dandandan  and I missed it on the review as well! This is tricky stuff


MB-2142 Retrieve, parse, and return the most recent weekly national average diesel fuel price and publication date from the EIA Open Data API

Description
Explain a little about the changes at a high level.
Reviewer Notes
Is there anything you would like reviewers to give additional scrutiny?
Setup
Add any steps or code to run in this section to help others prepare to run your code:
echo "Code goes here"

Code Review Verification Steps

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in
Querying the Database Safely
have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change
Jira epic for this change

Screenshots
If this PR makes visible UI changes, an image of the finished UI can help reviewers and casual
observers understand the context of the changes. A before image is optional and
can be included at the submitter's discretion.
Consider using an animated image to show an entire workflow instead of using multiple images. You may want to use GIPHY CAPTURE for this! 📸
Please frame screenshots to show enough useful context but also highlight the affected regions.

Messages

:book:
:link: MB-2142

  Generated by :no_entry_sign: dangerJS against 2972b3abbe67877091aa250f7678e60b09283e21


Please implement minimap

Hello , i think that all people want a minimap for multiogar , actually any map is compatible with Multiogar, please make a map :(

Client sided and has been asked multiple times before.

it's client side feature


FVTT 0.8.7

I didn't see this listed, so just wanted to add it real quick.. The current version linked on Foundry says that it 'may not work' on versions after 0.8.7
I haven't TRIED to make it work, just wanted to mention it here to make sure that you're aware. If you've already got it on your to do list, sorry to be a bother. :)

It definitely works beyond 0.8.7. Those warnings are exactly that, warnings :)


CreateIssuesIndexer: invalid argument

Gitea version (or commit ref): v1.2.3
Git version: 2.15.0
Operating system: ArchLinux
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist: https://gist.github.com/alphatr/c3344a2d7b9f5c17b46351052f765704

Description
I use the vagrant to run gitea, and the ISSUE_INDEXER_PATH is in the shared folder, it will throw error, if I move the ISSUE_INDEXER_PATH to other path, it work ok.
...

You can delete the indexers folder and restart gitea web

@lunny I do that and also received this error, see my log gist, create and open have received the error


Misleading error message

When realm plugin is not enabled in shared build.gradle, I am getting error message which is misleading.
 java.lang.IllegalArgumentException: Only subclasses of RealmObject and EmbeddedRealmObject are allowed in the schema. Found: XXXXX

Closing as duplicate of #1060


Decide what to do with LangServerProxy class

LangServerProxy class is part of not finished functionality that should allow us to get some information about symbols in the current workspace from the language server. It inserts new file into current workspace, add some code, invokes intellisense request at specified position and the clears the file so solution can still be compiled. Returned list of intelisense entries can then be used by the wizard to do something (i.e. display list of available model classes or class properties for viewmodel generator).
It is not used anywhere in this project, so it might be better to remove it or to expose it from the extension API.

Class removed from the extension as this functionality is different for each language


Docker daemon crashes when "docker exec -d" spawns background processes

Description
This bug has already been reported here: https://github.com/docker/docker/issues/25989
But the solution provided in the previous ticket (use the detached mode) did not work for me.
The docker daemon still crashes.
Steps to reproduce the issue:

Run a script which spawns another script: docker-compose exec -d -T <container_name> ./script & (see below)
Try to stop container docker-compose stop.
Docker daemon is not responding.

These are docker-compose commands, but since docker-compose is using standard docker commands in background, this should also apply to non-compose commands.
script
#!/bin/bash
sleep 1000000 &
sh ./child

child
#!/bin/bash
sleep 1000000 &

Describe the results you received:
Docker daemon crashes.
Describe the results you expected:
Docker daemon does not crash and script keeps running in background.
Output of docker version:
Docker version 1.12.1, build 23cf638

Output of docker-compose version:
docker-compose version 1.8.0, build f3628c7

Output of docker info:
Containers: 6
 Running: 4
 Paused: 0
 Stopped: 2
Images: 34
Server Version: 1.12.1
Storage Driver: devicemapper
 Pool Name: docker-253:1-1177880-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 3.242 GB
 Data Space Total: 107.4 GB
 Data Space Available: 34.04 GB
 Metadata Space Used: 6.271 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.141 GB
 Thin Pool Minimum Free Space: 10.74 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.110 (2015-10-30)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: overlay host bridge null
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.4.0-36-generic
Operating System: Ubuntu 16.04 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.953 GiB
Name: xxx
ID: HPT2:FMT2:G375:LIMN:WZME:P2CL:2LSX:Z7DC:RCQF:2FX5:AMAI:6Q6Z
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
Tested on Ubuntu 16.04 DigitalOcean Droplet.

Ping @dnephin @mlaventure

Docker daemon crashes.

Please include the stack trace from from the log.

@dnephin when running sudo journalctl -fu docker.service I see no stacktrace.
So the docker daemon apperently does not crash, but is becoming unresponsive.
Just for completeness, I recreated the issue without docker-compose:

docker run -d --name testcontainer php:7-fpm
docker exec -it testcontainer /bin/bash -c "TERM=$TERM exec bash"
Create the script and child files as described above and make them executable.
docker exec -d testcontainer ./script
docker stop testcontainer
No response from daemon.

This is what I get when restarting the service with sudo systemctl restart docker:
Sep 21 22:14:19 ubuntu dockerd[11781]: time="2016-09-21T22:14:19.577498710+02:00" level=error msg="Force shutdown daemon"
Sep 21 22:14:19 ubuntu dockerd[11781]: time="2016-09-21T22:14:19.577686029+02:00" level=info msg="Failed to send signal 15 to the process, force killing"
Sep 21 22:14:19 ubuntu dockerd[11781]: time="2016-09-21T22:14:19.577742964+02:00" level=error msg="Handler for POST /v1.24/containers/testcontainer/stop returned error: Cannot stop container testcontainer: Cannot kill container 130e1237ae33a2724de2d9ef10c1325fcfe4b81e80447e335583cfca4dc2347e: rpc error: code = 2 desc = grpc: the client connection is closing"
Sep 21 22:14:19 ubuntu dockerd[11781]: time="2016-09-21T22:14:19.57774751+02:00" level=info msg="stopping containerd after receiving terminated"
Sep 21 22:14:19 ubuntu dockerd[11781]: time="2016-09-21T22:14:19.577969466+02:00" level=info msg="Failed to send signal 15 to the process, force killing"
Sep 21 22:14:19 ubuntu dockerd[11781]: time="2016-09-21T22:14:19.578004744+02:00" level=error msg="Stop container error: Failed to stop container 130e1237ae33a2724de2d9ef10c1325fcfe4b81e80447e335583cfca4dc2347e with error: Cannot kill container 130e1237ae33a2724de2d9ef10c1325fcfe4b81e80447e335583cfca4dc2347e: rpc error: code = 2 desc = grpc: the client connection is closing"
Sep 21 22:14:20 ubuntu systemd[1]: Stopped Docker Application Container Engine.
Sep 21 22:14:20 ubuntu systemd[1]: Starting Docker Application Container Engine...
Sep 21 22:14:20 ubuntu dockerd[12691]: time="2016-09-21T22:14:20.617112804+02:00" level=info msg="libcontainerd: new containerd process, pid: 12698"
Sep 21 22:14:21 ubuntu dockerd[12691]: time="2016-09-21T22:14:21.676694812+02:00" level=info msg="[graphdriver] using prior storage driver \"aufs\""
Sep 21 22:14:21 ubuntu dockerd[12691]: time="2016-09-21T22:14:21.719882177+02:00" level=info msg="Graph migration to content-addressability took 0.00 seconds"
Sep 21 22:14:21 ubuntu dockerd[12691]: time="2016-09-21T22:14:21.720095385+02:00" level=warning msg="Your kernel does not support swap memory limit."
Sep 21 22:14:21 ubuntu dockerd[12691]: time="2016-09-21T22:14:21.720486539+02:00" level=info msg="Loading containers: start."
Sep 21 22:14:21 ubuntu dockerd[12691]: ........................time="2016-09-21T22:14:21.736287902+02:00" level=warning msg="libcontainerd: client is out of sync, restore was called on a fully synced container (130e1237ae33a2724de2d9ef10c1325fcfe4b81e80447e335583cfca4dc2347e)."
Sep 21 22:14:21 ubuntu dockerd[12691]: time="2016-09-21T22:14:21.829725491+02:00" level=info msg="Firewalld running: false"
Sep 21 22:14:22 ubuntu dockerd[12691]: time="2016-09-21T22:14:22.211598928+02:00" level=info msg="Removing stale sandbox f74e5ec0942033b657e3e6179380cd50d83518a0fda4f4d82018939e37b840b4 (130e1237ae33a2724de2d9ef10c1325fcfe4b81e80447e335583cfca4dc2347e)"
Sep 21 22:14:22 ubuntu dockerd[12691]: time="2016-09-21T22:14:22.291714685+02:00" level=info msg="Default bridge (docker0) is assigned with an IP address <IP_ADDRESS>/16. Daemon option --bip can be used to set a preferred IP address"
Sep 21 22:14:22 ubuntu dockerd[12691]: time="2016-09-21T22:14:22.352527217+02:00" level=info msg="Loading containers: done."
Sep 21 22:14:22 ubuntu dockerd[12691]: time="2016-09-21T22:14:22.352593584+02:00" level=info msg="Daemon has completed initialization"
Sep 21 22:14:22 ubuntu dockerd[12691]: time="2016-09-21T22:14:22.352608702+02:00" level=info msg="Docker daemon" commit=23cf638 graphdriver=aufs version=1.12.1
Sep 21 22:14:22 ubuntu systemd[1]: Started Docker Application Container Engine.
Sep 21 22:14:22 ubuntu dockerd[12691]: time="2016-09-21T22:14:22.358094266+02:00" level=info msg="API listen on /var/run/docker.sock"

This is the issue caused by exec's children not being reaped correctly.
This was fixed when #26538 was merged.
It now works fine on master for me.


IOS_FIREBASE_SDK_VERSION flag is ignored

Current behavior:

The IOS_FIREBASE_SDK_VERSION flag is ignored because the Firebase pod names were updated in this PR: https://github.com/dpa99c/cordova-plugin-firebasex/pull/811/files
but the firebasePodRegex was not updated in the /scripts/ios/helpers.js file.
IMPORTANT: the source code from npmjs.com (https://www.npmjs.com/package/cordova-plugin-firebasex?activeTab=code) is different from the source code on github, even tho they are the same version: 6.1.0
NOTE: using the command below:
cordova plugin add cordova-plugin-firebasex --variable IOS_FIREBASE_SDK_VERSION=10.15.0
will work because it will use the code from npmjs.com where the pod names are not updated yet.

Expected behavior:

The IOS_FIREBASE_SDK_VERSION flag should update the pods versions.

Yes, I have the same issue. Podfile.lock still has 10.10.0 and i get "pod install" error during add platform.
[!] CocoaPods could not find compatible versions for pod "FirebaseInstallations":
  In snapshot (Podfile.lock):
    FirebaseInstallations (= 10.10.0, ~> 10.0, ~> 10.10.0)
  In Podfile:
    Firebase/Installations (= 10.15.0) was resolved to 10.15.0, which depends on
      FirebaseInstallations (~> 10.15.0)
    Firebase/Messaging (= 10.15.0) was resolved to 10.15.0, which depends on
      FirebaseMessaging (~> 10.15.0) was resolved to 10.15.0, which depends on
        FirebaseInstallations (~> 10.0)
Specs satisfying the `FirebaseInstallations (= 10.10.0, ~> 10.0, ~> 10.10.0), FirebaseInstallations (~> 10.0), FirebaseInstallations (~> 10.15.0)` dependency were found, but they required a higher minimum deployment target.


vmss create: ensure NSG is provisioned when use an existing Standard LB

#5271 handles to provision the NSG(ssh/rdp) when we create a fresh new load balancer. This issue is to track that we should do the same when use an existing Standard LB.
We should get this done by SLB V2 GA

No user voices on this. Closing


Errors Waterfall (Bungeecord)

Error 1: https://pastebin.com/4c2sbAQi
Error 2: https://pastebin.com/62T3Eeau

Duplicate of #24, though the SQL one is "new" as far as issues goes. Thank HikariCP for that one, though it's still harmless.

Still one more question... If the 1000 of 1000 checks were reached what happens then? Is it still possible to join the server?

Indeed, it is. By default it'll let people through, although I suppose you could change that behavior.


Add two extra formatting options for time: duration and HH:MM.

It would be very useful to be able to express times as a duration, eg minutes left in a song, time since a timer started.
It would also be useful to express items in HH:MM in the 24-hour clock.

Fully unit tested and committed. Will be in 2.0


feat: Create Individual Virtual Env for the Kernel

This addresses #6 and #62 - at least partially.
Whenever the kernel is invoked, we start with an empty directory and set up a virtual environment with the standard packages. If an additional package is needed, the corresponding !pip install PACKAGE call can be executed and packages do not pollute the system environment.
Note, that the approach considerably dilates kernel startup time. - Thus, debugging is not always fun with this.
An example prompt for this is
Use rdkit to plot the molecule with the SMILES string 'CC1CCC/C(C)=C1/C=C/C(C)=C/C=C/C(C)=C/C=C/C=C(C)/C=C/C=C(C)/C=C/C2=C(C)/CCCC2(C)C'.

I think (!), this could be a good baseline for addressing #67 as well. - At least, running kernels with separate environments would be possible this way.

This is really nice! But can we make it so that restarting the app will pick up on a created kernel venv?

This is really nice! But can we make it so that restarting the app will pick up on a created kernel venv?

I'll give it a try. - Definitely makes sense (at least during development the slow startup times are annoying :-D ).
Currently, I am working on a multi-client version, where everybody needs to have their own kernel. Will have to think how to get both requirements into a common approach.
Possibly, creating one template venv and re-using it for all kernels (via copy/symlink) might be an option to make things quicker...

Closing this for now to cleanup git history. - Will re-open afterwards.

Although the .pth approach is somewhat exposed to the user, it does feel like it's breaking a line of abstraction provided by regular virtual environment use (venv or virtualenv). I'm not opposed to it entirely, but this approach could lead to unexpected consequences. For one, I'm not aware what kind of limitations there are for such "derived" virtual environments compared to a "regular virtual environment". Open to exploring this direction! Just stating my initial thoughts

Although the .pth approach is somewhat exposed to the user, it does feel like it's breaking a line of abstraction provided by regular virtual environment use (venv or virtualenv). I'm not opposed to it entirely, but this approach could lead to unexpected consequences. For one, I'm not aware what kind of limitations there are for such "derived" virtual environments compared to a "regular virtual environment". Open to exploring this direction! Just stating my initial thoughts

Thank you for your comment. Answering here: https://github.com/ricklamers/gpt-code-ui/pull/74#issuecomment-1662282313


[Discuss] Exported images had no background in dark mode, making the labels hard to recognize

The image I exported

Ths is how it looked in my explorer

Noticed the background is transparent but image explorers usually make a white background, so that the text contents are hard to recognize. I wonder if there will be an option to control the background, or just to capture the appearance in my browser. thx.

Hi @AntoineYANG, i am new to this project and would love to contribute. Could you kindly help me get started here.
Also i have the local dev setup done and good to go.

Hi @AntoineYANG, i am new to this project and would love to contribute. Could you kindly help me get started here. Also i have the local dev setup done and good to go.

Glad to have you here @nc1337 ! We encourage contributions and everyone can contribute to this project. You can take and do something with this issue if you'd like to. I assume you have already checked the license and README. So the usual procedure to get contributing is to

Fork the graphic-walker repository.
Commit your code.
Creating a PR from your branch to the main branch, with an introduction to your changes, and cite this issue in it.

Members will check open PRs and keep contacting with contributors.

Guides for contributors:
The background of visualization is now set by default to transparent in https://github.com/Kanaries/graphic-walker/blob/main/packages/graphic-walker/src/vis/theme.ts

Config can be added to store visualConfig to allow the user to set the background manually.
it might be a good idea to set the theme config to non-transparent value by default


fix incorrect name of the python script in README

Python script uses an underscore instead of a dash.

👌


Log to find semantic problem

Thanks for amazing extension. I found a problem with enabling semantic autocomplete.
TabNine can’t start flow binary, but I install it to the system and it is available by flow lsp command in terminal. It could be the problem of my environment (for instance, Flatpak container restrictions).
But I need some debug information to fix it. Where I can find TabNine log?

I have the same problem, but with Typescript.
And followed https://tabnine.com/semantic, still can't enable samantic.
[language.typescript]
command = "C:\\Users\\meoti\\AppData\\Roaming\\npm\\typescript-language-server"
args = ["--stdio"]
install = [["npm", "install", "-g", "typescript-language-server"]]

I'm using nvm and have the same issue if that gives any clues. I have followed the instructions on tabnine.com/semantic but it did not help.

Try to append ".cmd" to the command in TabNine.toml as suggested here: https://github.com/zxqfl/tabnine-vscode/issues/45
Had the same issues, and this fixed it for me as well.

I tried appending ".cmd" but that did not resolve my issue. Even after running TabNine::restart, it still gives the error code.

@Cy-Tek it worked for me


HtmlInput :: Component is editable in a detail form

This component is editable in a detail form, throwing the next exception:

core.umd.js:3468 TypeError: Cannot read property 'setReadOnly' of undefined
at setReadOnly (ckeditor.js:256)
at eval (o-html-input.component.ts:245)
at ZoneDelegate.invokeTask (zone.js:225)
at Object.onInvokeTask (core.umd.js:6233)
at ZoneDelegate.invokeTask (zone.js:224)
at Zone.runTask (zone.js:125)
at ZoneTask.invoke (zone.js:293)

Solved


[cloud_firestore] snapshots should have stream errors when errors occur in Query

Originally posted by @ened in https://github.com/flutter/flutter/issues/13904#issuecomment-473118195
Can confirm Firestore does not crash anymore in case of a missing index. There is clear error description in the logs.
I would, however, expect the AsyncSnapshot to have the error field clearly set.
Sample code:
StreamBuilder<QuerySnapshot>(
  stream: state.myQuery,
  builder: (BuildContext context, AsyncSnapshot<QuerySnapshot> snapshot) {
    if (snapshot.hasError) {
      return Text('Error: ${snapshot.error}');
    }
    print('snapshot: ${snapshot.connectionState}');
    switch (snapshot.connectionState) {
      case ConnectionState.done:
      case ConnectionState.waiting:
        return Container(
          child: const Center(child: CircularProgressIndicator()),
        );

      default:
        if (snapshot.data.documents.isEmpty) {
          return _buildEmptyPage();
        }

        return _buildListView(snapshot, context);
    }
  },
),

snapshot.error & snapshot.hasError really should be set in that case.

@collinjackson
The issue at https://github.com/flutter/flutter/issues/31988 has been closed and moved here. Future collaboration on this issue will be done here.

@kroikie Any update on this? This is definitely a challenge in our project. When we stream snapshots we will often find ourselves waiting for data which never returns because there was an underlying error which is never reported to us. When we go fetch the data once we get errors right away. Errors need to be reported consistently regardless of doing a single fetch or observing a stream of changes.   I think the only way we can work around this failure mode is to always do a single fetch first and then a stream of snapshots after. Is there any plans to change this behavior?

@dustin-graham I have the same issue with error is not being reported, I have created another issue for this: https://github.com/FirebaseExtended/flutterfire/issues/2334

Consolidating under #1223 - we'll be looking at parsing native error messages & codes and bubbling these up to the Dart layer in a consistent cross-platform format.


Proof Of Work Consensus Algorithm In The Blockchain

Proposed title of article
Proof Of Work Consensus Algorithm In The Blockchain
Proposed article introduction
The Proof of Work consensus algorithm aims to achieve distributed trust in a P2P network of nodes by using a voting protocol. This voting protocol relies on the concept of work, performed by miners, to introduce randomness into the decision-making process.
In this article l we will discuss what the proof of work consensus is, why it's needed in a blockchain network and how does it help prevent double-spending.
Key takeaways

Why is Proof of Work needed in a blockchain network?
POW and Proof of Stake (PoS): Which one is better?
How does the proof of work concept help to prevent a double-spending problem in a cryptocurrency?
Example of a blockchain network that uses PoW

Article quality
References

This article explains the proof of work consensus algorithm in detail.  It also explains how the concept applies to Blockchain technology to prevent double-spending.

Sounds like a helpful topic - let's please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it). @Greggmun
Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting it for final approval. (There are some great free tools that we reference in EngEd resources.)
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.
Please be sure to double-check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved


Add aspcud to the build, good for opam

Signed-off-by: Jon Ludlam<EMAIL_ADDRESS>

Good plan!


[Python] Fix 3.5 initial release date

This can be confirmed on various places:

https://docs.python.org/3/whatsnew/3.5.html:

Python 3.5 was released on September 13, 2015.

https://www.python.org/downloads/release/python-350/:

Python 3.5.0
Release Date: Sept. 13, 2015
Python 3.5.0
Python 3.5 has reached end-of-life. Python 3.5.10, the final release of the 3.5 series, is available here.
Python 3.5.0 was released on September 13th, 2015.

https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-0-final:

Python 3.5.0 final ¶
Release date: 2015-09-13

https://devguide.python.org/devcycle/#end-of-life-branches:

Branch
Schedule
First release
End-of-life
Release manager

3.5
PEP 478
2015-09-13
2020-09-30
Larry Hastings

@generalmimon thank you for detailed research and your contribution 🎉 🥇


Error while generating tagged BAM file

Thanks for developing GCparagon. When I tried to use it, it fails with following message. In the conda environment, samtools v 1.21 is installed. There is little to understand the issue. Could you kindly help me figure out what went wrong?
Many thanks.
| 2024-12-12 00:24:38,438 - GCparagon - INFO - Merging tagged scaffold BAMs into temporary output file 'gcparagon/temp/GC115810/GC115810.GCtagged.bam' ..
Usage: samtools cat [options] <in1.bam>  [... <inN.bam>]
       samtools cat [options] <in1.cram> [... <inN.cram>]

Concatenate BAM or CRAM files, first those in <bamlist.fofn>, then those
on the command line.

Options: -b FILE  list of input BAM/CRAM file names, one per line
         -h FILE  copy the header from FILE [default is 1st input file]
         -o FILE  output BAM/CRAM
         --no-PG  do not add a PG line

CRAM only options for filtering:
         -r REG   filter to region REG.
                  REG can also be #:cstart-cend for specific container numbers
         -p N/M   Specify part N of M (where N is 1 to M inclusive)
         -f       Fast mode: don't filter containers to exactly match region
         -q       Query the total number of indexed containers

Standard options:
      --output-fmt-option OPT[=VAL]
               Specify a single output file format option in the form
               of OPTION or OPTION=VALUE
      --verbosity INT
               Set level of verbosity
| 2024-12-12 00:24:38,676 - GCparagon - ERROR - Subprocess for concatenating scaffold BAM files failed. Terminating main..

Hi Qiangfu,
I am sorry that you experience(d) problems using GCparagon.
Thank you for pointing out this compatibility issue between GCparagon and newer versions of samtools. the last samtools version which worked with the --threads parameter was 1.19. The newest version 1.21 does not seem to work anymore with that flag although the flag is still mentioned in the samtools man pages (see here: https://www.htslib.org/doc/samtools-cat.html)
I just pushed an update to GCparagon (v0.6.13), effectively removing the '--threads' parameter from the samtools cat command.
BR Benjamin


Throw ConfigurationError if you attempt to provide a Rest URL that contains a protocol.

Change builder to reject protocol-aware rest URLs.
Add Changelog

Closes https://github.com/hapifhir/hapi-fhir/issues/2372

APPROOOVVVED


[Generate] Support 1->N model generation with de-duplication

Ultimately we would want to support grabbing the json schema for all of the oscal models (See oscal_complete_schema.json in the latest release ) and generating the types for all of the models in one execution - to include de-duplicated structs that are common across models.
This would optimally be our stance prior to release as it would simplify how we expose types (currently on a model by model basis) into something more complete.

Completed in #47


Updating information of Polimec for the SBP

Updated the description and tags for SBP
Updated the logo

Error made - to change the SVG to PNG


Ellipse for outcome/orderbook needs tooltip or expanded state for scalar markets

If the denomination is long for a scalar market where an ellipse is used...we should add the tooltip to show the full denomination...Currently nothing happens if i run my mouse over it.
We may want to leave the order ticket and only do this in the outcome section
@matt-bullock please take a look at this ticket

closing - being addressed in ticket 1589


[BUG]:  Unexpected operation performed during replay (expected 'api' but was *ext)! It looks like the conversation builder function is non-deterministic, or it relies on external data sources.

Code for reproduce:
export async function auth(conversation: MyConversation, ctx: MyContext) {
  await ctx.reply(phrases.greeting, {
    reply_markup: {
      inline_keyboard: [
        [{ text: 'Auth', url: generateAuthLink() }],
      ],
    },
  });
  ctx = await conversation.wait();
  while (ctx) {
    if (ctx.message?.text?.startsWith('/start')) {
      const [, code] = ctx.message.text.split(' ');
      try {
        if (code === 'error' || !code) {
          await ctx.reply('Auth error');
          ctx = await conversation.wait();
        } else {
          const login = await conversation.external({
            task: () => validateAuthCode(code),
          });
          await ctx.reply(`Auth success`);
          break;
        }
      } catch (e) {
        tglogger.error(e);
        await ctx.reply('Auth error');
        ctx = await conversation.wait();
      }
    } else {
      await ctx.reply('Auth for continue');
      ctx = await conversation.wait();
    }
  }
}

This seems to be related to #1.

I am not able to reproduce this with the code you provided. Are you able to provide a full example bot without external function calls that still reproduces the issue reliably? I am referring to an SSCCE.

Can't reproduce this too 🗿

Can you check if #15 fixes the problem?