Facebook Messenger splits and truncates messages

Facebook messenger seems to be splitting and truncating messages.
Telegram:

Facebook:

This github repo is a npm module that references a character limit to Facebook Messenger Send API.

320 characters limit
At the time of writing, the Send API only allows up to 320 characters. We strongly recommend using a plugin like hubot-longtext to gracefully handle long messages.

I checked out on the FB Developer site and it doesn't reference a character limit but I have run into one. After doing a basic type out of that first message it seems like it is hovering right around that limit of 320.
Unsure why it is splitting messages without seeing your requests, but I would recommend looking into Facebook's Character limit.

That’s right, I observed a 320 char limit, so we split into multiple posts to display longer text.
From: Kevin Guebert<EMAIL_ADDRESS>Sent: Tuesday, May 3, 2016 12:03 PM
To: Microsoft/BotBuilder<EMAIL_ADDRESS>Subject: Re: [Microsoft/BotBuilder] Facebook Messenger splits and truncates messages (#212)
This github repohttps://github.com/ClaudeBot/hubot-messenger-bot#320-characters-limit is a npm module that references a character limit to Facebook Messenger Send API.
320 characters limit
At the time of writing, the Send API only allows up to 320 characters. We strongly recommend using a plugin like hubot-longtext to gracefully handle long messages.
I checked out on the FB Developer site and it doesn't reference a character limit but I have run into one. After doing a basic type out of that first message it seems like it is hovering right around that limit of 320.
Unsure why it is splitting messages without seeing your requests, but I would recommend looking into Facebook's Character limit.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/BotBuilder/issues/212#issuecomment-216631996

The splitting is understandable considering the circumstances, but the truncation of the messages seems wrong.
Also, perhaps you might consider splitting along paragraph breaks, headers ets rather then a straight 320 char split.

This should be fixed now.

Is there a change that I have to deploy? I'm still getting the problem where the message is truncated.

From my experimentation in won’t truncate if the message is split at 300 character boundary.
We still have to split into multiple messages though
From: matthew5025<EMAIL_ADDRESS>Sent: Tuesday, May 10, 2016 4:58 AM
To: Microsoft/BotBuilder<EMAIL_ADDRESS>Cc: Tom Laird-McConnell<EMAIL_ADDRESS>State change<EMAIL_ADDRESS>Subject: Re: [Microsoft/BotBuilder] Facebook Messenger splits and truncates messages (#212)
Is there a change that I have to deploy? I'm still getting the problem where the message is truncated.
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/BotBuilder/issues/212#issuecomment-218136336

Here's a sample string that I've notice would cause problems.
L & R: MyTransport.SG Is Smarter, Faster, More Personal. The New Journey Planner Means You'll Never Miss A Stop Again! Bus Stop Countdown And Notification Lets You Know When To Alight. B: Never Miss A Stop Again!) (White)\n\n\n---\n**SMB5016H**\n\nService: 188\n\nOperator: SMRT BUSES LTD.\n\nDepot: Kranji Depot (KJDEP)\n\nModel: Alexander Dennis Enviro500\n\nAdvert: No Advert\n\n\n---\n

Also, I seem to be having a problem very similar to #108, but with FB Messenger. The test string above will also show this issue.

Hello everybody, I am getting the same problem. To solve this I am dividing the message into the chunks of less than 320 charcters. But here I am getting another problem, the chunks that I am sending are getting shuffled. I tried to solve this issue by introducing delay function but still unable to solve. Please help if there is a solution for this. My main issue is sending the long messages with facebook messenger.


Somthing wrong with test command in ci

Run pnpm test

><EMAIL_ADDRESS>test /home/runner/work/eslint-config/eslint-config
> node --experimental-specifier-resolution=node test/validate.js

node:internal/errors:464
		ErrorCaptureStackTrace(err);
		^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'kleur' imported from /home/runner/work/eslint-config/eslint-config/node_modules/uvu/dist/index.mjs
		at new NodeError (node:internal/errors:371:5)
		at packageResolve (node:internal/modules/esm/resolve:932:9)
		at moduleResolve (node:internal/modules/esm/resolve:978:18)
		at defaultResolve (node:internal/modules/esm/resolve:1080:11)
		at ESMLoader.resolve (node:internal/modules/esm/loader:530:30)
		at ESMLoader.getModuleJob (node:internal/modules/esm/loader:251:18)
		at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:79:40)
		at link (node:internal/modules/esm/module_job:78:36) {
	code: 'ERR_MODULE_NOT_FOUND'
}
 ELIFECYCLE  Test failed. See above for more details.
Error: Process completed with exit code 1.

Was fixed in the v0.6.1.


Problems with post install script

Please verify that you have read and understood the guidelines.
yes
A clear and concise description of the issue.
I've installed the version of Proxmox 8.3.0 and tried to run the post install script :
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)"
unfortunately, it failed and I got the message.
 ✗ This version of Proxmox Virtual Environment is not supported
Requires Proxmox Virtual Environment Version 8.0 or later.

What settings are you currently utilizing?

[X] Default Settings
[ ] Advanced Settings

Which Linux distribution are you employing?
Debian 12
If relevant, including screenshots or a code block can be helpful in clarifying the issue.

Please provide detailed steps to reproduce the issue.
Install the version 8.3.0 via Boot USB and launch the post install script
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)"

Wrong Repo!


rancher-turtles: disable core provider pre-delete hook

This can fail when install fails prior to installing the Namespace leaving the chart in an uninstallable state
    + helm_v3 uninstall rancher-turtles --namespace rancher-turtles-system --wait
    Error: warning: Hook pre-delete rancher-turtles/templates/core-provider.yaml failed: 1 error occurred:
            * namespaces "capi-system" not found

This can arise when installing via the RKE2 helm controller if cert-manager is not yet ready:
+ helm_v3 install --namespace rancher-turtles-system --create-namespace --version 0.3.1+up0.11.0 rancher-turtles /tmp/rancher-turtles.tgz --values /config/values-01_HelmChart.yaml
Error: INSTALLATION FAILED: 2 errors occurred:
	* Internal error occurred: failed calling webhook "webhook.cert-manager.io": failed to call webhook: Post "https://cert-manager-webhook.cert-manager.svc:443/validate?timeout=30s": no endpoints available for service "cert-manager-webhook"
	* Internal error occurred: failed calling webhook "webhook.cert-manager.io": failed to call webhook: Post "https://cert-manager-webhook.cert-manager.svc:443/validate?timeout=30s": no endpoints available for service "cert-manager-webhook"

In this situation we don't require cleanup, we just need the chart to uninstall cleanly so the helm controller can try again and eventually succeed when cert-manager is ready.

A preview of this is available for testing at https://hardys.github.io/charts/

Initial tests passed and will run additional tests to confirm.


added "object oriented" to the readme just to make sure ppl know

PLEASE ACCEPT MY PULL REQUEST

Welcome to the team FireEntity1!
haii haii hewwo!!!~ ^w^ this pull request looks reallly gooood im really proud of the work youve doneee :333
i checked the relish levels and they are stable so i can merge this!!~ >////<
sincerewly,
nibbles, your kitten >w< 💝


HDDS-8542. In RDBTable, add a put method using RocksDB ByteBuffer APIs.

What changes were proposed in this pull request?

Add a put method to use RocksDB ByteBuffer APIs.
Support ByteBuffer methods in Codec and some of the implementations.  (Will work on other implementations in other JIRAs.)

What is the link to the Apache JIRA
HDDS-8542
How was this patch tested?
Add new tests to test the codec implementations.

@adoroszlai , thanks a lot for reviewing this!


Problem setting IAM roles

The UMI requires the user to set up an AWS IAM role to allow EC2 to access S3.
Will provided instructions for how to do this on the Readthedocs, but when I tried, something went wrong. The role I made was not automatically applied to the instance, and when I applied it manually it still didn’t work.
Luckily I already had an equivalent IAM role set up, but fresh AWS users may get stuck here.

I tried on a fresh instance with that role and it worked. I am not sure what went wrong when your instance was created since you said you did the step where you add the IAM role to the instance during instance confgiuration. Perhaps the best guidance is to remake the instance and try again with adding the role to the instance if this problem comes up.


GEOMESA-819 Including size of query box in z3 range calculation

Start recursion at the longest common prefix of the min/max bounds
Depth of recursion depends on the size of our query region
Compared to fixed recursion depth, increases ranges for small query regions and decreases ranges for large query regions
Most queries will create less than 10k ranges - usually on the order of 2-4k for moderate queries and 30-500 for small queries

Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

5789033


Configure the CLI to exit non-zero on failures.

I noticed that kamal wasn't exiting non-zero for me in certain scenarios where I expected it to.
$ kamal deploy -d staging --some-option-that-doesnt-exist
ERROR: "kamal deploy" was called with arguments ["--some-option-that-doesnt-exist"]
Usage: "kamal deploy"

$ echo $?
0

This caught me by surprise in my CI/CD when my staging deployment "succeeded" super quickly and my changes started deploying to production. 😅
I'm not very familiar with Ruby but I believe that this is a good change to make.
(Looks like this was previously set to true but was changed to false by @djmb here.)
Testing

With the proposed change in place, I manually ran bundle exec ./bin/kamal deploy -d staging --some-option-that-doesnt-exist and got the expected behavior (non-zero exit code).
I tried running bundle exec ./bin/tests but I'm getting several toomanyrequests errors [1] from docker. The number of errors (10) seems to remain consistent with and without this change so I have some confidence that it shouldn't cause any regressions but I'm not certain.

[1] - Error Message Example
...

  ERROR (SSHKit::Command::Failed): Exception while executing on host vm1: docker exit status: 125
docker stdout: Nothing written
docker stderr: Error response from daemon: No such container: kamal-proxy
Error: failed to start containers: kamal-proxy
cat: .kamal/proxy/options: No such file or directory
Unable to find image 'basecamp/kamal-proxy:v0.8.4' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.

...

I went ahead and created a Docker account. I did a docker login (which indicated success) and tried again and still get the error. Looking at the "Usage" dashboard in Docker doesn't seem to indicate an issue. Perhaps my anonymous usage before logging in is causing my IP to be throttled? Another theory is that maybe the way the tests are run aren't making use of my logged in account. 🤷
I'm not really interested in upgrading to any sort of paid account at this time.
Any suggestions on how to work around this issue would be greatly appreciated!

