[BUG] Issues connecting to the PoE OAK S-2 Camera under Windows only (same program works under Linux)

Check if issue already exists
I have been working on this issue for some time on the community forums see https://discuss.luxonis.com/d/1842-issues-shutting-down-and-restarting-connection-to-poe-s-2-camera/4 best to start from the comment "I have done this It upgraded from version 0.0.21 to version 0.0.26 but that appears to have made things worse"
That includes looking for other solutions and going through all the community level support.
I have been asked to escalate this issue from the community forum to the Github Issues
Describe the bug
My program using the OAK D S-2 camera, cannot connect to it. This program runs under Windows and will be deployed to a client site running on a Windows tablet.
To more clearly reproduce this (as it is just the connection) I wrote a minimal program to demostrate the issue. (See Minimal Reproducible Example below)
This program reliably fails under Windows and reliably works under Linux.
I am used a Dell Vostro 7590 running Dual Boot between Windows 10 and Linux Ubuntu 22.04 so the same hardware works on Linux not on Windows
The error message give under Windows is
[2023-07-26 14:29:02.667] [depthai] [warning] Monitor thread (device: 19443010B1937F1300 [<IP_ADDRESS>]) - ping was missed, closing the device connection

Traceback (most recent call last):

File "C:\code\cadds-visual-tyre-handler\source\recorder\main.py", line 118, in <module>

with dai.Device(pipeline, device_info, maxUsbSpeed=dai.UsbSpeed.HIGH) as device:

depthai.XLinkWriteError: Couldn't write data to stream: '__bootloader' (X_LINK_ERROR)

This error message was taken with the network in Link-Local mode, the same thing happens if we have DHCP set up.
I can ping the camera before starting the program to verify it is there.
This error only occurs with the PoE Camera, we also have a USB Camera which works fine and which we can use to develop the functionality of our application but the USB Camera is not suitable for production use for us.
Minimal Reproducible Example
DepthAI Windows Issue Demo
Expected behavior
The program should start, open a window and begin streaming output from the RGB Camera to the window. Under both Windows and Linux

@mlockett42
At the time being, you cannot access the device using Device through the LL address (<IP_ADDRESS> due to a bug).
We'll take a look at this and get back to you

@asahtik Any news on this?
Anything I can do to help?

Hi @mlockett42 ,
I tried your code and it seems to work (for several minutes):

OS: Windows 10 Pro (22H2)
Python 3.9
depthai  library version <IP_ADDRESS>.dev0+ce2627c5aea3c23009da1d1f9b0546be6f8956e5
Bootloader: Tried both 0.24 and 0.26 (latest)

I have connected Oak-D-S2 PoE directly to my computer, and powered it via M8 connector (Programming board), as I don't have an injector (only POE switch, but then it wouldn't be fallback static IP). Could you try to replicate these variables @mlockett42 ?

