Add profile for Kindle Paperwhite 5 (Signature Edition)

Adds a profile for Kindle PW 5 (also known as "Signature Edition") with a 6.8 inch display. The resolution (1236x1648) was found from Wikipedia.
This also adds the changes from two other PRs (#393 and #331 ) for convenience.
Full installation procedure
I assume you have git and Python 3 installed. I did this on Windows 10, but it should work also on Linux.
Clone the repo:
git clone https://github.com/ciromattia/kcc
cd kcc

Merge with this PR:
git fetch origin pull/404/head:kindle_signature
git checkout master
git merge kindle_signature

Install
pip install -r requirements.txt
python setup.py install

Launch
python ./kcc.py
You may need KindleGen.exe. Steps for adding it can be found here (as pointed in the issue #402).

I followed your full installation procedure. Once I click the Convert button in KCC I get the following error message in a Windows Error popup. Any idea what's going wrong?
Error during conversion C:\Users\Danny\Desktop\File.cbz:

One of workers crashed. Cause: 'float' object cannot be interpreted as an integer

Traceback:
  File "S:\GitHub\kcc\kindlecomicconverter\comic2ebook.py", line 563, in imgFileProcessing
    img.autocontrastImage()
  File "S:\GitHub\kcc\kindlecomicconverter\image.py", line 261, in autocontrastImage
    self.image = ImageOps.autocontrast(Image.eval(self.image, lambda a: 255 * (a / 255.) ** gamma))
  File "C:\Program Files\Python310\lib\site-packages\PIL\Image.py", line 3107, in eval
    return image.point(args[0])
  File "C:\Program Files\Python310\lib\site-packages\PIL\Image.py", line 1680, in point
    return self._new(self.im.point(lut, mode))

Thank you for the PR, let's hope the owner can release a new version with this 🤞
I have tried myself to run in mac with no success. Every time I run it, it cannot locate KindleGen and 7lib (kindlegen path already added as an env var and even in $PATH) while the latest release binary works fine for me. I could not build a new binary either. Let me know if I can do something else to fix it.

Thanks, works fine on Linux.
Kindlegen needs to be copied in /usr/local/bin

Thanks for your pull request.
There was a small problem with it.
Panel view 4/2/HQ doesn't work with it. Double tap does nothing.
I created a new pull request with an additional commit to fix it.
see #405

Does this also fix the issue me (see https://github.com/ciromattia/kcc/pull/404#issuecomment-973698359) and @comicrocharly are having on Windows?

@DannyEnsink
I haven't been able to reproduce your error, but you can maybe try to replace this line
            self.image = ImageOps.autocontrast(Image.eval(self.image, lambda a: 255 * (a / 255.) ** gamma))
with
            self.image = ImageOps.autocontrast(Image.eval(self.image, lambda a: int(255 * (a / 255.) ** gamma)))
in \kindlecomicconverter\image.py line 261

That worked, thanks. I'll update this comment when I verified the results on the Paperwhite 5.


Backstage Helm Charts - AWS RDS Support

Is there any documentation on using an RDS PostgreSQL database vs using the baked in bitnami PostgreSQL image? i see the flag in values.yml but wasn't sure how the rest of the PostgreSQL configuration and keys were handled. My assumption is if rds is enabled PostgreSQL flags should be disabled?
I am looking to create 2 pods a frontend and backend that connects out to a PostgreSQL db in AWS RDS.

Hi @regicsolutions , thanks for bringing this up. I will try to add some documentation for this. Let me also explain below how to do that. Please note that these charts are used by Roadie internally and are not necessarily useful for other use cases. You can find the general Backstage charts here and the documentation here.

The rds.enabled is only used to add the AWS RDS CA to a config map that can be mounted into backstage-backend and lighthouse.

When postgresql.enabled=true this chart will also deploy a bitnami postgresql instance and make sure that the backstage backend and lighthouse are connected to it. In your case, I would leave this disabled.

To configure access to your RDS instance you can follow these instructions.

postgresql:
  enabled: false

appConfig:
  app:
    baseUrl: https://backstage-demo.mydomain.com
    title: Backstage
  backend:
    baseUrl: https://backstage-demo.mydomain.com
    cors:
      origin: https://backstage-demo.mydomain.com
    database:
      client: pg
      connection:
        database: backstage_plugin_catalog
        host: <host>
        user: <pg user>
        password: <password>
  lighthouse:
    baseUrl: https://backstage-demo.mydomain.com/lighthouse-api

lighthouse:
  database:
    client: pg
    connection:
      host: <host>
      user: <pg user>
      password: <password>
      database: lighthouse_audit_service

@regicsolutions We have decided we will be making these charts private. Please use the charts from the upstream backstage repo instead.

Hi @regicsolutions we have removed the backstage helm-chart from here. Please use the public chart. We are happy to help you where we can, but we will not be supporting charts from this location any more.
I will close this issue.


how to write a format "char * systle string" function

Now I would like to use abseil string-function to write a format char * systle string:
Any suggest:
void Example::AbortV(const char* char, const char* fmt, va_list ap) {
std::string msg;
....
abort(msg.c_str());
}
From //copy from absl/strings/internal/str_format/convert_test.cc
void StrAppend(std::string *dst, const char *format, va_list ap) {
// First try with a small fixed size buffer
static const int kSpaceLength = 1024;
char space[kSpaceLength];
// It's possible for methods that use a va_list to invalidate
// the data in it upon use.  The fix is to make a copy
// of the structure before using it and use that copy instead.
va_list backup_ap;
va_copy(backup_ap, ap);
int result = vsnprintf(space, kSpaceLength, format, backup_ap);
va_end(backup_ap);
if (result < kSpaceLength) {
if (result >= 0) {
// Normal case -- everything fit.
dst->append(space, result);
return;
}
if (result < 0) {
// Just an error.
return;
}
}
// Increase the buffer size to the size requested by vsnprintf,
// plus one for the closing \0.
int length = result + 1;
char *buf = new char[length];
// Restore the va_list before we use it again
va_copy(backup_ap, ap);
result = vsnprintf(buf, length, format, backup_ap);
va_end(backup_ap);
if (result >= 0 && result < length) {
// It fit
dst->append(buf, result);
}
delete[] buf;
}
but it don't exported from abseil.

The function that uses stdarg-style variadic functions is intentionally not part of our API. I'm not sure what you are trying to do, but I recommend looking at https://abseil.io/docs/cpp/guides/format.

The function that uses stdarg-style variadic arguments is intentionally not part of our API. I'm not sure what you are trying to do, but I recommend looking at https://abseil.io/docs/cpp/guides/format.

Hi derekmauro:
Thanks for your reply!
Now we use abseil in a product. The existing code have some stdarg-style variadic argument.


Can you add more icons which contain "Facebook Lite, Facebook, Messenger, Messenger Lite"

Can you add more icons which contain "Facebook Lite, Facebook, Messenger, Messenger Lite"

Hello! It would appear that this icon request doesnʼt include the package names of some or all of the apps for which icons have been requested. In addition, we are switching to a new system for icon requests. The apps for which package names have been provided (if such apps exist in this icon request) have been added to the new icon request database, meaning no action is required. For the apps for which package names havenʼt been provided, please submit an icon request via the new icon request form: https://forms.gle/Fx8vZAiWdW1Tyjo57.


Check exitAtDeath when more than 1 observation period

Should it have an argument like the one in exitAtObservationEnd to choose whether to keep only records in observation at time of death, or create multiple entries following observation periods until death?


Add the ability to whitelist members of an org

It would be quite useful if we could whitelist an org. Each commit author would be verified to see if they are a member of a given GitHub org.

I personally think this is a really important feature that would also be useful to reduce frictions for part of "regulated" entities onboarding.
I would think though the the requirement would be twofold (and maybe worth splitting issues):

Whitelist all github users with email address from a certain domain (e.g<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Whitelist all github users from a certain Github org

@maoo do you agree?

Agreed. I see the first being easier to adopt than the second, since for the latter option, public membership is required for APIs to collect affiliation, and often orgs don't enforce it. That said, it would be useful to give admins the option to configure the CLA Bot using the 2 different flavours.

Per this thread with @sribeiro-daitan, https://groups.google.com/a/finos.org/forum/#!topic/symphony/z-7NhT23Ils, I think this is an important feature to implement sooner than later. @maoo is this already in the ODP backlog? (CC @bingenito )
Also do we need to be careful here of different between being a member of github org that corresponds to an organization that has a CCLA vs. having an email address from an organization that has a CCLA.

Created https://finosfoundation.atlassian.net/browse/ODP-88 and pulled into the next ODP Sprint.

Note that our organization policy is we must mark our email as private and thus restricting us to the noreply email on git commits.  (This is to avoid spam, not to hide who we are)

1 v 2 seems like a legal question.  For 1, I was comfortable vouching for all users in my @greenkeytech.com domain (and sign whitelist doc as a company officer), and any users in it.
If 2, are we saying that PMCs would be responsible for making people sign a CLA waiver before joining the org?  Assuming I can add people to it myself.


Activating Open Collective

Hi, I'm making updates for Open Collective. Either you or another core contributor signed this repository up for Open Collective. This pull request adds financial contributors from your Open Collective https://opencollective.com/Reactive-Resume ❤
What it does:

adds a badge to show the latest number of financial contributors
adds a banner displaying contributors to the project on GitHub
adds a banner displaying all individuals contributing financially on Open Collective
adds a section displaying all organizations contributing financially on Open Collective, with their logo and a link to their website

P.S: As with any pull request, feel free to comment or suggest changes.
Thank you for your great contribution to the Open Source community. You are awesome! 🙌
And welcome to the Open Collective community! 😊
Come chat with us in the #opensource channel on https://slack.opencollective.com - great place to ask questions and share best practices with other Open Source sustainers!

Why did you close? Will you still use Open Collective as a funding path? If not, please advise.

Hey there @monkeywithacupcake!
I do use Open Collective as a funding path, but I did not want to clutter my README.md with the markup you have added. Instead, I'll be adding those to the documentation I have set up here: https://docs.rxresu.me/


Add a step for Codecov to GitHub Actions workflow.

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


fixed class identifier

Hey,
there was a little typo ;)

I didn't even notice that! Nice catch! 😄


Add f8-implicit-str-concat and fix lints

Identifying and fixing string glitches left over after increasing the line length for black

Codecov Report

Merging #122 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #122   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           12        12
  Lines          594       594
=========================================
  Hits           594       594

Impacted Files
Coverage Δ

src/sphobjinv/cmdline.py
100.00% <100.00%> (ø)

src/sphobjinv/data.py
100.00% <100.00%> (ø)

src/sphobjinv/inventory.py
100.00% <100.00%> (ø)

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 9e4272c...3e36951. Read the comment docs.


LSP unreliable in v0.94

On Arch linux, node v11.10.1, flow-bin v0.94, I am using an LSP plugin for vim. The LSP integration is highly unreliable in v0.94 of flow-bin (see this original issue describing a problem, which also includes links to the LSP logging). Downgrading to flow-bin v0.93 fixes things so the problem lies in flow-bin v0.94 (?) Therefore I am reporting this issue here. @prabirshrestha can provide more technical info if needed.

Possibly related anecdote, on Webstorm (latest EAP) I had to turn off the use of LSP (in the Webstorm registry, key javascript.flow.use.lsp) because at first I got outright bugs, after that was improved (by WS or Flow?) it still is much slower than whatever old method of Flow-IDE integration is used there.


HBASE-22803 Modify config value range to enable turning off of the hbck chore

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
75
Docker mode activated.

_ Prechecks _

+1
dupname
1
No case conflicting files found.

+1
hbaseanti
0
Patch does not have any anti-patterns.

+1
@author
0
The patch does not contain any @author tags.

-0
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+1
mvninstall
449
master passed

+1
compile
70
master passed

+1
checkstyle
97
master passed

+1
shadedjars
345
branch has no errors when building our shaded downstream artifacts.

+1
javadoc
44
master passed

0
spotbugs
312
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
309
master passed

_ Patch Compile Tests _

+1
mvninstall
396
the patch passed

+1
compile
67
the patch passed

+1
javac
67
the patch passed

+1
checkstyle
94
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedjars
340
patch has no errors when building our shaded downstream artifacts.

+1
hadoopcheck
1193
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1
javadoc
40
the patch passed

+1
findbugs
307
the patch passed

_ Other Tests _

-1
unit
18277
hbase-server in the patch failed.

+1
asflicense
31
The patch does not generate ASF License warnings.

22597

Reason
Tests

Failed junit tests
hadoop.hbase.client.TestAsyncTableGetMultiThreaded

hadoop.hbase.client.TestSnapshotTemporaryDirectory

hadoop.hbase.client.TestCloneSnapshotFromClientNormal

hadoop.hbase.client.TestFromClientSide

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-466/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/466

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux aafcab0cb35c 4.4.0-154-generic #181-Ubuntu SMP Tue Jun 25 05:29:03 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-466/out/precommit/personality/provided.sh

git revision
master / 547cec4078

Default Java
1.8.0_181

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-466/1/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-466/1/testReport/

Max. process+thread count
4622 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-466/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
66
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
hbaseanti
0
Patch does not have any anti-patterns.

+1
@author
0
The patch does not contain any @author tags.

-0
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+1
mvninstall
352
master passed

+1
compile
57
master passed

+1
checkstyle
90
master passed

+1
shadedjars
295
branch has no errors when building our shaded downstream artifacts.

+1
javadoc
37
master passed

0
spotbugs
266
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
264
master passed

_ Patch Compile Tests _

+1
mvninstall
327
the patch passed

+1
compile
57
the patch passed

+1
javac
57
the patch passed

+1
checkstyle
87
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedjars
297
patch has no errors when building our shaded downstream artifacts.

+1
hadoopcheck
1020
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1
javadoc
34
the patch passed

+1
findbugs
273
the patch passed

_ Other Tests _

+1
unit
13401
hbase-server in the patch passed.

+1
asflicense
29
The patch does not generate ASF License warnings.

17099

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-466/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/466

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux b690cd16ef2b 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-466/out/precommit/personality/provided.sh

git revision
master /<PHONE_NUMBER>

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-466/3/testReport/

Max. process+thread count
4892 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-466/3/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
140
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
hbaseanti
0
Patch does not have any anti-patterns.

+1
@author
0
The patch does not contain any @author tags.

-0
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+1
mvninstall
363
master passed

+1
compile
57
master passed

+1
checkstyle
83
master passed

+1
shadedjars
313
branch has no errors when building our shaded downstream artifacts.

+1
javadoc
36
master passed

0
spotbugs
262
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
259
master passed

_ Patch Compile Tests _

+1
mvninstall
393
the patch passed

+1
compile
58
the patch passed

+1
javac
58
the patch passed

+1
checkstyle
80
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedjars
321
patch has no errors when building our shaded downstream artifacts.

+1
hadoopcheck
1112
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1
javadoc
35
the patch passed

+1
findbugs
289
the patch passed

_ Other Tests _

-1
unit
18344
hbase-server in the patch failed.

+1
asflicense
37
The patch does not generate ASF License warnings.

22342

Reason
Tests

Failed junit tests
hadoop.hbase.replication.TestReplicationSmallTestsSync

hadoop.hbase.tool.TestBulkLoadHFiles

hadoop.hbase.replication.TestReplicationDisableInactivePeer

hadoop.hbase.client.TestFromClientSide

hadoop.hbase.replication.TestReplicationSmallTests

hadoop.hbase.tool.TestSecureBulkLoadHFiles

hadoop.hbase.master.TestAssignmentManagerMetrics

hadoop.hbase.namespace.TestNamespaceAuditor

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-466/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/466

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 46369aa56fb5 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-466/out/precommit/personality/provided.sh

git revision
master /<PHONE_NUMBER>

Default Java
1.8.0_181

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-466/2/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-466/2/testReport/

Max. process+thread count
4936 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-466/2/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Thanks for your suggestions @infraio , have update the changes.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
75
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
hbaseanti
0
Patch does not have any anti-patterns.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ master Compile Tests _

+1
mvninstall
363
master passed

+1
compile
60
master passed

+1
checkstyle
91
master passed

+1
shadedjars
305
branch has no errors when building our shaded downstream artifacts.

+1
javadoc
40
master passed

0
spotbugs
273
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
270
master passed

_ Patch Compile Tests _

+1
mvninstall
326
the patch passed

+1
compile
56
the patch passed

+1
javac
56
the patch passed

+1
checkstyle
90
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedjars
295
patch has no errors when building our shaded downstream artifacts.

+1
hadoopcheck
1022
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1
javadoc
35
the patch passed

+1
findbugs
266
the patch passed

_ Other Tests _

-1
unit
13701
hbase-server in the patch failed.

+1
asflicense
26
The patch does not generate ASF License warnings.

17439

Subsystem
Report/Notes

Docker
Client=18.09.7 Server=18.09.7 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-466/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/466

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux f7a93e6c26e0 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-466/out/precommit/personality/provided.sh

git revision
master /<PHONE_NUMBER>

Default Java
1.8.0_181

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-466/4/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-466/4/testReport/

Max. process+thread count
4932 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-466/4/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Thanks for the review @infraio


Adding ConstantWriteNode?

It seems consistent to have a ConstantWriteNode node for constants without outer lexical scope name (e.g. "A = 1").
Currently constant assigning is expressed with ConstantPathWriteNode for both cases - with and without prefix:
bin/parse -e 'FOO = 1'
#<YARP::ParseResult:0x000000010b7177b0
 @comments=[],
 @errors=[],
 @source=#<YARP::Source:0x000000010e1fedc0 @offsets=[0], @source="FOO = 1">,
 @value=ProgramNode(0...7)([], StatementsNode(0...7)([ConstantPathWriteNode(0...7)(ConstantReadNode(0...3)(), (4...5), IntegerNode(6...7)())])),
 @warnings=[]>

bin/parse -e 'FOO::BAR = 1'
#<YARP::ParseResult:0x0000000104562d68
 @comments=[],
 @errors=[],
 @source=#<YARP::Source:0x000000010463eb10 @offsets=[0], @source="FOO::BAR = 1">,
 @value=
  ProgramNode(0...12)(
    [],
    StatementsNode(0...12)(
      [ConstantPathWriteNode(0...12)(ConstantPathNode(0...8)(ConstantReadNode(0...3)(), ConstantReadNode(5...8)(), (3...5)), (9...10), IntegerNode(11...12)())]
    )
  ),
 @warnings=[]>

It's inconsistent with constant reading that could be expressed with ConstantReadNode and ConstantPathNode.
Additionally, ConstantWriteNode has one extra node for the most common case (IMHO, when there is no prefix) in comparison to proposed ConstantWriteNode.

➕ This makes a lot of sense to me. I thought something similar when working on the CRuby interpreter


[FEATURE] optional description for a situation after author name

Is your feature request related to a problem? Please describe.
The quote command should let you describe the situation after the author's name.
Describe the solution you'd like
Optional fields for the command.

Feature is implemented and will be available from version 2.2.0


main

Teams manifest file creation steps added
Certificate template placeholders for LP and course added
Client secret generation and addition to key-vault added

Docs Build status updates of commit 9d96d5e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-community-training/infrastructure-management/monitor-your-platform-infrastructure/troubleshoot-guide-for-azure-support.md
:bulb:Suggestion
View
Details

microsoft-community-training/TOC.yml
:white_check_mark:Succeeded
View

microsoft-community-training/frequently-asked-questions/generate-new-clientsecret-link-to-key-vault.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/configure-your-platform-infrastructure/setup-custom-domain-url.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/install-your-platform-instance/configure-login-social-work-school-account.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/install-your-platform-instance/create-teams-app-for-your-training-portal.md
:white_check_mark:Succeeded
View

microsoft-community-training/media/cs_addcs.png
:white_check_mark:Succeeded
View

microsoft-community-training/media/cs_appconfigcs.png
:white_check_mark:Succeeded
View

microsoft-community-training/media/cs_appreg.png
:white_check_mark:Succeeded
View

microsoft-community-training/media/cs_cscheck.png
:white_check_mark:Succeeded
View

microsoft-community-training/media/cs_kv.png
:white_check_mark:Succeeded
View

microsoft-community-training/media/cs_kv_copy.png
:white_check_mark:Succeeded
View

microsoft-community-training/media/cs_kv_create.png
:white_check_mark:Succeeded
View

microsoft-community-training/media/cs_kv_new.png
:white_check_mark:Succeeded
View

microsoft-community-training/media/cs_searchadb2c.png
:white_check_mark:Succeeded
View

microsoft-community-training/settings/customize-the-certificate-template.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/monitor-your-platform-infrastructure/troubleshoot-guide-for-azure-support.md

Line 25, Column 63: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/azure-resource-manager/managed-applications/' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


BTC gone

Welcome everyone. I have a problem. The fact is that after I sent from my Copay bitcoin wallet a small BTC amount, all other BTC that remained in the account disappeared, the transaction history also disappeared. In what could be the problem? I use iPhone 8 Plus (iOS 12.0)

Hello @xxx67024
Thanks for reaching out to us.
Please open up your BitPay app and try the following steps:

Wallet > Preferences (top right corner icon) > Transaction History > Clear cache
Wallet > Preferences (top right corner icon) > Wallet Addresses > Scan addresses for funds

Please let us know if you have any additional questions.
Kind regards.

@xxx67024
if you haven't recovered your wallet, i can restore it contact me<EMAIL_ADDRESS>


Keep state of left sidebar

Hi guys,
is possible to do that left sidebar keep your state after page reload?

Check out #1240

Hi @REJack,
thank you very much for your help!


Ammy.1.2.11.nupkg

Ammy.1.2.11.nupkg  seems to be not complete. Start new WPF project, add nuget package. Compiler complains about
public string T = AmmySidekick.RuntimeUpdateHandler.CurrentlyUpdatedTargetId;
in internal.cs  file.
Seems that AmmySidekick is not present in the package.

Ammy is now multiplatform, so since a week ago, you need to install Ammy.WPF package, which has Ammy as a dependency. Unfortunately, I don't have a communication channel with people already using Ammy to promote this information. Sorry for that.
Also, I will soon upload a new version to NuGet, since the last one contained a critical bug. I will notify you as soon as I do that.

I've uploaded a new version to NuGet, you can update now.
Also, make sure you update VS Extension: https://marketplace.visualstudio.com/items?itemName=ionoy.Ammy
For some people, it doesn't show that there is an update in VS. I'm assuming this is due to adding VS2017 support.

It works. Thank you.


[SIL] BuiltinInsts have type dependent operands.

Collect all types in the substitution map which constitute type-dependent operands and record them in the instruction's operand list.  Fixes a bug where open_existential_metatype (e.g.) is deleted as dead because it has no users even when the type it defines is used in a substitution map of a builtin.

@swift-ci please test

@swift-ci please test source compatibility

@swift-ci please apple silicon benchmark

@swift-ci please test windows platform


Prototype and test transaction log based approach to the state store

Background
See related issues:

https://github.com/gchq/sleeper/issues/1355
https://github.com/gchq/sleeper/issues/1700

Description
See design document.
We'd like to know whether the transaction log approach to the state store can improve on the speed and contention problems we've had for updates to the S3 state store.
Analysis
A prototype version of this could just support adding files to the state store and performing compaction on those files. We could just support the ParallelCompactionsIT system test, and see how far we can increase the parallelism of compactions.
We've split out several issues:

https://github.com/gchq/sleeper/issues/2187
https://github.com/gchq/sleeper/issues/2120
https://github.com/gchq/sleeper/issues/2192
https://github.com/gchq/sleeper/issues/2171
https://github.com/gchq/sleeper/issues/2204
https://github.com/gchq/sleeper/issues/2198
https://github.com/gchq/sleeper/issues/2122
https://github.com/gchq/sleeper/issues/2121
https://github.com/gchq/sleeper/issues/2316
https://github.com/gchq/sleeper/issues/2275

I'll make some comments here - can we update the description above based on these comments until we've iterated to consensus?

"This should mean quicker updates even compared to the DynamoDB state store, since we only need to save one item per transaction." - This is speculation. It's not clear that there will by any significant performance difference between applying a single update and multiple items.
We need to note that a DynamoDB item can have a maximum size of 400KB. It's unlikely a single transaction will exceed that but we'd have to guard against it, probably by having a flag which says whether the transaction is in DynamoDB entry or has been written as a blob to S3 as it was too large.
"We use a conditional check to refuse the update if there's already a transaction with that number. We then need to retry if we're out of date." The description needs to emphasise that there are still potential concurrency issues with this approach, and it is not clear whether the transaction log approach will reduce contention issues by a few percent relative to the S3 state store (in which case the transaction log approach doesn't solve the problem), or eliminate them completely. The parent issue https://github.com/gchq/sleeper/issues/1355 notes that we will need a system test to help evaluate whether any new approach has actually solved the problem.
"This retry is comparable to an update in the S3 state store, but each change is much quicker to apply because you don't need to store the whole state." Again this is speculation. It is a smaller update and so should be quicker but whether it's 5% quicker or 5x quicker isn't clear.
"With a relational database, larger transactions involve locking many records. This would pose similar problems to
DynamoDB in terms of limiting atomicity of updates, as we would be heavily incentivised to keep transactions small." - I'm not sure this is true. I can't find any limit on the number of items within a transaction against say PostgreSQL and without any evidence that the performance costs of a  large update is severe, we can't say that "we would be heavily incentivised to keep transactions small".
"This loses some of the promise of Sleeper in terms of serverless deployment, and only running when something needs to happen." Aurora Serverless v2 supports automatic scaling up and down between minimum and maximum limits. If you know Sleeper will be idle for a while you can stop the database and then only be charged for the storage. We already have a concept of pausing Sleeper so that the periodic lambdas don't run. With Aurora Serverless this wouldn't be too much different.

Closing as we're releasing the first version of the transaction log state store in this release.


Add info command

Motivation
Get info about a component as a means to demonstrate loading via context.
Approach
Just do what we can to get it to work.

📣 NOTIFICATION
You are receiving this message because we did not publish any packages.
Generated by @thefrontside/actions


CustomRenderer not working as expected

Following the Highway documentation, I've built a basic setup:
import Highway from "@dogstudio/highway";

function init() {
  class CustomRenderer extends Highway.Renderer {
    onLeave() {
      console.log("leave");
    }
    onEnter() {
      console.log("enter");
    }
    onEnterCompleted() {
      console.log("enter complete");
    }
  }

  const H = new Highway.Core({
    renderers: {
      name: CustomRenderer,
    },
  });
}

window.onload = init;

With this setup, any added custom transition works as expected but the custom renderer does not run the hooks at all: none of the messages are being logged from the CustomRenderer.
Additional info:
HTML:
<body>
  <main data-router-wrapper>
     <div data-router-view="home">
      ...

Hello @ajayns ,
Instead of "name" in your renderers, have you tried to put "home" which is the value of your data-router-view of your homeage ? If not this is probably the reason why, when navigating to your homepage, you don't have on those events,
Keep me updated :)

Oh my bad, that was quite the ignorance from my part. This fixes it.
I know you have mentioned this in your documentation, but users generally like to get code that just works straight from the documentation and like to figure out things progressively. So many examples that can directly be used could prove helpful :)
Thank you for your quick response

Well noted, we know the documentation could be enhanced, we just need a bit of time to apply that! Thanks for the feedback :)


Figure out our post-processing story

Perhaps create these as optional addons? Would vignette fit into that category?

@jsantell and I did a fairly comprehensive review of near-term rendering topics including post-processing, and filed issues to cover most of the work. I'm going to close this issue for now so that we can rely on the other ones we have since written.

For future reference, the newer issues that cover this topic are #213 #212 #211 and #210


Can't Start

When Running Python pokecli.py:
Traceback (most recent call last):
File "pokecli.py", line 38, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
ImportError: No module named pgoapi.exceptions
I've check my account & POkemon Server are running well.
Thank You.

try virtualenv . then pip install requirements.txt, then launch again

It Works! Thanks, but then... i got another error Message:
RuntimeError: maximum recursion depth exceeded while calling a Python object
Traceback (most recent call last):
File "pokecli.py", line 493, in
main()
File "pokecli.py", line 127, in main
report_summary(bot)
File "pokecli.py", line 136, in report_summary
metrics.capture_stats()
File "C:\Users\Arya\PokemonGo-Bot\pokemongo_bot\metrics.py", line 76, in capture_stats
response_dict = request.call()
File "C:\Users\Arya\PokemonGo-Bot\pokemongo_bot\api_wrapper.py", line 106, in call
result = self._call()
File "C:\Users\Arya\PokemonGo-Bot\pokemongo_bot\api_wrapper.py", line 63, in _call
return PGoApiRequest.call(self)
File "c:\users\arya\pokemongo-bot\src\pgoapi\pgoapi\pgoapi.py", line 210, in call
request.activate_signature(lib_path)
File "c:\users\arya\pokemongo-bot\src\pgoapi\pgoapi\rpc_api.py", line 85, in activate_signature
self.signature_lib = ctypes.cdll.LoadLibrary(lib_path)
File "C:\Python27\lib\ctypes_init.py", line 443, in LoadLibrary
return self.dlltype(name)
File "C:\Python27\lib\ctypes_init.py", line 365, in init
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] The specified module could not be found
2016-08-08 01:28:11,617 [sentry.errors] [ERROR] Sentry responded with an error: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) (url: https://app.getsentry.com/api/90254/store/)

Had exactly the same errors that Arya091 had.

Also having the top error @arya091 is having

having exact same error. any fix?

Try "pip install -r requirements.txt --upgrade"

not properly installed. kirualex provided a solution.


feat: at_chops/types export

- What I did

Added a new library called at_chops_types in at_chops/types.dart.

exports all the types needed to provide a custom algorithm / implementation for at_chops

- How I did it
- How to verify it
- Description for the changelog
feat: at_chops/types export

LGTM but version mismatch between CHANGELOG and pubspec

Fixed in 3ea033a


Support text in voice channels

Users can now use voice channels as text channels. Currently, this causes some issues in Discore.
https://discord.com/developers/docs/resources/channel#channels-resource

Done in dev


Implement provisioner for EC2

Should remain open. We had to merge the auto-scaling branch because it had gotten too big. I will be reimplementing the provisioner by calling out to cgcloud.


Separate dashboard into it's own deployment and add persistence

Hi,
This is still a work in progress and requires some testing, but I've done some work around fixing https://github.com/crowdsecurity/helm-charts/issues/55 so that the dashboard is able to persist changes.
I've also split the dashboard out into a separate deployment so the the LAPI can be run in a high-availability configuration without also having multiple instances of the dashboard running (which consumes significant memory).
Here's a summary of the changes I've made:

Split the dashboard into a separate deployment manifest with it's own service and ingress.
Added persistent volume configuration for the dashboard.
Modified the initContainer command for the dashboard so that it does not overwrite the user's existing database.
Updated values.yaml accordingly with a dedicated section for the dashboard. By default, I've set a podAffinity so that the dashboard is scheduled onto the same node as the LAPI so that this still works if the user only has access to ReadWriteOnce storage classes.
Added a replicas field for the LAPI deployment to allow for it to be deployed in a high-availability configuration.

It would be great if I could get some feedback around the direction I'm taking this in. We're using this fork of the Helm chart internally to run a HA CrowdSec LAPI and would like to contribute these changes back.

@FleetAdmiralButter,
Did you get any chance to take a look again on this PR.
Do you still want to handle this ?


Bluetooth: host: Fix name conflict with kernel smp_init in smp.c

When activating SystemView internal kernel header files will be
included. This causes a name conflict with smp_init in smp.c
and smp_init in kernel_internal.h
Fixes: #10099

Codecov Report

Merging #10120 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #10120   +/-   ##
=======================================
  Coverage   52.48%   52.48%
=======================================
  Files         213      213
  Lines       26135    26135
  Branches     5633     5633
=======================================
  Hits        13718    13718
  Misses      10160    10160
  Partials     2257     2257

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 79e8f79...adeab41. Read the comment docs.

recheck


increase version number of hermit-sys

based on libhermit-0.4.2, which removes some issues with RTL8139 driver

bors r+


VS2022 can build BUT getting errors in many places

Error CS0117

Yeah These are source generator errors and I was experimenting one idea to automatically generate binding code from struct, class or record definition .
New proposed experiment (works on wasm): https://github.com/sps014/BlazorBindGen/blob/main/SampleApp/JSBinding/ML5Binding.cs
Old Code
https://github.com/sps014/BlazorBindGen/blob/c881152369ee24b9b5c827473bdaf265769c269a/SampleApp/Pages/ML5Page.razor

I am using the proposed experiment which works on WASM.
Question
Any suggestions on how to switch off these errors which do not prevent one from compiling successfully?

Can you post error Message ?

These errors can be caused by poor tooling of Source Generator at this moment, also at this point new API is in development I need  to do lot of code refactoring this month.

These errors can be caused by poor tooling of Source Generator at this moment, also at this point new API is in development I need to do lot of code refactoring next month.

For users, it is unclear how stable is the new API. Would you consider separating the new API as a SEPARATE BRANCH which you could merge to master ONCE the code refactoring is done?

For users, it is unclear how stable is the new API. Would you consider separating the new API as a SEPARATE BRANCH which you could merge to master ONCE the code refactoring is done?

Yeah that would be better, will create a separate branch.
Also there is workaround for Visual Studio errors(not testesd) https://github.com/dotnet/roslyn/issues/44093

Yeah that would be better, will create a separate branch.

What you experiment has a consequence on your user.  With more capabilities come more responsibility. :-)