And now another:
Error:
AppTest#test_stop,_start,_boot,_logs,_images,_containers,_exec,_remove:
RuntimeError: Command `TEST_ID=ab6d82077231b99d1df5bc116d848a37 docker compose exec --workdir /app deployer kamal deploy` failed with error code `pid 90106 exit 1`, and output:

    test/integration/integration_test.rb:34:in `docker_compose'
    test/integration/integration_test.rb:40:in `deployer_exec'
    test/integration/integration_test.rb:44:in `kamal'
    test/integration/app_test.rb:5:in `block in <class:AppTest>'

bin/test /home/runner/work/kamal/kamal/test/integration/app_test.rb:4

BTW, it looks like the runners are also subject to the toomanyrequests errors (example).

With the recent changes I made the tests are now passing. I believe things are now ready to be reviewed.


Harmony Hub Devices?

Hey,
I see that the devices part of the harmony platform is currently commented out. In fact there is no function called "hub.getDevices()" but it looks like those devices are under "hub.getAvailableCommands()".
Is it planned to reimplement the device list? Would be great!
I've a IR controlled ceiling fan and I dream of a world where I can simply shout "Siri, turn on the living room fan!" 😄

@nfarina

I am wondering this as well. I have an electric fireplace I would love to be able to control.

This plugin has been separated out and someone else has requested this as well. Please comment and add any additional info to the new item. https://github.com/KraigM/homebridge-harmonyhub/issues/9
@nfarina go ahead and close this


Crypto Transfer Filter

Problem
I run into the problem of wanting to only see crypto that has been transferred to the account I'm viewing or crypto transferred from the account I'm viewing in the account view (eg. https://hashscan.io/mainnet/account/0.0.800?type=cryptotransfer).
Further, I'd like to filter by the specific token that was transferred, by either token symbol or token ID.
Solution

Display 2 additional filters after the "crypto transfer" filter has been selected, appearing directly to the right of "Recent Transactions":

Trasnfer Type: All Transfer to account; Transfer from account
Tokens: All HBAR; $SYMBOL / 0.0.XXXXX; etc.

Alternatives
Unsure; worth discussing.

Can be supported:

Transfer Type: All Transfer to account; Transfer from account

Cannot be supported currently (requires mirror node REST API update):

Tokens: All HBAR; $SYMBOL / 0.0.XXXXX; etc.

Thanks @SimiHunjan was curious if this has been prioritized to be included?

Might be one we can pick up in Q4. We have quite a few P1 features we are working on with regards to smart contracts for this quarter.


JDK8/HotSpot/arm32 builds don't have AdoptOpenJDK in java -version

What are you trying to do?
Run java -version on the JDK8/HotSpot builds on arm 320bit
Expected behaviour:
To see AdoptOpenJDK in the output as per other platforms e.g. here is Linux/s390x's equivalent output:
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_275-b01)
OpenJDK 64-Bit Zero VM (AdoptOpenJDK)(build 25.275-b01, interpreted mode)

Observed behaviour:
No AdoptOpenJDK string:
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (build 1.8.0_275-b01)
OpenJDK Client VM (build 25.275-b01, mixed mode)

Any other comments:

Taking a look.

Ok, the vendor is being correctly passed in via "--with-vendor-name" in the configure step, so I'm currently googling and poking through jdk8 code to try and figure out why it doesn't end up in the -version output like it does in jdk8 zLinux and jdk11 arm.

All fixed as per this PR.
https://github.com/AdoptOpenJDK/openjdk-aarch32-jdk8u/pull/1
Closing.


Init version of SQLServer visitor

For #4318.

Codecov Report

Merging #4319 into master will decrease coverage by 0.67%.
The diff coverage is 1.33%.

@@             Coverage Diff              @@
##             master    #4319      +/-   ##
============================================
- Coverage      57.2%   56.52%   -0.68%
  Complexity      352      352
============================================
  Files          1027     1030       +3
  Lines         18160    18383     +223
  Branches       3284     3347      +63
============================================
+ Hits          10388    10391       +3
- Misses         7117     7337     +220
  Partials        655      655

Impacted Files
Coverage Δ
Complexity Δ

...ingsphere/sql/parser/visitor/SQLServerVisitor.java
0% <0%> (ø)
0 <0> (?)

...l/parser/core/visitor/ParseTreeVisitorFactory.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...e/sql/parser/visitor/impl/SQLServerDCLVisitor.java
0% <0%> (ø)
0 <0> (?)

...hardingsphere/sql/parser/SQLServerParserEntry.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...e/sql/parser/visitor/impl/SQLServerTCLVisitor.java
0% <0%> (ø)
0 <0> (?)

...phere/sql/parser/core/extractor/util/RuleName.java
100% <100%> (ø)
0 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Pull Request Test Coverage Report for Build 9559

3 of 225 (1.33%)  changed or added relevant lines in 6 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.7%) to 60.143%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/visitor/ParseTreeVisitorFactory.java
0
2
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-sqlserver/src/main/java/org/apache/shardingsphere/sql/parser/visitor/impl/SQLServerTCLVisitor.java
0
6
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-sqlserver/src/main/java/org/apache/shardingsphere/sql/parser/SQLServerParserEntry.java
0
9
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-sqlserver/src/main/java/org/apache/shardingsphere/sql/parser/visitor/impl/SQLServerDCLVisitor.java
0
36
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-sqlserver/src/main/java/org/apache/shardingsphere/sql/parser/visitor/SQLServerVisitor.java
0
169
0.0%

Files with Coverage Reduction
New Missed Lines
%

sharding-orchestration/sharding-orchestration-center/sharding-orchestration-center-apollo/src/main/java/org/apache/shardingsphere/orchestration/center/instance/ApolloInstance.java
1
61.11%

sharding-orchestration/sharding-orchestration-core/src/main/java/org/apache/shardingsphere/orchestration/internal/util/IpUtils.java
3
76.0%

Totals

Change from base Build 860:
-0.7%

Covered Lines:
11056

Relevant Lines:
18383

💛  - Coveralls


Using the modulo operator % as string formatter

Hi there,
why does this piece of code
test = "get"
key = "test"
print(test, key)
print("_%s%s%s" % (test, key[0].upper(), key[1:]))

result in
get test
NaN

in the JavaScript console, althought I did not use --jsmod to enforce JavaScript modulo support.
Desired output should be
get test
_getTest

Is it a bug or a desired behavior?

