JitPack build is failing

The JitPack build for mod compatibility seems to be failing due to the script for getting a newer JDK version not existing anymore:
Running before_install command:
wget https://github.com/sormuras/bach/raw/master/install-jdk.sh;source install-jdk.sh --feature 17
--2023-05-16 16:47:54--  https://github.com/sormuras/bach/raw/master/install-jdk.sh
<IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-05-16 16:47:54 ERROR 404: Not Found.

/script/buildit.sh: line 60: install-jdk.sh: No such file or directory

Additionally, I'm not sure if it is possible to depend on an Architectury mod from a Fabric mod (https://github.com/mschae23/grind-enchantments). If it isn't, it should also be possible for the compatbility to be added from your side by using the ApplyLevelCostEvent.

I'm also not sure if Architectury mods can be used as dependencies (maybe in other Architectury builds?), so I just fixed the JitPack build. It built the loom branch successfully, so it should now work if you put
modImplementation 'com.github.Fourmisain:TaxFreeLevels:loom-SNAPSHOT'

as the dependency.

Thank you, that does work now.
However, that branch seems to still be on 1.16.5. I'll try the architectury branch as well, maybe Loom knows how to handle that.

Well, it tries finding the class file for net.minecraft.world.entity.player.Player, so this doesn't work directly. But Architectury does seem to output different JARs for the different platforms, maybe it's possible to depend on one of those directly?
I guess I can test that GitHub Packages; I don't think Jitpack makes it possible to do that, honestly.

