Multiple ServiceConnectorCreators for one ServiceInfoCreator

Hi,
I have an issue having multiple ServiceConnectorCreators for one ServiceInfoCreator, where only one of the two ServiceConnectorCreators is registered as a bean and accessible using the @Autowired annotation. For the second, I need to create a bean manually. The interesting thing is, that the order of the entries in the file META-INF/services/org.springframework.cloud.service.ServiceConnectorCreator decides, whether the entry is accessible or not. In my case only the first entry is accessible.
The reason I wan't to create two ServiceConnectorCreators for one ServiceInfoCreator is that I have a CloudFoundry service that exposes two different interfaces within one service definition. (administration interface and a data access interface)
Example
CloudFoundry VCAP_SERVICE example
{
   "AdminAndDataAccessService": [
      {
          "name": "example",
          "label": "",
          "plan": "Free",
          "credentials": {
             "username": "exampleUser",
             "password": "examplePassowrd",
             "managementUrl": "http://example.com/mgmt",
             "dataAccessUrl": "http://example.com/data"
          }
      },
   ]
}

File org.springframework.cloud.service.ServiceConnectorCreator

[...]
com.acme.AdminInterfaceCreator
com.acme.ClientInterfaceCreator

File org.springframework.cloud.cloudfoundry.CloudFoundryServiceInfoCreator

[...]
com.acme.AdminAndDataAccessServiceInfoCreator

Resulting behavior
Only the AdminInterface is accessible using the @Autowired annotation, the ClientInterface is not. If the order of the entries is reversed the ClientInterface gets accessible and the AdminInterface isn't.

@daniel-bub Apologies for the delayed response to this question.
The solution to your problem is to create two different ServiceInfo objects (e.g. ClientServiceInfo and AdminServiceInfo) and populate them from a single ServiceInfoCreator class, parsing from a single VCAP_SERVICES entry. You can do this by having your ServiceInfoCreator extend CloudFoundryServiceInfoCreator<BaseCompositeServiceInfo>, where BaseCompositeServiceInfo is a subclass of ServiceInfo created for this purpose.
You can then create a ServiceConnectorCreator for each of the ServiceInfo classes.
You can see an example of this being used in the PHD extension for Connectors, which has this same requirement.
In particular, see the PhdServiceInfoCreator code here: https://github.com/pivotal-cf/spring-cloud-phd-connector/blob/master/spring-cloud-phd-cloudfoundry-connector/src/main/java/io/pivotal/spring/cloud/cloudfoundry/PhdServiceInfoCreator.java#L26-L36.

@daniel-bub I'm going to close this issue pending your testing of the advice above. If that approach doesn't work for you, feel free to re-open the issue.


Upgrade cli dependency

Fixes #7

We might want to configure dependabot in the boilerplate to be sure we have to latest version always


Reasearch possible front ends

Pros and cons of implementing front end for Teams (Node.js), SNOW Virtual Agent, Flask/React?
Should multiple be considered?

Functionality to be required...

Textbox to type to agent

choice for report type?

Creating reports (only admins/equivalent)


Move ReplicationMessage into a separate module

We will have more messages and I don't want to make server huge.
Sorry for the lot of small changes, but I trying to reduce the diff for the upcoming rework.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d9e7b54) 89.83% compared to head (59727d8) 91.16%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #118      +/-   ##
==========================================
+ Coverage   89.83%   91.16%   +1.32%
==========================================
  Files          15       16       +1
  Lines         905      905
==========================================
+ Hits          813      825      +12
+ Misses         92       80      -12

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[QUERY] Should CancelAutoRenewLock also cancel pumpCancellationToken?

Can someone explain why CancelAutoRenewLock in MessageReceivePump only cancels renewLockCancellationToken? It stops renewing the message and it is released but the cancellation token in onMessageCallback is never triggered so the message handler never knows that the message has been effectively cancelled.
Should the message handler essentially track it's own lifetime and cancel on it's own or are there ways to work around this?

@Homulvas thanks for letting us know - we are going to have a look at this

@Homulvas, this is by design. The token is cancelled only when the client is closed.
There's another issue which is tracking the same feature request - https://github.com/Azure/azure-sdk-for-net/issues/12461.
Kindly use that for tracking purposes.


Add reverse option in config file

This commit moves reverse boolean argument in config file.
Tested the changes successfully.

Thanks for the patch..could you please use config for the extensions as well in the same commit or different commit in the same PR?

Ohh right, we have extensions as well. Ok I will try to fit it in this commit.

Thanks for the patch..could you please use config for the extensions as well in the same commit or different commit in the same PR?

Ohh right, we have extensions as well. Ok I will try to fit it in this commit.

Looks like args.extension is consumed in many places. I will push separate commit for it.

Thanks for the patch..could you please use config for the extensions as well in the same commit or different commit in the same PR?

Ohh right, we have extensions as well. Ok I will try to fit it in this commit.

Looks like args.extension is consumed in many places. I will push separate commit for it.

OK you could push in the separate PR.


Keyboard on iOS flashes when switching between obscured and non-obscured TextFields

This issue was originally tracked here https://github.com/flutter/flutter/issues/64628 and seemingly fixed by https://github.com/flutter/engine/pull/20805.
While the crash was fixed with this PR, there is still a strange issue that causes a flickering when switching between a TextField which has isObscure set to true and another TextField with isObscure set to false.
After some testing with the engine, the delay added in https://github.com/flutter/engine/pull/20805 causes the autofill suggestion bar to reset, triggering two quick keyboard animation show events.
https://user-images.githubusercontent.com/11463426/117580317-68e7ce00-b0c5-11eb-8b4a-c889587701b6.mov
Originally posted by @tobycaulk in https://github.com/flutter/flutter/issues/64628#issuecomment-835843556

@CoolDude53
There's similar issue open describing this case, so please follow-up in it for further updates.
Closing this as a duplicate.


Install apps or packages?

Is there any way to install apps apart from Chrome's Web Store or at least Linux packages like libcec etc?

apologies, that falls outside of Chromium OS


Fix users not created stats query

Codecov Report

Merging #644 (70d9c8e) into master (0d73ef2) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##             master    #644   +/-   ##
========================================
  Coverage      5.17%   5.17%
  Complexity     2348    2348
========================================
  Files           173     173
  Lines         11641   11641
========================================
  Hits            603     603
  Misses        11038   11038

Impacted Files
Coverage Δ
Complexity Δ

includes/Pages/Statistics/StatsUsers.php
0.00% <0.00%> (ø)
9.00 <0.00> (ø)

Continue to review full report at Codecov.

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


Retention Policy Agent Deployment Name is inconsistent

Retention Policy Agent Deployment name is:
tekton-results-tekton-results-retention-policy-agent

This is inconsistent with other names. And tekton-results is being repeated.

/assign @khrm

/kind cleanup

/closed

Resolved by https://github.com/tektoncd/results/commit/925ce6db7e5eaf981f24ca45ccab46e280c26284


Removing fluent interface from DROOLS kie api

removed deprecated fluent interface.

https://github.com/apache/incubator-kie-drools/pull/5923


Dark mode not functioning as expected.

Describe the bug
When dark mode is enabled, on loading a new route dark mode gets disabled.
To Reproduce
Steps to reproduce the behavior:

Go to ''https://blogsite321.herokuapp.com/"
Click on 'dark mode button'
click on home tab
See switched to light mode.

Expected behavior
Dark mode should persist on switching routes.

This is happening because we are not logging in, there is no session to save your current details. We'll work on a sign-up and log-in system and then we'll be able to store your current state of the website. Right now every time you open a new route, it renders like you just opened the website. Hope this clears your doubt, this is one feature that will come soon. I am closing this issue for now, re-open the issue if any other query.


sap_swpm - grep returns return code 1 if no match

Hi,
I tried to install SAP Content Server 6.5 using the sap_swpm role.
The role checks for des25 strings in the inifile.params and produces an error:
TASK [community.sap_install.sap_swpm : SAP SWPM inifile_reuse mode - Check inifile for des25] **********************************************************
fatal: [sapcsdap1]: FAILED! => changed=false
  cmd: set -o pipefail && cat "/tmp/ansible.gnncas99swpmconfig/inifile.params" | grep des25 | wc -l
  delta: '0:00:00.006686'
  end: '2023-04-14 13:09:59.649851'
  msg: non-zero return code
  rc: 1
  start: '2023-04-14 13:09:59.643165'
  stderr: ''
  stderr_lines: <omitted>
  stdout: '0'
  stdout_lines: <omitted>

This seems to be caused by the rc of the grep command. If it finds no matches it returns 1. This is the task that checks it:
# Check inifile for des25
- name: SAP SWPM inifile_reuse mode - Check inifile for des25
  ansible.builtin.shell: set -o pipefail && cat "{{ sap_swpm_tmpdir.path }}/inifile.params" | grep des25 | wc -l
  register: sap_swpm_inifile_read_file
  changed_when: false
  tags: sap_swpm_generate_inifile

Here I demonstrate the issue:
[root@sapcsdap1 ~]# set -o pipefail && cat "/tmp/ansible.gnncas99swpmconfig/inifile.params" | grep des25 | wc -l
0
[root@sapcsdap1 ~]# echo $?
1

The next task in the role checks on the output of the grep command which is oke. But with nothing found it will not get there.
I created the following fix/workaround by adding the ignore_errors flag.:
# Check inifile for des25
- name: SAP SWPM inifile_reuse mode - Check inifile for des25
  ansible.builtin.shell: set -o pipefail && cat "{{ sap_swpm_tmpdir.path }}/inifile.params" | grep des25 | wc -l
  register: sap_swpm_inifile_read_file
  changed_when: false
  tags: sap_swpm_generate_inifile
  ignore_errors: True

@slubb The expected behaviour when using sap_swpm_ansible_role_mode: inifile_reuse is to check for des25 as any reused inifile.params will contain hashed passwords.
As an example:
###############
#                                                                                #
# Installation service 'SAP S/4HANA Server 2021 > SAP HANA Database > Installation > Application Server ABAP > Distributed System > ASCS Instance', product id 'NW_ABAP_ASCS:S4HANA2021.CORE.HDB.ABAP' #
#                                                                                #
###############
# IMPORTANT DO NOT DELETE!!! SAPInstDes25Hash=$8yxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# Master password
NW_GetMasterPassword.masterPwd = des25(xxxxxxxxxxxxxxxxxxxxxxxxxxxx)

Yes, I understand. However if the grep doesn't find it, which is the expected behavior, it should not fail. The next step is in place to fail when des25 strings are found. Only then it should fail right?
# Check if inifile is reusable
- name: SAP SWPM inifile_reuse mode - Check if inifile is reusable
  ansible.builtin.fail:
    msg: "{{ sap_swpm_inifile_reuse_source }} is not reusable"
  when: sap_swpm_inifile_read_file.stdout != '0'
  tags: sap_swpm_generate_inifile