Closing this as these bugs will be fixed by Visual Studio team in upcoming versions.


multi labeling

I probably overlooked it somewhere but does Hover support multi labeling? As a kludge I can create new labels with commas between them but I'd thought I'd ask here.

It does not, because right now the colors on the markers would be confused. If you can think of a way for colors to effectively indicate multiple labels, that would be fantastic.
For kludges, I would suggest applying one kind of label at a time (one csv per label), and then joining the results.
Best regards,
Haochuan

From: Kwame Porter Robinson @.>
Sent: Thursday, August 18, 2022 5:14:53 AM
To: phurwicz/hover @.>
Cc: Subscribed @.***>
Subject: [phurwicz/hover] multi labeling (Issue #44)
I probably overlooked it somewhere but does Hover support multi labeling? As a kludge I can create new labels with commas between them but I'd thought I'd ask here.
—
Reply to this email directly, view it on GitHubhttps://github.com/phurwicz/hover/issues/44, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEZTDWVRFSUFHZIHJQRWD6LVZVI43ANCNFSM5626XSXQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

To indicate multiple labels with color you could map a single color to a set of labels and not reuse that color elsewhere.  For example green --> historical and sport labels. But I'll either label one at a time or use commas.


Get arguments passed by Smart Banner iOS from flutter web safari

Use case
Check which arguments was passed from meta tag from flutter web on safari when we open the app if the app is installed.
I have implement a simple code to my flutter web app: https://developer.apple.com/documentation/webkit/promoting_apps_with_smart_app_banners
Now it shows a banner on top if app is installed or not. If app is install it shows "Open" otherwise it shows "View" which takes to download. Now the issue is as per the documents it says you can pass specific arguments if needed like this: I want to know how do i check in flutter app if the app is opened from smart banner from safari and which app-argument was passed down on opening the app. I am stuck on this issue for 3 days now.

Hi @Jazzykhan
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources and ask questions like this.
You may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you!


Complete Control Pallet Implementation

Resolves: SNO-584

@alistair-singh
Seems a wide range of XcmOriginToTransactDispatchOrigin allowed in bridge-hub runtime here for the xcm transact. There is also a unit test in our code base with mock data here and test code here to demonstrate that transact origin from relaychain is allowed.
But I'm a little confused here do we really have a use case create_agent for relaychain itself?  Because in that case there is no para_id which is required for create_channel  and AFAIK our beefy light client is only able to handle message from parachain.
So is that as expected or a bug we should fix?

https://github.com/Snowfork/snowbridge/pull/917/commits/1f0e818aea84d448c9db32af8e4a19e12e5456db
Some workaround to fix the breaking tests. I think maybe we can limit the scope of origins allowed(e.g. with a customized impl of AgentHashedDescription) but fine as now to make things simeple.

@alistair-singh
Seems a wide range of XcmOriginToTransactDispatchOrigin allowed in bridge-hub. There is also a unit test in our code base with mock data here and test code here to demonstrate that transact origin as relaychain is allowed.
But I'm a little confused here do we really have a use case create_agent for relaychain itself? Because in that case there is no para_id which is required for create_channel and AFAIK our beefy light client is only able to handle InboundMessage from parachain.
Failing test in https://github.com/Snowfork/snowbridge/actions/runs/5727950221/job/15521537960?pr=917 when extract para_id FYI.
So is that as expected there is some context I missed or a bug we should fix?

The issue with the tests is that it is using the relay chain for the benchmark tests. Looking at these lines: https://github.com/Snowfork/snowbridge/blob/main/parachain/pallets/control/src/mock.rs#L152-L157
I chose the relaychain for this, because it was the first test case that i wrote. You can choose another case that will suit all examples such as a mulit-location with parachain id. That will allow the benchmarks to run for both create agent and the other examples.

1f0e818 Some workaround to fix the breaking tests. I think maybe we can limit the scope of origins allowed(e.g. with a customized impl of AgentHashedDescription) but fine as now to make things simple.

I think having a more custom implementation of AgentHashedDescription is a good idea. But if you just need to get around the benchmark failures than we can just choose another multi-location for the benchmarks. https://github.com/Snowfork/snowbridge/blob/main/parachain/pallets/control/src/mock.rs#L152-L157

Since setting the mode of the outbound-queue pallet on BridgeHub to RejectingOutboundMessages can have the same effect as setting the mode of InboundChannel to OperatingMode.RejectingInboundMessages

IMHO it's not an either-or situation. I prefer to close both entry points at the same time to achieve max security, concern based on some previous comment here.
And I'm fine to move it out to make this PR more focused.

Since there is limitation not allowed to send xcm with XcmPallet from asset_hub directly, https://github.com/Snowfork/cumulus/blob/5f9f6cd8eb6d779d8b713dd7f931a9521e93b132/parachains/runtimes/assets/asset-hub-kusama/src/xcm_config.rs#L465-L470
So we add another parachain which allows it for Control pallet tests which is xcm based.


Add files via upload

Your checklist for this pull request
Author name
Author:
Malak
About your game
What is your game about?
This game is a classic fun flappy bird game that gives a kind of nostalgia.
How to play?
The goal of the game is to pass the bird(represented by a red square) through the pipes (represented by a green rectangle) without colliding. This game is super easy as it only utilizes the space bar, as I have tested it on my little brother with two different ways to start, restart and play and i have figured that the space bar was easiest for all. You press the space bar to start  (as instructed by the text on the screen before playing) and press  the space bar to jump to avoid the obstacles and if you lose you restart by pressing the space bar.
Code
Check off the items that are true.

[x ] The game was made using the Sprig editor.
[ x] The game is placed in the in the /games directory.
[ ] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[ x] The game runs without errors.
[x ] The name of the file/game contains only alphanumeric characters, -s, or _s.
[ x] The game name is not the same as the others from gallery

Image (If an image is used)

[ ] The image is in the /games/img directory.
[ ] The name of the image matches the name of your file.

Thanks for your PR!

Hey! What is your game about?

I changed, I realized I left the arrows and example again. I apologize for the inconvenience!

No worries! Did you use the Sprig editor for this game?

yes! I will share here : https://sprig.hackclub.com/share/lpvkF4O87WYCRInekIN1

I think you are sharing the wrong version or is incomplete, there is no bitmaps and maps...

Anwer the message above!! Let's get this merged:)

Closing this PR due to inactivity. If you want it reopened, ping me here.


Mask out results before comparing

It would be useful if Quidem had a way to mask out results. For example, the following test (from CALCITE-6021) calls the CURRENT_DATETIME function, which returns a value that has a particular format but is different every time:
!mask 6 "[0-9]" "x"
SELECT CURRENT_DATETIME as now;
+----------------------------+
| now                        |
+----------------------------+
| 2016-05-19T10:38:47.046465 |
+----------------------------+
(1 row)

!ok

The test would succeed because '2016-05-19T10:38:47.046465' and '2023-11-11T16:38:47.012345' would both be converted to 'xxxx-xx-xxTxx:xx:xx.xxxxxx'.
The 6 means 'the next 6 lines'. The next argument is a Java regex. The following argument is a Java replacement string. As usual in Java regex, you can include '^' and '$' in the regex if you want to match the whole string.

This sounds like a good idea, and would make tests like the ones in CALCITE-6021 more direct. The only question I have is how we could ensure things like timezones correctly meet expectations? Granted that the current tests don't do this either..
Maybe we could do something to check whether two tests have the appropriate amount of time between them?
For instance:
SELECT CURRENT_DATETIME('UTC') and SELECT CURRENT_DATETIME('America/Los_Angeles') should always return results that are different by 7 hours? Not sure if this is helpful but maybe there is a way to mask this as well?

Quidem's sweet spot is always going to be things that you can check using simple comparisons (think grep, diff, sed regular expressions). If you need a Turing-complete programming language to check the assertions, Quidem will be out of its league.
You could of course do SELECT CURRENT_DATETIME('UTC') - CURRENT_DATETIME('America/Los_Angeles') and make sure that the result is 7 or 8 hours.

Another area we should expand in Quidem is running queries with particular session parameters, e.g. set time zone to Pacific time. But that should be a different issue.


Minor Spelling Error in Book

LaserIO v 1.3.0
Found under the Card category in the Redstone Card chapter:

"level" is probably suppose to be "lever"
After noticing this I did read the rest of the book, I did not notice anything else, I am also notoriously bad at reading so take this with a grain of salt.
Apologies if this does constitute a bug. A bug report felt a little bit like overkill though. Especially the required steps to recreate section "Step one: open book, step two: read"

Fixed in: https://github.com/Direwolf20-MC/LaserIO/commit/ddeea23a934d5928c2e10e0803ea542e2c4b7bc6
Thanks for the heads up :)


