Wrap Errno::EALREADY

Basic Info

Faraday Version: 2.3.0
Ruby Version: 3.1.2

Issue description
Connecting to a dead kubernetes service raises a Errno::EALREADY
Steps to reproduce
Faraday.new('http://foo.bar.svc.cluster.local').get '/'
Faraday.new('http://truth-service-x.truth-service.svc.cluster.local').get '/ping'
/usr/lib/ruby/3.1.0/socket.rb:1214:in `__connect_nonblock': Failed to open TCP connection to truth-service-x.truth-service.svc.cluster.local:80 (Operation already in progress - connect(2) for <IP_ADDRESS>:80) (Errno::EALREADY)
	from /usr/lib/ruby/3.1.0/socket.rb:1214:in `connect_nonblock'
	from /usr/lib/ruby/3.1.0/socket.rb:56:in `connect_internal'
	from /usr/lib/ruby/3.1.0/socket.rb:137:in `connect'
	from /usr/lib/ruby/3.1.0/socket.rb:642:in `block in tcp'
	from /usr/lib/ruby/3.1.0/socket.rb:227:in `each'
	from /usr/lib/ruby/3.1.0/socket.rb:227:in `foreach'
	from /usr/lib/ruby/3.1.0/socket.rb:632:in `tcp'
	from /usr/lib/ruby/3.1.0/net/http.rb:998:in `connect'
	from /usr/lib/ruby/3.1.0/net/http.rb:976:in `do_start'
	from /usr/lib/ruby/3.1.0/net/http.rb:965:in `start'
	from /usr/bundle/ruby/3.1.0/gems/faraday-net_http-2.0.2/lib/faraday/adapter/net_http.rb:136:in `request_via_get_method'
	from /usr/bundle/ruby/3.1.0/gems/faraday-net_http-2.0.2/lib/faraday/adapter/net_http.rb:127:in `request_with_wrapped_block'
	from /usr/bundle/ruby/3.1.0/gems/faraday-net_http-2.0.2/lib/faraday/adapter/net_http.rb:120:in `perform_request'
	from /usr/bundle/ruby/3.1.0/gems/faraday-net_http-2.0.2/lib/faraday/adapter/net_http.rb:65:in `block in call'
	from /usr/bundle/ruby/3.1.0/gems/faraday-2.3.0/lib/faraday/adapter.rb:45:in `connection'
	from /usr/bundle/ruby/3.1.0/gems/faraday-net_http-2.0.2/lib/faraday/adapter/net_http.rb:64:in `call'
	... 23 levels...
/usr/lib/ruby/3.1.0/socket.rb:1214:in `__connect_nonblock': Operation already in progress - connect(2) for <IP_ADDRESS>:80 (Errno::EALREADY)
	from /usr/lib/ruby/3.1.0/socket.rb:1214:in `connect_nonblock'
	from /usr/lib/ruby/3.1.0/socket.rb:56:in `connect_internal'
	from /usr/lib/ruby/3.1.0/socket.rb:137:in `connect'
	from /usr/lib/ruby/3.1.0/socket.rb:642:in `block in tcp'
	from /usr/lib/ruby/3.1.0/socket.rb:227:in `each'
	from /usr/lib/ruby/3.1.0/socket.rb:227:in `foreach'
	from /usr/lib/ruby/3.1.0/socket.rb:632:in `tcp'
	from /usr/lib/ruby/3.1.0/net/http.rb:998:in `connect'
	from /usr/lib/ruby/3.1.0/net/http.rb:976:in `do_start'
	from /usr/lib/ruby/3.1.0/net/http.rb:965:in `start'
	from /usr/bundle/ruby/3.1.0/gems/faraday-net_http-2.0.2/lib/faraday/adapter/net_http.rb:136:in `request_via_get_method'
	from /usr/bundle/ruby/3.1.0/gems/faraday-net_http-2.0.2/lib/faraday/adapter/net_http.rb:127:in `request_with_wrapped_block'
	from /usr/bundle/ruby/3.1.0/gems/faraday-net_http-2.0.2/lib/faraday/adapter/net_http.rb:120:in `perform_request'
	from /usr/bundle/ruby/3.1.0/gems/faraday-net_http-2.0.2/lib/faraday/adapter/net_http.rb:65:in `block in call'
	from /usr/bundle/ruby/3.1.0/gems/faraday-2.3.0/lib/faraday/adapter.rb:45:in `connection'
	from /usr/bundle/ruby/3.1.0/gems/faraday-net_http-2.0.2/lib/faraday/adapter/net_http.rb:64:in `call'

@grosser we just run into the same issue. Any idea why this recently changed in k8s? We used to get a connection refused error before.

afaik this is ubuntu 20.04 changing it's network stack to systemd, we did not get this from a kubernetes upgrade


Update Set-CsCallQueue.md

@jambirk

Docs Build status updates of commit 2e1874c:
:clock10: Full build: the average full build time is 11 min(s) 56 sec(s), this is based on the last 777 build(s) for this repository.

Docs Build status updates of commit 2e1874c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsCallQueue.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Set up CI with Azure Pipelines

[skip ci]

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


Ruby 3.x support

URI.unescape is obsolete in ruby 3.x:

This method is obsolete and should not be used. Instead, use CGI.escape, URI.encode_www_form or URI.encode_www_form_component depending on your specific use case.

This PR fixes this :)

@EtienneDepaulis as you've deleted the original branch, I cannot merge this :( . It simply means, I'll need to re-create the PR, which will not include you as contributors love to avoid that.

@EtienneDepaulis Here is the alternative method and the differences explained.
https://stackoverflow.com/questions/30783879/whats-the-difference-between-cgi-unescape-and-uri-decode-www-form-component
Do you plan to continue working on this? :)


A few additional type hints

Not a 100% sure if they are right, but they seem to work.

I've fixed all the linting errors and changed object to str instead.


Fix/integration with UI

Description
Add integration of the SC4SNMP-UI  with the main splunk-connect-for-snmp.
Please delete options that are not relevant.

[x] New feature
[x] Refactor/improvement

How Has This Been Tested?
Manual tests and e2e tests
Checklist

[x] My commit message is conventional
[x] I have run pre-commit on all files before creating the PR
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have checked my code and corrected any misspellings

Codecov Report

Merging #774 (9f0c4ab) into develop (2e52512) will decrease coverage by 3.35%.
The diff coverage is 43.60%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##           develop     #774      +/-   ##
===========================================
- Coverage    87.43%   84.09%   -3.35%
===========================================
  Files           27       27
  Lines         1815     1905      +90
===========================================
+ Hits          1587     1602      +15
- Misses         228      303      +75

Files Changed
Coverage Δ

splunk_connect_for_snmp/common/schema_migration.py
95.23% <ø> (-0.15%)
:arrow_down:

splunk_connect_for_snmp/inventory/loader.py
50.74% <18.91%> (-39.58%)
:arrow_down:

...lunk_connect_for_snmp/common/collection_manager.py
61.68% <66.66%> (-8.22%)
:arrow_down:

...unk_connect_for_snmp/common/inventory_processor.py
95.45% <90.00%> (-1.38%)
:arrow_down:


[mempool] Bump mariadb dep to 16.4.0

Covered in https://github.com/bboerst/bitcoin-helm-charts/pull/74


What changes are needed to feed an image grabbed from a camera

Dear @cardwing
I am working on video inferencing. For that I am grabbing an image from a camera.
The image is a ndarray with dtype uint8.
Hence it will get dtype float32 after getting processed with process_img.
What changes do I have to apply in order to be able to feed the image I grab from the camera to your pretrained model?
I guess I have to change the dtype of input_tensor?
Do I have to change things in vgg_encoder.py, lanenet_merge_model.py and cnn_basenet.py?

Yes. You can have a try.

Dear @cardwing
I am working on video inferencing. For that I am grabbing an image from a camera.
The image is a ndarray with dtype uint8.
Hence it will get dtype float32 after getting processed with process_img.
What changes do I have to apply in order to be able to feed the image I grab from the camera to your pretrained model?
I guess I have to change the dtype of input_tensor?
Do I have to change things in vgg_encoder.py, lanenet_merge_model.py and cnn_basenet.py?

Do you find a good solution for the change?
I also want to try the Model with a Videostream. I think to change the input_tensor is not enough. Because the Session.run() Method takes a list of strings with paths.
Do i have to change the Graph for this or is there another workaround as save the picture from the Stream into the defined Graph and change the test_img.txt file?
Thanks for doing this nice Project.


Disable Hystrix support when using Feign by default

Fixes #1277

Codecov Report

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

@@            Coverage Diff             @@
##           master    #1743      +/-   ##
==========================================
- Coverage   75.23%   75.06%   -0.18%
==========================================
  Files         200      198       -2
  Lines        6210     6179      -31
  Branches      777      774       -3
==========================================
- Hits         4672     4638      -34
- Misses       1199     1202       +3
  Partials      339      339

Impacted Files
Coverage Δ

...rix/security/HystrixSecurityAutoConfiguration.java
90.47% <ø> (ø)
:white_check_mark:

...cloud/netflix/feign/FeignClientsConfiguration.java
100% <ø> (ø)
:white_check_mark:

...feign/ribbon/CachingSpringLoadBalancerFactory.java
76.47% <0%> (-23.53%)
:x:

...loud/netflix/ribbon/RibbonLoadBalancerContext.java
69.23% <0%> (-15.39%)
:x:

...amework/cloud/netflix/ribbon/eureka/ZoneUtils.java
62.5% <0%> (-4.17%)
:x:

...ign/ribbon/FeignRibbonClientAutoConfiguration.java
73.33% <0%> (-1.67%)
:x:

...filters/discovery/DiscoveryClientRouteLocator.java
78.37% <0%> (-1.11%)
:x:

...cloud/netflix/zuul/filters/SimpleRouteLocator.java
80.43% <0%> (-1.09%)
:x:

...ork/cloud/netflix/feign/support/SpringEncoder.java
64.28% <0%> (-0.84%)
:x:

.../netflix/eureka/EurekaClientAutoConfiguration.java
87.5% <0%> (-0.74%)
:x:

... and 7 more

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 465b827...54c052c. Read the comment docs.

Release note added https://github.com/spring-projects/spring-cloud/wiki/Spring-Cloud-Dalston-Release-Notes#spring-cloud-netflix


Fixed issue #8 causing tables to not render

Fixed issue where if tokens[numChildren - 1] was undefined errors occurred and tables fail to render

:+1:


Add USA to Countries List

Currently separated by states but no way to search all US teams

Additionally, provinces for Canada. Will likely require separating Region field into Country and State/Province fields.


[v0.72.0][Android] Native build fails with "ld: error: --fix-cortex-a53-843419 is only supported on AArch64 targets"

Description
I am trying to upgrade an existing library project from RN v0.71.10 to v0.72.0. The library uses native build step, which after the upgrade fails to link on Android with such error:

C/C++: ninja: Entering directory `/path/to/project/react-native-static-server/android/.cxx/Debug/j5o4kv1u/arm64-v8a'
C/C++: ld: error: --fix-cortex-a53-843419 is only supported on AArch64 targets
C/C++: clang: error: linker command failed with exit code 1 (use -v to see invocation)

I currently have no idea what does it mean, but my very naive blind guess, it might be somehow related to removing "separate builds per CPU architecture" from Gradle config (I mean the following change from RN upgrade helper)?

Please, help, at very least with some guidance how to further troubleshoot it.
React Native Version
0.72.0
Output of npx react-native info
System:
OS: Linux 5.19 Ubuntu 22.04.2 LTS 22.04.2 LTS (Jammy Jellyfish)
CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Memory: 3.24 GB / 11.58 GB
Shell:
version: 5.1.16
path: /bin/bash
Binaries:
Node:
version: 18.16.1
path: ~/.nvm/versions/node/v18.16.1/bin/node
Yarn: Not Found
npm:
version: 9.5.1
path: ~/.nvm/versions/node/v18.16.1/bin/npm
Watchman:
version: 20230101.175141.0
path: /usr/local/bin/watchman
SDKs:
Android SDK:
API Levels:
- "33"
Build Tools:
- 30.0.3
- 33.0.0
- 33.0.2
System Images:
- android-33 | Google APIs ARM 64 v8a
- android-33 | Google APIs Intel x86_64 Atom
- android-33 | Google Play ARM 64 v8a
- android-33 | Google Play Intel x86 Atom_64
Android NDK: Not Found
IDEs:
Android Studio: Not Found
Languages:
Java:
version: 11.0.19
path: /usr/bin/javac
Ruby:
version: 3.0.2
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.0
wanted: 0.72.0
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: Not found
Steps to reproduce
See below.
Snack, code example, screenshot, or link to a repository
https://github.com/birdofpreyru/react-native-static-server/tree/dev-0.8
:point_up: This is my library project I am trying to upgrade. If you want to give it a try:

Clone & checkout branch dev-0.8
git submodule update --init --recursive in the codebase root.
npm install in the codebase root, and in the example sub-folder.
Then npm run android inside example subfolder — it will crash during the build.

Thanks for reporting this @birdofpreyru

Clone & checkout branch dev-0.8
git submodule update --init --recursive in the codebase root.
npm install in the codebase root, and in the example sub-folder.
Then npm run android inside example subfolder — it will crash during the build.

I am not able to reproduce your issue, as I'm actually able to build and run correctly your sample app. So there might be something going on with your environment

@cortinico did you test it on MacOS build host? Probably, the issue is specific to Ubuntu build host I am using for Android development? I've just tried to clean-up and re-build the codebase, it still fails the same way; and then I tried to build the previous version, which still works for me without problems. The difference between those two versions is just what I did trying to upgrade RN:
https://github.com/birdofpreyru/react-native-static-server/compare/f0ee71205dd01ae2755e23a09a688f7f0cd9a992..12ef55f777be9d0e5e00e1099e93b55d4dfcf5db

did you test it on MacOS build host

Yes I did build on MacOS. I don't have a Linux machine where I can try this so I'm a bit stuck here. Are you able to build without any problems on Linux a vanilla project? Is the problem specific to this library?

Ogh... a vanilla project works fine, a vanilla project with added dummy CMake build step also works fine. I guess, it is something specific to the C project in my library.

Comparing the failing (new) build against the old (working) one, I tracked the difference down to an additional link flag -L/usr/lib/x86_64-linux-gnu appearing in the failing (new) build's build.ninja script — at least when I run ninja directly it fails with that script when the flag is present, and it works if I manually remove the flag from the script. Just have to figure out why it appears there :)


Any Ruby LSP and Deno LSP doesn't work

I am able to successfully use the solargraph Ruby LSP server.  How did you add the solargraph server to the LSP plugin?

I am able to successfully use the solargraph Ruby LSP server. How did you add the solargraph server to the LSP plugin?

{
  'name': 'rubylang',
  'filetype': ['ruby'],
  'path': 'solargraph',
  'args': ['stdio']
}

I am able to successfully use the solargraph Ruby LSP server. How did you add the solargraph server to the LSP plugin?

After deleting vim-lsp-settings-adapter ыolargraph started working but I got the following error
https://user-images.githubusercontent.com/21293376/230580321-afc9d75b-c065-456c-a311-18e2f314c868.mp4

And Deno LSP started working after adding initOptions

The Solargraph language server returns null as the "detail" field for some of the completion items.  I have pushed fcbe77b3884517a84d8ce5331b14da24b3bf4678 to properly handle this.  Can you try using the latest plugin?


Set a min base64 spec

Codecov Report

Merging #47 (2209e21) into main (a28268c) will decrease coverage by 0.08%.
The diff coverage is 28.57%.

@@            Coverage Diff             @@
##             main      #47      +/-   ##
==========================================
- Coverage   65.77%   65.69%   -0.09%
==========================================
  Files          11       11
  Lines         789      790       +1
==========================================
  Hits          519      519
- Misses        270      271       +1

Impacted Files
Coverage Δ

src/keypair.rs
86.66% <ø> (ø)

src/multisig/mod.rs
71.87% <0.00%> (ø)

src/ecc_compact/mod.rs
75.53% <25.00%> (-0.82%)
:arrow_down:

src/secp256k1/mod.rs
68.08% <100.00%> (ø)

src/public_key.rs
67.42% <0.00%> (-0.76%)
:arrow_down:

src/lib.rs
40.22% <0.00%> (+1.14%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


inspect project command

Read from and show json of attr.asdict(root)

@orsinium I would like to work on the issue. Can you please elaborate and explain what is to be done?

Sure.
        loader = CONVERTERS[self.config['from']['format']]
        loader = loader.copy(project_path=Path(self.config['project']))
        root = loader.load(path=self.config['from']['path'])

Do a command with it and have a look at root. It contains information about the project. Make a nice dict with info from it and print result:
        print(make_json(
            data=data,
            key=self.config.get('filter'),
            colors=not self.config['nocolors'],
            table=self.config['table'],
        ))
        return True

Also, attr.asdict can help to make the dict. Have fun!

Thanks! I will start working on it now.

I encountered some non-serialisable JSON objects while trying to pretty print the json output of attr.asdict(root).
Some of those are :

'constraints' : Constraint()
'marker': MarkerTracer()

What do you suggest has to be done with this?

Where are they located? If in dependencies, just don't dump dependencies at all, we don't need such mess in output. If somewhere else, they can be converted to str(...).

Okay, cool.
Which keys do you want to be printed for output of inspect project ?

Have a look what's important, I trust you.

@orsinium can you have a look at the PR I have opened addressing this issue?


Add a "reset" option (with "Are you Sure?")

Once you're done with a proof, it's not clear how to restart from scratch. You can select and delete all the statements, but that doesn't load a different database. It'd be nice to have a "reset" button, which of course would ask for confirmation (default NO) before erasing everything.

I can add a "reset" button but I am not sure that it should reset the database. As for me it will be much handy if this button removes all statements, all variables, disjoins, and description. But leaves currently loaded database untouched.
Changing the database is very simple - click it (I mean click the header) and it will be expanded, then according to what you need either press the "trash can" button, or change the scope and label, add new sources if needed. Then press "Apply changes".
The reason why I think it doesn't make sense to reset the database is how I imaging a usual workflow - load a database, create a proof; delete the proof, create another proof; an so on. With resetting the database users will be forced to load a database again after creating each proof.

Okay, that makes sense! Maybe "Are you sure?" dialogue can make that clear. Something like this:

Note: Resetting will erase individual proof information such as the description, variables, and any proof steps. Resetting does not change the current context, that is, the set of loaded databases and their scope. To change the context, go to the context section at the top, modify the context, and press "Apply changes".

BTW, I've worked out a simple solution in the editor: use loading. E.g.:
Start up the metamath-lamp application in a completely empty state (erasing whatever you had before in metamath-lamp)

Unfortunately this will not work in the next version. Just try to replace latest with dev in this URL and you'll see that mm-lamp opens in TEMP mode. If this approach worked it would be very easy to accidentally erase current editor state just by navigating to another URL (to see some example, or if somebody shared a proof with you and you want to check it in the middle of creating of your own proof).
TEMP mode is read-only. Any change you do in TEMP mode is not saved and will be lost when you close a browser tab with it. This relates to both changes in the editor and in the settings.
Currently there is no easy way how to move from TEMP mode to NORMAL mode. The only way is to 1) use export to JSON in TEMP mode; 2) open a new tab with mm-lamp in NORMAL mode; 3) use import from JSON.
I will add a warning for users when they start editing in TEMP mode, reminding that all their changes will not be saved in this mode.

A warning about editing in TEMP mode is implemented on dev. Open mm-lamp on dev by some URL with editorState and try to edit anything in the editor - you will see this warning.

Can you tell me more about TEMP mode? What is different t about TENP mode? How do you enter and leave it?

Also, what indicates TEMP mode? Just the browser header? The browser header is not normally shown on Firefox on Android, and I don't think it's shown on Macs either.

Ah!! Now I see it when I try to edit an existing statement:

Editing in TEMP mode
You are about to edit in TEMP mode. All changes you do in TEMP mode will be erased upon closing current browser tab. If you want to continue editing in NORMAL mode, please do the following actions: 1) use "Export to JSON" to copy current editor state to the clipboard; 2) open a new tab (or switch to an already opened tab) with metamath-lamp in NORMAL mode; 3) use "Import from JSON" to load the copied editor state from the clipboard.

However, I don't see this warning when I press "+" (add statement). Shouldn't this warning also show up the first time you use any modification like add, duplicate, search, replace, renumber?
It looks like "TEMP mode" is forcibly enabled when you load from a URL, correct? That's a little unfortunate for me, because for a tutorial it's nice to be able to reload a specific known state. It'd be nice if there was a way for the URL to say "use this as the real thing" (presumably requiring user confirmation first). I like the idea of a TEMP mode though.
Here's my attempt to explain it, please let me know if this is correct or incorrect:
OLD TEXT
This menu includes several ways to export and import your
current state:

"Export to URL": Provides a URL. You or anyone else
can use this URL to re-open the proof assistant at
this current state.
"Export to JSON": Provides the current proof assistant
state as text; you can save this where you wish.
"Import from JSON": Allows you to load a state previously
exported with "Export to JSON".

NEW TEXT
This menu includes several ways to export and import your
current state.
You can save your state for reloading later in a JSON format (if you store these in a file they conventionally have a .lamp.json suffix):

"Export to JSON": Provides the current proof assistant
state as text; you can save this where you wish.
"Import from JSON": Allows you to load a state previously
exported with "Export to JSON".

You can also export to a URL using "Export to URL". If you or anyone else opens this URL, Metamath-lamp is opened in "TEMP" (temporary) mode. TEMP mode is intended to let you view others' work without erasing your own; any changes in TEMP mode won't affect your existing work in your "normal" editing page and any changes you make in TEMP mode will be discarded when you leave the page. To warn your of this, the web page header starts with "TEMP", and the first attempt to edit will remind you that you're in TEMP mode and that changes will be discarded later. There's currently no mechanism to switch from TEMP mode to regular mode. If you want to save results from TEMP mode, use "Export to JSON" and record the results somewhere; you can then use "Import from JSON" to load the results into a normal tab.

My attempt to explain TEMP mode is here, please correct as needed:
https://github.com/metamath/lamp-guide/pull/96

Related: https://github.com/expln/metamath-lamp/issues/114

Can you tell me more about TEMP mode? What is different about TEMP mode? How do you enter and leave it?

You've understood it correctly.
The main purpose is not to erase user's work accidentally.
You've also wrote correct instructions in the guide on how to exit TEMP mode (via "export to / import from" JSON).
As of entering, it is also not much convenient but possible: just export to a URL and open this URL :) Yeah, this doesn't work for big states. But if you need to do some experiment without modifying your current state and URL is not enough, you may open a new incognito tab. It has different local storage.

Also, what indicates TEMP mode? Just the browser header? The browser header is not normally shown on Firefox on Android, and I don't think it's shown on Macs either.

For now yes. But I will improve it in scope of https://github.com/expln/metamath-lamp/issues/117

However, I don't see this warning when I press "+" (add statement). Shouldn't this warning also show up the first time you use any modification like add, duplicate, search, replace, renumber?

You are right, I missed these cases. I will handle them too. Thanks for pointing this out.

It looks like "TEMP mode" is forcibly enabled when you load from a URL, correct? That's a little unfortunate for me, because for a tutorial it's nice to be able to reload a specific known state. It'd be nice if there was a way for the URL to say "use this as the real thing" (presumably requiring user confirmation first). I like the idea of a TEMP mode though.

Correct, that's how it works now. I implemented TEMP mode even before your first PR in this repo, I didn't expect this need :) Let's discuss this in the corresponding issue you've created https://github.com/expln/metamath-lamp/issues/114
(For now, I am going to release v11 with how it works now)

(For now, I am going to release v11 with how it works now)

Absolutely! My goal right now is to document it correctly & file issues for my ideas on how I think it could be improved in the future.

The "Reset editor content" menu item in the hamburger menu is available on dev. There is no "Are you sure?" because users can use the undo/redo feature.

Great!!
Omitting "are you sure", because of undo/redo, is just fine. Having undo eliminates all sorts of problems :-).

This is available in version 16


Add tract names to plot and label y-axis

With many tract profiles open, it is hard to tell which plots are for which tracts. So tract names should be added to the plots. Also, y-axis label should be added (e.g. FA, MD, etc.)

Resolved in #145


Merge of PRs, including some fixes to bugs that were introduced by them

One of the PRs is not totally backwards compatible and I completely forgot (despite author have warned me). Instead of releasing a minor version (2.1.0) with the other PRs, I'm leaning towards merging #101 into the party and releasing 3.0.0 instead.
PRs included:

https://github.com/jseidl/hass-magic_areas/pull/118
https://github.com/jseidl/hass-magic_areas/pull/98
https://github.com/jseidl/hass-magic_areas/pull/99
https://github.com/jseidl/hass-magic_areas/pull/92

Huge thanks to @sti0 @KTibow and @caphm, you folks rock!
Note: I had to rename the branch, for more info see conversation on #123

All seems to be working, merging.


Add Overture Maps logo

Screenshot: Not sure how to reshuffle the table because this is the 17th logo vs. 16 which fit in a nice 4x4 grid.

@jwass - I think it would make sense to remove the OpenLayers logo altogether.  Not that we'll always have a perfect square number of contributors, but I think having Planet in there covers my involvement, and OpenLayers isn't really involved otherwise.

@jwass - I think it would make sense to remove the OpenLayers logo altogether. Not that we'll always have a perfect square number of contributors, but I think having Planet in there covers my involvement, and OpenLayers isn't really involved otherwise.

@tschaub Done. New screenshot:


move installation-testing to experimental

Problem
installation-testing is a directory in the repo root with its own terraform, build files, and Dockerfile. It could be moved to experimental until ready to be integrated with Emblem's primary terraform and build files.
Expected behavior
As an optional extension of Emblem, 'installation testing' can still be included with the rest of Emblem terraform directory as a testing module that is optionally deployed at setup or after.

closing as obsolete


Support for Stream

Hi
I would like to know if we can provide support to get data from stream

or buffer


Addition of ReferenceDocument

See #78

@egreising
Following Flavio's proposal, the English definition is now: "To provide supporting information for performing an activity.". Maybe you wish to adapt the Spanish translation?
Also, the Spanish label and definition are missing for coos:ReferenceDocument. In English, we have:

label: "Reference document"
definition: "Document that is used to support, inform and guide the business processes."


ENH: Faultroom export - add mapping of juxt.pos. to SMDA names (#724)

Resolves #724, and sorts the mapped names according to the given stratigraphic column.
Discussion on Slack: https://equinor.slack.com/archives/C06E3UTGTEV/p1719922723901579

Need to get some info from Ingunn to find the best way forward regarding some of these issues

OK with no-ordering and warning, @tnatt ?

I didn't really find another suitable place, so I made one myself 😊


check_array_lengths kwarg of Model._standardize_user_data does nothing

[x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

I'd like this feature, specifically for implementing graph networks where the batch size dimension is overloaded with the variable number of nodes and edges per graph.
I wasn't sure how to best go about implementing it though. I'm happy to add in the check to
the relevant line, but most of the calls to model._standardize_user_data don't pass along additional kwargs.
Maybe the best option would be, in addition to adding the check, to subclass Model and switch that default flag to False. Seems hacky though. The other option would be to add an attribute to keras.Model instead of using the existing (unused) kwarg.

closing this with the fix from #11548


cannot play video

i can open recieved video from contact but can't play

Indeed it would be really convenient to be able to play a videos inside the app. If I receive a video, it shows with a play button but need to go on website to watch it.

Same here =( Can't play back any video clips or audio messages while using the desktop app... please help

NWJS doesnt support it yet

Will be resolved soon, just need to change the lib.
Meanwhile please check https://github.com/Aluxian/Facebook-Messenger-Desktop/issues/458


Addition of format command on Makefile

Will implement make format as a new feature.
See PR #7437 for more detail.

#7437


assertContains and assertContainsOnly fail when the actual iterable is not restartable

Check List:

Fixes #??? absolutely, assertContains and assertContainsOnly fail if the iterable is not restartable
Unit tests : YES
Javadoc with a code example (on API only) : NA

Integrated with a "bit" of delay, thanks @rpolton!

Hey, that's okay. I guess you do this in your spare time so it's good of
you to do this anyway :)
Thanks
On Fri, 28 Aug 2020, 12:15 Joel Costigliola<EMAIL_ADDRESS>wrote:

Integrated with a "bit" of delay, thanks @rpolton
https://github.com/rpolton!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/joel-costigliola/assertj-core/pull/1941#issuecomment-682469155,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC66GSWMZSYXJFDAKBWF5QLSC6GUNANCNFSM4OZYRJFQ
.


[WIP] move ImagePullBackOffWatcher to agent

Description

Context

Changes

Testing

[ ] Tests have run locally (with go test ./...). Buildkite employees may check this if the pipeline has run automatically.
[ ] Code is formatted (with go fmt ./...)

Nope.


Circle is vanishing?

i wanted to insert a circle. but whenever i insert it, it disappears immediately. i don't think it's a problem with the code. i probably just don't understand it properly. could you help me?

Hi @Donniii, thanks for finding my code and using it ;) I wrote this so long and forgot about it.
Anyways, about your issue, could you show a snippet of your code so I can see exactly where the problem is? I guess the issue may be that you're defining the coordinates of the balls outside of the window, try using the existing ball's coordinates as reference.
In the meantime here are a few more examples that should work, you can find these from the code too by uncommenting them.
greenball = Balls("green ball", algeablue, 8, 0, width//2+bigr-20, height//2-50, "golf_ball.wav")
yellowball = Balls("green ball", magenta2, 8, 0, width//3, height//2,"trm.wav")
blueball = Balls("green ball", blue, 8, 0, width*2//3+5, height//2, "trm.wav")

okay now i have to go back to study for my semiconductors final :(

Thanks for your response! This realy helped me


Fix AutoComplete from showing up when typing Emails

The AutoComplete View pops up when typing '@' to mention usernames, but when typing email addresses the same View pops up. This was fixed by checking whether the previous letter before the '@' is an empty space. This stops the view from showing as the letter before '@' would never be a space in an email.
Fixes:#1553

Thanks for the feedback and for regex to work we need the entire string right. Isn't the function called everytime we enter a character.
Also I think that we should make the user enter a space before mentioning anybody, this would make the implementation easier.

Looks good. Have a look at the failing test and fix it, please!


getTextZoom() on IOS returns 100 regardless of whatever text size has been selected from accessibility!

After my document load has been triggered I fire the getTextZoom method:
 MobileAccessibility.getTextZoom(function(zoom) {
  console.log(zoom); // This returns 100 regardless of system font accessibility size
});

Have you tried calling MobileAccessibility.usePreferredTextZoom(true); before calling MobileAccessibility.getTextZoom to make sure that your app subscribes to the OS level text scaling?

Yeah tried it again. Still the same thing. It just passes the value 100 to the callback function.

I'm not able to replicate on iOS 9.2.1. Could you provide any further detail on your test environment?

i fixed that by changing the source code of CDVMobileAccessibility.m
`#define iOS10Delta (([[[UIDevice currentDevice] systemVersion] floatValue] >= 10.0 ) ? 40 : 0 )
-(double) mGetFontScale
{
double fontScale = 1;
if (iOS7Delta)  {
fontScale = [[UIFont preferredFontForTextStyle:UIFontTextStyleBody] pointSize] / BASE_UI_FONT_TEXT_STYLE_BODY_POINT_SIZE;
}
if(iOS10Delta) {
    fontScale = [[UIFont preferredFontForTextStyle:UIFontTextStyleBody] pointSize] / 17;
}

return fontScale;

}`
this is propably not the nicest solution, because im not really sure for what the scaling value in the #define part is for, but i added it anyway

For anyone else coming across this now, I think the getTextZoom function is now returning a promise, and does not take a callback as indicated in the documentation.  MY implementation seems to be working on IOS and Android:
 const mBA = this.mobileAccessibility;
      mBA.getTextZoom()
        .then(textZoom => {
          // if the device zoom is between 100% and 125%, then use it
          if (100 < textZoom && textZoom < 126) {
            mBA.usePreferredTextZoom(true);
          } else if (textZoom > 125) {
            // if the device zoom is greater than 125%, then ignore it and use 125%, otherwise our designs will break
            mBA.usePreferredTextZoom(false);
            mBA.setTextZoom(125);
          } else {
            // if the device zoom is less than 100%, then ignore it and use 100%, otherwise our designs will break
            mBA.usePreferredTextZoom(false);
            mBA.setTextZoom(100);
          }

Dear @ostigley ,
Can you tell me exactly where I use your suggested code ? so solve the issue.

Dear,
Firstly Good Work!!.
This plugin works fine in Android but I am facing the same issue.. in iOS getTextZoom function return me 100 value even changing the text size in accessibility.


feat: allow connecting to remote anvil nodes [APE-892]

What I did
Allows specifying a host for connecting remotely to an anvil node.
How I did it
When the user puts host, use that instead of launching the process.
Basically, works the same except it won't try to launch anything; it will only try to connect.
How to verify it
Checklist

[x] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[ ] Documentation has been updated
[ ] PR title follows Conventional Commit standard (will be automatically included in the changelog)

I was having trouble getting this to work with my configuration:
foundry:
  - port: 8545
  - host: http://<IP_ADDRESS>

ape console
WARNING: Unable to load CLI endpoint for plugin 'ape_console'
        RecursionError: maximum recursion depth exceeded while calling a Python object
        (Use `--verbosity DEBUG` to see full stack-trace)

@sabotagebeats do you maybe need to use https instead of http?

i can do the same to ape-hardhat if we like this

@sabotagebeats do you maybe need to use https instead of http?

it does work with http if I don't use the ape configuration file to set the anvil network.

I was having trouble getting this to work with my configuration:
foundry:
  - port: 8545
  - host: http://<IP_ADDRESS>

or alternatively:
foundry:
  - host: http://<IP_ADDRESS>:8545

ape console
WARNING: Unable to load CLI endpoint for plugin 'ape_console'
        RecursionError: maximum recursion depth exceeded while calling a Python object
        (Use `--verbosity DEBUG` to see full stack-trace)
Error: No such command 'console'.

I was able to get it to work:
do this instead:
foundry:
  host: http://<IP_ADDRESS>:8545


how I use processed datasets about CACD

like the question, I run preprocess-cacd.py file and save the processed picture to CACD2000-centered. and then I change the file path to CACD2000-centered, but when I run the cacd-coral.py ,there was an error saying that it can not find a picture with a name.

You may have to update the path in the cacd-....py  scripts to match the path where the jpg files are located. I.e., this particular line:

I have changed the path to  /CARD2000-center/, but it still not work,and I checked the number of all processed pictures, finding that it's a thousand fewer than unprocessed pictures.I thought the reason is that the csv file can't find the pictures preprocessed failed like the closed issue 2 said..

Hm not sure what's going on. For convenience, I uploaded .tar.gz archive of the center-cropped CACD images used in the paper you can use: https://drive.google.com/file/d/198xcS0B32KBVYB9oL_W5m-7fxattDZpV/view?usp=sharing


Add NetHunt logo to the site.

Thank you for your great work!

Hi!
I have already signed)

Hi!
I have already signed)

https://github.com/settings/connections/applications/55bce87c38465defc2c9
What should I do?

https://github.com/settings/connections/applications/55bce87c38465defc2c9
What should I do?

You're welcome. Happy to add your logo. Please also consider sponsoring ESLint to help with ongoing maintenance and development.

You're welcome. Happy to add your logo. Please also consider sponsoring ESLint to help with ongoing maintenance and development.


Colour Change Not Working

the scripts and effects work perfectly fine, but when I choose a colour and click apply it doesn't change. Tomahawk B450 btw. Weird fix but I had to change all the 8 colours to the one colour I wanted.

If you only change one colour, it'll alternate between that and the other 7. I'm not sure if that was the problem.


Fix parsing pipeline

Fix #52
After this change, highlight looks like follows

Yes it works.
I added test for that case.

thanks again!


Problem scraping if rider DNF first stage

$ python test.py
[
Traceback (most recent call last):
File "/Users/colin/marketcetera/workspaces/procyclingstats/code/procyclingstats/examples/test.py", line 27, in
pprint(stage.parse())
File "/Users/colin/Library/Python/3.10/lib/python/site-packages/procyclingstats/scraper.py", line 112, in parse
parsed_data[method_name] = method()
File "/Users/colin/Library/Python/3.10/lib/python/site-packages/procyclingstats/stage_scraper.py", line 298, in results
table = join_tables(table, table_parser.table, "rider_url")
File "/Users/colin/Library/Python/3.10/lib/python/site-packages/procyclingstats/utils.py", line 162, in join_tables
table.append({**table2_dict[row[join_key]], **row})
KeyError: 'rider/laurens-de-plus'
In the first stage of the '23 Vuelta, Laurens de Plus crashed and DNF. Not sure if this is the source of the issue or not. Sample script attached to reproduce.
test.py.txt

Yes I know about it, I'll try to fix it in next update.

Thanks a million!
My Python skills are next to nothing otherwise I would try to help.

On Sep 1, 2023, at 9:10 AM, Martin Madzin @.***> wrote:
Yes I know about it, I'll try to fix it in next update.
—
Reply to this email directly, view it on GitHub https://github.com/themm1/procyclingstats/issues/15#issuecomment-1702992029, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJB3MTKYXEURVAHFKSEFKTXYICHJANCNFSM6AAAAAA4HXFXCU.
You are receiving this because you authored the thread.

No problem, it should be quite easy fix :))

Dug into this a little bit, issue doesn't seem to be the DNF but the fact that times were taken with 9km to go but the finishing positions were taken as normal at the finish line. As a result the time diffs have an artifact for Andrea Piccolo who was leading the race with 9kms to go (and recorded the quickest time for the stage) but finished 39th across the line.
In the official race results this was reported as him finishing in 39th place with no time gap (0 seconds) and there seems to have been an issue recording this on PCS where his time is recorded as -1:0-1:0-19.

Have pinged PCS to see what they think but more generally a better fix would probably be drop rows that have parsing errors and log an error every time it happens as there must be data quality issues all over PCS.

I fixed the problem by setting the time for every rider, whose time is in invalid format, to the time in previous row. Hope this helps. New version is available on PyPI.


Is 1.0 ready for use yet?

Hello,
I wonder if 1.0 is ready for use, I would really love to try out those new features such as the dynamic parameters. However, I can't seem to find any solid documents on 1.0 especially the example code for the new features?

I have spent the last week trying it out. It's stable for the most part. The lack of documentation was the biggest issue. I ended up getting it to work using a combination of:

The in-code documentation, which is fairly comprehensive
The TypeDoc-generated documentation for the feature-1.0 branch
Reading the unit tests for working code examples

Follow this for the road to beta: #2223


The "path" argument must be of type string. Received null after upgrading

I recently upgraded to v1.1.1 and am now getting this error:
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
The "path" argument must be of type string. Received null
<EMAIL_ADDRESS>9:0-38 33:18-39 38:15-33 60:15-33
<EMAIL_ADDRESS>23:0-66 23:0-66

Hi @ndtreviv
Based on the error message you provided, it's difficult to determine the exact cause of the issue. However, if you could provide a demo on StackBlitz that replicates the problem, we would be able to investigate further.

When I try to create the issue on StackBlitz it adds more dependencies to my package.json, so I'm not convinced I can represent the same issue correctly.
This is my package.json if it helps at all:
{
  "name": "my-ui",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@emotion/react": "11.10.6",
    "@emotion/styled": "11.10.6",
    "@mui/icons-material": "5.11.16",
    "@mui/lab": "5.0.0-alpha.127",
    "@mui/material": "5.12.1",
    "@mui/x-data-grid-pro": "6.2.1",
    "@mui/x-date-pickers-pro": "6.2.1",
    "@unovis/react": "1.1.1",
    "@unovis/ts": "1.1.1",
    "add": "2.0.6",
    "axios": "0.25.0",
    "downshift": "6.1.12",
    "google-map-react": "2.1.10",
    "js-file-download": "0.4.12",
    "lodash": "4.17.21",
    "moment": "2.29.4",
    "papaparse": "5.3.2",
    "query-string": "7.1.0",
    "react": "17.0.2",
    "react-copy-to-clipboard": "5.1.0",
    "react-country-flag": "3.1.0",
    "react-diff-viewer": "3.1.1",
    "react-dom": "17.0.2",
    "react-hotkeys-hook": "4.4.0",
    "react-photo-gallery": "8.0.0",
    "react-router-dom": "6.2.1",
    "react-scripts": "5.0.1",
    "react-syntax-highlighter": "15.4.5",
    "use-countries": "0.1.3",
    "use-why-did-you-update": "0.1.0",
    "web-vitals": "2.1.4"
  },
  "scripts": {
    "start": "react-scripts start",
    "verify": "semistandard",
    "build": "semistandard && react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}

I think this was an issue with react-scripts and cra, which is dead. I migrated to vite and everything's happy.

@rokotyan Glad to hear that you were able to solve the problem, thanks for posting the solution!


Place hosting the UI

@Dengaloo @FIN-JBarile
The bridge between FB/SLB and Ecopath can be accessed from the "Information by Country / Island" section of FishBase. In that section, one the Tools allows the user to request Ecopath data.
--> Where will our UI be hosted?
Do you envision doing something similar to what you did for the the bridge between FB/SLB and Ecopath, i.e., having a tool called "OSMOSE data" in the "Information by Country / Island" section of FishBase?

I had a Skype meeting with Deng on Thursday, and we discussed the present issue in detail; I am going to close the present issue and open two new UI issues.


Coda Daemon crashed

As I have re-launched my Mac (it off off due to travel), i have tried to check for the status of Mina at the SHH windows and got en error claiming it cannot reach Mina.
After that I straight way tried to launch the daemon and it started doing various jobs, never theles it crashed.
I have the impression I should have unlocked my account first.
Below copy/pasting the report, as it was asked to let know developers about that crash.
======
2021-03-12 08:53:43 UTC [Info] Setting current protocol version to "2.0.0" from compile-time config
2021-03-12 08:54:39 UTC [Info] Daemon started process of kind "Prover" with pid 10874
2021-03-12 08:54:39 UTC [Info] Daemon started process of kind "Verifier" with pid 11008
2021-03-12 08:54:39 UTC [Info] Registering async shutdown handler: "Close transition frontier, if exists"
2021-03-12 08:54:39 UTC [Info] libp2p peer ID this session is $peer_id
peer_id: "12D3KooWGredUvZa861S331wF2DdmUbVERdLx18kk7USrGKiXGN6"
2021-03-12 08:54:39 UTC [Fatal] Unhandled top-level exception: $exn
Generating crash report
exn: {
"commit_id": "06f3c5cdeb635b2564fcb2edac4f10db85b93c36",
"sexp": [
"monitor.ml.Error",
[
"Failed to connect to libp2p_helper process",
"RPC #2 failed: "internal RPC error error: failed to parse multiaddr \"InvalidBucketNameThe specified bucket is not valid.Bucket na
mes must be at least 3 characters in length, got 1: 's'\": must begin with /""
],
[
"Raised at file "src/error.ml" (inlined), line 9, characters 14-30",
"Called from file "src/lib/gossip_net/libp2p.ml", line 144, characters 8-94",
"Called from file "src/deferred1.ml", line 17, characters 40-45",
"Called from file "src/job_queue.ml" (inlined), line 131, characters 2-5",
"Called from file "src/job_queue.ml", line 171, characters 6-47",
"Caught by monitor coda"
]
],
"backtrace": [
"Raised at file "src/error.ml" (inlined), line 9, characters 14-30",
"Called from file "src/lib/gossip_net/libp2p.ml", line 144, characters 8-94",
"Called from file "src/deferred1.ml", line 17, characters 40-45",
"Called from file "src/job_queue.ml" (inlined), line 131, characters 2-5",
"Called from file "src/job_queue.ml", line 171, characters 6-47"
]
}
2021-03-12 08:54:39 UTC [Warn] Shutdown before Coda instance was created, not saving a visualization
☠  Coda Daemon crashed.
The Coda Protocol developers would like to know why!
Please:
Open an issue:
https://github.com/CodaProtocol/coda/issues/new
Briefly describe what you were doing and attach the crash report /home/dmitry_nen/.mina-config/coda_crash_r
eport_2021-03-12_08-54-39.681312.tar.gz

Closing this issue as it is stale for a long time.


Copy slice for thread-safe txpool status endpoint access

Description
This PR fixes not thread-safe transaction slice access in txpool, which is used in JSON-RPC and GraphQL transaction pool status endpoints.
Changes include

[x] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Checklist

[x] I have assigned this PR to myself
[x] I have added at least 1 reviewer
[x] I have added the relevant labels
[ ] I have updated the official documentation
[x] I have added sufficient documentation in code

Testing

[x] I have tested this code with the official test suite
[ ] I have tested this code manually

Close this PR for no need changing.


Enhancement:Return to calling event

Question
When placing a tile that contains tokens or items with a visibility that depends on another event, the programming can become quite complicated or elaborate. This conditional placement of tokens, persons and items makes a scenario feel more alive. The investigators will feel that their actions progress the story.
Example: You place the library tile , add a door and an explore token. Then, place the search token for the book only when you know what to look for (after speaking with someone), and place a person token only if the room is revealed in round 3 and 4.
This can be solved with the 'Loop-tactic'. An event that calls conditional placement events that trigger the loop event again until it has reached the number of items to place.
Or you can use the 'funnel-tactic' where each conditional placement item calls all next placement events (minus 1). Example:
PlaceTile Calls PlaceItem1
PlaceItem1 Calls ConditionallyPlaceItem2, ConditionallyPlaceItem3, ConditionallyPlaceItem4
ConditionallyPlaceItem2 Calls ConditionallyPlaceItem3, ConditionallyPlaceItem4
ConditionallyPlaceItem3 Calls ConditionallyPlaceItem4
Both tactics are quite some work to get right, or may be considered too complicated . I  suspect that this is why some scenarios (with good stories) have quite basic placement: Dump all tokens on a tile at once with a simple description, leaving the players guessing what to add.
To stimulate this more lively behavior of a scenario, it maybe an idea to add a feature that may simplify the programming of this conditional placement. There for I was thinking about a 'return-to caller' event. Next to conditional placement simplification, it will also make programming (and re-use of events) cleaner and easier if an event could return to calling event.
When a called event returns to its caller, the caller executes the next listed event.
The example above would simply look like:
PlaceTile Calls PlaceItem1, ConditionallyPlaceItem2, ConditionallyPlaceItem3, ConditionallyPlaceItem4
Each placement event would then simply call 'Return' after it has placed the item
Now you need also to create the placement event once. It can be called when the tile is placed and the item should be added. Or when a dialogue gives a hint about the item and you want to place the item on the already reveled tile.
I can totally imagine that this is quite complicate to program in Valkyrie. That is why I put this as a question. Would it make sense to have such a function? Your Opinion Wanted
Valkyrie Version
Any

I think a non-creator opinion may also be interesting so I'll write my opinion after reading @scrubbless's tutorial.
@antontimmermans, isn't what you write in your example already working in Valkyrie? You can create a single event calling others one after another while inside those you can create test conditions to determine if the event should do its job, can't you? Correct me if I'm right. If the answer is 'yes', the conditional placement is just a matter of creating events with test conditions properly resulting in events being reusable.
To some extent, I agree with you that creating events floating "in the air" waiting to fire if conditions are met would be great. Unfortunately, I don't think it's the way to follow! Imaging tens of events like that just waiting and using resources in the meantime; it could create big performance issues (memory/CPU)! That's not the way you create code; your code should be reusable. If you create events correctly in the first place, you can use them as many times in different places as you want when they are needed, and only then.
Let's take your example with the library and the book. You need two variables:

iIsTheLibraryTileOnBoard - 0 = no, 1 = yes,
iIsTheBooksLocationKnown - 0 = no, 1 = yes.

Then you create events:

one which puts the tile on board and sets iIsTheLibraryTileOnBoard to 1,
one which puts the book on board but only if both iIsTheLibraryTileOnBoard and iIsTheBooksLocationKnown are = 1,
one which fires 1. and 2. when entering the library,
one which sets iIsTheBooksLocationKnown to 1,
one which is a dialogue about the book which fires 4. and then 2.

I'm not sure what's the order of assigning variable's value and firing an event but if an assignment is done first and then firing events, the above list can be shortened to 3 events: 2. stays as it's, 1. and 3. are merged as well as 4. and 5. merged.
The process requires deep thinking about your scenario and some "programming" skills/way of thinking so more work. Perhaps that's why not many people do such a thing.
Personally, I think the biggest problem with creating more complex things in Valkyrie's Editor is the latter's design. It is very rustic and, as a result, it has a little bit hard point of entry to know what and how to do sth to achieve some desired goals, i.e. 'Person Token with Several questions' section of the tutorial is a good example.
Although I am a programmer and I code using words, I really like the idea of automatic creation of code using flow-charts, i.e. as it's done in LabVIEW. Therefore, I ideally imagine the creation of scenarios being done this way:

I mean, the code which is created right now in the editor would be represented in a more user-friendly way which would speed-up and make the process of creating scenarios easier to see and understand. I'd be doable but it'd require setting most of the things created up-to this moment up-side-down.
The latter is just a dream or an inspiration for another time.

There is a way to do return to caller with variable triggers:
https://github.com/NPBruce/valkyrie/wiki/QuestIniEvent#trigger
However there are some limitations (read the description) and I am not convinced this will be any easier that the existing methods you describe (I expect it will be worse as it will be harder to follow what is happening).
Ultimately the scenario you describe has a large number of permutations of what can occur, and these permutations will need to be accounted for by the scenario author, that isn't something that can be avoided.
I would also call into question @chrismaliszewski assertion regarding programming resources, which at this level are trivial compared to the rendering of the scene. Additionally, they don't have to be always running, the way that the existing var triggers work has no overhead unless a var trigger is set.
A visual representation would certainly help, and I don't think this is incompatible with the existing architecture, you could create such a chart automatically without changing the way events work at all.

@NPBruce I am aware of the var-trigger events, but I had no idea it could be used like this. Just to be sure, Do you mean you could make this structure?:
[EventPlacePersonA]
; PersonA only appears in the library in round 3&4 and only if the library is revealed;
trigger=VarPlacePersonA
add=PersonToken
Operations=PersonA=2
testcondions=#round >=3 && #round <= 4 && TileRevealed == 1 && PersonA !=2

[EventPlaceBook]
; Book will be placed only when it is not placed already, Vissible And library tile placed;
trigger=VarPlaceBook
Operations=BookVisible=2
testcondions=BookVisible == 1 && TileRevealed == 1

[EventPlaceTile]
add=LibraryTile
buttons=1
event1=
Operations=TileRevealed=1, @PlacePersonA=1, @PlaceBook=1

[EventDialoguePersonB]
Operations=BookVisible=1, @PlaceBook=1

[StartRound]
Operations=@PlacePersonA=1

That's the idea. Note that there is no requirement for the order that the events will execute when setting multiple triggers in the same event (one of the reasons I don't think this is a great idea).

I think I understand the possible mess or unpredictable behavior it can create... therefor the 'return to caller' idea :)

How is that idea different though? Events triggered by vars do return to the caller.

Is there an action here or can we close of this issue @antontimmermans

I didn't have the time yet to check if the behavior is indeed as Bruce describes but i guess it will work. I'll close the issue.


I wanna contribute,a basic audio merger for already splitted datasets.

The aim is to merge audio files before splitting them by using "diarization based splitting."
This can run as a stand alone utility.If people wanna use this,they make sure to install necessary libraries.
Also you can add this to your repo if you like.
merge_all_audio.zip
https://github.com/JarodMica/audiosplitter_whisper/assets/71787427/d73cd85a-41f9-4ea4-bac1-aaf5669d6d3f
And thanks for the project!

Appreciate the contribution!  I'll take a look at it and see where it can be implemented, but if you wanted to make a pull request for it, I could always just review and accept it as well.

@JarodMica Hey,sorry for the late reply.I wasn't checking my mails and now I have seen your reply.Please feel free to include it as a suplimentary tool or if you wanna merge into specific code a few changes can be made.I really don't have enough time at this point of time to make a PR and align with you but thanks for creating this tool.Also your videos on youtube are great!


Test run from temp Folder and not all dependency are copied

Hello,
I'm trying to run tests on separate PC where VS 2012 installed.
And for some strange reason the test file copied to local\Temp folder and not all assembly copied.
Is it possible to reconfigure it to run from drop folder or configure to deploy all files from drop folder?

@Mastahh , can you please use our latest testpaltform from https://www.nuget.org/packages/Microsoft.TestPlatform/ & try to run your test again.


Visibility timeout monitor

Probably more than just a monitor, but something that can keep an eye on running jobs and increase their visibility timeout incrementally so they can finish. This would be used to avoid potentially consuming the same message one or more times.
If there are very long running jobs, this may not be the right solution in general. This may also only really be applicable to SQS, so more research is needed.

This can actually be simpler than originally anticipated and needs to be specific to the various client implementations. After a bit of light research I found ActiveMQ, and likely others like RabbitMQ, operate on persistent connections, and use acknowledgements to determine when a message has been processed, with a connection drop acting in the same way as a visibility timeout expiring. So they don't need to be refreshed, because they aren't distributed cloud services in the way that SQS is.
All this needs is a thread to poke the visibility timeout periodically, perhaps half of what the visibility timeout is. The visibility timeout will also need to be made part of the configuration for an SqsCourier. At some point this will need some TLC, removing the need for the Apache Configuration object and fleshing out the SQS integration.

i24 - SqsClient now has a single threaded scheduler that refreshes the visibility timeout of messages that have been received by it.
The behaviour is as follows:

If the visibility timeout of the queue is less than 2 minutes, it will schedule a refresh in half of the visibility timeout by the visibility timeout (e.g. a visibility timeout of 1 minute will be refreshed every 30 seconds by 1 minute)
If the visibility timeout is 2 minutes or greater, it will refresh 1 minute prior to the end of the visibility timeout by the visibility timeout (e.g. a visibility timeout of 5 minutes will be refreshed every 4 minutes by 5 minutes)

Right now the executor is a static inside of the SqsClient. This may need to change later on, but should suffice until I get a chance to rework the Client interface and SQS integration, hopefully making this more accessible.


avatar size

Hi!
Thanks for the theme! I would like to resize the avatar image next to the title of the page in order to use an image of different dimensions than the default, assets\img\triangle.png
Where would I need to do that?

You mean you want to use a different image,
Did you try putting the new image path in the _config.yml?
avatar: assets/img/triangle.png

For the size, you can try to update the avatar css class. Also the _navbar.scss for the style.


[BUG] Cosmos Change Feed Processor is Detaching / Stopping Silently

Describe the bug
We are utilizing the com.azure.cosmos.ChangeFeedProcessor to subscribe to changes in Cosmos. This works great for roughly 5-6 hours.  After that time, the change feed processor silently stops receiving updates from Cosmos.
Exception or Stack Trace
No exceptions are raised. The code seems to stop silently.
Code Snippet
@Service
class CosmosChangeFeedProcessor(
    @Qualifier("azureCosmosAsyncClient") val cosmosClient: CosmosAsyncClient,
    val businessService: ServiceImpl
) {
    companion object {
            private val logger = LoggerFactory.getLogger(this::class.java)
        }

    var isProcessorRunning = AtomicBoolean(false)
    @Value("\${POD_NAME:local}")
    lateinit var podName : String

    fun getChangeFeedProcessor(
        hostName: String?,
        feedContainer: CosmosAsyncContainer?,
        leaseContainer: CosmosAsyncContainer?
    ): ChangeFeedProcessor {
        val cfOptions = ChangeFeedProcessorOptions()
        cfOptions.isStartFromBeginning = false
        cfOptions.leasePrefix = "$podName-" //We want unique leases per running instance in AKS
        return ChangeFeedProcessorBuilder()
            .options(cfOptions)
            .hostName(hostName)
            .feedContainer(feedContainer)
            .leaseContainer(leaseContainer)
            .handleChanges {
                refresh()
            }
            .buildChangeFeedProcessor()
    }

    private fun refresh() {
        businessService.doStuff()
    }

    @EventListener(ApplicationReadyEvent::class)
    fun startChangeFeedProcessor() {
        logger.info("Starting change feed processor.")
        val changeFeedProcessorInstance = getChangeFeedProcessor("ChangeFeed",
            getContainerReference(DATA_CONTAINER_NAME),
            getContainerReference(LEASES_CONTAINER_NAME))
        changeFeedProcessorInstance.start()
            .subscribeOn(Schedulers.boundedElastic())
            .doOnSuccess { isProcessorRunning.set(true) }
            .doOnError { isProcessorRunning.set(false) }
            .subscribe()

        while (!isProcessorRunning.get());
        logger.info("Change feed processor started.")
    }

    fun getContainerReference(containerName: String) : CosmosAsyncContainer {
        val dbLink = cosmosClient.getDatabase(DATABASE_NAME)
        return dbLink.getContainer(containerName)
    }
}

I tried creating a SB Health Actuator to reference the isProcessorRunning variable but that continues to return true even when the change feed processor has stopped receiving changes.
Expected behavior
I would expect either an exception/error to be thrown that we could utilize the .doOnError() functionality to restart or that the Cosmos Change Processor would not detach.
Setup (please complete the following information):

Library/Libraries:

Spring Boot 2.6.7

com.azure.spring:spring-cloud-azure-starter-data-cosmos

com.azure.spring:spring-cloud-azure-dependencies:4.0.0

com.azure:azure-cosmos

com.azure:azure-sdk-bom:1.1.0

Java version: 11

App Server/Environment: [Undertow, AKS]

Frameworks: [Spring Boot]

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[X] Bug Description Added
[] Repro Steps Added
[X] Setup information Added

@azizabah - is there any error in the logs?
do you have info logs enabled on Change Feed processor?
Change feed processor only listens to create and replace / upsert operations, delete and read operations are not included. Please do take a look at these troubleshooting steps - https://docs.microsoft.com/en-us/azure/cosmos-db/sql/change-feed-processor?tabs=java#error-handling-1
it could be stopping because of unhandled error in your code.

@azizabah - is there any error in the logs? do you have info logs enabled on Change Feed processor? Change feed processor only listens to create and replace / upsert operations, delete and read operations are not included. Please do take a look at these troubleshooting steps - https://docs.microsoft.com/en-us/azure/cosmos-db/sql/change-feed-processor?tabs=java#error-handling-1
it could be stopping because of unhandled error in your code.

There are no errors that we can see. Is there a specific error message we should be looking for?
The processor is failing to see updates / creates.

As for the unhandled error, if the handleChanges consumer call throws an exception, that would stop the processing? We can wrap that call in a try catch to prevent it from leaking anything to the processor as a first step.

@kushagraThapar . We went ahead and wrapped the call in a try catch. We haven't seen any exceptions being caught in our logs but it appears to have stabilized and has run for two days without detaching now so that must have been the issue. Thanks for the assistance.

@azizabah thanks for the update, feel free to reopen the issue in case you need any further assistance.


Use asyncio.gather instead of TaskGroup to avoid consumer crashes

There was a problem trying to run both event consumers simultaneously with the TaskGroup approach in asyncio. I reverted to the trusted .gather() style and it works now.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+1.0%) to 88.955%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/nos/main.py
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/nos/main.py
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
1.0%

Covered Lines:
298

Relevant Lines:
335

💛  - Coveralls


Optional moment.js Part 2

Basically it's https://github.com/Hacker0x01/react-datepicker/pull/1046 minus moment in tests.
The idea is that after this PR I can:

create a new date_utils without moment
copy tests, give components a flag which utils to use and switch the utility module in test code
refactor react-datepicker to work with whatever while having a good idea if I broke something

Seems solid. Lots of changes, so lets hope we don't break anything. How should we move forward with this. First merge part 1?

How should we move forward with this. First merge part 1?

Since this part contains also part 1, we can close the other and merge only part 2.

@martijnrusschen Sounds good, that way it's clear the changes to the code are independent from the changes to the unit tests.

@prayerslayer Part 1 got merged. Can you rebase your PR so that we can merge part 2 as well?

Done.

WIP of Part 3 is here: https://github.com/prayerslayer/react-datepicker/tree/feature/optional-moment-part3

I'll probably need to refactor how locales are handled. A major advantage of date-fns is that it doesn't include a bazillion locales right away, so we'd probably need to give up string locales (locale="fr") in favour of locale data that is useful for the formatting function (locale={require("date-fns/locale/fr")} / locale={moment.localeData('fr')}).
What gives me a bit of headache is the UTC offset. As far as I see there is no way to get a JS Date with a timezone other than what you're currently in. Ofc you can do something like new Date(Date.UTC(year, month, day)), with year, month, day being values in UTC, but the Date object will still show GMT+2 or whatever. Not sure yet how to work around this, advice is welcome.

I'll probably need to refactor how locales are handled. A major advantage of date-fns is that it doesn't include a bazillion locales right away, so we'd probably need to give up string locales (locale="fr") in favour of locale data that is useful for the formatting function (locale={require("date-fns/locale/fr")} / locale={moment.localeData('fr')}).

Sounds fine. As long as we discuss this as a breaking change

What gives me a bit of headache is the UTC offset. As far as I see there is no way to get a JS Date with a timezone other than what you're currently in. Ofc you can do something like new Date(Date.UTC(year, month, day)), with year, month, day being values in UTC, but the Date object will still show GMT+2 or whatever. Not sure yet how to work around this, advice is welcome.

Not sure how what's desired here. Any suggestions?

Hi, thanks for taking the time. I already opened a PR to discuss details about this. https://github.com/Hacker0x01/react-datepicker/pull/1059 It has a proof of concept too.

Not sure how what's desired here. Any suggestions?

Yeah. My proposal is that all timezone related functions would be no-ops when using date-fns, until the library can work with TZs. That way

we don't build a subset of moment with less tests
we don't extend the underlying library in a non-obvious way
users still get to choose based on their needs: Want a really small bundle and TZs are not an issue? Go with date-fns-backed datepicker. Definitely need TZs? Well, then you're stuck with moment anyways.


Javadoc search doesn't work

Hi,
I discovered javadoc.io a few months ago and was super happy to use it for AssertJ Core.
AssertJ Core is targeted for java 8 but built with java 11, the javadoc built search capability is broken when navigating to the result: searching in the search textbox correctly shows the list of candidates corresponding to the text searched but when one selects a candidate the page displays an error like:
<Error>AccessDenied<Message>Access Denied</Message><RequestId>5641D62303D47982</RequestId><HostId>Qy3TFOaRnVsj1V+RaZm9NruF12OGY7XVCZH8AxVY3z0QEVRWgMfpy6JD3WGJAOFVUcBsPxp+W8k=</HostId></Error>

Here's an example of link https://static.javadoc.io/org.assertj/assertj-core/3.13.2/undefined/org/assertj/core/api/StringAssert.html
The  issue seems to come from the undefined subpath, maybe something due to java 9 module system ?

Likely related to https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url, I will give it a try when I can.

Adding <additionalJOption>--no-module-directories</additionalJOption> solved the issue.

Unfortunately there is still an issue with search as one can see in https://www.javadoc.io/doc/org.assertj/assertj-core/3.14.0/index.html where the filtering work in the textbox but navigating to one of the matching items does not.
Note that search work fine for locally generated javadoc.
This is related to https://github.com/joel-costigliola/assertj-core/issues/1657

It looks like there is a bug in the generated search.js.  If we change line 322
from parent.classFrame.location = pathtoroot + url; to parent.location.href = pathtoroot + url; then it works.
This works when it's NOT running inside an iframe. As a workaround, you can use https://www.javadoc.io/static/org.assertj/assertj-core/3.14.0/index.html , trading off the top navbar.
To solve this permanently, how do you configure your search functionality? Is it an oracle provided feature? Or it's a 3rd party library?

This is resolved now. Basically openjdk is making a strong assumption that the parent iframe is called classFrame.
https://github.com/openjdk/jdk/blob/cc621b681e279a3672f38f5d81943f35f57e6e55/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/search.js#L350

Excellent thanks @maxcellent!


Implements ephemeral group chats

What this PR implements:
Ephemeral conversations that disappear once the discussion ends. It also adds a method to the group chat that allows you to clear it very easily.
Context as of why this exists:
For the purpose of this framework on our project, we really didn't need to maintain the history of previous conversations since the main character only used his phone after a few time skips (weeks, days, or months). So showing a conversation that supposedly happened a month ago next to one that's happening now would kind of break the suspension of disbelief that these characters interact outside the script.

the idea looks good to me. however there are a few things that need changes / i want to comment on before actually merging:

[ ] rename the clear_payload method to clear. it's... clearer, and they don't need to know what's actually behind it
[ ] document the method
[ ] implement the ephemeral property for the init phone register statement (i can take care of it if you don't feel like it)

the thing i wanna comment on is the term ephemeral.
i feel like transient fits better as it's a term already used in renpy

Is that good? It's the first time I mess with statements

yep. there's still one thing to take care of but that i can do
thank you for your contribution


Mesos Go does not detected mesos master restart

Hi,
I bumped into this:
https://github.com/mesosphere/kubernetes-mesos/issues/344
And also:
https://github.com/docker/swarm/issues/1730
Was wondering if there is any intention to fix this issue
Thanks,
Doron P

Which mesos master detector is being used? ZK? standalone?

@jdef So sorry I missed your response.
In the second thread - in Swarm there is no use of ZK at all.
In the first one You should know better I think.

@jdef Do you consider any fix with regards of this issue? Tnx.

I've considered fixes for this. The standalone implementation needs love to be more production ready. And if you're in production .. when why run a standalone master? Seems like asking for trouble. Or am I misunderstanding the situation? Is this blocking production deployments?

Reiterating: the standalone implementation is not robust or production ready. Please use ZK for reliably detecting master failover.
If you're interested in detecting network partitions, the v1 API has heartbeat detection built-in


Test P2p flow

Use the apollo client to implement the more basic Peer-to-Peer Payment flow from Bruno. Should prove to be the simpler flow to implement given some complications in the docker environment relating to the open payments client, running tests from host machine, and services in docker using proper domain names.

@BlairCurrey hmm, I wonder why this didn't get marked automatically completed - it should be, right?

I moved a few to Done on the kanban board and as I recall I had to manually close them. I presume I just missed this one.


removed kangs section

 Mention [stepsize] in a comment if you'd like to report some technical debt. See examples here.

closes #50


Mouse cursor blinking disappears when it reaches a link inside

Challenge Quoting Strings with Single Quotes has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

var myStr = ''Link';

That's unusual. I'm not able to reproduce it with your code. Try refreshing the page, and if you still have the issue, see if it persists when the correct code is used, and then report back in this thread with this further information 😄
If you need assistance writing the correct code, please visit the Help chat.

@BKinahan It is happening in Google Chrome with Windows 10 X64, In Mozilla there's no such issue.
So I believe this site has some issues with Google Chrome?


[Form] Select field doesn't display

The select form field doesnt display it complains the options variable doesnt exist I haven't looked into this at all yet.

This seems to work in my dev branch.  But, this could be an old bug that was fixed in the 4.5 or 4.8 updates.


Add musicsample DX Fr

Hi !
I'm Sebastien Pertus from DX France.
I made a very simple application UAP regrouping severals new great features from Windows 10.
By the way, you can read about this sample application here : http://blogs.msdn.com/b/mim/archive/2015/04/20/windows-10-quelques-nouveaut-233-s-int-233-ressantes.aspx
If you want to contact me; my email<EMAIL_ADDRESS>Thank you all !

The sample doesn't quite fit with the sample set. We should chat the best way to handle samples like this.


Added 3Sum - Leetcode

Please add under hacktoberfest2022

Create a readme file and add some explanation of your program.

Explanation added please merge under hacktoberfest2022

@anomekumar08

Okk..good @SubratYeeshu


Update 0104-maximum-depth-of-binary-tree.cpp

added more solutions - recursive dfs, dfs stack inorder, dfs stack preorder, bfs queue level order.

File(s) Modified: 0104-maximum-depth-of-binary-tree.cpp
Language(s) Used: cpp
Submission URL: _https://leetcode.com/problems/maximum-depth-of-binary-tree/submissions/1208901422_

Important
Please make sure the file name is lowercase and a duplicate file does not already exist before merging.

@vpsh98 Thanks for your contribution 👍 . Next time add some more spacing for control flow statements and loops. See my commit I pushed.


[DO NOT MERGE] Auto PR to update dependencies of istio

This PR will be merged automatically once checks are successful.

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
05e8b11adea5ef2502bd76636f3275339e71f744
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest
(need rbac fix rebase)


remove openai dependency and fix type errors so scripts run. move model path to config to remove hardcoded values

Background
The current state of the repo cannot be run by anyone who wants to try out auto-llama. This commit contains the changes necessary to make that happen with a fresh install.
Changes
All references to the openAI package have been removed. This included removing the dalle image generation and reworking the token counter.
There are a few locations where runtime errors were caused by type errors. These runtime errors were the result of changing the llm library from openAI to llama where library functions didn't exactly match up with the same return or parameter types. Issues here are llama_cpp max_tokens requires an Int and create_embedding returned a dict instead of a list of floats.
The llama model_path was hardcoded to the dev's file path. This should be part of the env file (well, there's a lot of other "better" directions that could be taken here, but this will work best for now).
PR Quality Checklist

[X] My pull request is atomic and focuses on a single change.

  While it is multiple smaller changes, it is all required for the main change of "get this to actually run so more dev work can be done later"

[X] I have thoroughly tested my changes with multiple different prompts.
[X] I have considered potential risks and mitigations for my changes.
[X] I have documented my changes clearly and comprehensively.
[X] I have not snuck in any "extra" small tweaks changes

Great minds think alike :)


Unable createNotification from client

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Hello, I'm trying to create notification from bucket in storage client
bucket.createNotification('topic_name')

but it always give me error
"code": 400,
  "errors": [
    {
      "message": "Cloud Pub/Sub topic '//pubsub.googleapis.com/projects/{{project_id}}/topics/{{topic_name}}' not found, or user<EMAIL_ADDRESS>does not have permission to it.'",
      "domain": "global",
      "reason": "invalid"
    }
  ],

How can i programmatically create notification for bucket by the service account create myself with enough permission?
thanks

It looks like you're calling the createNotification method correctly. Does your client work to authenticate for other kinds of requests? I would look at the docs here and make sure you have all the prerequisites met: https://cloud.google.com/storage/docs/reporting-changes#prereqs

Closing this, feel free to re-open if you have further questions that are specific to the client library.