Good stuff. We will try to update to newer version in coming months. 👍


Create PUT Endpoint - Art restorer Entity

Create a PUT Endpoint in order to modify one Art restorer completely from Database

Enpoint Created!


dust: init at 0.2.3

Motivation for this change
Recently having been featured on lobste.rs frontpage I was motivated to add dust to nixpkgs. It's a very simple CLI that outputs disk usage for a directory like this:
djin:git/dust> dust
  65M  .
  65M └─┬ ./target
  49M   ├─┬ ./target/debug
  26M   │ ├─┬ ./target/debug/deps
  21M   │ │ └── ./target/debug/deps/libclap-9e6625ac8ff074ad.rlib
  13M   │ ├── ./target/debug/dust
 8.9M   │ └─┬ ./target/debug/incremental
 6.7M   │   ├─┬ ./target/debug/incremental/dust-2748eiei2tcnp
 6.7M   │   │ └─┬ ./target/debug/incremental/dust-2748eiei2tcnp/s-ezd6jnik5u-163pyem-1aab9ncf5glum
 3.0M   │   │   └── ./target/debug/incremental/dust-2748eiei2tcnp/s-ezd6jnik5u-163pyem-1aab9ncf5glum/dep-graph.bin
 2.2M   │   └─┬ ./target/debug/incremental/dust-1dlon65p8m3vl
 2.2M   │     └── ./target/debug/incremental/dust-1dlon65p8m3vl/s-ezd6jncecv-1xsnfd0-4dw9l1r2th2t
  15M   └─┬ ./target/release
 9.2M     ├─┬ ./target/release/deps
 6.7M     │ └── ./target/release/deps/libclap-87bc2534ea57f044.rlib
 5.9M     └── ./target/release/dust

Since like on crates.io, the name dust is already taken in nixpkgs, I'm using du-dust as the package attribute instead, as is also the case for dust's 0.2.3 release.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build du-dust

Success on aarch64-linux (full log)
Attempted: du-dust
Partial log (click to expand)
cp: -r not specified; omitting directory 'target/release/native'
cp: -r not specified; omitting directory 'target/release/deps'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/r5rphzrj5878k231ri8a2yrg7dyj55k5-dust-0.2.3
shrinking /nix/store/r5rphzrj5878k231ri8a2yrg7dyj55k5-dust-0.2.3/bin/dust
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/r5rphzrj5878k231ri8a2yrg7dyj55k5-dust-0.2.3/bin
patching script interpreter paths in /nix/store/r5rphzrj5878k231ri8a2yrg7dyj55k5-dust-0.2.3
checking for references to /build in /nix/store/r5rphzrj5878k231ri8a2yrg7dyj55k5-dust-0.2.3...
/nix/store/r5rphzrj5878k231ri8a2yrg7dyj55k5-dust-0.2.3

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: dust
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Fwiw tree --du or so produces something similar. But that doesn't mean dust isn't welcome!

Success on x86_64-linux (full log)
Attempted: du-dust
Partial log (click to expand)
cp: -r not specified; omitting directory 'target/release/.fingerprint'
cp: -r not specified; omitting directory 'target/release/build'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/jw231h5l94cfirn61dm0x2nqgxhqfbbl-dust-0.2.3
shrinking /nix/store/jw231h5l94cfirn61dm0x2nqgxhqfbbl-dust-0.2.3/bin/dust
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/jw231h5l94cfirn61dm0x2nqgxhqfbbl-dust-0.2.3/bin
patching script interpreter paths in /nix/store/jw231h5l94cfirn61dm0x2nqgxhqfbbl-dust-0.2.3
checking for references to /build in /nix/store/jw231h5l94cfirn61dm0x2nqgxhqfbbl-dust-0.2.3...
/nix/store/jw231h5l94cfirn61dm0x2nqgxhqfbbl-dust-0.2.3

Success on x86_64-linux (full log)
Attempted: dust
Partial log (click to expand)
these paths will be fetched (0.96 MiB download, 5.25 MiB unpacked):
  /nix/store/c1b7hpnvyc3byy1cmjcmhmg03sq4v0sd-dust-0-91
  /nix/store/d3g21225c9cc18bys5d35f1djq502na0-pixie-0-r1364-jit
copying path '/nix/store/d3g21225c9cc18bys5d35f1djq502na0-pixie-0-r1364-jit' from 'https://cache.nixos.org'...
copying path '/nix/store/c1b7hpnvyc3byy1cmjcmhmg03sq4v0sd-dust-0-91' from 'https://cache.nixos.org'...
/nix/store/c1b7hpnvyc3byy1cmjcmhmg03sq4v0sd-dust-0-91


The debug adapter exited unexpectedly

If you force kill the python process, you get this message box in VS.

Also reported at https://developercommunity.visualstudio.com/content/problem/275844/python-debug-adapter-exited-unexpectedly.html


[Feature Request]: add count up animation to the number stats on the creators page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
i will add count up animation to the creators page
Use Case
i will make the ui more visually appealing

please assign this issue to me @4darsh-Dev
Benefits
No response
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a WOB contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

Hi @AyushSharma72 , I have assigned this task to you. Kindly complete within 2 days. Also add a 30 sec demo video. Good luck!

Gentle Reminder 🚨🚨
GSSoC-Ext 24 is going to complete in 2 Days. '
Complete your assigned Issues and PR reviews before time to get Points on Leaderboard. '
It was a great experience working with you all, Don't forget to ⭐ star the Repo (only 12 with 62 forks 💔) .
Thanks💗 for your valuable contributions!

Gentle Reminder 🚨🚨
PA and Mentor nominations have been started for GSSoC-Ext 2k24. '
Do share your experiences and connect on Socials. '
It was a great experience working with you all
Thanks💗 for your valuable contributions!


feature/mulithreading-changes

found a 10 - 15% performance gain by removing the current queue + multithreading approach and leaning harder on the scheduler built into Julia using a cooperative multitasking strategy.
Additionally, the amount of code to get this working allowed me to completely remove the StreamUtil module, some state variables, and type definitions in favor of a single function - which makes it much easier to maintain.

Hi @JanisErdmanis,
I have tested both approaches locally on my laptop with Julia 1.6 and 1.10 and found either the same or better performance with these changes. The results of this test almost feel too good to be true which makes me a bit hesitant.
What do you think?

Hi @ndortega
Sorry, I did not see the message. I am unfamiliar with the parallelism internals and don't yet use them; thus, I can't comment on the performance. But I am happy that there is such a feature and may find it helpful in the future. For now, I can only offer some ideas to consider:

serve and serveparallel have very similar functional structures and almost the same kwargs. Perhaps it would be wise to combine them into a single serve where parallelism can be enabled with a keyword argument.
It looks very strange and cumbersome to have so many kwarg arguments to startserver, for which closure is also passed. I would suggest to put startserver function body into serve.

I am rather busy and can't help with coding.

Hi @JanisErdmanis,
I'm glad you brought up that point about the shared History object. I've used a ReentrantLock to make writing and reading from the history object completely threadsafe. That being said, I'll need to look into memorizing the metrics outputs since these calculations can take a while when there's hundreds of thousands of requests and we call the metrics endpoint on an interval

That being said, I'll need to look into memorizing the metrics outputs since these calculations can take a while when there's hundreds of thousands of requests and we call the metrics endpoint on an interval

You could look into implementing a function merge!(history, thread_1_history) which perhaps can be made fast. I don't think that there should be concern about making the metrics dashboard fast yet as this could complicate matters.
An alternative to using ReentrantLock which may imply switching between threads is to run the metrics on a single thread only and do the paralelization after that. Now your handler schematically is paralelizer(metrics(router)) but it could be beneficial to rewrite it as metrics(paralelizer(router)) as then you would no longer need to use a ReentrantLock which should be faster as it does not need synchroniation between tasks.

@JanisErdmanis
I liked the idea of dropping the ReentrantLock and writing it like metrics(paralelizer(router)). I reafactored the code to not use any locks and only exclude docs and metrics middleware from getting wrapped with the parallel handler.
Now that the main thread was used for docs & metrics middleware exclusively - I had to make the metrics endpoint was asynchronous in order to prevent the app from halting when viewing the metrics under heavy load. Even after these changes I was surprised to see a 2x slowdown in RPS on my laptop between this approach and the ReentrantLock approach.
If you're curious and want to view this code let me know and I'll push that branch

I was surprised to see a 2x slowdown

This is unexpected. I wonder if it could be due to tasks also being scheduled on the main thread which could slow it down. Push the code on the branch, I may have a look.

Sure thing, here's the branch I was working out of: https://github.com/OxygenFramework/Oxygen.jl/tree/feature/multi-threading-experimental-changes

Yeah. I suspect that the performance drop is due to tasks being spawned on the primary thread. I guess that additional computation with metrics may have affected some fairness policy in the scheduler so the main thread gets to host other threads tasks.
You may find interesting to explore ThreadPools.jl.

Exactly, it won't be worth making this refactor until I speed up the metrics calculations. This shouldn't be too difficult since the helper utils are all very similar.
Out of the 7 metrics returned:

3 of these metrics iterate over the entire history
4 of these metrics iterate over the same filtered part of the history

Possible Next Steps:

Break these metrics into two groups with a loop each to
Combine these two sets of metrics so it only uses a single loop to calculate all these metrics
Implement a memo table to store previous calculations, if done well I may not even need to do either of the points above


Update HOW-TO-ADD-DEMO.md to fix #136

Description
Made minor edits in HOW-TO-ADD-DEMO.md
Fixes #136
Type of change
Please delete options that are not relevant.

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

@all-contributors please add @vaibhav-if  for Doc


Incorporate Force of Hand Seed / Cookie lookup.

Basically talking about adding this in some way as a feature:
http://fthof-planner.s3-website.us-east-2.amazonaws.com/