Hold on - so is there any issue when compiling against the loom branch?
Because the only thing that matters it that you can use the TaxFreeLevels class, which has not changed at all between 1.16 and 1.19 (soon to be 1.20).
(I'm actually still compiling against an 1.16 version of Reroll with no issue as well.)

Hold on - so is there any issue when compiling against the loom branch? Because the only thing that should matter is that you can use the TaxFreeLevels class, which has not changed at all between 1.16 and 1.19 (soon to be 1.20).

I guess this is why I didn't have any problems until I tried updating the dependency... compilation succeeds, but the devenv fails to start because the mod has ~1.16.0 as a dependency. So I probably wouldn't have had a problem in production.

If it was just something you're wondering - it is possible to depend on the output jars, though you'd need to use them locally with implementation files('path/to/mod.jar') or host them somewhere, which is pretty inconvenient and may not be okay due to licensing.

I wanted to test using GitHub Packages (basically a Maven repository) for this, which is a bit inconvenient because it requires authentication for public packages, but I'm already using it anyway.

What I ended up doing a lot to add mod compatibility with Forge mods is recreate the basic class structure of the mod I'm depending on, compile my mod, then rip out the (empty) class files after the fact.

Because class files are only loaded at runtime using their full name? That's actually pretty clever. I'll probably end up using either this, or the loom branch with a dependency override for the devenv.

Ah, the dev env breaks. I actually almost never use it, since I find it inconvenient for my uses (I'm basically always debugging compatibility issues with mods/modpacks, so I instead symlink the output jar to a MultiMC instance).
Hm... I think you can use modCompileOnly instead of modImplementation, so it won't load the mod in the dev env.
You can probably add the Tax Free Levels jar to the dev env manually when you need to.
I was thinking of stripping down the loom branch to it only contains the TaxFreeLevels class and no fabric.mod.json requirements and mixins, that way it'll run with any version and you can test the methods too - though Mixin compatibility still would need to be tested, so maybe I'll just port the latest architectury version to loom 1.19.

Just did a loom port (which weirdly just would not build with Charm support) and updated the loom branch.
You should now be able to use
modImplementation 'com.github.Fourmisain:TaxFreeLevels:loom-SNAPSHOT'
or
modImplementation 'com.github.Fourmisain:TaxFreeLevels:loom-1.18-SNAPSHOT'
(JitPack doesn't seem to want to build the loom branch right now, will try again later)
I also added a loom-nomixins branch that's the stripped down version I talked about, if you just wanna use the TaxFreeLevels class and don't care about mixins.

Alright, I think I am going to go with modCompileOnly, I didn't remember that this doesn't add the mod to the dev env. Thank you for your efforts!


Messenger integration pageId property not saved on integration

In the smooch docs (https://docs.smooch.io/rest/#list-integrations) the messenger integration object has the pageId returned. This value is not available on the integration object returned by the api.

The twilio integration is also missing the phoneNumber property

Thanks for reporting it! We solved it in https://github.com/smooch/smooch-python/releases/tag/1.8.0


[Enhancement] Redesign Privacy Screen.

Redesign Privacy Screen.

hey ,
@Vishwajith-Shettigar can you assign this to me

@chesh-ire  please complete issue #38.

can you assign me this issue?

@Vishwajith-Shettigar Please assign this issue to me. Also you can specify if you have anything in mind or I can design it on my own matching the app.

@Amit-4186, here are my suggestions:

Avoid making extreme changes to the color theme of the screen.
Change the top app bar background color to match the screen background color.
Increase the title font size and adjust its position slightly to the right and bottom (reference: app bar title in the chat screen).
Redesign the dialog to have rounded corners with a black/white border (use a white border for dark theme and a black border for light theme).
Change the dialog title color to black or white depending on the mobile theme.
Make the dialog buttons have rounded corners and a violet shade background.

Thanks for assigning the issue and the instructions. I’ll start working on it and will reach out if I need any clarifications.

@Vishwajith-Shettigar i would like to work on this issue please assign it to me

@Amit-4186 are you working on this issue?

@Amit-4186 are you working on this issue?

@Vishwajith-Shettigar @FLUXY01 Yes. It's almost done. I will update today.

@Amit-4186 update ?

Hello sir! Would you let me work on this issue?? I will complete it within 2 days.
Thank You!!

Thank You!!


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_8a39_3xzpa/clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_8a39_3xzpa/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_8a39_3xzpa/clone/recipe/meta.yaml:46: missing_description: The recipe is missing a description
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_84cedg02ir/clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_84cedg02ir/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_84cedg02ir/clone/recipe/meta.yaml:46: missing_description: The recipe is missing a description
Errors were found


Redirect PALMSpy stdout

Currently only stderr is exported to file (TestHabitusGUI-ucloud-...) when PALMSpy is executed.
It would be useful if also the stdout is available at the end of the run.
A suggestion could be to modify the base command to redirect stderr  and stdout to the same file.

Good idea, I will work on it this Wednesday.


save.save_model in training.py directs to wrong file

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
No
Source
source
Tensorflow Version
tf 2.11
Custom Code
No
OS Platform and Distribution
Linux Ubuntu 18.04
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
cudatoolkit=11.2.2 cudnn=8.1.0
GPU model and memory
No response
Current Behaviour?
Hey,
so I stumbled into this while trying to save a more complex custom model than the one I'll discuss here and getting errors that were reported already in other issues but had remained unsolved. I knew from my dealing with the errors in my other model that saving my model worked fine in TF2.3 but crashed in 2.11 and I had my suspicions as to what caused the problem.
So I created a dummy test that would throw an error (TypeError: 'int' object is not iterable) to be able to check how TF goes through the source code. I executed this once with my old TF2.3 installation and once with my current TF 2.11 installation (did this in 2 different virtual environments).
In both version when calling save on a Keras model that then essentially executes
save.save_model(self, filepath, overwrite, include_optimizer, save_format,
                    signatures, options, save_traces)

which is in tensorflow.python.keras.engine.training.py->Model class->def save()
In TF2.3 that then calls the save_model function in tensorflow.python.keras.saving.save.py
In TF2.11 that calls the save function in tensorflow.python.keras.saving.saved_model.save.py
which is odd, because the other function still exits and the new function isn't documented nearly as good as the old one is
In TF2.11 the error disappears when setting save_traces=False.
In TF2.3 the error is thrown no matter what.
I am not sure if this is a bug but it very much seems like one and I think it is connected to some other issues people are having, like this one https://github.com/tensorflow/model-optimization/issues/964 or this one https://github.com/tensorflow/tensorflow/issues/47554
I don't know how to fix this, because I don't know why save.save_model would not point to tensorflow.python.keras.saving.save.py when the import is still "from tensorflow.python.keras.saving import save" in trainings.py. I just want someone to tell me if this is a bug or not.
Have a nice day,
Miriam
Standalone code to reproduce the issue
import tensorflow as tf
from tensorflow.python.keras.models import Sequential
from tensorflow.python.keras.layers import LSTM, Dense, Dropout

model = Sequential([
    LSTM(128,input_shape=(4,5)),
    Dropout(0,2),
    Dense(1)
])

model.compile(loss='mae', optimizer='adam')
model.summary()

#model.save('testmodel', save_traces=False)
model.save('testmodel', save_traces=True)

Relevant log output
Traceback (most recent call last):
  File "/home/miriam/vscode/UNIQORN/uniqorn/source/text.py", line 15, in <module>
    model.save('testmodel', save_traces=True)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py", line 2132, in save
    save.save_model(self, filepath, overwrite, include_optimizer, save_format,
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/saving/save.py", line 149, in save_model
    saved_model_save.save(model, filepath, overwrite, include_optimizer,
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/saving/saved_model/save.py", line 90, in save
    saved_nodes, node_paths = save_lib.save_and_return_nodes(
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/saved_model/save.py", line 1267, in save_and_return_nodes
    _build_meta_graph(obj, signatures, options, meta_graph_def))
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/saved_model/save.py", line 1440, in _build_meta_graph
    return _build_meta_graph_impl(obj, signatures, options, meta_graph_def)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/saved_model/save.py", line 1383, in _build_meta_graph_impl
    signatures = signature_serialization.find_function_to_export(
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/saved_model/signature_serialization.py", line 103, in find_function_to_export
    for name, child in children:
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/saved_model/save.py", line 177, in list_children
    for name, child in super(_AugmentedGraphView, self).list_children(
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/checkpoint/graph_view.py", line 75, in list_children
    for name, ref in super(ObjectGraphView,
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/checkpoint/trackable_view.py", line 84, in children
    for name, ref in obj._trackable_children(save_type, **kwargs).items():
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/engine/functional.py", line 370, in _trackable_children
    super(Functional, self)._trackable_children(save_type, **kwargs))
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py", line 2746, in _trackable_children
    children = super(Model, self)._trackable_children(save_type, **kwargs)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/engine/base_layer.py", line 3047, in _trackable_children
    children = self._trackable_saved_model_saver.trackable_children(cache)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/saving/saved_model/base_serialization.py", line 55, in trackable_children
    children = self.objects_to_serialize(serialization_cache)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/saving/saved_model/layer_serialization.py", line 69, in objects_to_serialize
    return (self._get_serialized_attributes(
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/saving/saved_model/layer_serialization.py", line 89, in _get_serialized_attributes
    object_dict, function_dict = self._get_serialized_attributes_internal(
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/saving/saved_model/model_serialization.py", line 53, in _get_serialized_attributes_internal
    super(ModelSavedModelSaver, self)._get_serialized_attributes_internal(
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/saving/saved_model/layer_serialization.py", line 99, in _get_serialized_attributes_internal
    functions = save_impl.wrap_layer_functions(self.obj, serialization_cache)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/saving/saved_model/save_impl.py", line 204, in wrap_layer_functions
    fn.get_concrete_function()
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/contextlib.py", line 120, in __exit__
    next(self.gen)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/saving/saved_model/save_impl.py", line 367, in tracing_scope
    fn.get_concrete_function(*args, **kwargs)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/eager/polymorphic_function/polymorphic_function.py", line 1215, in get_concrete_function
    concrete = self._get_concrete_function_garbage_collected(*args, **kwargs)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/eager/polymorphic_function/polymorphic_function.py", line 1206, in _get_concrete_function_garbage_collected
    concrete = self._variable_creation_fn._get_concrete_function_garbage_collected(  # pylint: disable=protected-access
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/eager/polymorphic_function/tracing_compiler.py", line 192, in _get_concrete_function_garbage_collected
    concrete_function, _ = self._maybe_define_concrete_function(args, kwargs)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/eager/polymorphic_function/tracing_compiler.py", line 157, in _maybe_define_concrete_function
    return self._maybe_define_function(args, kwargs)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/eager/polymorphic_function/tracing_compiler.py", line 360, in _maybe_define_function
    concrete_function = self._create_concrete_function(args, kwargs)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/eager/polymorphic_function/tracing_compiler.py", line 284, in _create_concrete_function
    func_graph_module.func_graph_from_py_func(
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/framework/func_graph.py", line 1283, in func_graph_from_py_func
    func_outputs = python_func(*func_args, **func_kwargs)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/eager/polymorphic_function/polymorphic_function.py", line 645, in wrapped_fn
    out = weak_wrapped_fn().__wrapped__(*args, **kwds)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/saving/saved_model/save_impl.py", line 599, in wrapper
    ret = method(*args, **kwargs)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/saving/saved_model/utils.py", line 165, in wrap_with_training_arg
    return control_flow_util.smart_cond(
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/utils/control_flow_util.py", line 109, in smart_cond
    return smart_module.smart_cond(
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/framework/smart_cond.py", line 52, in smart_cond
    return true_fn()
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/saving/saved_model/utils.py", line 166, in <lambda>
    training, lambda: replace_training_and_call(True),
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/saving/saved_model/utils.py", line 163, in replace_training_and_call
    return wrapped_call(*args, **kwargs)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/saving/saved_model/save_impl.py", line 681, in call
    return call_and_return_conditional_losses(inputs, *args, **kwargs)[0]
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/saving/saved_model/save_impl.py", line 639, in __call__
    return self.wrapped_call(*args, **kwargs)
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/util/traceback_utils.py", line 153, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "/home/miriam/miniconda3/envs/tf/lib/python3.8/site-packages/tensorflow/python/keras/layers/core.py", line 207, in _get_noise_shape
    for i, value in enumerate(self.noise_shape):
TypeError: 'int' object is not iterable

@mibumi
Could you please import tensorflow.keras.models instead of tensorflow.python.keras.models.

Anything under tf.python.* is private, intended for development only, rather than for public use.

Importing from tensorflow.python or any other modules (including import tensorflow_core...) is not supported, and can break unannounced.So, it is suggested not to use anything with tf.python.*.

I was able to execute the given code without an error on Colab using TF v2.11. Please find the gist here for reference.
Thank you !

That looks like the right answer.
tensorflow.python.keras.models is not the right coide path, we're removing this from the package in 2.12, all of that code comes from the stand-alone keras package now.

Closing as stale. Please reopen if you'd like to work on this further.
Thanks !


Fix CI job to publish helm chart

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
What type of PR is this?

/kind chore
Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:

NONE

Documentation:

NONE

/approve


Migrate from aabb_quadtree to rstar

aabb_quadtree is some ancient crate that's not even on Github! A/B Street has been using it since The Beginning. This PR finally migrates to the modern georust rstar.
I briefly tested map importing and the UIs, and didn't notice any major behavioral or performance changes. But it's possible something will come up the next time we regenerate all data or roll a release.

Impressive!

Nice to see more use of the rstar crate - I'm glad it worked for abstreet!

I still want to pursue the goal of making geom not exist at all, or be a very thin wrapper on geo, just haven't had enough time to focus on it.
I've been revisiting the purpose of the assertions in Ring that no duplicate points exist and in PolyLine that adjacent points aren't too close together. I might try some ideas and CC you "soon" if it's OK.


Dockerfile Image Creation Error : COPY failed: file not found in build context or excluded by .dockerignore: stat organize: file does not exist

Describe the bug
COPY function of COPY ./organize ./organize always fails and returns an error ?
No matter what location I choose as the source for the Organize folder I’m unable to complete the creation of a local image of Organize from the Dockerfile provided in the respository ?
Here’s what I have done - I have downloaded the github repo, and placed the organize-main folder into my local Container folder structure, and then via the command line I go into the run the docker build command - but when running the build - it fails with the Error COPY failed: file not found in build context or excluded by .dockerignore: stat organize: file does not exist
I’ve tried to fix it by updating the Dockerfile directly with other source locations e.g. COPY . /share/Container/organize/organize-main/organize ./organize  based on where I’m running the  docker build -t organize . command from, even trying ADD rather than COPY too, but none seem to work ??
Any ideas ?.
Screenshots
Here is output from the CLI after multiple attempts - as previous attempts failed progress is cached, which makes it easier to post this  content
[/share/Container/organize/organize-main] # docker build -t organize .
Sending build context to Docker daemon  151.6kB
Step 1/16 : FROM python:3.11-slim as base
 ---> 10f461201cdb
Step 2/16 : ENV PIP_DISABLE_PIP_VERSION_CHECK=1     PYTHONUNBUFFERED=1     VIRTUAL_ENV="/venv"
 ---> Using cache
 ---> 0129a90581ff
Step 3/16 : ENV PATH="${VIRTUAL_ENV}/bin:$PATH"
 ---> Using cache
 ---> b8c6991957b9
Step 4/16 : WORKDIR /app
 ---> Using cache
 ---> b1ec777ec6cb
Step 5/16 : FROM base as pydeps
 ---> b1ec777ec6cb
Step 6/16 : RUN pip install "poetry==1.7.1" &&     python -m venv ${VIRTUAL_ENV}
 ---> Using cache
 ---> 5fbd1ad8ef05
Step 7/16 : COPY pyproject.toml poetry.lock ./
 ---> Using cache
 ---> 055de8d06707
Step 8/16 : RUN poetry install --only=main --no-interaction
 ---> Using cache
 ---> 2a22fd44d4ae
Step 9/16 : FROM base as final
 ---> b1ec777ec6cb
Step 10/16 : RUN apt update &&     apt install -y exiftool poppler-utils &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 5dac43d932ef
Step 11/16 : ENV ORGANIZE_CONFIG=/config/config.yml     ORGANIZE_EXIFTOOL_PATH=exiftool
 ---> Using cache
 ---> 59e0ae2a511f
Step 12/16 : RUN mkdir /config && mkdir /data
 ---> Using cache
 ---> 66166bee4663
Step 13/16 : COPY --from=pydeps ${VIRTUAL_ENV} ${VIRTUAL_ENV}
 ---> Using cache
 ---> a9a03871fbd6
Step 14/16 : COPY ./organize ./organize
COPY failed: file not found in build context or excluded by .dockerignore: stat organize: file does not exist
[/share/Container/organize/organize-main] #

Environment (please complete the following information):

OS: = LINUX QNAP
Output of organize --version: = Latest

Your config file
not go to this stage yet, unable to create local image

Think I have fixed this by changing the Dockerfile from
COPY ./organize ./organize to COPY . ./Organize


abnormal tibiofibular joint morphology

Add new term:
abnormal tibiofibular joint morphology (a child of abnormal hindlimb joint morphology MP:0030808 and abnormal hindlimb zeugopod morphology MP:0003857)
DEF: any structural anomaly of a joint that connects the tibia and the fibula
SYN: abnormal fibulatibial joint morphology
SYN: abnormal fibulotibial joint morphology
SYN: abnormal tibiafibular joint morphology
SOURCE: UBERON:0011112

Added new term:
abnormal tibiofibular joint morphology MP:0030836


Update to dormant epoch looks two epochs ago

The haddock in this function is correct, however the implementation is not.
https://github.com/IntersectMBO/cardano-ledger/blob/760ea5ae5de8ba0ee0568252e36e57ef4737ed63/eras/conway/impl/src/Cardano/Ledger/Conway/Rules/Epoch.hs#L209-L215
By looking for presence of proposals in the DRep pulser in the EPOCH rule we are actually looking at proposals two epochs ago.
We need to fix this and add some Imp tests that verify the behavior of DRep expiry logic

Fixed in #4358


Add support for DR-HPF004S / PolyFan 704S

I just purchased the DR-HPF004S from Amazon.
Attached is the debug log.
config_entry-dreo-b66c0d7153309aeecb121f1e75bec6d4 (1).json
Here are the answers to your questions:
Model - DR-HPF004S
Number of speeds the fan supports (not including "off") - 9
Does the fan support oscillating? - Yes both horizontal and vertical
What preset modes are supported? Standard, Turbo, Custom, Auto, Natural
Is temperature supported? Yes
Thank you!

Here is the redacted log file...
home-assistant_2024-04-16T17-57-49.050Z.log

Same for me, just got the fan today and would love it to work in HACS.  CTS1085 has the specs right.

Same for me, just got the fan today and would love it to work in HACS. CTS1085 has the specs right.

I was able to get mine working.  As the PolyFan 704S (DR-HPF004s) is identical to the DR-HAF004s, I just edited the models.py file and right below the DR-HAF004S line, added the following lines of code:
"DR-HPF004S": DreoDeviceDetails(
    preset_modes=[FAN_MODE_NORMAL, FAN_MODE_NATURAL, FAN_MODE_SLEEP, FAN_MODE_AUTO, FAN_MODE_TURBO],
    range = {SPEED_RANGE: (1, 9)}
)

And my Home assistant now detects this fan, and appears to work.   Easy Peasy.

Same for me, just got the fan today and would love it to work in HACS. CTS1085 has the specs right.

I was able to get mine working. As the PolyFan 704S (DR-HPF004s) is identical to the DR-HAF004s, I just edited the models.py file and right below the DR-HAF004S line, added the following lines of code:
"DR-HPF004S": DreoDeviceDetails(
    preset_modes=[FAN_MODE_NORMAL, FAN_MODE_NATURAL, FAN_MODE_SLEEP, FAN_MODE_AUTO, FAN_MODE_TURBO],
    range = {SPEED_RANGE: (1, 9)}
)

And my Home assistant now detects this fan, and appears to work. Easy Peasy. Note make sure the ")" on the DR-HAF004s line has a "," after it, or this will not work.

Worked like a charm, thank you!

While this did work (and I am otherwise happy with that), my issue with this is that unless I still go through the Dreo app, I can't set the vertical angle to less than zero and hence can't point the fan downwards through HA.

While this did work (and I am otherwise happy with that), my issue with this is that unless I still go through the Dreo app, I can't set the vertical angle to less than zero and hence can't point the fan downwards through HA.

You can manually edit the "number.py" file to set the min/max angles accordingly. Then restart Home Assistant.
Here are the relevant lines for the PolyFan 704S:
    DreoNumberEntityDescription(
        key="Horizontal Angle",
        translation_key="horizontal_angle",
        attr_name="horizontal_angle",
        icon="mdi:angle-acute",
        min_value=-75,
        max_value=75,
    ),
    DreoNumberEntityDescription(
        key="Vertical Angle",
        translation_key="vertical_angle",
        attr_name="vertical_angle",
        icon="mdi:angle-acute",
        min_value=-30,
        max_value=90
    ),
    ...

Looks like there is currently no way to set these ranges per fan; so if you have multiple fans, I would suggest just using the highest numbers.

In 0.7.1


Enable s390x RHEL8 and SLES15 platforms

Signed-off-by: Jaymala Sinha<EMAIL_ADDRESS>Enable s390x RHEL8 and SLES15 platforms
Description
Enable s390x RHEL8 and SLES15 platforms
Related Issue

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] All commits have been signed-off for the Developer Certificate of Origin.

Test build https://buildkite.com/chef/chef-chef-master-omnibus-adhoc/builds/348


Can we custom a page with books?

First of all, We want a page which let user see different books.
We find we can set /books as homepage. That's great.
We want to make the page like this.
Before login,

We can only see this public book.
After login,

We can see two private books.
The feature will let user see better.
And also, use the tag to distinguish different books will let bookstack easier to find what they need.

Hi @Xuchenhao, Really sorry for my late reply.
You should already be able to do this by setting custom permissions on your Books as per this gif:

Simply give 'view' permissions to everyone but the 'public' role and the book, along with everything inside it, will be hidden for non-logged-in users.

Since the last comment on this issue is relatively old I'm going to close this. If you feel there is still something that needs to be addressed please comment and this can be reopened if required.


When using the provided model for validation, the model dimensions and configuration file do not match

When I use the model you provided, download it from https://drive.google.com/file/d/1mY2juJ2n0Dw5NWDSraZXrdU1RwkE-40h/view?usp=sharing
Use Command
python tools/test.py configs/isfusion/isfusion_0075voxel.py data/pretrain_models/IS-Fusion_epoch_10.pth --eval "mAP" "NDS"
The part about pts_middle_decoder in my configuration file has not been changed：
pts_middle_encoder=dict(
    type='SparseEncoder',
    in_channels=64,
    sparse_shape=[41, voxel_shape, voxel_shape],
    base_channels=32,
    output_channels=256,
    order=('conv', 'norm', 'act'),
    encoder_channels=((32, 32, 64), (64, 64, 128), (128, 128, 256), (256, 256)),
    encoder_paddings=((0, 0, 1), (0, 0, 1), (0, 0, [0, 1, 1]), (0, 0)),
    block_type='basicblock',
),

The error logs are as follows：
load checkpoint from local path: data/pretrain_models/IS-Fusion_epoch_10.pth
The model and loaded state dict do not match exactly
size mismatch for pts_middle_encoder.conv_input.0.weight: copying a param with shape torch.Size([32, 3, 3, 3, 64]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 64, 32]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer1.0.conv1.weight: copying a param with shape torch.Size([32, 3, 3, 3, 32]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 32, 32]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer1.0.conv2.weight: copying a param with shape torch.Size([32, 3, 3, 3, 32]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 32, 32]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer1.1.conv1.weight: copying a param with shape torch.Size([32, 3, 3, 3, 32]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 32, 32]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer1.1.conv2.weight: copying a param with shape torch.Size([32, 3, 3, 3, 32]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 32, 32]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer1.2.0.weight: copying a param with shape torch.Size([64, 3, 3, 3, 32]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 32, 64]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer2.0.conv1.weight: copying a param with shape torch.Size([64, 3, 3, 3, 64]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 64, 64]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer2.0.conv2.weight: copying a param with shape torch.Size([64, 3, 3, 3, 64]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 64, 64]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer2.1.conv1.weight: copying a param with shape torch.Size([64, 3, 3, 3, 64]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 64, 64]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer2.1.conv2.weight: copying a param with shape torch.Size([64, 3, 3, 3, 64]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 64, 64]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer2.2.0.weight: copying a param with shape torch.Size([128, 3, 3, 3, 64]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 64, 128]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer3.0.conv1.weight: copying a param with shape torch.Size([128, 3, 3, 3, 128]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 128, 128]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer3.0.conv2.weight: copying a param with shape torch.Size([128, 3, 3, 3, 128]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 128, 128]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer3.1.conv1.weight: copying a param with shape torch.Size([128, 3, 3, 3, 128]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 128, 128]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer3.1.conv2.weight: copying a param with shape torch.Size([128, 3, 3, 3, 128]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 128, 128]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer3.2.0.weight: copying a param with shape torch.Size([256, 3, 3, 3, 128]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 128, 256]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer4.0.conv1.weight: copying a param with shape torch.Size([256, 3, 3, 3, 256]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 256, 256]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer4.0.conv2.weight: copying a param with shape torch.Size([256, 3, 3, 3, 256]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 256, 256]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer4.1.conv1.weight: copying a param with shape torch.Size([256, 3, 3, 3, 256]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 256, 256]).
size mismatch for pts_middle_encoder.encoder_layers.encoder_layer4.1.conv2.weight: copying a param with shape torch.Size([256, 3, 3, 3, 256]) from checkpoint, the shape in current model is torch.Size([3, 3, 3, 256, 256]).
size mismatch for pts_middle_encoder.conv_out.0.weight: copying a param with shape torch.Size([256, 3, 1, 1, 256]) from checkpoint, the shape in current model is torch.Size([3, 1, 1, 256, 256]).
/home/user/miniconda3/envs/IS-Fusion/lib/python3.8/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3526.)
return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
load checkpoint from local path: data/pretrain_models/IS-Fusion_epoch_10.pth
......................
And only the dimensions of pts_middle_decoder do not match.
May I ask if it's an error in my configuration file or the model file I downloaded from Google Drive?
Thank you

You might try to modify the command as python tools/test.py configs/isfusion/isfusion_0075voxel.py data/pretrain_models/IS-Fusion_epoch_10.pth --eval bbox

After changing the mode of eval in the command to bbox, the error still exists. This seems to be due to the different order of feature dimensions between the model and configuration file in the pts_middle_decoder section.Will the order of this dimension be affected by the eval mode?
I feel like it's because there's a problem with my model or configuration file.
@yinjunbo

Yes, there is a version mismatch of the sparseconv lib. Please make sure
use the correct version and corresponding codes.
On Tue, 16 Jul 2024 at 17:25, 月照 @.***> wrote:

After changing the mode of eval in the command to bbox, the error still
exists. This seems to be due to the different order of feature dimensions
between the model and configuration file in the pts_middle_decoder
section.Will the order of this dimension be affected by the eval mode?
I feel like it's because there's a problem with my model or configuration
file.
@yinjunbo https://github.com/yinjunbo
—
Reply to this email directly, view it on GitHub
https://github.com/yinjunbo/IS-Fusion/issues/18#issuecomment-2231057915,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHCPIYNKDDFZBUOP5WBOWSDZMUUOPAVCNFSM6AAAAABK3YRRCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZRGA2TOOJRGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

You are right, I found that spconv is not installed in my environment. After installing the corresponding spconv according to my CUDA version, the problem of model dimension mismatch disappeared. Thank you very much. @yinjunbo

老哥请问你配置环境的时候clone完mmdetection3d后需要用作者给的mmdet3d覆盖吗？

You are right, I found that spconv is not installed in my environment. After installing the corresponding spconv according to my CUDA version, the problem of model dimension mismatch disappeared. Thank you very much. @yinjunbo

老哥请问你配置环境的时候clone完mmdetection3d后需要用作者给的mmdet3d覆盖吗？

什么意思，我记得clone完，pip install -v -e .好像就可以，按作者给的步骤应该就没问题

搞定了，谢谢！还想问下你复现的时候可以达到作者的精度吗？我这边资源有限，如果能达到的话我就不训练了。
| |
侯业飞
@.***
|
---- Replied Message ----
| From | @.> |
| Date | 7/24/2024 13:34 |
| To | @.> |
| Cc | @.>,
@.> |
| Subject | Re: [yinjunbo/IS-Fusion] When using the provided model for validation, the model dimensions and configuration file do not match (Issue #18) |
You are right, I found that spconv is not installed in my environment. After installing the corresponding spconv according to my CUDA version, the problem of model dimension mismatch disappeared. Thank you very much. @yinjunbo
老哥请问你配置环境的时候clone完mmdetection3d后需要用作者给的mmdet3d覆盖吗？
什么意思，我记得clone完，pip install -v -e .好像就可以，按作者给的步骤应该就没问题
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

我也只是测试了他给的模型，map是0.7250，NDS是0.7365 @loserhou


disabled checkbox should not have unchecked value

Disabled elements should not be serialised. The selector for checkbox unchecked values was missing a disabled exclusion. This change prevents disabled checkboxes with default unchecked values from being serialized.

Looks good.
Please add a test for this case and I will create a new release with it.

Sorry missed the contribution paragraph yesterday. I added a single test for both normal disabled checkbox and disabled checkbox with data-unchecked-value="NOPE" attribute.

Nice. I'm merging it and creating the new release with it.
Thanks @skarr

Ups, I didn't realize but this change breaks compatibility with Zepto, because Zepto doesn't support the :not selector with multiple values. I fixed it in this commit https://github.com/marioizquierdo/jquery.serializeJSON/commit/ae72bc3fa1aa27248a073129396c2d97849a4e18


Please invite me to the community

Name
arzzen
Additional Context
Hi, hope you are well!
I will be glad to join into this community.

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is a remarkable open-source solution tailored for serverless platforms, aimed at empowering creators to craft their infrastructure solutions. 💻 We're thrilled to welcome you into our vibrant community! ✨ We eagerly anticipate your valuable contributions! 🤓 Don't forget to explore our community on Github and connect with us on LinkedIn 💜 Feel free to spread the word about our community to like-minded individuals interested in development, DevOps, technology, and collaborative contributions. 👉💜👈


Make datadog optional

Datadog metric reporting should be optional. Please update the autoscaler to run and not report metrics to datadog if datadog api key etc.. is not defined.

@DavidXArnold this PR might do the trick.

Resolved in https://github.com/tendrilinc/marathon-autoscaler/pull/6


[WIP] Add RetryingClientMiddleware example

Motivation
Depends on https://github.com/apple/swift-openapi-generator/pull/431 landing first.
[Explain here the context, and why you're making that change. What is the problem you're trying to solve.]
Modifications
[Describe the modifications you've made.]
Result
[After your change, what will change.]
Test Plan
[Describe the steps you took, or will take, to qualify the change - such as adjusting tests and manual testing.]

@czechboy0 why does this depend on the linked PR?

Passed in docker locally, landing without waiting for examples to pass.
Integration test is unaffected, this diff only changes the Examples directory.


[Windows] Importing does not consider files in the workspace/directory that are not explicitly opened

In https://github.com/Universal-Variability-Language/uvl-lsp/pull/25 we found that the uvl-lsp behaves differently on Windows machines (again).
Importing a namespace that is defined in another file which is not explicitly opened (or not in focus for a long time) results in the uvl-lsp not finding/loading the file and therefore throwing/showing an error for the import (unknown import/namespace).
This behavior can not be reproduced on Linux systems yet. It seems like it's caused by some issue within operating system.
Here is a small snippet, showing how the issue is reproduced.
Notice the red-underlined import in the test2.uvl file as soon as test.uvl is closed.

The issue seems to be somehow related to https://github.com/servo/rust-url/issues/551
It occurs in the load_blocking function of main.rs and throws the error
Failed to load file file:///C:/uvl_test/test.uvl : Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch. (os error 123)
However, if we resolve this by using Url::parse(..) another error occurs in the transform.rs, which seems to does not find the loaded file.
The file is also not loaded to the RootGraph and therefore it's not a proper solution.
We want to check this with a non-Windows system:
@felixrieg Put the attached files in a folder, open the folder in VSCode and explicitly open test2.uvl.
After doing so, please post the logs that appear in the temp/UVLS.log for this action.

I pulled the last commit and opened the test2.uvl. I got the following log:
INFO [uvls] UVLS start
INFO [uvls::core::pipeline] started link handler
INFO [uvls::core::pipeline] started link execute
INFO [uvls] create service
INFO [uvls::smt] Check SMT
INFO [uvls::webview] Starting web handler
INFO [uvls::core::parse] Parsed in 6.993833mININFO [uvls::core::pipeline] started draft handler file:///Users/felix/DowINFO [uvls::core::pipeline]INFO [uvls::core::pipeline] update red tree file:///Users/felix/Downloads/test_files/test.uvl
INFO [uvls::core::parse] Parsed in 7.466208ms
INFO [uvls::core::pipeline] started draft handler file:///Users/felix/Downloads/test_files/test2.uvl
INFO [uvls::core::pipeline] update red tree file:///Users/felix/Downloads/test_files/test2.uvl
INFO [uvls::core::ast::transform] {Node path (12, 8) - (12, 22)}
INFO [uvls::core::ast::transform] {Node path (14, 8) - (14, 22)}
INFO [uvls::core::check]  check sanity in 104.416µs
INFO [uvls::core::check]  check sanity in 99.125µs
INFO [uvls::core::pipeline] link prepare
INFO [uvls::core::pipeline] link execute
INFO [uvls::core::cache] updating cache dirty {test2.uvl, test.uvl}
INFO [uvls::smt] Check SMT
INFO [uvls::smt::smt_lib] model to string  in 335.208µs
INFO [uvls::smt] create model: 369.042µs
INFO [uvls::smt] parse values: 73.458µs
INFO [uvls] received did_open Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/felix/Downloads/test_files/test2.uvl", query: None, fragment: None }
INFO [uvls] done did_open
INFO [uvls::core::parse] Parsed in 313.458µs
INFO [uvls::core::pipeline] started draft handler file:///Users/felix/Downloads/test_files/test2.uvl
INFO [uvls::core::pipeline] update red tree file:///Users/felix/Downloads/test_files/test2.uvl
INFO [uvls::core::ast::transform] {Node path (12, 8) - (12, 22)}
INFO [uvls::core::check]  check sanity in 115.125µs
INFO [uvls::core::pipeline] waited 46.625µs for draft
INFO [uvls::core::pipeline] waited 12.292µs for root
INFO [uvls::ide::color] Semantic highlight took 455.166µs
INFO [uvls::core::pipeline] link prepare
INFO [uvls::core::pipeline] link execute
INFO [uvls::core::cache] updating cache dirty {test2.uvl}
INFO [uvls::smt] Check SMT
INFO [uvls::smt::smt_lib] model to string  in 63.333µs
INFO [uvls::smt] create model: 779.625µs
INFO [uvls::smt] parse values: 73.375µs
INFO [uvls::core::pipeline] waited 77.958µs for draft
INFO [uvls] update inlays Range { start: Position { line: 0, character: 0 }, end: Position { line: 16, character: 20 } }
INFO [uvls::ide::inlays] inlays get
INFO [uvls::ide::inlays] inlays done
INFO [uvls::core::pipeline] waited 75.333µs for draft
INFO [uvls] update inlays Range { start: Position { line: 0, character: 0 }, end: Position { line: 16, character: 20 } }
INFO [uvls::ide::inlays] inlays get
INFO [uvls::ide::inlays] inlays done

@felixrieg Thanks for your help!
Unfortunately, you probably did not see the Edit that I made.
The issue seems to have been resolved for windows systems. I just needed you to check if the latest commit in the referenced branch  still works on your machine.
If so, let me know and we can do a pull-request. Thanks!

LGTM, I had no problems so far


Screen size issue after in-app update

1.7.2 had actually fixed this issue last year, but today I got an in-app banner asking me to update, and after that the screen size bug is back. It's weird because the app size is still 1.7.2, reinstalling the app didn't change anything.

Hi @Anonanon ,
thanks for the feedback. I got the same update prompt, but it's fine on my side. Let me check with diffrent phones.

Thanks for the update, I'm on a Pixel 3 XL.

Any update about this? I just found this issue recently on my phone


Fix formatting for CI

The workflow failed here because the CI branch didn't include the latest cairo-1 branch updates

the irony


fix: invalid length value

thanks for the library, it's very helpful. but there is a problem when specifying length value of 10 chars which causes invalid qr.
example value: 'ABCDEFGHIJ'
expected result: '10'
actual result: '010'

thanks for pull req


Add a ViewGroup trait

More and more methods relative to children management turn out to be required.
Rather than polluting the main View trait with those, let's add a new ViewGroup trait, and add something like View::if_group(&self, Box<FnMut(&ViewGroup)>)  or View::as_group(&self) -> Option<&ViewGroup>, and would defaults to doing nothing (or returning None).
This new ViewGroup trait would include:

find_any
New methods for generic focus system (See #123)
Maybe some helper methods to iterate on children (trying to reduce code duplication among view groups)

Well, turns out there's not that much re-use available between view groups, and I don't feel adding a new trait for these 2 methods is really worth it. Postponing for now.


ruff -- ANN001 all function arguments have return types

Changes
Ensure that all function arguments have type annotations. No other changes.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#161  👈
#160
#159
#158
#157
#156
#155
#154
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @chrisaddy and the rest of your teammates on  Graphite


Use the generated version in the clusterregistry API server version field.

/sig multicluster

/cc @font @madhusudancs @pmorie
One interesting quirk about this: since the OpenAPI spec version is set from the tag version, this file cannot be updated in the tagged release: it has to be in a follow-up commit that comes just after the release. I don't think this is a huge deal, but it's worth noting.

/retest

/lgtm

/retest


Review generator API before next release

The following classes: RegisterCodeGenerator, RegisterCodeGeneratorHelpers, VhdlGeneratorCommon, VhdlSimulationGeneratorCommon

Consider all the class names, file names, paths for all generator classes.

Consider moving AXiLite generator class to subfolder "axi"

Done!


Missing closing bracket in the first page of the documentation.

It's small, but it has been driving me crazy.

Thanks!


translation timer

Add a translation timer, so that where you can't set permanent text appearance, the log doesn't get clogged. I'm getting tired of pushing start-stop translation.

Hi! The feature for auto-clear translation window after specified delay has been implemented in latest release 0.9.5. Or I got you wrong and did you mean something else?

No, I'm not talking about auto-cleaning of the window, I'm talking about the frequency of text scanning, you can't customize it.

Oh, I see. But I still didn't get how it could help you. If the app has an additional delay, it will also affects real text which you want to translate (delayed translation is quite inconvenient)

Why is it so difficult? Not everywhere you can set the speed at which text appears, and so that the window is not clogged with the translation of incomplete text, you can set a timer to scan the text. That is, the text appears in 3 seconds and set the timer for 3 seconds, and not like now where it scans with an interval of 0.5 seconds.

I didn't say that it's difficult to implement :) Just I can't clearly grasp profit based on understanding how algorithm really works. But okay, I will add the task to backlog and implement that via additional configuration parameter in config file (don't want to overload UI with secondary settings)

Я поддерживаю это улучшение, дабы тот же EasyOCR считывал текст в указанной области но уже с интервалом который указал ты сам, это поможет производительности при его использовании, но при этом качество останется.


Broken links

Broken links were found! Here is the console output:
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on power-03 (ibm ubuntu linux ppc64le) in workspace /var/jenkins_home/workspace/docs-linkcheck
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Done
[docs-linkcheck] $ /bin/bash -xe /tmp/hudson5692330908999974549.sh

docker run --rm --env CHECKEXTERN=1 --env LOCAL=0 docs/tools:linkchecker
write pipe: bad file descriptor
Build step 'Execute shell' marked build as failure
Checking console output

Broken links were found! Here is the console output:
Started by user Misty Stanley-Jones
[EnvInject] - Loading node environment variables.

LinkChecker 9.4              Copyright (C) 2000-2014 Bastian Kleineidam
LinkChecker comes with ABSOLUTELY NO WARRANTY!
This is free software, and you are welcome to redistribute it
under certain conditions. Look at the file `LICENSE' within this
distribution.
Get the newest version at http://wummel.github.io/linkchecker/
Write comments and bugs to https://github.com/wummel/linkchecker/issues
Support this project at http://wummel.github.io/linkchecker/donations.html

Start checking at 2017-03-29 16:38:08+000
URL        #nginx' Name       NGINX'
Parent URL https://docs.docker.com/datacenter/dtr/2.2/guides/admin/configure/use-a-load-balancer/, line 261, col 22
Base       https://docs.docker.com/datacenter/dtr/2.2/guides/admin/configure/
Real URL   https://docs.docker.com/datacenter/dtr/2.2/guides/admin/configure/#nginx
Check time 5.101 seconds
Result     Error: 403 Forbidden
URL        #dockerignore-file' Name       create a .dockerignore\nfile'
Parent URL https://docs.docker.com/engine/reference/builder/, line 227, col 54
Base       https://docs.docker.com/engine/reference/
Real URL   https://docs.docker.com/engine/reference/#dockerignore-file
Check time 5.221 seconds
Result     Error: 403 Forbidden
URL        https://www.yubico.com/products/yubikey-hardware/yubikey4/' Name       Yubikey 4'
Parent URL https://docs.docker.com/notary/advanced_usage/, line 270, col 1
Base       https://docs.docker.com/notary/
Real URL   https://www.yubico.com/products/yubikey-hardware/yubikey4/
Check time 1.211 seconds
Size       564B
Result     Error: 403 Forbidden
URL        https://www.yubico.com/support/knowledge-base/categories/downloads/' Name       Yubico PIV libraries'
Parent URL https://docs.docker.com/notary/advanced_usage/, line 276, col 1
Base       https://docs.docker.com/notary/
Real URL   https://www.yubico.com/support/knowledge-base/categories/downloads/
Check time 1.600 seconds
Size       564B
Result     Error: 403 Forbidden
Statistics:
Downloaded: 72.5MB.
Content types: 668 image, 1534 text, 0 video, 0 audio, 379 application, 10 mail and 2231 other.
URL lengths: min=15, max=879, avg=98.
That's it. 4822 links in 5027 URLs checked. 0 warnings found. 4 errors found.
Stopped checking at 2017-03-29 16:50:13+000 (12 minutes, 4 seconds)
Build step 'Execute shell' marked build as failure
Checking console output
/var/jenkins_home/jobs/docs-linkcheck/builds/102/log:
Result     Error: 403 Forbidden

Broken links were found! Here is the console output:
Started by timer
[EnvInject] - Loading node environment variables.

LinkChecker 9.4              Copyright (C) 2000-2014 Bastian Kleineidam
LinkChecker comes with ABSOLUTELY NO WARRANTY!
This is free software, and you are welcome to redistribute it
under certain conditions. Look at the file `LICENSE' within this
distribution.
Get the newest version at http://wummel.github.io/linkchecker/
Write comments and bugs to https://github.com/wummel/linkchecker/issues
Support this project at http://wummel.github.io/linkchecker/donations.html

Start checking at 2017-03-30 01:44:26+000
URL        #enable-dtr-security-scanning' Name       enable DTR Security Scanning'
Parent URL https://docs.docker.com/datacenter/dtr/2.2/guides/admin/configure/set-up-vulnerability-scans/, line 198, col 26
Base       https://docs.docker.com/datacenter/dtr/2.2/guides/admin/configure/
Real URL   https://docs.docker.com/datacenter/dtr/2.2/guides/admin/configure/#enable-dtr-security-scanning
Check time 3.113 seconds
Result     Error: 403 Forbidden
URL        https://www.yubico.com/products/yubikey-hardware/yubikey4/' Name       Yubikey 4'
Parent URL https://docs.docker.com/notary/advanced_usage/, line 270, col 1
Base       https://docs.docker.com/notary/
Real URL   https://www.yubico.com/products/yubikey-hardware/yubikey4/
Check time 1.184 seconds
Size       564B
Result     Error: 403 Forbidden
URL        https://www.yubico.com/support/knowledge-base/categories/downloads/' Name       Yubico PIV libraries'
Parent URL https://docs.docker.com/notary/advanced_usage/, line 276, col 1
Base       https://docs.docker.com/notary/
Real URL   https://www.yubico.com/support/knowledge-base/categories/downloads/
Check time 1.559 seconds
Size       564B
Result     Error: 403 Forbidden
URL        #dockerignore-file' Name       create a .dockerignore\nfile'
Parent URL https://docs.docker.com/engine/reference/builder/, line 227, col 54
Base       https://docs.docker.com/engine/reference/
Real URL   https://docs.docker.com/engine/reference/#dockerignore-file
Check time 3.924 seconds
Result     Error: 403 Forbidden
Statistics:
Downloaded: 72.5MB.
Content types: 669 image, 1537 text, 0 video, 0 audio, 375 application, 10 mail and 2231 other.
URL lengths: min=15, max=879, avg=98.
That's it. 4822 links in 5027 URLs checked. 0 warnings found. 4 errors found.
Stopped checking at 2017-03-30 01:56:45+000 (12 minutes, 19 seconds)
Build step 'Execute shell' marked build as failure
Checking console output
/var/jenkins_home/jobs/docs-linkcheck/builds/103/log:
Result     Error: 403 Forbidden

Closing this so we start with a clean report.


Nicer visualization of the tree

So far, the tree can be visualized in two ways: Matplotlib figures and ASCII. For the Matplotlib figure, there is a node overlapping bug when the degree of nodes is set to some special value, e.g., a tree with a height of 4 and degree of 3, then the plotting will be like this:

where the nodes at the third and fourth levels are overlapped. Also, it would be nicer to visualize the branches as polylines with different physical lengths that indicate the edge_length property.
For the ASCII output, it would be better to plot the tree from top to bottom instead of left to right, and the parent node is centred between its children. The edge length could also be realized.

@MichaelSev perhaps this is one for you?

Yes,
I did not think of the case of more than a binary tree...
I will solve it and include;
edge lengths
better spacing
colors in leafs
Horizontal/vertical lines instead of slanted lines

I will work on the ASCII plotting


Tensor.cumprod

Add cumulative product to Tensor using _cumalu.

bad tests, please understand what you are writing before writing it

Got it, bad tests.
I took a closer look at my code and think it was unnecessary to modify the test/external/external_test_onnx_backend.py file.
I know tinygrad has a high bar for PRs and was wondering if there are other reasons why these tests are bad. I am trying to learn and would love to make the tests better.


Code Cleanup for handling of allowDebug parameter

allowDebug is now handled through debugMode internally.
debugMode sets the state of the debugger while a testcase runs,
if debugMode is set.
Thus, allowDebug just means that the debugger state while the IUTF is running
is the same as outside the IUTF. This is set now accordingly.
Also added Tests to track the Debugger Settings through a test run.
close https://github.com/byte-physics/igor-unit-testing-framework/issues/198

Nice!


Syntax highlighting theme

Themes from prism-react-renderer are kinda ugly.
Investigate using using Shiki through docusaurus-preset-shiki-twoslash, which uses vscode grammers. Shiki themes.

Might not be worth it, prism-react-renderer is good enough.


Angular Material 2 SSR doesn't work

I have created asp.net core Angular template project in Visual studio 2017 (15.5.6). I added and configured Angular Material 2.
But when a page loads, I see a common html button. But after loading all js files, styles are applied to the button.

Page is loading:

Page is loaded:

Also I have created GIF.
I import material module in "app.shared.module.ts".
Snapshots:

package.json
{
  "name": "myProj",
  "private": true,
  "version": "0.0.0",
  "scripts": {},
  "devDependencies": {
    "@angular/animations": "5.2.5",
    "@angular/cdk": "5.2.1",
    "@angular/common": "5.2.5",
    "@angular/compiler": "5.2.5",
    "@angular/compiler-cli": "5.2.5",
    "@angular/core": "5.2.5",
    "@angular/flex-layout": "2.0.0-beta.12",
    "@angular/forms": "5.2.5",
    "@angular/http": "5.2.5",
    "@angular/material": "5.2.1",
    "@angular/platform-browser": "5.2.5",
    "@angular/platform-browser-dynamic": "5.2.5",
    "@angular/platform-server": "5.2.5",
    "@angular/router": "5.2.5",
    "@ngtools/webpack": "1.9.8",
    "@types/chai": "4.1.2",
    "@types/webpack-env": "1.13.5",
    "angular2-router-loader": "0.3.5",
    "angular2-template-loader": "0.6.2",
    "aspnet-prerendering": "3.0.1",
    "aspnet-webpack": "2.0.1",
    "awesome-typescript-loader": "3.4.1",
    "bootstrap": "3.3.7",
    "chai": "4.1.2",
    "css": "2.2.1",
    "css-loader": "0.28.9",
    "es6-shim": "0.35.3",
    "event-source-polyfill": "0.0.12",
    "expose-loader": "0.7.4",
    "extract-text-webpack-plugin": "3.0.2",
    "file-loader": "1.1.6",
    "html-loader": "0.5.5",
    "isomorphic-fetch": "2.2.1",
    "jquery": "3.3.1",
    "json-loader": "0.5.7",
    "preboot": "5.1.7",
    "raw-loader": "0.5.1",
    "reflect-metadata": "0.1.12",
    "rxjs": "5.5.6",
    "style-loader": "0.20.1",
    "to-string-loader": "1.1.5",
    "typescript": "2.7.1",
    "url-loader": "0.6.2",
    "webpack": "3.11.0",
    "webpack-hot-middleware": "2.21.0",
    "webpack-merge": "4.1.1",
    "zone.js": "0.8.20",
    "hammerjs": "2.0.8"
  }
}

webpack.config.vendor.js
const path = require('path');
const webpack = require('webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const merge = require('webpack-merge');
const treeShakableModules = [
    '@angular/animations',
    '@angular/common',
    '@angular/compiler',
    '@angular/core',
    '@angular/forms',
    '@angular/http',
    '@angular/platform-browser',
    '@angular/platform-browser-dynamic',
    '@angular/router',
    "@angular/cdk",
    "@angular/material",
    "@angular/flex-layout",
    'zone.js',
    "hammerjs"
];
const nonTreeShakableModules = [
<EMAIL_ADDRESS>    'es6-promise',
    'es6-shim',
    'event-source-polyfill',
    'jquery'
];
const allModules = treeShakableModules.concat(nonTreeShakableModules);

module.exports = (env) => {
    const extractCSS = new ExtractTextPlugin('vendor.css');
    const isDevBuild = !(env && env.prod);
    const sharedConfig = {
        stats: { modules: false },
        resolve: { extensions: [ '.js' ] },
        module: {
            rules: [
                { test: /\.(png|woff|woff2|eot|ttf|svg)(\?|$)/, use: 'url-loader?limit=100000' }
            ]
        },
        output: {
            publicPath: 'dist/',
            filename: '[name].js',
            library: '[name]_[hash]'
        },
        plugins: [
          new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery' }), // Maps these identifiers to the jQuery package (because Bootstrap expects it to be a global variable)
          new webpack.ContextReplacementPlugin(/\@angular\b.*\b(bundles|linker)/, path.join(__dirname, './ClientApp')), // Workaround for https://github.com/angular/angular/issues/11580
          new webpack.ContextReplacementPlugin(/angular(\\|\/)core(\\|\/)@angular/, path.join(__dirname, './ClientApp')), // Workaround for https://github.com/angular/angular/issues/14898
          new webpack.ContextReplacementPlugin(/\@angular(\\|\/)core(\\|\/)esm5/, path.join(__dirname, './ClientApp')), // Workaround for https://github.com/angular/angular/issues/20357
          new webpack.IgnorePlugin(/^vertx$/) // Workaround for https://github.com/stefanpenner/es6-promise/issues/100
        ]
    };

    const clientBundleConfig = merge(sharedConfig, {
        entry: {
            // To keep development builds fast, include all vendor dependencies in the vendor bundle.
            // But for production builds, leave the tree-shakable ones out so the AOT compiler can produce a smaller bundle.
            vendor: isDevBuild ? allModules : nonTreeShakableModules
        },
        output: { path: path.join(__dirname, 'wwwroot', 'dist') },
        module: {
            rules: [
                { test: /\.css(\?|$)/, use: extractCSS.extract({ use: isDevBuild ? 'css-loader' : 'css-loader?minimize' }) }
            ]
        },
        plugins: [
            extractCSS,
            new webpack.DllPlugin({
                path: path.join(__dirname, 'wwwroot', 'dist', '[name]-manifest.json'),
                name: '[name]_[hash]'
            })
        ].concat(isDevBuild ? [] : [
            new webpack.optimize.UglifyJsPlugin()
        ])
    });

    const serverBundleConfig = merge(sharedConfig, {
        target: 'node',
        resolve: { mainFields: ['main'] },
        entry: { vendor: allModules.concat(['aspnet-prerendering']) },
        output: {
            path: path.join(__dirname, 'ClientApp', 'dist'),
            libraryTarget: 'commonjs2',
        },
        module: {
            rules: [ { test: /\.css(\?|$)/, use: ['to-string-loader', isDevBuild ? 'css-loader' : 'css-loader?minimize' ] } ]
        },
        plugins: [
            new webpack.DllPlugin({
                path: path.join(__dirname, 'ClientApp', 'dist', '[name]-manifest.json'),
                name: '[name]_[hash]'
            })
        ]
    });

    return [clientBundleConfig, serverBundleConfig];
}

boot.server.ts (default)
import 'reflect-metadata';
import 'zone.js';
import 'rxjs/add/operator/first';
import { APP_BASE_HREF } from '@angular/common';
import { enableProdMode, ApplicationRef, NgZone, ValueProvider } from '@angular/core';
import { platformDynamicServer, PlatformState, INITIAL_CONFIG } from '@angular/platform-server';
import { createServerRenderer, RenderResult } from 'aspnet-prerendering';
import { AppModule } from './app/app.server.module';

enableProdMode();

export default createServerRenderer(params => {
    const providers = [
        { provide: INITIAL_CONFIG, useValue: { document: '<app></app>', url: params.url } },
        { provide: APP_BASE_HREF, useValue: params.baseUrl },
        { provide: 'BASE_URL', useValue: params.origin + params.baseUrl },
    ];

    return platformDynamicServer(providers).bootstrapModule(AppModule).then(moduleRef => {
        const appRef: ApplicationRef = moduleRef.injector.get(ApplicationRef);
        const state = moduleRef.injector.get(PlatformState);
        const zone = moduleRef.injector.get(NgZone);

        return new Promise<RenderResult>((resolve, reject) => {
            zone.onError.subscribe((errorInfo: any) => reject(errorInfo));
            appRef.isStable.first(isStable => isStable).subscribe(() => {
                // Because 'onStable' fires before 'onError', we have to delay slightly before
                // completing the request in case there's an error to report
                setImmediate(() => {
                    resolve({
                        html: state.renderToString()
                    });
                    moduleRef.destroy();
                });
            });
        });
    });
});

It sounds like there are additional config steps needed for Angular Material. Since that's a third-party package, I don't know what those steps are, so you'd need to check Angular Material docs for details.
However to make this easier, you might want to consider using our newer Angular CLI-based template. This means you have a completely standard Angular project, so whatever setup steps are most commonly used for third-party packages will be sure to work just the same for your project. For installation info, please see: https://docs.microsoft.com/en-us/aspnet/core/spa/angular?tabs=visual-studio

This should fix the issue: https://github.com/angular/material2/pull/9771

It change nothing..

@bastienlemaitre angular/material2#9771 is tagged as "release: major" so it's only available in v6+
I'm using<EMAIL_ADDRESS>for my Angular 5 apps.


Search is case-sensitive for Brokers configs and Topics

Describe the bug
Search is case-sensitive only for Brokers configs and Topics
Set up
https://www.kafka-ui.provectus.io/
Steps to Reproduce

Navigate to Brokers/Broker configs
Fill value within "Search by key"
Navigate to Topics
Fill value within Search by Topic Name
Navigate to Schema Registry/Consumers
Fill value within search field

Actual result:
Search is case-sensitive only for Brokers configs and Topics
Expected behavior
Search should work the same way for all components to keep consistency
Screenshots
https://user-images.githubusercontent.com/104780608/206407320-08eb2ab2-c5d5-4078-8dbe-1aa6970a9710.mov

@David-DB88 check FE part first, let me know which BE endpoints we have to fix as well

and i think this one for the broker get const response = await this.request({
path: /api/clusters/{clusterName}/brokers/{id}/configs.replace({${"clusterName"}}, encodeURIComponent(String(requestParameters.clusterName))).replace({${"id"}}, encodeURIComponent(String(requestParameters.id))),
method: 'GET',
headers: headerParameters,
query: queryParameters,
}, initOverrides);
    return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(BrokerConfigFromJSON));
}

https://github.com/provectus/kafka-ui/issues/3346 added for Broker configs search


Deploy Databricks workspace with Enhanced Security add-on fails while using the example given

When deploying a new workspace with the enhanced security add-on enabled (following the snippet on the page), I get an error that the parameters for the add-on are not usable: (I used the API version mentioned in the snippet: 2023-09-15-preview)
##[error]ApplianceProvisioningFailed: Deployment template validation failed: 'The template parameters 'automaticClusterUpdate, enhancedSecurityMonitoring, complianceSecurityProfile, complianceStandards' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'amlWorkspaceId, customPrivateSubnetName, customPublicSubnetName, customVirtualNetworkId, denyPublicAccessToDbfs, diskEncryptionSetName, enableFedRampCertification, enableNoPublicIp, isWorkspaceUpdateOperation, isUcDefaultFeatureEnabled, loadBalancerBackendPoolName, loadBalancerId, managedDisksCmkKeyAutoRotation, managedDisksCmkKeyUri, natGatewayName, prepareEncryption, publicIpName, requireInfrastructureEncryption, resourceTags, storageAccountName, storageAccountSkuName, vnetAddressPrefix'. Please see https://aka.ms/arm-pass-parameter-values for usage details.'.
Is the API version correct, since it is not documented? Or do I need another API version to get this working?

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

ID: 4019f6f7-7f10-ca09-54c2-5a112ac14c28
Version Independent ID: 4019f6f7-7f10-ca09-54c2-5a112ac14c28
Content: Enhanced Security and Compliance add-on - Azure Databricks
Content Source: databricks/security/privacy/enhanced-security-compliance.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

Due to my own fault, the enhanced security part was placed in the parameters section of the ARM template, while it should be in the options part. Sorry for the inconvenience, it now works for me. But it should be better if the API version used (2023-09-15-preview) was also documented, now it is not and then people are not willing to use it.


Face error when I am training my own data

Hi @rykov8,  I have a error problem.
When I try to train my own image dataset(follow SSD_training notebook), I face a error as follow:
832/1264 [==================>...........] - ETA: 634s - loss: 2.3086Exception in thread Thread-12:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 404, in data_generator_task
generator_output = next(generator)
File "/home/optsai/文件/Object detection/test_training.py", line 197, in generate
img = jitter(img)
File "/home/optsai/文件/Object detection/test_training.py", line 102, in contrast
gs = self.grayscale(rgb).mean() * np.ones_like(rgb)
File "/home/optsai/文件/Object detection/test_training.py", line 86, in grayscale
return rgb.dot([0.299, 0.587, 0.114])
ValueError: shapes (300,300) and (3,) not aligned: 300 (dim 1) != 3 (dim 0)
Can you tell me how to fix it?? This is my code.
train.txt

hey man what was the solution of this error ?

any case your data is gray-scale?
if so you have to convert it to rgb ( channel => 3)
if you want to use the pre-trained model as is.

@MicBA Yes I realized it last night like you said, there are some grayscale images and I have to convert it , thanks a lot

@MicBA Thank you ! you saved me ! :) By the way, how did you guess it was a gray-scale problem ?


cleanup and encode urls

use single quotes constantly in exchange classes
encode urls in exchange.py
update exchange.py to use rapidfuzz see this

We need to change fuzzywuzzy to rapidfuzz in setup.py.

Looks good. There are a couple of responses in course_management.py which are never used after being assigned. You can remove them in this PR if you want.

I noticed them. I will merge this for now.


Fix typos in the usage.md

I've noticed those when I was writing a TypeScript definition file.
Created using online GitHub editor. Let me know if you don't like the patch-1 branch name and I'll reopen it.

Thanks for cleaning these up!


Disable read tx timeout on long-running RPCs

If you run reth with a long eth proof window, and try to call e.g.:

eth_getProof, or
debug_executionWitness

Then you may run into a read tx timeout if trying to fetch a witness that is very far back. The read tx timeout should be disabled when calling these
### Tasks
- [ ] https://github.com/paradigmxyz/reth/issues/11760
- [ ] https://github.com/paradigmxyz/reth/issues/11758

@Rjected I believe this is done by https://github.com/paradigmxyz/reth/pull/11856

yep, thx


Add task count remaining to "tod filter process"

Similar to "Tod task next" , print the "45 task(s) remaining" (or however many) when using "Tod filter process"
(Because I use filters for my actions, I use "Tod filter process" to get through my workflow instead of "Tod task next", but it's missing feature parity with the "Tod task next")

Added in this PR: https://github.com/alanvardy/tod/pull/648 :+1:

(let me know what you think of the formatting)

Look great - thanks!


Unexpected unsupported file name dialog

Storage Explorer Version: 1.2.0
Platform: Windows
Architecture: win32
Regression From: Unknown
Steps to Reproduce:

Go to StorageExplorer/coolstorageencrypted/encrypted
Navigate into .vscode
Double click on tasks.json

Expected Experience:
tasks.json just opens up
Actual Experience:
I get an encoded file name dialog, with the filename having a giant GUID in it:

Verified this issue on latest rel/1.9.0 build 20190628.4, still reproduces.


Should test runners print platform information or not?

Since sample output will vary on platforms, should test runners print platform information or not to help dealing with sample outputs?

ping @jviide

And runner name/version?


Publisher UI allow to add restricted special characters from the UI as a Tag

Description:
Even though '{' and '}' are restricted characters UI allows to add a tag with it. But it fails when saving the api.

Since this is not an issue, We will close this. With the {} it is not allowing to save the api (gives an error)


Bar Graph missing download button.

Why no download button for Bar Graph ? How to add the download button for it?
https://colorlib.com/polygon/gentelella/echarts.html

Hi,
Just look through options here ( Echarts - examples ) , this would help you out :)


JSR imports

E.g.,
import {printProgress} from "jsr:@luca/flag";

But it’s not clear to me that the JSR API supports conversion to vanilla ES modules? Like, I get that I can fetch<EMAIL_ADDRESS>but how would I get the default entry into a module? And how would I bundle and convert TypeScript to vanilla JavaScript? 🤔
Ref. https://jsr.io/docs/native-imports
Ref. https://jsr.io/docs/api
Ref. https://jsr.io/docs/native-imports#implementing-native-jsr-imports-in-tools (not yet written)

Some clues here… It looks like we could use the npm compatibility API to download the tarball, which contains the transpiled ES modules. So https://npm.jsr.io/@jsr/luca__flag tells us which versions are available and what’s the latest
{
  "name": "@jsr/luca__flag",
  "description": "I like flags!",
  "dist-tags": {
    "latest": "1.0.1"
  },
  "versions": {
    "1.0.1": {
      "name": "@jsr/luca__flag",
      "version": "1.0.1",
      "description": "I like flags!",
      "dist": {
        "tarball"<EMAIL_ADDRESS>        "shasum": "121867B05BC5E2DC7B8B0D094D257441B3925A03",
        "integrity": "sha512-H0HxTnwINL5VPb0d9Paa0rlWYKyEmm+/tKRodWcKQxOEDCQ2uSaIQmPacT6LH8r6nERmMt8qHOjIYo7F2Dpg3Q=="
      },
      "dependencies": {}
    },
    "1.0.0": {
      "name": "@jsr/luca__flag",
      "version": "1.0.0",
      "description": "I like flags!",
      "dist": {
        "tarball"<EMAIL_ADDRESS>        "shasum": "AE1F23270B377B1733E3C6626589A51A39998206",
        "integrity": "sha512-o3aiKqepCk3D3XHVoHH81Td6XDPa7VQWQabn566sLTFUxxX+vN+2BVxShji3bVply57l1n6Z07Q6g+4Gh5cNnQ=="
      },
      "dependencies": {}
    }
  },
  "time": {
    "created": "2023-12-14T23:05:13.518Z",
    "modified": "2024-02-08T00:18:46.212Z",
    "1.0.1": "2024-01-26T19:05:08.325Z",
    "1.0.0": "2023-12-15T11:19:06.411Z"
  }
}

and then<EMAIL_ADDRESS>gives us
package
├── main.d.ts
├── main.js
└── package.json

1 directory, 3 files

And then the package.json gives the default export (or at least .):
{
  "name": "@jsr/luca__flag",
  "version": "1.0.1",
  "homepage": "https://jsr.io/@luca/flag",
  "type": "module",
  "dependencies": {},
  "exports": {
    ".": "./main.js"
  }
}

And the main.js is ES modules. Though I imagine we’ll have to rewrite external imports… not sure what those look like yet.

I imagine we could expand the tarball into docs/.observablehq/cache/_jsr/<EMAIL_ADDRESS>and this would dovetail nicely with our existing self-hosted npm imports.

FWIW esm.sh also supports JSR directly, which is what I'm using right now. You can run:
import {printProgress} from "https://esm.sh/jsr/<EMAIL_ADDRESS>
ESM.sh does a lot of its own transpiling & import changes etc, but it could be a good option because it skips all of the NPM compatibility transforms. Very similar to the current jsDelivr solution.


Crash on trigger

Player.log
Hi.
Upon pressing the hotkey to trigger the mod, it caused the game to crash.

Can you attach your BePinEx log as well? It has the info I need. It is located in "VRising\BepInEx\LogOutput.log"

LogOutput.log
here you go. It happened just now for the 2nd time. Its triggered when I use the hotkey. Not sure if its a compatibility issue with other mods.
Also unlike before where the items are transferred before the crash, this time it isnt.

Hmm it looks weird, there are no issues in the log I can see. But I have some ideas for what it could be anyway, I'll try and see if I can fix it anyway.

Try the latest version, it should be fixed now.

[Error  :   BepInEx] Error loading [quick_stash 1.2.3]: System.TypeLoadException: Could not resolve type with token 01000037 from typeref (expected class 'Wetstone.API.VNetworkRegistry' in assembly 'Wetstone, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null')
at vrising_stash.Plugin.Load () [0x00027] in :0
at BepInEx.IL2CPP.IL2CPPChainloader.LoadPlugin (BepInEx.PluginInfo pluginInfo, System.Reflection.Assembly pluginAssembly) [0x00011] in <20831d408969472ba3d48658d4a1512f>:0
at BepInEx.Bootstrap.BaseChainloader`1[TPlugin].Execute () [0x00284] in <91aaa8349151457a98c04caf9728bc52>:0
This is the new error Im getting upon booting V Rising

It's also generating an error when attempting to trigger the quickstash when using 1.2.3. It also does nothing. but the settings still shows the option to set the hotkey.

Do you have the latest QuickStash and Wetstone on both the server and client?

Yes i think so.
Server/Client has 1.2.3 Quickstash
Wetstone is v1.1

I have the same issue with both latest version

I just tried a fresh install of both Wetstone and Quickstash 1.2.3 and it works for me. It looks like a Wetstone issue from the logs though. Can you try and reinstall both Wetstone and Quickstash in both the server and client?

I just restart the game and the issue is gone...


Fix compression param in the spec file

When attempting to specify lz4-2 OpenVPN would fail to start with unknown compression options, changing to lz4-v2 resolves this.

Good catch - thanks!

Out of curiosity, did you run into any bugs or concerns with the default auto behavior?

I didn't have any issues with it running in my previous configuration, however for security I usually disable it altogether (re: Voracle) and may suggest it become the default as such. Recently I had a use case where speed and throughput were more important in a low risk environment and after a few benchmarks I found that UDP + lz4-v2 + a few extra configs were best for the server's CPU and overall performance.

I think it makes sense to change the default as well. I'll queue it for more thought and potentially the next major version change - I have some other planned changes queued up for that as well. If you have more thoughts, I made an issue to track it.
Agreed that UDP is going to provide noticeably better throughput in stable network environments.
If you have any authoritative OpenVPN configuration references or recommendations on other default configuration changes, I'm happy to chat more.
Thanks!


NPM versions available on Azure?

I am trying to get my web app to deploy on Azure and I am running to the long paths issue with npm@2.
Googling around lead me to this repo and other mentions of using 3.1.0. #1 points to 3.3.6 being available too, but the current stable version is 3.8.1. Any idea how to check on which npm versions are available on Azure?
Pinging @davidebbo too.

To get the full list of supported Node and npm:

Go to https://[yoursite].scm.azurewebsites.net/
Click on 'Runtime versions' under API

Thanks @davidebbo!


Separate read write + Fix accumulation and transfer logic

Reference safe-nd with separate read write.
Fix validation accumulation.
Fix apply(transfer) (next_debit_version was not updated).
Negates validation of replica keys (temporarily) during credit/sync with simulated-payouts flag
Adds support for SectionProofChain checking in safe_vault
Adds tests

About the obscure function passed into registration and propagation methods.
I'd prefer this was implemented the same way as we have done in Actor already, i.e. like:
For one, it keeps the code for solving the same type of problem consistent.
But also, it makes the API cleaner.
pub struct Replica<V: KeyHistoryValidator> {
[...]
/// The passed in history_validator, contains the logic from upper layers
/// for determining if a PublicKey used to sign a DAP, is part of the history of this Replica group.
history_validator: V,
}

We can do the Replica key history validator thing in a follow up PR.


Add screening package

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#142  👈
#141
#140
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tremarkley and the rest of your teammates on  Graphite


Add resolveMapperTypes

usage:
public interface SelectAllMapper<T> {
  @SelectProvider(type = SelectAllProvider.class, method = "selectAll")
  List<T> selectAll();
}

public interface DeleteByPrimaryKeyMapper<T> {
  @DeleteProvider(type = DeleteByPrimaryKeyProvider.class, method = "deleteByPrimaryKey")
  int deleteByPrimaryKey(Object key);
}

public interface MyMapper extends SelectAllMapper<Country>, DeleteByPrimaryKeyMapper<City> {
}

DeleteByPrimaryKeyProvider as follows:
public String deleteByPrimaryKey(Object key, ProviderContext context){
       Method mapperMethod = context.getMapperMethod();
       Class<?> mapperType = context.getMapperType();
       Class genericType = (Class)TypeParameterResolver.resolveMapperTypes(mapperType, mapperMethod)[0];
       Table table = (Table) genericType.getAnnotation(Table.class);
       return "delete from " + table.name() + " where id = #{_parameter}";
}

@harawata Although this usage is not common, it will be used when needed.  After adding this method, this class will be complete.

Hi @abel533 ,
Thank you for the PR, but this class is an internal utility.
As it's portable, you are welcome to copy it to you project and make necessary changes. :)

Just for future reference,TypeParameterResolver has been released as a standalone tool.
https://github.com/harawata/typeparameterresolver
The functionality requested in this PR was added to the standalone version (in a slightly different manner).
public String deleteByPrimaryKey(Object key, ProviderContext context){
  Class<?> parentMapperType = context.getMapperMethod().getDeclaringClass();
  Class<?> mapperType = context.getMapperType();
  Type[] types = TypeParameterResolver.resolveClassTypeParameters(parentMapperType, mapperType);
  Class<?> domainClass = (Class<?>)types[0];
  Table table = (Table) domainClass.getAnnotation(Table.class);
  return "delete from " + table.name() + " where id = #{_parameter}";
}


No Artwork will display

Used docker and TrueNas Scale versions of the app. About 3 or so months ago the app stopped displaying any images/posters.  The connections work fine still though.
I did not find any issues with the configurations
I did not see anything being blocked in my network
The Application still generated the image links, but if you view them outside the app they are none existing images
I checked with Firefox, Brave, desktop and mobile just to make sure

Is it all images that are missing, or just for a specific thing? eg plex, sonarr, radarr, etc

Is it all images that are missing, or just for a specific thing? eg plex, sonarr, radarr, etc

I had them all set up, and none of them were providing any images. I tried fresh docker container on a different system too, same thing.
I am going to troubleshoot some more tonight.

I am seeing the same issue on my docker install. This is what was showing repeatedly in the logs:
RangeNotSatisfiableError: Range Not Satisfiable
    at createHttpError (/usr/src/node_modules/send/index.js:984:7)
    at SendStream.error (/usr/src/node_modules/send/index.js:270:31)
    at SendStream.send (/usr/src/node_modules/send/index.js:666:19)
    at onstat (/usr/src/node_modules/send/index.js:725:10)
    at FSReqCallback.oncomplete (fs.js:193:5)

I am seeing the same issue on my docker install. This is what was showing repeatedly in the logs:
RangeNotSatisfiableError: Range Not Satisfiable
    at createHttpError (/usr/src/node_modules/send/index.js:984:7)
    at SendStream.error (/usr/src/node_modules/send/index.js:270:31)
    at SendStream.send (/usr/src/node_modules/send/index.js:666:19)
    at onstat (/usr/src/node_modules/send/index.js:725:10)
    at FSReqCallback.oncomplete (fs.js:193:5)

@Vandekieft , Are you using docker-compose? If so what does your docker-compose file look like for Posterr?

I have been too busy to check recently. But I did a compose via portainer, and just traditional CLI. My main method of using this app was through TrueNAS scale TrueCharts. I briefly did the docker builds and then removed them after they did not work. I figured it was something in my network at first so I then stuck witht he TrueCharts and was troubleshooting there.
Eventually Ill get back to check it. Another busy week and I can't yet. Sorry for the lack of logs.

So randomly this week some of the artwork started showing up again.  This was interesting because I did not change anything except for how my images are stored in Tautulli. I switched from Cloudinary to local.
I reviewed all the URLs that were for images in the postarr page and about 30% of them loaded real images and the remaining 70% still just displayed blank.  I still do not see any errors anywhere, but is Tautulli the main source for how the images are displayed? All my legacy urls for Tautulli still load the proper images.

So randomly this week some of the artwork started showing up again.  This was interesting because I did not change anything except for how my images are stored in Tautulli. I switched from Cloudinary to local.
I reviewed all the URLs that were for images in the postarr page and about 30% of them loaded real images and the remaining 70% still just displayed blank.  I still do not see any errors anywhere, but is Tautulli the main source for how the images are displayed? All my legacy urls for Tautulli still load the proper images.

@Vandekieft can you share your compose yaml? Also, can you tell me how many on-demand titles you have selected? (less is more here. Better to keep it under 20, have 15-20 second slide transitions, and a 20 minute refresh period.

So I started using Posterr with the TrueCharts build, but I figured that was the cause of my initial issue, so I just used the generic Compose template for testing and left it as it did not have any difference:
`version: '2.4'
services:
posterr:
image: petersem/posterr
container_name: posterr
environment:
TZ: America/Denver
BASEPATH: ""
volumes:
- /opt/posterr/config:/usr/src/app/config
- /opt/posterr/custom:/usr/src/app/public/custom
ports:
- 9876:3000
restart: unless-stopped`
I have had my on-demand at 15, 25, and 50. None of them made any difference.   I just have left posterr running even though I had this issue, and it comes and goes. A lot of the times it will be just the general blank view, and then randomly it will show the posters for most of the day. I really do not know where the issue lies. I know this is not very helpful but I was lost.  I was certain this issue was my network, but noting would confirm that. Then I was thinking TrueCharts, but still nope.  I run plenty of other docker containers with volumes in the same /opt/ matching similar or the same permissions but they all seem to work just fine.
Here is what it mostly looks like...

Looks like since the update to Radarr a few weeks ago, the images are not pulling correctly. I get the "poster not available" poster on all movies but the Sonarr TV posters still work. The latest update for Radarr requires enabling authentication and ever since that setting was enabled, I can't see the artwork/poster art. I have tried to disable the authentication but it is mandatory and I have tried to set it so that local access doesn't check SSL but there is no option to disable local authentication.

Looks like since the update to Radarr a few weeks ago, the images are not pulling correctly. I get the "poster not available" poster on all movies but the Sonarr TV posters still work. The latest update for Radarr requires enabling authentication and ever since that setting was enabled, I can't see the artwork/poster art. I have tried to disable the authentication but it is mandatory and I have tried to set it so that local access doesn't check SSL but there is no option to disable local authentication.

I'm getting the same issue on my end. I've tried everything I can think of to remedy the issue, but nothing has worked.

Fixed in the lastest release (as of 5 minutes ago). Radarr changed the json data name for images (dont ask me why).


Build equivalent of WellcomeMetsPackageProvider

In Current DDS, this converts from Sierra metadata and IMetsRepository objects into the Package Model - https://wellcomelibrary.org/package/b28047345
We then convert the package model to IIIF2.
In iiif-builder, we go direct from METS and catalogue records to IIIF3.
That means all the accumulated business logic in WellcomeMetsPackageProvider needs to live on in IIIFBuilder.
This is where all those little edge-cases and interesting rules live. Things like image reordering, interpretation of how METS structures video and audio...

For #4734, make sure everything the PDF cover page needs is in the manifest.
Including looked-up license text from dictionaries.

Was trying to see if we can control the serialisation order of the IIIF JSON without cluttering up the classes in https://github.com/wellcomecollection/iiif-builder/tree/master/src/Wellcome.Dds/IIIF/Presentation with attributes.
You can do this by implementing a ContractResolver but that's too much intervention and maintenance.
Ideally, an external fluent declaration outside of the IIIF Model classes, decorating the properties with their order. This doesn't seem to be possible.
System.Text.Json doesn't acknowledge the importance of serialisation order for aesthetics and usability.
https://github.com/dotnet/runtime/issues/728
That's out then, unless we serialise manually...
So, it has to be [JsonProperty(Order = 2)] from Json.NET, as in the v2 model, e.g.,
https://github.com/digirati-co-uk/iiif-model/blob/master/Digirati.IIIF/Model/Types/Manifest.cs

Done, apart from C&D, for which I will create a new ticket.
As we test and validate all 400K+ possible collections and manifests, there will be tweaking and bug fixing, but first pass is done.


Add gpt-4* models to list of valid models

Hi Anton,
When I try to use gpt-4 for chat completion, with a call like:
openai-completion(
...
          type => 'chat',
          model => 'gpt-4',
          format => 'values',
        );

I get an error like this:
The argument $model is expected to be Whatever or one of the strings:...list of strings without gpt-4...

This PR adds gpt-4 and friends to the list of valid models
thanks
Brian

Until recently, when I make queries to OpenAI "gpt-4*" models were not in the obtained lists.
That said, the model verification is sub-optimal, is still just somewhat better than the first, MVP version of "WWW::OpenAI".

BTW, I still to not see "gpt-4*"  in the OpenAI model calls I make with "HTTP::Tiny" or curl:
curl https://api.openai.com/v1/models -H "Authorization: Bearer $OPENAI_API_KEY" | grep 'gpt-'

      "root": "gpt-3.5-turbo-0301",
      "id": "gpt-3.5-turbo",
      "root": "gpt-3.5-turbo",

Merged -- thanks!


InvokedItemContainer from ItemInvoked event parameter is null when selecting a databound item in a NavigationView overflow dropdown

Describe the bug
I hope I am using the correctly terminology here when I say Overflow, what I mean is when you resize the application so the NavigationView can no longer display all icons and some are put in a drop-down menu.
So whenever the ItemInvoked event fires, if the selected item was one of the items in the dropdown menu the InvokedItemContainer (from NavigationViewItemInvokedEventArgs)  will be null. I first noticed this in a C++ app, but it seems like the same behavior is present in a C# app under the same circumstances. This will only happen with data-bound items as far as I can see. If the NavigationViewItems are defined in Xaml the event fires and InvokedItemContainer is not null.
The ItemInvoked property in NavigationViewItemInvokedEventArgs is the correct one either way, it is only the InvokedItemContainer that is null. At first I thought it may have something to do with the MenuItemTemplate I was using, but removing this produced the same effect.
Steps to reproduce the bug

Create a WinUI 3 C# Blank App.

Replace default stackpanel with this in MainWindow.xaml:

    <NavigationView ItemInvoked="ItemInvokedEvent" PaneDisplayMode="Top" MenuItemsSource="{x:Bind ViewModel.MenuItems}" >
        <NavigationView.MenuItemTemplate>
            <DataTemplate x:DataType="local:NavigationItem">
                <NavigationViewItem Content="{x:Bind Name}"/>
            </DataTemplate>
        </NavigationView.MenuItemTemplate>
    </NavigationView>

Replace the code in MainViewModel.xaml.cs with this:

public sealed partial class MainWindow : Window
{
	public MainWindow()
	{
		this.ViewModel = new MainViewModel();
		this.InitializeComponent();
	}

	private void ItemInvokedEvent(NavigationView sender, NavigationViewItemInvokedEventArgs args)
	{
		if (args.InvokedItemContainer == null)
			System.Diagnostics.Debug.WriteLine("InvokedItemContainer is null");
		else
			System.Diagnostics.Debug.WriteLine("InvokedItemContainer is not null");
	}

	public MainViewModel ViewModel { get; private set; }
}

public class MainViewModel
{
	public MainViewModel()
	{
		this.MenuItems =
			new System.Collections.ObjectModel.ObservableCollection<NavigationItem>()
			{
				new NavigationItem{ Name = "Item 1" },
				new NavigationItem{ Name = "Item 2" },
				new NavigationItem{ Name = "Item 3" },
			};
	}

	public System.Collections.ObjectModel.ObservableCollection<NavigationItem> MenuItems { get; private set; }
}

public class NavigationItem
{
	public string Name { get; set; }
}

Build and run the app.
Resize the app until one or two of the items end up in the overflow drop-down.
Try clicking one of the menu items in the drop-down and observe the state of InvokedItemContainer when ItemInvoked fires.

Expected behavior
I would have expected InvokedItemContainer not to be null.
Screenshots

In this image clicking Item 2 or 3 will result in a ItemInvoked event where the ItemInvokedContainer is null.
NuGet package version
WinUI 3 - Windows App SDK 1.0 (If you're seeing your issue in older previews of WinUI 3, please try this release)
Windows app type

[ ] UWP
[X] Win32

Device form factor
Desktop
Windows version
May 2021 Update (19043)
Additional context
I have only seen this when PaneDisplayMode is set to Top as I could not reproduce the circumstances that create the overflow menu when the mode was set to Left.

@ojhad is this behavior expected?