[QA]: automatic upload of docker-images

QA
Description
Docker-images are hosted on docker-hub. To avoid manual workload, for each merge-request the CI-pipeline should automatically build and upload a new docker-image of the develop branch to docker-hub.
Acceptance Criteria

CI-pipeline was updated to build and upload the docker-images in case of a merge request only

Additional Information

Blocked by

How to test

already done in context of issue https://github.com/kitsudaiki/Hanami/issues/282


Can't get Modbus or the WebUI Plugins to load

I was testing this out with the latest release on here 0.5.1 and I can't seem to get the WebUI plugin or the Modbus plugin to load on Windows or Ubuntu. I always get something like the following
This is opendatacon version 0.5.1 gca0fdf8
Loading configuration...
WebUI Info: dynamic library load failed 'WebUI.dll' skipping plugin...
WebUI Error: failed to load plugin, skipping...
Warning: failed to load library 'ModbusPort.dll' mapping to null port...
Initialising Interfaces
Initialising DataPorts
Initialising DataConnectors
Enabling DataConnectors...
Enabling DataPorts...
Enabling Interfaces...
Up and running.
The weird thing is that if in Windows I watch opendatacon load the dll files with procmon it shows them loading successfully as can be seen in the image below.

I took a closer look at the procmon dump and figured out the problem. The WebUI plugin doesn't load because it tries loading libmicrohttpd-10.dll which does not exist. The Modbus plugin tries to load libmodbus.dll which does not exist either.
I was able to easily fix this by installing the libraries in Ubuntu but this is a huge headache for Windows users as we have to figure out how to compile Linux libraries on the wrong OS. Should these dll files not be included in the release version? There seems to be no note of needing to install the libraries on Linux either.