(I don't know how to label this as enhancement)

I label it.  I already wrote the code to do this technically, my issue is that it may be too cheaty, but I'm leaning towards adding it and have it disabled by default.

I'd love this to be added (if disabled by default), and I'd also like some other parts to be toggleable as well (mainly those that have since been added as heavenly upgrades, such as golden cookie/reindeer sounds and wrinkler cookies digested)

Those are already in settings...

oh right
i feel super dumb right now
On Sat, Oct 27, 2018 at 9:02 PM Aktanusa<EMAIL_ADDRESS>wrote:

Those are already in settings...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Aktanusa/CookieMonster/issues/226#issuecomment-433670028,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGl5s3tGsxLC5OGkXhoSYr4pthN0702Uks5upRBCgaJpZM4X9tMs
.

By the way, the Wrinkler cookie display is different, I show what you get on pop, the game shows what was eaten.  Those numbers are different as there may be a bonus on popping.

This is already implemented by some of the more "cheaty" mods


Problem with sending client data from a physical device

Hey Devin,
One other question for you - the context I'm working in has a macOS app that will act as a server, and an iOS app that will act as a client.
In the mac app, I have the following code for creating an OSC server:
server = OSCServer(address: "", port: 8080)
server.delegate = self
server.start()

And implemented the delegate method for receiving OSC messages:
    func didReceive(_ message: OSCMessage) {

        receivedMessage = message

        print(receivedMessage)
   }

On the iOS side, I have the following code for setting up an OSC client:
client = OSCClient(address: "localhost", port: 8080)
let message = OSCMessage("some message")
client.send(message)

However, for whatever reason; that delegate method is not being called at all when I'm sending information from the iOS app to the macOS app.
I also tried replacing the client's address variable with the IP address of the iPhone, but that didn't work either.
Anything I'm missing?
EDIT I fixed part of the problem as far as the delegate method (a simple mistake on my end); so I'm now able to send receive messages on my mac app from an iOS client.
However, for whatever reason; I'm not able to do that when running the iOS app on a physical device.

Also, the iOS version I'm running is 12.0.1

For the client you need to put in the IP address of where you’re sending. By using localhost or the iPhone’s IP address it’s sending the data to itself. Put in the IP address of the Mac and it should be working correctly.

On Oct 29, 2018, at 12:59 PM, Nick Arner<EMAIL_ADDRESS>wrote:
Hey Devin,
One other question for you - the context I'm working in has a macOS app that will act as a server, and an iOS app that will act as a client.
In the mac app, I have the following code for creating an OSC server:
server = OSCServer(address: "", port: 8080)
server.delegate = self
server.start()
And implemented the delegate method for receiving OSC messages:
func didReceive(_ message: OSCMessage) {

    receivedMessage = message

    print(receivedMessage)

}
On the iOS side, I have the following code for setting up an OSC client:
client = OSCClient(address: "localhost", port: 8080)
let message = OSCMessage("some message")
client.send(message)
However, for whatever reason; that delegate method is not being called at all when I'm sending information from the iOS app to the macOS app.
I also tried replacing the client's address variable with the IP address of the iPhone, but that didn't work either.
Anything I'm missing?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/devinroth/SwiftOSC/issues/28, or mute the thread https://github.com/notifications/unsubscribe-auth/AMaIEb7pFnlC4VHqpa6OjYuuUM9kK-F3ks5up14sgaJpZM4YAGOI.

Ok, I tried setting the client (iPhone)'s IP address to be that of the Mac I'm trying to send too:
    var ipAddress:String = "<IP_ADDRESS>"
    var port:Int = 8080

However, still having the same issue where the didReceive delegate function isn't getting called for some reason.

Ahh - I figured it out (not a framework issue but something else)...I had been trying to use the IP address from typing "what's my IP address" into Chrome.
However, it worked great when actually using the IP gotten from looking at the Systems Preferences.

Yup that would do it. Glad you figured it out.

On Oct 30, 2018, at 10:47 AM, Nick Arner<EMAIL_ADDRESS>wrote:
Ahh - I figured it out (not a framework issue but something else)...I had been trying to use the IP address from typing "what's my IP address" into Chrome.
However, it worked great when actually using the IP gotten from looking at the Systems Preferences.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/devinroth/SwiftOSC/issues/28#issuecomment-434400089, or mute the thread https://github.com/notifications/unsubscribe-auth/AMaIEYuOvdbgzAYexPKvV2oNIdryv6zkks5uqJC-gaJpZM4YAGOI.


eksctl: 0.151.0 -> 0.153.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/weaveworks/eksctl/releases.
meta.description for eksctl is: A CLI for Amazon EKS
meta.homepage for eksctl is: https://github.com/weaveworks/eksctl
Updates performed

Golang update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.153.0 with grep in /nix/store/vnlz3skzyndiyy34p2qcrsmd3mmgmdsv-eksctl-0.153.0
found 0.153.0 in filename of file in /nix/store/vnlz3skzyndiyy34p2qcrsmd3mmgmdsv-eksctl-0.153.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
eksctl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vnlz3skzyndiyy34p2qcrsmd3mmgmdsv-eksctl-0.153.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A eksctl https://github.com/r-ryantm/nixpkgs/archive/5d10258ef141348944da95f62d701a612fbbed37.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vnlz3skzyndiyy34p2qcrsmd3mmgmdsv-eksctl-0.153.0
ls -la /nix/store/vnlz3skzyndiyy34p2qcrsmd3mmgmdsv-eksctl-0.153.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

eksctl

Maintainer pings
cc @xrelkd @Chili-Man for testing.

Ofborg completed with errors, so I am not going to merge

@GrahamcOfBorg eval


Mode system

updated to work under https://github.com/neo-project/neo-modules/pull/709
This pr implements neo-project/neo-node#863
Mode system is intended to help developers to save and load neo node configurations.

cli provides some default settings, such as mainnet, testnet, private net. Maybe Oracle net and FS net in the future.
user can load from these default settings.
user can have their own node setttings and save them as a mode
user can delete existing modes
if no mode is assigned from the console, load mainnet
Does not support runtime mode switch.

mainnet mode:
dotnet neo-cli.dll /mode mainnet

testnet mode:
dotnet neo-cli.dll /mode testnet

privatenet mode:
dotnet neo-cli.dll /mode privatenet

when user load into the privatenet mode, a single node blockchain network will be setup with the default primary account NbVj8GhwToNv4WF2gVaoco6hbkMQ8hrHWP. Please note that the secret key of this account is publicly available to everyone,
do not send any asset to this account in main net
you will lose your token and we will not be responsible for that.
Create your own mode
You can config your own network by modifying the config.json and config.fs.json in the root directory, as well as the config.json of Plugins. Then run mode save [mode name] to save your configuration as a mode. If the name you assigned is an existing mode, existing mode will be updated.

Your configurations will not be updated into mode automatically, you must manually run mode save [mode name] to save them.

mode delete
Cannot delete a directory which is not empty.

save as an existing mode name
There is no warning and the original mode configs will be overwritten.

The logic of mode save is a little strange for me.
If I want to save a mode, firstly I need to start neo-cli with some specified mode in ./Mode/ folder or with default mode mainnet, and corresponding config files will be generated in ./ folder. Then I modify or replace the config files in ./ folder , use mode save <modeName> cmd to copy the config files to ./Mode/ folder. Why don't I directly create a new mode in ./Mode/ folder?:joy:

The logic of mode save is a little strange for me. If I want to save a mode, firstly I need to start neo-cli with some specified mode in ./Mode/ folder or with default mode mainnet, and corresponding config files will be generated in ./ folder. Then I modify or replace the config files in ./ folder , use mode save <modeName> cmd to copy the config files to ./Mode/ folder. Why don't I directly create a new mode in ./Mode/ folder?😂

Cause config.json are spread everywhere, with save mode we can collect config file from the node  and Plugins. If user directly create mode under Modes folder, how could they deal with Plugins.

@nicolegys May you please test this?

After I install a new plugin, neo-cli will remind me to restart it. But if I restart it immediately without saving this mode, in this pr, the new installed plugin will be removed. Need to add some words in this warning to remind users saving mode before restarting neo-cli.

https://github.com/neo-project/neo-node/blob/fd9203f1ce75f163b8c6a8d9870cd20c6abbc4c3/neo-cli/CLI/MainService.Plugins.cs#L43

This issue should have been solved in my last commit. The reason of that issue is the plugin folder name is kinda different from the plugin name.

Need to remind users to restart/resync neo-cli if new plugins are auto-installed.

exception.

Need to remind users to restart/resync neo-cli if new plugins are auto-installed.

Well, actually, it is supposed to be loaded automatically....will check this logic.

async issue still exists.

@Liaojinghui Can we move on? I think it's useful.

If plugins are auto-installed/auto-uninstalled when starting neo-cli, type exit and neo-cli will throw an exception.

reinstall plugin will replace this plugin's config file in mode\xxx by the default config file.

e.g. Both ApplicationLogs and RpcServer are not installed but in \mode\testnet, now I start neo-cli with testnet mode, I could find that RpcServer's config file in \mode\testnet be replaced by the default one. Because RpcServer is installed as a dependency of ApplicationLogs.

If plugins are auto-installed/auto-uninstalled when starting neo-cli, type exit and neo-cli will throw an exception.

reinstall plugin will replace this plugin's config file in mode\xxx by the default config file.
e.g. Both ApplicationLogs and RpcServer are not installed but in \mode\testnet, now I start neo-cli with testnet mode, I could find that RpcServer's config file in \mode\testnet be replaced by the default one. Because RpcServer is installed as a dependency of ApplicationLogs.

2. ... hasn't been fixed.

If use lower case to install plugins, it can't find folders like Plugins/applicationlogs.

This issue still exists.
#880

Threw an exception when reinstalling StateService, but not always.

If plugins are auto-installed/auto-uninstalled when starting neo-cli, type exit and neo-cli will throw an exception.

reinstall plugin will replace this plugin's config file in mode\xxx by the default config file.
e.g. Both ApplicationLogs and RpcServer are not installed but in \mode\testnet, now I start neo-cli with testnet mode, I could find that RpcServer's config file in \mode\testnet be replaced by the default one. Because RpcServer is installed as a dependency of ApplicationLogs.

... hasn't been fixed.
To Reproduce
1.Make sure that ApplicationLogs is before RpcServer in .PLUGINS file, and both of them are not installed.

2.Start neo-cli.

Threw an exception when reinstalling StateService, but not always.

This is an issue in neo core, and has being addressed in https://github.com/neo-project/neo/pull/2569 . This pr can not and should not handle that.

No more issues，need review.

@Liaojinghui Please fix format.

It uses an error plugin path when starting neo-cli in the different directory with neo-cli.dll.

 It uses an error plugin path when starting neo-cli in the different directory with neo-cli.dll.

The path issue is not a problem should be addressed in this pr. it is a nature feature of C# on windows platform.

 It uses an error plugin path when starting neo-cli in the different directory with neo-cli.dll.

The path issue is not a problem should be addressed in this pr. it is a nature feature of C# on windows platform.
Relative path will always be relative to the executing folder, unless you publish it in a self-contain mode.

It was published in the self-contain mode.
Actually, this issue is because method PluginExists uses the wrong path to find the specified plugin.

In addtion, as you said, relative path is an old issue that also exists in master branch, and it happens not only in the places I mentioned in this pr. I'll create annother issue if needed.

In addtion, as you said, relative path is an old issue that also exists in master branch, and it happens not only in the places I mentioned in this pr. I'll create annother issue if needed.

You dont have to, cause this issue does not exist in the official publish package as it is published in the self-contain mode.

In addtion, as you said, relative path is an old issue that also exists in master branch, and it happens not only in the places I mentioned in this pr. I'll create annother issue if needed.

You dont have to, cause this issue does not exist in the official publish package as it is published in the self-contain mode.

I have said that this issue also exists when it is published in the self-contain mode. I've tested it both on v3.4.0 and master branch, both on windows and linux. The cause of this issue is, in our code, files are read or generated based on the current execution directory, not the relative directory. And this issue was not raised before because of few usage scenarios, so it's not a high priority. Please be more careful.

@shargon Could you review again?

@Liaojinghui Please solve conflicts

@Liaojinghui Please solve conflicts

Resolved


Improve coverage for WordKeywordGroup

I'm not planning to add more tests. Just waiting to settle on how we will merge our branches.


Detection metrics evaluation

How are the detection metrics (precision, recall and F-measure) evaluated on SCUT-EnsText dataset in your paper?

A pretrained CRAFT is adopted to detect texts in the text-erased images produced by the text removal model. Specifically, the general pretrained weights of CRAFT are used.

Calculate the precision, recall, and f-measure between the detection results and ground truth.

Could you please provide the script to calculate the P, R, F between the detection results and ground truth? In case our approach differs from yours

We use the evaluation scripts of ICDAR 2015 Task 1.


Use updated switchbot library with curtain support

I updated the switchbot library with curtain support here:
https://github.com/Danielhiversen/pySwitchbot/pull/13
After that is released, you could use the SwitchbotCurtain directly, without needing all the extra commands and keys in this file.

Thanks Daniel


[Subtask]: frontend support choose multi formats when add a new catalog

Search before asking

[X] I have searched in the issues and found no similar issues.

Description

When adding a new catalog, support for selecting multiple formats.

internal catalog only support mixed-iceberg and iceberg format.
external catalog with hms metastore  supports  mixed-hive/iceberg/mixed-iceberg/paimon
external catalog with other metastore supports  iceberg/mixed-iceberg/paimon

When get the detail info of a catalog ,support show the multiple formats

Parent issue
#1061
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@minteliuwm  hi, Do you have time to implement it?


DB2 Dependency Clean up

CP Foundational Services is 1st block in the DB2. Do we need the CP4D Operator as dependency ? I am going to remove dependency and observe the behaviour
Note: github.com/cloud-native-toolkit/terraform-gitops-cp4d-operator.git
Outcome

It should resolve 2 common services issues

@triceam

Thanks @triceam for merge. Test looks clean after changes got merged.
Plus verified on the Modules UI which shows up.
Hence moving to next modules


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 2818 ms

Resolved: Bofrost.at performance has improved in e22be57.


Ll 477

Pull Request Code Review
Overview
To add functionality to the model_eviz app by, adding a slidebar, and search functionality to the model via the site_no
Links

Issues: Close #477 Closes #478
Inputs: User's desired settings for the app (such as map, particular points)
Outputs: User's desired output based on input

Summary of Changes

Sidebar added, 478 logic finished, 477 finished

How to Run
Standard mamba panels app setup
Peer Reviewer Expectations
Expect workaround logic, not finalized logic flows, yet basic functionality met.
Not expected in Review
N/A
Next steps

@lluddenusgs Delete lines 68-69 as we are no longer using gv_us


.NET Standard and Antlr4.Runtime.Standard support

This has two parts:

[ ] Multitargeting .NET Framework and .NET Standard
[ ] Conditional PackageReference - if .NET Framework, then use Antlr.Runtime.4.6.6, otherwise use Antlr.Runtime,Standard.4.7.2.

How would this play with AppVeyor?

Along with this, we'll move the test projects (the ones that start with _) to use the SDK .csproj format.


Exchange defaultProps for default parameters in function components

Partially resolves #1218
defaultProps is being deprecated for function components. This PR removes the old defaultProps from all function components.
Below is the list that Bob provided (for completeness). I either completed the update or found it was not a case that needed changing:

[x] packages/libs/wdk-client/src/Views/Answer/AnswerTable.jsx Class component
[x] packages/libs/wdk-client/src/Views/Records/RecordNavigation/RecordNavigationSection.jsx Class component
[x] packages/libs/wdk-client/src/Views/Records/RecordActionLink.jsx
[x] packages/libs/wdk-client/src/Core/Root.tsx Class component
[x] packages/libs/wdk-client/src/Components/Display/TabbableContainer.tsx Class component
[x] packages/libs/wdk-client/src/Components/InputControls/NativeCheckboxList.tsx Class component
[x] packages/libs/wdk-client/src/Components/Overlays/Popup.tsx Class component
[x] packages/libs/wdk-client/src/Components/Shared/Spinnable.tsx Class component
[x] packages/libs/wdk-client/src/Components/SearchBox/RealTimeSearchBox.tsx Class component
[x] packages/libs/wdk-client/src/Components/AttributeFilter/FieldFilter.jsx
[x] packages/libs/wdk-client/src/Components/AttributeFilter/MembershipField.jsx Class component
[x] packages/libs/wdk-client/src/Components/AttributeFilter/ServerSideAttributeFilter.jsx
[x] packages/libs/wdk-client/src/Components/AttributeFilter/Histogram.jsx Class component
[x] packages/libs/coreui/src/components/inputs/checkboxes/CheckboxTree/CheckboxTree.tsx
[x] packages/libs/coreui/src/components/inputs/SelectTree/SelectTree.tsx
[x] packages/libs/coreui/src/assets/icons/CaretDown.tsx NA
[x] packages/libs/coreui/src/assets/icons/CaretUp.tsx NA
[x] packages/libs/coreui/src/assets/icons/DoubleArrow.tsx NA
[x] packages/libs/coreui/src/assets/icons/Cancel.tsx NA
[x] packages/libs/coreui/src/assets/icons/Arrow.tsx NA
[x] packages/libs/web-common/src/components/records/Sequence.tsx
[x] packages/libs/web-common/src/util/customElements.jsx Class component

I also found deafultProps in Compound.jsx, Gbrowse.jsx, and OverviewThumbnail.jsx but they were all being used with class components.
Notes

For SelectTree, I removed the default props entirely if they both were the same as the component they were being passed to and caused no errors when removing.
Multiple functions in CheckboxTree.tsx relied on default values being set, so i defined them in the file and then reused these values across the different functions.
Could not find Sequence component on gene record pages. Where does it get loaded? Otherwise I checked all the other updated components on the genomics or mbio site.

Started looking into removing findDOMNode. It's not as straightforward as i had hoped, so i'll make a new PR for it.

@dmfalke I finally got around to responding to comments!
I ended up using all of the defualtCheckboxTreeProps in deconstructing props for CheckboxTree.
I also couldn't find a way around a type issue. But otherwise was mostly able to apply your suggestions!

Looking good now. Ready for another look when you have a min, @dmfalke !


evalv3: disjunct of definitions that each reference an identical optional field results in incomplete evaluation

I am trying out the v3 evaluator with an existing project and ran into some strange behavior with regards to incomplete (or unsimplified?) evaluation. After completely paring down my schema, I was able to repro the issue with the minimal configuration below.
Note that the golden examples below are from the v2 evaluator.

exec cue version
env CUE_EXPERIMENT=evalv3
exec cue eval -e foo foo.cue
cmp stdout stdout.golden

-- foo.cue --
#Run: {
	run!: string
	options?: #Option | [#Option, ...]
	if options != _|_ {
		optionsValue: options
	}
}

