Breaks Compilation in Nativescript 3.3.0 when combined with Nativescript-google-maps-sdk

Hi All
Thanks for the plugin, I've been using it for a while now.
I've noticed that when I create a fresh Android project with nativescript-google-maps-sdk and nativescript-geolocation it produces the following error:
Gradle build...
         + applying user-defined configuration from C:\Users\New\Desktop\geolocation\app\App_Resources\Android\app.gradle
         + add include.gradle from C:\Users\New\Desktop\geolocation\node_modules\nativescript-geolocation\platforms\android\include.gradle
         + add include.gradle from C:\Users\New\Desktop\geolocation\node_modules\nativescript-google-maps-sdk\platforms\android\include.gradle
         + creating include.gradle for plugin C:\Users\New\Desktop\geolocation\node_modules\tns-core-modules-widgets
         + applying plugin configuration from C:\Users\New\Desktop\geolocation\platforms\android\build\configurations\nativescript-geolocation\include.gradle
         + applying plugin configuration from C:\Users\New\Desktop\geolocation\platforms\android\build\configurations\nativescript-google-maps-sdk\include.gradle
         + applying plugin configuration from C:\Users\New\Desktop\geolocation\platforms\android\build\configurations\tns-core-modules-widgets\include.gradle
         + adding nativescript runtime package dependency: nativescript-optimized
         + adding aar plugin dependency: C:\Users\New\Desktop\geolocation\node_modules\tns-core-modules-widgets\platforms\android\widgets-release.aar
Running full build
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':transformClassesWithDexForF0F1F2Debug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzbzv;

Interestingly, both plugins work by themselves in projects but when added to a new project it breaks. Any ideas?
Thanks for your help

https://github.com/dapriett/nativescript-google-maps-sdk/issues/232

Managed to resolve this here:
https://github.com/NativeScript/android-runtime/issues/878


Change molecule tests to use gcp delegated driver instead of docker.

Use GCP as a delegated driver for our molecule tests so they can be run on Kokoro.
Add test that checks that the agent is running after the playbook run. Add directory that includes custom configs (default config + comment) which we verify was moved onto the VM successfully.
Delete github actions CI workflow.
go/sdi-ansible#molecule is a high level overview of what molecule is doing. Not mentioned there is the create.yml file which creates the delegated driver VMs and destroy.yml which deletes them.
This is step 1 as outlined in go/ansible-ops-agent-tests-migration.
b/183216024

I've removed the uninstall test scenarios and instead added that test to the verify.yml playbook which should simplify things considerably.

Ok the tests are succeeding modulo two minor issues 1. we're limited to 21 static addresses per region so we need to hard code different regions for each agent test to run in until we get a quota increase 2. the ansible-lint check is failing with due to some sort of version incompatibility issue so I've excluded it for the time being

we're limited to 21 static addresses per region so we need to hard code different regions for each agent test to run in until we get a quota increase

This was resolved by removing the create_address step and just defaulting to using ephemeral addresses. Still debugging #2.

the ansible-lint check is failing with due to some sort of version incompatibility issue so I've excluded it for the time being

Downloading the latest version of ansible-lint onto the GCP_UBUNTU VM is non-trivial. So I will leave this as a todo and add it back in once an updated version of ansible-lint is available through pip.

@martijnvans @qingling128 This is ready for another pass when you get the chance. All tests are green.

Looks good! Nice work!


Tooltip fallback placement not centered

The position of the tooltip is wrong and is only aligned when scrolling.
Tested on:

OS:

Windows 10
Windows 11
Android 9 (EMUI 9.1.0)

Browser:

Microsoft Edge (version 91.0.864.54+ and latest version for Android 9)
Google Chrome (Latest version for Android 9)

That's how I fixed the problem for myself:
element.addEventListener('show.bs.tooltip', () => setTimeout(() => tooltip.update(), 5));
Before scrolling:

After scrolling:

Thanks for the workaround. It does the trick for now.


feat(starr): Add DiRFiX in repack/proper CF

Pull Request
Purpose
French trackers use DIRFIX a lot and mean :

Term used when a typo or inaccuracy is detected in the original version name

I don't know if it belongs in this CF because technically the release (the source file) hasn't changed, just a fix has been made to the realease name
Requirements

[X] These changes meet the standards for contributing.
[X] I have read the code of conduct.

This will cause download loops as DIRFIX is not a recognized term for proper in Starr

This will cause download loops as DIRFIX is not a recognized term for proper in Starr

Right, it needs to be in a separate CF with rename enabled. Alternatively, we can enable rename in this CF itself since we are currently losing track of Repack vs Proper, but this will cause a lot of renames for people. The easier lift is just a separate CF

Right, it needs to be in a separate CF with rename enabled. Alternatively, we can enable rename in this CF itself since we are currently losing track of Repack vs Proper, but this will cause a lot of renames for people. The easier lift is just a separate CF

I understand and it makes sense, we'll avoid impacting everyone. I'll make a separate CF and score it same as the CF repack/proper

what score would be ideal for this CF?
I scored same as the CF repack/proper but I don't know if it's right.
Maybe put it at 4? just below repack/proper CF ?

Sorry I renamed the branch on my repo but I didn't know it would close the exit


chore(package): update kronos-service to version 3.3.2

https://greenkeeper.io/

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@39ce2c4). Click here to learn what that means.
The diff coverage is 58.42%.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   58.42%
=========================================
  Files             ?        2
  Lines             ?       89
  Branches          ?       11
=========================================
  Hits              ?       52
  Misses            ?       37
  Partials          ?        0

Impacted Files
Coverage Δ

tests/simple-test.mjs
100% <100%> (ø)

src/gelf-logger-service.mjs
50% <50%> (ø)

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 39ce2c4...0fa676c. Read the comment docs.


Pull general troubleshooting documentation out of reference