@Erol444
I tried those settings so now I have
OS Windows 10 Pro (22H2)
Python 3.9.13
Depthai-python installed directly from the file system as of commit ce2627c5aea3c23009da1d1f9b0546be6f8956e5. This is now implemented as a git submodule in the repo
I only have Bootloader 0.0.26 - previous attempts to downgrade failed.
It is powered by my PoE Switch and gets it's IP address via DHCP from my home router. My laptop is connected to the same PoE switch via an ethernet cable and USB to Ethernet Adaptor.
Install via a regular virtual environment instead of pipenv
I have new branch for this attempt-1-to-get-working
After a few attempts to get working and attempts to check I cleared out old build artifacts and the .hunter directory, I got it partially working.
Over 5 attempts
3 failed with the same error as before.
1 worked for a few seconds then gave a different error (RuntimeError: Communication exception - possible device error/misconfiguration. Original message 'Bad packet, couldn't parse (invalid message type)')
1 worked perfectly, but when I stopped it by shutting the program down normally I could not restart it.
I would power cycle the camera each time it failed to work but this seems to not have much impact.

This issue has been solved by upgrading all the network equipment to gigabit. Gigabit PoE switch plus gigabit ethernet adaptor. I am guessing the ping packet is not received because the network link is overwhelmed with traffic.
Leaving comment here for any future users searching for this issue on google


Grammar fix in proxy module

Signed-off-by: lvchenggang<EMAIL_ADDRESS>Fix some grammar problems in proxy module.

/lgtm
/approve


Huge image: Image is unreachable error

Image: https://dev-swm.s3.eu-central-1.amazonaws.com/2xYmnilMgPbQZYY1PqLFf6tbkPelI8zS7gDm1ebo/1531219616_original.jpeg (~5mb)
Imgproxy: https://myimgproxy.herokuapp.com/ (deployed via "Deploy to heroku" button)
Key: c84285e0bec255fe163410fcedfe61e256f04a7f93ee25470c4ffd1fdc2aa964
Salt: 83237eac0f5bb1cfa98d54b00c7057820843b8f0ca390edc7f6b99138cb14937
Trying to resize to 1600x1200 (fit)
Making URL via imgproxy URL generator (https://progapandist.github.io/imgproxy-form/)
Result URL: https://myimgproxy.herokuapp.com/w2-4-QSxqdS-W2H0G6IWNGIVwPKZM6cWvDkpLab8n4A/fit/1600/1200/no/0/aHR0cHM6Ly9zMy5ldS1jZW50cmFsLTEuYW1hem9uYXdzLmNvbS9kZXYtc3dtLzJ4WW1uaWxNZ1BiUVpZWTFQcUxGZjZ0YmtQZWxJOHpTN2dEbTFlYm8vMTUzMTIxOTYxNl9vcmlnaW5hbC5qcGVn.jpg
Response is 404 Image is unreachable.
PS. Other images from same s3 bucket are processed normally, e.g.:
Image: https://dev-swm.s3.eu-central-1.amazonaws.com/TgMxlLItXzeM4iuzYWieVIjxAuMzCFpR4YWhlwgh/1526312072_original.jpeg
Result URL: https://myimgproxy.herokuapp.com/ZjuJk0aYaCeRiu6azS6UpT3b8HVZkyF2xfIeptYQMow/fit/1200/1600/no/0/aHR0cHM6Ly9kZXYtc3dtLnMzLmV1LWNlbnRyYWwtMS5hbWF6b25hd3MuY29tL1RnTXhsTEl0WHplTTRpdXpZV2llVklqeEF1TXpDRnBSNFlXaGx3Z2gvMTUyNjMxMjA3Ml9vcmlnaW5hbC5qcGVn.jpg

Hi Alex,
HTTP response contains a message for the user. It doesn't represent all the situation.
In your case image is 10000x5652. This size doesn't pass any of size checks, and imgproxy declines it. Take a look at https://github.com/DarthSim/imgproxy#security-1

Thank you @DarthSim. It would be great if HTTP response text or header contains some error code or message that describe why imgproxy decline image processing...

I don't think a user should know the details. For the details take a look at the logs, all interesting things live there :)


Railtie inclusion fails but only from RSpec. (undefined method '+' for class 'Date')

What Ruby, Rails and RSpec versions are you using?
Ruby version: 2.7.6 (confirmed also fails under 2.7.8)
Rails version: 6.1.5
RSpec version: 3.13.0
Observed behaviour
I just added rspec-rails to an existing project which previously used minitest.
Throws an error during require rails_helper but deep from within railties.
Expected behaviour
Not an error.
Can you provide an example reproduction?
Going to work on a repro this week.
This is a bit of a shot in the dark, but I wanted to file this as I didn't even find any mention of this error on the web.
The error comes from the second line config/application.rb, which contains:
require_relative 'boot' # commenting this out does not change anything
require 'rails/all' # this is where it fail from

The error happens before any gems (apart from rspec-core and rspec) are loaded, so no initializers are run either.
I tried the latest ruby 2.7.8 patch version and still getting the same error.
This could potentially be just an issue with the order of files being loaded?
Hoping someone who had a similar issue sees this, I am going to try to reproduce this during this week/end.
➜ DISABLE_SPRING=1 rspec --backtrace

An error occurred while loading ./spec/services/company_queries/earnings_spec.rb.
Failure/Error: require_relative '../config/environment'

NameError:
  undefined method `+' for class `Date'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/core_ext/date/calculations.rb:97:in `alias_method'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/core_ext/date/calculations.rb:97:in `<class:Date>'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/core_ext/date/calculations.rb:10:in `<top (required)>'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `block in require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:299:in `load_dependency'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/core_ext/time/calculations.rb:8:in `<top (required)>'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `block in require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:299:in `load_dependency'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/core_ext/numeric/time.rb:4:in `<top (required)>'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `block in require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:299:in `load_dependency'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/core_ext/integer/time.rb:4:in `<top (required)>'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `block in require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:299:in `load_dependency'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `require'
# ./.bundle/ruby/2.7.0/gems/globalid-1.0.0/lib/global_id/railtie.rb:8:in `<top (required)>'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `block in require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:299:in `load_dependency'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `require'
# ./.bundle/ruby/2.7.0/gems/activejob-6.1.5/lib/active_job/railtie.rb:3:in `<top (required)>'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `block in require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:299:in `load_dependency'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `require'
# ./.bundle/ruby/2.7.0/gems/activestorage-6.1.5/lib/active_storage/engine.rb:5:in `<top (required)>'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `block in require'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:299:in `load_dependency'
# ./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `require'
# ./.bundle/ruby/2.7.0/gems/railties-6.1.5/lib/rails/all.rb:21:in `block in <top (required)>'
# ./.bundle/ruby/2.7.0/gems/railties-6.1.5/lib/rails/all.rb:19:in `each'
# ./.bundle/ruby/2.7.0/gems/railties-6.1.5/lib/rails/all.rb:19:in `<top (required)>'
# ./config/application.rb:2:in `require'
# ./config/application.rb:2:in `<top (required)>'
# ./config/environment.rb:2:in `require_relative'
# ./config/environment.rb:2:in `<top (required)>'
# ./spec/rails_helper.rb:5:in `require_relative'
# ./spec/rails_helper.rb:5:in `<top (required)>'
# ./spec/services/company_queries/earnings_spec.rb:16:in `require'
# ./spec/services/company_queries/earnings_spec.rb:16:in `<top (required)>'
# ./.bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2138:in `load'
# ./.bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:2138:in `load_file_handling_errors'
# ./.bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1638:in `block in load_spec_files'
# ./.bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1636:in `each'
# ./.bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/configuration.rb:1636:in `load_spec_files'
# ./.bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:102:in `setup'
# ./.bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:86:in `run'
# ./.bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:71:in `run'
# ./.bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke'
# ./.bundle/ruby/2.7.0/gems/rspec-core-3.13.0/exe/rspec:4:in `<top (required)>'
# ./bin/rspec:27:in `load'
# ./bin/rspec:27:in `<main>'
No examples found.

Finished in 0.00002 seconds (files took 0.57334 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples

That’s weird. On 2.7.8 in irb -f after require 'date' I can Date.today + 1. Can you?
Wondering what you’ll be able to find.

Just for the reference https://github.com/rails/rails/blob/53410537594be0c0a528cff53dce433dd386cb6a/activesupport/lib/active_support/core_ext/date/calculations.rb#L97

irb -f

Yep, works fine in irb:
➜ irb -f
irb(main):001:0> require 'date'
=> true
irb(main):002:0> Date.today + 1
=> #<Date: 2024-07-02 ((2460494j,0s,0n),+0s,2299161j)>

The error happens at:
  alias_method :plus_without_duration, :+ # <-- here
  alias_method :+, :plus_with_duration

Which is strange.

Grepped through our gems, disabled all the gems that extend the Date class, but didn't help.
Checked if the file where it fails is being loaded twice - and it isn't :upside_down_face:

Can you set a binding.irb breakpoint just before that alias_method to see if new + 1 works?

Can you set a binding.irb breakpoint just before that alias_method to see if new + 1 works?

Yes, it fails on the missing plus.
I grepped the whole codebase and gems for the alias_method with a :+ and the only thing I am getting is:
grep -r "alias_method :+" . -n
./.bundle/ruby/2.7.0/gems/nokogiri-1.15.5-x86_64-linux/lib/nokogiri/xml/node_set.rb:431:      alias_method :+, :|
./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/core_ext/time/calculations.rb:289:  alias_method :+, :plus_with_duration
./.bundle/ruby/2.7.0/gems/activesupport-6.1.5/lib/active_support/core_ext/date/calculations.rb:101:  alias_method :+, :plus_with_duration
./.bundle/ruby/2.7.0/gems/xpath-3.2.0/lib/xpath/dsl.rb:65:    alias_method :+, :union
./.bundle/ruby/2.7.0/gems/addressable-2.8.5/lib/addressable/uri.rb:1971:    alias_method :+, :join

So what's happening doesn't make a lot of sense.
I checked RUBY_VERSION => "2.7.6"
Finally, I found out that we had a lib/date.rb file, which somehow loaded the first time require 'date' was run. (even before railties?)
But this only happens when running rspec, not when the rails app is run. Thank you so much for helping me figure this out!

Turns out the project I work on has lib/<gem>/<ext-file-with-same-name-as-original>.rb in a few places even.
And Rails has no problem with it, because it's only loaded explicitly from initializers.
Makes me wonder, what is the difference that makes RSpec load these files specifically from require statements?

Got it. Happy to have helped.
Is there anything actionable left?

Makes me wonder, what is the difference that makes RSpec load these files specifically from require statements?

RSpec adds ./lib and (a configurable) spec path to the load path, this allows people working on normal ruby project to do require 'name' in specs, and similarly allows require 'spec_helper' to work.
This convention is sometimes also used for monkey patching as you say like lib/<gem>/<ext-file-with-same-name-as-original>.rb to override or backport a fix, which typically isn't an issue either, as these files usually have the same contents as the original.
If it works from Rails, I take it you were requiring relatively or with full path names? As e.g. require 'date' will only work once. Personally I would avoid shaddowing file names unless you are doing a full monkey patch with original contents, to ensure it will work reliably across tools.


modified the documentation of tf.math.add and tf.math.acos operations

A Pull Request for issues #25802   and #25846 . I have tried to improve the documentation of tf.math.acos and tf.math.add with this patch. I did this by editing the files api_def_Acos.pbtxt and api_def_Add.pbtxt and by modelling them after the api_def_Angle.pbtxt file within the tensorflow/tensorflow/core/api_def/base_api directory. The changes I made were reflected in the generated file python/ops/gen_math_ops.py. The gen_math_ops.py file was generated by following these instructions.
This is my first time editing a piece of documentation which is created from a generated file, and so it may not be perfect. Please feel free to point out any errors that I may have made, and I'll be happy to work on them.

@dynamicwebpaige, you might want to take a look.

@Sudeepam97 - Thank you for wanting to help improve the TF 2.0 API documentation! We appreciate it. :slightly_smiling_face:
The .pbtxt files are generated for the tf.math.* operations; in order to make modifications to the descriptions of these endpoints in TensorFlow's documentation, you need to modify the equivalent .Docs in math_ops.cc.
An example would be description here.
Does that make sense?

@Sudeepam97 - Thank you for wanting to help improve the TF 2.0 API documentation! We appreciate it, and I am happy to work with you to get the changes added. slightly_smiling_face
The .pbtxt files are generated for tf.math.* operations; in order to make modifications to the descriptions of these endpoints in TensorFlow's documentation, you need to modify the equivalent .Docs in math_ops.cc.

Ohh. I thought that the .pbtxt files were independent files since they were available in the code base beforehand, without any compilation or so. I realize that you mentioned this in the issues thread as well. I feel a little silly now. :sweat_smile:

An example would be description here.
Does that make sense?

Yes it does. I'll fix these changes right away.

Do we want python to be displayed in the markdown render or we just want it to be there in the doc comment without it being rendered? I am asking because when I write python immediately after the backticks without a line break (like so: ```python), it is not rendered. (checking with a GitHub preview)

@dynamicwebpaige, for now, I have specified python after the backticks, just as you have stated in your example, would be glad to work if any changes are required.
Also, I have a few questions regarding the modification of other API docs, and a few questions related to the mentoring of GSoC projects for TensorFlow, which I believe can be best answered by you. If you can find the time, then what would be a good place (email / twitter etc.) to ask?

similar changes are pushed by different PR ,so closing this


Add validation to ensure max allowed number of conditions is never ex…

…ceeded
This can happen when 20 (further) conditions are set via the API and then the offer is edited through Manage.
Context
Extend offer wizard to incldue validation for the total number of conditions (standard + further).
Guidance to review

Create a new offer via the API with 20 conditions, or amend an offer through the console and add more than 18 conditions.
Login to manage and amend the offer's condition by ticking both standard conditions
Click continue
You should now see an error

Link to Trello card
https://trello.com/c/IDxakqWz/3700-its-possible-to-get-an-application-error-by-setting-20-conditions-over-the-api-and-editing-them-in-manage-to-include-standard-co
Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] This code does not rely on the addition/removal of Azure config environment variables in the same Pull Request
[x] New environment variables have been added to the Azure config

@cwrw I added the error to the base as I thought it may be a bit confusing to either link to standard conditions in case none are selected, or link directly to further conditions and thus missing standard conditions, in case they are selected.

Waiting on response from design team about error message, likely to be tomorrow.


Drop dedent-on-enter for "return" statements.

(for #6813)
We'll work on adding support back in #6564.

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] Has a news entry file (remember to thank yourself!)
[x] Appropriate comments and documentation strings in the code
[x] Has sufficient logging.
~[ ] Has telemetry for enhancements.~
[x] Unit tests & system/integration tests are added/updated
~[ ] Test plan is updated as appropriate~
~[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed)~
~[ ] The wiki is updated with any design decisions/details.~

Thanks for the review, @kimadeline.    I'll ping you.
Also, note that to make this PR work I un-reverted #6497 and then removed the indentationRules part right after that.  I'm pretty sure I have it right, especially since the same tests pass, but please pay extra attention to make sure I didn't miss something and accidentally re-introduce the bad behavior we reverted.  Thanks!


ID:1w3hg0t5tybalkp  Deploy Yearn.finance on Akash

{
"services": {
"web": {
"name": "web",
"available": 1,
"total": 1,
"uris": [
"8s72s6tabpce3acsbd4ihe6g5o.provider4.akashdev.net"
],
"observed-generation": 0,
"replicas": 0,
"updated-replicas": 0,
"ready-replicas": 0,
"available-replicas": 0
}
},
"forwarded-ports": {}
}

Looking great!  Please add a link to your directory in the main README.md file.  See #19 for an example

Looking great! Please add a link to your directory in the main README.md file. See #19 for an example

Done.Is that OK？


No regex search?

Hey,
if I type on your example site/contact search "Doro", it will show me "Dorothy Young".
If I type "Youn" I can't find anything.
When I do the same on datatables.net examples, this kind of search works.
Why is it like this?

It is using 2 different search providers if you will.  Most of the examples on datatables.net are all doing client side searching.  The entire table has been loaded through a JS array or from the DOM.  This script is for chunking the table data through Ajax so that it goes back and requests data from the DB on the server for every search, sort, and page.  The default search for the datatables.net is a anywhere match.  The default search for this library is a left to right partial match.  This type of matching is faster than searching anywhere in the string.  However, you can still setup the library to have the same functionality by doing one of the following:

Instruct your users to put the % wildcard in front of the search string when they want it.

Use the setColumnSearchType method.  I copied the snippet below from the README

setColumnSearchType(columnName, type) Set the matching type to be done for a given column. This will default to "after" if not specified columnName(string) - Name of the column matching what was passed in from the JavaScript in the data property type(string) - Type of search to perform. This will control the % wildcard on the like. valid values are: before, after, both, none
$this -> datatable -> setColumnSearchType('$.url', 'both');

There is not a method that turns on the column search type for the entire table.  That would be a good one to add and I have made a note to add it to the library.

Hi Zepernick,
I'm having the same issue as well, I've tried with the setColumnSearchType method already with 'both' set to all my columns with no result.
After reading through the library code, I found that this method only applies with column search, not the global search via the single-textbox search built into the datatable.
So in library\Datatable.php , line 408:
$sqlOr .= $op . $c . ' LIKE \'' . $this->CI->db->escape_like_str($gSearchVal) . '%\'';

For this workaround, I changed to :
$sqlOr .= $op . $c . ' LIKE \'%' . $this->CI->db->escape_like_str($gSearchVal) . '%\'';

I'm not sure this is the best way to do it, but you might have a different suggestion / solution to this ?


Translated Scout-App (Albanian)

New translation to Albanian (Shqip) language can be found at

https://docs.google.com/spreadsheets/d/16FtHGThz0-CBz_rf_9QO4zOV7oNmNk2BlwmtvKuzAhs/edit?usp=sharing

Thanks so much for translating the app. What culturally relevant image should be shown with the language?
Examples:

https://github.com/scout-app/scout-app/blob/master/scout-files/cultures/README.md#memes

@dajanvulaj
Closing issue. This has been released in Scout-App v2.18.16.


Default page templates

Describe the feature you'd like
Page templates is great, and i think it would very useful if a template could be set as default one for new pages in a book (book-level setting).
Describe the benefits this feature would bring to BookStack users
Simplify creation of pages with predifined structure. E.g. problem-solution articles, etc.

I would love this feature to be added, an intermediate solution (for my problem at hand) would be a create-page link that will auto insert a specified template.
Describe the benefits this feature would bring to BookStack users
I want to pass a link to a large crowd (of mostly non-techs) that will allow them to quickly create a page with a predefined structure. Having to explain how to insert a template significantly reduces the experience for them. Especially because it is not easy to explain in words the "Template Icon".

Thanks to @lennertdaniels in #3918, followed by some further changes in #4721, this functionality has now been added and will be part of the next feature release.
Thanks @NikolayPolyagoshko for the original request, and thanks @cod3monk for providing an intermediate solution, even if we didn't get round to implementing in the mean time.


Schema draft for WinGet configure

Related to: #2845
This is a rough draft of the proposed schema that outlines the fields that could be utilized to provide the information necessary for WinGet configure.
Microsoft Reviewers: Open in CodeFlow

@SteveL-MSFT based on some of our internal proposals, @ryfu-msft drafted this JSON schema. We believe this will ultimately best live in a PowerShell DSC GitHub repository in the future, but we would like to iterate here. We will create an https://aka.ms link for the schema so preview users can also try this out, and when the time is right to move this to a PowerShell repository, we can create the PR and adjust the https://aka.ms link.
I've added you as a reviewer since it should follow any prior art with respect to PowerShell naming and idioms.

This schema is not final and we will continue to iterate on this version for now. Planning to check this in so that people can use it as a reference for building their own configuration yamls.


Subcommand encountered an error: Failed to establish database connection to 'postgres://grid:grid_example@localhost/ grid': could not connect to server: Connection refused

Dear all,
after I followed the documentation
https://grid.hyperledger.org/docs/0.1/grid_on_sawtooth.html
and also corrected the \q to \q for the statement in docker-compose as mentioned in the other issue I opened (https://github.com/hyperledger/grid/issues/1394), I hit this issue on both gridd-beta and gridd-alpha:
gridd-beta                       | Writing private key file: /root/.grid/keys/root.priv
gridd-beta                       | Writing public key file: /root/.grid/keys/root.pub
gridd-beta                       | Writing private key file: /etc/grid/keys/gridd.priv
gridd-beta                       | Writing public key file: /etc/grid/keys/gridd.pub
gridd-beta                       | Subcommand encountered an error: Failed to establish database connection to 'postgres://grid:grid_example@localhost/grid': could not connect to server: Connection refused
gridd-beta                       |      Is the server running on host "localhost" (<IP_ADDRESS>) and accepting
gridd-beta                       |      TCP/IP connections on port 5432?
gridd-beta                       | could not connect to server: Cannot assign requested address
gridd-beta                       |      Is the server running on host "localhost" (::1) and accepting
gridd-beta                       |      TCP/IP connections on port 5432?
gridd-beta                       |
gridd-beta                       | bash: line 9: -C: command not found
gridd-beta                       | bash: line 11: -k: command not found
gridd-beta                       | bash: line 12: --database-url: command not found

And then they both die,
Why are gridd-alpha and gridd-beta logging into prostgres in localhost? I tried to find somewhere a hit and could not find anything
Can you please check?
I have literally followed the steps from the documentation and installed it into a vanilla docker environment.
Thank you

It turns out that removing the '\ [newline]' in the docker-compose.yaml did the trick somehow:
I turned the lines of the gridd-alpha and gridd-beta similar to these below, I hope it is clear:
286     environment:
287       GRID_DAEMON_KEY: "alpha-agent"
288       GRID_DAEMON_ENDPOINT: "http://gridd-alpha:8080"
289     entrypoint: |
290       bash -c "
291         # we need to wait for the db to have started.
292         until PGPASSWORD=grid_example psql -h db-alpha -U grid -c '\\q' > /dev/null 2>&1; do
293             >&2 echo \"Database is unavailable - sleeping\"
294             sleep 1
295         done
296         grid keygen --skip && \
297         grid keygen --system --skip && \
298         grid -vv database migrate --help &&
299         grid -vv database migrate -C postgres://grid:grid_example@db-alpha/grid &&
300         gridd -vv -b <IP_ADDRESS>:8080 -k root -C tcp://sawtooth-validator:4004 --database-url postgres://grid:grid_example@db-alpha/grid"

This was related to https://github.com/hyperledger/grid/issues/1396 meaning that the docker-compose needed to be reviewed to be compatible with 2.x


Feature request: Diff/Compare only selected file(s)

At the moment the Compare button shows a diff of all changes, and ideally when I have one file selected (see below) I would like to just see that file

This would help when the workflow is:

select file
review changes
chose to reset those changes
move to next file (i.e. 1. ) until all files are reviewed
commit

+1

+1

+1

+1

Right now, there is no way to "select" a file. Only to click on it, and thus (sort of) stage it for commit. So it would be useful to click on a file, which selects it (semantics of a file browser). Then it would display the diff for this file only.
But how to get back to the diff of all files? Any ideas?


Domain activation is Failed - [BRIEF DESCRIPTION]

App Id: d2f9x3ntwi2kis
Region: us-west-2
Step: Domain activation
Status: Failed

Note: Do not include information that is sensitive in nature such as your domain name, company etc.

Issue/question
A clear and concise description of what the issue/question is.
Error message
If there is an error message, please include it here.
Note: Be sure to check the message for sensitive information.
Additional information
Please add any other relevant information. Please feel free to include screenshots.

You don't have much context here but I might have struggled with the same issue. Does https://github.com/aws-amplify/amplify-console/issues/512#issuecomment-639892355 help?

Resolving due to age - re-open if you are still facing the issue!


[Form Provider Refactor] MoneyRequestDatePage

Coming from https://github.com/Expensify/App/issues/25397#issuecomment-1743272245, we created a new Form provider that works with functional components and we need to refactor all usages of the old Form component.
This issue is specific to refactoring src/pages/iou/MoneyRequestDatePage.js
cc @kowczarz @cdOut
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01284f17e441cf77de
Upwork Job ID:<PHONE_NUMBER>384673792
Last Price Increase: 2023-10-19

SWM will work on this, no need for a proposal

It's already done https://github.com/Expensify/App/pull/29098

Cool, closing this one then.


Add additional args to arg list for repeater

resolves https://github.com/aristath/kirki/issues/1040

👍 merged


istioctl install didn't wait for istiod deployment ready

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
We are using istioctl install to install/update istio. While we found istioctl install didn't wait for deployment ready, but output Istiod installed to hint user it's already rollout ready.
2023-11-01 01:59:51.410225: ++ istioctl x precheck
2023-11-01 01:59:52.175983: \N{HEAVY CHECK MARK} No issues found when checking the cluster. Istio is safe to install or upgrade!
2023-11-01 01:59:52.176134: To get started, check out https://istio.io/latest/docs/setup/getting-started/
2023-11-01 01:59:52.176314: ++ istioctl install -y --verify --revision 1-19-3 -f setup/istio-operator.yaml
2023-11-01 01:59:53.240549:
2023-11-01 01:59:54.213961: - Processing resources for Istio core.
2023-11-01 01:59:54.265566: \N{HEAVY CHECK MARK} Istio core installed
2023-11-01 01:59:54.535089: - Processing resources for Istiod.
2023-11-01 01:59:58.548720: - Processing resources for Istiod. Waiting for Deployment/istio-system/istiod-1-19-3
2023-11-01 01:59:58.566821: \N{HEAVY CHECK MARK} Istiod installed
2023-11-01 01:59:58.686156: - Processing resources for Ingress gateways.
2023-11-01 02:00:04.705733: - Processing resources for Ingress gateways. Waiting for Deployment/istio-system/istio-ingressgat...
2023-11-01 02:00:04.706408: \N{HEAVY CHECK MARK} Ingress gateways installed
2023-11-01 02:00:09.176092: - Pruning removed resources
2023-11-01 02:00:09.214579: \N{HEAVY CHECK MARK} Installation complete

2023-11-01 02:00:09.214808:
2023-11-01 02:00:09.214946: Verifying installation:
xxxx
2023-11-01 02:00:09.894661: \N{HEAVY BALLOT X} Deployment: istiod-1-19-3.istio-system: Istio installation failed, incomplete or does not match "generated from IOP:installed-state-istiocontrolplane-1-19-3": waiting for deployment "istiod-1-19-3" rollout to finish: 1 of 3 updated replicas are available
xxxx
2023-11-01 02:00:10.054313: Checked 15 custom resource definitions
2023-11-01 02:00:10.055123: Checked 1 Istio Deployments
2023-11-01 02:00:10.056133: Error: verification failed with the following error: Istio installation failed

Version
$ istioctl version
client version: 1.19.3
control plane version: 1.19-dev
data plane version: 1.19-dev (92 proxies)

$ kubectl version
WARNING: version difference between client (1.28) and server (1.25) exceeds the supported minor version skew of +/-1
Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.25.11
WARNING: version difference between client (1.28) and server (1.25) exceeds the supported minor version skew of +/-1

Additional Information
No response

I think this is similar to an issue I've seen. If you've enabled HPA, the verifier may have a chance to return success before HPA scales the replica.

@sonnyhcl I think it's similar to https://github.com/istio/istio/issues/29413. Unfortunately I haven't had any solutions.

However I can look into this recently to see if there are things I can do to fix the command.

not stale

not stale


🐛 Bug Report: when defining reverse shares, the error message about not a number for usage count is malformed

👟 Reproduction steps
When I define a reverse share, when removing the counter number, the resulting error message is malformed and bit confusing
👍 Expected behavior
The error message should say, the field must to contain a number between 1 and 1000
👎 Actual Behavior
the error message is this:

this seems to be generated by adding strings together without spaces, not sure where this comes from, I didn't find the string in the messages list
📜 Logs
No response

Fixed in v1.2.1.


lang: add CustomError trait

This is suggestions for custom errors for Account / ProgramAccount / Signer / etc.
Not sure is there a better solution or not...

Do you still believe we need this? The new errors tell you which account violated the constraint (in case improving ways of finding that out was the intention behind this PR)

No, we can close it. New errors looks good :+1:


Failed to resolve: ColorPicker:colorpicker:unspecified

Implementing the compat library (v1.0.4) causes this error when attempting to sync the project.
Implementation:
implementation 'com.jaredrummler:colorpicker-compat:1.0.4'

Error:
Failed to resolve: ColorPicker:colorpicker:unspecified
Open File
Show in Project Structure dialog

Dependency tree:
\--- com.jaredrummler:colorpicker-compat:1.0.4
     +--- ColorPicker:colorpicker:unspecified FAILED
     \--- androidx.preference:preference:1.0.0 (*)

Also happens on:

1.0.3

Normal version syncs fine.

Sorry about that. Fixed in 1.0.5.


Unity *.meta files recognized as *.properties files

This plugin seems nice and I want to use it to translate a Unity3D project because I use properties files in my Unity3D project.
However, it seems that the *.meta files that Unity creates for every "normal" file are also considered as properties file by this plugin.
Example: I have message.properties and messages_de.properties. Unity creates for these message.properties.meta and messages_de.properties.meta to store some additional information.
Now, the Easy-i18n plugin displays all 4 files in the "Table view". Instead, it should ignore the *.meta files.

Added configuration option to filter translation files via regex. See release v1.1.0


[bug] _out_path wrong when path has unicode

I had been puzzled for a while with the behavior of Franklin in my site, gat-ergódico. I always had to keep two separate copies of folders _layout, _css, etc., one with the underscore and the other one without it. If I deleted one version of them, either Franklin would complain that it needs the ones with the underscores or my site would render in "raw" html and with no formatting.
So it turns out the culprit is the function _out_path. There is a length that should be changed to lastindex, so it outputs the right path when it contains Unicode.

Thanks! this should now be fixed and the release is pending

Thanks! this should now be fixed and the release is pending


passwords: require a digit in passwords generated from default rules

Reviewer: @shakyShane
Asana: https://app.asana.com/0/1198964220583541/1205924276944158/f
Description
We previously required only a character in [-!?$&#%] when generating passwords for sites with neither a passwordrules attribute on their password input nor an override in rules.json. In many cases we'd include a number by random chance, but the relative weight of digits in the default pool meant they would sometimes not appear at all. Since sites with password content rules commonly require a digit to be present, this led to generated and saved passwords that immediately fail password validation. Require a digit for passwords generated from the default ruleset.
Steps to test

npm run test

There's now a test that generates 10,000 passwords and ensures they all have at least one digit
One snapshot was updated to include the new 'digit' requirement.

@shakyShane It's probably worth a very brief discussion on whether this is safe, since it does change the defaults. My assumption is that a site that disallows digits in a password would also disallow one of the symbols we already require (-!?$&#%), so the risk seems quite minimal.

Thanks @sjbarag - I think this is a safe change to make, I don't believe omitting numbers was deliberate back in the day.
Could you remove the formatting changes from the PR? I think some might be caused by jest inline snapshotting, but I can't be sure - perhaps prettier too?
If the changes are the result of the snapshot testing please let me know and I'll approve - but as you can imagine I'd rather not have formatting changes alongside password changes if possible - let me know!

This is unfortunately the result of npm run test:unit -- -u and a followup npm run lint:fix. I can't find a way to avoid it. Skipping npm run lint:fix provides a different diff, but it's still a big diff. Ditto manually running node_modules/.bin/prettier --write packages/password/tests/generate.test.js :/

if this change is released, and it causes more issues than it solves

FWIW, I don't think it's likely. Let's proceed. 🚀


CI build action integration

As title, to make this testing tool reliable, we should consider integrating CI service.
The available CI build services are as follows:

Travis CI
CircleCI
GitHub Actions

@joshualjohnson, I don't know which services are proper for this repository.
Please refer this issue.

Agreed. I'm working on getting this setup soon. I think GitHub Actions will be the way that we end up going. However, I've still been focused on documentation at the moment. So this is definitely in the back log for all of our libraries.
Which CI have you had the most success with?

IMHO, the GitHub Actions is latest CI build and it's supported by GitHub directly and we can consider trying to integrate on this repository.
If possible, I can work on this issue and help this repository to integrate GitHub Actions :).

Also, the most of people uses on GitHub repositories is Travis CI.

GitHub made it so easy, I did it in 10 minutes!
https://github.com/ua1-labs/firetest/pull/8


clang-check cannot deal with 32bits

I have an issue with C++/WinRT v2.0.191111.2 on a minimalistic sample.
clang-check is useful to get more warnings in C++.
My C++ test file minimal.cpp:
#include <winrt/Windows.Foundation.Collections.h>
#include <winrt/Windows.Web.Syndication.h>
#include <iostream>

using namespace winrt;
using namespace Windows::Foundation;
using namespace Windows::Web::Syndication;

int main()
{
    winrt::init_apartment();

    Uri rssFeedUri{ L"https://blogs.windows.com/feed" };
    SyndicationClient syndicationClient;
    SyndicationFeed syndicationFeed = syndicationClient.RetrieveFeedAsync(rssFeedUri).get();
    for (const SyndicationItem syndicationItem : syndicationFeed.Items())
    {
        winrt::hstring titleAsHstring = syndicationItem.Title().Text();
        std::wcout << titleAsHstring.c_str() << std::endl;
    }
}

The commands used:
cppwinrt -i 10.0.18362.0 -verbose -out generated\
clang-check minimal.cpp -- --driver-mode=cl -m64 /std:c++17 /EHsc -Xclang -fcoroutines-ts -Xclang -isystem"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.23.28105\include" -Xclang -isystem"C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" -Xclang -isystem".\generated"

The previous commands work and behave correctly.
However when I try to replace -m64 with -m32 parameter, I get the following errors:
In file included from .\generated\winrt/Windows.Foundation.Collections.h:5:
.\generated\winrt/base.h(7607,14): error: no matching function for call to 'WINRT_TrySubmitThreadpoolCallback'
        if (!WINRT_TrySubmitThreadpoolCallback(callback, handle.address(), nullptr))
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\generated\winrt/base.h(412,24): note: candidate function not viable: no known conversion from '(lambda at .\generated\winrt/base.h:7602:25)' to
      'void (*)(void *, void *) __attribute__((stdcall))' for 1st argument
    int32_t  __stdcall WINRT_TrySubmitThreadpoolCallback(void(__stdcall *callback)(void*, void* context), void* context, void*) noexcept;
                       ^
.\generated\winrt/base.h(7638,56): error: no viable conversion from '(lambda at .\generated\winrt/base.h:7632:29)' to 'int32_t
      (*)(winrt::impl::com_callback_args *) __attribute__((stdcall))' (aka 'int (*)(winrt::impl::com_callback_args *) __attribute__((stdcall))')
            check_hresult(sta_context->ContextCallback(callback, &args, guid_of<ICallbackWithNoReentrancyToApplicationSTA>(), 5, nullptr));
                                                       ^~~~~~~~
.\generated\winrt/base.h(7632,29): note: candidate function
            auto callback = [](com_callback_args* args) noexcept -> int32_t
                            ^
.\generated\winrt/base.h(1809,70): note: passing argument to parameter 'callback' here
        virtual int32_t __stdcall ContextCallback(int32_t(__stdcall* callback)(com_callback_args*), com_callback_args* args, guid const& iid, int met...
                                                                     ^
2 errors generated.

Does clang-cl itself work for you in both architectures? I'm not a Clang expert, but if there's something obviously wrong feel free to suggest or contribute - we accept contributions. 😉

clang-cl has the same issue.
Can't help on cppwinrt, it's really something I cannot handle.

clang-cl has the same issue.

Thanks, I'll take a look.

clang-cl is probably not the ultimate goal for cppwinrt, and I utterly understand that.
However, being able to use clang-check with cppwinrt is really helpful.
clang-check can display a lot of useful warnings, I think it's relevant when a developer works on a UWP app.
Sadly, I'm not good enough to patch the repository for that.

We have teams using C++/WinRT with Clang. I'm just not personally all that familiar with it, but I will look into this. I do want to make sure it works with Clang. There are some issues with Clang not being able to handle some of the scale issues that C++/WinRT presents, but it should at least be able to compile basic projects.

I just tried this with the latest version of C++/WinRT:
clang-check minimal.cpp -- --driver-mode=cl -m64 /std:c++17 /EHsc -Xclang -fcoroutines-ts -I.

Seems to work without complaint.


[WIP] Fix eslint and unit test errors

@pkarw ESLint and unit tests in CI are now fixed, I also moved all scripts to one stage (works faster - currently 4~ min).
Do we need yarn build in CI? Is it used for autodeployment somehow or it's unnecessery here?


Cluster Provisioning v2: Day2 RKE2 Cluster Ops - On Demand Certificate Rotation

Replaced by better written #4485


Add integrity in dim-lock.json

Hash the obtained data with sha-1 and save it to dim-lock.json

I will try this issue.


fix(coverage-analysis): make sure to not erase sourceMappingURL comment

The default for preserveComments of istanbul-lib-instrumenter was changed (true to false). Make sure it is true so the sourceMappingURL is not overwritten.
Fixes #624

Nice find!


How to make thank you image after completing the mod (0.5.2h only please)

Describe your problem here.
so uhhhh I'm tryna make a thank you image for after completing every singular song in 0.5.2h (if it's even possible) credit will also be given
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
only discord.hx and project.xml

Hmm, I know how to do this for weeks but for songs perhaps just a bunch of Bools for each song and a counter?
public static var "Song1":Bool = false; ...
public static var "Songwhatevr the last num is":Bool = false;
public static var "songCounter":Int = 0;

Skip to
public function endSong():Void
{

Set up a String that gets the song name and just shove a bunch of if statements in there relating to the Bools of each song
var theName:String = Paths.formatToSongPath(SONG.song);
if(theName == 'whatever the song's name is' && !Song1) {
Song1= true;
songCounter++;
}

It should never be false again after you finish the song the first time, after all those ifs' put one more for the counter
if(songCounter== (the total amount of songs you have)) whatever code there is to show an image since idk how to do that part

You could make a short video of that image and just shove it in the video folder and just make an extra variable
var allowEnd:Bool = false;
And change the song counter code to have
... amount of songs you have && !allowEnd){
startVideo('Thank You for playing');
allowEnd = true;
return;
}

This is probably messy but it should work, I think...

thanks man

close the issue


An error is reported for decorators in JS & JSX files, even though "experimentalDecorators": true is set in config

If I enable type checking for js files, decorators show a type error even though I have experimentalDecorators set true in tsconfig.
I have created a little example repo here which exhibits this issue: https://github.com/Orangetronic/nova-typescript-decorator-issue-reproduction
Expected behavior
I'd expect "experimentalDecorators": true to apply to JS/JSX files as well as TS/TSX
Screenshots

Environment

Nova version: 221256
Extension version: 2.1.0
TypeScript version: 4.0.5 (also seen with 4.1.2, and 3.something)
Sidebar information: Status Running, TypeScript Version 4.0.5
macOS version: 11.0.1 (20B29)
NodeJS information:

node version: 14.7.0
npm version: 6.14.8
installation method: n

Extension console output
TypeScript[16:05:20.424000] reloading...

TypeScript[16:05:20.434000] dependencyManagement: claimed lock

TypeScript[16:05:21.728000] dependencyManagement: installing: audited 19 packages in 0.646s

TypeScript[16:05:21.880000] dependencyManagement: installing: found 0 vulnerabilities

TypeScript[16:05:21.881000] dependencyManagement: installing:

TypeScript[16:05:21.888000] dependencyManagement: clearing lock

TypeScript[16:05:21.892000] using tslib at: /Users/[redacted]/Library/Application Support/Nova/Extensions/apexskier.typescript/dependencyManagement/node_modules/typescript/lib

If anybody can point me in the right direction, I'd be up for taking a crack at this 😸

Thanks for the reproduction repository!
It looks like the issue is resolved if you enable TypeScript processing on javascript files - turning on allowJs fixes this for me. I'd recommend enable that for your project or disabling the extension from processing on javascript files.
https://github.com/Orangetronic/nova-typescript-decorator-issue-reproduction/compare/main...apexskier:main

Thanks for the reproduction repository!
It looks like the issue is resolved if you enable TypeScript processing on javascript files - turning on allowJs fixes this for me. I'd recommend enable that for your project or disabling the extension from processing on javascript files.
https://github.com/Orangetronic/nova-typescript-decorator-issue-reproduction/compare/main...apexskier:main

Unfortunately, I don't think there's anything else I can do about this directly, although there might be a possible fix in the language server implementation.

Unfortunately, I don't think there's anything else I can do about this directly, although there might be a possible fix in the language server implementation.

hey that's really helpful — I'll give that a go, thank you 🙌
I reckon if there's a config way around it, then there's probably no further action needed on your end. Shall I close this?

hey that's really helpful — I'll give that a go, thank you 🙌
I reckon if there's a config way around it, then there's probably no further action needed on your end. Shall I close this?

That'd be great, thanks!

That'd be great, thanks!

This can be solved in config via the allowJs flag

This can be solved in config via the allowJs flag


Bad rendering of translated text in top app bar

I'm working on Italian translation (#31) and I noticed that in the Batch Resize activity the English title fits perfectly, while the French and the Italian strings, which are longer, overflows.

Default language (English)

French

Italian

I came up with two possible solutions:

In the composable function, set a text size smaller than the default language for French and Italian, something like this:

if (app is using the default language){
    // Render text in the default size
} else if (app is using the French translation) {
    // Render the text optimally for French strings (maybe with a small text size)
} ...

Apply a marquee behavior to the text that overflows.

Also I got suggestions here and here.

Maybe it will better to scale the font, until it perfectly fits in? Or use marquee, it is also possible solution, i think

Fixed

Thank you!


Editor missing subset

Editor missing subset if message has not been sent by user.  Maybe add a default subset of "0"
<?xml version="1.0" encoding="UTF-8"?>
<editors>
  <!--  Pushover Devices  -->
  <!--  Full Subset:   -->
  <!--  Short Subset:   -->
  <editor id="MESSAGE">
    <range uom="25" subset="" nls="MID"/>    <------------------------------ This
    <---Herer</editor>
    <editor id="NMESSAGE">
      <range uom="25" subset="0-36" nls="NMESSAGE"/>
    </editor>
    <!--  Alll Service Nodes, used in Notify  -->
    <editor id="NFY_NODE">
      <range uom="25" subset="0-2" nls="NFYN"/>
    </editor>
    <!--  Pushover Devices, used in Notify nodes  -->
    <editor id="NFY_PUSHOVER_DEVICE">
      <range uom="25" subset="-1-1" nls="SVCPUSHOVER"/>
    </editor>
  </editors>

Yeah, that's a problem, but using 0 will show 0.in the AC, but guess that's ok as a default.

If I remember correctly the AC will show "0"  anyway.  This fails a UD Mobile validity test as, if I remember correctly, it's an editor for a Command.


Add analysis schema

Adding an analysis schema for generating a notebook and filling it with steps.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
45

Relevant Lines:
45

💛  - Coveralls


v5.2.5

5.2.5 release

Interesting, I see that we don't have the  comments. Is it on purpose? A bit of history: #24614 (comment).

Yes, I removed the comments (but I kept the order) to reduce the noise when the changelog is read as plain text.


Typo in landing page code snippet

There's a typo on the landing page (https://lucid.spacebudz.io) in the "Clean and intuitive transaction API" section within the "send.js" tab. Here's the code snippet from the website, but with an added comment to illustrate the error:
const tx = await lucid.newTx()
  .payToAddress("addr..", {lovelace: 40000000n})
  .complete();
const signedTx = await lucid.sign().complete();
//                     ^^^^^ Should be `tx` instead of `lucid` as in `tx.sign().complete()`
const txHash = await signedTx.submit();

The typo happend in lucid/docs/index.yml on Line 72: https://github.com/spacebudz/lucid/blob/8e865cf6d3d424b15dbcb10bbb8aa050781bc35a/docs/index.yml#L72

Thank you! Fixed.


ArrayIndex out of bound error

OrientDB Version:
Newest
Java Version:
8
OS:
Linux
com.orientechnologies.orient.core.exception.ODatabaseException: Error on retrieving record #18:23497 (cluster: node_1)
DB name="OrientDB3"
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeReadRecord(ODatabaseDocumentTx.java:1926)
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.loadRecord(OTransactionOptimistic.java:220)
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.loadRecord(OTransactionOptimistic.java:194)
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.loadRecord(OTransactionOptimistic.java:324)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.load(ODatabaseDocumentTx.java:1628)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.load(ODatabaseDocumentTx.java:103)
at com.orientechnologies.orient.core.id.ORecordId.getRecord(ORecordId.java:330)
at com.tinkerpop.blueprints.impls.orient.OrientElementIterator.next(OrientElementIterator.java:62)
at com.tinkerpop.blueprints.impls.orient.OrientElementIterator.next(OrientElementIterator.java:35)
at main.java.com.bag.server.database.OrientDBDatabaseAccess.applyUpdate(OrientDBDatabaseAccess.java:272)
at main.java.com.bag.operations.UpdateOperation.apply(UpdateOperation.java:34)
at main.java.com.bag.server.AbstractRecoverable.executeCommit(AbstractRecoverable.java:527)
at main.java.com.bag.server.GlobalClusterSlave.executeCommit(GlobalClusterSlave.java:246)
at main.java.com.bag.server.GlobalClusterSlave.appExecuteBatch(GlobalClusterSlave.java:107)
at bftsmart.tom.server.defaultservices.DefaultRecoverable.executeBatch(DefaultRecoverable.java:87)
at bftsmart.tom.server.defaultservices.DefaultRecoverable.executeBatch(DefaultRecoverable.java:68)
at bftsmart.tom.ServiceReplica.receiveMessages(ServiceReplica.java:432)
at bftsmart.tom.core.DeliveryThread.deliverMessages(DeliveryThread.java:293)
at bftsmart.tom.core.DeliveryThread.run(DeliveryThread.java:225)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -9
at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.readFullEntry(OPaginatedCluster.java:1795)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.readRecord(OPaginatedCluster.java:666)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.readRecord(OPaginatedCluster.java:628)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doReadRecord(OAbstractPaginatedStorage.java:3329)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.readRecord(OAbstractPaginatedStorage.java:2959)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.readRecord(OAbstractPaginatedStorage.java:1086)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx$SimpleRecordReader.readRecord(ODatabaseDocumentTx.java:3238)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeReadRecord(ODatabaseDocumentTx.java:1888)

Do you have any additional description? Is this exception thrown inside the tests or this exception is thrown on a production server? What from the point of view is the newest version? Are you able to reproduce this exception one more time? Do you have OOM or server crash before this exception happened? Is database was created under the same version which is used when you got this exception?

Hi, @Raycoms could you answer our questions?

The exception is thrown in my thesis tests, it seems to be related to
concurrent access on the database within the server. I was able to
reproduce this easily.
I don't have OOM or similar and the database has been created under the
same version.
Version <IP_ADDRESS>
2017-05-24 7:21 GMT-03:00 Andrey Lomakin<EMAIL_ADDRESS>
Hi, @Raycoms https://github.com/raycoms could you answer our questions?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/orientechnologies/orientdb/issues/7426#issuecomment-303682149,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGI9y2W37CSSm3r4SNXbMSnTAXUlBBkjks5r9ASngaJpZM4NeQSR
.

Hi, @Raycoms thank you very much for the answer. Could you send us test which you used to reproduce this exception? I will be very grateful for that.

I think running two of those:
https://github.com/Raycoms/thesis/blob/working/src/main/java/main/java/com/bag/server/database/OrientDBDatabaseAccess.java
Should cause this problem after a certain amount of requests.
My test cases are quite complex and require up to 8 servers to correctly
reproduce, and, I unfortunately don't have the time to create a isolated
test to reproduce it since I have to finish my thesis =)
2017-05-24 11:44 GMT-03:00 Andrey Lomakin<EMAIL_ADDRESS>
Hi, @Raycoms https://github.com/raycoms thank you very much for the
answer. Could you send us test which you used to reproduce this exception?
I will be very grateful for that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/orientechnologies/orientdb/issues/7426#issuecomment-303745990,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGI9yy51j5j3BMM1TnQbp8wvugE89DWSks5r9EJBgaJpZM4NeQSR
.

Hi @Raycoms, unfortunately, I do not see how to run this class. Could you provide a detailed description of steps which you used to reproduce the issue ? We will be glad to repeat them even if your test cases are complex.

Hi @Raycoms , could you kindly provide a testing scenario. Otherwise, it is pretty hard to fix it because we can not reproduce it.

Hi @Raycoms , could you kindly provide a testing scenario. Otherwise, it is pretty hard to fix it because we can not reproduce it.

Sorry guys, I'm super busy with my thesis at the moment, as soon as I
wrapped up the last things I will try to reproduce it and provide you with
an example.
2017-06-16 5:34 GMT-03:00 Andrey Lomakin<EMAIL_ADDRESS>
Hi @Raycoms https://github.com/raycoms , could you kindly provide a
testing scenario. Otherwise, it is pretty hard to fix it because we can not
reproduce it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/orientechnologies/orientdb/issues/7426#issuecomment-308967768,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGI9y9mm6Op6g6iWowtllh0z4MDBsrTbks5sEj4qgaJpZM4NeQSR
.

Hi @Raycoms we will be waiting for your case. Thank you very much for the help !

Hi @Raycoms, hope you are doing well.  A small friendly reminder that we are looking forward to receiving detailed information how to reproduce an issue.

Hi @Raycoms, hope you are doing well. A small friendly reminder that we are looking forward to receiving detailed information how to reproduce an issue.

Hi @Raycoms, hope you are doing well. A small friendly reminder that we are looking forward to receiving detailed information how to reproduce an issue.

Okay, it seems like it happens when you access several instances on the
same machine over Java. And the main memory of the machine is exhausted
On Sep 13, 2017 10:27 AM, "Andrey Lomakin"<EMAIL_ADDRESS>wrote:
Hi @Raycoms https://github.com/raycoms, hope you are doing well. A small
friendly reminder that we are looking forward to receiving detailed
information how to reproduce an issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/orientechnologies/orientdb/issues/7426#issuecomment-329167352,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGI9y74G2fMjmxgQnOKqDk61YVMfKqlRks5sh9g7gaJpZM4NeQSR
.

Hi @Raycoms , could you be more specific. What does it mean " main memory of the machine is exhausted" , how did you detect that memory is exhausted? Do you have OOM or something?

ok, I suppose I will close it for now if you have information which was asked please reopen the issue. We are waiting for about half of the year without any progress, unfortunately ((.

Sorry, I'm still quite busy, I know the memory is exhausted because java
started to complain about lack of available memory.
2017-09-21 13:17 GMT+01:00 Andrey Lomakin<EMAIL_ADDRESS>
Closed #7426 https://github.com/orientechnologies/orientdb/issues/7426.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/orientechnologies/orientdb/issues/7426#event-1259263192,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGI9y5g2gkExsxSj9hu8Db2qvQGIJQmJks5sklPVgaJpZM4NeQSR
.


unexpected argument passed to task

@rultor release, tag=0.4.1

@rultor release, tag=0.4.1

@dgroup OK, I will release it now. Please check the progress here

@rultor release, tag=0.4.1

@dgroup Done! FYI, the full log is here (took me 4min)


Update brib.py

cleaned up site generation loops
+additions:
-deletions:
~changes:
~order of generated links in the siteLst

Thank you so much for your Pull Request. I will review the code and most likely push it. :D

Cheers mate, good luck in the future development


update sha256 sum

Thanks but this won't fix the build. 😔

Thanks but this won't fix the build.

I know :sob:

There is a 3.0.1 out, maybe we should try this instead.


Only Start if not Disabled

Unfortunately, jquery ui sortable is very slow sometimes, specially if there are hidden elements as described here: http://stackoverflow.com/questions/9440664/jquery-ui-sortable-drag-initiation-is-slow-when-container-has-hidden-items
This adds up to more than 150ms for me on every user action, which is absolutely inacceptable, because I only need to use ui-sortable in very few cases. I need to be able to disable it.
Right now, it is not possible to hold off on launching ui sortable, similar to the problem discussed here: https://github.com/angular-ui/ui-sortable/issues/397
Unfortunately, disabling jquery ui sortable only prevents the dragging from working, without actually not running. It still does all the expensive calls to the refreshPositions function.
All I need is to hold off before the start if the disabled option is set. My change is only about 7 lines - I wrapped the executed code into a "main" function, and only call that function if disabled is not set. The diff below is misleading.
I really hope this, or a different solution, can make it into the main rep. Thanks!

Can you fix the travis errors and open a new PR against the v0.14 branch? I
can get some time to review this and add some tests during the weekend.

--
Thodoris Greasidis
Computer, Networking &
Communications Engineer

Merged in v0.14.x-dev branch with #444.


Unable to find remote helper for 'https'

Hi I've been following the instructions to run the python samples that connect with Azure IoT Hub using an Arduino YUN. When I execute this line:
git clone --recursive https://github.com/Azure/azure-iot-sdk-python.git
I always get this answer: "fatal: Unable to find remote helper for 'https' "
If I use "git" instead "https" it runs, but fails while it is cloning, this is the output taken from Putty:
root@FCP:~# git clone --recursive git://github.com/Azure/azure-iot-sdk-python.git
Cloning into 'azure-iot-sdk-python'...
remote: Counting objects: 36082, done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 36082 (delta 15), reused 0 (delta 0), pack-reused 36031
Receiving objects: 100% (36082/36082), 39.13 MiB | 263 KiB/s, done.
Resolving deltas: 100% (21810/21810), done.
Checking out files: 100% (87/87), done.
git: 'sh-i18n--envsubst' is not a git command. See 'git --help'.
git: 'sh-i18n--envsubst' is not a git command. See 'git --help'.
Cloning into 'c'...
fatal: Unable to find remote helper for 'https'
git: 'sh-i18n--envsubst' is not a git command. See 'git --help'.
git: 'sh-i18n--envsubst' is not a git command. See 'git --help'.
Do I need to install some package in order to to find remote helper for 'https'???

Helo @caenfuro,
We believe you should cross-compile for Arduino YUN and not run natively on YUN. We don't have examples for YUN, but we have for digi. This is the link for digi xbee gateway that we can point you to:
https://github.com/Azure/azure-iot-device-ecosystem/blob/ae2c29c41a1e207855a9b2de16bb919e74eb0c50/get_started/digi-xbee-gateway-python.md
While not tied to your Linux distro, there should be some useable information in there for you.
Best Regards,
Andrei Porumb

Thanks for your answer, I appreciate it.
Looking today at the Microsoft website https://catalog.azureiotsuite.com/details?title=Arduino_Yun, I can see how they recommend cross-compile as you did in your last post. That's a recent change in the documentation, as many others that I've found while researching about this. What is the best way to get support if the new instructions fail in some point?


⚠ Samsung has degraded performance

In 7da2e2e, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2090 ms

Resolved: Samsung performance has improved in 19ec717.


New feature: integration with Slack/Discord

Instead of creating a github issue, could we put an example of an action workflow where it sends a slack or discord message to a given channel?

Check this official action by slack.
https://github.com/slackapi/slack-github-action
Usage of JSON output is documented in this repo's readme here
Rest is up to your creativity 😁


Create alumno.txt

@bikotoru First stage of verification passed, official domain is iplacex.cl as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@bikotoru Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Contribute

Hey @mkatliar I would like to contribute to use the library with the ABB ROS Driver. I saw that you made a lot of recent changes so I'd like to ask where to start so we can work together.
My guess to start would be to alter the rws_state_machine_interface to use both v1_0 and v2_0 depending on the controller it communicates with.

Hello @herrvonregen !
I am glad that you want to contribute. Here are the main development directions in our fork of abb_librws:

Deprecate the RWSInterface class and split its interface into free functions. The functions live in namespaces corresponding to RWS services, e.g. abb::rws::v1_0::rw::rapid.
Remove all functionality related to RWS services from RWSClient, s.t. it only manages REST-style communication with the server, being unaware of RWS-specific details.
Merge POCOClient into RWSClient.
Review and improve the Subscription service implementation.
Add tests.

You are welcome to contribute to any of those, as well as make your own improvements. I personally never used rws_state_machine_interface, but if you think it is useful to make it work with RWS 2.0, go ahead!


Attempt at fixing sporadic failures of shuttle-deployer

Description of change
The shuttle-deployer tests are sometimes failing when unrelated changes are made. This can be seen both during CI as well as when working locally (we faced that when working on the pagination).
It's quite hard to reproduce, but if we look at CircleCI errors (https://app.circleci.com/pipelines/github/shuttle-hq/shuttle/3134/workflows/c461d70f-616c-416a-a1e5-148ca2afa854/jobs/59077, https://app.circleci.com/pipelines/github/shuttle-hq/shuttle/3134/workflows/bd9ea5b5-c6bf-4262-bc58-2d82ce416341/jobs/59040, https://app.circleci.com/pipelines/github/shuttle-hq/shuttle/3109/workflows/aeefba11-ae65-48b7-b522-30b7931e32a9/jobs/58417, among others), we often get this error:
2023-06-05T08:35:40.737556Z ERROR builder:build_failed{error=InputOutput(Custom { kind: Other, error: "background task failed" }) id=572c7682-bc23-48c9-b4a8-97850da7938e state=Crashed}: shuttle_deployer::deployment::queue: service build encountered an error error=Internal I/O error: background task failed error.sources=[background task failed]

And right before it, this line:
2023-06-05T08:35:40.736962Z  INFO builder:handle{id=572c7682-bc23-48c9-b4a8-97850da7938e state=Building}: shuttle_deployer::deployment::queue: Moving built executable

In particular, right after the log line above in the code, we have a call to store_executable, with a call to tokio::fs::rename inside. This in combination with the error message (background task failed) led me to this issue. One comment mentions the following:

I eventually figured out this was a case of not keeping the top-level task waiting on the spawned tasks, resulting in the runtime shutting down and those tasks failing midway through (with the above error).

In the deployer, and more precisely in this code path, this is done twice:

Once when we spawn Queued::handle (first commit) in queue::task, where we pull deployments to build and run.
Once when we spawn queue::task, which is done when building a DeploymentManager.

An other kind of bug happens in the test suite:
thread 'thread 'deployment::deploy_layer::tests::deployment_bind_panicdeployment::deploy_layer::tests::deployment_main_panic' panicked at '' panicked at 'states should go into 'Crashed' panicking in bind: [
    StateLog {
        id: 9e2ab92a-34d4-4439-835b-c911aab1e5ba,
        state: Queued,
    },
    StateLog {
        id: 9e2ab92a-34d4-4439-835b-c911aab1e5ba,
        state: Building,
    },
    StateLog {
        id: 9e2ab92a-34d4-4439-835b-c911aab1e5ba,
        state: Built,
    },
    StateLog {
        id: 9e2ab92a-34d4-4439-835b-c911aab1e5ba,
        state: Loading,
    },
]states should go into 'Crashed' when panicking in main: [
    StateLog {
        id: 7c030971-9f73-4ea2-9a4f-2f8c44194c2d,
        state: Queued,
    },
    StateLog {
        id: 7c030971-9f73-4ea2-9a4f-2f8c44194c2d,
        state: Building,
    },
    StateLog {
        id: 7c030971-9f73-4ea2-9a4f-2f8c44194c2d,
        state: Built,
    },
    StateLog {
        id: 7c030971-9f73-4ea2-9a4f-2f8c44194c2d,
        state: Loading,
    },
]', ', thread 'deployment::deploy_layer::tests::deployment_to_be_queueddeployer/src/deployment/deploy_layer.rs' panicked at ':states should go into 'Running' for a valid service: [
    StateLog {
        id: eca96eb6-c63d-42d3-a18e-c584f2b4309c,
        state: Queued,
    },
    StateLog {
        id: eca96eb6-c63d-42d3-a18e-c584f2b4309c,
        state: Building,
    },
    StateLog {
        id: eca96eb6-c63d-42d3-a18e-c584f2b4309c,
        state: Built,
    },
    StateLog {
        id: eca96eb6-c63d-42d3-a18e-c584f2b4309c,
        state: Loading,
    },
]deployer/src/deployment/deploy_layer.rs', deployer/src/deployment/deploy_layer.rs:754:797::1717

Sometimes it was just a timeout where the deployment seems to have stalled, sometimes it actually results in a crash (state: Crashed) instead. This was particularly painful when debugging since it would hang for several minutes, even though it was sometime clear that the states had diverged. I've added a fix for it to return early when we can.
I also got this kind of error:
thread 'tokio-runtime-worker' panicked at 'message from tonic stream: Status { code: Unknown, message: "error reading a body from connection: stream closed because of a broken pipe", source: Some(hyper::Error(Body, Error { kind: Io(Custom { kind: BrokenPipe, error: "stream closed because of a broken pipe" }) })) }', deployer/src/deployment/run.rs:386:49

I assume that similarly to the first issue, we're not properly waiting on the returned JoinHandle, causing the stream to be closed while a task is still running. This time it happened in the run.rs file of the deployer. This fixed both the error with tonic stream and the states of the deployment that either hang or crashed.
How has this been tested? (if applicable)
I managed to sometime (but not often) reproduce the errors locally, which I can't seem to be able to do now with these changes. I ran the following command, which before my fixes exhibited some of the issues in a few iteration:
export RUST_BACKTRACE=full
for i in {0..20}; do
rm -rf deployer/**/target; rm -rf /run/user/1000/shuttle_run_test*;
if ! cargo test -p shuttle-deployer -- --nocapture; then
        break
fi
sleep 5
done

Now I want to try with CircleCI :)

@Kazy , if you got spare time to address this let us know: https://github.com/shuttle-hq/shuttle/pull/980#discussion_r1240396071.


Boolean.getBoolean() maybe System.getProperty broken in trunk

Hello,
I'm working with current trunk but Boolean.getBoolean() fails with JS error Uncaught TypeError:  Cannot read property '$hashCode' of undefined.
Working fine in release 0.5.1.
Jiri Tulach

Can you provide an example that reproduces the issue?

Ok, I'll try to prepare an example.
The actual code which fails looks like:
if(Boolean.getBoolean("controls4j.dummytech")) DummyTechnology = true;
And property "controls4j.dummytech" doesn't exist.
The generated JavaScript error is:
teavm.js:12941 Uncaught TypeError: Cannot read property '$hashCode' of undefined
at jl_String_hashCode (teavm.js:12941)
at ju_Hashtable_get (teavm.js:13275)
at ju_Properties_getProperty (teavm.js:13422)
at jl_System_getProperty (teavm.js:19045)
at jl_Boolean_getBoolean (teavm.js:8753)
The undefined value is passed to jl_String_hashCode which fails because it expects the object.

Please, try to build your project against latest master

It works! Great. Thank you.


[CMD] kamel bind empty error handler

I think the test spotted an hidden issue:
=== RUN   TestKamelCLIBind/bind_timer_to_log
KameletBinding.camel.apache.org "test-timer-source-to-log" is invalid: []: Invalid value: map[string]interface {}{"kind":"KameletBinding", "apiVersion":"camel.apache.org/v1alpha1", "metadata":map[string]interface {}{"uid":"2948e0fe-e2f1-11eb-b545-000d3a02688e", "selfLink":"", "clusterName":"", "name":"test-timer-source-to-log", "namespace":"test-6a95d672-8ac8-4df7-8688-1eacb6220973", "creationTimestamp":"2021-07-12T09:11:37Z", "generation":1}, "spec":map[string]interface {}{"source":map[string]interface {}{"ref":map[string]interface {}{"kind":"Kamelet", "namespace":"test-6a95d672-8ac8-4df7-8688-1eacb6220973", "name":"test-timer-source", "apiVersion":"camel.apache.org/v1alpha1"}, "properties":map[string]interface {}{"message":"helloTest"}}, "sink":map[string]interface {}{"uri":"log:info"}, "errorHandler":interface {}(nil)}}: validation failure list:
spec.errorHandler in body must be of type object: "null"

Probably the bind operation is setting a null error handler, when instead it should be omitted as empty.
Originally posted by @squakez in https://github.com/apache/camel-k/issues/2461#issuecomment-878239462

I am having a look at it. cc @vsokolov00


update consumer group minimum version

Same as this issue https://github.com/Shopify/sarama/issues/1680
I noticed that the consumer group is limited to V0_10_2_0, but the internal implementation is actually compatible with V0_10_0_0. And I tested that it works fine on V0_10_0_0.

I see on https://github.com/Shopify/sarama/issues/1363#issuecomment-486943952
that this was fixed for <IP_ADDRESS>: https://issues.apache.org/jira/browse/KAFKA-3853
Better safe, than sorry?

This seems to be a bug in the kafka server. so sarama is restricting the use of versions higher than 0.10.2 to ensure data reliability for users?
Security is of course important, but every version of the kafka server can have bugs. We chose a lower version of the kafka server, and we are aware of the risks.
I used sarama-cluster before sarama, and I have been using kafka server version 0.10.0 for four or five years now, and there are some reasons why I have no way to upgrade kafka server.
I just want to switch from sarama-cluster to sarama.

I've been using sarama for over a month now to bypass version restrictions.
@bai  How do I verify this PR feature? I really want this PR to merge into the master branch.

@bai Any updates ? Whether you decide to merge or not to merge ?

@dnwe @d1egoaz any objections on merging this?

@dnwe @d1egoaz any objections on merging this?

I'm afraid I agree with @d1egoaz, even for <IP_ADDRESS> whilst the support code is technically still around in the repo, we don't actively do any testing of it and there's no guarantee that we won't break it in the future
The Sarama support statement is:

Sarama provides a "2 releases + 2 months" compatibility guarantee: we support the two latest stable releases of Kafka and Go, and we provide a two month grace period for older releases. This means we currently officially support Go 1.14 through 1.16, and Kafka 2.6 through 2.7, although older releases are still likely to work.

Additionally I would personally even like us to have the freedom to purge handling of legacy cluster and protocol versions going forward so we can reduce the size of the codebase

Thanks for contributing! Unfortunately I'm going to have to close this off as stale since we no longer support legacy Kafka.


Alert events have time 2 hours shifted

Hi, all my events in ES or Logtrail have correct timestamp for example 4 pm. But Sentinl alerts comes with timestamp 2 pm., 2 hours shifted back. How can I repair it?
Thanks

Hi,
This is answered in the FAQ/Documentation: http://sentinl.readthedocs.io/en/latest/FAQ/#watchers-are-not-running-in-my-timezone-why

Keep in mind SENTINL runs within Kibana, so it will inherit time settings accordingly.

Keep in mind SENTINL runs within Kibana, so it will inherit time settings accordingly.
Yes I know, but ES, Kibana and Logtrail shows correct timestamp, only Sentinl alerts are time shifted.

In another words if Sentinl would take timestamps from Kibana, then it would be fine, because Kibana shows correct timestamp, but Sentinl shows incorrect timestamp, 2 hours shifted back. That's why I opened this ticket.

It's not incorrect, SENTINL internally uses UTC in order to handle multiple data sources in multiple timezones. The timezone is adapted back by the BROWSER when displaying it using the host settings. SENTINL will not take timestamps from "events" but rather from the SYSTEM running Kibana.

As I told you, my system has correct time.

That's great - I suggest you hire a consultant to resolve this.


Correct serialization of google::protobuf::Any

From https://developers.google.com/protocol-buffers/docs/proto3#json

If the Any contains a value that has a special JSON mapping, it will be converted as follows: {"@type": xxx, "value": yyy}. Otherwise, the value will be converted into a JSON object, and the "@type" field will be inserted to indicate the actual data type.

Currently Any is not special cased and is therefore not serialized/deserialized to/from this custom representation. This should be fixed

For what it is worth, I hit this today as well
Here is an example which might help
pbjson produces:
  "ReadSource": {
    "typeUrl": "type.googleapis.com/com.github.influxdata.idpe.storage.read.ReadSource",
    "value": "COLy2v2h1bG1qwEQl/Gxk7nbhPmzAQ=="
  },

When the binary value in Any is decoded, it looks like
org_id:<PHONE_NUMBER>1995815266
bucket_id:<PHONE_NUMBER>1416799383

When I manually modified my

Running into this issue as well with an api that sends the data with the "@type" and unpacked data in the rest of the body. Is there  any ideas on how to fix this?

Running into this as well. I'm using pbjson to do some debugging of Envoy types that use Any, and having to manually unwrap Any types is fairly tedious. I'm also generating well-known types as part of prost codegen instead of relying on prost-types, so being able to generate an impl on my own Any` type would be awesome.

If anyone has time to whip up some tests showing what is wrong / what would help that would be swell. A PR to support it would be even better!

Here's a quick test for serialization.
https://github.com/influxdata/pbjson/compare/main...blinsay:pbjson:any-tests
In whipping this up I went to go put together a standalone example repo to try and see how deserialization might work and I fell into a gnarly hole trying to configure well-known types. I think one of the hardest things about support here may be configuring other generated code to use this implementation of Any.


Update Python < 3.8 (3.2 to 3.7) obsolete code and comments

Summary of changes
Prompted by https://github.com/pypa/setuptools/pull/3979/files#r1257406447
Removing obsolete code and workarounds benefit type-checkers.
This PR avoids touching any of the _vendor, _distutils, extern or deprecated folders
More details for specific changes are added as comments below.
Pull Request Checklist

[x] Changes have tests (the existing tests need to pass)
[x] News fragment added in newsfragments/.
(See documentation for details)

pkg_resources/init.py (66.7%): Missing lines 23
...
Total:   12 lines
Missing: 1 line
Coverage: 91%

diffcov: commands[2]> diff-cover coverage.xml --compare-branch=origin/main --fail-under=100
Failure. Coverage is below 100%.

I'm guessing coverage of pkg_resources/__init__.py was already below 100%, because if anything my changes should make coverage go up as there's less branches.

@abravalheri There's been some small updates since your last review, so I reset your vote. There's also a ton of overlap with #4138 from @jaraco

Thanks for all the work here. Let's get this merged. We can tweak more later if needed.


Python Indentation is inconsistent

The documentation is partly in 2 and 4 space intent.
It would be better if it would be consistently. Would make copying examples easier, too.

Please use 4 going forward

I think the landing page:
http://www.gymlibrary.ml/
need still "fixing"
fixed:
#79


add api invite manager configs

what about revad and revaoc configs?

We have this functionality for Nextcloud currently.

So you work on this branch. Do you need to merge it right now? or we wait until everything is ready?

Since the Reva has changed into 3 process configuration, we might need to change this.

This has been superseded by other changes


add snapshot test for display trait

Great!
There are too many backticks, but we can refine that another time. Feel free to merge!


node-bootstrapper

The current implementation is a simple wrapper around CSE scripts and a custom data generator for Linux (previously known as "self-contained" efforts).
This approach moves the script generation logic from the API layer into the VHD itself, making virtual machines more consistent and allowing for significant simplification.
By having a Go application as the main entry point to provision the VHD, we unlock a lot of new possibilities.
Switching to the new generation should be as simple as replacing GetNodeBootstrapping with GetNodeBootstrappingV2.
No changes are introduced to the current VHD provisioning.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 8 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 71.154%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/agent/bakerapi.go
0
8
0.0%

Totals

Change from base Build<PHONE_NUMBER>8:
-0.2%

Covered Lines:
2595

Relevant Lines:
3647

💛  - Coveralls

Who will trigger the main.go and providing the nodebootstrapping config? Assuming it's baked in the VHD, right?

The binary is compiled and added to every new linux VHD.
AgentBaker Server is preparing and running this CSE command:
fmt.Sprintf(
		`bash -c "(echo '%s' | base64 -d > config.json && mkdir -p /var/log/azure && /opt/azure/node-bootstrapper provision --provision-config=config.json) > /var/log/azure/node-bootstrapper.log 2>&1"`,
		base64.StdEncoding.EncodeToString(configJSON),
	)

We may change it the future. My goal was to exactly replicate current functionality with minimum changes.
In the future we may change this behaviour to a daemon watching for a config file.

will take another closer look tomorrow

👀


Fixed DAG zoom in and zoom out nodes separated from arrows #1679

Codecov Report

:exclamation: No coverage uploaded for pull request base (1.2.1-release@bf11daa). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             1.2.1-release    #1685   +/-   ##
================================================
  Coverage                 ?   13.41%
================================================
  Files                    ?      282
  Lines                    ?    13907
  Branches                 ?     2249
================================================
  Hits                     ?     1866
  Misses                   ?    11835
  Partials                 ?      206

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 bf11daa...7e506a8. Read the comment docs.

+1


Start/Stop Miner

Start/Stop miner. I'd love to be able to start and stop my miner based on automation (in my case surplus solar energy exporting to the grid). I have that trigger but can't figure how to do the post described below...

https://www.nicehash.com/docs/rest

This is out of scope for this integration. This integration is only for monitioring and it is doing that by only accessing the local Excavator API. What you want is part of the online API of Nicehash. You can either solve this by making a REST switch to call this endpoint, or try to request this as a feautre from an integration where the Nicehash API is used like NiceHash Home Assistant Integration


Remove dependency on perl in WMCore

Impact of the new feature
WMCore in general
Is your feature request related to a problem? Please describe.
We have a few bin/ and deploy/ scripts that rely on perl for text/pattern substition, which incurs that our stack (or the deployment) has to depend on perl as well. This dependency can be replaced by sed command and we no longer depend on perl.
Describe the solution you'd like
Scan the WMCore repository and replace all the perl commands by their equivalent in sed, such that we have one less dependency in WMCore.
From a grep just done in the repository, here is the current list of files to be updated:
bin/deploy-rpm-to-jenkins.sh
bin/buildrelease.sh
deploy/deploy-wmagent.sh
deploy/deploy-centralvm.sh
Describe alternatives you've considered
Keep it as is
Additional context
None

Here is substitution I used in bash script (let's call it script.sh):
shell$ cat script.sh

#!/bin/bash
##H Script to do somethiong
##H Usage: bla-bla-bla

if [ "$#" -lt 1  ]; then
    cat $0 | grep "^##H" | sed -e "s,##H,,g"
    exit 1
fi

echo "arg=$1"

And, if you'll run it you'll get the following:
shell$ sh script.sh
 Script to do somethiong
 Usage: bla-bla-bla

shell$ sh script.sh bla
arg=bla


Ztj/docs zh

update docs-zh for how to use cubefs-hadoop.
update docs-zh for how to manage zone.

agree


TC-1177 - SBOM details page: 'Related advisories' tab renamed 'Related vulnerabilities'

Re first requirement from https://issues.redhat.com/browse/TC-1177?focusedId=24856680&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-24856680

LGTM!


ghost is not defined

Hello,
I've added it inside body in default.hbs:
 <form>
        <input id="search-field" />
        <input type="submit" value="search">
        <input type="button" value="clear" onclick="clearResults();" />
      </form>

But i'm getting the following error:
Uncaught ReferenceError: ghost is not defined
    at Object.loadAPI (jquery.ghostHunter.js:110)
    at HTMLInputElement.<anonymous> (jquery.ghostHunter.js:76)
    at HTMLInputElement.dispatch (jquery.min.js:5)
    at HTMLInputElement.v.handle (jquery.min.js:5)

How to fix it?
Thank you

You haven't activated the public API in the ghost settings 😉
Sent from BlueMailhttp://www.bluemail.me/r?b=9184
On Mar 13, 2017, at 23:29, ubuntutest <notifications<EMAIL_ADDRESS>wrote:
Hello,
I've added it inside in default.hbs:

But i'm getting the following error:
Uncaught ReferenceError: ghost is not defined
at Object.loadAPI (jquery.ghostHunter.js:110)
at HTMLInputElement. (jquery.ghostHunter.js:76)
at HTMLInputElement.dispatch (jquery.min.js:5)
at HTMLInputElement.v.handle (jquery.min.js:5)
How to fix it?
Thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/jamalneufeld/ghostHunter/issues/33, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARG2-ztrjkuN10n1CXvrUJ1PG-P2AWsqks5rlcNSgaJpZM4Mb5kU.

Thanks for answer, i have this problem now:
XMLHttpRequest cannot load https://mydomain/ghost/api/v0.1/posts/?limit=all&include=tags&client_id=ghost-frontend&client_secret=57401ec52288. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://mydomain' is therefore not allowed access.

You didn't replace "mydomain" with your domain.
Sent from BlueMailhttp://www.bluemail.me/r?b=9184
On Mar 14, 2017, at 11:13, ubuntutest <notifications<EMAIL_ADDRESS>wrote:
Thanks for answer, i have this problem now:
XMLHttpRequest cannot load https://mydomain/ghost/api/v0.1/posts/?limit=all&include=tags&client_id=ghost-frontend&client_secret=57401ec52288. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://mydomain' is therefore not allowed access.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/jamalneufeld/ghostHunter/issues/33#issuecomment-286377575, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARG2-0OIcAPVYM8XExeU7hW40kDVS7wsks5rlmg-gaJpZM4Mb5kU.

Dude, i changed the address to mydomain in here to hide it, for privacy. (btw i solved it by adding headers in nginx.conf)
Btw  read my edits, I modified my previous post, u hevnt noticed it, probably because you answered via email.
`Thanks for answer, i have this problem now:
{{prettyPubDate}}
And in console, if i click on it:
Uncaught TypeError: $(...).ghostHunter is not a function at (index):102`

Haha sorry. I'm on the road ATM, just trying to answer how I can.
I'll check it out once I have access to a comp then.
If generally if it says ghosthunter is not a function that means the . js isn't correctly referencef in the page.
Sent from BlueMailhttp://www.bluemail.me/r?b=9184
On Mar 14, 2017, at 12:17, ubuntutest <notifications<EMAIL_ADDRESS>wrote:
Dude, i changed the address to mydomain in here to hide it, for privacy. (btw i solved it by adding headers in nginx.conf)
Btw read my edits, I modified my previous post, u hevnt noticed it, probably because you answered via email.
`Thanks for answer, i have this problem now:
{{prettyPubDate}}
And in console, if i click on it:
Uncaught TypeError: $(...).ghostHunter is not a function at (index):102`
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/jamalneufeld/ghostHunter/issues/33#issuecomment-286391883, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARG2-8hxWM_DTzMjWyBAeuOy5Wv1yxY3ks5rlndYgaJpZM4Mb5kU.

Thanks for the help then..
The js  is correctly loaded, the search form works correctly, otherwise it would not work.
But in addition to the search result also get this "{{prettyPubDate}}" in homepage, dont know why.
drive carefully :)

So any idea how to solve this ?
http://imgur.com/a/rKy2S

Solved by deleting {{prettyPubDate}} from
`	result_template 	: "<a href='{{link}}'><p><h2>{{title}}</h2></p></a>",`

in jquery.ghostHunter.js