#Copy: {
	copy!: string
	options?: #Option | [#Option, ...]
	if options != _|_ {
		optionsValue: options
	}
}

#Option: {}

foo: #Run | #Copy
foo: run: "make"

-- stdout.golden --
run: "make"

If I remove the conditional, the entire evaluation result is empty.

env CUE_EXPERIMENT=evalv3
exec cue eval -e foo foo.cue
cmp stdout stdout.golden

-- foo.cue --
#Run: {
	run!: string
	options?: #Option | [#Option, ...]
	optionsValue: options
}

#Copy: {
	copy!: string
	options?: #Option | [#Option, ...]
	optionsValue: options
}

#Option: {}

foo: #Run | #Copy
foo: run: "make"

-- stdout.golden --
run: "make"

(BTW, thanks for all the hard work on the new evaluator. I'm very much looking forward to it when it's ready.)

@marxarelli thanks for the repro.
(For future bug reports, please use the "Bug report" issue so that we can capture details about version, expectations etc in a standard form: https://github.com/cue-lang/cue/issues/new/choose. It makes human parsing of such issues much easier!)
What version of CUE are you using (cue version)?

$ cue version
cue version v0.0.0-20241208202749-5149ebdd9829

go version go1.23.2
      -buildmode exe
       -compiler gc
  DefaultGODEBUG asynctimerchan=1,gotypesalias=0,httpservecontentkeepheaders=1,tls3des=1,tlskyber=0,x509keypairleaf=0,x509negativeserial=1
     CGO_ENABLED 1
          GOARCH arm64
            GOOS linux
         GOARM64 v8.0
             vcs git
    vcs.revision 5149ebdd9829d23e29a676c87f89d2851f1c3134
        vcs.time 2024-12-08T20:27:49Z
    vcs.modified false
cue.lang.version v0.12.0

Does this issue reproduce with the latest stable release?
Yes with v0.11.0
What did you do?
# evalv2
env CUE_EXPERIMENT=evalv3=0
exec cue eval -e foo foo.cue
cmp stdout stdout.golden

# evalv3
env CUE_EXPERIMENT=evalv3=1
exec cue eval -e foo foo.cue
cmp stdout stdout.golden

-- foo.cue --
#Run: {
	run!: string
	options?: #Option | [#Option, ...]
	if options != _|_ {
		optionsValue: options
	}
}

#Copy: {
	copy!: string
	options?: #Option | [#Option, ...]
	if options != _|_ {
		optionsValue: options
	}
}

#Option: {}

foo: #Run | #Copy
foo: run: "make"

-- stdout.golden --
run: "make"

What did you expect to see?
Passing test.
What did you see instead?
# evalv2 (0.021s)
# evalv3 (0.028s)
> env CUE_EXPERIMENT=evalv3=1
> exec cue eval -e foo foo.cue
[stdout]
{
    run: "make"
} | {
    run:   _|_ // foo.run: field not allowed
    copy!: string
}
> cmp stdout stdout.golden
diff stdout stdout.golden
--- stdout
+++ stdout.golden
@@ -1,6 +1,1 @@
-{
-    run: "make"
-} | {
-    run:   _|_ // foo.run: field not allowed
-    copy!: string
-}
+run: "make"

FAIL: /tmp/testscript327642522/repro.txtar/script.txtar:9: stdout and stdout.golden differ

i.e. evalv3 is broken compared to evalv2.

Analysis: the issue is that although V3 correctly identifies the faulty disjunct it does not end up eliminating it.
Apparently, using -e on incomplete values than causes to drop it, which is a separate bug that may even exist in V2 as well.

In fact, the error is just not propagated up.
Here is a smaller reproducer:
#Run: run!: string
#Copy: {
	copy!: string
	if false {
		dummy: {}
	}
}