Yeah, sorry. You can download pre-compiled windows versions of those libs too.
The reason they're not bundled is that they're licenced with GPL. I should make a note of that in the doco. Open an issue with documentation tag if you like, or pull request 🙂.
Props on using sysmon to troubleshoot, it's an awesome tool.
Cheers,
Neil

These dependencies are listed in the readme with links to download.
https://github.com/neilstephens/opendatacon#dependencies

Nice, thanks for pointing that out!

@neilstephens Where can you find a precompiled dll for libmodbus? I can't seem to find one, though I figured out how to compile an x64 build. I also found the libmicrohttpd dll online but it's throwing errors and won't respond to the web browser.
@bjcarne That is true however I usually expect precompiled releases to work out of the box

Now this really is undocumented territory. Look for the HTML files in the example folder. You'll need to copy-paste them into your config dir.
I've been meaning to add an option to specify the web root, and document.

Well it looks like I got everything working thanks for the help. :)
I figured I would just ask this here rather than open another issue. I'm trying to take modbus data and serve it up as DNP. I can see in wireshark that the modbus master is polling and getting good data, but whenever I poll the DNP outstation it serves up nothing but 0's. Is there any special config to make this work? I have them linked together with a connector and the modbus master is polling holding registers 0-9 while the DNP outstation has 0-9 configured for it's analogs. I saw there was a modbus -> DNP example but I haven't been able to get it to work.