Our [https://anywhere.eks.amazonaws.com/docs/tasks/troubleshoot/_troubleshooting/](trouble shooting documentation) has some generic troubleshooting docs that should probably pulled up and expanded. This page is really useful as a reference, but doesn't give much guidance on how to troubleshoot. Some of that is covered in the "generic" sections.
Maybe the top level generic troubleshooting should live https://anywhere.eks.amazonaws.com/docs/tasks/troubleshoot/

/assign


fix: climc create aksk not return access_key

What this PR does / why we need it:
fix: climc create aksk not return access_key

Does this PR need to be backport to the previous release branch?:

release/3.9
release/3.8

/cc @zexi @ioito

/lgtm


⚠ Bofrost.at has degraded performance

In 71df1e0, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2050 ms

Resolved: Bofrost.at performance has improved in 4fed657 after 46 minutes.


Refactor email signup and sponsor signup journeys

What
Refactor email signup and sponsor signup journeys
Why
The code before was hard to read and relied on excessive mocking to test the code, making tests brittle and unreliable.
The resulting code approximately 900 lines shorter

Seems to be a makefile bug from previous removal of concourse.
line 1 of makefile should possibly be: DOCKER_COMPOSE = docker-compose -f docker-compose.yml

Also, the test isn't actually working on this, not sure why its reporting success in the checks above - have a look at the logs under the test action: https://github.com/alphagov/govwifi-user-signup-api/actions/runs/5530213407/job/14975180958?pr=665

Seems to be a makefile bug from previous removal of concourse. line 1 of makefile should possibly be: DOCKER_COMPOSE = docker-compose -f docker-compose.yml

I rebased the code so this should be fixed

Also, the test isn't actually working on this, not sure why its reporting success in the checks above - have a look at the logs under the test action: https://github.com/alphagov/govwifi-user-signup-api/actions/runs/5530213407/job/14975180958?pr=665

I looked into this and, because of the docker-compose error the '-f docker-compose' command is  run within the makefile - which is erroneous, it should run the docker-compose command. The makefile actually interprets the leading minus in the '-f' command as as a directive to not stop processing the makefile, even if an error is encountered. So the makefile keeps going until the last command which is 'rm -rf' which succeeds and returns error code 0.


Delayed Updates of Door Sensor after replacing Nuki Smartlock 3.0

Due to a defect of my Nuki Smartlock 3.0 with this Adapter in Version 2.6.5. I replace dem Smartlock with an other one (same Locktype). I've delete the old device from Nuki-App and configured all things again (Gateway, Keypad, Door sensor). All things are running well like before, except the Adapter. I've got most of the states immediately (unlatched or door opened), but not door closed. I've checked the door sensor, but it's correctly installed. I can see the correct state in the Nuki App, but not in IOBroker. After some Minutes or Hours. It seems, opening the App it triggers the update, but not every time. Any ideas what's append here?
I've replaced both auth keys, only to be sure there was nothing changed at Nuki side. It seems the

Please add the minimum reuired version info to ANY issue:
Adapter version:
js-controller version:
node-version:

Also the API shows the incorrect door state. So it's not a bug or an issue of the adapter.

Thanks for feedback


Development Process not consistent with BSI TR-03161 and OWASP Application Security Verification Standards

German BSI developed an technical advisory for digital health applications BSI TR-03161 "Sicherheitsanforderungen an digitale Gesundheitsanwendungen" (Direct Link: https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Publikationen/TechnischeRichtlinien/TR03161/BSI-TR-03161.pdf?__blob=publicationFile&v=2)
The BSI TR is intended to serve as a guide to assist healthcare mobile application developers in creating secure mobile applications following Confidentiality, Integrity and Availability "Vertraulichkeit, Integrität und Verfügbarkeit" and makes strong reference to common known OWASP Application Security Verification Standards.
The developing process of the German Corona App is initially not following these targets in using an unsecure 3rd party platform and violating basic assumptions made in OWASP Application Security Verification Standard, Section 1.1.1 from which I quote:

Verify the use of a secure software development lifecycle that addresses security in all stages of development.

To give you an example: Recent Commits of this Corona App are made by the user named "rathlein" but with different GPG signatures. How can a commit validated when even GitHub marks his GPG signatures as "not verified"?

Not to mention that I need to trust Microsof/ Github at all, what I don't. The fact that even Microsofts' own GitHub Account was hacked recently (see https://www.heise.de/security/meldung/Angreifer-verschafft-sich-Zugang-zu-Microsoft-GitHub-erbeutet-nichts-Wertvolles-4717415.html) makes the choice of GitHub as Secure and trustworthy Development platform at least questionable.

The git protocol secures every commit by creating a hash of the diff. The platform the git repo is distributed over is therefore not relevant as soon as you check the git commit hash.
So I will close this as this is a non-issue.


problem with externalResources

Consider the case you have 2 applications in compile.json:
one browser app and one node app.
The browser app needs some externalResources which will not work in an node enviroment.
Because externalResources are loaded from manifest.json for all applications you get an problem in this case.
Any ideas how to solve this?
Add an externalResources entry to the application in compile.json?=
Other ideas?

An externalResources entry to the application in compile.json sounds like a good idea.  Alternatively, we add a platform entry to info and when it is node, the compiler ignores the externalResources key? Since on node, all "external resources" can be required by the code itself - the compiler doesn't need to do anything here.

We still have the provides.type key in the Manifest schema even though it doesn't do anything at the moment, maybe this can be used to configure a "hybrid" app. Although we talked about removing the key from the schema altogether since it has become without use.

applications already have a type ("browser", "node", or "rhino") so we could exclude externalResources automatically on non-browser builds.

Are you shure that all external resources can be required by the code itself? Is this valid for rhino too?
If yes the easiest way is to remove the   urisBefore  entries from the templates - like the cssBefore entry.

in Rhino, I have a custom loader function - a bit like require() which allows code to be loaded from the filing system on demand; the loader generator by the application uses it to load all the app scripts, just like require.
Also, when booting up a rhino or node application, the developer has to choose the boot script, ie has control over loading before the rest of the app.

Done with https://github.com/qooxdoo/qooxdoo-compiler/pull/627


Feature request - to invert trigger conditions

I would like to be able to add a condition to a trigger that a keyer is NOT on air. Would it be possible to add this invert option to the trigger condition code?

or, add a feedback condition for "Tally:Off"

Created a pull request for this. Needed this as well to create auto follow video using the M32:
https://github.com/bitfocus/companion-module-bmd-atem/pull/210

This is now implemented


Add ability to execute CALL on subgraph

Add ability to execute logic on a subgraph or projection.
For example, on the sample European roads network, be able to get communities for only the subgraph selected by the below MATCH:
MATCH (a:City{name:'Rome'})-[road:Road*bfs]->(b:City)
CALL community_detection.get(
"length", false,  100000,  1e-06,  0.01
)
YIELD community_id, node
set node.community = community_id
;
One possibility is to add nodeProjection and relationshipProjection as CALL parameters:
CALL gds.louvain.write({ nodeProjection: ...,relationshipProjection: , writeProperty: ... {})

Hey @threedliteguy! Thanks for reporting the issue. Memgraph currently doesn't support the projection of patterns to graph but we have some ideas about how to integrate such behavior painlessly.  It's fantastic that you have already proposed some solutions we'll consider using.
The issue is clear to us, and as soon as we have some output from that side, we'll get back to you. Feel free to ping us if you have more issues, or preferences while using query modules :smile:


run test_scene_3d.tscn have error

Run res://tests/w3c_1.1_test_suite/test_scene_3d.tscn
Have error at
Line 595
"Invalid type in function 'generate_uv_at_point' in base 'GDScript'.Cannot convert argument 2 form Vector3 to Vector2."
Godot 3.5
macOS Sonoma 14.11

I never got 3D working.

OK, I got it working somewhat in the 4.3 branch. Note, as of writing, Godot 4.3 is still in beta, and 4.3 is required. The game's anti-aliasing setting impacts the shapes.
https://github.com/Giwayume/godot-svg/tree/4.3

I do not recommend using this in your game.
There's a lot of parts of the SVG spec that can't be supported in 3D. I'm also having difficulty getting the depth sorting working consistently, since Godot generally has bad options for sorting transparent objects.
Until Godot provides better sorting options, or I figure out some hacks, I'm going to consider SVG3D a pre-alpha node that could break without notice on any release. The focus of this library will primarily be getting SVG2D and SVGRect working as close to the SVG spec as possible.


Support imagePullPolicy for image dependencies

Adds support for specifying an optional image-pull-policy for each image in the cluster spec (ES/Kibana and Cerebro).
I've updated the minikube example to show how this works.
Validation looks to be handled by the underlying k8s core API (via PullPolicy)

Would resolve #256


New etcd switcher

Changes:

Now the index is accesible in the root, you don't have to add the etcd version in the URL.
New etcd switcher version
Now the project only have 1 html. Common JS functions are moved to a common js file.

Notes:

Changes on my repo updates automatically the docker image hosted in https://hub.docker.com/, you should do the same.

@evildecay any chance this gets merged soon? I really like this feature.

@Raboo I need to find time to see what was changed and check if there are any problems. Is your requirement a merged page or a docker deployment? If it is docker, I suggest you do your own docker file. I hope this project is a client tool, and docker deployment is just a way, not the only way.

I was more thinking of the whole drop down selector where you can switch with v2 or v3.
So when you visit the root path of the web app you are already presented with the UI and can select which etcd version you want to connect to.
You should try Andres version and see for yourself.
And for the Docker changes, I think it's more sane to default to <IP_ADDRESS> as a listen address rather than <IP_ADDRESS> since if you default to <IP_ADDRESS>, the UI won't be reachable from outside the docker container by default.  Why would you want to start a web service that aren't reachable? And docker within itself is isolated.
I tried @AndresCidoncha changes and I feel that none of the changes in this PR are bad for the project.

@Raboo Ok, I redesigned the page based on the changes in X, and then it will become a page. I will write the document in the specific operation. The docker file will also be modified from the X version. I will re-release a version today or tomorrow. I hope I can help you.

Thanks!

I have updated.


Refactor

Thoughts on this refactor? I was thinking we could deal with some of the nesting by putting the code that happens after the class check into it's own function.
Should not change behavior.

Alright, I have changed the function name to makeTableSortable.


SUR 404 IssueInstant in response not processed

SUR 404 Issuerinstant in response not processed
The SP does not verify the IssueInstant Attribute within the Response Element.
Threat Level: Low

As described in the report this is not a vulnerability as the field is not used in a security-relevant way. In fact, I think we're not doing anything with this information and it's purely informational-only for those inspecting the SAML messages. So I'm not sure that doing explicit validation on it adds something other than lines of code.
The SAML2 library does parse it into a timestamp so it at least verifies that it's a valid datetime string, but as far as I can see does not otherwise use it aswell.


Implement support for TypeScript

add a TypeScript plugin and use masks to avoid conflicts with the Flow plugin.

Closing this in favour of #76


Handle TriggerTargets that are combinations for components/entities

Objective

Fixes https://github.com/bevyengine/bevy/issues/14074
It is currently not possible to issues a trigger that targets a specific list of components AND a specific list of entities

Solution

We can now use ((A, B), (entity_1, entity_2)) as a trigger target, as well as the reverse

Testing

Added a unit test.
The triggering rules for observers are quite confusing:
triggers once per entity target
for each entity target, an observer system triggers if any of its components matches the trigger target components (but it triggers at most once, since we use an internal counter to make sure that an observer can run at most once per entity target)

The triggering rules for observers are quite confusing:

I'd like to see more docs explicitly explaining this.

Kind of wondering if we shouldn't cut this from 0.15 for stability.

Adopted in #16326


Update train.py

this PR is primarily focused on improving code quality and robustness. The improvements include better environment variable handling, enhanced type hinting, more descriptive logging, robust error handling, configuration validation, and improved code readability.
ThankYou,
RAJAT MISHRA.

Also... I don't see there is a need to make all first-letter of comments uppercase...

if there will be anything else let me know i will try!👍

@mst-rajatmishra Any update?

dling, enhanced type hinting, more descriptive logging, robust error handling, configuration validation, and improved code readability.

Hi,
I, just tried adding features and did some changes Please check,
Thank You,
RAJAT MISHRA

Well...


￼Standardize file naming convention using ted_talk_id for better database integration

To improve consistency and ease of identification when importing data into our database, we need to modify the naming convention for the downloaded TED talk detail JSON files and subtitle JSON files.
Current situation:
•	Detail JSON files are named using the talk title (e.g., meklit_hadero_the_unexpected_beauty_of_everyday_sounds.json)
•	Subtitle JSON files may have inconsistent naming
Proposed change:
Use the ted_talk_id as the primary identifier for naming both the detail and subtitle JSON files.
Tasks:
1.	Modify the download script to extract the ted_talk_id from the talk details json file in meta.csv.
2.	Update any related scripts or documentation that rely on the current file naming convention.
Benefits:
•	Consistent and unique file naming across all downloaded content
•	Easier matching between detail files, subtitle files, and database records
•	Simplified import process for database integration
•	Reduced risk of filename conflicts or errors due to special characters in talk titles
Example:
For a talk with ted_talk_id: "2351":
•	Detail file: 2351.json
•	Subtitle: 2351_sub_en.json

Upon revisiting this issue, I found that sticking with the original title name for .json is better for maintaining the connection between the metadata and TED Talk details. Therefore, this issue is now closed.


Does Retry with maxRetries > 1 work?

OK this is perhaps it's my misunderstanding of how Retry.retry() works or it could be just i'm an overall village idiot, but for me it doesn't retry x times on failure if i set maxRetries to x (where x > 1).  I looked at the code and it does this:
 def retry[T](maxRetries: Option[Int],
               interval: Duration = DefaultInterval,
               backoff: Backoff = exponentialBackoff,
               failAction: Throwable => Unit = doNothing)
              (f: => Try[T]): Try[T] = {
    @tailrec
    def loop(retry: Int): Try[T] = f match {
      case s @ Success(_) => s
      case Failure(e) if maxRetries.forall(_ < retry) =>
        failAction(e)
        sleep(backoff(retry, interval))
        loop(retry)
      case fail => fail
    }
    loop(1)
  }

i'm not entirely sure how this even works when there is no increment/decrement on the param passed to loop()
so i changed it to:
 def retry[T](maxRetries: Option[Int],
               interval: Duration = DefaultInterval,
               backoff: Backoff = exponentialBackoff,
               failAction: Throwable => Unit = doNothing)
              (f: => Try[T]): Try[T] = {
    @tailrec
    def loop(retry: Int): Try[T] = f match {
      case s @ Success(_) => s
      case Failure(e) if maxRetries.forall(_ > retry) => // condition changed here
        failAction(e)
        sleep(backoff(retry, interval))
        loop(retry + 1) // increment here
      case fail => fail
    }
    loop(1)
  }

The test cases are still passing, and the code works the way i expect it to: retry maxRetries times as long as f is a Failure.
Again, I may be misunderstanding things...kindly advise.   thanks.

Hi @dalegaspi, thanks a lot for the bug report!
This was indeed a bug, both in the code and in the test 🤦♂
I've fixed the test and then the code, so it should be working as expected.
Right now I'm already generating v0.9.4 with this fix in it. Should be available shortly.
Thanks again :)

v0.9.4 has been published https://bintray.com/albertpastrana/maven/uscala-retry/0.9.4
I'll close this issue. Feel free to open it if you see any problem :-)


⚠ Bofrost.at has degraded performance

In 82fa4a1, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1554 ms

Resolved: Bofrost.at performance has improved in 23a62ce.


Impove use Bullet and TestCase namespaces

Changed log

Add php-7.2, php-7.3 and php-7.4 version tests during Travis CI build.
Since the php-7.x versions are released, the hhvm support should be removed.
To support future PHPUnit versions, it's good to use PHPUnit\Framework\TestCase namespace.
The PSR-0 autoloading is deprecated and using PSR-4 autoloading instead.
Let all class instances use use syntax to define class with namespace on the head of PHP files.
Removing additional whitesapces.
The get_magic_quotes_gpc function is deprecated since php-7.4 version. And it should use the function_exists to check get_magic_quotes_gpc is existed inside if condition.

Looks good to me. Thanks for this PR. 👍


KAFKA-8841: avoid intermediate collections in Partition.maybeIncrementLeaderHW/lowWatermarkIfLeader

Partition.maybeIncrementLeaderHW is in the hot path for ReplicaManager.updateFollowerFetchState. When replicating between brokers with high partition counts, maybeIncrementLeaderHW is called once for each follower fetch, for each partition, with much of the time going to calling Partition.remoteReplicas which performs a toSet conversion.
maybeIncrementLeaderHW now avoids generating any intermediate collections when updating the HWM.
Benchmark results for Partition.updateFollowerFetchState on a r5.xlarge:
Old:
  1288.633 ±(99.9%) 1.170 ns/op [Average]
  (min, avg, max) = (1287.343, 1288.633, 1290.398), stdev = 1.037
  CI (99.9%): [1287.463, 1289.802] (assumes normal distribution)

New:
  323.648 ±(99.9%) 0.244 ns/op [Average]
  (min, avg, max) = (323.264, 323.648, 323.945), stdev = 0.216
  CI (99.9%): [323.405, 323.892] (assumes normal distribution)

We see an approximate 1000ns saving for a partition requiring two follower fetches (expected for RF = 3). While this may not seem large, if we assume the broker is the leader for 1000 partitions, and a fetch occurs every 20ms, we would expect the CPU time saving to be 1000 * 1000 * 1000/20 = 50,000,000 ns = 50ms every second.

It's interesting that this single collection copy is showing up as significant. remoteReplicas is a small collection for RF=3. To be fair, this is a collection copy per partition, but still, I would imagine we have other places where we do a collection copy per partition. Perhaps the hashCode for Replica is expensive? Maybe we need to cache that after the first computation?

@ijuma there are four new sets generated in maybeIncrementLeaderHW as far as I can see.
1 and 2: The toSet in remoteReplicas: https://github.com/apache/kafka/pull/7324/files#diff-5450baca03f57b9f2030f93a480e6969L752 and then the map over it. The map will generate another set, as it will maintain the collection type of the collection being mapped: https://github.com/apache/kafka/pull/7324/files#diff-5450baca03f57b9f2030f93a480e6969L754
3 and 4: toSet in remoteReplicas, plus a map which will generate another set: https://github.com/apache/kafka/pull/7324/files#diff-5450baca03f57b9f2030f93a480e6969L766

Here are the updated benchmark results after implementing a strategy to only update leader HWM if the follower fetch offset changed.
Case where the follower fetch offset is updated (previous improvement resulted in 320 ns, now 261 ns):
Result "org.apache.kafka.jmh.partition.UpdateFollowerFetchStateBenchmark.updateFollowerFetchStateBench":
  261.727 ±(99.9%) 0.122 ns/op [Average]
  (min, avg, max) = (261.565, 261.727, 261.937), stdev = 0.114
  CI (99.9%): [261.605, 261.848] (assumes normal distribution)

Case where follower end offset did not update, and we do not need to update the HWM:
Result "org.apache.kafka.jmh.partition.UpdateFollowerFetchStateBenchmark.updateFollowerFetchStateBenchNoChange":
  68.484 ±(99.9%) 0.025 ns/op [Average]
  (min, avg, max) = (68.446, 68.484, 68.520), stdev = 0.023
  CI (99.9%): [68.460, 68.509] (assumes normal distribution)

@lbradstreet @ijuma I had a quick look at the changes and they look good. Since it has been a long time since I looked at the locking changes, I am not that familiar with the code any more unfortunately. But since @hachikuji has done a thorough review, we should merge it now to get it into the next release.

@lbradstreet Can you please update the title to reflect the latest changes (i.e. it's not only about avoiding intermediate collections now).


IMS Registration issue

Hello @herlesupreeth, and thank you for making this docker! It really helps beginners like myself to play/learn in a format that works.
Environment
Device: BladeRF
eNodeB: srsRAN 21.10, on host
SIM: Using SysmoISIM-SJA2
Phones: Rooted Samsung S9 (Android 10) / Pixel 4a (AOSP userdebug, Android 12)
Docker containers are all running, except srsRAN (formerly srsLTE), which runs on the host (and mme_addr points to docker), as docker srsran did not work with device_name = bladeRF (due to missing drivers in docker build).
I am of course using the configuration of docker_open5gs for srsenb, however, I had to use most recent srsRAN (21.10), as 21.04 caused open5gs mme to report ASN/PDU decode failure (separate issue). I had to make one change to the enb.conf which was drb.conf rename.
srsenb informs us that s1ap connectivity is successfully established, and this is reflected in MME logs.
IMSI/MSISDN/Keys/APN details in open5gs web interface configured (as a subscriber, not profile) and also on FHoSS.
Issue
UE connects to network fine as 4G, however I never see any SIP register (IMS), and when I try to make a call, the UE drops from the network immediately. Checking in wireshark makes it seem like the UE is trying to perform cs-fallback, which isn't configured. In the UE logs, some hints are provided that seem like the UE support for VoLTE  are correct (mIsSim1VolteSettingOn = true):
 ImsCommonModel: [D] (mIsSim1VolteSettingOn : true), (mIsLvcAvailable : false), (mIsSim1VolteAvailable : false), (mIsSim1VoWiFiEnabled : false), (mIsImsRegistered : false), (mRcsSim1Registered :false), (mIsSim1RcsUpSupported :true), (mIsSim1SupportVideoCapability :false), (mIsSupportRcsPhase2 :false), (mIsMessageRcsSupported :true), (mIsDualRcsSupported :false), (mIsLvcSettingOn : true), (mIsSim1MobileDataEnabled : true), (mIsDataRoamingEnabled : true)

Things I tried

Two separate sim cards (same batch)
deleting APNs on phone and just adding 'ims' APN
Two separate phones

pcap.zip
Built from: s1ap || gtpv2 || pfcp || diameter || diameter.3gpp || sip

Hi @knt141
According to pcap No.34, your UE's setting is CS Voice only, not IMS PS voice preferred, CS Voice as secondary (for example).
34	1.624415	<IP_ADDRESS>	<IP_ADDRESS>	S1AP/NAS-EPS	224	InitialUEMessage, Attach request, PDN connectivity request
...
Voice Domain Preference and UE's Usage Setting
    Element ID: 0x5d
    Length: 1
    0000 0... = Spare bit(s): 0
    .... .0.. = UE's usage setting: Voice centric
    .... ..00 = Voice domain preference for E-UTRAN: CS Voice only (0)

Hi Mr Ishida, thank you for responding with that hint!
When a Sim from a telecom local provider is used with this same UE, it appears IMS/VoLTE registers successfully.
I am guessing there is there something I need to do on the UE to convince it that it should use IMS for the MNC/MCC pair I am using, I will investigate this :) I had assumed CoIMS was not necessary for more modern Sims (SysmoISIM-SJA2), so that will be my starting point. There is probably an XML file on Android with MCC/MNC to map network features.
Thank you again for your response!
-------- Original Message --------
On 24 Apr 2022, 1:19 am, Shigeru Ishida wrote:

Hi @.***(https://github.com/knt141)
According to pcap No.34, your UE's setting is CS Voice only, not IMS PS voice preferred, CS Voice as secondary (for example).
34	1.624415	<IP_ADDRESS>	<IP_ADDRESS>	S1AP/NAS-EPS	224	InitialUEMessage, Attach request, PDN connectivity request
...
Voice Domain Preference and UE's Usage Setting
Element ID: 0x5d
Length: 1
0000 0... = Spare bit(s): 0
.... .0.. = UE's usage setting: Voice centric
.... ..00 = Voice domain preference for E-UTRAN: CS Voice only (0)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @s5uishida,
I updated the UE to use APN detail based on https://nickvsnetworking.com/android-apn-master-config/ and found that the UE connects with the correct APN and APN Types, in our wireshark we now see voice and IMS in the InitialUeMessage, yet the call seems to try to fallback to CS, it might be that I need to use CoIMS to configure further properties that isnt available via APN configuration and for this purpose I ordered a SIM reader/write online (but i think its a few weeks away).
Voice Domain Preference and UE's Usage Setting
    Element ID: 0x5d
    Length: 1
    0000 0... = Spare bit(s): 0
    .... .0.. = UE's usage setting: Voice centric
    .... ..10 = Voice domain preference for E-UTRAN: CS voice preferred, IMS PS Voice as secondary (2)

Here is PCAP:
github2.zip

Hi @knt141
There is a default EPS Bearer with QCI=5 (APN=ims), but a default EPS Bearer with QCI=9 has not been established. (For example, APN=internet)
Also, I think CS voice preferred, IMS PS Voice as secondary is the opposite of CSFB.

Sorry it took a while to get a sim reader. I confirmed that in CoIMS it now has carrier privileges and has correct carrierId (I added to carrier_list.pb, which was parsed by telephony and carrier DB was updated).
In the SIM settings on the phone I see VoLTE enabled. However, no IMS registration occurs, and under CoIMS => Testing mode => IMS Service Status, I see "Not registered". There is no SIP packet in PCAP.
pca.zip
Screenshots:
Testing mode

Testing mode - IMS registration status

SIM system status

CoIMS

@knt141 I would strongly recommend to re-program the SIM card for PLMN 001 01..there VoLTE is enabled even at firmware level for most phones.
In the above screenshot I do see that carrier privileges is enabled, however I have seen it does not work for some of the PLMNs other than 001 01

Oh wait..In the trace you attached, i see that UE is attaching to 'ims' APN. But I also see that you have wrongly configured the APN in the phone.
You have configured default APN as 'ims' which is wrong, rather you should have default APN as 'internet' and IMS APN as 'ims'

hi @herlesupreeth, I will re-program the sim card for PLMN 001 01 and retry (but this will take some time as it will require re-configuring FHoSS which is horrible), as changing the APN configuration as suggested didn't seem to change the result:
 <apn carrier="Open5gs"
    carrier_id ="10032"
    mcc="999"
    mnc="70"
    apn="ims"
    type="ims"
    user_visible="true"
    />
  <apn carrier="Open5gs"
    carrier_id = "10032"
    mcc="999"
    mnc="70"
    apn="internet"
    type="default,supl"
    user_visible="true"
    />

pcap.zip

@knt141 in the above pcap, the phone is not even attempting to attach to ims APN

Hi @herlesupreeth , sorry for the late reply, I obtained a sim programmer and reprogrammed the card to be PLMN 001/01 using pySim-prog.py. I configured APN on UE and open5gs interface (both web and smf/upf.yaml) as: apnName=VZWINTERNET, apnType=default and apnName=ims, apnType=ims. IMSI was also added to osmo-hlr via vty with 3g ki/opc (just coz I saw error in log relating to this, we are not trying to configure 3g)
UplinkNASTransport, PDN connectivity request correctly shows ims APN request, yet we are still seeing the CS fallback request when a call is made, with apparently no errors before hand (except GTP dns errors).
CoIMS reports carrier privileges and dots => phone info informs us that VoLTE is enabled and provisioned:
Data Service: Connected
Data network Type: LTE
Voice Service: In service
Voice Network Type: LTE
Checking IMS status via CoIMS shows that the phone is not yet registered (and I observe no SIP packet in pcap).
pcap.zip

I see that phone is now attempting to connect to IMS APN and it even sends a TCP SYN packet to <IP_ADDRESS> but it looks like there is some kind of either wrong configuration or loop .. i see a GTP packet coming from <IP_ADDRESS> port 2152 to <IP_ADDRESS> port 2152

please check your .env file for incorrect configuration

Hmm that syn is to port 5060, but I missed it as I wasnt looking at GTP properly. .21 is PCSCF_IP according to .Env (same as https://github.com/herlesupreeth/docker_open5gs/blob/master/.env#L68). That would make sense that IMS is unregistered but LTE is connected.
I will try to run enb inside same docker (it's currently running on docker host <IP_ADDRESS>:2152 bound to same docker network), that should rule out any weird loop potentials
-------- Original Message --------
On 12 July 2022, 6:08 pm, Supreeth Herle wrote:

I see that phone is now attempting to connect to IMS APN and it even sends a TCP SYN packet to <IP_ADDRESS> but it looks like there is some kind of either wrong configuration or loop .. i see a GTP packet coming from <IP_ADDRESS> port 2152 to <IP_ADDRESS> port 2152
image
please check your .env file for incorrect configuration
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Ok it is now working! After moving srslte/enb to docker, and resetting .env to be default (minus first few vars), LTE on pixel device and IMS registers. Next part will be working out calls, but I think this issue can be closed.
Ultimately it came down to user error (or PLMN 001/01!) :)


Unable to call any response commands inside a Promise .then

Hi, I'm a little new to Node so please be gentle.
What am I doing wrong below... I'm just simply request Alexa to say the result of a request-promise.
Your thoughts and advice greatly appreciated.
var rp = require('request-promise');
var ENDPOINT = 'http://httpd.apache.org/server-status?view=json'

app.launch(function(req,res) {

	var options = {
		uri: ENDPOINT,
		transform: function (body, res, resolveWithFullResponse) {
			return JSON.parse(body);
		}
	};

	rp(options)
		.then(function (bodyObj)
		{
			res.say(bodyObj.server.host);
		});
});

You have to return the promise as well, try with return rp. ...?

Unfortunatly that's not it.... I added a .send() and also returned the promise like below.
	rp(options) 		.then(function (bodyObj)  		{ 			res.say(bodyObj.server.host).send(); 			return rp; 		});

You have to return the promise from the function itself, like this:
return rp(options).then(function (bodyObj) {
  res.say(bodyObj.server.host).send();
});

Put up some code on Github if you can't figure it out.

Thanks for that... I've added the return on the rp to no avail... As per your suggestion I've added a Github repository for you to have a look at.
https://github.com/kenibarwick/helloKeni
I appreciate your time

The code was correct, but you were using an older version of alexa-app (2.1.0) that doesn't support promises. Fix with a working express example in https://github.com/kenibarwick/helloKeni/pull/1.

Thanks for you help, that indeed did fix it


Add markers via positions that are SkyCoords makes the viewer really laggy

I haven't had a chance to glance at the source code yet, but I'm guessing that in this case they maybe aren't added as a single compound object.

They are:
https://github.com/astropy/astrowidgets/blob/b8837870e17c39c7f4b3c54243b343c661a2433a/astrowidgets/core.py#L567-L569
But the main difference is that for the SkyCoord case, they are added as 'wcs' data type, so there is extra overhead in converting RA/DEC to data coordinates. Open to ideas on how you want to optimize it.


Add deploy script for docs

What was wrong?
We don't have a site up that hosts our docs. Unfortunately, getting our docs up on https://docs.rs isn't so simple because our Git dependencies make it impossible to get Fe on https://crates.io which would be needed to host the docs on docs.rs.
Fortunately, we can still use cargo docs to generate the docs and host the site ourselves.
How was it fixed?

Created a shell script deploy-website.sh that takes care of generating the site and pushing its contents into the gh-pages branch of this repo. This is an orphaned branch simply to host the artifacts of the generated site. This is a one-click-deploy-no-questions-asked deployment. Assuming one uses upstream to point to this repo, invoking deploy-website.sh is all it takes to update the live site.

A few minor fixes to the Readme.

The site is currently live at https://ethereum.github.io/fe but I hope it will soon be reachable via https://fe.ethereum.org
:tada:

Further remarks
Rustdoc appears to be very limited and not really suited to host anything but strict API docs. I believe that, longer term, we will want to host a proper website, including guides and online editor (#70) and just link to the API docs from there. For now, the API docs are the website.
I have also opened up an issue with devops to get this hosted on https://fe.ethereum.org

Alright, site is up at http://fe.ethereum.org
Are we ok to merge this @g-r-a-n-t ?

LGTM :balloon:


Webrtc crackling sound on multiple camera brands

Whether i send audio mp3 files using the home assistant webrtc integration(and add the cameras in configuration.yaml as media players) or send tts voice messages, the sound is crackling like crazy. Sometimes the tts messages are hard to understand and sounds are very clunky and crackling.
A weird note to make is that this does not happen on the reolink duo 3, it plays sounds perfectly.
But on annke, hikvision and tapo cameras, the problem is the same. Sometimes(but rarely) sounds play normally without crackling up.
I already tried to add a delay to the sound of 2 seconds without luck.
I would love to find out with the community here how this is solvable.

This can happen if you have chosen the wrong codec for your camera

Which ones should i use for tapo and annke/hikvision and how do i select the codec? I assume annke and hikvision share the same codec. Maybe i need to transcode the file from mp3 to something else?

You can find codec in stream info in go2rtc WebUI. You selecting codec while adding camera as media player.

Under active producers it says the following at annke and hikvision cameras:
Profile=1;\r\na=Media_header:MEDIAINFO=494D4B48010300000400050010710110401F000000FA000000000000000000000000000000000000;\r\na=appversion:1.0\r\n", "medias": [ "video, recvonly, H265", "audio, recvonly, PCMU/8000", "audio, sendonly, PCMU/8000, G726/8000, MPEG4-GENERIC/16000" ], "receivers": [ "96 H265, bytes=37299853942, senders=1", "0 PCMU/8000, bytes=325004160, senders=1" ], "senders": [ "0 PCMU/8000, bytes=18858, receivers=3" ], "recv":<PHONE_NUMBER>8, "send": 20362 },
However when in configuration.yaml i copy MPEG4-GENERIC/16000 and G726/8000 as codec, i get a unknown error.
I used pcmu/8000 which worked, but is crackling.

PCMU is right codec for this camera. Unfortunately, I don't have any Hikvision cameras to run a test.

It is weird that also tapo cameras suffer from this, while using a other codec then hikvision and annke.
Is there a way to debug this?

I have tapo. They used PCMA and works fine.

But pretty much all my cameras are crackling. The only one that never did was my reolink duo 3.  I dont have a pc to easily copy larger parts of the huge config file so hope this helps.
The annke camera has the mainstream(h265), substream(h264) and the tapo cams (only support h264) have the rtsp mainstream and the tapo protocol mainstream. Both cameras also have a ffmpeg aac encoding.

There is a known bug when using hikvision cameras that step backchannel will have crackling. You should use isapi instead

There is a known bug when using hikvision cameras that rtsp backchannel will have crackling. You should use isapi instead

Is this a bug with hikvision and annke or with webrtc?
How do i set up isapi with webrtc to send audio to cameras with home assistant?

See https://github.com/AlexxIT/go2rtc/issues/124

for talking to people...i am using the webrtc integration to send audio files to the cameras.

It is used for both just like rtsp backchannel and that you what you need to use
Its what I've been using for a year

for talking to people...i am using the webrtc integration to send audio files to the cameras.

It is used for both just like rtsp backchannel and that you what you need to use
Its what I've been using for a year

Does this integrate with webrtc and/or frigate?
So it works seamless.

It works exactly the same as before it's just a different way of getting audio to the camera

It works exactly the same as before it's just a different way of getting audio to the camera

Yes but how do we get this in there? The issue you linked has a python example script. But how do we use this for hikvision and annke?

https://github.com/AlexxIT/go2rtc#source-isapi

Thanks! I just played around but when i press the mic button in frigate, a empty video icon shows


merge from arlac77/npm-package-template-kronos-module

package.json

chore(package): add ^17.0.3 remove ^17.0.2 (devDependencies.semantic-release)

Codecov Report

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

@@           Coverage Diff           @@
##           master     #664   +/-   ##
=======================================
  Coverage   91.87%   91.87%
=======================================
  Files           4        4
  Lines         283      283
  Branches       13       13
=======================================
  Hits          260      260
  Misses         23       23

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 e18b1ec...991bb00. Read the comment docs.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Codiad install error

I've setted up everything, but everytime i try to make initial setup nothing happens without any error.

Only error what i've found
"
Denying load of chrome-extension://gkojfkhlekighikafcpjkiklfbnlmeio/js/jquery.min.map. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension. ?path=%2Fhome%2Fhektrack%2Fpublic_html%2Fcode&username=hektor157&password=#PASSWORD#&password_c…:1
onExtensionMsgReceived:getSettings
"

Errors from Error_log:
[23-Mar-2015 17:36:20 America/Chicago] PHP Warning:  include(/public_html/code/languages/en.php): failed to open stream: No such file or directory in /home/hektrack/public_html/code/common.php on line 95
[23-Mar-2015 17:36:20 America/Chicago] PHP Warning:  include(): Failed opening '/public_html/code/languages/en.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hektrack/public_html/code/common.php on line 95
[23-Mar-2015 17:36:20 America/Chicago] PHP Warning:  file_get_contents(/public_html/code/components/filemanager/context_menu.json): failed to open stream: No such file or directory in /home/hektrack/public_html/code/index.php on line 6
[23-Mar-2015 17:36:20 America/Chicago] PHP Warning:  file_get_contents(/public_html/code/components/right_bar.json): failed to open stream: No such file or directory in /home/hektrack/public_html/code/index.php on line 10
[23-Mar-2015 17:36:20 America/Chicago] PHP Warning:  scandir(/public_html/code/components): failed to open dir: No such file or directory in /home/hektrack/public_html/code/common.php on line 105
[23-Mar-2015 17:36:20 America/Chicago] PHP Warning:  scandir(): (errno 2): No such file or directory in /home/hektrack/public_html/code/common.php on line 105
[23-Mar-2015 17:36:20 America/Chicago] PHP Warning:  Invalid argument supplied for foreach() in /home/hektrack/public_html/code/common.php on line 106
[23-Mar-2015 17:36:20 America/Chicago] PHP Warning:  scandir(/public_html/code/plugins): failed to open dir: No such file or directory in /home/hektrack/public_html/code/common.php on line 105
[23-Mar-2015 17:36:20 America/Chicago] PHP Warning:  scandir(): (errno 2): No such file or directory in /home/hektrack/public_html/code/common.php on line 105
[23-Mar-2015 17:36:20 America/Chicago] PHP Warning:  Invalid argument supplied for foreach() in /home/hektrack/public_html/code/common.php on line 106
[23-Mar-2015 17:36:20 America/Chicago] PHP Warning:  scandir(/public_html/code/themes): failed to open dir: No such file or directory in /home/hektrack/public_html/code/common.php on line 105
[23-Mar-2015 17:36:20 America/Chicago] PHP Warning:  scandir(): (errno 2): No such file or directory in /home/hektrack/public_html/code/common.php on line 105
[23-Mar-2015 17:36:20 America/Chicago] PHP Warning:  Invalid argument supplied for foreach() in /home/hektrack/public_html/code/common.php on line 106

try to reinstall codiad without any kind of browser plugin

I've tried to reinstall it in incognito and still nothing.

I can't find any error,but still it doesn't install itself...

could you check if there is any kind of config.php available and files in the data directory?
If both is true, could you check the content of config.php and post the define("BASE_PATH", "absolute/path/to/codiad");.
I would assume that is variable is not setup correctly.

This is the config.php in codiad dir:
"

"

Hmm that config file does not really match the error log:
[23-Mar-2015 17:36:20 America/Chicago] PHP Warning: include(): Failed opening '/public_html/code/languages/en.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hektrack/public_html/code/common.php on line 95
https://github.com/Codiad/Codiad/blob/master/common.php#L95
include BASE_PATH."/languages/en.php";
your config.php
// PATH TO CODIAD
define("BASE_PATH", "/home/hektrack/public_html/code");
So i would assume that BASE_PATH is somehow stripped

It's little bit weird cause i don't really know which is real base_path cause fullpath to the folder is /home/hektrack/public_html/code, but that site is in the instance which have path beggining in /public_html/ som i don't know which path i have to use...
if i use basepath /home/hektrack/public_html/code it don't work without any error
but if i use path /public_html/code i throws an error:
error log

If your absolute path is /home/hektrack/public_html/code then it is fine to use that. "It dont work without any error" is hard to support. Based on the config above, I would say that the config.php is fine. Next step would be to see if there are any files in your /data folder?

There's only one file in /data directory called README which contains this "## Data directory"

then try to rename config.php to something else and reinstall codiad. data directory should contain some files like users.php, projects.php, etc.

i have put clear new instance of codiad on web but still the /data folder is empty =/


character and persons updated

Added object properties needed for relations between fictive characters, actors, animals and puppies.

I think all changes are correct and as intended. However, maybe it it is only a matter of style, but I fear that users might be confused by the meaning of "portrays": it is not the inverse of "isPortrayedBy" but of "isPlayedBy". Couldn't we use "plays" instead of "portrays"? Another option might be to use "starringAs" and "isStarredBy" instead of "plays" and "isPlayedBy". What do you think?

Ye this was confusing. I have changed the inverse relations and added a constraint.


a7sii firmware 3.0 issue

I have not been successful for my win 10 x64 desktop and laptop to recognize the camera for this new firmware update. I put everything back to "normal" (factory default), uninstalled open memories and "initialized" the camera and still the same results.
Any suggestions?

@findamir
Please use pmca-gui.

Thank you for this, sir.
I went through mcafee and windows 10 security and finally got to run as administrator. Finally go through Windows defender and it says "insufficient system resources exist to complete the requested service." and the app gets deleted.
And I am also not sure if this is supposed to install so I can further connect the camera in order to get it working again.
Cany you please advise? Thank you!


#238 Make all durations human-readable when marshalling json/yaml

Render all Durations like retry.min_delay, retry.max_delay, client.timeout as human-friendly strings (e.g. 5s) by custom marshalling.

Hey Paul, this is good generally speaking, but have you seen this custom type used in some other places?
https://github.com/EinStack/glide/blob/45d9aa12816ff5e5009dfdee0e84d627966ab94f/pkg/config/fields/duration.go#L5-L4
I would expect it to be used. Let's have a quick chat in Discord because Pablo seem to go this route already and have a branch


Inherit root context information in ShallowWrapper::shallow()

Fixes #2290

@ljharb FYI

@ljharb could you please take a look? 😁


Is there a way to create the source of a mod with only the export?

?

You will not get source code. It's compiled; you will not probably get Haxe code from machine code (you must decompile to assembly language, next c/c++ next manual to haxe translation).
You can use the most of assets to rewrite the mod.

?

reverse engineering
its EXTREMELY hard and you should not even try it, its basically translating the decompiled assemly instructions from the program then translating to cpp and then back to haxe
its not worth it

@Nikopol93

its not worth it
Yes
Reverse engineering is too hard to standard or professional C++ programmer, even to C. You must learn reverse engineering as separate technology (like you learn programming language). Yes - it's interesting for people that are hobbyist. I would like to learn reverse engineering in the future, but not now. This is too hard. If you are programmer that want to make more than FNF mods, but make professional software (I don't say that FNF is not), cryptography, compilers and low-level operations, then reverse engineering is VERY interesting and usefull. But, in making FNF mods, it's useless. You can use assets and isolate some arts, from the executable. I think that you lost source code for your mod, so you want to "reverse" it. But if you want to get source code of not your mods - eh, type name. FNF community think that they lost many mods, because of hating or others, but they are wrong. After remove Mid-fight masses, I downloaded it. The same for sky. So, if you want to remake mod, you may look around and probably find mod on github (or remake of it). Some people make remake of mods, because (I think) the most work that you must do (in the most of cases), to make mod, is to make arts. New week code? You can copy it from previous weeks. Cutscenes? See another mod's code.

But, you used "export" name, instead of "exe" or "executable". This made that I think, you lost code. You may try recuva or another software. Maybe you reinstalled system. If so, rewrite mod.

You cannot get the source code for an existing mod just from the executable.
You can get the graphics and music from the assets folder, but this isn't Java, it isn't easy to decompile.
One thing to note is that GameBanana requires the source code of a mod to be made available, so you should find the link on the GameBanana page. If not, you might be able to find the project on GitHub anyways.


Cursor settings

Summary of the PR
Add cursor settings to the GLFW input backend.
Related issues, Discord discussions, or proposals
None.
Further Comments
None.

Looking forward to this. The cursor show/hide feature is essential for my project and most games.

I hope to have this finished soon! Christmas stuff has kept me pretty busy, but I'll have time to finish things up soon.

How is the state?

@Pyrdacor This hasn't moved along much, mainly because I recently refactored the entire GLFW input backend, but also because Void is pretty busy atm.

Ok I implemented a bunch of stuff in #108. Maybe you can have a look at it.

#108 definitely is very close and you're being a machine with your PRs!!!! Thanks a ton :DDD

Will merge once CI has passed


Feature/multi webserver support

Urgh, Apologies for the notifications. I've managed to conflict somehow. I'll sort that out first.


Fix android phone authentication

Current behavior blocks sms code user input until auto retrieval timeout is reached.
Documentation states it is not recommended to enable user input after sms code retrieval timeout, we should rather enable user input after code sent.
https://firebase.google.com/docs/auth/android/phone-auth#oncodeautoretrievaltimeoutstring-verificationid
So I moved the getVerificationCode() from onCodeAutoRetrievalTimeOut() to onCodeSent() and it works well on my project.

Thanks for the PR! And sorry for the delay in reviewing.
What about JS and iOS, do they suffer the same issue?

Hello :)
Sorry for my late reply !
I cannot tell you about the other platforms but I guess not.
My iOS coworker did not implement authentication with this SDK.
It was a little bit too complex with the suspend function inside PhoneVerificationProvider.
I will tell you later about that.
We do not have a JS app.


(GH-813) Add the ability to select powershell as the SSH login shell

This adds a new login-shell option to the SSH transport which can be used
to tell Bolt which shell to expect. We support a number of bash-compatible
shells and powershell, which is experimental. Selecting any of the
supported non-powershell options will result in identical behavior.
!feature

Experimental support for interacting with Windows hosts via PowerShell over SSH
(#813)
The login-shell: powershell config setting can be set on a target to
connect over SSH while running commands and tasks via PowerShell instead
of Bash.

There's some work to do around options, since currently all the target options are defined for the transport, but some of them (run-as related options, extensions) are shell-specific.

CLA signed by all contributors.

Fixed the tests

@hestonhoffman may have better insight on this, but I think it would be helpful to document how to use this feature, especially since there's some trickiness around making sure you have the right version of OpenSSH installed and have powershell as the default shell. Maybe somewhere on this page: https://puppet.com/docs/bolt/latest/bolt_examples.html ?


Ensure typedefs of std::vector are mapped

We have situations where we are using a std::vector typedef. Make sure Desugar is called on the type before it is marshalled, so that we get the underlying vector type of the typedef.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: IIFE sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the contribution.


[Feature] Prometheus integration

Summary
Integrate Prometheus Database as a possible datasource.
Motivation
Prometheus is a widly used and efficient timeseries database.
Grafana, the go-to visualisation tool connected to prometheus, is read-only.
Appsmith could fill the role of an easy to use tool to visualize and manipulate data in prometheus.
Support would be appreciated.

@kevinhorst thank you for the feature request!
@ajinkyakulkarni will help us prioritise this :)

What is the scope of the Prometheus integration? Prometheus offers a REST API is the intent here to provide access to PromQL or to provide plotting features? Providing a PromQL feature would be great and not that far-reaching. No other tool in this space has Prometheus support so it would be a unique feature.

Simple graphing added to our operational tools. Queue depths, utilization, run-of-the-mill stuff. But I want it part of the control plane where users can also interact and send data back to the control plane. I want to avoid having users shipped of to grafana to inspect and then come back to the "writable" UI in Appsmith.

We do have grafana so it migh be possible to integrate via some kind of export the dashboard/panes.


[Bug]: Balance amount overflow in Vue2 / Nuxt 2

Current Behavior
Hi guys, I'm using web3-onboard in Vue. There's a CSS issue when the balance is too long/small.

So I tried to edit the CSS in Vue and failed.
Then I found this tutorial. But it's written in svelte and can't edit the CSS of the address widget.
I'm wondering if it's possible to edit the widget CSS? Or you guys can just edit the max-width of the widget container?
Thanks!
Expected Behavior
The amount shouldn't be overflowed.
Steps To Reproduce

Connect with low balance wallet
Switch to ETH mainnet

What package is effected by this issue?
@web3-onboard/vue
Is this a build or a runtime issue?
Runtime
Package Version
2.1.4
Node Version
v18.2.0
What browsers are you seeing the problem on?
Firefox
Relevant log output
None

Anything else?
None
Sanity Check

[X] If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.

Sorry, I finally found the documentation, my bad.
https://docs.blocknative.com/onboard/core#custom-styling


Maybe OP can be updated -- to mention the :00-:10 and :30-:40 plan?

Maybe OP can be updated -- to mention the :00-:10 and :30-:40 plan?
Originally posted by @pradyunsg in https://github.com/pypa/warehouse/issues/3411#issuecomment-376792786

Hi -- I think we may have been tagged in here in error?
Thanks,
/C


Webc 442 postman tests

#Travis tests that cover PHP 5.3, 5.4, 5.5, 5.6
Mage versions:
CE <IP_ADDRESS>, <IP_ADDRESS> (en_US), <IP_ADDRESS>
EE <IP_ADDRESS>. <IP_ADDRESS>, <IP_ADDRESS>
Fixes for a locale bug when translating product date input from US to DE and vise-versa
Fixes a dependency on /shopgate frontend controller route, forgot to add it when removing dependency on Framework
Fixes an issues with GET product retrieving invisible products to Guest customers (since they are technically Admin)
Fixes travis deployment not composer pulling library dependencies (e.g. oAuth2 plugin)

I am currently waiting on Travis, I am getting errors on all EE versions. Looks like some issue with pulling data from AWS. Will continue tomorrow to see what's up.

listening to my own advice, creating a new branch in this repo. Moving code there and will be testing with this repo's travis. For some reason the instances spinned look different than the one's on my repo.
To avoid spamming this PR I will close it and re-open when I am done with all fixes.


about test error

when I run the test code, I met a error:
delta_s=Dense(num_classes,activation='tanh',name=f'delta_s{stage_index}')(feat_delta_s)
syntaxError:invalid syntax
@shamangary ,can you help me to fix it?
p.s. my keras version and tensorflow verison is the same with you. Very appreciate.

name = f'delta_s{state_index}'

This syntax available in Python 3.6

name='delta_s{}'.format(stage_index)
Modify it to work like this


fix: add component config env

🔍 What type of PR is this?

👀 What this PR does / why we need it:

[ ] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] All the tests have passed

🅰 Which issue(s) this PR fixes:

Fixes #310
📝 Special notes for your reviewer:

🎯 Describe how to verify it

📑 Additional documentation e.g., RFC, notion, Google docs, usage docs, etc.:

Link: https://github.com/openimsdk/chat/pull/321


Uploading local files to S3

I am trying to upload local video files from Android App to S3 bucket. As per github documentation for Filepicker.uploadLocalFile API,  path can be set for local file url. However, not sure of setting the parameters like the S3 location to save the file, policy & signature.
After successfully uploading to S3 location, on response I would need Filepicker blob to save it to the backend.
Can someone help with an example to implement it correctly?

@janhudzik could you help with this?

Unfortunately the uploadLocalFile method doesn't allow you to set upload options like you can with the UI method. As for getting back a "Filepicker blob", you can pass in a FilepickerCallback to your call to uploadLocalFile and get back the info in a FPFile. There's an example of that in the README.

Hi @shawnmaten ,
Did not understood your reply for @BabuinGH .
"Unfortunately the uploadLocalFile method doesn't allow you to set upload options like you can with the UI method"
Do we have any UI method where we can accomplish this.
Actually I have the same question.
Can we upload the file to S3 , if we can then do we have any callback where we will get the upload progress  so that we can show the progress percentage to the user.
Currently I'm using Filepicker.uploadLocalFile to upload the files.
Please guide for this.
--
Thanks,
Abhijit

Hi @shawnmaten ,
Actually I have the same question.
Can we upload the file to S3 (or set path), if we can then do we have any callback where we will get the upload progress  so that we can show the progress percentage to the user.
Currently I'm using Filepicker.uploadLocalFile to upload the files.
Looks like it has been added as milestone for 5.0.0 release.
But can you let us know by when this release is expected to be done in future.
Please guide for this.
--
Thanks,
Abhijit

Hi,
When will this issue be resolved ? It's a blocker for our android app as we cannot set specific parameters (that we can do on iOS).
Best
Jacob

@jkrzemie I've completed most of the work for our new Java SDK and will be moving on to this library soon. Do you only need local file uploads? If so the Java SDK might suit your needs.

This is available in v2.


Feature request: filename specifications

Thanks for this great tool! One thing that would be great: the ability to specify the filename in some way. In particular, I like to add the author(s) to the resulting filename. Not sure if that is possible technically given the nature of the extension, but figured I would propose the idea :)

Authors are already included if they can be inferred from the puzzle's metadata. The https://github.com/jpd236/CrosswordScraper/blob/main/src/jsMain/kotlin/com/jeffpdavidson/crosswordscraper/CrosswordScraper.kt#L336C9-L337C82 are:
// In descending priority, author-title, title, author, scraping source.
// Each word is capitalized, and non-alphanumeric characters are removed.

I'm guessing this is on an indie blog or some other source where the author is known through some other context that's not present in the puzzle data itself. (But if you have an example, that would help confirm).
So the only way to do this would be to provide a way to change the filename for each download. In that regard, it's arguably more of a browser setting question. Chrome, for example, has a setting at chrome://settings/downloads (Settings -> Downloads), "Ask where to save each file before downloading". If you enable that setting, then every time you click a CrosswordScraper link - or any other download link - you'll get a save dialog allowing you to adjust the filename. It feels to me like it would be a bit cludgy to build something custom just for CrosswordScraper here.
Would that setting meet your needs? Or do you think we're actually missing the author from some inferable metadata?

Ah, I see. I was thinking about a) adding the date and b) changing the order of some of the elements.
It looks like date isn't in the metadata anyway (which makes sense in retrospect!), so (a) is immaterial.
(b) is because I end up editing the filenames to put the source first in the filename.