foo: #Run | #Copy
foo: run: "make"


Nodemon crashes !!

I'm on page 151 now, and I have hit a real problem that I have searched for days, now while running nom run server, there is a error which crashes nodemon.
/models/index.js:19   var context = require.context('.', true, /^\.\/(?!index\.js).*\.js$/, 'sync');
TypeError: require.context is not a function ??
caused by,
require('babel-plugin-require-context-hook/register')()
I haven't found a fix for this yet? can you help?
full code for index.js models
`import Sequelize from 'sequelize';
if (process.env.NODE_ENV === 'development') {
require('babel-plugin-require-context-hook/register')()
}
export default (sequelize) => {
let db = {};
const context = require.context('.', true, /^./(?!index.js).*.js$/, 'sync')
context.keys().map(context).forEach(module => {
const model = module(sequelize, Sequelize);
db[model.name] = model;
});
Object.keys(db).forEach((modelName) => {
if (db[modelName].associate) {
db[modelName].associate(db);
}
});
return db;
};`
I've also tried running in another chapter further ahead and back, still the same result. Please help me so I can finish your book!

Hi, did you make sure to set your NODE_ENV to development?
Try running export NODE_ENV=development first

Yes I tried that, believe it was already set as that , and also a few other suggested fixes I found online, still can’t get it to run, no matter what.
Sent from Proton Mail for iOS
On Tue, Jun 7, 2022 at 6:37 PM, Taylor Barmak @.***> wrote:

Hi, did you make sure to set your NODE_ENV to development?
Try running export NODE_ENV=development first
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I am also encountering the same error, right now

Try adding this to your scripts in package.json
"server": "NODE_ENV=development nodemon --exec babel-node --plugins @storybook/babel-plugin-require-context-hook --watch src/server/index.js"

Please have you found a fix for it yet

I have not, but will try the recent posts suggestion

Try adding this to your scripts in package.json
"server": "NODE_ENV=development nodemon --exec babel-node --plugins @storybook/babel-plugin-require-context-hook --watch src/server/index.js"

This is the result of the command, NODE_ENV is not recognised.

I have found a fixed!! i no longer get [nodemon] crashed error
Here are the steps:
Install the following packages:

npm install --save-dev  @storybook/babel-plugin-require-context-hook

npm install --save-dev  babel-plugin-transform-require-context

Create a babel-hook.js file in the root directory of your project, and write the code below. This file serves as an alternative to babel.rc

require("@babel/register")({
    "plugins": [
        "@storybook/babel-plugin-require-context-hook"
    ],
    "presets": ["@babel/env","babel/react"]
});

Add the following script to your package.json file
"server": "nodemon --exec babel-node --require @storybook/babel-plugin-require-context-hook --watch src/server src/server/index.js"

Finally change require('babel-plugin-require-context-hook/register')(); to require('@storybook/babel-plugin-require-context-hook/register')();

Now run npm run server there should  be no more errors.

Try adding this to your scripts in package.json
"server": "NODE_ENV=development nodemon --exec babel-node --plugins @storybook/babel-plugin-require-context-hook --watch src/server/index.js"

This results with a babel > prompt, I'm not sure if that's the desired output, but it least it didn't crash lol, however in the browser now for the client, it just says "Load failed" which could be another problem, I'll have to further investigate , but thank you for the suggestion!

Sorry for the late reply. Just saw this thread.
Does this problem occur by plainly copying the files from the repo here?

Sorry for the late reply. Just saw this thread.
Does this problem occur by plainly copying the files from the repo here?

Yes even using the copying files error still occurs

Can you confirm that you are using windows?
Maybe try this set NODE_ENV=production&& nodemon etc.

I was using a Mac at the time. You think the OS makes a difference in this case?
Sent from Proton Mail for iOS
On Sun, Dec 4, 2022 at 12:59 PM, Sebastian Grebe @.***> wrote:

Can you confirm that you are using windows?
Maybe try this set NODE_ENV=production&& nodemon etc.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

At least the issue by @KindEni in the screenshot: https://github.com/PacktPublishing/Full-Stack-Web-Development-with-GraphQL-and-React-Second-Edition/issues/3#issuecomment-1171229639
As windows and mac pass env variables differently.
@ryancollins-dev can you give a full screenshot or stack trace for your issue?

Oh ok, I don’t have a mac anymore, so I’ll try again on windows and see if everything is ok. Thank you.
Sent from Proton Mail for iOS
On Sun, Dec 4, 2022 at 1:10 PM, Sebastian Grebe @.***> wrote:

At least the issue by @.***(https://github.com/KindEni) in the screenshot: #3 (comment)
As windows and mac pass env variables differently.
@.***(https://github.com/ryancollins-dev) can you give a full screenshot or stack trace for your issue?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Closing this as there was no further update, feel free to create a new issue if you still notice it


Feature data feeder

It also contains the changes in pr #28
For now, the feeding is done by putting an item in the Queue.
The Fake2dDetectorImageFeeder instance can create a coroutines.
It will be better if I can create an abstract class that you can use as a little application

For now, proto script also contains a dummy data-reduction application.
Just to see what is happening, I added printing lines in the calls.
They should be replaced with logging.

I will close this since all changes are also in the pr #32


help wanted

We are a Romanian company specializing in assembling LFP batteries, primarily utilizing the B2A24S20P BMS. Currently, we are encountering a challenge in configuring 80 BMS units consecutively. Performing this task via the Android app is both time-consuming and prone to human error.
Our factory management application already stores the required parameters in a database, and we aim to develop an automated solution for configuring the BMS via Bluetooth. Although we have explored available online documentation, our attempts have not been successful.
As a proof of concept, we are using an ESP32 preloaded with the necessary parameters to connect to the BMS and push the configuration. However, the parameters are neither saved nor modified within the BMS, and we do not hear the usual confirmation beep associated with the Android app configuration process.
We would greatly appreciate assistance from an engineer to resolve this issue. For inquiries, please contact us via WhatsApp at +40 726 591 154 or email.
Thank you for your support.

Do you still need some support?

I do

We managed to push the settings , but we need few more things.
First thing would be changing the bms bluetooth name and the settings password.
The password is generated by our management app and is a random set of caracters tied to the serial number given to the product.
Same thing applies to the name , is generated by software and usual contains the last six caracters of the serial number.
Currently the name and password are changed manualy and that is taking way to much time. Also having a mixed firmware where we could conect via BLE or serial for the PB series would be fantastic. We could suport this financialy if  necesary.

Could you make more explicit which features do you miss?

Changing bms Bluetooth name and settings password.

Could you make more explicit which features do you miss?

I would apreciate if we discuss it over whatsapp. On github I miss the notifications.

Review BMS Documentation
Ensure you have the complete technical documentation for the BMS. This typically includes command structures, data formats, and specific Bluetooth services/characteristics used by the device. If the documentation is insufficient, I recommend contacting the BMS manufacturer for additional guidance.

Analyze Bluetooth Communication
It’s crucial to understand how the Android app communicates with the BMS. Use tools such as nRF Connect or similar BLE sniffers to observe the communication between the Android app and the BMS. This will help you replicate the sequence of commands and data structure required for successful configuration.

Debug the ESP32 Code
Confirm that the ESP32 is correctly configured for BLE communication.
Ensure the commands are formatted and sent in the correct order. Any deviation can cause the BMS to ignore the configuration.
Test with minimal configuration steps first to verify that the connection is working and data is being sent correctly.

Check for Command Confirmation
The missing confirmation beep suggests that the configuration process is not being successfully finalized. Verify if the BMS requires a specific acknowledgment (e.g., an “ACK” response or a closing command) after receiving parameters.

Enable Logging and Debugging
Log all BLE communication attempts to identify any issues in real time. Compare the log with the communication pattern from the Android app to pinpoint discrepancies.

Easier said that done. I have no ideea how to do all that.


Custom configuration file

How would one go about loading a custom configuration file using this docker image?

Using the data volume approach you can load your custom config file into your container, something like the following one:
$docker run --name mongo -d -v your/host/dir:/container/dir mongo:3.2 mongod -f /container/dir/mongod.conf

if this is what you need.

@ozlerhakan  I use this command to run,  container exit in second, and no log.

@jolestar  Here is a working command that I use on windows 10 if your docker host resides in a virtualbox,
$ docker run --name mongo -d -v //c/Users/Hakan/config:/mongodb mongo:3.2  mongod -f //mongodb/mongod.conf

@ozlerhakan  thanks reply.
I find the reason, my mongod.conf include systemLog config option, I try comment it,  the command works. but I do not know why.

@jolestar I forgot to show you an example of a config file, see this for example:
storage:
  dbPath: /data/db
  directoryPerDB: true
  journal:
    enabled: true
  engine: wiredTiger

net:
  port: 27017

But if you have the systemLog section, you cannot see anything when doing docker logs :
storage:
  dbPath: /data/db
  directoryPerDB: true
  journal:
    enabled: true
  engine: wiredTiger

systemLog:
  destination: file
  logAppend: false
  path: /data/mongod.log

@ozlerhakan but i need use --fork option,
when I run mongodb docker container i get this out put
about to fork child process, waiting until server is ready for connections.   forked process: 30   child process started successfully, parent exiting
and docker container Exited

did you try -d out instead --fork @asdr14 ?

@ozlerhakan docker run with -d?

yes, what do you want to achieve? you may need to use systemLog option on Docker.

@ozlerhakan What's the equivalent of this on a Mac? I'm trying to use a config file, but I thought we couldn't do mounts with VirtualBox?
$ docker run --name mongo -d -v //c/Users/Hakan/config:/mongodb mongo:3.2  mongod -f //mongodb/mongod.conf
I just tried this: docker run -d -v /tmp/mongodb:/mongodb -p 27017:27017 --name mongodb mongo:3.2.4 mongod -f /mongodb/mongod.conf
cat /tmp/mongodb/mongod.conf
storage:
dbPath: /data/db
directoryPerDB: true
journal:
enabled: true
engine: wiredTiger
net:
port: 27017
Container crashes with this in the log: Error reading config file: No such file or directory

@jeremypumphrey, you can do mounts, but not on the data since the Virtual Box shared folder does not work for mongo.  In order to mount the config file, you need to make sure it is readable by the mongodb user in the container; uid 999 I believe.

The file is 644 on my local system. How do I do a chown in the container while still using the official mongo docker build? I don't have a Dockerfile to add a step to without breaking out into my own version right?

I moved it out of /tmp to under my home directory and it worked on my Mac. Thanks.
docker run -d -v ~/git/match-docker/Dockerfiles/mongodb:/mongodb -p 27017:27017 --name mongodb mongo:3.2.4 mongod -f /mongodb/mongod.conf

Seems like using custom config file with official mongo image is tricky.

@ViktorKonsta not sure how you mean -- for simple configuration, you can just provide the flags you need directly to the image (docker run mongo --xyz), for more complex configuration, you either bind-mount your desired configuration file or use `

@ViktorKonsta not sure how you mean -- for simple configuration, you can just provide the flags you need directly to the image (docker run mongo --xyz), for more complex configuration, you either bind-mount your desired configuration file or use a simple Dockerfile and COPY with -f /path/to/mounted/or/copied/mongod.conf

For some reason I should use MongoDb with VERSION:3.0.1
Now : 2016-09-13 17:42:06
copyed form my answer in stackoverflow(when you google "docker mongo configure" you mayfind it twice)
I can't use all the solution above.
That is what I found:
#first step: run mongo 3.0.1 without conf
docker run --name testmongo -p 27017:27017 -d mongo:3.0.1

#sec step:
docker exec -it mongotest cat /entrypoint.sh

#!/bin/bash
set -e

if [ "${1:0:1}" = '-' ]; then
    set -- mongod "$@"
fi

if [ "$1" = 'mongod' ]; then
    chown -R mongodb /data/db

    numa='numactl --interleave=all'
    if $numa true &> /dev/null; then
	    set -- $numa "$@"
    fi

    exec gosu mongodb "$@"
fi

exec "$@"

So,now we know when docker run, we should't type mongod:
docker run --name mongo -d -v your/host/dir:/container/dir mongo:3.0.1  -f /container/dir/mongod.conf

For some reason I should use MongoDb with VERSION:3.0.1
Now : 2016-09-13 17:42:06

I can't use all the solution above.
That is what I found:
#first step: run mongo 3.0.1 without conf
docker run --name testmongo -p 27017:27017 -d mongo:3.0.1

#sec step:
docker exec -it mongotest cat /entrypoint.sh

#!/bin/bash
set -e

if [ "${1:0:1}" = '-' ]; then
    set -- mongod "$@"
fi

if [ "$1" = 'mongod' ]; then
    chown -R mongodb /data/db

    numa='numactl --interleave=all'
    if $numa true &> /dev/null; then
	    set -- $numa "$@"
    fi

    exec gosu mongodb "$@"
fi

exec "$@"

So,now we know when docker run, we should't type mongod:
docker run --name mongo -d -v your/host/dir:/container/dir mongo:3.0.1  -f /container/dir/mongod.conf

docker run -d -v /srv/dockervolume/mongo/mongodata/db-tillvaxt:/data/db -v /srv/dockervolume/mongo/mongod.conf:/etc/mongod.conf --name mongo-tillvaxt -h mongo mongo:latest, isn't loading my conf file.

These are the valid commands (in 1.13) working on my mac:
docker container run --rm  -v $(PWD)/config/mongod.conf:/etc/mongod.conf mongo:3.4 mongod -f /etc/mongod.conf

docker container run --rm  -v $(PWD)/config/mongod.conf:/etc/mongod.conf mongo:3.4 -f /etc/mongod.conf

This
docker run -d --restart=always -p 27017:27017 -v ~/mongo/db:/data/db mongo:latest mongod -f /data/db/mongod.conf
gives me these errors.
2017-02-10T00:36:32.133+0000 I CONTROL  [initandlisten] options: { config: "/data/db/mongod.conf", net: { port: 27017 }, storage: { dbPath: "/data/db", directoryPerDB: true, engine: "wiredTiger", journal: { enabled: true } } }
2017-02-10T00:36:32.166+0000 I STORAGE  [initandlisten] exception in initAndListen: 72 Requested option conflicts with current storage engine option for directoryPerDB; you requested true but the current server storage is already set to false and cannot be changed, terminating

@ozitraveller according to that error message, your mongod.conf is specifying conflicting settings for directoryPerDB and wiredTiger

Thanks tianon that's now fixed.
Where is the log file and what is it called?

Ok I need to do this:
auditLog:
destination:
format:
path:
filter:

Found it and done! :)

Unrecognized option: auditLog.path
I don't see why the path is wrong? It's the same folder as the conf file.
storage:
dbPath: data/db
engine: wiredTiger
journal:
enabled: true
auditLog:
destination: file
format: BSON
path: data/db/centresLog.bson
filter: '{ "param.ns": "CentresDb.Centres",  "param.command": { $in: [ "insert", "delete", "update", "findandmodify" ] } }'
net:
port: 27017

I'd suggest making the path absolute (ie, start with "/", as in
"/data/db/centresLog.bson")

I've tried both already and neither worked. But I'll try them both again.
Would quotes make any difference?
Cheers

I'm running docker 1.12.2 on centos.
 Debugging MongoDB config should be done at one of the places listed on the MongoDB Docs.  Feel free to comment on further troubleshooting if you feel this was closed in error or on the solution to help users running into the same problem.
To add a custom config file, the simplest solution is to run the container with a file mounted in; this can be adapted to be used via docker-compose or a custom Dockerfile that builds the config in.
$ # assuming `/your/host/dir/` contains `mongo.conf`
$ docker run --name mongo -d -v /your/host/dir:/container/dir mongo:3.4  -f /container/dir/mongod.conf


How to check message signals with periodicity

How to check message signals from canoe once measurement start is it possible to check or get message signals with periodicity/cyclicity

there is no COM function available from vector CANoe to check requested feature.
in future if vector CANoe adds feature then i will implement it in py_canoe.
for now, the only option is CAPL programming.


probe idle inhibitor rather than hardcode it

Fixes https://github.com/dragonflylee/switchfin/issues/70

Looks good to me, tested to run normally on SteamOS.
Thank you for your contribution !


Integrate LLMs Using spacy-llm

I think we can use LLMs to improve the accuracy of the SpaCy pipeline.
SpaCy + LLMs provides more than the sum of their parts - SpaCy provides a token structure and a way to index the text, LLMs then can provide more straightforward answers to constrained questions regarding the text.

Possible system prompt:
You are part of a Python system called "Story Wrapper" that aims to help users analyse and interact with stories. Text from a story is split into paragraphs and each paragraph is processed with a spaCy pipeline. The spaCy pipeline performs tokenisation and initial labelling of tokens. You are part of this pipeline to help with text labelling and analysis.

Example prompt and answer:
Here is a list of multiple token character names extracted from a story. Can you spot any matches? Provide the list indexes of potential matches. Provide the answer rather than code for an answer.
['Abner Spicer',
'Ezra Babcock',
'Josiah Spencer',
'Martha Berger',
'Abner Spencer',
'Barbara Fritchie',
'Patrick Henry',
'Angel of Death',
'Angel of Life',
'Dauphin of',
'Stanley Woodward',
'Cousin Stanley',
'Archey Forbes',
'Bob McAllister',
'Mon Dieu',
'St. Cecilia',
'Wally Cabot',
'Walter Cabot',
'Will Thompson',
'George Washington',
"Mary Spencer'--you",
'M. Spencer',
'Uncle Stanley',
'Burdon Woodward',
'David Copperfield',
'Black Jack',
"Wally Cabot's",
'Mary Spencer',
'Betsey Ross',
'Joan of Arc',
"Ma'm Maynard's",
'James O. MacPherson',
'Josiah Spencers',
"M'sieur Beaucaire",
'Don Juan',
'Lieutenant Cabot',
'Burdon Woodward--',
'Molly Pitcher',
'Jimmy Kelly',
'Mary McMillan',
'James Kelly',
'Sam Reisinger',
'Helen Cabot',
'Nicholas Rapieff',
'Paul Spencer',
'Archibald Forbes',
'MARY SPENCER',
'William the Thoughtful',
"Burdon Woodward's"]
Potential matches:

Abner Spencer (index 4) and Abner Spicer (index 0)
Wally Cabot (index 16) and Walter Cabot (index 17)
Mary Spencer (index 25) and Mary Spencer'--you (index 20)
Josiah Spencer (index 2) and Josiah Spencers (index 31)
Burdon Woodward (index 22) and Burdon Woodward-- (index 35)
MARY SPENCER (index 43) and Mary Spencer (index 25)
Burdon Woodward's (index 45) and Burdon Woodward (index 22)

If we don't put "Provide the answer rather than code for an answer." it outputs code for a fuzzywuzzy match.


az aks create error when doing aks_workshop

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks create
Errors:
400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 654, in execute
    raise ex
cli/core/commands/__init__.py, ln 718, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
...
python3.6/site-packages/msrestazure/azure_active_directory.py, ln 486, in get_msi_token
    result.raise_for_status()
python3.6/site-packages/requests/models.py, ln 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az aks create --resource-group {} --name {} --vm-set-type {} --load-balancer-sku {} --location {} --kubernetes-version {} --network-plugin {} --vnet-subnet-id {} --service-cidr {} --dns-service-ip {} --docker-bridge-address {} --generate-ssh-keys

Expected Behavior
Environment Summary
Linux-4.15.0-1091-azure-x86_64-with-debian-stretch-sid
Python 3.6.10
Installer: DEB

azure-cli 2.8.0

Additional Context

hi @fbellame did you meet the error in Cloudshell? If yes, it's a known issue in Cloudshell #11749 . pls try az login to workaround.

Can we close this as a dupe of https://github.com/Azure/azure-cli/issues/11749 ?


Quick start guide for Openstack deployments

Fixes : #781
Signed-off-by: Aswin Suryanarayanan<EMAIL_ADDRESS>

@dfarrell07 a linting error is shown when we include a file name "openstack". Should we change the file name?
Error: src/content/getting-started/quickstart/openshift/rhos/_index.md:30:19 MD044/proper-names Proper names should have the correct capitalization [Expected: OpenStack; Actual: openstack]

@aswinsuryan can you update the PR based on the review comments.

@aswinsuryan @dfarrell07 have you discussed the MD linting issue? https://github.com/submariner-io/submariner-website/runs/7456728787?check_suite_focus=true

@aswinsuryan can be done on a separate PR, but can you also make sure we update the "table of content" page with a link to this new guide? https://submariner.io/getting-started/quickstart/openshift/

@aswinsuryan can be done on a separate PR, but can you also make sure we update the "table of content" page with a link to this new guide? https://submariner.io/getting-started/quickstart/openshift/

Updated the PR.

@dfarrell07 can we ignore the linting error for this PR?


Custom Presets

On the surface similar to the current custom headers, could just be "save the current settings as a preset"
See the seedgen CLI for documentation on generating a preset from settings using the same flags as for seeds

I'll probably postpone this one to the point we have the per-trick difficulty sliders


Energy Sword Buff

About the PR
Buffs the e-sword to do 30 damage (split across slash and heat) plus 4 structural damage (probably about 1.5x - 3x slower than a crowbar for breaking windows.) To compensate, the energy sword now only has a speed of 1.0 and has received its iconic EEEENNNNNGG hitsound back.
In combination with #14029 this shouldn't be too much. There, the 25% chance to reflect only really serves as a side-feature and probably won't end up substanstially changing how effective the energy sword is.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl:

tweak: The energy sword now does 30 damage per hit and swings slower.
tweak: The energy sword can now break structures.
tweak: The energy sword has received its iconic hitsound back, making it much more obvious and threatening.

github is spending 50 years checking for mergability.


Change date formatting routine to use formatDateString

Change date formatter to use TW's formatDateString, since the internal representation of a TW date may change.

see:  core/modules/utlis/utils.js

exports.formatDateString = function(date,template)

$tw.utils.formatDateString(new Date, "YYYY-MMM")
will give you "2015-January"

I think this is fixed by #7


Microsoft Support has stated that Azure AD security groups are not supported by Power BI workspaces.

Our Power BI administrators were not able to add Azure AD security groups to Power BI workspaces using the web interface. Microsoft Support stated that groups must be Microsoft 365 groups for use with Power BI workspaces.
Microsoft Support Case #35611349
Please update or clarify support for Azure AD security groups.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 5db2f3b5-305f-2803-012a-04154b58acb2
Version Independent ID: 3bf41b0d-cd66-9782-1d2c-d1d79319048c
Content: Give users access to workspaces - Power BI
Content Source: powerbi-docs/collaborate-share/service-give-access-new-workspaces.md
Service: powerbi
Sub-service: pbi-collaborate-share
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Thanks for your comment, @Darian-FRB. This issue has been assigned to the doc author for review.

Hi @Darian-FRB -- Checking with the product team. I'll reply and update the article if appropriate. Thanks!

Him @Darian-FRB -- the product team says Azure AD security groups are supported. Are your Power BI admins still having issues?

Hi @Darian-FRB -- the product team says Azure AD security groups are supported. Are your Power BI admins still having issues?

Based on previous information from Microsoft, my organization is instructing users to only use M365 Groups with Power BI and that Azure AD security groups are not supported. I am investigating the original statement from Microsoft that only M365 Groups and not Azure AD security groups are supported.

I have had my users confirm that when attempting to grant permissions to Power BI workspaces using groups that they can find and select M365 Groups and Azure AD groups that have been mail enabled. Azure AD security groups without mail addresses do not appear and cannot be entered.
We have separate informal guidance from Microsoft that Azure AD security groups need to be mail enabled upon creation for use as security groups with Exchange Online. There may be a common quirk/bug/requirement.

Unfortunately, we have been unable to review this issue in a timely manner. We sincerely apologize for the delayed response. Both the product and documentation might have changed since this issue was opened. Therefore, we are closing this issue. If you feel that the problem persists, please respond to this issue with additional information.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.


InputDecorator should allow a widget in the prefix area.

One of our customers, mulligan, would like to have a leading pulldown menu on a text field.  This is hard to achieve if you would like to have the divider in the input decorator extend underneath the pulldown as well as the text input area.
I propose to add a prefixWidget (and suffixWidget) to InputDecoration that the InputDecorator would be able to place instead of the prefix text.  Of course, setting both prefixText and prefixWidget would not be allowed.

This makes sense and InputDecorator is already factored this way internally.

Is there a way to have also a prefix/suffix for the InputDecoration in case of errors, like the errorText etc. ?
For example I have a TextInput that have a filled icon as prefix, and the icon need to be filled in red in case of error. Actually I can manage the border color and text color, but I have no access to the prefix and suffix :(


Active project in project list

Minor annoyance:
In project list there is no indication which project the user has loaded.

duplicate of #455


version 1.00 doesn't seem to solve the suspend issue

First of all thank you for all your hard work
Here is the issue: The v0.4 works just fine but when I replace the v1.00 and reboot my 3.65 enso vita;
games will stuck on the opening screen and no errors it just stuck on the game's photo, I waited 5 mins there; I tried it on P4D undub and Senren Kagura EV both installed with nonpdrm.
Also it's better to mention I'm using sd2vita.

The Persona 4 undub is confirmed to work on reDux0, it has been tested many times. (Persona 4 Golden improved UNDUB(v1.03) [US][NoNpDRM][PCSE00120] .zip by Radziu). For Senren Kagura, I'm not sure since some guy was testing it but it had a modified eboot (not sure which Senren Kagura though).
Please make sure that your games are updated through Live Area and that you have not deleted files that are necessary. As for it working with 0.4, it is less capable of capturing IO calls.

Your P4D undub is bad. Please follow this tutorial to get it working properly with 1.0:
https://www.reddit.com/r/VitaPiracy/comments/86zkuz/repatch_redux0_10_fixed_suspend_issue_use_mods_on/dwafocm/

"As for it working with 0.4, it is less capable of capturing IO calls." I couldn't  get your point here, I tried it on some other games too like FF X-2 Undub, all these games are using rePatch files to run and the main folder in app folder is not the full game (the original files are deleted and the game's loading up depends on rePatch folder) they will run on v0.4 no problem but with v1.00 they don't. the moment I replace v0.4 and reboot they run again no problem. but there is suspend issue which I need to upgrade to v1.00 , I hope there will be a solution for this.

It has been tested many times on P4DAN, the suspend issue is fixed and it runs perfectly.
Also, please download your games from NPS.

I always download from NPS except when I need undub patch.
Thank you for your response, I will see what I can do.

Alright, let me know the results. I hope it works out for you, good luck! :) @Slhdono

I will close this for now since there is no further responses ?


[azservicebus] Changing ReceivedMessage.Body() to ReceivedMessage.Body (a field)

Changed ReceivedMessage.Body() to be a field of type []byte.
The entire reason it was a function was to return an error in the rare case that the underlying AMQP message was using the Value or Sequence section, rather than Data (or that Data itself was multiple byte arrays, not just a single one). Being a function makes it harder for users to create tests where they pass around ReceivedMessage since they can't create it themselves.
In the end it was agreed that just having a nil Body was enough signal for users to know that something was wrong, and that the error that was returned wouldn't have really been actionable (much like Body being nil, it was basically a true/false with exactly one error message).
Thanks to @ItalyPaleAle for pointing this out!


[Task] Upgrade stronghold to latest dev

Description
Upgrade to the latest stronghold version, revision 7bf15af8fc8770e06f1814cc61d3cae123553de8 at the time of writing.
Motivation
To enable #508 this is a pre-requesite, since our current stronghold version does not allow for key copying.
To-do list
Create a task-specific to-do list . Please link PRs that match the To-do list item behind the item after it has been submitted.

[x] Map fine-grained stronghold errors to a stronghold error enum, respecting the error guidelines
[x] Use the new procedures API to implement the signing operations

Change checklist
Add an x to the boxes that are relevant to your changes, and delete any items that are not.

[ ] The feature or fix is implemented in Rust and across all bindings whereas possible.
[ ] The feature or fix has sufficient testing coverage
[ ] All tests and examples build and run locally as expected
[ ] Every piece of code has been document according to the documentation guidelines.
[ ] If conceptual documentation (mdbook) and examples highlighting the feature exist, they are properly updated.
[ ] If the feature is not currently documented, a documentation task Issue has been opened to address this.

Fixed in #691


Import error when testing file with shebang

Describe the bug
As of the 20th of April, I have been unable to test files that start with a shebang and import the fileURLToPath function from the url module.
Reproduction
Given an index.ts file at the package root as follows:
#!/usr/bin/env node

import { fileURLToPath } from 'url'

const __dirname = fileURLToPath(new URL('.', import.meta.url))

And a test file at the path tests/index.test.ts like so:

describe('index.ts', () => {
  let test: typeof import('..')

  beforeEach(async () => {
    test = await import('..')
  })

  it('main', async () => {
  })

})

Running the command npx vitest run --reporter verbose .\tests\index.test.ts gives the following error:
 RUN  v0.29.8 E:/Programming/JS/unversioned/vitest_shebang_bug

 ❯ tests/index.test.ts (1)
   ❯ index.ts (1)
     × main
       \ [ beforeEach ]

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

 FAIL  tests/index.test.ts > index.ts > main
SyntaxError: Invalid or unexpected token
 ❯ new Script node:vm:100:7
 ❯ createScript node:vm:265:10
 ❯ Object.runInThisContext node:vm:313:10
 ❯ tests/index.test.ts:6:12
      4|
      5|   beforeEach(async () => {
      6|     test = await import('..')
       |            ^
      7|   })
      8|

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯

 Test Files  1 failed (1)
      Tests  1 failed (1)
   Start at  10:43:32
   Duration  568ms (transform 73ms, setup 0ms, collect 24ms, tests 15ms)

Removing the shebang from index.ts allows the tests to pass.
System Info
System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
    Memory: 7.08 GB / 15.94 GB
  Binaries:
    Node: 18.12.1 - C:\Anaconda3\envs\_bluebox_frontend\node.EXE
    Yarn: 1.22.19 - C:\Anaconda3\envs\_bluebox_frontend\yarn.CMD
    npm: 9.6.2 - C:\Anaconda3\envs\_bluebox_frontend\npm.CMD
  Browsers:
    Edge: Spartan (8.20230424104508.), Chromium (112.0.1722.58), ChromiumDev (Transcript started, output file is C:\Users\Work\Documents\WindowsPowerShell\Transcripts\PowerShell_transcript.JASPER-PRO.AfrLA0Om.20230424104508.txt)
    Internet Explorer: 11.0.19041.1566
  npmPackages:
    vitest: ^0.29.7 => 0.29.8

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

This is a bug with Vite: https://github.com/vitejs/vite/issues/12976

For reference, using yarn, I am able to pin vite to a working version in my package.json using a resolutions block, as follows:
{
  "name": "vitest-shebang-bug",
  "description": "Example of bug when testing file with shebang",
  "author": "Mathew Topper<EMAIL_ADDRESS>  "version": "0.0.0",
  "type": "module",
  "exports": {
    ".": {
      "types": "./index.d.ts",
      "import": "./index.js"
    },
    "./package.json": "./package.json"
  },
  "types": "./index.d.ts",
  "scripts": {
    "test": "vitest"
  },
  "devDependencies": {
    "typescript": "^4.9.5",
    "vitest": "^0.29.7"
  },
  "resolutions": {
    "vitest/**/vite": "~4.2.0"
  }
}


GRPC php extension outputting debug info

How can I disable the info that is now being logged because the grpc extension is enabled? Even scripts that don't use it are getting the output.
D0706 08:01:35.428226606   28702 ev_posix.c:101]             Using polling engine: poll
D0706 08:01:35.531626182   28702 channel.c:175]              Initialized secure channel

I only run php -v, it also prints debug info:
➜  ~ php -v
D0707 09:49:58.902670000<PHONE_NUMBER>87584 ev_posix.c:101] Using polling engine: poll
PHP 5.6.16 (cli) (built: Dec 22 2015 11:00:39)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with Xdebug v2.3.3, Copyright (c) 2002-2015, by Derick Rethans
➜  ~

So the first line is coming from the gRPC C core library. That will probably be cleaned up as we move towards GA release. That I don't have direct control over.
The second line is coming from the PHP extension. I can probably remove it as it's not needed anymore.


Strange parsing issue(?)

I have this file structure.

However when I generate the docs the tree became like this instead

(.parse is a static method in DocLoader)

JSDoc does not care about the file structure. It's about class/namespace hierarchy.
Docma tree outline shows that the hierarchy is not correctly documented with JSDoc.
Make sure your parse() function is a child of DocLoader.
One way is this:
/**
 *  Some description...
 *  @name DocLoader.parse
 *  @function
 */
parse() {
 // ...
}

or you could use @memberof
..
Pls consult JSDoc documentation.

none of your suggestion worked. Here is a snippet of code I had.
export class DocLoader {
    /**
     * Parses a file
     * @param {string} filename The filename to parse
     */
    static async parse(filename) {
        ...
    }
}

I really can't find out where's the issue

It seems you didn't document DocLoader.

How do I do that?

Thanks for your help. Apparently I just have to document the classes with @class tag  now it works fine.


delete closed PR on ledger status

To make this always updated

and add dot to make looks preety

Still want to keep this on the page since it will need to be revisited.

@tzarebczan how to add - as dots to make this page more pretty and clearly


Update for QuPath 0.6.0-rc3

This extension allows for the use of Warpy with QuPath 0.6.0-rc3
It includes a bugfix which allows for InstanSeg segmentations to be transformed and transfered.
The issue was that InstanSeg could have cells with no nucleus.

It's working with both objects and object IDs transferred, except the gradle testing failed. Thanks Iacan.

Yes, until we get QuPath 0.6.0 out, the tests will fail I think


AppInviteApi leaking activity

Step 1: Are you in the right place?

Memory leak can be easily reproduced in the app-invite sample on this repository

Step 2: Describe your environment

Android device: SM-N910C
Android OS version: 6.0.1
Google Play Services version: 9.4.52
Firebase/Play Services SDK version: 9.4.0

Step 3: Describe the problem:
The AppInviteApi seems to be leaking the activity passed as parameter to the getInvitation method
Steps to reproduce:

Start the app-invite sample
Kill the activity i.e by screen rotation

Observed Results:
By inspecting the heap dump you can see the the activity is leaked i.e from MAT:
com.google.android.gms.internal.zzmn$zze$1 @ 0x12f312a0 Native Stack
   -> bW com.google.android.gms.internal.zzmn$zze @ 0x12dd2420
      -> bT com.google.firebase.quickstart.invites.MainActivity @ 0x12d0bbc0

This is a heap dump that I took after few screen rotations and initiating GC from the Android Monitor,
using merge shortest path to GC root from MainActivity (excluding weak references)
Also i'm wondering why is the GC root referenced as Native Stack, any idea?
Screenshot of MAT
Heap dump
Expected Results:

The activity not to be leaked

Relevant Code:
This is the code block causing the leak:
        AppInvite.AppInviteApi.getInvitation(mGoogleApiClient, this, autoLaunchDeepLink)
                .setResultCallback(
                        new ResultCallback<AppInviteInvitationResult>() {
                            @Override
                            public void onResult(AppInviteInvitationResult result) {
                                Log.d(TAG, "getInvitation:onResult:" + result.getStatus());
                                if (result.getStatus().isSuccess()) {
                                    // ...

                                }
                            }
                        });
    }

Just to confirm, reproduced with this environment as well:
Android device: Nexus 6P
Android OS version: 7.0
Google Play Services version: 9.8.77
Firebase/Play Services SDK version: 9.4.0
Would be great if this was looked into as leaking an Activity is kind of a big issue and blocker for using this library.

Confirmed using LeakCanary, will investigate

The AppInvites team is working on a fix for this, not sure when it will see release but just wanted to post this update and thank everyone who reported this.

Hey all.  I know it's been a while here but someone on the Invites team just told me about a workaround that will prevent this leak, and it's super simple.
Basically if you were doing this:
        AppInvite.AppInviteApi.getInvitation(mGoogleApiClient, activity, true)
                .setResultCallback(new ResultCallback<AppInviteInvitationResult>() {
                     // ...
                });

You can do this to prevent the leak
        Intent intent = this.getIntent();
        AppInvite.AppInviteApi.getInvitation(mGoogleApiClient, null, false)
                .setResultCallback(new ResultCallback<AppInviteInvitationResult>() {
                     // ...

                     // Launch the deep link (simulates passing "true" above)
                     startActivity(intent);
                });

@samtstern thanks for posting this work around! I had a few questions:

we need to check for result == success before launching activity right? otherwise it'll launch this even for non-dynamic link cases.

if we want to distinguish between normal intents and firebase dynamic link intents, do you think this code makes sense?

 AppInvite.AppInviteApi.getInvitation(mGoogleApiClient, null, false /* auto launch */);    boolean isFirebaseLink = AppInviteReferral.hasReferral(intent);

It looks like Firebase will actually store all the deeplink information / key-value pairs before the user even installs or launches the app. So there will not be any network callbacks if the user were to launch the app on a fresh install via the App Invites API. Is this correct?

@dsiddiqui489 yep I think you have the right idea on all points, although when/how the API accesses the network should be considered a black box and may change over time (but you're right for now).

Awesome, thanks!

@samtstern Thanks for the fix and explanation!

Doing some issue cleanup here.  As a fix is coming and the workaround is listed here, I am going to mark this issue as 'closed' since it no longer indicates any problem with the quickstart.  Thanks to all who helped find this!

@samtstern This is still an issue in v10.2.0:
In com.supercilex.robotscouter.debug:1.0.0-DEBUG:1.
* com.supercilex.robotscouter.ui.teamlist.TeamListActivity has leaked:
* GC ROOT com.google.android.gms.internal.zzum$zze$1.zzaip (anonymous subclass of com.google.android.gms.internal.zzum$zza)
* references com.google.android.gms.internal.zzum$zze.zzaim
* leaks com.supercilex.robotscouter.ui.teamlist.TeamListActivity instance

* Retaining: 71 KB.
* Reference Key: 8cd18ea9-b253-4b0e-bcdd-6c64f030f955
* Device: Google google Pixel XL marlin
* Android Version: 7.1.2 API: 25 LeakCanary: 1.5 00f37f5
* Durations: watch=5265ms, gc=135ms, heap dump=5182ms, analysis=108007ms

* Details:
* Instance of com.google.android.gms.internal.zzum$zze$1
|   static $classOverhead = byte[248]@314751105 (0x12c2b881)
|   zzaip = com.google.android.gms.internal.zzum$zze@317562000 (0x12ed9c90)
|   mDescriptor = java.lang.String@315453792 (0x12cd7160)
|   mObject =<PHONE_NUMBER>52
|   mOwner = com.google.android.gms.internal.zzum$zze$1@317546368 (0x12ed5f80)
|   shadow$_klass_ = com.google.android.gms.internal.zzum$zze$1
|   shadow$_monitor_ = 0
* Instance of com.google.android.gms.internal.zzum$zze
|   static $classOverhead = byte[312]@317725825 (0x12f01c81)
|   zzaim = com.supercilex.robotscouter.ui.teamlist.TeamListActivity@316965696 (0x12e48340)
|   zzain = false
|   zzaio = android.content.Intent@315370288 (0x12cc2b30)
|   zzaxf = com.google.android.gms.common.api.Api@318181728 (0x12f71160)
|   zzazY = com.google.android.gms.common.api.Api$zzf@315381440 (0x12cc56c0)
|   zzK = false
|   zzaAh = java.lang.Object@315381512 (0x12cc5708)
|   zzaAi = com.google.android.gms.internal.zzaaf$zza@318182656 (0x12f71500)
|   zzaAj = java.lang.ref.WeakReference@318248248 (0x12f81538)
|   zzaAk = java.util.ArrayList@318248224 (0x12f81520)
|   zzaAl = null
|   zzaAm = java.util.concurrent.atomic.AtomicReference@318227136 (0x12f7c2c0)
|   zzaAn = null
|   zzaAo = true
|   zzaAp = false
|   zzaAq = null
|   zzaAr = null
|   zzaAs = false
|   zzair = com.google.android.gms.common.api.Status@316321408 (0x12daae80)
|   zzazt = null
|   zztj = java.util.concurrent.CountDownLatch@318227120 (0x12f7c2b0)
|   shadow$_klass_ = com.google.android.gms.internal.zzum$zze
|   shadow$_monitor_ = -2139240503
* Instance of TeamListActivity
[...]
* Excluded Refs:
| Field: android.view.Choreographer$FrameDisplayEventReceiver.mMessageQueue (always)
| Thread:FinalizerWatchdogDaemon (always)
| Thread:main (always)
| Thread:LeakCanary-Heap-Dump (always)
| Class:java.lang.ref.WeakReference (always)
| Class:java.lang.ref.SoftReference (always)
| Class:java.lang.ref.PhantomReference (always)
| Class:java.lang.ref.Finalizer (always)
| Class:java.lang.ref.FinalizerReference (always)

Confirming, issue is still there. Will try the workaround

still broken on v10.2.1

Still occurs in v10.2.6


upgrade k1 tooling container to k1 version 1.4.3

What this PR does / why we need it: Update k1 tooling container to have k1 1.4.3
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NA

/approve

/lgtm


Masks.BRL_CURRENCY begin in 0,01

Have anyway to use Masks.BRL_CURRENCY begin in Centavos and not in Real? Actually if we type 1, it format to R$ 1, in my case should be R$ 0,01

No.
You should try https://github.com/CaioQuirinoMedeiros/react-native-currency-input

Oh, i didn't know about this solution... Anyway i do this to solve my problem
`const formatAmountToCents = (value: any)  => {
const amountFormated = (value / 100).toFixed(2).replace(".", "");
return amountFormated;
};
<MaskInput
placeholder="R$ 0,00"
mask={Masks.BRL_CURRENCY}
value={formatAmountToCents(amount)}
onChangeText={(masked, unmasked) => {
setAmount(unmasked);
}}
/>
`
And It Works!
But i thank you to show me the real solution...


Dynamic breadcrumb not shown in {{ breadcrumbs() }}

Hi,
At the moment I'm adding breadcrumbs for dynamic routes like this:
$this->get('thormeier_breadcrumb.breadcrumb_provider')
            ->getBreadcrumbByRoute('release_notes_show')
            ->setRouteParameters(array(
                'id' => $entity->getId(),
            ))
            ->setLabelParameters(array(
                'name' => $entity->getTitle()
            ));

However, when I use {{ breadcrumbs() }} in my twig template, that route is not there.

Could you please provide the tree of routes you're having, where you define the breadcrumb? Maybe there's an error there.

@KevinSleegers Since this issue is a few months old now, does the problem still persist?

@KevinSleegers I suppose this issue does not persist, as I haven't heard of you yet. Will therefore close it. Please reopen, if it persists.