Post your config, or sanitised/cutdown version, and I can take a look. I can never remember the difference between read registers and holding registers off the top of my head, but one maps through to dnp3 anolog input (which works), and the other maps to analog outputs.
Unfortunately, the configuration syntax for DNP3Port doesn't actually allow you to configure analog outputs currently, even though it's all supported internally, because I haven't deployed it where that was needed yet.
There's some big changes in the develop branch since the last release, and there'll be another release, or pre-release soon. Open an issue with a feature request tag. It might make it in, because it's low hanging fruit, but no promises.
Neil.

Yep, just checked. Holding registers are modbus function code 0x03, which opendatacon treats as analog outs. So if you need it to work now, you'll either need to reconfigure the slave or hack and rebuild opendatacon.
Open a ticket in the mean time so it's supported in a future build.


I think I found a spelling mistake

Hi, David
I think I found a spelling mistake  on line 66 in facenet_train.py
# Placeholder for the learning rate
learning_rate_placeholder = tf.placeholder(tf.float32, name='learing_rate')

'learing_rate'  should be  'learning_rate' ?

Thanks! This is now fixed.


[http api] Remove "third" layer of versioning

IMPORTANT: To avoid misunderstanding: please not that this issue is concerned with a lyer of versioning not versioning altogether. BigchainDB has three layers of versioning as of now,

Server layer, the one that appears under version.py
Transaction model layer
HTTP API layer, the one that appears in the URL path, following the hostname and port, e.g.: http:localhost:9984/api/v1/transactions

This is a proposal to remove the current versioning layer on the HTTP API. Since BigchainDB itself has a version, the HTTP API version is implicit. That is, the HTTP API contract that clients rely on when communicating with a BigchainDB node follows from the version of the server itself, hence rendering a versioning system unnecessary.
If, in the future, we reach a state in which a specific BigchainDB version supports multiple HTTP API contract versions, then we could introduce an additional layer of versioning as needed.

[ ] Compare with other db systems that offer an HTTP API (e.g.: couchdb, elasticsearch, voltdb, etc)
[ ] Address the question of how will requests be routed in an heterogeneous (version-wise) cluster where, for instance,  a load balancer can route to the appropriate version. (E.g.: using headers versus using the url path.)

We will still want HTTP versioning.
If a consortium runs 2 instances of bigchaindb server during migration/upgrade/bugfix patch, which is backed by the same mongodb, we can just have a rule at the load balancer level to forward requests to the appropriate node, rather than having to setup 2 LBs, firewalls, etc.
It also helps in maintaining backward compatibility, where an API change (or BDB version change) will result in nodes of a cluster being upgraded one by one, and not all at once.

Fully agreed with @krish7919 here.

HTTP API versioning decouples servers (this means bigchaindb/bigchaindb, but also forked versions) from their respective drivers (HTTP driver and server decoupling)
Transaction model versioning decouples servers from forked servers (Hard- & softforks in blockchain world)
Server versioning decouples earlier code from later code (traditional SEMVER via pypi)

Moving forward, I do see harm in removing versioning - as it could constrain us (or others - e.g. users that want to fork BDB), but no harm in leaving versioning as is.

Compare with other db systems that offer an HTTP API (e.g.: couchdb, elasticsearch, voltdb, etc)

I don't think the given examples are appropriate, as they do not give information on versioning of blockchain systems, where apart from dataconsistency-consensus, there is also logical-order-consensus.
@sbellem I'll hence close this ticket. If there's ever a time where we're forced to remove layers of versioning, we should reopen.


Fix negative value sampling in MultiDiscrete with non-zero start

Description
Fix a bug in negative value sampling. Reproduce:
>>> s = MultiDiscrete([2, 2], start=[-1, -1])
>>> s.sample()
array([0, 0])

The sampling always outputs -1 values because np.array([-0.9]).astype(np.int32) and np.array([0.9]).astype(np.int32) both give array([0], dtype=int32) i.e., the astype methods rounds negative values upwards and positive values upwards. As a result, all values between -1 and 1 exclusive are mapped to 0.
I see 3 options:

We can fix it by calling np.floor (what I did for now)
We can fix it by mapping x = x-1 if x < 0 else x over self.start at initialization
We can replace self.np_random.random by self.np_random.integers, as it is one for Discrete spaces

If one of the other option is better, let me know
Type of change

[X] Bug fix (non-breaking change which fixes an issue)

Checklist:

[X] I have run the pre-commit checks with pre-commit run --all-files (see CONTRIBUTING.md instructions to set it up)
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works