Yeah, the problem is that both of those pieces of information are not consistently available, and when they are they're typically shoved into the title/author/copyright field and would need to be parsed out. Something like the source might be available for certain puzzles like the NYT, but for AmuseLabs puzzles, for example, there's nothing inherent in the data itself. We could do something like track a number of popular sites, but I don't love that from a maintenance perspective. I think your best bet here is probably just to change that setting, but maybe we could think about at least offering other options like Title-Author.


feat(locale): add Lithuanian locales

📚 Description
Add Lithuanian(LT) locales
📝 Checklist

[X] All commits follow the Conventional Commit format
[X] The PR's title follows the Conventional Commit format

Thanks a ton! Love the commit message formatting being perfect right away :heart:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 5.0.0-beta.3 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Bug] Device tracking is unreliable during longer periods of time. ha-asusrouter never recovers from AsusRouterServerDisconnectedError

The problem
Hi, so this seems to be happening since a long time now. Whenever my Home Assistant instance is running during longer periods of time (And by that I mean more than 2 or 3 days), the device tracking part of ha-asusrouter stops working and never recovers until I eider restart the component or restart HA all together. The tracking of WiFi stats, CPU usage, network transfer, etc still seems to be updating, but the tracking of devices stops working.
Looking at the logs I see this:
Logger: homeassistant
Source: custom_components/asusrouter/bridge.py:132
Integration: ASUS Router (documentation, issues)
First occurred: 5:50:43 AM (1 occurrences)
Last logged: 5:50:43 AM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/asusrouter/connection.py", line 181, in async_request
    async with self._session.post(
  File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 1138, in __aenter__
    self._resp = await self._coro
  File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/usr/local/lib/python3.10/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/config/custom_components/asusrouter/bridge.py", line 130, in async_get_connected_devices
    api_devices = await self._api.async_get_devices()
  File "/usr/local/lib/python3.10/site-packages/asusrouter/asusrouter.py", line 731, in async_get_devices
    await self.async_monitor_devices()
  File "/usr/local/lib/python3.10/site-packages/asusrouter/asusrouter.py", line 585, in async_monitor_devices
    data = await self.async_hook(AR_HOOK_DEVICES)
  File "/usr/local/lib/python3.10/site-packages/asusrouter/asusrouter.py", line 296, in async_hook
    raise ex
  File "/usr/local/lib/python3.10/site-packages/asusrouter/asusrouter.py", line 291, in async_hook
    result = await self.connection.async_run_command(
  File "/usr/local/lib/python3.10/site-packages/asusrouter/connection.py", line 114, in async_run_command
    raise ex
  File "/usr/local/lib/python3.10/site-packages/asusrouter/connection.py", line 111, in async_run_command
    result = await self.async_request(command, endpoint, self._headers)
  File "/usr/local/lib/python3.10/site-packages/asusrouter/connection.py", line 260, in async_request
    raise AsusRouterServerDisconnectedError()
asusrouter.error.AsusRouterServerDisconnectedError: Server disconnected

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/config/custom_components/asusrouter/router.py", line 390, in update_all
    await self.update_devices()
  File "/config/custom_components/asusrouter/router.py", line 398, in update_devices
    api_devices = await self._api.async_get_connected_devices()
  File "/config/custom_components/asusrouter/bridge.py", line 132, in async_get_connected_devices
    raise UpdateFailed(ex) from ex
homeassistant.helpers.update_coordinator.UpdateFailed: Server disconnected

I'm not sure how ha-asusrouter handles the connection to the router, but if the connection fails it should retry to connect in a few seconds. I've been tinkering myself with the AsusWRT DUT API, and I noticed that there are times where the server just freezes for a while, and at times I've seen the whole service crash for a few seconds on the router, where not even the official AsusWRT mobile app works (But it usually always recovers after some time). Perhaps ha-asusrouter is hitting one of these cases, although being network, one should assume that anything can fail along the way.
Your device model
RT-AX86U
Firmware type
Merlin
Firmware version
386.7_2
Integration version with the issue
0.6.0
Method of the integration installation
HACS
What version and type of Home Assistant installation do you use
Home Assistant 2022.8.3
Is there anything useful in the logs?
No response
Diagnostics information
No response
Additional information
No response

Hi, @rkkoszewski,
Thanks for your feedback! :+1:
I am aware of this issue and it is in the priority list for a fix. Unfortunately, it is not easy to reproduce on my device (RT-AX88U), so it takes much longer then I expected to test everything out.
I hope to finish work on it by the end of August.

Awesome! Thank you as always @Vaskivskyi for looking into it!

Just letting you know, that work is still in progress, I didn't forget about this bug 🙂 . It has happened only twice on my device, so debugging the case is a bit painful and time-consuming

Hey, @rkkoszewski,
I think you would like version 0.8.0 - no more server disconnected errors. And no sensors should be stuck.

Thank you so much @Vaskivskyi for finding and fixing the issue. This is really amazing news!! I'll test it out as soon as I'm back home!

Hello, @rkkoszewski,
Did you have a chance to test the new version? Does it work now as you would expect?

Sorry I'm currently on vacations for a month. I updated the extension and have seen no issues so far, but given that I'm currently not at home I cannot test it in depth.
I'm closing the bug as it seems to have been mitigated. If I see the issue still occuring in the future, I'll reopen the bug and add some fresh logs to it.
Thank you for looking into and fixing the issue @Vaskivskyi !!
I hope this plugin will replace the official AsusWRT plugin some day. It's miles ahead already!


Add ci script to deploy machines based on marvin config

This script prepares the infra by simply deploying the VMs. This way we can actually run this in parallel with the maven build, thus saving some time in the total build duration.

nice one!


[Fix #5052] Prevent Style/BracesAroundHashParameters from over autocorrection

Addresses #5052 .
These changes make the autocorrection of Style/BracesAroundHashParameters quite a bit smarter than it was, but still not flawless. This does solve the example from the issue, and goes a few steps further.  Tests highlight its impact.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[ ] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests(rake spec) are passing.
[x] The new code doesn't generate RuboCop offenses that are checked by rake internal_investigation.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.

Hmmmm.
Specifying that Style/BracesAroudHashParameters does solve the case in the linked issue. I also this the change in expectation for this cli_autocorrect test is an improvement.
However, because the autocorrection ignores newlines, this happens.
I'll think about this some. But does anyone have a opinion of how this should be handled? I think the solution is likely to make the autocorrection of this Cop even smarter. The alternative that comes to mind is to write a new EmptyLine cop that enforces this.

Alternative is seeming more correct now.  The below example does NOT appear to register any offenses with default config.
foo(

  bar: 1

)

But does anyone have a opinion of how this should be handled? I think the solution is likely to make the autocorrection of this Cop even smarter. The alternative that comes to mind is to write a new EmptyLine cop that enforces this.

Possibly a combination of both. 🙂 In general, we can't rely on another cop being enabled. Although sometimes adding the additional "smarts" to the first cop means nearly re-implementing another one, which is also not so good. There are no clear lines here, really. I normally suggest something arbitrary like: "If it doesn't add too much complexity, solve it in this cop."
However, it'd be nice to have a separate cop for this in addition. 🙂

@Drenmi - This is ready for review.

CI is red because of the missing docs on master.  Otherwise, this is green and ready for review.

Apart from my small remarks, the changes look good to me. 👍


Link to Besu privacy group information.

Signed-off-by: bgravenorst<EMAIL_ADDRESS>Pull Request Description
Removed outdated privacy group information and link to Besu content instead.
Fixed Issue(s)
Fixes #50

Privacy Group management in Tessera is available for all Quorum clients, not just Besu, hence this documentation is relevant to Tessera clients..


Downloadable recent templates from Submit/Contact page

Description
As a developer, I want to enable users to download a recent template from Submit/contact page.
Acceptance criteria

[ ] solution is discussed and agreed upon
[ ] solution is implemented

Can create a page in WP and upload the most recent templates there. This will need to be changed manually in case the templates have been updated. - This can be a temporary solution until we figure out a new front-end.

Added the metadata link to the page:
https://cms.pdxfinder.org/get-in-touch-with-us/
Is there any additional changes in the text I need to do? @zperova

@zperova could you have a look at the page? If you are happy with it I push it to prod and close this ticket.

@CsabaHalmagyi could you please change the title to "Download templates"? Can it be indicated somewhere that these are excel files, even if in the title and ideally the size of the file? or give an option of excel and tsv file?
For the file names:
metadata_tamplate
sample_metadata_template
cytogenetics_template
mutation_template
CNA_template
fusion_template
expression_template
Thanks!

@CsabaHalmagyi to check with @Afollet on the most recent templates. Moving to the next sprint

Uploaded the templates, the changes are available at:
https://cms.pdxfinder.org/get-in-touch-with-us/
(Initially the cna and expression template were failed to load due to some error in the mime type, so I converted them to xls and then back to xlsx to solve the problem)


Book details - public MVP

Proposed MVP for making the book detail pages public.

All features included here have been tested and accepted.


Sewing Blocking Plan Accepted Order Monitoring Fixing Report

Coverage decreased (-0.03%) to 77.305% when pulling ac9d54970d3d11fa07f50defc81fbdf69a7b5865 on kharissuryandaru:dev into b187d78fde6b02f542b7bcf6441d97d9bc14d626 on danliris:dev.


Upgrade AzCopy to 10.5.0

The motivation for this upgrade is due to an issue where Content-Type is set incorrectly under certain conditions.
From testing out the latest AzCopy version, 10.5.0, I confirmed that this issue is resolved.
From comparision of the code changes between 10.3.1 and 10.5.0, added robustness has been made to the content type inference logic
10.3.1 -> https://github.com/Azure/azure-storage-azcopy/blob/v10.3.1/ste/mgr-JobPartMgr.go#L604-L610
10.5.0 -> https://github.com/Azure/azure-storage-azcopy/blob/8fa65960b481165cfc30e38b16475d397f0d8a9c/ste/mgr-JobPartMgr.go#L610-L624

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

add to S173


Move private modules to -private directory

Any modules that should be hidden from a consuming ember app should be moved to project_root/addon/-private.

Done


Revert "Disable concurrent export"

Reverts alphagov/govuk_publishing_components#1165

Closed in favour of https://github.com/alphagov/govuk_publishing_components/pull/1172


Research embedded PDF viewer options

The following stories refer to displaying an embedded PDF with matches highlighted:

#278
#279
#280
#296

There are a number of embeded PDF viewers we could use for this, but are unsure of the limitations of each and whether they will allow us to meet the requirements stated in the stories.
This task is to research and evaluate the options against these requirements:

Identify JavaScript components that can be used
Build a prototype UI for each component which demonstrates

highlighting text spans that match
etc.

Check out https://mozilla.github.io/pdf.js/

Perhaps a remaining point here could be to check how we distribute the Adobe plugin with our open source frontend code. It might also depend on the license we go with (e.g. MIT).

I have had a look at 3 potential embedded pdf viewer options:
Mozilla PDF.js - This is an open source project, but I found it very difficult to implement any kind of functionality beyond the basics which is simply loading a pdf file on a specified page and navigating to different pages. I was unable to get the search functionality to work which would involve searching for matching text and highlighting it, and navigating through each instance of the match (if more than one). The documentation was very limited. API docs non-existent. Examples of code hard to find and those that I could find were either hard to implement (parts missing, etc) and mostly resulted in errors which I could not make sense of and could not find solutions to. It also doesn't play nicely with ReactJS.
PDF Object - I thought this would be a fully functional independent embed solution, but it really isn't. It simply detects if the browser supports embedded pdf viewers and offers the possibility to show a fallback if it doesn't. The more important functionality would still be dependent on another tool such as PDF.js.
Adobe PDF Embed API - This was by far the best and easiest to implement. It is very well documented https://developer.adobe.com/document-services/docs/overview/pdf-embed-api and has a lot of very useful code examples: https://github.com/adobe/pdf-embed-api-samples I was able to implement the search functionality which highlights the search terms and then you can navigate through each instance. The API provides a lot of flexibility with regards to the features we are wanting. The only limitation I found was that it doesn't allow for searching and highlighting more than one set of search terms at one time, but as suggested in my demo, a drop down of different matches within the document could be utilised as a solution to this.


Support libdl.so.2

Description
Right now, PosixNative uses "libdl". If this client is used on newer Linux systems, the file libdl.so won't exist because it has been replaced with a newer version named libdl.so.2.
Therefore, unless we create a symlink or manually install libc6-dev, this client will not be able to import librdkafka components.
Solution
Maybe try loading libdl.so.2 first, and if that fails, then fall back to libdl?
How to reproduce
Check if you have /usr/lib/x86_64-linux-gnu/libdl.so.2. Architecture might differ,
Checklist
Please provide the following information:

[ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
[ ] Confluent.Kafka nuget version.
[ ] Apache Kafka version.
[ ] Client configuration.
[ ] Operating system.
[ ] Provide logs (with "debug" : "..." as necessary in configuration).
[ ] Provide broker log excerpts.
[ ] Critical issue.

It turns out that the Library.Load method didn't work as expected on x64 specifically. I had both the librdkafka.redist package and Library.Load, but for some reason, Library.Load didn't recognize that the runtime DLL from librdkafka.redist needed for Kafka was present. Instead, it assumed the DLL wasn't there and attempted to load the DLLs manually.
The solution for me was to remove the Library.Load call while keeping the reference to librdkafka.redist.


Add Fetch example

thx @FluorescentHallucinogen

@nicolasgarnier did you check if this works in the browser? Just confirming that COR's isn't an issue.

Not on a browser nope. But it seems that this is always inteded to run server side (you do pass the Server Key in there). right?

Fetch isn't available in node - you have to pull in a seperate module to enable fetch.

this is always inteded to run server side
Fetch isn't available in node

Who says that this must be only a server-side (back-end) app? And why only Node.js? :)
Admin panel (that extracts subscription IDs from database and trigger push messages to them) can be front-end browser app (e.g. Polymer web app with PolymerFire).
All is required that is private key (also as well as subscription IDs list) must be kept secret.
The admin panel can be protected with a login check or not publicly available (e.g. not hosted anywhere).

Just confirming that COR's isn't an issue.

Regarding CORS: I've checked to run this code on HTTPS served page and it works like a charm!

@FluorescentHallucinogen all sounds good - but we need to cater for the primary case and your example does not include any of those details.
Generally I feel like this being a recommendation airs of the side of dangerous - safe if the admin page is secure, but any way of getting around that at the private key will be out in the open.
@nicolasgarnier I'd suggest reverting this change.

@gauntface, @nicolasgarnier
Both, Fetch and cURL examples from README.md are only for client-side testing purposes (just to make sure that all work), not for production use. But if you use Fetch, you don't need find, install and use additional software — cURL command-line tool (e.g., Windows OS has no cURL pre-installed), all you need is a browser.

Sadly none of that is referenced in the readme and as I said - it's not something the FCM team would like to encourage.


fix typo

Fix install.sh file
./install.sh: line 269: syntax error near unexpected token 'else'
Description

I changed install.sh file typo for aarch64 support

Type of change

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

Checklist

[x] My code follows the contribution guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I formatted the code with cargo fmt
[x] I checked my code using cargo clippy and reports no warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have introduced no new C-bindings
[x] The changes I've made are Windows, MacOS, UNIX, Linux compatible (or I've handled them using cfg target_os)
[x] I increased or maintained the code coverage for the project, compared to the previous commit

Acceptance tests
wait for a project maintainer to fulfill this section...

[ ] regression test: ...

thank you very much


Fetching WebID during setup gives HTML representation instead of RDF

When doing the setup with an existing WebID I get the error
Failed to find targeted script id "me"

My WebID is https://pieterheyvaert.com/#me.
This could happen because the HTML representation is fetched (without RDF) instead of Turtle or N-Quads.

The actual HTTP call happens at https://github.com/solid/community-server/blob/81e76948450af0df9b6b45a4ece2d3c1755f4101/src/util/FetchUtil.ts#L29
We should add accept headers there to ask for an RDF serialization (or force users to have RDFa if they expose HTML I guess).
If we do add accept headers I was thinking of changing the fetchDataset utility function to a DatasetFetcher class that takes as parameters a converter and the required accept header values.

I see that https://pieterheyvaert.com/#me is present in the HTML source, however.
Are we using https://github.com/rubensworks/rdf-dereference.js/ for RDF fetching and parsing? We likely should, right, @rubensworks?

Yeah I added that afterwards as a workaround.

Indeed, rdf-dereference could fix the problem.
Let me share a transcript of our Mattermost discussion this morning around this topic:
rtaelman
08:42

Ah yeah, you'll need a mechanism to first ask for the available media types that the RepresentationConverter can handle, and build your accept header based on that.

08:43
Comunica's RDF dereference actors do that, so feel free to steal that. Or you could use rdf-dereference, which should already take care of that.

jvherweg
08:45
asking types from the converter would be a bit annoying, but it would be nice if we could reuse the internal converter instead of having to use a different one

I am taking a look at this, but can't really reproduce. @pheyvaer Could you explain how I can reproduce the error?

From the top my head it would be

Host a WebID somewhere at for example http://example.com/#me.
Support content negotiation for this WebID.
Return RDF when asking for Turtle and N-Triples.
Return HMTL (without RDF) as default (or when asking for HTML).
Do the setup with that WebID.

Well "fixed" is a maybe not the best word here. I added my RDF also to the HTML, just to get things moving, but I think the idea is to better handle this looking at the last comment from Ruben T.

I did'nt mean fix this issue, just checking if I could use your WebID to debug this, but I will have to setup something on my own then.

@Falx Post what you have in a draft PR? We might be able to help out.

Done in #1153, will be part of v3.0.0

Somehow it doesn’t work with https://pietercolpaert.be/#me and I cannot find why. Could I ask a bit of help? @joachimvh

When requesting your WebID the rdf-dereference library fails with Failed to find targeted script id "me". Comparing with the WebID of @pheyvaer yours has id #me while it should probably be me.

Okay, that worked. No idea why the id="me" is necessary though: would you?

No idea why the id="me" is necessary though: would you?

Since https://pietercolpaert.be/#me is being requested, the parser will look for a targeted script tag, as defined by the JSON-LD spec: https://www.w3.org/TR/json-ld/#locating-a-specific-json-ld-script-element


[CLOSED] Import dsu

 Issue by scraperdragon
Wednesday 24 September 2014 at 15:20 GMT
Originally opened as https://github.com/alphagov/specialist-publisher/pull/261

Not finished, but useful for demonstrating current state to people from MHRA.

scraperdragon included the following code: https://github.com/alphagov/specialist-publisher/pull/261/commits

 Comment by evilstreak
Thursday 25 September 2014 at 10:31 GMT

It looks like we're not doing validation of the body (using the safe HTML validator) during the import which will mean those problems won't be caught until we try to publish the document.


Change broken link to docs

Changed the link to Pagar.me's docs.
It was http://pagar.me/docs, returning 404 error.
Changed to https://docs.pagar.me/, right link.

Coverage remained the same at 100.0% when pulling 31afb24d29bf9b6c238929029e8384abdd72dea3 on fix-change-docs-link into d99dee07ad4ee10120564ddf9c2a342f767abc0c on master.


Fix a minor issue to avoid having undefined as a class name for the pico-close DOM object

Hi,
I just fixed a minor issue to avoid having undefined as a class name for the pico-close DOM object.
Best regards
Erwan

There were the following issues with your Pull Request

Commit: a88a2e936524e9bae14026d7210195e6a5b7eaee
Your subject line is longer than 72 characters

This message was auto-generated by https://gitcop.com

I updated the title of the pull request, to be inline by the 72 characters limitation.

Thank you for the contribution! I updated the commit message and merged this in


[RFC] When trying to load yamls, we would like to load .local.yaml files last and auto-merge keys

Is your feature request related to a problem? Please describe.
We are trying to replace https://github.com/seandst/yaycl usage with Dynaconf and yaycle has a feature where it lets you have yaml files with 2 types:

file.yaml
file.local.yaml
When you load the yamls from your conf directory, yaycl loads both files and key-value pairs from .local.yaml file would override values from .yaml in the AttrDict that is loaded finally

Describe the solution you'd like
I'd like to have similar ability in the Dynaconf
Describe alternatives you've considered
Tried using dynaconf_merge and dynaconf_merge_unique options as Bruno suggested but didn't work.
Additional context
This, according to my team lead, is a common practice to have filename.local.yaml file that can override values in filename.yaml file where filename is same.

There are couple of possible solutions:
In the load_file(https://github.com/rochacbruno/dynaconf/blob/master/dynaconf/base.py#L872) method :

If I modify the sorting order to reverse sort the files as follows:
for path in sorted(glob.glob(filepath), reverse=True):
that loads the .local.yaml files at last giving us what we need. Although not sure if this is a good solution.
We can, otherwise, pass INCLUDES_FOR_DYNACONF as follows:

INCLUDES_FOR_DYNACONF=['conf/*.yaml', 'conf/*.local.yaml'],
That will load the .local.yaml files after .yaml files, but for that we need to update the if statement on dynaconf/base.py#L902 to look like:
if path in already_loaded and '.local.' not in path:
That way we continue to load the local.yaml file properly. This way, .local.yaml is loaded last and it properly overrides the values from .yaml files. And also merges the dicts.

Or we can read paths, and filter out .local. paths as follows so that they are loaded last:

paths = [p for p in sorted(glob.glob(filepath)) if '.local.' not in p]
local_paths = [p for p in sorted(glob.glob(filepath)) if '.local.' in p]
# Handle possible *.globs sorted alphanumeric
for path in paths + local_paths:
    self.logger.debug("Loading %s", path)
    if path in already_loaded:  # pragma: no cover
        self.logger.debug("Skipping %s, already loaded", path)
        continue
    settings_loader(
        obj=self,
        env=env,
        silent=silent,
        key=key,
        filename=path,
    )
    already_loaded.add(path)

To me, option 3 feels the least disruptive and should work for any file formats. @rochacbruno what you think?

First part covered by #239
Auto merging of files will be covered by #241


Suggestion: Notification on Auto-run toggle

Don't know if it's present in newer versions as I play on 1.19.2 but was wondering if you could add a simple Auto-Run ON/OFF text on the action bar so you know when it's enabled or even some sort of icon to show it's enabled :) this mod is the only automove mod I could find working for my version and it's been super nice especially on boats and other things etc. Would love to see config options and maybe other features.

Added in v1.0.0. Now shows a client-side text in chat. Might revisit this in the future and make it look a little nicer. Perhaps with a subtle icon on the hotbar or crosshair (similar to the attack recharge)


How about GPT-4 API support?

docs: https://platform.openai.com/docs/models/gpt-4

GPT-4 support  would be great

This is already merged in #52 and I can confirm it works with GPT-4 (use model: .other("gpt-4"))

I cannot get gpt-4 to work, do I need another key for that?

Haven't been able to get a GPT-4 call using model: .other("gpt-4")  to succeed no matter what combo of other params I try. Can anyone share what call / params are working for you? Thanks!

I have GPT4 access. I think I read that anyone paying for ChatGPT Plus ? ($20/mth) will be getting API access to 4 now.


chore(datepicker): is mutating date object in day picker

Fix
Date picker should not mutate Date object
It should return new Date instance on each date change in day picker
by @valorkin

Click by day has no effect on model. Only works when you select month or year.

@kraikill datepicker is working, but it mutates Date object in day picker part
it should be fixed

@edinfazlic so this issue is about mutating date object by using it methods
like set day or year
each time date is changed new instance of Date object should be returned
in simplest case return new Date(date)

Created PR. Let me know what you think.