Thanks for the hint... maybe it's better for me to first read the complete documentation. I'm trying to port a huger library (https://github.com/viur-framework/html5) from PyJS to Transcrypt and there are many pitfalls to deal with. Thanks again, and now its time to read the docs first... (its just "RTFM" for me ;-))

Indeed if porting something large, reading the docs will probably pay of, although they may be a bit terse.
There are quite some switches, pragma's and other stuff that may make your life easier.

BTW, I almost finished python style string formatting, maybe we can adapt it for % style formatting too. But there is about 300 lines of non optimized js code. So Jacques will need to decide to replace the old format function or to make it available via pragma.

I am in favor of making it available, but not as default, since it's quite large.
This isn't a problem, I expect we can handle it much like the -xt switch.
Only here the default will be: not available (just like e.g. complex number support).
As an option I consider this a very useful addition.

Jacques, I made string formatting in my fork, you can add it to transcrypt if you want. % formatting is not working but I don't think it would be hard to implement in the future. In the current implementation there is support for builtin format(), str.format(), custom formatting via __format__ method.
P.S. available via -sf switch.

I am reviewing your changes and probably will have to ask a few things.
In the following code, why is aClass2 needed? (see ??? in code).
    var issubclass = function (aClass, classinfo) {
        if (classinfo instanceof Array) {   // Assume in most cases it isn't, then making it recursive rather than two functions saves a call
__pragma__ ('ifdef', '__esv6__')
            for (let aClass2 of classinfo) {
__pragma__ ('else')
            for (var index = 0; index < classinfo.length; index++) {
                var aClass2 = classinfo [index];
__pragma__ ('endif')
                if (issubclass (aClass, aClass2)) {
                    return true;
                }
            }
            return false;
        }
        try {
            var aClass2 = aClass;               # ??? Why is aClass2 needed? You say for safety, but I don't see any danger...
            if (aClass2 == classinfo)
                return true;
            else {
                var bases = [].slice.call (aClass2.__bases__);
                while (bases.length) {
                    aClass2 = bases.shift ();
                    if (aClass2 == classinfo)
                        return true;
                    if (aClass2.__bases__.length)
                        bases = [].slice.call (aClass2.__bases__).concat (bases);
                }
                return false;
            }
        }
        catch (exception) {     // Using issubclass on primitives assumed rare
            return aClass == classinfo || classinfo == object;
        }
    };
    __all__.issubclass = issubclass;

I am reviewing your changes and have some questions.
I will pose them as reaction to your individual commits.
KR
J

In the latest commit I added support for builtin ascii. It's quite useful function and is needed by string formatting. But to work correctly, page charset must be utf-8, so I modified autotest to produce a header entry for that. And by the way, without this charset all strings in javascript are treated as non unicode.
P.S. found a bug in a string formatting when argument is null or undefined. Probably easy to fix.


Is there any reason why you are using mbedtls on windows?

I try to fix the build failure on windows.
Maybe this build fails to fix, want need to fix libwebsockets.
I try to disable LWS_WITH_MBEDTLS and build success.
Is there any reason why you are using mbedtls on windows?
$ git diff ./scripts/mingw-build.sh
diff --git a/scripts/mingw-build.sh b/scripts/mingw-build.sh
index 750d147..fe3e119 100644
--- a/scripts/mingw-build.sh
+++ b/scripts/mingw-build.sh
@@ -4,8 +4,6 @@ set -eo pipefail

 build_libwebsockets() {
   svn co https://github.com/msys2/MINGW-packages/trunk/mingw-w64-libwebsockets
-  sed -i 's/openssl/mbedtls/' mingw-w64-libwebsockets/PKGBUILD
-  sed -i '/-DCMAKE_INSTALL_PREFIX=${MINGW_PREFIX}/a \    -DLWS_WITH_MBEDTLS=ON \\' mingw-w64-libwebsockets/PKGBUILD
   sed -i '/-DCMAKE_INSTALL_PREFIX=${MINGW_PREFIX}/a \    -DLWS_WITH_LIBUV=ON \\' mingw-w64-libwebsockets/PKGBUILD
   pushd mingw-w64-libwebsockets
     makepkg-mingw --cleanbuild --syncdeps --force --noconfirm

I try install mbedtls from https://mirror.msys2.org/mingw/ucrt64/mingw-w64-ucrt-x86_64-mbedtls-2.28.0-1-any.pkg.tar.zst, build success with mbedtls.

to make the static linked binary smaller

Thank you for your answer.
I built with each and confirmed that the mbedtls version is 1.4MB and the openssl version is 3.6MB.
It seems better to build with the mbedtls version.


read_log.py: set label for obsolete hash in log

Hi!
after https://github.com/opnsense/core/commit/01031b4e546300e09a26598fbb011da78f05ed5f there is no more erroneous label assignment but read_log.py does not return 'label' at all for an entry with an obsolete hash.
ref: https://forum.opnsense.org/index.php?topic=23690.0
may be we can assign md5 as a label for this records?
or should I just add handling for a missing label in log.widget?
https://github.com/opnsense/core/blob/9e1582ced1689a24a7c934a1a5de3518f350ed6d/src/www/widgets/widgets/log.widget.php#L132-L133
I'm not sure about the second change, but it seems to me that elif rule['action'] not in ['pass', 'block'] refers to the if rule['action'] in ['pass', 'block']: statement
thanks!

@kulikov-a I think it's better to return an empty label, the rule id (md5) is already known, if we can't track it to anything useful the number is likely only confusing. The elif rule['action'] not in ['pass', 'block']: should be reverted, these are intended for nat/rdr rules without id

@AdSchellevis
got it, thanks! will replace pr with a simple empty label assignment

replaced by https://github.com/opnsense/core/pull/5075


Numeric Precision does not work while comparing data between Oracle and Snowflake tables

I am using data_diff.diff_tables () (https://data-diff.readthedocs.io/en/latest/python-api.html) in order to compare the records between Source : Oracle and Target : Snowflake tables.
The code snippet is
record_diff = diff_tables(source,target,key_columns,extra_columns,update_columns, bisection_factor,min_update,threaded,bisection_threshold,max_threadpool_size)
for sign, columns in record_diff:
print(sign,columns)
The Oracle table has Column A as -0.19 , Column B as 0.00
and Snowflake table has Column A as -0.19 and Column B as 0.00
But the results are
-,[-0,0]
+,[0,0]
What changes should be brought in order to capture the precision between records in the 2 tables and display only rows that have differences ?
I am using Windows Machine and data-diff version v0.11.0
#74

Hi @RituSooraj,
Thank you for trying out data-diff and for taking the time to open this issue. We made a hard decision to sunset the data-diff package and won't provide further development or support. Diffing functionality will continue to be available in Datafold Cloud. We have completely rewritten the diffing engine in the cloud over the past few months and have solved the fundamental issues with the original algorithm used in the data-diff package. Feel free to take it for a trial or contact us at<EMAIL_ADDRESS>if you have any questions.
-Gleb


New queue system fails on Laravel Vapor

Hi all
Just reporting an issue that may be a roadblock for others, possibly solved in docs or in code, but with Laravel Vapor the recent queue change was breaking.
It assumes "default" is a functional queue, but with vapor the queue (if unspecified) is {app_name}-{environment}.
Thank you

Also facing this issue

also seeing this issue

The fix for us was just to add an env variable SLACK_ALERT_QUEUE=vaporprojectname-prod and redeploy.


zkVM: change segment storage behavior

This PR changes the segment storage behavior. Before this change, the default behavior is to store segments on disk. Change the behavior so that the first 64 segments are stored in memory. Beyond this limit, we will store segments on disk. This limit is configurable through the ExecutorEnv.
Fixes: https://github.com/risc0/risc0/issues/1479

converting to draft - need to write tests

Perhaps we can revisit this later, but doesn't seem like an urgent need at the moment.


CropGrowthChance Incompability with Fabric Seasons

When using Fabric Seasons CropGrowthChance is ignored.
Not sure, which Mixin is colliding here. Maybe:
https://github.com/lucaargolo/fabric-seasons/blob/1.20/src/main/java/io/github/lucaargolo/seasons/utils/FertilizableUtil.java
Thank you very much for this mod, it works great and is very well made.

Haven't looked into it in detail yet but at first glance, I'm suspecting they're calling grow functions on the entity directly while my mod intervenes right before that, where the game would call grow down the chain, like random tick and growth apply (e.g. bonemeal).
I'm guessing Seasons doesn't add its own configuration options?
A more extreme fix to this could be to add a high priority mixing for grow calls themselves but that might have some side effects. Could be an option, though.

I'm guessing Seasons doesn't add its own configuration options?
Right. There is an option to disable Season's influence on bone mealing but that just nulls an if-bool in the logic itself, and does not disable their mixin.


Update inscriptions.json

@utxo-detective @chrisconfirm Please review my request sir's thank you

@MillHaus33 @gamingcx Can someone update


Take a &str rather than a String

String can automatically be dereferenced to a &str so prettify(&String::from("ni3")) still works.

Unlike the other two PRs, this change is not backward compatible and would require a new major release.

Changes reflected in latest release:
prettify_pinyin = "2.0.0"


EnsembleModel target evaluation flushing

Issue Description - FEATURE
What would you like to see?
In order to handle big cases, the ensemble model should be provide an option to avoid to fill up the
target evaluation data objects, used to create the input/output relationship among the models.
Do you have a suggested option for the development team?
A flag should be available.

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or improvement? yes
[x] 2. Is it tagged with a priority: critical, normal or minor? yes
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements? no
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users. n/a
[ ] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.) yes

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest stable branch? If yes, is there any issue tagged with stable (create if needed)?
[x] 5. If the issue is being closed without a merge request, has an explanation of why it is being closed been provided?

Closed by merge, not a defect, approved for closure by merge #119.


[Question] How can I get an attention map from LLaVA 1.5?

Question
Hello. Thank you for sharing such an impressive model. While using LLaVA, I would like to see where the model is focusing on the image based on the prompt. Can you provide assistance?

I was wondering the same question today, but on LLaVA-1.6 👀

same question

same question!

same quesiton, any solusions?

same question!

I’ve been looking into this for a while now. It definitely seems to be possible. See: https://arxiv.org/html/2404.01331v1#S4.F2 for an example :)

take a look at this repo here: https://github.com/zjysteven/VLM-Visualizer

Have there been any updates on this?

+1, adding an example of that would be great!

@paulgavrikov check out https://github.com/zjysteven/VLM-Visualizer/blob/main/llava_example.ipynb
There has been a lot of work since this issue was opened though.
At the end of the day, it seems that examining the attention weights over the visual tokens isn’t really the best way to associate image regions with a VLM response. This could definitely change though.
As of now, I’d HEAVILY recommend using a grounding fine-tuned VLM like:
-https://github.com/UX-Decoder/LLaVA-Grounding?tab=readme-ov-file

https://molmo.allenai.org/ (outputs points, very cool)
CogVLM
…

Grounding has been shown to exhibit significantly better results versus attention maps and can be easily finetuned. Only con is that you need to generate the extra tokens (which isn’t ideal if you’re speed constrained)

same question

can we implement this vlm attention visualization  for other models like qwen , ovis etc.., coz i found it only applicable for llava models

Guys, maybe you can refer From Redundancy to Relevance: Information Flow in LVLMs Across Reasoning Tasks. We introduce LLaVA-CAM by smooth-CAM to explore the importance of visual token within decision layer by layer. We will release code in next month. Welcome to star and fork~

please notify in this thread as soon as the code is available for this


When to release?

Hello, PanoGRF is a great work! I am looking forward to your open source code and dataset.

Official code requires internal review within the company before it can be released.  I cannot give you publicly, but I can give you my code privately. Please tell me your email, and I will send you my code later. Note: I haven't organized my code  and data completely.

Thanks! My email is<EMAIL_ADDRESS>


Clean up MCP nil authCheck

Cleaning up remnants of nil authCheck since server.AllowAllChecker should be used instead of relying on nil for no access checks.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ayj
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pkg/mcp/OWNERS [ayj]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

you may need to rebase.

New changes are detected. LGTM label has been removed.

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ayj
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pkg/mcp/OWNERS [ayj]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


@Pure-L0G1C

@Pure-L0G1C
yo im having troble here because when i run txt stuff like  python3 instagram.py username wordlist and mode it dont work and in saying invaild passowrd list

[!] Invalid path to password list

u need to create a file with the possible passwords and name it pass.lst in that repository where u launch python3 instargram.py


refactor: all exits moved to cli, throw as needed

This makes the main() method testable.

@RA80533 I would love your review here as well. :)

@RA80533 this is now merged, so refactoring globs / io will likely be a lot easier.

I meant to push my review comments as I made them rather than bundle them together into a review. I'm not sure if these comments were visible prior to the merge.

I meant to push my review comments as I made them rather than bundle them together into a review. I'm not sure if these comments were visible prior to the merge.

Nope, but that's good to know about the exitCode. Normally I would want to quit on the spot , but in this case since I duplicate code, your suggestions makes more sense.


Pre-Publish Checklist: Display page number for "Link conflict with page attachment" error

At present is a user places a link within the footer area on a page with an attachment they'll encounter the below in their
Worth noting also that should this same conflict occurs a number of times the checklist item appears only once.
Link conflict with page attachment
Links in the bottom of a page with a Page Attachment are disabled.

Here you'll find a video displaying the issue

No link to the offending page
No evident when there are multiple such conflicts

Steps to Reproduce

Create a page and add an attachment
Create a link element and place it within the attachment area
Notice the error when visiting the checklist
Repeat the same page and there are also no duplicate checklist items created

Additional Context

Plugin Version: 1.3.0
WordPress Version: 5.6
Operating System: Windows 10
Browser: Chrome

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

FYI @samitron7 @BrittanyIRL
We should be able to highlight offending elements too.

FYI @samitron7 @BrittanyIRL
We should be able to highlight offending elements too.

@embarks can you review the above and estimate this bug for the next sprint?

@embarks can you review the above and estimate this bug for the next sprint?

@BrittanyIRL I believe I resolved this for #5631, I'll pull it in

@csossi could you test #5965 again to see whether it properly addresses this issue as well?
If there is a link conflicting with a page attachments, the checklist should say the page number and allow you to click on the warning to select the offending element.

Verified in QA
Redirects to offending element on canvas (note tha panel remains on Checklist)


Is the Traversal pattern possible with ModelRW*?

A toy example. Given the following model structure:
 case class MsgDB(users: Seq[User])
 case class User(id: String, msgs: Seq[String])

and an action:
case class Post(user: String, msg:String)

I'd like to handle a Post action, but only if that user exists. Thinking in a lensy way, I'd like a:
-- | Traverses into a User's message list, if that user exists.
msgsT :: String -> Traversal' MsgDB [String]

is this possible with Diode's Model* pseudo-Lenses?
Ideally I'd have:
val msgsT: ModelRW[MsgDB, Seq[String]] = ...

val postH = new ActionHandler(msgsT) {
  override def handle = {
    case Post(u,m) => updated(value :+ m)
  }
}

I notice that the u in Post becomes redundant.

If you do not handle the Post action, it will be an error. What you need to do is to check in your handler is the user exists and then return either updated(...) or noChange accordingly.

Right, manually. So the answer to my original question is "no", then?

As the action handler is just a partial function, you are free to implement it in any way you find appropriate. You can build support machinery to enable functionality such as you described.
ActionHandler is such a support class to make is easier to work with ModelRW in typical use cases.

Thank you, this is likely to come in handy.


MLHR-1643: defualt constructor of FSStorageAgent tries to initialize the...

... path from null string

Issue still persists


Can you please share the script that creates the class list and train/val/test split files?

Since I'm working on datasets other than the provided datasets, I need to generate file lists for those datasets. Thus I need to first have their class list files as well as train/val/test split files. Could you please share the scripts of creating these files?

Thanks! Since this is another unrelated issue so I thought it's better to open another thread. Sorry for the inconvenience.


Fixing edge case where key < oldest_mutable_timestamp but next(key) == oldest_mutable_timestamp

Under the condition of key < oldest_mutable_timestamp the function _store_timeserie_split is called from line 316 using split == None.
The problem is that if self.WRITE_FULL and next(key) == oldest_mutable_timestamp then write_full == False resulting in calling split.serialize when split is None.
This produce metricd to crash resulting an increase of the backlog of measurement to process. I needed to stop all my ceilometer collector and add the following pull request to fix the issue.
The archive policy I am using is:
| xxxx  |           0 | - points: 720, granularity: 0:05:00, timespan: 2 days, 12:00:00         | max, min, mean                                 |
|        |             | - points: 720, granularity: 0:30:00, timespan: 15 days, 0:00:00         |                                                |
|        |             | - points: 744, granularity: 2:00:00, timespan: 62 days, 0:00:00         |                                                |
|        |             | - points: 762, granularity: 1 day, 0:00:00, timespan: 762 days, 0:00:00 |                                                |
This might not be the right solution however, I wanted to volunteer it because it cause me some pain when I hit this edge case.

Thank you for contributing to openstack/gnocchi!
openstack/gnocchi uses Gerrit for code review.
If you have never contributed to OpenStack before make sure you have read the
getting started documentation:
http://docs.openstack.org/infra/manual/developers.html#getting-started
Otherwise please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


😁

😁
Originally posted by @Sosyetekadir in https://github.com/octokatherine/readme.so/issues/270#issuecomment-1419878410
Originally posted by @Sosyetekadir in https://github.com/octokatherine/readme.so/issues/271

😁


Emitter listner is not working

i tried your demo and i was able send messages to other client but i was not able to recieve the messages from client what might be the reason is there any issue with code.
Note: I was using emaultor and testing with website

Try to use two different android phones instead.It should work.

I tried with android Phone but still it is not working.

Hey try to use library version 1.7.1

Yes i am using the 1.7.1 library only
see this below if could help me
Socket.Channel channel=socket.getChannelByName("MODPR14");
channel.onMessage(new Emitter.Listener() {
public void call(String channelName , Object object) {
Log.v("Recieved Msg","Got message for channel "+channelName+" data is "+object);
}
});
    socket.on("MODPR14", new Emitter.Listener() {
        @Override
        public void call(String name, Object data) {
            Log.v("Recieved Msg","Got message for channel "+name+" data is "+data);
        }
    });

    socket.onSubscribe("MODPR14",new Emitter.Listener() {
        @Override
        public void call(String name, final Object data) {
                Log.v("Recieved Msg","Got message for channel "+name+" data is "+data);
        }
    });

There is no emitter code in above snippet. When using channels, you have to create one and then subscribe to it. Then only you can use channel.onMessage(). Just read the docs carefully. Give me the link to your repo. if possible.

Also give the current version of socketcluster :)

1.7.1 i am using it and let me send you whole snippet of code by Git

Code

hey Dude did you check the code did do anything wrong in that

Hey I'm currently busy due to lot of work, I will be back after work is finished. Will solve the problem for sure :+1:

Hey in your private void registerForMessages()  method remove first two unnecessary callbacks, just keep
socket.onSubscribe("MODPR14",new Emitter.Listener() {
@Override
public void call(String name, final Object data) {
                Log.v("Recieved Msg","Got message for channel "+name+" data is "+data);

        }
    });

Try to keep  private void registerForMessages() outside runnable

I tried with that all options still not able to fix that can you help with that

Upload your code on github repo., I will try to debug it

sure i will do that send a link to you

https://github.com/venkykowshik/socketcluster

Hey Dude did u get a chance to look at my code....

Please look into that code when you get a chance dude Thanks in Advance

Hey actually I'm a lot busy those days, will it be ok if I ping you after 2-3 days :)

Ok Dude thanks for the info will be waiting for reply

Any update on this


Custom Opportunity Naming multiple cross object format with null reference fails

**lurch: add

Tracking W-017178

Included in beta release 3.87 (Beta 8)


The vehicle moves left & right instead of straight even when the steering wheel is at a fixed position

Hi team,
CARLA version: 0.9.13
Platform/OS: Windows 10 (Version 21H2)
Problem you have experienced: I have installed the DReyeVR without any error but when I try to drive, the vehicle doesn't go forward in a straight line even when I hold steering wheel in a fixed direction. Also, I don't see steering wheel move in the virtual environment.
Steering Wheels & Pedals: I have Logitech 920 which is installed and works fine
Steps to reproduce:
I followed exact same DReyeVR installation command summary:
NOTE: On windows, this can almost all be done in WSL, except the make commands which need
to be done in the "Windows x64 Native Tools Command Prompt for VS 2019"
mkdir CarlaDReyeVR && cd CarlaDReyeVR # doing everything in this "CarlaDReyeVR" directory (Executed this command)
#####################################################
######### install Carla's UnrealEngine fork ######### (I already had Unreal Engine 4.26 installed)
#####################################################
Linux: https://carla.readthedocs.io/en/0.9.13/build_linux/#unreal-engine
Windows: https://carla.readthedocs.io/en/0.9.13/build_windows/#unreal-engine
#####################################################
################### install Carla ################### (Executed this command)
#####################################################
Linux: https://carla.readthedocs.io/en/0.9.13/build_linux/
Windows: https://carla.readthedocs.io/en/0.9.13/build_windows/
git clone https://github.com/carla-simulator/carla -b 0.9.13
cd carla
./Update.sh
make PythonAPI && make launch (This was executed in X64 command prompt)
#####################################################
############## install DReyeVR plugins ############## (Executed this command)
#####################################################
(optional) install SRanipal (https://developer.vive.com/resources/vive-sense/eye-and-facial-tracking-sdk/download/latest/)
mv /PATH/TO/SRANIPALPLUGIN/SDK/03_Unreal/Plugins/SRanipal Unreal/CarlaUE4/Plugins/ # install to carla (left out the SRanipal)
(optional) install LogitechWheelPlugin
git clone https://github.com/HARPLab/LogitechWheelPlugin
mv LogitechWheelPlugin/LogitechWheelPlugin Unreal/CarlaUE4/Plugins/ # install to carla
cd .. # back to main directory
#####################################################
############## install scenario_runner ############## (Executed this command)
#####################################################
(optional) while you don't NEED scenario runner, it is certainly useful from a research pov
git clone https://github.com/carla-simulator/scenario_runner -b v0.9.13
#####################################################
################## install DReyeVR ################## (Executed this command)
#####################################################
git clone https://github.com/HARPLab/DReyeVR
cd DReyeVR
make all CARLA=../carla SR=../scenario_runner
or equivalently
make carla CARLA=../carla
make sr SR=../scenario_runner
make patch-sranipal CARLA=../carla
cd ..
#####################################################
################## build everything ################# (Executed this command)
#####################################################
cd carla
make launch # launch in editor (All the make commands were again executed in X64 command prompt)
make package # create an optimized package
make check # run Carla unit tests
To check if I have installed the latest carla I ran the git command and the below is the screenshot for the same:

To check if I have installed the DReyeVR from main I ran the git command and the below is the screenshot for the same:

The pedals works intermittently when I launch the package or even from the Unreal editor in VR preview mode. Also, attaching the log file for your reference.
CarlaUE4.log
Any help is appreciated. Thank you in advance.

Hi, so judging by the logs it looks like the installation was successful and Carla+DReyeVR was running successfully.
Can you further describe what the problem is with the intermittent pedals? We had an issue with this in an earlier version of the software but have recently updated main with fixes to the logitech+keyboard input conflicts, but I'm not sure if these are similar to the errors you are having.
For example, when you have both the pedals and keyboard connected, do the keyboard inputs (WASD) work while the logitech pedals don't? Or vice versa? Or does the logitech wheel input simply disconnect and reconnect after some time?

For the issue of the vehicle moving left & right instead of straight, it'd be useful if you could provide a screen recording of what is happening for clarity.

Hi, so judging by the logs it looks like the installation was successful and Carla+DReyeVR was running successfully.
Can you further describe what the problem is with the intermittent pedals? We had an issue with this in an earlier version of the software but have recently updated main with fixes to the logitech+keyboard input conflicts, but I'm not sure if these are similar to the errors you are having.
To update to the latest version of DReyeVR main do:
cd DReyeVR/
git pull origin main

# check DReyeVR is the latest version:
git log | head

make install CARLA=../carla/

For example, when you have both the pedals and keyboard connected, do the keyboard inputs (WASD) work while the logitech pedals don't? Or vice versa? Or does the logitech wheel input simply disconnect and reconnect after some time?

@GustavoSilvera Yes, at times when the keyboard works, pedal dont and vice versa. the problem is intermittent.

Okay thanks for the recordings, we'll be looking at them and further diagnosing the problem. In the meantime, would you mind providing the output of
git log | head

in your bash terminal? This will help us see what version of DReyeVR you are on.

Below is the output:

Interesting, ok thanks. So you are on the latest version of DReyeVR (and you did run make install CARLA=../carla on this latest version?) and the wheel setup still isn't working.
When you unplug the Logitech device, does the keyboard work normally?
What I believe may be happening is that (since our development has been on the Logitech G923) your G920 hardware might have different button/axis mappings for the hardware. This is somewhat difficult to diagnose because the documentation on the LogitechPlugin project is scarce, therefore we created a Logitech input logger that I'd like you to run alongside DReyeVR:
in DReyeVR/EgoInputs.cpp please uncomment line 429 which should look like this:
    // LogLogitechPluginStruct(WheelState);

Then, build and run DReyeVR to isolate the correct input mappings. We've found that manipulating a small number of buttons/axes per run (and reading the corresponding logs) got us closer to mapping our hardware, so if you could do that and provide the logs that would be great.

Interesting, ok thanks. So you are on the latest version of DReyeVR (and you did run make install CARLA=../carla on this latest version?) and the wheel setup still isn't working.
When you unplug the Logitech device, does the keyboard work normally?
What I believe may be happening is that (since our development has been on the Logitech G923) your G920 hardware might have different button/axis mappings for the hardware. This is somewhat difficult to diagnose because the documentation on the LogitechPlugin project is scarce, therefore we created a Logitech input logger that I'd like you to run alongside DReyeVR:
in DReyeVR/EgoInputs.cpp please uncomment line 429 which should look like this:
    // LogLogitechPluginStruct(WheelState);

Then, build and run DReyeVR to isolate the correct input mappings. We've found that manipulating a small number of buttons/axes per run (and reading the corresponding logs) got us closer to mapping our hardware, so if you could do that and provide the logs that would be great.

So you are on the latest version of DReyeVR (and you did run make install CARLA=../carla on this latest version?) and the wheel setup still isn't working. - Yes, I did and checked again it still continues with the same behavior as before.
When you unplug the Logitech device, does the keyboard work normally? -  Yes, the keyboard works normally even when the logitech is unplugged.
Okay, I will try the suggested and keep you updated.

Here is the log after uncommenting the line, building it and then launching it again as suggested.
CarlaUE4.log

Hmm... This doesn't have the logitech logs that we expect. There should be things like "Logging joystick at t=xyz" updating on every tick when you move the logitech wheel and pedals. We will be investigating this issue more tomorrow with our own setup.
For now, see if you can get UE_LOG values for the WheelState values to show in the LogitechWheelUpdate such as:
UE_LOG(LogTemp, Log, TEXT("Logitech Wheel rotation: %.3f"), WheelState->lX);

Hi again, upon further examination we found that the logitech debug prints should be working as expected, but for ease of use we added a new flag in the config file (Config/DReyeVRConfig.ini) in the new [Hardware] section for easily enabling/disabling these debug messages at runtime. We also added some other changes that will be merged with main soon.
For now, can you switch DReyeVR to the dev branch and install over Carla this way:
cd DReyeVR/
git checkout dev
git pull origin dev
...
make install CARLA=../carla/

Then in the Carla directory, locate the config file at Unreal/CarlaUE4/Config/DReyeVRConfig.ini and ensure the new flag at the bottom (LogUpdates) is present and set to True.
With this version, you should see new logs such as your logitech device name and button/axis trigger events in the updated logfile.

Hi again, upon further examination we found that the logitech debug prints should be working as expected, but for ease of use we added a new flag in the config file (Config/DReyeVRConfig.ini) in the new [Hardware] section for easily enabling/disabling these debug messages at runtime. We also added some other changes that will be merged with main soon.
For now, can you switch DReyeVR to the dev branch and install over Carla this way:
cd DReyeVR/
git checkout dev
git pull origin dev
...
make install CARLA=../carla/

Then in the Carla directory, locate the config file at Unreal/CarlaUE4/Config/DReyeVRConfig.ini and ensure the new flag at the bottom (LogUpdates) is present and set to True.
With this version, you should see new logs such as your logitech device name and button/axis trigger events in the updated logfile.

Hi @GustavoSilvera! Thank you for your response. I apologize for the delay in getting back to you with the update. I did what you asked by switching the DReyeVR to the dev and below is the reference for the same.
Ubuntu_Commandexecution.txt
After the execution of the above commands I checked the Carla directory and located the config file at Unreal/CarlaUE4/Config/DReyeVRConfig.ini but could not see any updated flag related to LogUpdates. Attached is the config file.
DReyeVRConfigFile.txt

Hi, from the command execution log that you posted, it looks like the git pull failed, so you ended up re-installing the same old version. Please git stash your local changes before pulling and installing the new version

Hi, from the command execution log that you posted, it looks like the git pull failed, so you ended up re-installing the same old version. Please git stash your local changes before pulling and installing the new version

Thank you, now I can see the new flag LogUpdates which was set to false, but I have changed it to true. Do I need to now run the make PythonAPI and make launch again?

Yes, please run make launch again and try to drive in the simulator

I ran the make launch and command failed without launching the editor.
(NOTE: I am currently running this without the Logitech device hence set both SRanipal and Logitech Plugin to false before the make launch) Below is the log and the file location screenshot for your reference.

Command_log.txt

I'm not sure why this linker error is happening. Two checks:

Make sure you're running the x64 terminal in administrator mode
make clean and then make launch again

Hi @Shroculus do you have any updates on the status of this bug?

Hi @GustavoSilvera : Apologies for not getting back to you with an update. Unfortunately even after following the previous steps the vehicle moves in the same way as before.
However, when I checked the log files, I saw that the steering input from Logitech steering wheel fluctuated from -32767 to +32767 and nothing in between which I think might be the reason for crisscross movement of the vehicle. I am not sure if you can be of much help in this matter but do let me know if you know of the reason for the above said behavior of the steering wheel.
Thank you very much.

Interesting. The logitech wheel should smoothly transition from -32767 to +32767 so the fact that yours seems to be binary indicates to me there is something faulty with the hardware. The behaviour you demonstrated is explained by this but I'm not sure how to address the hardware problems.
If the hardware is fully functional (there are other programs on Windows you can use to check this) then my only thought is that the mapping for the steering wheel is not correct for your model. In this case, you should change the input to WheelRotation in AEgoVehicle::LogitechWheelUpdate() to a value that is correctly mapped with the steering wheel.

I have actually installed DReyeVR on 2 systems. System1 with exact same Logitech device and configurations works perfectly fine and the system2 does not. So I know the hardware is not faulty and the input doesn't necessarily require any changes since it worked completely fine with the system1.
I have even checked the setting of both the systems they are the same and yet the problem persists.

Commonalities:

Both the systems are completely new with exact same configurations.
Windows 10 Enterprise - version 21H2
Logitech G Hub installed (equipment detected and works fine in both the systems)
Same versions of CMake, Git, Make, 7Zip and Python (3.8.10)
Visual studio 2019 community version with Windows 10 SDK, x64 Visual c++ toolset and .NET framework 4.6.2
Unreal engine version 4.26
Exact system path variables as shown below

Logitech wheel plugin installed
SteamVR version 1.21.12 installed

Difference:

System 2 has VIVE wireless chip and the software installation but system 2 does not.

Hmm. Yeah everything seems in order so I'm not sure what might be causing this. The VIVE wireless chip certainly shouldn't have anything to do with this kind of issue. Have you tried cleanly removing and reinstalling Carla + DReyeVR on system 2 yet?

I have completely uninstalled and reinstalled Carla + DReyeVR thrice on system 2, yet no luck.

Hi @Shroculus, could you check out the upgrading-DReyeVR section of the documentation to pull from main to get all the latest bugfixes. This issue should be fixed with those changes.

Due to lack of activity, I'll close this here. If it is still an issue feel free to reopen.


Add non-blocking jobs for "hidden" GCI tests

These are test jobs that were switched to GCI but don't have gci in the job name.
I think this should be it for today.
/cc @vishh

This change is

LGTM

@apelisse PTAL


Provides RasterSourceRelation

@mteldridge At the moment, the multiple band index stuff doesn't yet purculate to AAE/AAC because it defaults to assuming a single band per file. I assumed exposing that would be a separate PR once the details were worked out.

Tracked in #RF-32


Remove hardcoded API keys

API keys are considered secret and should be stored in an env variable and not in plain text. Anyone could take and use your keys if they are public here.
Example culprit file: https://github.com/HudZah/wearAmask/blob/master/app/src/release/res/values/google_maps_api.xml
A possible solution:
https://richardroseblog.wordpress.com/2016/05/29/hiding-secret-api-keys-from-git/

Yeah will do so, I was just wondering, since I restricted my app directly from the API console. No one else would be able to access them anyways, is it still a bad idea to keep them hardcoded?

I'm not sure on the app itself, but specifically for version control it shouldn't be posted on Github.


Watson Speech to Text Service Failed to Work on Safari 9.x

Hi Team,
I am working on a iOS web app. I found this node.js based SDK can't work on safari 9.x. After investigation, I've found the following issues:

Safari Const declarations are not supported in strict mode.
Websocket failed with "Invalid UTF-8 sequence in header value"  when request or response contains any empty header, such as "Content-Type".

Per above two issues, I did some modification on the local JavaScript code

change "const" to "var"
as for the blank header in request for token,  I add blank check before post it

if ($('meta[name="ct"]').attr('content').length > 0) {
    tokenRequest.setRequestHeader('csrf-token',$('meta[name="ct"]').attr('content'));
}

But for the blank header in response from Watson server, I can do nothing =(
Is there any way to fix this? Thanks!
Here's some reference for the second issue

https://bugs.webkit.org/show_bug.cgi?id=139298
https://bugs.chromium.org/p/chromium/issues/detail?id=380075

The problem is that the token we use exceeded the url limitation from safari.

Hi @timelyxyz,
Thanks for looking into this. We've also looked into the second one but were unable to find a workable solution. So it's up to Apple to fix that one.
I also believe there are other issues for Safari on iOS, besides that one.
For iOS specifically, we recommend that you use our iOS SDK
For web apps in general, we currently recommend the Speech JS SDK as it significantly reduces the amount of code necessary. It still won't work in Safari but it does work in Chrome and Firefox on Android. (I have plans to update this app to use the SDK, but just haven't had the time yet.)

Hi @germanattanasio and @nfriedly , thanks for your tip. But I'm not familiar with iOS skills, I'll try integrate java SDK with Web Audio API.


Allowed Circle CI to run tests

Summary
Reopening https://github.com/facebook/jest/pull/2553, all credit goes to @kentaromiura, I will just finish the plumbing work.
Test plan
Circle CI should run the same tests as Travis

Seems like the website stuff is a bit unhappy indeed.

so, how are we feeling about this one?

I want to see how parallelism is working.
Waiting for the OSS team to enable it on Circle.
Hopefully it is ready to merge today.
BTW tests on master are failing, someone broke the trunk

that's ok, I'll deal with that during the day today.

Codecov Report

Merging #2888 into master will decrease coverage by -0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2888      +/-   ##
==========================================
- Coverage   67.94%   67.92%   -0.02%
==========================================
  Files         146      146
  Lines        5303     5303
==========================================
- Hits         3603     3602       -1
- Misses       1700     1701       +1

Impacted Files
Coverage Δ

packages/pretty-format/src/index.js
97.97% <ø> (-0.51%)
:x:

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 7da3df3...c123a38. Read the comment docs.

done
On 17 February 2017 at 16:32, Christoph Pojer<EMAIL_ADDRESS>wrote:

@cpojer commented on this pull request.
In .travis.yml
https://github.com/facebook/jest/pull/2888#discussion_r101793657:

@@ -13,8 +11,7 @@ cache:
- ".eslintcache"
- "node_modules"

-script:
+script:

yarn run test-ci
(cd danger && yarn install)
yarn run danger

I guess we don't need to run danger any longer and it's enough to do run
test-ci-partial on travis.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/jest/pull/2888#pullrequestreview-22535519,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACBdWLInKGuQ1wRFR8xtKEnTYq2LDrlsks5rdcuBgaJpZM4MBmaa
.

who is eslint-bot?

That is a temporary token I took from React Native until I get a new one for JEst

Cool, so assuming this passes, we are good to go?

I'll need the new token first ideally

@cpojer, ready to merge

awesome, thank you so much @bestander


S133 additional edits for #506

Extends #506, incorporating @prabau's comments.

Thanks @gregorynisbet-google !

Thank you.  I did have additional comments on what got merged though.
In particular, I think we should add as an alias the description of the space starting with the euclidean plane, like "Euclidean plane with post office metric" maybe?  That seems worth it as it gives an alternate description of the space that is not a priori obsviously homeomorphic.
If you guys are ok with it, I could give it a shot and you can review.

Sure, a separate PR sounds good to me


feat: pretty print structs

[x] issue #147
[x] follows contribution guide
[ ] code change includes tests

@m-kus @maciejka  wdyt ?


docs: correct version in examples

There is no version 2.8.0 only 2.8

Thanks for doing a pull request that fixes https://github.com/coveo/fmt-maven-plugin/issues/47
I appreciate it.
I can't merge but @malaporte can ;)

I didn't even see the issue. I just noticed the readme is wrong and sent you a PR so I don't have to deal with it next time I copy-paste :)

Thanks !


Ask for trained model

Hi, do you have any model trained with VOC or COCO dataset? Could you please share to me?  Thank you so much in advance. Have a great day.

Vgg16 voc
https://drive.google.com/file/d/1IgxPP0aI5pxyPHVSM2ZJjN1p9dtE4_64/view?usp=sharing


get_next_sub_number and get_next_ses_number are confusing.

These return also the latest sub / ses number. Is there any reason? Its very unxpected behaviour.

Also, in this case:
if len(all_folders) == 0:
    utils.raise_error("No folders found. Cannot suggest the next number.")

the result should be 1 not an error.

Also they should ensure the num digits is consistent across the project.

from datashuttle import DataShuttle

project = DataShuttle("test")

try:
	next_number = project.get_next_sub_number()[0]
	pad_number = str(project.get_next_sub_number()[0]).zfill(3)
	sub_name = f"sub-{pad_number}"
except:
	sub_name = "sub-001"

try:
	next_ses_id = project.get_next_ses_number(sub_name)[0]
	next_ses_id = str(next_ses_id).zfill((3))
except:
	next_ses_id = "001"

project.make_folders(
	sub_name,
	f"ses-{next_ses_id}_@DATE@",
	"ephys"
)

The above should become
sub_name= project.get_next_sub_number(with_prefix=True)
ses_name = project.get_next_ses_numer(sub_name, with_prefix=True)
project.make_folders(
  sub_name,
  f"{ses_name}_@DATE@",
  "ephys"


feat(explorer): external wallet connect

Closing in favor of https://github.com/latticexyz/mud/pull/3181


bug: signInWithTwitter and skipNativeAuth=true does not return credentials (accesstoken and secret)

Plugin(s):
JS:
"firebase": "9.8.2"
"@capacitor-firebase/authentication": "0.3.2"
iOS:
<EMAIL_ADDRESS>
Platform(s):
iOS + web
Current behavior:

The result from await FirebaseAuthentication.signInWithTwitter() is missing the expected accessToken and secret when skipNativeAuth=true is set.
Expected behavior:
await FirebaseAuthentication.signInWithTwitter() should return credentials to be used to sign in on web layer with Firebase JS SDK.
Steps to reproduce:
Use example project found here https://github.com/robingenz/capacitor-firebase-authentication-demo and steps here https://github.com/robingenz/capacitor-firebase/blob/main/packages/authentication/docs/firebase-js-sdk.md and here https://github.com/robingenz/capacitor-firebase/issues/99.
Related code:
I did this: https://github.com/robingenz/capacitor-firebase/issues/99#issuecomment-1156250009 and also made sure that skipNativeAuth=true was set and propagated to native layer (by default the example app did not correctly set the ios config, had to change manually).

Notice:
I also had to add skipNativeAuth=true to ios/App/App/capacitor.config.json since it not got copied there when building.
Capacitor doctor:

💊   Capacitor Doctor  💊

Latest Dependencies:

  @capacitor/cli: 3.5.1
  @capacitor/core: 3.5.1
  @capacitor/android: 3.5.1
  @capacitor/ios: 3.5.1

Installed Dependencies:

  @capacitor/cli: 3.5.1
  @capacitor/android: 3.5.1
  @capacitor/ios: 3.5.1
  @capacitor/core: 3.5.1

[success] iOS looking great! 👌
[error] app/src/main/assets/public directory is missing in android

Hi @emilkaiser,
thank you for this detailed issue!
I will have a look at it as soon as possible.

@emilkaiser Quick question first: Does it work on Android or have you not tested it there?

Sorry, I have not tested Android. I think my (Android-)colleague did have the same issue, but not sure.

I'm trying to do the same with Microsoft as AuthProvider, but it seems to be the same problem. (only tried on iOS)
(Microsoft and Twitter are both not in the examples: is it the right way to implement it?)

+1. Having same (auth/argument-error) error with Twitter sign in.

So i could reproduce the issue on iOS but not on Android.
The Firebase Android SDK requests the access token before signing in using the generated OAuthCredential.
https://github.com/capawesome-team/capacitor-firebase/blob/4a0e4df7275dfa080d09ac4b3fa9e43448158f9f/packages/authentication/android/src/main/java/dev/robingenz/capacitorjs/plugins/firebase/authentication/FirebaseAuthentication.java#L341
The Firebase iOS SDK seems to request the access token after signing using the generated OAuthCredential.
https://github.com/capawesome-team/capacitor-firebase/blob/4a0e4df7275dfa080d09ac4b3fa9e43448158f9f/packages/authentication/ios/Plugin/FirebaseAuthentication.swift#L235
This is related to https://github.com/firebase/firebase-ios-sdk/issues/9878.
According to the Firebase documentation (see Step 5), this is intended for iOS and therefore not a bug. So it seems that this is not possible under iOS.
I see only two options here:

Make a feature request in the Firebase iOS SDK repo and ask to extend the SDK accordingly.
Extend the skipNativeAuth option and allow that it could be configured per provider. This would be a separate feature request.

For this reason, I am closing this issue.


Fixing nav-pills code example

Fixing nav-pills code example

I merged it in, but realized this is only on the compiled HTML file. Next time, make the change to the mustache file, run make, and then commit.
Thanks!

Sigh - I know this! I was probably to much in a hurry to help out :) sorry for taking your time.
I just have one additional question - do you want us that makes pull request to run make because I can easily see how that gives you merge conflicts with bootstrap.zip all the time?
(I think you should encourage people to make more pull requests, its the new issue tracker, I mean this repo is followed by 20k+ people, you guys are 2 maintaining it - just putting an issue, with or without example just takes your time if it hasnt code attached that solves the problem, even worse if its a new feature :)


runtime: MADVISE syscall seems not to be called when using signal.Notify according to strace

What version of Go are you using (go version)?

$ go version
go version go1.15.2 linux/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/workspaces/go-freeosmemory/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build028233962=/tmp/go-build -gno-record-gcc-switches"

What did you do?
I built three different go programs:
"direct" https://play.golang.org/p/JN6OdiiGLzn
Define a function to makeGarbage in an infinate loop, call direct from main.
"background" https://play.golang.org/p/8RuVoEdudbW
Define a channel of os.Signal, call makeGarbage in a goroutine and wait forever on empty channel in main.
"notify" https://play.golang.org/p/CXPOnvefgvQ
Define a channel of os.Signal, call signal.Notify to catch SIGINT, call makeGarbage in a goroutine and wait on chan recv for SIGINT to occur.
I then ran all three binaries using strace -q -e trace=memory ./${BINARY_NAME}

What did you expect to see?
All three programs showing relevant mmap and madvise syscalls corresponding to the allocation and freeing of OS memory.
What did you see instead?
"direct" and "background" behave as expected with the following typical output (ignoring SIGURG lines):
grep -v SIGURG direct.strace.log Output
$ grep -v SIGURG direct.strace.log
mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa622d12000
mmap(NULL, 131072, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa622cf2000
mmap(NULL, 1048576, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa622bf2000
mmap(NULL, 8388608, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa6223f2000
mmap(NULL, 67108864, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa61e3f2000
mmap(NULL, 536870912, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa5fe3f2000
mmap(0xc000000000, 67108864, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc000000000
mmap(0xc000000000, 67108864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xc000000000
mmap(NULL, 33554432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa5fc3f2000
mmap(NULL, 2165768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa5fc1e1000
mmap(0x7fa622cf2000, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa622cf2000
mmap(0x7fa622c72000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa622c72000
mmap(0x7fa6227f8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa6227f8000
mmap(0x7fa620422000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa620422000
mmap(0x7fa60e572000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa60e572000
mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa5fc0e1000
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa5fc0d1000
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa5fc0c1000
mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa5fc041000
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa5fc031000
madvise(0xc000400000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc0005b4000, 8192, MADV_FREE)  = 0
madvise(0xc000400000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc0005b2000, 8192, MADV_FREE)  = 0
madvise(0xc000800000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc0009b4000, 8192, MADV_FREE)  = 0
madvise(0xc007800000, 2097152, MADV_HUGEPAGE) = 0
madvise(0xc007600000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc00778a000, 8192, MADV_FREE)  = 0
madvise(0xc007600000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007788000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007b16000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007b14000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007b12000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007b10000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007b0c000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007b0a000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007b08000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007b06000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007b04000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007afe000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007afc000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007af8000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007af6000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007af4000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007aa6000, 8192, MADV_FREE)  = 0
madvise(0xc007a00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc007aa4000, 8192, MADV_FREE)  = 0
madvise(0xc003000000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc00304c000, 8192, MADV_FREE)  = 0
madvise(0xc00aa00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc00ab48000, 8192, MADV_FREE)  = 0
madvise(0xc00aa00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc00ab46000, 8192, MADV_FREE)  = 0
madvise(0xc00d000000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc00d00e000, 8192, MADV_FREE)  = 0
madvise(0xc00aa00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc00aae8000, 8192, MADV_FREE)  = 0
madvise(0xc00aa00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc00aae6000, 8192, MADV_FREE)  = 0
madvise(0xc00aa00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc00aae4000, 8192, MADV_FREE)  = 0
madvise(0xc00aa00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc00aae2000, 8192, MADV_FREE)  = 0
madvise(0xc00aa00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc00aae0000, 8192, MADV_FREE)  = 0
madvise(0xc00aa00000, 2097152, MADV_NOHUGEPAGE) = 0
madvise(0xc00aade000, 8192, MADV_FREE)  = 0
madvise(0xc00aa00000, 2097152, MADV_NOHUGEPAGE) = 0
+++ killed by SIGINT +++

whereas "notify" shows the mmap calls but does not show any madvise calls. See the following typical output (ignoring SIGURG lines):
grep -v SIGURG notify.strace.log Output
$ grep -v SIGURG notify.strace.log
mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcb71cf3000
mmap(NULL, 131072, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcb71cd3000
mmap(NULL, 1048576, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcb71bd3000
mmap(NULL, 8388608, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcb713d3000
mmap(NULL, 67108864, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcb6d3d3000
mmap(NULL, 536870912, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcb4d3d3000
mmap(0xc000000000, 67108864, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc000000000
mmap(0xc000000000, 67108864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xc000000000
mmap(NULL, 33554432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcb4b3d3000
mmap(NULL, 2165768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcb4b1c2000
mmap(0x7fcb71cd3000, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcb71cd3000
mmap(0x7fcb71c53000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcb71c53000
mmap(0x7fcb717d9000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcb717d9000
mmap(0x7fcb6f403000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcb6f403000
mmap(0x7fcb5d553000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcb5d553000
mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcb4b0c2000
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcb4b0b2000
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcb4b0a2000
--- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---
+++ exited with 0 +++

Does this mean that the memory is not actually being released back to the OS, or is it just that there is some interaction with signal.Notify and strace visibility of the madvise syscalls?

Thank you @leighhopcroft for filing this issue, and welcome to the Go project!
I shall kindly rope in some experts @mknyszek @aclements.

Yes, you must always use strace -f, never plain strace, when tracing Go programs.
Optimistically closing.  Please comment if there is still a problem here.


New env var EXIT_STATUS to signal content failure

This implements a new environment variable EXIT_STATUS, which will
signal a failure if the content of one of the feeds is malformed, but
still viable. This is implemented to prevent missing information in the
community lessons feed from causing errors building our entire feeds
structure.
If there are errors in community lessons, we will modify the
EXIT_STATUS environment variable to be 1 so that healthchecks pings
an error, even though the build itself will succeed. This means that we
are alerted when things need to be fixed, but we have some grace as to
how they can be fixed.
This will fix #61

This is the perfect test case for the new build failure that's happening.


Remove vec! allocations

For better integration with Rust, the C code was modified to allocate some vectors (search for the vec! macro in lib.rs). There's probably a better way to do this, avoiding the allocations.

Fixed in 033fb1f93991d67e68123284a8fb3a800b7773c1
Allocations were removed using some slice trickery. Given that we know the max size, we can allocate a slice array on the stack instead of using a vector.
https://github.com/jabuwu/rusty_enet/blob/033fb1f93991d67e68123284a8fb3a800b7773c1/src/c/protocol.rs#L2213-L2224
The send and peer allocations still exist. The peer one exists in ENet, so that's fine. It was changed to at least reserve the peer count ahead of time before pushing the peers.
The send allocation is worth keeping since most socket implementations will likely want to do this, anyway. It was changed to reserve the buffer count in 6fe949c0e5e6e561ec83092a46644ce510119c8b. It could avoid this allocation if compression is disabled, but one allocation during send seems pretty harmless.


IPsec multiple Phase 2 failed

I has setup Ipsec VPN with one customer, he have 8 Subnets on customer side for each subnet i have create a separate Phase 2 entrie. We use our public IP for communication with the endpoint, so our internal lan was outbound natted to the range of our public ip. My Problem is that traffic goes only to the subnet wich is defined as last in Phase 2. Each other routes are setup but no traffic goes throught the tunnel in each subnet.
When i only use one of the 8 subnets defined in Phase 2 the Traffic goes through the tunnel, so my outbound nat is not the problem.

ipsec statusall con3
Status of IKE charon daemon (strongSwan 5.7.1, FreeBSD 11.2-RELEASE-p8-HBSD, amd64):
 uptime: 7 minutes, since Feb 04 14:42:27 2019
 worker threads: 11 of 16 idle, 5/0/0/0 working, job queue: 0/0/0/0, scheduled: 22
 loaded plugins: charon aes des blowfish rc2 sha2 sha1 md4 md5 random nonce x509 revocation constraints pubkey pkcs1 pkcs7 pkcs8 pkcs12 pgp dnskey sshkey pem openssl fips-prf curve25519 xcbc cmac hmac gcm attr kernel-pfkey kernel-pfroute
resolve socket-default stroke vici updown eap-identity eap-md5 eap-mschapv2 eap-radius eap-tls eap-ttls eap-peap xauth-generic whitelist addrblock counters
Listening IP addresses:
 212.x.x.x
 212.x.x.x
 192.x.x.x
 10.x.x.1
 172.x.x.x
 212.x.x.178
 212.x.x.179
 212.x.x.180
 212.x.x.181
 212.x.x.182
 192.x.x.x
Connections:
       con3:  212.x.x.178...136.x.x.x  IKEv2, dpddelay=10s
       con3:   local:  [212.x.x.178] uses pre-shared key authentication
       con3:   remote: [136.x.x.x] uses pre-shared key authentication
       con3:   child:  212.x.x.176/29 === x.x.x.x/8 TUNNEL, dpdaction=clear
   con3-001:   child:  212.x.x.176/29 === 136.x.x.0/19 TUNNEL, dpdaction=clear
   con3-002:   child:  212.x.x.176/29 === 136.x.x.x/15 TUNNEL, dpdaction=clear
   con3-003:   child:  212.x.x.176/29 === 136.x.x.x/16 TUNNEL, dpdaction=clear
   con3-004:   child:  212.x.x.176/29 === 136.x.x.x/20 TUNNEL, dpdaction=clear
   con3-005:   child:  212.x.x.176/29 === 136.x.x.x/19 TUNNEL, dpdaction=clear
   con3-006:   child:  212.x.x.176/29 === 136.x.x.x/21 TUNNEL, dpdaction=clear
   con3-007:   child:  212.x.x.176/29 === 136.x.x.x/21 TUNNEL, dpdaction=clear
Security Associations (4 up, 0 connecting):
       con3[8]: ESTABLISHED 5 seconds ago, 212.x.x.178[212.x.x.178]...136.x.x.x[136.x.x.x]
       con3[8]: IKEv2 SPIs: 3eaf068fb2f8c707_i* 8a3908635c83cb96_r, pre-shared key reauthentication in 23 hours
       con3[8]: IKE proposal: AES_CBC_256/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/MODP_2048
       con3{17}:  INSTALLED, TUNNEL, reqid 13, ESP SPIs: cd1a77c3_i 80739a69_o
       con3{17}:  AES_CBC_256/HMAC_SHA2_512_256, 0 bytes_i, 0 bytes_o, rekeying in 44 minutes
       con3{17}:   212.x.x.176/29 === x.x.x.x/8
If you need more information let me know.

When you do outbound NAT you should also add spd I'd guess ..
Can you verify local initiated connection from Firewall itself to all networks? This should work.

￼What do you mean exactly?

@mimugmail i have more information from our customer:
Model: Cisco ASR1002
IOS Version: 16.3
Phase 1 settings:
sh crypto ikev2 sa remote 212.x.x.178
Tunnel-id Local                 Remote                fvrf/ivrf            Status
31        136.x.x.9/4500       212.x.x.178/4500   none/none            READY
      Encr: AES-CBC, keysize: 256, PRF: SHA256, Hash: SHA256, DH Grp:14, Auth sign: PSK, Auth verify: PSK
      Life/Active Time: 86400/40 sec

Phase 2 settings:
crypto map MYMAP 17058 ipsec-isakmp
description HAJMA COMSTAR AUTOMOTIVE TECHNOLOGIES PVT LTD
set peer 212.x.x.178
set transform-set TRAN30-ESP-AES256-ESP-SHA512-HMAC
set pfs group24
set ikev2-profile PROFILE10
match address ACL_HAJMA
reverse-route static

Routes for IPsec that ends on our Subnet 212.x.x.176/29:
19.x.x.x/8
136..x.x.x/15
136.x.x.x/16
136.x.x.x/20
136.x.x.x/19
136.x.x.x/19
136.x.x.x/21
136.x.x.x/21

Why don't you just ask the other side for enabled tcp services on 2-3 different networks,, like rdp or smtp?

There are services running on different subnets (SSH, HTTP/s, ...).

And what happens when you do a telnet to these ports via the Firewall directly asked here: https://github.com/opnsense/core/issues/3192#issuecomment-460685360

Permission denied for telnet/ping command.
telnet 136.x.x.x 443
Trying 136.x.x.x ...
telnet: connect to address 136.x.x.x: Permission denied
telnet: Unable to connect to remote host

ok, open a second terminal and do "tcpdump -n -i enc0" .. then on first terminal the telnet again and post the output of tcpdump

I have test to 2 different Subnets with Ping and telnet:

As it travels through the tunnel it looks fine to me.
You have to mark the network in SPD (phase2 at the end)
https://wiki.opnsense.org/manual/how-tos/ipsec-s2s-binat.html

My internal LAN is marked in SPD Phase 2.
BINAT rules have i not, i have outbound nat configured.
When i would save a new BINAT rule it is not possible.

Hi @mimugmail is there are already news or
do you need more information?

The screenshot is incomplete

@mimugmail here a complete Screenshot.

Can you try with all same subnet masks, I'm not sure if this works.

When i set my external subnet (/29) from  to the same range like my internal (/16) i can save. Destination IP can be unchanged.

After some research we are also affected by #2173.
As Workaround we use a Script that deletes all old SPDs and set new SPDs with the changed unique IDs.
Will there be a solution to the problem in the foreseeable future?

only for verified cases (not using dynamic addresses), such as  https://github.com/opnsense/core/commit/8f45e0d8623a6da395e12be5b51b3ab74e490f77
We keep https://github.com/opnsense/core/issues/1773 for tracking, although some scenarios will likely remain unsupported as long as nobody comes up with viable pull requests.

since this is related to https://github.com/opnsense/core/issues/1773, we should close this issue as duplicate.


filters by tag

I will need a little more explanation on this. What does this do?

I will need a little more explanation on this. What does this do?

Current version downloads all the posts regardless of what's visible on the page.
This change allows to download only media with the same tag as selected in the browser.

Ah, okay. Could you add this information to the message shown in the console window as well?

Could you add this information to the message shown in the console window as well?

Done

Thanks :)


Possible to have robots models/descriptions for new GoFa 10kgs and GoFa 12kgs?

CAD models available on the official website: https://new.abb.com/products/robotics/robots/collaborative-robots/crb-15000
Thank you!

Hello,
Is there something we can help to add the GoFa 10kg and 12kg? There is a URDF exporter wiki

There is the Denavit Hartenberg parameters if needed:

GoFa 10

Kinematics
𝜽 [rad]
𝒅 [m]
𝜶 [rad]
𝒂 [m]

Joint 1
0
0,4
−π/2
0,15

Joint 2
−π/2
0
0
0,707

Joint 3
0
0
−π/2
0.11

Joint 4
0
0,637
π/2
0

Joint 5
0
0
−π/2
0.08

Joint 6
π
0.101
0
0

GoFa 12

Kinematics
𝜽 [rad]
𝒅 [m]
𝜶 [rad]
𝒂 [m]

Joint 1
0
0,338
−π/2
0

Joint 2
−π/2
0
0
0,707

Joint 3
0
0
−π/2
0.11

Joint 4
0
0,534
π/2
0

Joint 5
0
0
−π/2
0.08

Joint 6
π
0.101
0
0


$state.href() does not include path

My Angular app resides at a path on my server, /app, not the root / path. Calling $state.href does not seem to include the path name in its return value.
Example:
$state.href("doggy", { style: "raw" }, { absolute: true });

Results in:
http://localhost:8080/#/doggy?style=raw

Whereas really it should be:
http://localhost:8080/app/#/doggy?style=raw

Am I missing something obvious here or is this a bug?

Did you find out what caused this? I'm seeing this too, and I'm not using the base tag. On the other hand, I'm also relying on  ui-router-extras which may change ui-router functionality.

You should really always use a <base /> tag. I even use one if I'm hosting apps at /. Pretty sure it says that in the FAQ.

Any feedback on this?

Base tag of my app is this: http://mylocal.com/project/build/
But ui-sref generates every link without path. like this: mylocal.com/item

Someone would need to make a repo that I could clone to test this.

any updates on this?

Closing due to inactivity

Try changing absolute: true to absolute: false. This worked for me.

I've worked around with this:
var aboluteUrl = document.location.origin + document.location.pathname + $state.href('mystate') ;


chore: Allow listeners to remove log messages altogether

Description

This implements a check for an empty string as msg argument at robots/api/loggers.py. If the string is empty, it returns the function, thus no log is added.

Test

The test case for the same is also written in utest/api/test_logging_api.py. The test case passes an empty string as a message and asserts if any message is logged.

Thanks for the PR, but unfortunately this implementation doesn't work properly. It works when a library uses robot.api.logger with an empty message, but if a library uses the logging module or if a listener clears an existing message. The possibility for listeners to be able to remove messages altogether is the main point of #5089 so the PR cannot be merged in its current form.
We want to get RF 7.1 out ASAP and it's thus probably easiest if I implement this functionality. I'm sorry that due to my parental leave and holidays I didn't get this PR reviewed earlier to give you time to fix it. I hope you are still interested to contribute and find something else interesting to work on.

In the end it there turned out to be too big problems with the change and I closed #5089 altogether.


MITIT added

Military institute of telecomunication and information technologies named after Heroes of Kruty added

@SachukS Thank you for your patience while waiting for a review and processing your request. Pull request merged.
Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


Use named parameters to reducue copying

Current dependencies on/for this PR:

include-decorators-in-class-and-func-range

PR #1   👈

This comment was auto-generated by Graphite.


unexpected token: DELIMITER_START

a.b/2

gives when compiling:
Syntax error in ./test.cr:1: unexpected token: DELIMITER_START

a.b/2
   ^

It works fine (besides the obvious a doesn't exist, a is not really a struct, etc) when there is an space between the field, the number and the /.
If this should throw an error, can we get a better one? (I don't understand why I need those spaces). If it's a bug, then yay for me! :smile:

Awesome, thanks! :smile:


是否有计划开发pull request功能

没在gogs里找到pull request，请问是否有计划开发，或者如何结合其他的代码审查功能？

see https://github.com/go-gitea/gitea/issues/2

Duplicate issue, please see #5.

Duplicated to #5 as @linquize pointed out.


SDL2 - window border still visible after removing window decorations

import os
os.environ['KIVY_WINDOW'] = 'sdl2'

from kivy.config import Config
Config.set('graphics', 'width', 300)
Config.set('graphics', 'height', 300)
Config.set('graphics', 'borderless', 'True')

from kivy.app import App
from kivy.uix.button import Button

class MyApp(App):

    def build(self):
        return Button(text='Test')

if __name__ == '__main__':
    MyApp().run()

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5491942-sdl2-window-border-still-visible-after-removing-window-decorations?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github).

I think this doesn't apply to OS X 10.10.3 any more. Tested on Kivy 1.9.0.

Any progress on this issue for Windows Platforms? I'm getting the same behavior as @dessant on Windows 7 64-bit using Kivy 1.9.1

@welnaseth, it seems to be an upstream issue, you could check if it has been reported for sdl2, or open an issue there.
Please link any info you get from the sdl2 devs.

Yay, if you want to also hide the resizing handle, you have to disable resizing. This should be documented.
This should give you no borders at all:
from kivy.config import Config
Config.set('graphics', 'width', 300)
Config.set('graphics', 'height', 300)
Config.set('graphics', 'resizable', 'False')
Config.set('graphics', 'borderless', 'True')

from kivy.app import App
from kivy.uix.button import Button

class MyApp(App):

    def build(self):
        return Button(text='Test')

if __name__ == '__main__':
    MyApp().run()

solution by kived

Oh, nice. Put me in the fine print. :P

:grin:


Add fetcher-default as a plugin

Currently the fetcher default is in package edu.usc.irds.sparkler.util, this issue is to move this as a plugin.

Started working on this will be creating a pull request soon.

Thanks.
we kept the default implementation in the sparkler-app itself for a few simplifications.
FYI,  there are three fetcher plugins already if you want to test plugin loading (without having to develop a new one)https://github.com/USCDataScience/sparkler/tree/master/sparkler-plugins
That being said, all improvements are welcomed. just trying to make it easy for you.

Hi I saw this is as one of the the TODO's in the code so thought it would be a good start.
But i could work on other things if this plugin is not in priority.

You were facing an issue regarding deployment of plugins on sparkler cluster, right?
I suggest resolving that as a start.


Need a flag to explicitly add a root certificate for the access to a remote cluster behind a corp proxy

Problem encountered
I have run kube-explorer with the following command:
kube-explorer --kubeconfig=C:\Users\john\Documents\k3s.yaml --http-listen-port=9898

However, the output is full of the : x509: certificate signed by unknown authority error.
Suggestion
Since the access to the remote cluster is over https, the certificate provided by the proxy server must be added as the root certificate before the curl command can work properly.
So add a flag for users behind corp proxies to specify the certificates of their proxy servers.

refer to #18


Saving data issue

Version: Quests 3.0.0-Naomi
Whats wrong:
[Quests] Could not save data.yml to plugins/Quests/data.yml because data.yml already exists.
[Quests] Could not save events.yml to plugins/Quests/events.yml because events.yml already exists.
[Quests] Could not save quests.yml to plugins/Quests/quests.yml because quests.yml already exists.
I don't have any quests made yet. Running Minecraft version: Spigot 1.12.1

This is not an error; simply a notice that those files weren't created because they already exist. They can be ignored.


Error 0xc0000142 after using this dnperf

any solution? I use netapi.dll/dnperf without another mod/dll file

Hi, @yuenming666, I'll try to update it this day or tomorrow

i'm using windows 11 23h2, OS Build 22631,4541
what server? you mean country or something else?

@yuenming666 game server, example: Dragon Nest "Sea"

@yuenming666 can you try this
netapi32.zip

ill try once I reach home, thanks!

@dnblank123 hello sir!, I try it just now, the error 0xc0000142 still there, I'm using Intel CPU
I already install all directx version, visual c++ , netframework but the error still there

@yuenming666
netapi32.zip

@dnblank123 same issue still happened, do u think there is somethign wrong with my PC? or bcz I'm using Intel CPU?

tbh idk, unless I attach a debugger. I already attached a debugger on mine, and theres no breaks (crashes).

Yeah, but I might exclude some features so non-AVX CPU can still use the dll

ohh, sad
okayyy thank you so much

@yuenming666 can you try netapi32.zip

@dnblank123 the error is disappear, but the new issue is come when I put the netapi32.dll and I start the launcher, the XIGNCODE not appear, when I try to take off the netapi32.dll the XIGNCODE work normal like usual

Still with same device, but I downgrade to W10 from W11

@yuenming666 netapi32.zip

@yuenming666 netapi32.zip

@dnblank123 Same issue sir, I even try restart my computer  and the xigncode still not appear

@yuenming666 netapi32.zip
if this still not works, I'll be closing the issue, since you lack a lot of CPU features tbh.

@dnblank123 I finally can run the game with the last build netapi32.dll thank you so much for all your help and effort I really appreciate it, and also may I know what feature that I can get from this netapi knowing I lack a lot of feature due old CPU

you'll still have these stuff, but the performance might be negligible on some C (SIMD) functions:
https://github.com/dnblank123/dnperf-public?tab=readme-ov-file#list-of-changes
https://github.com/dnblank123/dnperf-public?tab=readme-ov-file#upcoming-releases
and the CPU features what I meant are AVX, AVX2 etc.

alright got it, thank you so muchhh! <3