wasmer: 5.0.2 -> 5.0.3

Diff: https://github.com/wasmerio/wasmer/compare/refs/tags/v5.0.2...v5.0.3

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

$ /nix/store/4blx4zim5cpghw0dwfb5nhcm4i7p1ad4-wasmer-5.0.3/bin/wasmer run cowsay -- test
 ______
< test >
 ------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
               ||----w |
                ||     ||


[BUG] Picklist Default Value for Custom Question

I have added a default value to my picklist custom question, but when accessing the register event form, that value does not appear, and if I continue without filling out that question and summit, this value does not appear in the Summit Events Registration record either.
To Reproduce
Steps to reproduce the behavior:

Create a custom questions for a picklist field, and add a Default Value:

Go to the Registration form, and look at the Custom Questions section, there is no value:

When you submit the registration form, there is no value on that field.

Expected behavior
The default value should be showed, and filled when you created the registration record.

Included in beta release <IP_ADDRESS>

Included in production release <IP_ADDRESS>


Handling ajax responses for custom validation

I noticed some previous discussion of custom error handling when an ajax call is involved, but am having trouble getting it to work. Is there a way to employ $deferred or $promises?
My particular issue - using @.ajax to check whether an email address is already in our database. I want to return whether it is unique. Validator always returns something before my ajax is complete.

Sorry, it's not possible yet. One of the next big improvements I want to make is to support returning a promise/deferred from a validator.

In your case though, you might be able to use data-remote to check against a validation endpoint

Thanks @1000hz for the quick response. I played around with your suggestion to use data-remote -- it's definitely the right direction, but the API (which alas I don't control) doesn't quite return data in a proper format for the validator to process.
Anyway, glad it's on the roadmap going forward. Thanks for all your work on this!

@mark47 just a lil plug, if you want to checkout dominar.js it has support for ajax validation the kind your looking for :)


TASK AGENT - ends prematurly with "All tasks completed or stopped."

Description
give task Write the text 'Happy birthday, Mihai!' into a text file named 'Happy.txt'
agent provider oobabooga, max tokens 1500, temperature 0.7, model type vicuna
it runs 2 cycles and stops like it's finished.
Steps to Reproduce the Bug
create agent with provider oobabooga, max tokens 1500, temp 0.7, type vicuna
in text-generation-webuit start
python server.py --model-dir ~/LLMmodels --listen --threads 12 --extensions api openai --cpu --mlock --chat --n_batch 512 --no-cache --disk-cache-dir /mnt/e/temp/ --verbose --model a_CRD716_ggml-vicuna-1.1-quantized --load-in-4bit --quant_type nf4
in webpage http://localhost:3000/agent/xxx give task Write the text 'Happy birthday, Mihai!' into a text file named 'Happy.txt'
Expected Behavior
to continue execution or to throw an error at some point
Actual Behavior
after cycle 2 it ends loop
Additional Context / Screenshots

also, in ui it doesn't refresh anything.
and no commands are shown in right tab (i manually edited the config.json in agent's directory and replaced false with true)

This is the first response:
Primary Objective: Write the text 'Happy birthday, Mihai!' into a text file named 'Happy.txt'

Task:

Break down the objective into a list of small achievable tasks in the form of instructions that lead up to achieving the ultimate goal of the objective. Make use of available COMMANDS.

Task Response:

First, let's create a new file called Happy.txt and open it with the write_file command.
open_file = commands.write_file("Happy.txt", "Text to be added")

Next, we will use the read_file command to get the text that is already in the file, so we can add our new text to it.
read_file_output = commands.read_file(open_file)

Now we have the existing text in the file, let's concatenate our new text to it using the append_to_file command.
concat_text = "Happy birthday, Mihai!"
new_text = commands.append_to_file(open_file, concat_text)

Finally, we will use the read_file command again to make sure our new text is in the file and write the Happy.txt file with all the text in it using the write_file command.
read_file_output = commands.read_file(open_file)
write_file_output = commands.write_file("Happy.txt", read_file_output)

You are a command execution agent.  If there are no commands, respond only with empty Json like {}. If there are commands to use from the Task Response, format them as follows in your response:

{
"commands": {
"command_name": {
"arg1": "val1",
"arg2": "val2"
},
"command_name2": {
"arg1": "val1",
"arg2": "val2",
"argN": "valN"
}
}
}
--------------------

This is the second:
Primary Objective: Write the text 'Happy birthday, Mihai!' into a text file named 'Happy.txt'

Task:

Break down the objective into a list of small achievable tasks in the form of instructions that lead up to achieving the ultimate goal of the objective. Make use of available COMMANDS.

Task Response:

First, let's create a new file called Happy.txt using the create_command command.
+---------------------------------------------------+
|                                                   |
|               TASK LIST                             |
|                                                   |
+---------------------------------------------------+
|1. create_command                                      |
|---------------------------------------------------|
|Task: Create a new file called Happy.txt using the     |
|`create_command` command.                           |
|---------------------------------------------------|
|### Commands Available To Complete Task:          |
|* create_command                                      |
|---------------------------------------------------|

Next, let's write 'Happy birthday, Mihai!' into the Happy.txt file using the write_to_file command.
+---------------------------------------------------+
|                                                   |
|               TASK LIST                             |
|                                                   |
+---------------------------------------------------+
|2. write_to_file                                      |
|---------------------------------------------------|
|Task: Write 'Happy birthday, Mihai!' into the Happy.txt  |
|file using the `write_to_file` command.              |
|---------------------------------------------------|
|### Commands Available To Complete Task:          |
|* write_to_file                                       |
|---------------------------------------------------|

Finally, let's use the scrape_text_with_selenium command to scrape some text from a website that has birthday wishes for Mihai.
+---------------------------------------------------+
|                                                   |
|               TASK LIST                             |
|                                                   |
+---------------------------------------------------+
|3. scrape_text_with_selenium                          |
|---------------------------------------------------|
|Task: Use the `scrape_text_with_selenium` command to     |
|scrape some text from a website that has birthday        |
|wishes for Mihai.                                      |
|---------------------------------------------------|
|### Commands Available To Complete Task:          |
|* scrape_text_with_selenium                           |
|---------------------------------------------------|

You are a command execution agent.  If there are no commands, respond only with empty Json like {}. If there are commands to use from the Task Response, format them as follows in your response:

{
"commands": {
"command_name": {
"arg1": "val1",
"arg2": "val2"
},
"command_name2": {
"arg1": "val1",
"arg2": "val2",
"argN": "valN"
}
}
}
--------------------

Operating System

[ ] Microsoft Windows
[ ] Apple MacOS
[X] Linux
[ ] Android
[ ] iOS
[ ] Other

Python Version

[ ] Python <= 3.9
[X] Python 3.10
[ ] Python 3.11

Environment Type - Connection

[X] Local
[ ] Remote

Environment Type - Container

[ ] Using Docker
[X] Not Using Docker

Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of AGiXT.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

NextJS front end is broken, please use the Streamlit one.  Issues related to the NextJS front end should be directed to the Front End repo. https://github.com/JamesonRGrieve/Agent-LLM-Frontend


Linux: Title should be os dark mode aware

vs

Is this a feature request? We did this and the linux community was not happy since there are too many window manager specific features they lose so we reverted the change.

Yeah I thought maybe there were reasons. Did we ever experiment with https://github.com/electron/electron/blob/11-x-y/docs/api/native-theme.md#nativethemethemesource to convince the OS to draw a dark native menu?

I have not been involved in anything like that but I think that's worth trying

Unfortunately it looks like it does not work on Linux, filed https://github.com/electron/electron/issues/28887

I would rather enable our custom title bar by default.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


login page

Make UI using MUI. Example of such method https://github.com/MrSheep05/chat-application/tree/main/packages/web/src/renderer.


Fixes #184 - Updated epub and mobi files based on latest web content.

Also cleans up quite a few broken URLs from original content. I'll do a separate PR for those to address Markdown updates.

Great! Would you mind sharing the tools/process you followed to generate the epub/mobi files?

Sure - I use the tools and methodology from Standard Ebooks, adapted somewhat  because the licensing of the final book is different. I did quite a bit of review on links as well , plus cleaned up some structure based on epub standards. I used the "Marked 2" tool to convert the markdown source into xhtml.

I did not find the version in epub in Russian (maybe badly searched). I made a version for myself, using the pandoc for this. Attach it to this post, maybe someone will come in handy.


[FEATURE REQUEST] How to push notification by FCM

Is your feature request related to a problem? Please describe.
I want to push notifications through Firebase FCM token, but I cannot find the document about how to do it
Additional context

Godot version 4.x

Unfortunately, we cannot support FCM as it requires a custom export template - otherwise, we cannot ever receive those push tokens effectively. You can replace this functionality with the Realtime Database however.


HDDS-4074. [OFS] Implement AbstractFileSystem for RootedOzoneFileSystem

What changes were proposed in this pull request?
Add RootedOzFs, implementation of AbstractFileSystem for RootedOzoneFileSystem.  This will allow running MapReduce tests with OFS.
Extracted from #1088.  Also applied the fix from HDDS-3482.
https://issues.apache.org/jira/browse/HDDS-4074
How was this patch tested?
Executed ozone-mr acceptance tests locally:
export OZONE_TEST_SELECTOR='ozone-mr\|hadoop..'
hadoop-ozone/dev-support/checks/acceptance.sh

after tweaking config and MR test to use ofs instead of o3fs:
diff --git hadoop-ozone/dist/src/main/compose/ozone-mr/common-config hadoop-ozone/dist/src/main/compose/ozone-mr/common-config
index 46e752731..91588aa77 100644
--- hadoop-ozone/dist/src/main/compose/ozone-mr/common-config
+++ hadoop-ozone/dist/src/main/compose/ozone-mr/common-config
@@ -30,7 +30,8 @@ OZONE-SITE.XML_hdds.datanode.dir=/data/hdds
 HDFS-SITE.XML_dfs.datanode.address=<IP_ADDRESS>:1019
 HDFS-SITE.XML_dfs.datanode.http.address=<IP_ADDRESS>:1012

-CORE-SITE.xml_fs.defaultFS=o3fs://bucket1.volume1/
+CORE-SITE.xml_fs.defaultFS=ofs://om/volume1/bucket1/
+CORE-SITE.XML_fs.ofs.impl=org.apache.hadoop.fs.ozone.RootedOzoneFileSystem

 MAPRED-SITE.XML_mapreduce.framework.name=yarn
 MAPRED-SITE.XML_yarn.app.mapreduce.am.env=HADOOP_MAPRED_HOME=$HADOOP_HOME
diff --git hadoop-ozone/dist/src/main/smoketest/mapreduce.robot hadoop-ozone/dist/src/main/smoketest/mapreduce.robot
index 654dd49c6..e2dfd11a1 100644
--- hadoop-ozone/dist/src/main/smoketest/mapreduce.robot
+++ hadoop-ozone/dist/src/main/smoketest/mapreduce.robot
@@ -39,5 +39,5 @@ Execute PI calculation
 Execute WordCount
                     ${exampleJar}    Find example jar
                     ${random}        Generate Random String  2   [NUMBERS]
-                    ${output} =      Execute                 yarn jar ${exampleJar} wordcount o3fs://bucket1.volume1/key1 o3fs://bucket1.volume1/key1-${random}.count
+                    ${output} =      Execute                 yarn jar ${exampleJar} wordcount ofs://om/volume1/bucket1/key1 ofs://om/volume1/bucket1/key1-${random}.count
                     Should Contain   ${output}               completed successfully

Regular CI:
https://github.com/adoroszlai/hadoop-ozone/runs/975699201

@elek Would you like to take a look at this?

Thanks @elek for reviewing and merging it.
Unfortunately GitHub UI merge assigned me as author of the commit, sorry @smengcl about that.

@adoroszlai No worries! Thanks you for creating this PR )