@Rayerdyne Hey, quick reminder, could you make the suggested changes

Confirmed locally that this fixes the issue reported


[MM-51031] Fix header text

Summary
Change the text
Ticket Link
https://mattermost.atlassian.net/browse/MM-51031
Related Pull Requests
N/A
Screenshots
N/A
Release Note
NONE

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

Error trying doing the automated Cherry picking. Please do this manually
fatal: No such remote 'upstream'

+++ Returning you to the master branch and cleaning up.

Cherry pick is scheduled.


When pressing enter on a specific comment, the original thread is opened.

When pressing enter on a specific comment, could RTV open the permalink to the selected comment?

I think that's a great idea, and shouldn't be too hard to implement. Pull requests are always welcome :wink:

:+1: This is one step closer to #100, as it would get you the direct link to the comment to follow those links.

Added in 71e464d03f2a7cfa9f5435d543bcb4ceab2cd216


Using this from mutliple threads can cause deadlock

Minimal example:
fn main() {
    let l = std::sync::Arc::new(Lariv::<usize>::new(3));
    let mut ts = vec![];
    for _ in 0..16 {
        let l = l.clone();
        let j = std::thread::spawn(move || {
            for _ in 0..300 {
                eprintln!("{:?} A", std::thread::current().id());
                l.push(1);
                eprintln!("{:?}  Nevertheless, it's not something very important, and there is already a panic check for that matter that most of the time is zero-cost thanks to const folding.

That check should probably check for <= 3 not just  < 3 as it does currently. Because = 3 does trigger to bug too ;)


Fixes issue #42 update student explorer to python 3

I've been testing this locally a bit and it's working pretty well. I wanted to do this as VSCode Debugger doesn't work in Python 2. ;)


Only thing missing... Grouping?

Awesome work! thank you. One important feature I'm looking for to
start using this plugin would be grouping, similar to SELECTIZE, etc..
where I'd be able to visually split the 'options' in the dropdown
by categories, very important in my specific case.
Any plans on implementing something like this? or maybe it already
is and I completely missed it in the docs..?!
Thanks

Had this in mind (was in the road map before the last change to it). I will probably introduce this feature after the 1.0 release.

Great! I'll be waiting.. :)

Btw. You can already try out the 1.0 beta: npm install vue-multiselect@next

1, this is a most-wanted for me personally

Been thinking about this already, but it will require some possible breaking changes to be done together with a remodel of the options list. I don’t have time this week, but next weekend I might try to introduce it.

+1 Looking forward to see what you're coming up  with!

+1 on this feature

+1 \o/

Guys, you can use the add reaction button to the original post if you want to +1 something. Just add a 👍 . It'll keep everyone to get notification spammed for each of the +1 comments...

+1 LOL

Already working on this feature.
Temporary closing this issue to avoid unnecessary spam.
Reactions are welcome. :)

Mostly done, just need to verify if it works in all use cases. Will try to publish it this weekend :)


Results only from default

Running the results in an action workflow still only bring back the current default vulnerabilities. I have a test scan that has 44 vuls in the PR prior to the first merge. The resulting report shows 0 vulnerabilities.
I think its due to the following line below as it just runs the API. I cannot find where it actually uses the uploaded Sarif files to build the report.
type listCodeScanningAlertsParameters = Endpoints['GET /repos/{owner}/{repo}/code-scanning/alerts']['parameters']
Not sure if I am missing the connection in the code though.

You would need to look at the REST endpoint for this; https://docs.github.com/en/rest/code-scanning/code-scanning?apiVersion=2022-11-28#list-code-scanning-alerts-for-a-repository there is a ref parameter that can be passed in where you can target another branch or a PR merge result.
Codescanning results would need to be priorly registered and if you are uploading in the same Actions workflow, the REST endpoint might not be slowing the latest data as the SARIF report might still be being processed. Just something to keep in mind.

Thanks Peter for the reply. For understanding then the action in the marketplace tied to this code is used more for generating a report based on the default branch alone. It doesn't have the ability to do put in a ref variable and do it by PR or branch and would be better to look at the above REST API code?


New podcast episode

Thanks!
On Wed, 1 Mar 2017, 16:53 Joe Medley<EMAIL_ADDRESS>wrote:

@jpmedley approved this pull request.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/WebFundamentals/pull/4280#pullrequestreview-24528643,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFtmrQrqigJv6EVlHPaJCxznC4CXObRks5rhaHvgaJpZM4MPzwj
.


add version to plugin cache

if the version changes (or doesn't exist), it will rebuild the cache

@ransombriggs ready for review

@dickeyxxx This code removes all manually installed plugins, for example, I have heroku-sudo installed but when this runs, it is removed.
rbriggs@ebriggs-ltm [09:23:13] [~/src/github.com/heroku/heroku-cli] [plugin-cache-version]
-> % heroku plugins
=== Installed Plugins
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
rbriggs@ebriggs-ltm [09:23:21] [~/src/github.com/heroku/heroku-cli] [plugin-cache-version]
-> % ./bin/run plugins
heroku-cli: Installing core plugins... done
heroku-apps 1.2.4
heroku-cli-addons 0.2.1
heroku-fork 4.1.1
heroku-git 2.4.5
heroku-local 4.1.7
heroku-orgs 1.0.1
heroku-pipelines 1.0.2
heroku-run 2.9.2
heroku-spaces 2.0.14
heroku-status 2.1.0
rbriggs@ebriggs-ltm [09:23:37] [~/src/github.com/heroku/heroku-cli] [plugin-cache-version]

ooo nice catch, I'll fix that

Looking at this more I may close this PR instead. Chiefly because the reexec step is working now, which means that first the CLI will update, then it will update the plugins. The old CLIs before that patch will continue to have this problem, but my assumption is there aren't many of those and eventually there will be none. We can just tell users to delete ~/.heroku if they have this problem (and we've only seen it once). It'd also be annoying to have to wipe out and reinstall the plugins since this would be a blocking step.


Move documentation into wiki

Readme.md probably isn't the best place for (increasingly) detailed documentation. Split it out into wiki pages and replace with a brief overview, with relevant links, in the readme.

Done a few weeks back.


Github-flavored markdown support

Example: [x] in https://docs.rs/crate/dcpu/0.1.1

docs.rs is currently using hoedown markdown renderer. It is same renderer used in rustdoc.
Looks like CommonMark support is under development: hoedown/hoedown#119. But hoedown development seems stalled for a while. If rust gets a better markdown renderer, I'll switch to it.

ok

Just as an FYI, there's now a fully CommonMark compatible (and GFM compatible) parser/renderer written in Rust: https://github.com/kivikakk/comrak.
It's a straight Rust port of cmark-gfm, which itself is a fork of the reference C implementation of CommonMark. I still have a lot of work to do in terms of performance, but it's 100% spec compliant.

@kivikakk comrak seems promising. I hope you can add library interface.

@onur Happy to add a library interface! I'll try to get something out onto crates.io soon.

@kivikakk I tried comrak and I think only missing feature is tasklist extension.

Peeking at src/web/mod.rs, I see here's the currently used extensions:
        let mut extensions = Extension::empty();
        extensions.insert(FENCED_CODE);
        extensions.insert(FOOTNOTES);
        extensions.insert(SUPERSCRIPT);
        extensions.insert(TABLES);
        extensions.insert(AUTOLINK);
        extensions.insert(NO_INTRA_EMPHASIS);

Missing would be footnotes, superscript, and no intra-emphasis. I'd be able to add these pretty easily; task lists too, if there's a reference implementation somewhere.

Tasklists are now in master.

I've added superscript as well (left out footnotes for now as they're huge, and no-intra-emphasis isn't strictly necessary in CommonMark), and released 0.1.2 to crates.io.


Allow multiple -data parameters

For compatibility with curl(1), allow specifying the -d | -data parameter more than once.
Form curl manpage:

If any of these options is used more than once on the same command line, the data pieces specified will be merged together with a separating &-symbol. Thus, using  '-d  name=daniel -d skill=lousy' would generate a post chunk that looks like 'name=daniel&skill=lousy'.

The curl manpage also says that the content-type header should be transformed to application/x-www-form-urlencoded.
I understand that if we allow multiple -data then we sould check that each parameter contains a key and a value separated by equals.
Do you agree ?

Good point. This might be where we diverge from curl(1), as the internal usage which JCurl sprang from is more geared towards multipart/form-data than application/x-www-for-urlencoded.  But let me come back to you with a full response when I implement it (or see a PR).

I see that the multipart/form-data case is implemented (formMap).
It may exists two options to deal with application/x-www-form-urlencoded :

Let the user use the -d option only once with by example name=foo&city=bar and set the right header Content-Type: application/x-www-form-urlencoded (it is the way it works today)
Let the user use multiple -d options and concat each of them with '&' and (optional) warn him if he sets the Content-Type header to something that is NOT application/x-www-form-urlencoded.

Whatever the chosen option we'll need to add an example in the documentation.

Should have said it earlier, but thanks for your comments! Great to see the tool being used by someone else than myself:).
As to your suggestion, there's also application/json, which has been the main concern for this tool and is another major use case for -d. Thus, setting the content type to form-urlencoded automatically would be too limiting.
However if the content type is urlencoded, then yes, we can definitely concat multiple -d values with &.
In general, my goal would be to keep the parameter syntax as close as possible to curl(1), but not fanatically, diverging from it when I see curl too limiting or when we can provide syntax sugar that curl doesn't.


Update API to Urho3D 1.6 (Apr 16, 2017).

Update API to Urho3D 1.6 (Apr 16, 2017).
More options.

@silverkorn, want to review the proposed changes, as I'm not familiar with the plugin details?

@silverkorn, do you have time to check the changes?

Sure, I'll take a look during this week.

Sorry, I took a look on my side but I realized that this was a Pull request.
@xiliu98 , did you generate it with the suggested steps at the beginning of this file or you managed to add them manually?

Yes, I generate it with the suggested steps, then I removed some wrong text from the output text, and add some useful options for convenience to debug.

@pkulchenko, then I approve this PR! 😜
@xiliu98, do you have an example of wrong text so I could try to re-adapt the original script?
You can also increment the minor version number at the end of this API script.
By the way, I'd like to thank you a lot for the update of this API! 😃

@silverkorn Sorry, I have delete the original file.
But it is very easy to find out, because the ZeroBrane IDE will hint the error message.

Ok, thanks. I'll check this out when I'll have a moment.
@pkulchenko, feel free to merge when you have a moment!

@xiliu98, merged; thank you! You may need to force-push the changes into your master branch (or re-fork) as I ended up cherry-picking the changes.
@silverkorn, thank you for taking look!


ignore .idea folder

Currently it is hard to contribute without modifying these files. I suggest to gitignore them.

Hi, Sebastian,
agreed, these just complicate matters.
One note: I am working on a branch "feature/configurations", to handle
multiple configurations at once. It would be better if you target directly
this branch (for the pull request, I can do it directly there...)
Best,
Lu
On Mon, Oct 28, 2024 at 1:37 PM Sebastian Häni @.***>
wrote:

Currently it is hard to contribute without modifying these files. I
suggest to gitignore them.
You can view, comment on, or merge this pull request online at:
https://github.com/coderazzi/aws_codeartifact_maven/pull/17
Commit Summary

762cce8
https://github.com/coderazzi/aws_codeartifact_maven/pull/17/commits/762cce85dbda8b3c79e36948c012684d53bbce19
ignore .idea folder

File Changes
(7 files
https://github.com/coderazzi/aws_codeartifact_maven/pull/17/files)

M .gitignore
https://github.com/coderazzi/aws_codeartifact_maven/pull/17/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
(7)
D .idea/aws.xml
https://github.com/coderazzi/aws_codeartifact_maven/pull/17/files#diff-b1c99adeb270feceb7dc928e5b7c94b8ceb69c592b8402e942755f56a89f4cc8
(16)
D .idea/gradle.xml
https://github.com/coderazzi/aws_codeartifact_maven/pull/17/files#diff-952b752681ded498853ce6363aa309aac9e6bd15fe12a907be0b8d2142d1fa21
(17)
D .idea/kotlinc.xml
https://github.com/coderazzi/aws_codeartifact_maven/pull/17/files#diff-829d52b273145b9cea58047cbe1856e097e7daf89ea933f1550a7c36ee2ebeec
(6)
D .idea/misc.xml
https://github.com/coderazzi/aws_codeartifact_maven/pull/17/files#diff-7ea1cd7bd5d16299a0abd33128e8d0a8bc04146f6b00c07bcd3cc0aad813c229
(13)
D .idea/vcs.xml
https://github.com/coderazzi/aws_codeartifact_maven/pull/17/files#diff-a6dab70bd0e9ffc91d8419ad52225baff3a3e7c9d8e1724f7ed6d96b661d804a
(6)
D .idea/workspace.xml
https://github.com/coderazzi/aws_codeartifact_maven/pull/17/files#diff-9f043e4e89d784b579b6d75ea8704b232f9475fa5b3afd11f805fdf8e74c675c
(388)

Patch Links:

https://github.com/coderazzi/aws_codeartifact_maven/pull/17.patch
https://github.com/coderazzi/aws_codeartifact_maven/pull/17.diff

—
Reply to this email directly, view it on GitHub
https://github.com/coderazzi/aws_codeartifact_maven/pull/17, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH54INTW62HFXJW6L6YSM3Z5YOXNAVCNFSM6AAAAABQXKGZ3SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTQMZQGY4TANI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@coderazzi I changed the target branch of this PR and resolved the conflicts.


Not able to show carousel containing images inside a flatlist.

As the title states, I am trying to display my images inside the carousel and the carousel itself is the renderItem of the Flatlist. Any help would be appreciated ASAP.
<SafeAreaView className="flex-1 bg-primary h-full">
            <FlatList
                data={tempPosts}
                keyExtractor={item => item._id}
                renderItem={({item}) => (
                    <SafeAreaView className="flex-1 items-center justify-center">
                        <Text className="text-white">{item.caption}</Text>
                        <Carousel
                            data={item.mediaUrls}
                            width={430}
                            renderItem={({item}) => (
                                <Image source={{uri: item}} style={{width: 430, height: 430}} />
                            )}
                        />

                    </SafeAreaView>
                )}
            />
</SafeAreaView>

Reproduction
1- Create a Flatlist from react-native and an array of objects containing {id,caption,mediaUrls}
2- Inside the renderItem function of the Flatlist create a Carousel component with its data being the mediaUrls of the data fed into the Flatlist.
3- Run the app on android. You will see that images are not displayed. Only the caption is there.
Describe the bug
As you can see I'm trying to display the images inside the carousel which is part of a flatlist but the images don't display.
Expected behavior
The screen should display a Flatlist of posts which contain the images inside a carousel.
Screenshots

Versions:

react: v18.2.0
react-native: v0.74.5
react-native-reanimated: v3.10.1
react-native-reanimated-carousel: v4.0.0-alpha.12
react-native-gesture-handler: v2.16.1

The pan gesture is not the issue. The issue is that images are not being displayed at all. The fix you described is not related to the problem at all.


Remove ResolvedCall.isCalling

This was only used by functions in this utils file, which have been refactored to remove its usage.

Warnings

:warning:
It looks like this PR contains functional changes without a corresponding test.

  Generated by :no_entry_sign: dangerJS against 09c5f85e49ca91c3dc197980d01fdc84024feeb1


Support mount point in volumes section of compose file

I can define a service with a volume section as:
my_server_1:
image: yashgt/proc1
volumes:
- serverlog:/log
At the top level I have :
volumes:
serverlog:
driver: local
The physical files go to /var/lib/.... If I want to the files to go to a fixed location on the VM, I need to provide it under the volumes sections of the service as :
my_server_1:
image: yashgt/proc1
volumes:
- /mydata/serverlog:/log
For each new service that wants to write to the same directory, I need to repeat the path:
my_server_2:
image: yashgt/proc1
volumes:
- /mydata/serverlog:/log
It will help if we are allowed to provide the path at the top level volume definition such as :
volumes:
serverlog:
driver: local
path : /mydata/serverlog

Please can you open compose specific issues at https://github.com/docker/compose not here, thanks!


withdrawle

i interest how when i waiting the rewards withdrawle. because i look log how 2021-08-11T19:20:14.730Z   Your withdraw request is already in queue: 3

Same. distribution queue: 17 😱

When you withdraw an iota, is it rounded down to a million iota always?  If I pressed withdraw when it shows (for example) 1.2 miota, but got exactly 1.0 miota and the iota amount on the site has been reset.


[kubernetes_state] Adding kube-state-metrics V2 horizontalpodautoscaler metrics

What does this PR do?
Adds V2 versions of the horizontalpodautoscaler metrics to the kuberentes_state metrics gathering.
Motivation
horizontalpodautoscaler metrics don't get collected by DataDog when upgrading to the latest version of kube_state_metrics.
Additional Notes
Issue has been raised here https://github.com/DataDog/integrations-core/issues/8244
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[x] PR title must be written as a CHANGELOG entry (see why)
[x] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

Will this be submitted by chance?

Hello @Timothy-Dougherty,
Thank you very much for proposing this improvement.
Unfortunately, the python kubernetes_state check supports only kube-state-metrics 1.9.
This legacy check has been superseded by the kubernetes_state_core check, written in GO and based on kube-state-metrics 2.x.
We strongly encourage all users to migrate from the legacy kubernetes_state python check to the new kubernetes_state_core one. This documentations lists the differences between the two checks.
As far as HPA metrics are concerned, I just tried to create an autoscaling/v2 HPA on a kubernetes 1.23 cluster and I confirm that the kubernetes_state_core check was able to successfully emit the following metrics:

kubernetes_state.hpa.min_replicas
kubernetes_state.hpa.max_replicas
kubernetes_state.hpa.desired_replicas
kubernetes_state.hpa.current_replicas
kubernetes_state.hpa.condition


Further enhancements to 5XX error pages

What happened (or feature request):

Feature Request

What you expected to happen:
We've added more descriptive error pages (https://github.com/drud/ddev/issues/262) that help a user debug what happened and what to do next. We could potentially take this further with additional branding as well as links to our docs.
Related source links or issues:
https://github.com/drud/ddev/issues/262

I think this would be valuable to revisit, but it's not necessary at this time.


Need to Add an Action Route

As an Order Manager
I need [function]  ???
So that [benefit]
Details and Assumptions

[document what you know]

Acceptance Criteria
Given [some context]
When [action taken]
Then [outcome observed]

What kind of action should we add?

Some updates on this:
If the order status is Shipped/Delivered/Cancelled: 409 Conflict: request conflicted.
(We don't allow users to cancel orders after Shipped)


get_io_service()

socket_.get_io_service() seems to be deprecated, so I can't run a server using crow.

Hey, you seem to be talking about file socket_adaptors.h right?

You can add a macro right after the includes:
#if BOOST_VERSION >= 107000
#define GET_IO_SERVICE(s) ((boost::asio::io_context&)(s).get_executor().context())
#else
#define GET_IO_SERVICE(s) ((s).get_io_service())
#endif

Then implement it. Replace:
        boost::asio::io_service& get_io_service()
        {
            return socket_.get_io_service();
        }

with:
        boost::asio::io_service& get_io_service()
        {
            return GET_IO_SERVICE(socket_);
        }

Another solution would be to use a fork. Because the maintainer of this repo is inactive, people forked it and took over the development. This one is our MVP: https://github.com/CrowCpp/crow
Everything you need in there, including updates, and fixes. I recommend you use his fixes, updates and work, instead of the code here, which is outdated. The work made by the group CrowCpp is fantastic!

I am amazed. So fast and so good. The first solution you provided worked.

Ah, happy for you it worked! 👍

I get some errors with the repo you told me. Any ideas?

Hmm, currently looking into it. Indeed, I can reproduce the same error as you. Will get back, with a solution shortly.

Hi, CrowCpp/Crow requires you add #define CROW_MAIN to the top of your main cpp file. This is to avoid multiple definitions when using multiple source files (We're working to remove the need for it however).

It works! Thank you!

Hi, CrowCpp/Crow requires you add #define CROW_MAIN to the top of your main cpp file. This is to avoid multiple definitions when using multiple source files (We're working to remove the need for it however).

You beat me to it :). I had just found https://github.com/CrowCpp/Crow/issues/150


🐛Bug: Menubar lagging

Describe the bug
The (Menubar builder)[https://www.melt-ui.com/docs/builders/menubar] is presenting a significant lag when clicking/touching. On mobile (or maybe touchscreen specifically) it seems like the focus closes the dropdown when alternating between menus.
To Reproduce
Steps to reproduce the behavior:

Build a Menubar, or just go to the one on the (docs)[https://www.melt-ui.com/docs/builders/menubar]
Click on any of the menus
Notice the lag, and the weird behavior on touch

Expected behavior
The dropdowns should not lag, and the menu should not close this way on mobile/touch.

OS: Windows, Android, iOS (geerew on Discord)
Browser: Chrome, Edge, Firefox, Safari (geerew on Discord)

This is actually not unique to mobile, the desktop version is slow on hover as well


Updating project files, removing outdated addons

Removed curvetools and ofxcontrolpanel from the example-controller and updated the basic example to have basic ofxGUI control. Also updated projects to work on OF 0.8.4 release and Xcode 6

thanks for this work guys, it looks good!


Update ZoomIt image to reduce the window size

Docs Build status updates of commit 6c7eae6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/media/zoomit/zoomit-main.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Update VPA to 0.12.0

How to categorize this PR?

/area auto-scaling
/kind enhancement
What this PR does / why we need it:
Update the VPA images and imports to v0.12.0
https://github.com/kubernetes/autoscaler/releases/tag/vertical-pod-autoscaler-0.12.0
Which issue(s) this PR fixes:
Earlier versions of VPA will not work properly with Kubernetes 1.25 because of API removals.
Part of https://github.com/gardener/gardener/issues/5824 due to https://github.com/kubernetes/autoscaler/issues/4844
Special notes for your reviewer:
/cc @voelzmo
Release note:

Updated vertical-pod-autoscaler to v0.12.0

/test all

/assign

/assign

@voelzmo is OOO for a while, so let's continue with this. Thanks for your review @ialidzhikov
/lgtm


grpc server windows32 version run error

What version of gRPC and what language are you using?
1.46.3 / win32 / c++
1.36.4 / win32 / c++
What operating system (Linux, Windows,...) and version?
Windows10
What runtime / compiler are you using (e.g. python version or version of gcc)
cmake 3.23.1
visual studio 2017

sdk 10.0.17134.0

What did you do?
grpc 1.46.3
https://grpc.io/docs/languages/cpp/quickstart/
I build it as I was link.
examples/cpp/helloworld
And we did the same with the above example.
However, it was confirmed that there was a problem with the server due to a segment fault error.
but, win_64 works properly and problems occurred only in win_32.
grpc 1.36.4
Both win_32 and win_64 operate normally.
What did you expect to see?
I thought that the server would continue to operate normally and that we would be able to receive repeated requests from clients.
What did you see instead?

The server responds to the client and then dies when the corresponding segment fault occurs.
sorry, I don't have it now, but I'll upload it if necessary.
Anything else we should know about your project / environment?
no

Occurs in all versions of grpc 1.36.4 and later.

Turns out we don't have CI testing for this.
@nicolasnoble will do a brief attempt, but no promises :)

Turns out we don't have CI testing for this. @nicolasnoble will do a brief attempt, but no promises :)

Please. I want to use the latest version of WIN32 GRPC, but it's hard because I can't. ㅜㅜ..


can't create percona_pmm resource

│ Error: create instances: Security group sg-0090e7124678ac474 and subnet subnet-0717327991f2d84d3 belong to different networks.
│
│   with percona_pmm.pmm3,
│   on main.tf line 11, in resource "percona_pmm" "pmm3":
│   11: resource "percona_pmm" "pmm3" {

Fixed in 9e52ec99e93fa7065d93b4f834f1ad9f9d2ec72b


Is there an example of streaming a response from multiple statements (like in a chat)

Hello! I haven't been able to navigate the type constraints around using mistral.chat.stream . The example in the docs works with 1 message specified in a literal, but when trying to use multiple messages, inputted by the user, in a multi-statement chat... I just can't figure out the types. I have looked at the source/type defs and it seems so complex that I feel I must be missing something simple. Is there an example anywhere that shows how to use it?
For example, this is a very simple extrapolation of the given sample:
import { ChatCompletionStreamRequest, AssistantMessage, UserMessage, UserMessageContent } from '@mistralai/mistralai/models/components';

    const msg: UserMessage = {
        content: "Who is the best French painter? Answer in one short sentence.",
        role: "user",
    };

    let myval: ChatCompletionStreamRequest = {
        model: "mistral-small-latest",
        messages: [msg]
    };

    const result = await mistral.chat.stream(myval);

But Typescript complains...
Type 'UserMessage' is not assignable to type '(SystemMessage & { role: "system"; }) | (UserMessage & { role: "user"; }) | (AssistantMessage & { role: "assistant"; }) | (ToolMessage & { ...; })'.
  Type 'UserMessage' is not assignable to type 'UserMessage & { role: "user"; }'.
    Type 'UserMessage' is not assignable to type '{ role: "user"; }'.
      Types of property 'role' are incompatible.
        Type '"user" | undefined' is not assignable to type '"user"'.
          Type 'undefined' is not assignable to type '"user"'.

In my app, I need to retrieve a chat from the db, add the latest prompt, and stream an answer back to the browser. I was able to get it working in the old JS client, but I ran into some fetch compatibility problems, so I'm trying to upgrade to the TS client.
Thank you!

Hey 👋
Thanks for reporting this issue could you tell us which version of the SDKs your are using?

Sure. From my package-lock.json...
        "@mistralai/mistralai": "^1.1.0",

For now I'm using a workaround "any" type. From my sample above:
  const msg: UserMessage = {
    content: "Who is the best French painter? Answer in one short sentence.",
    role: "user",
  };
  let messageArr: any = [msg];

  let myval: ChatCompletionStreamRequest = {
    model: "mistral-small-latest",
    messages: messageArr
  };

  const result = await mistral.chat.stream(myval);


AstNumber is weird

Apparently we store 0x1000 as 1000n (decimal) along with the base, and I'm unsure how that works with 0xFFFF.
For the rest of the code it doesn't make any sense to know what base was used to enter the literal: in any base number would be the same.
By the fact base is used in sources 5 times and value is used 14, we can conclude we have 9 bugs, even though reproducing them might be not that obvious.


Update CI triggers

Similarly to https://github.com/tailscale/terraform-provider-tailscale/pull/142, this repo also needs the github workflow to be changed from master to main:
https://github.com/tailscale/tailscale-client-go/blob/main/.github/workflows/ci.yml#L5

Fixed by 3424c4a6b81290f4c2f677a4355216b0d9a6439e


[Heatmap fix] Remove print statements

Describe your changes
Removing unnecessary print statements in the marks.py for GridHeatMap

@ibdafna Please rebase this off master so that it doesn't pick up the changes from #942, thanks!

Will resubmit this in a new branch


oscc-joystick-commander does not differentiate fault origin

Description:
When oscc-joystick-commander is in use it differentiate between vehicle faults and OSCC faults.
Steps To Reproduce

Start OSCC and Joystick Commander
Enable OSCC
Override OSCC to show Disable Controls and Fault:

Expected behavior:
A description of where the fault is originating to differentiate from car faults and oscc faults would provide clarity.
Screenshots:
Brake: 0.000000 Throttle: 0.000000 Steering: 0.000000
Brake: 0.000000 Throttle: 0.000000 Steering: 0.000000
Brake: 0.000000 Throttle: 0.000000 Steering: 0.000000
Brake: 0.000000 Throttle: 0.000000 Steering: 0.000000
Brake: 0.000000 Throttle: 0.000000 Steering: 0.000000
Brake: 0.000000 Throttle: 0.000000 Steering: 0.000000
Brake: 0.000000 Throttle: 0.000000 Steering: 0.000000
Brake: 0.000000 Throttle: 0.000000 Steering: 0.000000
Brake: 0.000000 Throttle: 0.000000 Steering: 0.000000
Brake: 0.000000 Throttle: 0.000000 Steering: 0.000000
Brake: 0.000000 Throttle: 0.000000 Steering: 0.000000
Disable controls
Fault: Steering

Specifications:

OSCC Firmware Version: 1.2.0
Joystick Commander Version: 1.1.0 and devel branch

Is this problem solved? I encountered this as well for 1.2.2.

Unfortunately it is not fixed.


Remove sample code showing group name encoding

This is no longer needed - ran the sample and verified that it works now.
However I did see a weird issue with the last few lines, which I've commented out for now, and it seems the code needs to be updated from sort to order_by? I want to spend more time looking at that in another change.

I tested out the bug you identified here. The infinite loop happens when no matching results are found. I will get a fix created shortly.


Add RLIM_NLIMITS + getloadavg on android

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

Thanks! @bors r+

:pushpin: Commit 05abe1b06e90c16f5b8fecc04fea6230e355434c has been approved by JohnTitor

:hourglass: Testing commit 05abe1b06e90c16f5b8fecc04fea6230e355434c with merge 363baf2b908a18ca8bde747f4278c9ac0e4772a5...

:broken_heart: Test failed - checks-actions

I guess I'll remove getloadvg, it wasn't working in my test environment either

@bors r+

:pushpin: Commit b6313ff6e32ec0548c1dad1f5deb17273dbac3b8 has been approved by JohnTitor

:hourglass: Testing commit b6313ff6e32ec0548c1dad1f5deb17273dbac3b8 with merge dafd08dadaad089ecd6c93b31daf230fd4dc5435...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing dafd08dadaad089ecd6c93b31daf230fd4dc5435 to master...