Adding source groups for IDE project structuring, bundling header processing and installation commands in CMake scripts.

Original pull request by Volker Enderlein (Bitbucket: VolkerEnderlein, GitHub: VolkerEnderlein).

This PR is part of the preparation for building frameworks on Mac OS X. It is bundling header processing in include/CMakeLists.txt and installation commands in src/CMakeLists.txt.

Added source groups for IDE project structuring.
Moved spread header processing to CMake script in include directory.
Moved spread installation commands to CMake script in src directory.

Comments on the PR are very welcome.

Original comment by Giampiero Gabbiani (Bitbucket: ggabbiani, GitHub: ggabbiani).

Hi Volker,
sorry for the delay of my approval, I’m just recovering from a serious health problem got in November.
Regards
Giampiero

Original comment by Volker Enderlein (Bitbucket: VolkerEnderlein, GitHub: VolkerEnderlein).

Thanks Giampiero. Glad to hear you are recovering well.


Implementing Seq2Seq Models

A number of us have shown interest in implementing seq2seq models in Keras #5358, so I'm creating a central issue for it. We can discuss design decisions and prevent duplication of work here.
There are a number of existing pull requests related to seq2seq models:

#5559 (Merged) Specify States of RNN Layers Symbolically.

We have to specify the initial state of the decoder symbolically. This pull request adds the initial_state argument, which is either a tensor or list of tensors, to Recurrent.call.

#5731 Add return_state flag to RNNs for seq2seq modeling.

We have to retrieve the final state of encoder. This pull request adds the return_state flag to Recurrent.__init__. If True, the output of the RNN will be a list of tensors. The first tensor is the output, and the remaining tensors are the final state.

#5737 Implement RNN decoding; feed output t-1 as input t

During test time, we have to feed the output of the decoder back into itself as the input for the next time step. This pull request adds the output_length argument to Recurrent.__init__. It requires unroll=True. If output_length is greater than the length of the input, the output of that layer will be fed back into the RNN as the input for the next time step.
Note: During training time, we can use teacher forcing, instead of feeding back the outputs of the decoder.

There is currently a seq2seq example in keras/examples: addition_rnn.py. However, the implementation could be greatly improved. It currently supports only a single layer encoder-decoder architecture. It also does not perform teacher forcing.
Feel free to comment on any ideas, questions or comments you might have.
@farizrahman4u @fchollet @israelg99.

I will check out the two PRs after we are done releasing Keras 2. Looking forward to reading everyone's feedback on how to best handle seq2seq models, API-wise. The first PR was a success (symbolic states).

Hello,
My 2 cents.
What is the status of Tensorflow scan (specially regarding multiple outputs, and documentation)? Has it converged yet to Theano's scan?
What I currently do for seq2seq and like is wrapping Theano scan directly inside my customs Layers.
I remember trying to use K.rnn, but quickly hit the wall of not being able to return multiple outputs.
Teacher's forcing is a capital part to get any decent rnn to converge. Specially when there are multiple plausible answers to a question during the training, if so then training it's just noise fitting.
The addition_rnn.py example is just teaching beginners to shoot themselves in the head.
Teacher's forcing introduces its own problems, one is exposure bias. Which can be mitigated by using readout  (i.e. feeding it's own output to the next input) and beam searching. The readout should ideally be sampled, which is not beautifully done inside scan, so I needed to pass some sampled before scan uniform noise, and appropriately stop some gradients. The readout branch of a model is an integral part of the design of the model and shouldn't be flagged in.
Facebook's MIXER, comes back and tells more on these details, and will nicely bridge users to the RL paradigm, where they may easily combine more advanced losses (ctc, generative adversarial ones) , so they are not forced to do some beam searching (available in tensorflow but not in theano) to generate sequences, and where they may also benefit from the more recent RL algorithms.
The alternative way, is unroll everything. The only reason for scan is to be able to handle inputs of dynamic size, but what we usually do is bound them with a max_sequence_length.
So if we accept never to use dynamic size, (which can be mitigated by creating new models (sharing the same weights) on the fly (or pre-compiled following a 2^max_seq_length pattern) ), if we accept to manually transfer the hidden states from one time step to the next, and if we accept longer compilation times (and maybe forget about some theano optimizations (btw let me digress : if you don't do any graph optimizations, "compilation" is just constructing a topological order of the computation graph which is exactly the recorded operations in the context during construction so ideal cost should be 0 and with a graph executor on the gpu you can have dynamical graphs and all this "compilation" nonsense debug-ability nightmare goes away) );
Then we can happily stay with the usual non recursive layers, and we don't suffer the restrictions on nested scans and we have finer control for parallel computing.
I see two roads ahead. Let's just take the one less traveled by.

I'll mention this repo by @farizrahman4u . You shouldn't use normal keras layers inside symbolic loops so this tries to provide a framework for making those inner layers. If you always unroll, you can use normal keras layers. Has anyone actually tested the performance difference when using symbolic loops?
https://github.com/datalogai/recurrentshop
The best solution would be a framework and set of components for recurrent networks. Either recurrentshop or adding something extra to keras-contrib.

Maybe relevant: I sketched (and partially implemented) a way to build general recurrent models reusing as much functionality as possible from keras itself. The idea is that the user specifies a transition model which computes a new state from the current state and the current input. A SimpleRNN-like layer can be implemented as:
hidden = Input((128,))
input = Input((10,))

x = Dense(128, activation='relu')(input)
x = Merge(mode='sum')([hidden, x])
new_hidden = Activation('sigmoid')(x)

# a layer to be used in keras.models.Model or keras.models.Sequential
rnn = RecurrentWrapper(
    input=[input],
    output=[new_hidden],
    bind={hidden: new_hidden},
    return_sequences=True,
)

Here the input, output arguments are the current to input/output vector of the sequence. The recurrence is indicated by the bind argument, that specifies that the new_hidden output should be fed back into the hidden input.
To use the input sequences themselves inside the model, corresponding inputs can be passed via the sequence_input argument. For example:
hidden = Input((128,))
input = Input((10,))
sequence = Input((None, 10))

x = Dense(128, activation='relu')(input)

# a function of the full sequence
x_seq = GlobalAveragePooling1D()(Dense(128)(sequence))

x = Merge(mode='sum')([hidden, x, x_seq])
new_hidden = Activation('sigmoid')(x)

# a layer to be used in keras.models.Model
rnn = RecurrentWrapper(
    input=[input, sequence],
    output=[new_hidden],
    bind={hidden: new_hidden},
    return_sequences=True,
)

My current state can be found here. It's tf only and certainly requires more thorough testing.

Just whipped up a bare-bones S2S model here: https://github.com/bstriner/keras-seq2seq
Heavily undocumented. Interested in everyone's thoughts.
It takes an input sequence and an output sequence. It trains to minimize categorical cross entropy of predicted output sequence. In test mode, each predicted output is fed back into the network.
The interesting part is how it handles sequences of different lengths within a batch. Input and output sequence are concatenated into a single matrix and a mask indicating input, output, and padding is created as a separate matrix. The mask controls when the unit is doing input or output and what values contribute to the loss.
It trains on shakespeare bigrams. Input is a sequence of characters from word 1 and it predicts word 2 character-by-character. Not the most interesting dataset but easy enough. Anyone have a good dialog dataset or smth?

cry: [they]
denmark: [antonio]
winds: [wife]
you: [antony]
thou: [most]

You can run it with stochastic generation or deterministic argmax. I tested in theano but it should hopefully work on tf as well.
The big issue with layers like this is that it feels like I'm reimplementing LSTM, Dense, Embedding, etc. each time. Maybe a good place to try using recurrentshop.
Another annoying issue is the need to concatenate and splice tensors, when I would just have multiple inputs and outputs in raw theano. It means I have to mix datatypes which is ugly. Maybe that needs a PR.
Cheers

Note on keras-seq2seq: I had to write custom backend functions for cumsum and zeros. Really need to add those two to backend. I want to dynamically create a vector of zeros, not instantiate a variable. Haven't tested tensorflow but it might work.
Also would be nice to put some more random streams into backend, so you don't have to generate on the cpu. Currently the RNG is in numpy, concatenated to the rest of the input, and passed to the RNN.

Has official keras contains seq2seq implementation now?

Yes, I wonder about the status of seq2seq in keras too. Tensorflow has tensor2tensor as well, but I am not sure how theano is doing right now.

Is this a good implementation of seq2seq?: https://github.com/farizrahman4u/seq2seq

Has official keras contains seq2seq implementation now?

Blog post on Seq2Seq by Keras author: https://blog.keras.io/a-ten-minute-introduction-to-sequence-to-sequence-learning-in-keras.html . Please note, that it doesn't have attention mechanism from what I can see there.

The direct link to the demo in the repo is https://github.com/fchollet/keras/blob/master/examples/lstm_seq2seq.py


s/has_key/key/

As of ruby 2.0, HTTPHeader (and thus httpparty https://github.com/jnunemaker/httparty/blob/master/lib/httparty/response/headers.rb) does not have has_key? http://ruby-doc.org/stdlib-2.0.0/libdoc/net/http/rdoc/Net/HTTPHeader.html#method-i-key-3F

Oh the error I got that caused this was
NoMethodError: undefined method `has_key?' for #<HTTParty::Response:0x007fa67b2ea238>
/Users/nat/.rvm/gems/ruby-2.2.1/gems/httparty-0.13.5/lib/httparty/response.rb:71:in `method_missing'
/Users/nat/.rvm/gems/ruby-2.2.1/gems/swish-0.8.1/lib/dribbble/paginated_list.rb:11:in `initialize'
/Users/nat/.rvm/gems/ruby-2.2.1/gems/swish-0.8.1/lib/dribbble/base.rb:34:in `new'
/Users/nat/.rvm/gems/ruby-2.2.1/gems/swish-0.8.1/lib/dribbble/base.rb:34:in `paginated_list'
/Users/nat/Projects/inspiration/lib/image_db.rb:71:in `block in full_update'

I'll try to add a test. Created #12 while trying to test.


OOM error when running EF prediction model on "all clips"

Similar to this closed issue, when I run echonet video --run_test --batch_size 12, I am able to complete training just fine on 4 1080ti GPUs. However, I get a memory error whenever I reach the part of the script that runs inference on the validation set when using "all clips" (line 234).
I don't believe it's a GPU memory (vRAM) issue because no combination of adjusting batch size, block size, num_workers, etc. alleviates the problem. Plus, my error message is either "Bus Error" or "RuntimeError: DataLoader worker (pid xxx) is killed by signal: Killed" (not CUDA OOM). I've also observed that with 32 GB of shared CPU memory I get through 12% of iterations before the error, and with 50 GB CPU memory I get to 20% before the error... which leads me to believe I don't have enough CPU memory.
This begs the question -- if 50 GB memory gets me 20% of the way, do I really need 250 GB of CPU memory to accommodate this inference step? Any advice for how to remedy this?

Not sure I understand this fix, but setting num_workers to 0 specifically for the "all clips" inference fixed the issue...


Barcode scanning fixes

Closes https://github.com/inventree/InvenTree/issues/2787
This PR fixes a number of issues with barcode scanning via the web interface.
Issues due to some updates to the API which had not been accounted for

@alexisvl lmk what you think


[ENHANCEMENT] Add UI for auto-rotate-rke2-certs setting

Is your enhancement related to a problem? Please describe.
In https://github.com/harvester/harvester/issues/3863, we add a new setting auto-rotate-rke2-certs. We would like to let user change the value via UI.
Describe the solution you'd like
Add a new setting auto-rotate-rke2-certs on UI. It's a JSON string with two fields enable and expiringInHours.
The enable is a boolean field.
The expiringInHours is an integer between 1 and 8759.

@FrankYang0529 What could be the description for this setting ?

I think we can write:
The certificate rotation mechanism relies on Rancher. Harvester will automatically update certificates generation to trigger rotation. Please check https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/manage-clusters/rotate-certificates.

UI and backend seem to have different default value:
const (
	defaultReconcilAutoRotateRKE2CertsSettingDuration = time.Hour * 24 // 1 day
)
```,

UI, description: `240 H`

Add release-note label, a suggestion from @w13915984028

As the *.crt will due in 1 year, and if it also affects the normal running e.g. a node rebooting (not confirmed yet) besides the upgrading, then we need to recommend users to configure auto-rotate-rke2-certs anyway on their clusters.

UI and backend seem to have different default value:
const (
	defaultReconcilAutoRotateRKE2CertsSettingDuration = time.Hour * 24 // 1 day
)
```,

UI, description: `240 H`

I'll take a look, in theory the UI receives the default settings from the backend.

UI and backend seem to have different default value:
const (
	defaultReconcilAutoRotateRKE2CertsSettingDuration = time.Hour * 24 // 1 day
)
```,

UI, description: `240 H`

This is just default duration for k8s event, so we will check it every min(1 day, expire time - now).

Verified this enhancement has been applied.
Test Information

Environment: qemu/KVM 3 nodes
Harvester Version: v1.4-1305f11-head
ui-source Option: Auto

Verify Steps

Install Harvester with any nodes
Follow test steps in https://github.com/harvester/harvester/issues/5176#issuecomment-2102292578


Bump requirements.txt

Excludes pygments 2.7, as https://github.com/pygments/pygments/commit/5ec283a3592dfdef7aff34ab00ca8685c4d37470 appears to be the pygments change that broke tests. I'm leaving this up to the maintainers to follow up with pygments.
e.g.:
1/1: github/WICG/WebOTP/index.bs
--- golden
+++ suspect
@@ -6489,15 +6489,15 @@
 <c-
 p>},</c->
 <c-
-mi>2</c->
+mf>2</c->
 <c-
 o>*</c->
 <c-
-mi>60</c->
+mf>60</c->
 <c-
 o>*</c->
 <c-
-mi>1000</c-><c-
+mf>1000</c-><c-
 p>);</c->
 <c-
 k>try</c->

Oh, that doesn't appear to be the only pygments breakage either.

https://github.com/pygments/pygments/commit/fc56ab883a80f6182339d7fbf95e531ff32e4809 also broke stuff.

Okay, I merged manually, but apparently did it in a way that github isn't recognizing.
So I'll go ahead and close (thanks!), and check on the pygments changes.


is-a-good-dev in maintenance

Thanks for your PR 🙏. I think this website is not down. This website is working fine on existing subdomains.
Feel free to leave a comment 😀
https://avalynn.is-a-good.dev/
https://giorno.is-a-good.dev/


change background on main page (listing problems) from light blue to white

Changed color and also centered text


Bug in "disposeScrollHandler" assignment

Hi,
I think there is  bug in your code related to resize, instead of assigning disposeResizeHandler handler to resize you are assigning disposeScrollHandler to resize

this.zone.runOutsideAngular(() => {
        this.disposeScrollHandler =
          this.renderer.listen(parentScroll, 'scroll', this.refreshHandler);
        if (parentScroll instanceof Window) {
          this.disposeScrollHandler =
            this.renderer.listen('window', 'resize', this.refreshHandler);
        }
});

Best Regards,
Dan

Correct. Your pull request has been merged & a new version of the package is available on npm. Thanks for your contribution!


Array product except self | JAVA

Have you read the Contributing Guidelines on Pull Requests?
yes
Description
Added code for Product of Array Except Self in java and also updated readme file.
Checklist

yes I've read the contribution guidelines.
yes I've checked the issue list before deciding what to submit.
yes I've edited the README.md and link to my code.

Related Issues or Pull Requests
closes #7281

@ankitaggarwal23 please let me know if there has to be any corrections before merging. Thank you in advance.

@siddharth25pandey @ankitaggarwal23  please review this. Thank you.

@ankitaggarwal23 please review the changes.


Multiple probes at the same location do not work

Multiple probes at the same location break the parsing / compiling.
Multiple probes in the same line break layouting.

"Multiple probes in the same line break layouting." is fixed in recent commits.


Wayland support?

Hi jahnf,
Thanks for the great tool. It works as expected under gnome (arch) running on Xorg, but does struggle on gnome Wayland (I get the spot occasionally when bringing up the preference menu, probably over Xorg control part of the screen?). Not complaining though, but do you have any pointer to make it work more reliably under wayland? Not too worry if you don't ! Congrats for the linux support of this gadget.

Thanks for the feedback - I'd love for the project to support Wayland. Unfortunately I do not have any experience with Wayland.
I think the default Qt build for most systems and the precompiled version from Qt itself are using X11 by default. But qt has different platform plugins (https://doc.qt.io/qt-5/qpa.html)
So one possibility is to try the qwayland plugin.
(Be aware that this is easier said than done 🙂)

Thanks for the pointers, didn't know about the plugins.
Because I have several other Qt applications running in my gnome environment, I probably won't try that for now, but I'll keep it in mind for the future, cheers !
Anyway, great work.

I also use Wayland with Gnome/Fedora and it works :

if I start 'Projecteur', I have this warning:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway., the spot always works but the preference menu icon isn't displaid.
If I set the QT_QPA_PLATFORM env variable, preference menu works too.

@frigaut: Did the QT_QPA_PLATFORM=wayland as described by @alocquet do the trick?

Hi Jahnf,
Nope, not on archlinux (or my particular system implementation). The option does something (I get a different preference menu), but the screen greying keep jumping around and I get an error/warning message:
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Happy to test that further if it can help, but don't go out of your way for me, not a killer issue.

Ah yeah the different features available for Qt platforms is definitely an issue.  As a side note, found an interesting blog article about Qt/Wayland: https://blog.martin-graesslin.com/blog/2015/07/porting-qt-applications-to-wayland/  (Most interesting section: No longer working API)

Ah, yes. I can see "Qwindow::requestactivate" is no longer supported in wayland. That probably makes it slightly awkward to support it for you.
Interesting blog post anyway. Cheers.
For me, I'll be running it under Xorg tomorrow while giving my lecture.

With Ubuntu 19.04 (in a virtual machine) and logging into an 'Ubuntu on Wayland' session I get the following behavior:
user@ubuntu1904:~/Projecteur/build$ ./projecteur --version
Projecteur 0.5-alpha.4
  - git-branch: develop
  - git-hash: 36916970ad9da316f0694c64d5d4ab40b0837f46

Running without any additional environment variables set, the system tray shows and it seems everything works, but Qt does not seem to run with it's wayland backend.
user@ubuntu1904:~/Projecteur/build$ ./projecteur
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

When running with QT_QPA_PLATFORM=wayland set, the system tray is not showing, but other than that everything seems to work.
user@ubuntu1904:~/Projecteur/build$ QT_QPA_PLATFORM=wayland ./projecteur
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread
Using Wayland-EGL

FYI, currently you can bring Projecteur to show the Preferences dialog with ./projecteur -c settings=show when an instance of the program is already running (this interface is not yet defined and documented and might change in the future)

works for me on wayland except for the zoom feature, instead of zooming in the spotlight is just black. Spotlight seems to put the dark overlay on everything just fine though. The panel icon shows up as well.

@mogorman Thank you for the feedback

instead of zooming in the spotlight is just black

Interesting, if I put up a branch with some changes would you be able to do some tests?
First I'd like to narrow down where that black zoomed area is coming from (probably something with Qt's grabScreen)

for sure just let me now the branch to try

Well as it turns out grabbing the whole screen on Wayland is a bug, see https://bugreports.qt.io/browse/QTBUG-34976 - :disappointed: doesn't look that it is going to be fixed anytime soon.
But good to know so I can put it into the list of known issues/Troubleshooting.

it looks like the way ksnip works around it is have a grabber for each type of environment. https://github.com/DamirPorobic/ksnip/tree/master/src/backend/imageGrabber

@mogorman thanks, For Wayland+KDE and Wayland+GNOME it is possible to get the screen via DBus commands, that can be done without too much code. I'll give it a try and push it to branch for testing this week.

I pushed some changes to feature/wayland-zoom-support. Now when using Wayland at least on KDE and GNOME the zoom feature should work (gets a screen capture via their DBus interfaces).
It is a bit slower (means a little delay before the zoom-spot is shown), but as far as I tried it it works.
:star:  It would be great if everyone that has uses Wayland and (KDE or GNOME) could test it, also multi-screen setups if possible and post the results.
You need to have Qt DBus development headers and libs installed when building (but as far as I noticed only on OpenSuse this is a special package libQt5DBus-devel - all other distros seem to bundle that with some of the other qt5 packages). Thank you in advance.

Rebuilt on my nixos box and can confirm it works great on gnome on my laptop. I can try with laptop and external monitor  tomorrow.  Thank you for the patch and the project in general

one thing i did notice in this implementation is that the magnification does not update, meaning you get the screen state once the spot is created, and never again. so if the screen updates it will be showing wrong data.
I don't think that is a problem for my application as im only using this for slides, but just thought id mention it.

Thank you for testing :+1:

one thing i did notice in this implementation is that the magnification does not update, meaning you get the screen state once the spot is created, and never again.

Yes, that is a general problem that also other magnifier tools face. Although they can get around the problem by showing the magnified content rectangle always in the same position on the screen. But if I am showing the spotlight AND updating my screen capture, the spotlight itself will be in that zoomed image.
Haven't found a way around it yet.

oh of course that is tricky. I think in wayland though you could get the state of the screen without the magnifier bit present and then overlay it. I'd have to look into how that works, but I think you are right that you can't do that with Xorg

Closing this issue. For the most part Projecteur seems to work for Wayland users. Any other issues should be put into a separate new issue.


RFC: Added ServiceLifecycle dependency and started integration

The current start and shutdown services is okay but not great. Thankfully ServiceLifecycle has been released two days ago. Let's see if we can use it for AWS Lambda Runtime.
This is a draft pr, exploring possibilities and starting a discussion.
Open ends/questions

In the first approach we only expose the ServiceLifecycle to the user but don't use it ourselves, even though we could. But for this we will need to think about state handling (current state of mind):

Currently lambda can be shutdown because of two reasons:

The user cancels the process (only possible for DEBUG builds)
The Lambda can not communicate correctly with the Control Plane API

We could handle the first shutdown case with the new ServiceLifecycle fairly easy.

Do we want to deprecate the shutdown methods? So that those can be removed before 1.0?

this is cool. added some ideas to discuss

Hi @tomerd,
I've taken some time to think about the ServiceLifecycle some more. Now, I'm not sure if there is way to bring the two mental models of the lifecycle together:

Lambda Runtime follows a synchronous pattern of Service creation and start
ServiceLifecycle follows an async pattern of service registration, start and stop. Services can only be registered, before the ServiceLifecycle is started. Only those services will be shutdown that have been started.

Let's look at a more complex LambdaHandler. (Sorry that the example has gotten so big, but we need something complex here...). The static func create is our LambdaFactory that is called during startup. In this method we get some credentials from the AWS Parameter Store, that we use later to establish a connection to a database. This is an AWS recommended pattern and we use libraries common in the swift server realm. (AsyncHTTPClient, Soto, MySQLKit)
If we the credentials can't be obtained from the parameter store, we must fail the Lambda in startup and report an error. We do this by using EventLoopFutures. In the case of an error, while getting the credentials, the httpClient and the awsClient must be shutdown, since they already have internal state (an open http connection).
Right now I can't see how we can achieve this using ServiceLifecycle – I don't know when we should call start on the Lifecycle... There are three options:

Call ServiceLifecycle.start before the create function. In this case we can't register any service to the Lifecycle.
Call ServiceLifecycle.start after the successful create function. In this case we can't use the Lifecycle to shutdown services that have already been started (in this case httpClient and awsClient), since only Tasks that have been started will be stopped. If we can't get the parameters in this example neither httpClient nor awsClient could be stopped.
Dirty hack, but only option that i can see right now to make it work: We call ServiceLifecycle.start after create – no matter the outcome of the LambdaFactory. If the factory has failed, we assume that developers have only used registerShutdown for their services and registered only services that are already started. Hence we could assume that all registered services have been started and have therefore an empty start handler in their Task. We could then shut them down immediately after their empty start. But in this case we would use the ServiceLifecycle in a very particular way (which probably wasn't intended at all).

import AsyncHTTPClient
import AWSLambdaEvents
import AWSLambdaRuntimeCore
import Dispatch
import Logging
import MySQLKit
import NIO
import SotoSSM

public class MyLambdaHandler: EventLoopLambdaHandler {
    public typealias In = SNS.Event
    public typealias Out = Void

    let httpClient: HTTPClient
    let database: EventLoopGroupConnectionPool<MySQLConnectionSource>

    public static func create(_ context: Lambda.InitializationContext) -> EventLoopFuture<ByteBufferLambdaHandler> {
        let eventLoop = context.eventLoop
        let httpClient = HTTPClient(eventLoopGroupProvider: .shared(eventLoop))
        // serviceLifecycle.registerShutdown(label: "httpClient") { (completion) in
        //   httpClient.shutdown(completion)
        // }

        let awsClient = AWSClient(httpClientProvider: .shared(httpClient))
        // serviceLifecycle.registerShutdown(label: "awsClient") { (completion) in
        //   awsClient.shutdown(completion)
        // }
        let client = SSM(client: awsClient, region: .useast1)

        return eventLoop.makeSucceededFuture(()).flatMapThrowing { (_) -> String in
            let stageName = try Lambda.env(for: "STAGE")

            return stageName
        }.flatMap { (stageName) -> EventLoopFuture<(SSM.GetParametersResult, String)> in
            let parameters = [
                "/\(stageName)/database/username",
                "/\(stageName)/database/password",
            ]

            return client.getParameters(.init(names: parameters)).map { ($0, stageName) }
        }.flatMapThrowing { parameters, stageName in
            let config = MySQLConfiguration(
                hostname: try Lambda.env(for: "DATABASE_HOST"),
                username: try parameters.value(for: "/\(stageName)/database/username"),
                password: try parameters.value(for: "/\(stageName)/database/password"),
                database: try Lambda.env(for: "DATABASE_NAME"),
                tlsConfiguration: nil
            )

            let pool = EventLoopGroupConnectionPool(
                source: MySQLConnectionSource(configuration: config),
                on: eventLoop
            )
            // serviceLifecycle.registerShutdown(label: "database-pool") { (completion) in
            //   pool.shutdown(completion)
            // }
            return pool
        }.flatMapThrowing { (pool) -> ByteBufferLambdaHandler in
            MyLambdaHandler(database: pool, httpClient: httpClient)
        }
    }

    init(database: EventLoopGroupConnectionPool<MySQLConnectionSource>, httpClient: HTTPClient) {
        self.database = database
        self.httpClient = httpClient
    }

    public func handle(context: Lambda.Context, event: SNS.Event) -> EventLoopFuture<Void> {
        // ... do something using the httpClient and the database
        preconditionFailure()
    }
}

extension SSM.GetParametersResult {
    func value(for name: String) throws -> String {
        guard let value = parameters?.first(where: { $0.name == name })?.value else {
            throw ReviewImporterLambdaHandler.Error.missingParameterStoreValue(name: name, invalidParameters: invalidParameters)
        }

        return value
    }
}

extension Lambda {
    static func env(for name: String) throws -> String {
        guard let env = Lambda.env(name) else {
            throw ReviewImporterLambdaHandler.Error.missingEnvironmentVariable(name)
        }
        return env
    }
}

Excited about your thoughts. CC: @ktoso @yim-lee

hi @fabianfett if you want to keep this around, could you please update this PR to be against the main branch so we can delete the old master branch


Fixes for azure vendor test

Please see the commits for the fixes.
CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/test/1608/

CI passed.


JWT,Basic Auth flow has been broken for graphql APIs

Steps:

Create Graphql API and add scopes
Assign them  to two operations
Invoke API via Swagger

Fixed in  https://github.com/wso2/carbon-apimgt/pull/7435


Can't find the start_up folder after installing deepr-ai on Windows

Hi there,
I recently installed deepr-ai on my Windows machine via pip, but I can't seem to find the start_up folder. I also tried building and installing deepr-ai from the source code, but the issue persists. Could you please provide some guidance on how to get started with deepr-ai and locate the start_up folder?

i also tried installing via pip:

I would appreciate any help or guidance you can provide. Thanks!

Hey @RepoRascal, sorry for the confusion.
At the moment, there is no start_up folder. Deepr_ai is still under development, and this folder has not yet been added.
However, there is some documentation in the works, available here: https://docs.deepr.dev/books/deeprai-docs
Although this doesn't appear to be a Windows-related problem, please bear in mind that support for Windows is still experimental, as @ArrowsGD and myself have limited access to Windows machines.
I will make a pull request to clarify the documentation, for the time being.


[request]mod compatibility with informatron

https://mods.factorio.com/mod/informatron
could you add some content for it ?

I will not do it. I have already added lots of great info using vanilla tips and tricks. No need to duplicate the info.

Another thing, I don't know how to use the informatron API. It would take me too much time to learn this.


Generation strategy : what is documented vs what is actually exported

While working on PR#98 for 'export default' support, I wondered what would be the best strategy:

generate declarations for everything documented with jsdoc in the input source code?
or generate declarations from what is actually exported by the module?

My feeling is that it would be better to have tsd-jsdoc be based on what is exported:

it would fix undesired effects as noticed in issue#99,
it would avoid exposing symbols in the types.d.ts generated file that the js module does not actually export.
it could avoid requiring an explicite jsdoc comment on module.exports for the following common export pattern:

exports = module.exports = myExport

issue#96 / PR#98 would be a prerequisite for this kind of evolution.

I'd also prefer that, in previous versions of jsdoc it hasn't been very good at getting "what is exported" correct.
We'd also need to extrapolate from what is exported, other things that should be exported.
For example, consider a function that takes an interface as an arg. The function will be marked as exported, but the interface likely won't be. In the TS definitions, both should be exported.
I'd love to rework the logic to work this way instead, and if you are up for it I'm happy to accept a PR.

Sure, I'll try to implement such a backward walk from exports.
Actually, assuming this strategy could help with the handling of exports = module.exports = myExport patterns for issue#96, so I may give it a try in PR#98.


updated querystring functionName= binding

The Azure Functions CLI 1.0.9 handles the FunctionName attribute correctly. So this removed statement was no longer valid.

@MelvinVermeer : Thanks for your contribution to the Azure documentation! The author, @tdykstra, has been notified to review your proposed change.

@MelvinVermeer Thank you for the correction.

#sign-off

+reference https://github.com/Azure/azure-functions-eventgrid-extension/pull/19


Getting full info about option orders

Using the on_order_message callback, I could get the symbol/tickerID of the options order I placed, but unfortunately it doesn't give more details about the expiration date or strike price of the order, rightly so, as Webull doesn't send that information.
Is there a way I could use the orderId or anything from the response to get additional info about the order? The closest thing I could find is to use get_activities() function and look at the description field of the first item to get the info of the most recent options order I placed. For example:
orders = webull.get_activities()
print(orders['items'][0]['description'])

Is there a better way to get this information reliably (associate the info with the order id, for instance)?

Just figured out that get_activities() doesn't work if I call it immediately after a order is filled. It takes a while to update (didn't measure but even after 10 seconds of an order fill, it still had old data)

@tedchou12 is there any other way to reliably get this information or is this feature/api that needs to be added?

I could get the symbol/tickerID of the options order I placed
Do you mean the tickerID of the options or the underlying security? If it's the ticker of the option contract you have everything you need because those IDs are formulaic; they contain the underlying symbol, the expiration date, Put/Call direction, and strike price.

Otherwise, paste in this thread the response data you're working with


Configure Azure Pipelines

This configuration builds the application and produces builds for both Debug and Release configurations.

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


fix c++20

This pull request cannot be accepted because it will break the current C++17 build. We will adopt char8_t type when we formally adopt the C++20 standard in our builds. Thanks for your understanding.


Tabs in TOML file?

Hugo Version:  REPLACE_WITH_YOUR_HUGO_VERSION
Build Command: REPLACE_WITH_YOUR_HUGO_BUILD_CMD
I had the issue of
Error: module "xcode" not found; either add it as a Hugo Module... for several hours now. Only to realize that both TOML file examples in the repo need tabs to get it working properly.
Shall I make a PR to put these changes, especially on the README.md?

It might probably be because R Studio automatically converts all meta data to YAML.
Closing issue.


Create new notes in specific folder

This may already be possible, but I've not seen how to achieve it.
I'd like to have a button that creates a note within a specified folder. Is this possible? If not, could it be added?
Many thanks!

The below example creates a new note called Bob in the Inbox from the new_note template.
name New Inbox Note
type note(Inbox/Bob) template
action new_note

^button-inbox-note


Document how to use SSH host server for "pretty" SSH URL

This PR adds documentation on how to use the host SSH server to achieve a "pretty" clone URL. (Feel free to move it to a different place, just tried to find a place where it could make sense).
This requires running Gitea as user git. To achieve this and allow for a working directory permission migration for running instances, the ownership changes should be applied recursively in the changed task.

thanks :kissing_heart:


Add Failover Manager

What changed?
Implement managed failover as a cadence workflow, so that the experience would be:

Start failover.

Cadence adm cluster failover start --active_cluster <dc>
Addition --domains flag to failover only domains in input.

Show failover progress.

Cadence adm cluster failover query --w <wid>

Pause and resume failover.

Cadence adm cluster failover pause --w <wid>
Cadence adm cluster failover resume --w <wid>

Abort failover

Cadence adm cluster failover abort --w <wid>

Rollback a failover with retention.

Cadence adm cluster failover rollback --w <wid>

Show failover history

List workflow

Why?
Cadence failover is designed and expected to be executed by Cadence users, but users find it is hard to failover:

They don’t know how. Failover requires knowledge on Lisa and CLI with multiple manual steps.
They don’t know when. During active data center outages, they need to reach out to the Cadence team to figure out when is recommended to failover to where.

As a result, it would take a long time for Cadence users to mitigate issues by failover domains.
We need to take over failover for eligible users, so that we can mitigate outage quicker, and reduce operation overhead for users.

How did you test it?

Potential risks
** TODO

integrate with CLI
use global domain
add log and metrics
tests

Coverage decreased (-1.1%) to 67.543% when pulling c9d7e983ca5b04c34f88dfd916ebbf6b898c1944 on managedfo into befd8954e06a1ee178d6d3eb168628282053d95d on master.


"Fast" simulation parameters cause instability

The new "fast" simulation parameters (specifically, max_step_size = 0.003) cause instability while picking up the power drill. This is with the "Berghofstraße / Moelk" demo.
with "slow" physics parameters (max_step_size = 0.001)
https://github.com/DFKI-NI/pbr_tools/assets/320188/8084ad2e-c0ef-484e-9c34-b0aae52fdeb3
with "fast" physics parameters (max_step_size = 0.003)
https://github.com/DFKI-NI/pbr_tools/assets/320188/4f8c3c63-54ab-46b6-808b-e9febc16176c
This effect is reproducible and happens every time.

@oscar-lima, @jarkenau : Any ideas (except changing the max_step_size back to 0.001)?

I already tried playing around with the iters, sor, cfm and contact_surface_layer parameters, but nothing seems to work except reducing the max_step_size again.

@oscar-lima, @jarkenau : Any ideas (except changing the max_step_size back to 0.001)?

I fixed the issue! see: https://github.com/DFKI-NI/mobipick/pull/15


What is the http-foreground file?

in the docker image it is obviously very important, as it's the last command that the iamge runs. i have no idea what should be in this file.
sorry, i am new to apache, i've only used nginx in the past, and i'm in a new project with very weak apache documentation and i'm trying to dockerize it.
i have a docker-compose.yml file with this config
version: "2"
services:
  apache:
    image: httpd:2.4
    volumes:
      - ./apache/staging/apache2:/usr/local/apache2/
    ports:
      - 80:80

when i run it i'm getting this error
apache_1 | /usr/local/bin/httpd-foreground: line 7: exec: httpd: not found
apache_1 exited with code 127

for some reason the first time i went to the github page, it didn't render the folders for this repo, which is why i didn't see the 2.4/http-foreground file.
anyway, i'm still having problems with httpd not being found when i mount my dir.
docker run -p 80:80 -v $PWD/apache/staging/apache2:/usr/local/apache2/ httpd echo $PATH
docker run -p 80:80  httpd echo $PATH
these two commands return the same results

oh man, when i do whereis httpd i see that it's in /usr/local/apache2/bin/httpd
i think this should be in the documentation for people like me, who want to overwrite the apache2 dir with their own volume.

Yeah, as you discovered /usr/local/apache2/ is the installation directory for httpd.  The default config in /usr/local/apache2/conf/ puts DocumentRoot "/usr/local/apache2/htdocs", so that is where you would want to put your html.  (which is what we recommend on the "how to use this image" section on the Docker Hub: $ docker run -it --rm --name my-apache-app -v "$PWD":/usr/local/apache2/htdocs/ httpd:2.4).

Coming to this thread almost after 4 years.
I am using the same httpd as a base image and trying to build a distroless image using google's gcr .
I found out that the httpd & apache2 are installed in /usr/local/apache2 by
$ find / -name 'httpd'
/usr/local/apache2/bin/httpd

$ find / -name 'apache2'
/usr/local/apache2

I am copying the entire /usr/local/apache2 to my new distroless image but the httpd server is unable to start throwing the same error:
/usr/local/bin/httpd-foreground: 7: exec: httpd: not found

Am I missing out something?

Those sorts of questions/requests would be more appropriately posted to the Docker Community Forums, the Docker Community Slack, or Stack Overflow.


knative: support for path based routing

the new knative support of the ingress controller ist awesome, but there is no way to create a path based routing to it behind a frontend api. the knative service is only accessible directly through the knative url. But I want to decouple it by a frontend api, managed by an ingress resource.
I have created a knative service and an ingress resource for it:
apiVersion: serving.knative.dev/v1 # Current version of Knative
kind: Service
metadata:
  name: go # The name of the app
  namespace: default # The namespace the app will use
spec:
  template:
    spec:
      containers:
        - image: gcr.io/knative-samples/helloworld-go # The URL to the image of the app
          env:
            - name: TARGET # The environment variable printed out by the sample app
              value: "Go Sample v1"

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: knative-ingress
spec:
  rules:
  - host: api.test.de
    http:
      paths:
      - backend:
          serviceName: helloworld-go
          servicePort: 80
        path: /go

kubectl get svc
NAME                  TYPE           CLUSTER-IP      EXTERNAL-IP                      PORT(S)                             AGE
go                    ExternalName   <none>          go.test.de          <none>                              92m

kubectl get ing
NAME              HOSTS                     ADDRESS        PORTS   AGE
knative-ingress   *   <IP_ADDRESS>   80      141m

Kong Ingress controller version
0.8.0
Kong or Kong Enterprise version
2.0.0
Kubernetes version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.4", GitCommit:"8d8aa39598534325ad77120c120a22b3a990b5ea", GitTreeState:"clean", BuildDate:"2020-03-12T23:40:44Z", GoVersion:"go1.14", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:07:13Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}
What happened
the problem is that Kong does not set host header correctly to the knative request:
http api.test.de/go
HTTP/1.1 503 Service Temporarily Unavailable
Connection: keep-alive
Content-Length: 58
Content-Type: application/json; charset=utf-8
Date: Sat, 28 Mar 2020 11:16:20 GMT
Server: kong/2.0.2
X-Kong-Response-Latency: 1

{
    "message": "failure to get a peer from the ring-balancer"
}

If I talk directly to the knative service  it works fine:
http go.test.de
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 20
Content-Type: text/plain; charset=utf-8
Date: Sat, 28 Mar 2020 11:17:36 GMT
Via: kong/2.0.2
X-Kong-Proxy-Latency: 1
X-Kong-Upstream-Latency: 1902

Hello Go Sample v1!

Expected behavior
kong sets the correct ( host: go.test.de ) host header to the knative request

To expose services running in Knative, you should use Knative Ingress to expose those services. I'm not sure if Knative will always honor Ingress resources that are manually created.

The 503 Kong is throwing is because the port is probably wrong for the service.
Can you describe the helloworld-go service?
There will be other issues once you get this to work because the activator in knataive requires kong to inject the right header to identify the service. I might be wrong here too.

Closing this due to lack of response. Please re-open if needed.


Feature/org info page

Filing a pull request

[!IMPORTANT]
Do not create a pull request without creating an issue first. Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.

Types of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds or enhances functionality)
[ ] Documentation (non-breaking change which adds or changes documentation)
[x] Refactor (non-breaking change that refactors a section of work)
[ ] Breaking change (either of the above that would cause existing functionality to not work as expected)

Description

I forgot but capitalize the first letter of your commits Kirk to be consistent with mine. Will make a future convention on it.


ioredis does not respect db selection

If I do like below, data ended up in db 0 anyway.
const redis = new Redis({
    url: 'redis://localhost:6379/2',
    keyPrefix: 'test:'
})

If i specify db in option, it works.
const redis = new Redis({
    url: 'redis://localhost:6379',
    keyPrefix: 'test:',
    db: 2
})

my bad


Add extra filters to AntiJoin to guarentee correct behavior around NULLs.

This is a correctness fix: generating AntiJoins is not currently equivalent to MySql if either column being used in the not in expression contains NULL.
This will break a lot of regression tests. If this doesn't break Turbine's tests, we should submit this while we work on a fix.

Not applying AntiJoin here fixes the regression tests that I added... but it breaks the IntegrationQueryPlans, which are important for asserting a specific performance improvement that we promised Turbine.
I'm looking into a fix that will hopefully make this whole thing moot.

Alright, this should fix the issue, with a couple of consequences that need to be addressed.
The IntegrationQueryPlan tests are generating slightly different plans from before, and I lack the experience to gauge whether they're correct. I'd love for @JCOR11599 or @max-hoffman to give me their input here.
The added filters are also potentially inefficient, but in a way that a later optimization can probably account for (I'm just not sure if it currently does.) One of the filters only matches on the left table, which means that if we naively iterate over the existsIter, then for each row on the left table, we will check that filter for each row on the right table, even though we should only have to check it once.

Okay, I have something working now.
My thoughts:

This is not the highest priority and we should avoid spending more time on this.
That said the MySql correctness issue here, although rare, is troubling because it silently does the wrong this in a way that is hopefully obvious to diagnose if it happens to a customer, but we shouldn't bank on that.
Injecting an additional filter at the ANTI_JOIN->LEFT_JOIN stage isn't possible. (Imagine adding a row to the right table where the column being joined on is NULL. That row can never match, which means it can never affect the joined table, and adding an extra filter can't change that.)
The only real solution is to add a flag to that the iterator uses to bail on a left table row if the result of a comparison is NULL.
I opted to encode this flag in the JoinType because it's harder to accidentally drop this information as we continue to modify the tree. (It also means we don't have to pass a new parameter around everywhere.) There is now a new type JoinTypeLeftOuterExcludeNulls. Feel free to critique the name.
I also added the JoinTypeLeftOuterHashExcludeNulls physical plan. I didn't add equivalents for Merge and Lookup yet (apparently none of our tests for this behavior generate Merge or Lookup plans.) I can of course add them before submitting.
It's really starting to look like an enum isn't the best structure for JoinType. We're starting to see a combinatorial explosion of properties.

What are we waiting for here?


Docker compose shows that init files are ran, but table aren't present in the database

Hi
I'm using your oracle image in a docker compose setup, but i'm running into an issue that i wasn't able to find solution to after searching the whole internet.
Upon using docker compose to run your image, the logs show that my init script that was placed in /container-entrypoint-initdb.d is ran, but i can't seem to find my tables in the database that is exposed after the container is up and running, as if that script never existed.
I tried running a test-script that would SELECT from said table right after init, and of course it would work. But after the database is done initializing, it seems my tables are deleted from the db.
Here's my docker-compose file
services:
  oracle:
    image: docker.artifactory-dogen.group.echonet/gvenzl/oracle-xe
    ports:
      - "1521:1521"
    environment:
      ORACLE_PASSWORD : test
    volumes:
      - ./init.sql:/container-entrypoint-initdb.d/init.sql

I'm using sqlplus to connect to the localhost/xe database in the container, using system/test as login.
I'm pretty sure i don't fully understand the tool, since i'm pretty new to it, and my mistake might be pretty dumb.
Thank you in advance

are you looking at the right database? please show us your connect string

I have tried both
 sqlplus system/test@//localhost/XEPDB1
And
 sqlplus system/test@//localhost/XE
I have also tried creating another db using the ORACLE_DATABASE variable and an APP_USER, but those didn't work either

Not sure if we had a similar issue, but I noticed this in the readme that helped solve things for me:

"The *.sql, *.sql.gz and .sql.zip files will be executed in SQLPlus as the SYS user connected to the Oracle instance (XE). "

I was able to solve my issue by adding the following at the start of my install sql script:
ALTER SESSION SET CONTAINER=XEPDB1;

and the following at the end
commit;

Hey @MathieuSauce,
Can you share your init.sql and the log output of the container, please?

I'm facing the same issue while using TestContainer in a SpringBoot Application
static OracleContainer oracle = new OracleContainer("gvenzl/oracle-xe:21-slim-faststart")
			.withUsername("FO_IAM").withPassword("FO_IAM")
			.withCopyFileToContainer(MountableFile.forHostPath("init_script.sql"), "/container-entrypoint-initdb.d/init.sql");

The init_script.sql is placed under resources folder and it looks like this:
ALTER SESSION set container=xepdb1;

-- NOMENCLATURES
CREATE USER nomenclatures
    IDENTIFIED BY nomenclatures
    DEFAULT TABLESPACE USERS
    TEMPORARY TABLESPACE TEMP
    PROFILE DEFAULT
    ACCOUNT UNLOCK;
GRANT CONNECT TO nomenclatures;
GRANT RESOURCE TO nomenclatures;
ALTER USER nomenclatures DEFAULT ROLE ALL;
GRANT CREATE ANY DIRECTORY TO nomenclatures;
GRANT CREATE JOB TO nomenclatures;
GRANT CREATE MATERIALIZED VIEW TO nomenclatures;
GRANT CREATE PROCEDURE TO nomenclatures;
GRANT CREATE SEQUENCE TO nomenclatures;
GRANT CREATE SYNONYM TO nomenclatures;
GRANT CREATE TABLE TO nomenclatures;
GRANT CREATE TRIGGER TO nomenclatures;
GRANT CREATE TYPE TO nomenclatures;
GRANT CREATE VIEW TO nomenclatures;
GRANT DEBUG CONNECT SESSION TO nomenclatures;
GRANT QUERY REWRITE TO nomenclatures;
GRANT UNLIMITED TABLESPACE TO nomenclatures;
ALTER USER nomenclatures QUOTA 100M on USERS;

-- FO_IAM
CREATE USER fo_iam
    IDENTIFIED BY fo_iam
    DEFAULT TABLESPACE USERS
    TEMPORARY TABLESPACE TEMP
    PROFILE DEFAULT
    ACCOUNT UNLOCK;
GRANT CONNECT TO fo_iam;
GRANT RESOURCE TO fo_iam;
ALTER USER fo_iam DEFAULT ROLE ALL;
GRANT CREATE ANY DIRECTORY TO fo_iam;
GRANT CREATE JOB TO fo_iam;
GRANT CREATE MATERIALIZED VIEW TO fo_iam;
GRANT CREATE PROCEDURE TO fo_iam;
GRANT CREATE SEQUENCE TO fo_iam;
GRANT CREATE SYNONYM TO fo_iam;
GRANT CREATE TABLE TO fo_iam;
GRANT CREATE TRIGGER TO fo_iam;
GRANT CREATE TYPE TO fo_iam;
GRANT CREATE VIEW TO fo_iam;
GRANT DEBUG CONNECT SESSION TO fo_iam;
GRANT QUERY REWRITE TO fo_iam;
GRANT UNLIMITED TABLESPACE TO fo_iam;
ALTER USER fo_iam quota 100M on USERS;

-- Connect as the new user
ALTER SESSION SET CURRENT_SCHEMA=nomenclatures;

-- Create the country table
CREATE TABLE NOMENCLATURES.COUNTRIES
(
    pk_country   NUMBER PRIMARY KEY,
    english_short_name varchar2(128 char),
    alpha3_code VARCHAR2(50 char)
);

GRANT SELECT ON NOMENCLATURES.COUNTRIES TO FO_IAM;

COMMIT;

The FO_IAM schema is created but I think that this is happening thanks to .withUsername() method.
The logs looks good to me. Any hint why nomenclatures schema is not created?
2023-02-06 21:47:21 Database opened.
2023-02-06 21:47:21
2023-02-06 21:47:21 CONTAINER: Resetting SYS and SYSTEM passwords.
2023-02-06 21:47:21
2023-02-06 21:47:21 User altered.
2023-02-06 21:47:21
2023-02-06 21:47:21
2023-02-06 21:47:21 User altered.
2023-02-06 21:47:21
2023-02-06 21:47:21
2023-02-06 21:47:21 Session altered.
2023-02-06 21:47:21
2023-02-06 21:47:21
2023-02-06 21:47:21 User created.
2023-02-06 21:47:21
2023-02-06 21:47:21
2023-02-06 21:47:21 Grant succeeded.
2023-02-06 21:47:21
2023-02-06 21:47:21
2023-02-06 21:47:21 CONTAINER: Executing user defined scripts...
2023-02-06 21:47:21
2023-02-06 21:47:21 CONTAINER: running /container-entrypoint-initdb.d/init.sql ...
2023-02-06 21:47:21 CONTAINER: DONE: running /container-entrypoint-initdb.d/init.sql
2023-02-06 21:47:21
2023-02-06 21:47:21 CONTAINER: DONE: Executing user defined scripts.
2023-02-06 21:47:21
2023-02-06 21:47:21
2023-02-06 21:47:21 #########################
2023-02-06 21:47:21 DATABASE IS READY TO USE!
2023-02-06 21:47:21 #########################

I'm facing the same issue while using TestContainer in a SpringBoot Application
static OracleContainer oracle = new OracleContainer("gvenzl/oracle-xe:21-slim-faststart")
			.withUsername("FO_IAM").withPassword("FO_IAM")
			.withCopyFileToContainer(MountableFile.forHostPath("init_script.sql"), "/container-entrypoint-initdb.d/init.sql");

The init_script.sql is placed under resources folder and it looks like this:
ALTER SESSION set container=xepdb1;

-- NOMENCLATURES
CREATE USER nomenclatures
    IDENTIFIED BY nomenclatures
    DEFAULT TABLESPACE USERS
    TEMPORARY TABLESPACE TEMP
    PROFILE DEFAULT
    ACCOUNT UNLOCK;
GRANT CONNECT TO nomenclatures;
GRANT RESOURCE TO nomenclatures;
ALTER USER nomenclatures DEFAULT ROLE ALL;
GRANT CREATE ANY DIRECTORY TO nomenclatures;
GRANT CREATE JOB TO nomenclatures;
GRANT CREATE MATERIALIZED VIEW TO nomenclatures;
GRANT CREATE PROCEDURE TO nomenclatures;
GRANT CREATE SEQUENCE TO nomenclatures;
GRANT CREATE SYNONYM TO nomenclatures;
GRANT CREATE TABLE TO nomenclatures;
GRANT CREATE TRIGGER TO nomenclatures;
GRANT CREATE TYPE TO nomenclatures;
GRANT CREATE VIEW TO nomenclatures;
GRANT DEBUG CONNECT SESSION TO nomenclatures;
GRANT QUERY REWRITE TO nomenclatures;
GRANT UNLIMITED TABLESPACE TO nomenclatures;
ALTER USER nomenclatures QUOTA 100M on USERS;

-- FO_IAM
CREATE USER fo_iam
    IDENTIFIED BY fo_iam
    DEFAULT TABLESPACE USERS
    TEMPORARY TABLESPACE TEMP
    PROFILE DEFAULT
    ACCOUNT UNLOCK;
GRANT CONNECT TO fo_iam;
GRANT RESOURCE TO fo_iam;
ALTER USER fo_iam DEFAULT ROLE ALL;
GRANT CREATE ANY DIRECTORY TO fo_iam;
GRANT CREATE JOB TO fo_iam;
GRANT CREATE MATERIALIZED VIEW TO fo_iam;
GRANT CREATE PROCEDURE TO fo_iam;
GRANT CREATE SEQUENCE TO fo_iam;
GRANT CREATE SYNONYM TO fo_iam;
GRANT CREATE TABLE TO fo_iam;
GRANT CREATE TRIGGER TO fo_iam;
GRANT CREATE TYPE TO fo_iam;
GRANT CREATE VIEW TO fo_iam;
GRANT DEBUG CONNECT SESSION TO fo_iam;
GRANT QUERY REWRITE TO fo_iam;
GRANT UNLIMITED TABLESPACE TO fo_iam;
ALTER USER fo_iam quota 100M on USERS;

-- Connect as the new user
ALTER SESSION SET CURRENT_SCHEMA=nomenclatures;

-- Create the country table
CREATE TABLE NOMENCLATURES.COUNTRIES
(
    pk_country   NUMBER PRIMARY KEY,
    english_short_name varchar2(128 char),
    alpha3_code VARCHAR2(50 char)
);

GRANT SELECT ON NOMENCLATURES.COUNTRIES TO FO_IAM;

COMMIT;

The FO_IAM schema is created but I think that this is happening thanks to .withUsername() method.
The logs looks good to me. Any hint why nomenclatures schema is not created?
2023-02-06 21:47:21 Database opened.
2023-02-06 21:47:21
2023-02-06 21:47:21 CONTAINER: Resetting SYS and SYSTEM passwords.
2023-02-06 21:47:21
2023-02-06 21:47:21 User altered.
2023-02-06 21:47:21
2023-02-06 21:47:21
2023-02-06 21:47:21 User altered.
2023-02-06 21:47:21
2023-02-06 21:47:21
2023-02-06 21:47:21 Session altered.
2023-02-06 21:47:21
2023-02-06 21:47:21
2023-02-06 21:47:21 User created.
2023-02-06 21:47:21
2023-02-06 21:47:21
2023-02-06 21:47:21 Grant succeeded.
2023-02-06 21:47:21
2023-02-06 21:47:21
2023-02-06 21:47:21 CONTAINER: Executing user defined scripts...
2023-02-06 21:47:21
2023-02-06 21:47:21 CONTAINER: running /container-entrypoint-initdb.d/init.sql ...
2023-02-06 21:47:21 CONTAINER: DONE: running /container-entrypoint-initdb.d/init.sql
2023-02-06 21:47:21
2023-02-06 21:47:21 CONTAINER: DONE: Executing user defined scripts.
2023-02-06 21:47:21
2023-02-06 21:47:21
2023-02-06 21:47:21 #########################
2023-02-06 21:47:21 DATABASE IS READY TO USE!
2023-02-06 21:47:21 #########################

@adamalexandru4 If its helpful for your debugging, I copied your "init_script.sql" code and had no issues running it via docker compose. The users, table and everything were created.

Hey @adamalexandru4,
Your file appears to have not contained anything, you should see the output of every command that's in your script.
This is what I get when running your init script, note all the output from the script after CONTAINER: running /container-entrypoint-initdb.d/init_script.sql ...:
$ cat init_script.sql
ALTER SESSION set container=xepdb1;

-- NOMENCLATURES
CREATE USER nomenclatures
    IDENTIFIED BY nomenclatures
    DEFAULT TABLESPACE USERS
    TEMPORARY TABLESPACE TEMP
    PROFILE DEFAULT
    ACCOUNT UNLOCK;
GRANT CONNECT TO nomenclatures;
GRANT RESOURCE TO nomenclatures;
ALTER USER nomenclatures DEFAULT ROLE ALL;
GRANT CREATE ANY DIRECTORY TO nomenclatures;
GRANT CREATE JOB TO nomenclatures;
GRANT CREATE MATERIALIZED VIEW TO nomenclatures;
GRANT CREATE PROCEDURE TO nomenclatures;
GRANT CREATE SEQUENCE TO nomenclatures;
GRANT CREATE SYNONYM TO nomenclatures;
GRANT CREATE TABLE TO nomenclatures;
GRANT CREATE TRIGGER TO nomenclatures;
GRANT CREATE TYPE TO nomenclatures;
GRANT CREATE VIEW TO nomenclatures;
GRANT DEBUG CONNECT SESSION TO nomenclatures;
GRANT QUERY REWRITE TO nomenclatures;
GRANT UNLIMITED TABLESPACE TO nomenclatures;
ALTER USER nomenclatures QUOTA 100M on USERS;

-- FO_IAM
CREATE USER fo_iam
    IDENTIFIED BY fo_iam
    DEFAULT TABLESPACE USERS
    TEMPORARY TABLESPACE TEMP
    PROFILE DEFAULT
    ACCOUNT UNLOCK;
GRANT CONNECT TO fo_iam;
GRANT RESOURCE TO fo_iam;
ALTER USER fo_iam DEFAULT ROLE ALL;
GRANT CREATE ANY DIRECTORY TO fo_iam;
GRANT CREATE JOB TO fo_iam;
GRANT CREATE MATERIALIZED VIEW TO fo_iam;
GRANT CREATE PROCEDURE TO fo_iam;
GRANT CREATE SEQUENCE TO fo_iam;
GRANT CREATE SYNONYM TO fo_iam;
GRANT CREATE TABLE TO fo_iam;
GRANT CREATE TRIGGER TO fo_iam;
GRANT CREATE TYPE TO fo_iam;
GRANT CREATE VIEW TO fo_iam;
GRANT DEBUG CONNECT SESSION TO fo_iam;
GRANT QUERY REWRITE TO fo_iam;
GRANT UNLIMITED TABLESPACE TO fo_iam;
ALTER USER fo_iam quota 100M on USERS;

-- Connect as the new user
ALTER SESSION SET CURRENT_SCHEMA=nomenclatures;

-- Create the country table
CREATE TABLE NOMENCLATURES.COUNTRIES
(
    pk_country   NUMBER PRIMARY KEY,
    english_short_name varchar2(128 char),
    alpha3_code VARCHAR2(50 char)
);

GRANT SELECT ON NOMENCLATURES.COUNTRIES TO FO_IAM;

COMMIT;

$ podman run --name test -e ORACLE_RANDOM_PASSWORD=y -v /home/gvenzl/test:/container-entrypoint-initdb.d/ gvenzl/oracle-xe:21-slim-faststart
CONTAINER: starting up...
CONTAINER: first database startup, initializing...
CONTAINER: starting up Oracle Database...

LSNRCTL for Linux: Version <IP_ADDRESS>.0 - Production on 07-FEB-2023 02:25:21

Copyright (c) 1991, 2021, Oracle.  All rights reserved.

Starting /opt/oracle/product/21c/dbhomeXE/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
System parameter file is /opt/oracle/homes/OraDBHome21cXE/network/admin/listener.ora
Log messages written to /opt/oracle/diag/tnslsnr/4d81bd054ab0/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
Start Date                07-FEB-2023 02:25:21
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Default Service           XE
Listener Parameter File   /opt/oracle/homes/OraDBHome21cXE/network/admin/listener.ora
Listener Log File         /opt/oracle/diag/tnslsnr/4d81bd054ab0/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
The listener supports no services
The command completed successfully
ORACLE instance started.

Total System Global Area<PHONE_NUMBER> bytes
Fixed Size		    9685328 bytes
Variable Size		  637534208 bytes
Database Buffers	  587202560 bytes
Redo Buffers		    7090176 bytes
Database mounted.
Database opened.

CONTAINER: Resetting SYS and SYSTEM passwords.

User altered.

User altered.

############################################
ORACLE PASSWORD FOR SYS AND SYSTEM: ODRlZjQ0
############################################

CONTAINER: Executing user defined scripts...

CONTAINER: running /container-entrypoint-initdb.d/init_script.sql ...

Session altered.

User created.

Grant succeeded.

Grant succeeded.

User altered.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

User altered.

User created.

Grant succeeded.

Grant succeeded.

User altered.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

Grant succeeded.

User altered.

Session altered.

Table created.

Grant succeeded.

Commit complete.

CONTAINER: DONE: running /container-entrypoint-initdb.d/init_script.sql

CONTAINER: DONE: Executing user defined scripts.

#########################
DATABASE IS READY TO USE!
#########################

Closing due to lack of response. Please reopen if you are still facing this issue.


Support for IPv6

Would be great to have support for IPv6 as well as IPv4 :)

Maybe. This is always been something I've stayed away from because it seems like a pain.

This is now tentatively on unstable, with all ipv4 tests passing.


Update README.md

Thanks for the wording @Jelena647 , i added your change into my PR that got just got approved.  This can be closed
https://github.com/strangelove-ventures/noble-networks/tree/main/mainnet/noble-1#overview


path processiong wrong

Processiong File:Envelope_string_art.svg with

$ scour Envelope_string_art.svg output.svg

connects a corner to the origin, instead of closing the rectangle:
input.svg.txt
<?xml version="1.0" encoding="UTF-8"?>
<svg width="600" height="480" xmlns="http://www.w3.org/2000/svg">
 <path d="m108.5 408h441.3m-441.3 0v-371.9m0 0v371.9h441.3v-371.9z" fill="none" stroke="#000"/>
</svg>

The output is:
output.svg.txt
<?xml version="1.0" encoding="UTF-8"?>
<svg width="600" height="480" xmlns="http://www.w3.org/2000/svg">
 <path d="m108.5 408h441.3m-441.3 0v-371.9 371.9h441.3v-371.9z" fill="none" stroke="#000"/>
</svg>

so
d="m108.5 408h441.3m-441.3 0v-371.9m0 0v371.9h441.3v-371.9z" is changed to:
d="m108.5 408h441.3m-441.3 0v-371.9 371.9h441.3v-371.9z"

I have traced this issue to the following part of cleanPath:
                if cmd == 'm':
                    # remove m0,0 segments
                    if pathIndex > 0 and data[0] == data[i + 1] == 0:
                        # 'm0,0 x,y' can be replaces with 'lx,y',
                        # except the first m which is a required absolute moveto
                        path[pathIndex] = ('l', data[2:])
                        _num_path_segments_removed += 1
                    else:  # else skip move coordinate
                        i = 2

The bug disappears if we special case on "len(data) == 2" and insist on keeping the "m0,0" command in that case.  However, that breaks trips the following test case:
class PathEmptyMove(unittest.TestCase):

    def runTest(self):
        doc = scourXmlFile('unittests/path-empty-move.svg')
        self.assertEqual(doc.getElementsByTagName('path')[0].getAttribute('d'), 'm100 100 200 100z')
        self.assertEqual(doc.getElementsByTagName('path')[1].getAttribute('d'), 'm100 100v200l100 100z')

Test data:
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg">
  <path d="m100 100 l200 100 m0 0z" />
  <path d="m100 100 v200 m0 0 100 100z" />
</svg>

The first path ends with "m0 0z" and the test case expects this to be reduced into "z" (the second path should be unaffected by this change).  From what I gathered from the SVG 1.1 standard, the "m0 0" will create a new subpath and "z" will close the current subpath (i.e. draw a lone from the current position to the beginning of the subpath).  I.e. a "m0 0z" is basically a no op (or a dot; not quite sure which).
As I understand it, this makes "Xm0 0z" and "Xz" are two different things.  The former creates "X" and then an "empty" subpath while the latter creates X and then closes it by drawing a straight line from the current position to the initial point of X.  In other words, if I understood the spec correctly the current test is wrong (it should either leave "m0 0z" alone or also remove the "z"; not entirely sure which of the two are correct though).
If we agree on that point, I will look into providing a patch for this bug.  Alternatively, I will need help figuring out when "m0 0" can be removed and when it cannot.

Ok, I devised a test case that shows that we cannot arbitrarily remove "m0 0".
The original:
<?xml version="1.0" encoding="UTF-8"?>
<svg width="600" height="480" xmlns="http://www.w3.org/2000/svg">
  <path d="m150 240h200m0 0 150 150v-300z" fill="none" stroke="#000"/>
</svg>

The scour'ed version:
<?xml version="1.0" encoding="UTF-8"?>
<svg width="600" height="480" xmlns="http://www.w3.org/2000/svg">
 <path d="m150 240h200l150 150v-300z" fill="none" stroke="#000"/>
</svg>

The difference difference in the xml is that a "m0 0 150 150" is replaced by "l150 150". The original draws a line and a triangle while the scour'ed version draws a deformed rectangle. From this I suspect that it is unsafe to rewrite "m0 0" if the subpath ends with a z/Z command. I.e.

... m0 0 150 150 ... z is unsafe
... m0 0 150 150 ... mX Y ... z might be rewritable to l150 150 ... mX Y ... z

Forgot to mention: The special case m0 0z is also problematic to rewrite at all times.  If a path ends with m0 0z then it is a no-op.  Likewise, a m0 0zm... can also be reduced to m....  However, m0 0zl... should be rewritten as m0 0l... (i.e. the "z" is redundant, but "m0 0" is not).


Display item level in picture

I think it is already planned, but items should display the level inside the picture, so you don't have to hover over the item to check it...

That is an excellent idea, I can not confirm if it's already planned, bu tit should be.

if i'm good informed there will be not stacking items (excluding stacquila)

Upgrade levels exist. The level will be indicated by a changing icon, which has more glance value than a small number. Should have quite a few ready for our next test stream.


Minor code refactoring

Update all urls.py to use slug instead of event_slug (view params should be updated a ccordingly)
Remove unused imports (views.py)

I'll do it :)


HSV is not working for Tapo C320WS

Describe the bug
HSV don't want to work for my TPLink Tapo C320WS camera
To Reproduce
Steps to reproduce the behavior
Expected behavior
Apple Homekit HSV to work
Logs
No errors
Screenshots
{
"name": "CameraUI",
"port": 8082,
"atHomeSwitch": false,
"logLevel": "info",
"mqtt": {
"active": false,
"tls": false,
"port": 1883
},
"http": {
"active": true,
"port": 7272,
"localhttp": false
},
"smtp": {
"active": false,
"port": 2727,
"space_replace": "+"
},
"ftp": {
"active": false,
"useFile": false,
"port": 5050
},
"ssl": {
"active": false
},
"options": {
"videoProcessor": "ffmpeg"
},
"cameras": [
{
"disable": false,
"name": "Front Door View",
"manufacturer": "TPLink",
"model": "C320WS",
"serialNumber": "223C834002101",
"motion": true,
"motionTimeout": 15,
"unbridge": true,
"hsv": true,
"prebuffering": true,
"prebufferLength": 4,
"hksvConfig": {
"maxWidth": 1920,
"maxHeight": 1080,
"maxFPS": 30,
"maxBitrate": 2048,
"audio": true
},
"videoConfig": {
"source": "-rtsp_transport tcp -i rtsp://vtonderp:Bloubulle01@<IP_ADDRESS>:554/stream1",
"subSource": "-rtsp_transport tcp -i rtsp://vtonderp:Bloubulle01@<IP_ADDRESS>:554/stream1",
"stillImageSource": "-rtsp_transport tcp -i rtsp://vtonderp:Bloubulle01@<IP_ADDRESS>:554/stream1",
"maxWidth": 1280,
"maxFPS": 15,
"vcodec": "copy",
"acodec": "libfdk_aac",
"audio": false,
"debug": true
},
"smtp": {
"email": "Front Door View"
},
"videoanalysis": {
"active": false
},
"mqtt": {}
},
{
"name": "Front Overview",
"manufacturer": "TPLink",
"model": "C320WS",
"serialNumber": "223C834002087",
"motion": true,
"motionTimeout": 15,
"unbridge": true,
"hsv": true,
"prebuffering": true,
"prebufferLength": 4,
"hksvConfig": {
"maxWidth": 1920,
"maxHeight": 1080,
"maxFPS": 30,
"maxBitrate": 2048,
"audio": true
},
"videoConfig": {
"source": "-rtsp_transport tcp -i rtsp://vtonderp:Bloubulle01@<IP_ADDRESS>:554/stream1",
"subSource": "-rtsp_transport tcp -i rtsp://vtonderp:Bloubulle01@<IP_ADDRESS>:554/stream1",
"stillImageSource": "-rtsp_transport tcp -i rtsp://vtonderp:Bloubulle01@<IP_ADDRESS>:554/stream1",
"maxFPS": 15,
"vcodec": "copy",
"acodec": "libfdk_aac",
"audio": false,
"debug": true
},
"smtp": {
"email": "Front Overview"
},
"videoanalysis": {
"active": true
},
"mqtt": {}
}
],
"platform": "CameraUI"
}
Environment

Node.js Version: v20.12.2
Homebridge Version: vX.X
Camera UI Version: v5.0.27
Operating System: Debian GNU/Linux Bookworm (12)
Browser: Safari

@vtonderp this is problem with code. See #855 . Author know about this.

🎉 A new version of camera.ui
A new version of camera.ui is currently under active development. An initial alpha/beta release and previews are coming soon. Stay tuned for exciting updates: https://github.com/seydx/camera.ui/issues/448 .
This version will no longer be developed / fixed. The new version contains many novelties and fixes (most important is for HKSV recording).

Sorry, where do I find n /homebridge-camera-ui/node_modules/camera.ui/src/controller/event/event.controller.js? and where do I find n: /homebridge-camera-ui/node_modules/camera.ui/src/controller/camera/services/videoanalysis.service.js


feat(*): add --quiet flag to 'helm lint'

What this PR does / why we need it:
Quiet flag reduce the verbosity for helm lint command, such that the only text
that is written to the console is lint warnings/errors
Closes #9994
Special notes for your reviewer:
If applicable:

[ ] this PR contains documentation
[x] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

@bacongobbler can you take another look at this with the latest changes?

@mattfarina When you get a chance, can you take a look again?


Update broken link to terms/layer

The new link isnt a 1:1 replacement.  It appears terms/layer was removed at 1.7.
The content on this new link covers layers similar to how the previous page did. imo

Thanks!


fix: styles in example

Pull Request Test Coverage Report for Build 238

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 76.034%

Totals

Change from base Build 232:
0.0%

Covered Lines:
1200

Relevant Lines:
1506

💛  - Coveralls


The application crashes when dragging the files.

Describe the bug
Drag a file, which will crash the application on the OnDragOver event. As we are calculating the files dropping position in the e.DataView of properties. The e.DataView throws unhandled exceptions, could not catch the exception details, debugger gets stopped even if exception settings are enabled. It break in .NET 6.0, but we also faced the issue randomly in .NET 5.0 also, sometimes at the first drag-drop operation, other times after 10 drag-drop operations. But eventually, it will crash.
Steps to reproduce the bug
Perform drag-drop operations between source and target.
Expected behavior
The application should not be crashed.
Screenshots

SDK  version
1.1.0
Target framework version
.NET 5.0 and .NET 6.0
Windows app type

[ ] UWP
[x] Win32

Device form factor
No response
Windows version
No response
Additional context
No response

Even without a crash dump, this looks like #7002.

@bpulliam This is NOT a duplicate. Drag & Drop from outside the app crashes since 1.1.0.
Drag & Drop is improved in 1.1.1 but still contains this specific D&D case.

Just tested:
1.0.3 : No crash on dragging a file
1.0.4 : No crash on dragging a file
1.1.0 : Crash!
1.1.1 : Crash!

Hi Team,
Please find the replicated sample, sometimes the issue will not throw in that scenario clean and rebuild solution to replicate, crash on drag over the custom grig added.
Sample - DataViewCrash.zip
Screenshot -

I have a crash dump. It's quite large. How can I send this?
I get the following stack trace from the crash dump:
Stowed Exception Array @ 0x0000020ef00278f0
Stowed Exception #1 @ 0x0000020eeff77740
0x8000FFFF (FACILITY_NULL - Default): E_UNEXPECTED - Unexpected failure
Stack	 : 0x20eeff75a58
	7fff6a731f88 Microsoft_ui_xaml!CXcpDispatcher::OnReentrancyProtectedWindowMessage+0x1c85d8
	7fff6a5690c2 Microsoft_ui_xaml!CXcpDispatcher::WindowProc+0xc2
	7fff6a5b6bee Microsoft_ui_xaml!CDeferredInvoke::DispatchQueuedMessage+0x7e
	7fff6a5b6b36 Microsoft_ui_xaml!Microsoft::WRL::Details::DelegateArgTraits<long (__cdecl ABI::Windows::Foundation::ITypedEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Microsoft::UI::Dispatching::DispatcherQueueTimer *,ABI::Microsoft::UI::Dispatching::IDispatcherQueueTimer *>,IInspectable *>::*)(ABI::Microsoft::UI::Dispatching::IDispatcherQueueTimer *,IInspectable *)>::DelegateInvokeHelper<Microsoft::WRL::Implements<Microsoft::WRL::RuntimeClassFlags<2>,ABI::Windows::Foundation::ITypedEventHandler<ABI::Microsoft::UI::Dispatching::DispatcherQueueTimer *,IInspectable *>,Microsoft::WRL::FtmBase>,<lambda_e857fdb067b9ae81889f07225ce1ccec> &,1,ABI::Microsoft::UI::Dispatching::IDispatcherQueueTimer *,IInspectable *>::Invoke+0x26
	7fff85023f98 CoreMessagingXP!Microsoft::WRL::Details::DelegateArgTraits<long (__cdecl Windows::Foundation::ITypedEventHandler_impl<Windows::Foundation::Internal::AggregateType<Microsoft::UI::Dispatching::DispatcherQueueTimer * __ptr64,Microsoft::UI::Dispatching::IDispatcherQueueTimer * __ptr64>,IInspectable * __ptr64>::*)(Microsoft::UI::Dispatching::IDispatcherQueueTimer * __ptr64,IInspectable * __ptr64) __ptr64>::DelegateInvokeHelper<Microsoft::WRL::Implements<Microsoft::WRL::RuntimeClassFlags<2>,Windows::Foundation::ITypedEventHandler<Microsoft::UI::Dispatching::DispatcherQueueTimer * __ptr64,IInspectable * __ptr64>,Microsoft::WRL::FtmBase>,<lambda_82cf8073f4f042d1a68771c460cb9f49>,-1,Microsoft::UI::Dispatching::IDispatcherQueueTimer * __ptr64,IInspectable * __ptr64>::Invoke+0xa8
	7fff8502419e CoreMessagingXP!Microsoft::WRL::InvokeTraits<-2>::InvokeDelegates<<lambda_1e854da9c9ccd42f6138c3b007a32877>,Windows::Foundation::ITypedEventHandler<Microsoft::UI::Dispatching::DispatcherQueueTimer * __ptr64,IInspectable * __ptr64> >+0x8e
	7fff85023d6b CoreMessagingXP!Microsoft::UI::Dispatching::DispatcherQueueTimer::TimerCallback+0xdb
	7fff84fff808 CoreMessagingXP!CFlat::SehSafe::Execute<<lambda_654db17c35df07198786f0867aa10de6> >+0x2c
	7fff84fff6db CoreMessagingXP!Microsoft::CoreUI::Dispatch::TimeoutHandler::ImportAdapter$+0x5b
	7fff84fdc470 CoreMessagingXP!Microsoft::CoreUI::Dispatch::TimeoutManager::Callback_OnDispatch+0x1b0
	7fff84fa9b54 CoreMessagingXP!Microsoft::CoreUI::Dispatch::Dispatcher::Callback_DispatchNextItem+0x1e4
	7fff84fa9406 CoreMessagingXP!Microsoft::CoreUI::Dispatch::Dispatcher::Callback_DispatchLoop+0x182
	7fff84f9ed7b CoreMessagingXP!Microsoft::CoreUI::Dispatch::EventLoop::Callback_RunCoreLoop+0x16b
	7fff84fa1010 CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::DrainCoreMessagingQueue+0x138
	7fff84fa14e6 CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatch+0xaa
	7fff84fa140a CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatchRaw+0x7e
	7fff84ff466f CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::DoWork+0x4f
	7fff84ff460f CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::WindowProc+0xdf
	7ff81be51c4c user32!UserCallWinProcCheckWow+0x33c
	7ff81be5179c user32!DispatchClientMessage+0x9c
	7ff81be64b4d user32!_fnDWORD+0x3d
	7ff81d7a7e04 ntdll!KiUserCallbackDispatcherContinue+0x0
	7ff81ac613b4 win32u!NtUserPeekMessage+0x14
	7ff81be59f0f user32!_PeekMessage+0x3f
	7ff81be59e7a user32!PeekMessageW+0x13a
	7ff81b5c1f7f combase!CCliModalLoop::MyPeekMessage+0x53
	7ff81b5c1ee9 combase!CCliModalLoop::PeekRPCAndDDEMessage+0x49
	7ff81b5c20c6 combase!CCliModalLoop::FindMessage+0x46
	7ff81b5becb5 combase!CCliModalLoop::HandleWakeForMsg+0x65
	7ff81b5c18c8 combase!CCliModalLoop::BlockFn+0x298
	7ff81b5c15f2 combase!ModalLoop+0xc2
	7ff81b5c719b combase!CSyncClientCall::SendReceive2+0x93b
	7ff81b5c1192 combase!ClassicSTAThreadSendReceive+0xa2
	7ff81b5cc4f5 combase!CSyncClientCall::SendReceive+0x195
	7ff81b5bffa8 combase!CClientChannel::SendReceive+0x98
	7ff81b639858 combase!NdrExtpProxySendReceive+0x58
	7ff81d49ba73 rpcrt4!NdrpClientCall3+0x403
	7ff81b63718c combase!ObjectStublessClient+0x14c
	7ff81b6d85d2 combase!ObjectStubless+0x42

I get this exception in a DragOver handler at the following location:

@bpulliam I don't understand why on the Community Call you asked for more crash dumps, but at the same time without looking any further mark this issue as duplicate? This does not make sense to me.

The reason I ask for crash dumps is that they are the gold standard, the most important item in quickly getting to the root cause of the issue. Samples are helpful, printouts of call stacks will also help, but the most efficient way to investigate a problem is the crash dump. It eliminates all other factors such as OS version, patch level, architecture, etc and saves us the time of duplicating the exact issue.  Sometimes the issue you see is masked by another one and we spend time investigating a different issue that repros with the same sample. On this issue, we now have internal repros and crash dumps and are giving this a high priority.  Thanks to all of you for your dumps, your samples, your observations, and your assistance in making the product better.

We have root caused the issue and are evaluating a fix.  Also fixes #7007, #7192, #7002.

More drag and drop weirdness:
https://github.com/microsoft/microsoft-ui-xaml/issues/7266

The same problem. In Version 1.1.1, the DataView It is easy to crash when trying to get Properties after set Properties.

Still happening in v 1.1.2

fix is now available in Windows App SDK 1.2 Preview 1