Update the source information

Type: Missing
Summary:
Update the source information
Details:
With the rise in supply chain attacks and OSS dependencies being used as a attack vector, Microsoft is working with our ecosystem partners, such as the Linux Foundation's OpenSSF, to enable OSS consumers to track packages back to their public sources.
Resolution:
This PR was created to add this value, ensuring future releases will include this provenance information.
Published NPM packages with repository information:
* sails-generate-sails.io.js
Affected definitions:

sails-generate-sails.io.js 0.13.4

README > docs link > contributing guide > open issue link > same GitHub user account. Approved.


Introduce Gopkg.template.toml

This brings the AWS repository into line with the other Terraform-backed providers (excluding GCP), and allows the workflow for updating this repository to use govendor-override < Gopkg.template.toml > Gopkg.toml and removes the need for removing overrides for protocol buffers.

It’s already up to date, this is just to bring the workflow in line with other repos.


Resolving maximum call stack size exceeded issue

This is a fix for #26 which seems to occur when too much data is queued up at once and then return using the recursive call.  We saw the error coming up when reading files with millions of lines and when pulling thousands of results from a DB.  I updated the code to follow the same logic as before, but use a loop instead to avoid recursion issues.
I read through another thread and saw this was discussed as a potential solution, the update passed all unit testing and worked well when I tested against a few additional stream examples.  Let me know your thoughts.

sorry, I no longer have access to merge and publish changes to this module. You'll need to publish this as map-stream2 (or whatever you choose) and maintain it yourself)


fix: Clear all session for Spring upgrade

Description

[!TIP]
Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team).
Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR.

Fixes #Issue Number
or
Fixes Issue URL

[!WARNING]
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.

Automation
/ok-to-test tags=""
:mag: Cypress test results

[!WARNING]
Tests have not run on the HEAD 42bc1fcaebaae11f97286b74633c91f751e47da7 yet
Fri, 04 Oct 2024 07:56:44 UTC

Communication
Should the DevRel and Marketing teams inform users about this change?

[ ] Yes
[ ] No

/build-deploy-preview skip-tests=true


Error in vq_vae example: sampled = dist.sample() throws error.

Hello there. I've tried running the vq_vae example in Colab. However in the "Codebook sampling" block, the line:
sampled = dist.sample()
throws the following error:

TypeError                                 Traceback (most recent call last)
 in ()
3 x = pixel_cnn(inputs, training=False)
4 dist = tfp.distributions.Categorical(logits=x)
----> 5 sampled = dist.sample()
6 sampler = keras.Model(inputs, sampled)
15 frames
/usr/local/lib/python3.7/dist-packages/tensorflow_probability/python/distributions/distribution.py in sample(self, sample_shape, seed, name, **kwargs)
1232     """
1233     with self._name_and_control_scope(name):
-> 1234       return self._call_sample_n(sample_shape, seed, **kwargs)
1235
1236   def _call_sample_and_log_prob(self, sample_shape, seed, **kwargs):
/usr/local/lib/python3.7/dist-packages/tensorflow_probability/python/distributions/distribution.py in _call_sample_n(self, sample_shape, seed, **kwargs)
1210         sample_shape, 'sample_shape')
1211     samples = self._sample_n(
-> 1212         n, seed=seed() if callable(seed) else seed, **kwargs)
1213     samples = tf.nest.map_structure(
1214         lambda x: tf.reshape(x, ps.concat([sample_shape, ps.shape(x)[1:]], 0)),
/usr/local/lib/python3.7/dist-packages/tensorflow_probability/python/distributions/categorical.py in _sample_n(self, n, seed)
246     return tf.reshape(
247         tf.transpose(draws),
--> 248         shape=ps.concat([[n], self._batch_shape_tensor(logits=logits)], axis=0))
249
250   def _cdf(self, k):
/usr/local/lib/python3.7/dist-packages/tensorflow_probability/python/distributions/distribution.py in _batch_shape_tensor(self, **parameter_kwargs)
1012     try:
1013       return batch_shape_lib.inferred_batch_shape_tensor(
-> 1014           self, **parameter_kwargs)
1015     except NotImplementedError:
1016       raise NotImplementedError('Cannot compute batch shape of distribution '
/usr/local/lib/python3.7/dist-packages/tensorflow_probability/python/internal/batch_shape_lib.py in inferred_batch_shape_tensor(batch_object, bijector_x_event_ndims, **parameter_kwargs)
113       bijector_x_event_ndims=bijector_x_event_ndims,
114       require_static=False,
--> 115       **parameter_kwargs)
116   return functools.reduce(ps.broadcast_shape, tf.nest.flatten(batch_shapes), [])
117
/usr/local/lib/python3.7/dist-packages/tensorflow_probability/python/internal/batch_shape_lib.py in map_fn_over_parameters_with_event_ndims(batch_object, fn, bijector_x_event_ndims, require_static, **parameter_kwargs)
360
361     results[param_name] = nest.map_structure_up_to(
--> 362         param, fn, param, param_event_ndims)
363   return results
/usr/local/lib/python3.7/dist-packages/tensorflow/python/util/nest.py in map_structure_up_to(shallow_tree, func, *inputs, **kwargs)
1427       lambda _, *values: func(*values),  # Discards the path arg.
1428       *inputs,
-> 1429       **kwargs)
1430
1431
/usr/local/lib/python3.7/dist-packages/tensorflow/python/util/nest.py in map_structure_with_tuple_paths_up_to(shallow_tree, func, *inputs, **kwargs)
1524       for path, _ in _yield_flat_up_to(shallow_tree, inputs[0], is_nested_fn))
1525   results = [
-> 1526       func(*args, **kwargs) for args in zip(flat_path_gen, *flat_value_gen)
1527   ]
1528   return pack_sequence_as(structure=shallow_tree, flat_sequence=results,
/usr/local/lib/python3.7/dist-packages/tensorflow/python/util/nest.py in (.0)
1524       for path, _ in _yield_flat_up_to(shallow_tree, inputs[0], is_nested_fn))
1525   results = [
-> 1526       func(*args, **kwargs) for args in zip(flat_path_gen, *flat_value_gen)
1527   ]
1528   return pack_sequence_as(structure=shallow_tree, flat_sequence=results,
/usr/local/lib/python3.7/dist-packages/tensorflow/python/util/nest.py in (_, *values)
1425   return map_structure_with_tuple_paths_up_to(
1426       shallow_tree,
-> 1427       lambda _, *values: func(*values),  # Discards the path arg.
1428       *inputs,
1429       **kwargs)
/usr/local/lib/python3.7/dist-packages/tensorflow_probability/python/internal/batch_shape_lib.py in get_batch_shape_tensor_part(x, event_ndims)
137   else:
138     base_shape = tf.shape(x)
--> 139   return _truncate_shape_tensor(base_shape, event_ndims)
140
141
/usr/local/lib/python3.7/dist-packages/tensorflow_probability/python/internal/batch_shape_lib.py in _truncate_shape_tensor(shape, rightmost_ndims_to_truncate)
174
175 def _truncate_shape_tensor(shape, rightmost_ndims_to_truncate):
--> 176   shape = ps.convert_to_shape_tensor(shape, dtype_hint=np.int32)
177   rightmost_ndims_to_truncate = ps.convert_to_shape_tensor(
178       rightmost_ndims_to_truncate, dtype_hint=np.int32)
/usr/local/lib/python3.7/dist-packages/tensorflow/python/util/traceback_utils.py in error_handler(*args, **kwargs)
151     except Exception as e:
152       filtered_tb = _process_traceback_frames(e.traceback)
--> 153       raise e.with_traceback(filtered_tb) from None
154     finally:
155       del filtered_tb
/usr/local/lib/python3.7/dist-packages/keras/layers/core/tf_op_layer.py in handle(self, op, args, kwargs)
105         isinstance(x, keras_tensor.KerasTensor)
106         for x in tf.nest.flatten([args, kwargs])):
--> 107       return TFOpLambda(op)(*args, **kwargs)
108     else:
109       return self.NOT_SUPPORTED
/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py in error_handler(*args, **kwargs)
65     except Exception as e:  # pylint: disable=broad-except
66       filtered_tb = _process_traceback_frames(e.traceback)
---> 67       raise e.with_traceback(filtered_tb) from None
68     finally:
69       del filtered_tb
/usr/local/lib/python3.7/dist-packages/six.py in raise_from(value, from_value)
TypeError: Dimension value must be integer or None or have an index method, got value '<attribute 'shape' of 'numpy.generic' objects>' with type '<class 'getset_descriptor'>'
I have made no modifications to the code.
Anyone know a way to fix this?
Thanks in advance for your precious time!
@sayakpaul

Downgrading to TensorFlow 2.5.0 should help resolve the issue.

Thank you for your timely input.
Downgrading to TensorFlow 2.5.0 in Colab with pip unsuprisingly broke CUDA acceleration and caused tensorflow-probability to complain about version compatibility.
However, downgrading to tensorflow-probability v0.13 solved the issue without having to downgrade the current version of TensorFlow in Colab (v2.8.0):
!pip install tensorflow-probability==0.13
It would be nice having some insight about why the error occurs when the version changes though, if someone can help.


Code depends on oauth2client.contrib.appengine but not installed by following instructions

This code depends on oauth2client.contrib.appengine but this is not installed by following instructions in the readme, i.e. running:
'pip install -t gae/lib/ google-api-python-client'
I fixed it with a further 'pip install -t gae/lib/ oauth2client'.
Not sure if affects it, but I did this inside a virtual environment to avoid pip issues with other installed packages (i.e. not installing things due to clashes in requirements).
Here is the traceback:
(/base/alloc/tmpfs/dynamic_runtimes/python27/b93f87cfaa0115e5_unzipped/python27_lib/versions/1/google/appengine/runtime/wsgi.py:263)
Traceback (most recent call last):
File "/base/alloc/tmpfs/dynamic_runtimes/python27/b93f87cfaa0115e5_unzipped/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 240, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/base/alloc/tmpfs/dynamic_runtimes/python27/b93f87cfaa0115e5_unzipped/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/base/alloc/tmpfs/dynamic_runtimes/python27/b93f87cfaa0115e5_unzipped/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 85, in LoadObject
obj = import(path[0])
File "/base/data/home/apps/xxxx/xxxx/main.py", line 21, in
from pubsub_utils import publish_to_topic
File "/base/data/home/apps/xxxx/xxxxxx/pubsub_utils.py", line 21, in
import oauth2client.contrib.appengine as gae_oauth2client
ImportError: No module named oauth2client.contrib.appengine

I had the same issue. Tried that fix and still getting the same error did you have re deploy the app of anything?

Required the same on the VM as a well

Very annoying

Am I supposed to run this on vm instance?

The sample has been updated to use Cloud Scheduler, so App Engine is no longer necessary.


Feature Request: Mobile App

A mobile app would be BOMB but at the very least, a mobile friendly web interface could work as bare minimum.
Thanks for all your work on this project, looks very nice and has so much potential. Will be sending some beer/coffee/pizza money your way soon.

A mobile app is planned though likely very far in the future.
In near future, though: once I get the layout pretty much stable I plan on taking a pass to get at least the basic functionality working on mobile ( view and manage tasks, etc).
I'm going to close this issue since there is already an issue open for the mobile UI. (#11)


Tutorial  - ng-annotate and .ng.js

To save confusion and make it easier to read; would it not be better to show all the examples of the controllers using the ng.js method as in  section 2 .
Also I would suggest making ng-annotate part of the Meteor Angular package as Meteor will perform minification when deployed.

@JohnAReid Agree with your first point.
will update soon.
about the second point - it already is...

thanks

@JohnAReid
Done!

Awesome @dotansimha !


auto completion should only be triggered if the editor has focus

otherwise it get also trigger if for example the title text is edited

lgtm, makes sense


Fix BIRD issue with unnamed protocols using templates

This works around an issue with BIRD that does not handle unnamed protocols when using templates.
The key change here is to add a name to the profiled protocol section.
so
protocol bgp  from bgp_template {   ->   protocol bgp bgp_name from bgp_template {

This is required to get GR working.  Without this, a reload of BIRD config results in all routes being dropped.
I've named each protocol section according to the IP address of the peer (with . and : replaced with _).

LGTM.


keras.utils.plot_model returns Expected string data

Describe the bug
I expected that function plot_model plots a keras graph. However, the cell returns

Something went wrong
Expected string data
If this is an issue with marimo, please report it on GitHub.

Environment
{
"marimo": "0.6.25",
"OS": "Windows",
"OS Version": "10",
"Processor": "Intel64 Family 6 Model 186 Stepping 2, GenuineIntel",
"Python Version": "3.12.3",
"Binaries": {
"Browser": "--",
"Node": "v16.19.1"
},
"Requirements": {
"click": "8.1.7",
"importlib-resources": "missing",
"jedi": "0.18.1",
"markdown": "3.6",
"pymdown-extensions": "10.8.1",
"pygments": "2.15.1",
"tomlkit": "0.12.5",
"uvicorn": "0.30.1",
"starlette": "0.37.2",
"websockets": "12.0",
"typing-extensions": "4.11.0",
"black": "24.4.2"
}
}
Code to reproduce
import marimo as mo
import os
import keras
graphviz_bin = r"C:\Program Files\Graphviz\bin"
os.environ["PATH"] += os.pathsep + graphviz_bin

model = keras.models.Sequential()
model.add(keras.layers.Input(shape=(1,)))
model.add(keras.layers.Dense(2, activation='relu'))
model.add(keras.layers.Dense(1, activation='sigmoid'))
keras.utils.plot_model(model)

@essicolo just cut version 0.6.26, which contains a fix. Should be on PyPI momentarily.


Jsoncpp does not link to Drogon

Using FetchContent, Drogon isn't building due to an issue finding Jsoncpp. This is a bug as Jsoncpp should be imported similar to Trantor, as a submodule. It seems to be required to add Jsoncpp yourself like described below.
By itself in CMakeLists.txt, Jsoncpp builds and runs fine:
FetchContent_Declare(
    jsoncpp
    GIT_REPOSITORY https://github.com/open-source-parsers/jsoncpp
    GIT_TAG 1.9.4
)
...
FetchContent_MakeAvailable(jsoncpp)
...
target_link_libraries(${PROJECT_NAME} PRIVATE jsoncpp_lib)

However Drogon does not seem to find it, specifically in FindJsoncpp.cmake with error:
CMake Error at .../cmake-3.30.4/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find Jsoncpp (missing: JSONCPP_INCLUDE_DIRS JSONCPP_LIBRARIES)
Call Stack (most recent call first):
  .../cmake-3.30.4/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  build/_deps/drogon-src/cmake_modules/FindJsoncpp.cmake:36 (find_package_handle_standard_args)
  build/_deps/drogon-src/CMakeLists.txt:189 (find_package)

The include directory can be manually fixed with set(CMAKE_INCLUDE_PATH "${CMAKE_CURRENT_BINARY_DIR}/_deps/jsoncpp-src/include") however I cannot find a way to fix find_library(JSONCPP_LIBRARIES ...). The find_library method is looking for a *.a or *.so file I believe which does not exist in any of the built Jsoncpp directories. Is there a way to download Jsoncpp using FetchContent? It seems the only solution I have found, which I haven't tested yet, is to manually download Jsoncpp.
Desktop (please complete the following information):

OS: Ubuntu 18.04 (WSL2)

CMakeLists file:
cmake_minimum_required(VERSION 3.30.4)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
project(tst VERSION 0.1)
file(MAKE_DIRECTORY /build)
include(FetchContent)
include(FindPkgConfig)

FetchContent_Declare(
    jsoncpp
    GIT_REPOSITORY https://github.com/open-source-parsers/jsoncpp
    GIT_TAG 1.9.4
)

FetchContent_Declare(
    drogon
    GIT_REPOSITORY https://github.com/drogonframework/drogon.git
    GIT_TAG v1.9.8
)
FetchContent_MakeAvailable(jsoncpp)
FetchContent_MakeAvailable(drogon)

add_executable(${PROJECT_NAME} main.cpp)

target_link_libraries(${PROJECT_NAME} PRIVATE drogon jsoncpp_lib)

Have you tried just installing the libjsoncpp-dev package, i.e.:
sudo apt install libjsoncpp-dev

I would also undo any changes made to the cmake build files

@NullUserException At the time of posting the original message I haven't which is what I meant by It seems the only solution I have found, which I haven't tested yet, is to manually download Jsoncpp. I tried afterward and it also wouldn't get picked up by FindJsoncpp.cmake.

I spun up an instance running Ubuntu 22.04 and I was running into the same problem (Could NOT find Jsoncpp (missing: JSONCPP_INCLUDE_DIRS JSONCPP_LIBRARIES)), but that was fixed when I installed libjsoncpp-dev
Did you make any changes to the cmake files?

Yeah I'm still having the same type of issue. Now it fails even before with:
CMake Error at build/_deps/drogon-src/cmake_modules/FindUUID.cmake:98 (message):
  Could not find UUID
Call Stack (most recent call first):
  build/_deps/drogon-src/CMakeLists.txt:221 (find_package)
``

@usernameawesome - you need an UUID library
# Ubuntu/Debian
sudo apt install uuid-dev

# macOS
brew install ossp-uuid

# CentOS/RHEL
sudo yum install libuuid-devel


Typescript not recognizing return type of insert with returning and cannot find SelectResultFields

This query below returns the type SelectResultFields, but Typescript doesn't know what to do with it. Where can I import it from?
SelectResultFields<{
    id: PgColumn<{
        name: "id";
        tableName: "profile";
        dataType: "bigint";
        columnType: "PgBigSerial64";
        data: bigint;
        driverParam: string;
        notNull: true;
        hasDefault: true;
        enumValues: undefined;
        baseColumn: never;
    }, {}, {}>;
}>[]

const result = await this.db
      .insert(profile)
      .values({
        userName,
        fullName,
        description,
        region,
        mainUrl,
        avatar,
      })
      .returning({ id: profile.id });

You don't have to do anything with it, it's just a lazily resolved type. While not very clear, it's actually correct. You can use autocomplete to see which fields are inside it. I'll look into making it eagerly resolved, but that doesn't stop you from using it.

I've just checked and that type should eagerly resolve. Could you update to latest/beta version and confirm that this issue is still present?

You're right sorry my mistake. Can you help me with an issue using Drizzle with Bun, https://github.com/drizzle-team/drizzle-orm/discussions/1372

I'm sorry I'm juggling too many things. Let me explain. I'm trying to create this query and typescript is complaining "The inferred type of create cannot be named without a reference to ../../node_modules/drizzle-orm/query-builders/select.types . This is likely not portable. A type annotation is necessary.". In other words typescript isn't able to figure out the return type to use. When I try and manually add it I cannot seem to find the SelectResultFields type anywhere.
async create(
    userName: string,
    fullName: string,
    description: string,
    region?: string,
    mainUrl?: string,
    avatar?: Buffer
  ) {
    return await this.db
      .insert(profile)
      .values({
        userName,
        fullName,
        description,
        region,
        mainUrl,
        avatar,
      })
      .returning({ id: profile.id });
  }

Ok I manually added the import and now typescript is able to generate the return type.
import { SelectResultFields } from "../../node_modules/drizzle-orm/query-builders/select.types";


Add fix-it handling tests for macro examples

It introduces an enhancement to our macro expansion functionality with the addition of fix-it tests.
In AddBlockerTests, a new test case has been added to validate the scenario where an addition operation should be a subtraction, including a diagnostic message and the application of the suggested fix-it.
Similarly, AddCompletionHandlerMacroTests is now equipped with a test case that applies a fix-it for adding the 'async' keyword to functions that are missing it but have the @AddCompletionHandler attribute.

Blocked by #2337

@swift-ci Please test

@swift-ci Please test Windows


New package: VoronoiFVM v0.4.0

Registering package: VoronoiFVM
Repository: https://github.com/j-fu/VoronoiFVM.jl
Created by: @j-fu
Version: v0.4.0
Commit: 3458f2d8f7689db984fb9a9b8b0d9efb6628e72c
Git reference: master

You should have some compat entries for your dependencies.

You should have some compat entries for your dependencies.

Done, but waiting for ExtendableSparse in order to fix this dependency.

If you just put the appropriate compat info in here, I'll make sure that this and https://github.com/JuliaRegistries/General/pull/1907 are merged at the same time.

If you just put the appropriate compat info in here, I'll make sure that this and #1907 are merged at the same time.

Ok it's in the repo and I repeat it here.
[compat]
DiffResults = "0.0.4"
DiffRules = "0.0.10"
DocStringExtensions = "0.8.0"
ElasticArrays = "0.4.0"
ExtendableSparse = "0.1.0"
ForwardDiff = "0.10.0"
IterativeSolvers = "0.8.1"
PyPlot = "2.8.1"
julia = "1"

If you could retrigger registrator, that will update this pull request.

catch22:
ERROR: Registration failed: Error in Project.toml: Package 'ExtendableSparse' with UUID: 95c220a8-a1cf-11e9-0c77-dbfce5f500b3 not found in registry or stdlib
It seems we need first fully register ExtendableSparse to find it in the registry and only then VornoiFVM once we can add the former from the registry instead of the url.

Yeah, ok, that makes sense. What we'd really want for this case is the ability to register multiple new packages/versions together. I'll merge VornoiFVM after the customary wait and then ping you again.

The other PR is merged, you can add the [compat] now.


Focusing on different spaces no longer works.

First of all: I love this project and how it has completely changed the way I'm using my mac. Thank you!
Now to the problem:
Running yabai -m space --focus {{some_index}} with SIP disabled no longer works. Instead of focusing on a new space the following output is received: cannot focus space due to an error with the scripting-addition.
I'm aware of the workaround in #205 but feel that it is not an actual solution to the issue itself. To make sure that the issue is not considered resolved until the bug itself is fixed, I'm creating this issue.
Keep up the awesome work!

Works fine for me; reinstall the scripting-additon.

Aaaand that did it.  Sorry for taking up your time. Keep it up!

@emilknievel  I configured the scripting-addition based on this page but I still get this error (cannot focus space due to an error with the scripting-addition.). Do I have to restart anything to make it work?

@emilknievel  I configured the scripting-addition based on this page but I still get this error (cannot focus space due to an error with the scripting-addition.). Do I have to restart anything to make it work?

That exact configuration is what made it work for me, just had to restart my computer afterwards. This needs to be done after each yabai update.

@emilknievel  oh. my bad. I was configuring it in the wrong way (MacOS beginner here). I had to read the docs more carefully.
Now I don't get the error anymore, but running the command yabai -m space --focus 1 or yabai -m space --focus 2 doesn't do anything. I don't get any errors and I don't see any changes on my laptop . The same applies to yabai -m space --focus next as well: nothing happens. Do you have any idea why is doesn't do anything?
(I am on the second space when I run this command:)

@emilknievel I made it work. I had to install yabai from HEAD because only there is the source code to make it work on Ventura. All good now. 😄


fix: Correct path to file containing custom fetch function when building Mesh project

🚨 IMPORTANT: Please do not create a Pull Request without creating an issue first.
Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of
the pull request.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant
motivation and context. List any dependencies that are required for this change.
Fixes #5840
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as
expected)
[ ] This change requires a documentation update

Screenshots/Sandbox (if appropriate/relevant):
Adding links to sandbox or providing screenshots can help us understand more about this PR and take
action on it as appropriate
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can
reproduce. Please also list any relevant details for your test configuration

[x] A unit test was added that verifies that when processing Mesh configuration with a custom fetch function and code generation, the generated code contains the correct path to the file implementing the custom fetch function

Test Environment:

OS:
@graphql-mesh/...:
NodeJS:

Checklist:

[x] I have followed the
CONTRIBUTING doc and the
style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests and linter rules pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose
the solution you did and what alternatives you considered, etc...

Thanks @cweckesser !


Triggering validate_request from server

Now validate_request is called from the AuthorizationServer class to guarantee the call.
delete_authorization_code method is called after the token is generated.

Codecov Report

Merging #51 (cc97417) into master (b8b0356) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #51   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           17        17
  Lines          661       660    -1
  Branches        73        73
=========================================
- Hits           661       660    -1

Impacted Files
Coverage Δ

aioauth/grant_type.py
100.00% <100.00%> (ø)

aioauth/response_type.py
100.00% <100.00%> (ø)

aioauth/server.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Issue with Unique tab

Hi,
I'm doing a 'Starts with match' and then a 'title matcher' with regex to extract keywords and rewriting the title.
So far all good.
The problem is when I try to active the Unique tab feature, it will detect everything as duplicate and close all others.
An example:
Starts with: https:///code/
title matcher and rewrite will contain the
Url #1: https:///code/12345
Url #2: https:///code/98765
So it will detect both as duplicates, even though the URL is unique and the rewritten Title will also be different.
Am I doing something wrong?
Thank you.

HI,
Since https:///code/12345 and https:///code/98765 are both starting with https:///code/, the actions will be triggered, right?
The actions depend on the URL fragment & the detection type.
Best regards

Yes, but that's the matching of the URL to trigger the rule. A rule can target multiple unique URL's.
I would expect the "Unique tab" option would try to eliminate duplicate tabs with the Exact same URL. Else what's the use-case for this unique option?
Thanks!


How about images

Can you rework it so it can do one image also?
Thanks
from vsrealesrgan import RealESRGAN
ret = RealESRGAN(clip)

You have to use a filter like https://github.com/vapoursynth/vs-imwri which returns a VideoNode.
Then converts the img to floating-point 32-bit by something like img = img.resize.Bicubic(format=vs.RGBS).


PI-1592:Passing business service to demand and bill update apis(PR from Punjab Impl team)

Closing PR as we are recreating develop branch from master. Please raise the PR once develop is recreated

@talele08
Please inform us once develop is recreated.


Mldb 1104 combined sql and dataset

combined sql fragments into a single sql statement
modified the svd, svm, tsne and kmeans
added validation that the select statement fullfil the requirements of the above training algorithms
adapted the tests accordingly

That makes it so much cleaner thank you +1


Fix kokkos teardown in 0.29.0 for 0.29.1 RC

Before submitting
Please complete the following checklist when submitting a PR:

[x] All new features must include a unit test.
If you've fixed a bug or added code that should be tested, add a test to the
tests directory!

[x] All new functions and code must be clearly commented and documented.
If you do make documentation changes, make sure that the docs build and
render correctly by running make docs.

[x] Ensure that the test suite passes, by running make test.

[x] Add a new entry to the .github/CHANGELOG.md file, summarizing the
change, and including a link back to the PR.

[x] Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.

Context: The Kokkos runtime teardown call finalize should only be called once per program execution. Calling initialize after finalize is strictly prohibited, and will result in failures. This PR aims to move the Kokkos finalisation call to the process at time of exit.
Description of the Change: As above.
Benefits: Fixes broken runtime when deleting the statevector within a loop, and other scenarios when the finalize step is called with the intent of calling initialize after.
Possible Drawbacks:
Related GitHub Issues:

Note: the 0.30 commits will be removed before merging and creating the RC

Thanks @mlxd for putting this together! Looks good to me.

Let's mark this as complete, and branch off at this point for the v0.29.1 release as v0.29.01_release for the branch and the subsequent v0.29.1 tag associated with the same hash.
Following this, I'll rebase this PR against master so we can get the changes merged in.

Release created at this point as v0.29.1_release, with associated tag v0.29.1.
Changes will be rebased on main and merged following this.


Error in Setting up the Wagtail codebase

Issue Summary
While setting up a local copy of the Wagtail git repository, running the command $ pip install -e .[testing,docs] -U generates the following error: -
ERROR: Cannot install myst_parser and wagtail because these package versions have conflicting dependencies.

The conflict is caused by:
    jinjalint 0.5 depends on attrs==17.2.0
    markdown-it-py 2.0.1 depends on attrs<22 and >=19
    jinjalint 0.5 depends on attrs==17.2.0
    markdown-it-py 2.0.0 depends on attrs<22 and >=19
    jinjalint 0.5 depends on attrs==17.2.0
    markdown-it-py 1.1.0 depends on attrs<22 and >=19
    jinjalint 0.5 depends on attrs==17.2.0
    markdown-it-py 1.0.0 depends on attrs<21 and >=19

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

Steps to Reproduce

Clone a copy of the Wagtail codebase using the following commands: -

$ git clone https://github.com/wagtail/wagtail.git
$ cd wagtail

With your preferred virtualenv activated, install the Wagtail package in development mode with the included testing and documentation dependencies:
$ pip install -e .[testing,docs] -U

The error will pop up.

There is something wrong with documentation dependencies.
$ pip install -e .[testing] -U works absolutely fine.

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: Yes

Technical details

Python version: 3.10
Django version: 4.0.3
Wagtail version: 2.17a0
Operating System: Windows/ Mac

I'm guessing this was triggered by #8084... ping @lb- @thibaudcolas

I have been able to reproduce this issue.
It looks like jinjalint has not been updated since 2018, so I cannot see an easy way to just update jinjalint.
I might have to take another look at this later.
ERROR: Cannot install markdown-it-py==1.1.0, myst_parser and wagtail because these package versions have conflicting dependencies.

The conflict is caused by:
    jinjalint 0.5 depends on attrs==17.2.0
    markdown-it-py 1.1.0 depends on attrs<22 and >=19
    jinjalint 0.5 depends on attrs==17.2.0
    markdown-it-py 2.0.1 depends on attrs<22 and >=19
    jinjalint 0.5 depends on attrs==17.2.0
    markdown-it-py 2.0.0 depends on attrs<22 and >=19
    jinjalint 0.5 depends on attrs==17.2.0
    markdown-it-py 1.0.0 depends on attrs<21 and >=19

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

I have not tested it but curlylint says it supports jinja templates https://pypi.org/project/curlylint/ (it is a fork of jinjalint).

Arh, the pain! I’ll work on a PR and assign to you @lb- for review.

@gitkaarma should be all resolved, sorry about that! Please let us know if you encounter further issues like this.


Update coturn to <IP_ADDRESS>

There is new version of coturn and it is available in Alpine: https://pkgs.alpinelinux.org/packages?name=coturn&branch=edge

Now it is already on 4.5.2 which would be nice as it enables prometheus metrics


roleAttribute required for LdapUserGroupsToRolesAuthorizationGenerator

Version: 5.1.0-RC2-SNAPSHOT
LdapUserGroupsToRolesAuthorizationGenerator is supposed to retrieve roles based on a groupFilter and a groupAttribute.
The problem is that LdapUserGroupsToRolesAuthorizationGenerator inherits from LdapUserAttributesToRolesAuthorizationGenerator which throws an IllegalStateException when the roleAttribute is not found.
Our LDAP doens't have a roleAttribute, so I can't specify one.
I recommend moving the roleAttribute code from LdapUserAttributesToRolesAuthorizationGenerator.generate() to addProfileRoles(), so it is overridden by LdapUserGroupsToRolesAuthorizationGenerator.addProfileRoles().
Also:
CasWebApplicationSecurityConfiguration.init() checks roleAttribute to see if it has a valid configuration. This will need to be changed, because now either roleAttribute or groupFilter+groupAttribute are valid.
Other minor issues:

The baseDn for our groups is different from the one for people. Would it be possible to add a groupBaseDn property to LdapAuthorizationProperties (defaults to baseDn when not specified)?
CasLdapUserDetailsManagerConfigurer.ldapAuthorizationGeneratorGroupSearchExecutor creates a SearchExecutor with returnAttributes set to ALL. Could this be changed to only return the groupAttribute (otherwise it will also retrieve all 1000+ group members)?

As was suggested, did you try setting your groupAttribute into CAS' roleAttribute and leaving all else empty? You'll need to activate LdapUserAttributesToRolesAuthorizationGenerator, right?

Yes. All things are possible in open source :) You are probably asking if it's probable. That depends.
Good suggestions, sure.

Nope. Setting the roleAttribute to my groupAttribute will fail, because a user doesn't have that attribute.
roleAttribute can only be set to an existing user attribute. And if I use a random user attribute (e.g. "uid"), it will also be evaluated as a role, which could be a security risk (e.g. naming a user "FULL_ACCESS" would give him full access even though he doesn't have that role).

If you set it to a random user attribute, it should be evaluated as a role because LdapUserGroupsToRolesAuthorizationGenerator overrides that functionality to only add group attributes, right?

Correction: not.
Don't get me wrong. This is a legitimate issue; I am merely trying to solve the problem without code changes.

I hadn't looked at it that way. If I set roleAttribute=uid it does indeed not interpret the uid as a role (I read that wrong).
So this is not really an error, just an inconsistency.

Excellent. Thanks for double checking. I'll see if I can take a pass at the other suggestions and fix this consistency issue. Keep testing.

This is now done.
You should be able to test the fix in about an hour or so, by using the new SNAPSHOT.


[release_table] Make date type accept both full and partial dates

Partial dates are parsed as month_year dates and set to the end of the month.

Only expected failure for apple, merging.


Test Issue

This is a test issue

This is a test issue

Test reply

This is a test issue

Test reply


xmake fails to build on Apple Silicon (macOS ARM)

Describe the bug
xmake fails to build on Apple Silicon (macOS ARM) https://github.com/Homebrew/homebrew-core/pull/68773
make build fails
Error output
compile:
    plat:		macosx
    arch:		x86_64
    host:		macosx

then
make[3]: *** [tbox/src/tbox/platform/file.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [DEP_PROS_tbox_all] Error 2
: note: 'stat' declared here
int     stat(const char *, struct stat *) __DARWIN_INODE64(stat);
        ^

Related Environment
Please provide compiling and running environment information:

xmake version: 2.3.9
os: macOS 11.1
target platform: Apple Silicon

Passing BUILD_ARCH=arm64 to make build leads to the same error in tbox/src/tbox/platform/file.o

Passing BUILD_ARCH=arm64 to make build leads to the same error in tbox/src/tbox/platform/file.o

make[3]: *** [luajit/src/lib_base.o] Error 1
make[2]: *** [DEP_PROS_luajit_all] Error 2
In file included from luajit/src/lib_base.c:32:
luajit/src/lj_ff.h:14:10: fatal error: 'lj_ffdef.h' file not found
#include "lj_ffdef.h"
^~~~~~~~~~~~

https://github.com/Homebrew/homebrew-core/runs/1681778752?check_suite_focus=true
Lack of luajit autogen files for macos/arm64, I need to compile the luajit source code on apple m1, then extract its autogen files, such as lj_vm.S lj_libdef.h and other files, and put them in the xmake/core/src/luajit/autogen/macosx/jit/arm64 directory.
But I don’t have a macos/arm device and environment to extract these files.

make[3]: *** [luajit/src/lib_base.o] Error 1
make[2]: *** [DEP_PROS_luajit_all] Error 2
In file included from luajit/src/lib_base.c:32:
luajit/src/lj_ff.h:14:10: fatal error: 'lj_ffdef.h' file not found
#include "lj_ffdef.h"
^~~~~~~~~~~~

https://github.com/Homebrew/homebrew-core/runs/1681778752?check_suite_focus=true
Lack of luajit autogen files for macos/arm64, I need to compile the luajit source code on apple m1, then extract its autogen files, such as lj_vm.S lj_libdef.h and other files, and put them in the xmake/core/src/luajit/autogen/macosx/jit/arm64 directory.
But I don’t have a macos/arm device and environment to extract these files.

An exception occurred within a child process:
Error: xmake: failed
BuildError: Failed executing: /opt/homebrew/Cellar/xmake/1_1/bin/xmake create test

I have solved all compile issues, but it can’t run, and no any errors.

An exception occurred within a child process:
Error: xmake: failed
BuildError: Failed executing: /opt/homebrew/Cellar/xmake/1_1/bin/xmake create test

I have solved all compile issues, but it can’t run, and no any errors.

I fixed link error on macOS arm, but next error

error: ...mebrew/Cellar/xmake/1_1/share/xmake/core/_xmake_main.lua:0: attempt to compare two table values

ohmm..

I fixed link error on macOS arm, but next error

error: ...mebrew/Cellar/xmake/1_1/share/xmake/core/_xmake_main.lua:0: attempt to compare two table values

ohmm..

It seems that luajit is not yet able to support m1 well, as I have not apple silicon device, I cannot test it further.
I will consider switching to lua vm through optional configuration in 2.5.2

It seems that luajit is not yet able to support m1 well, as I have not apple silicon device, I cannot test it further.
I will consider switching to lua vm through optional configuration in 2.5.2

@fxcoudert I have supported apple m1, and it works for me.
you can switch url to https://github.com/xmake-io/xmake/releases/download/v2.3.9/xmake-v2.3.9.m1.tar.gz
and modify shasum to 25a8fc39c6859854d26cec918eca94e16427d76870a9f29f4b302f7d300674a2 and try it again.

@fxcoudert I have supported apple m1, and it works for me.
you can switch url to https://github.com/xmake-io/xmake/releases/download/v2.3.9/xmake-v2.3.9.m1.tar.gz
and modify shasum to 25a8fc39c6859854d26cec918eca94e16427d76870a9f29f4b302f7d300674a2 and try it again.


Make env know what the service component its running is

Which issue this PR addresses:
Part of https://issues.redhat.com/browse/ARO-4595
What this PR does / why we need it:
Makes env/ understand what service it is running for, which allows us to standardise some of the "what" about the service running (e.g. knowing what dbtoken permission we're asking for, what logger we want to use, etc)
Test plan for issue:
CI/E2E
Is there any documentation that needs to be updated for this PR?
N/A, cleanup

The general concept behind the changes makes sense, but I want to understand it a little better.
In the Jira where you discuss deduplicating things, are you referring to things like master/cmd/aro/rp.go#L110-L123 and master/cmd/aro/monitor.go#L90-L103 and saying that these changes are a step toward helping us deduplicate that code? What would things look like after the deduplication is complete?

https://github.com/Azure/ARO-RP/pull/3210/files#diff-41cd00a4f558bca78edde4a4923b345945f34697605af2490b007c1082d4980e < this is kind of what I aim to do in followups :)

/azp run ci

Rerunning the failed job


Overview of Overview

[ ] Read Overview
[ ] Come up summaries

For Monday, your task is to produce a 1 page summary here:
https://github.com/berkeley-stat222/mousestyles/blob/master/doc/problem/overview.md
Your goal is to understand the problem.  You are welcome to look at the code, but you shouldn't be working with code at this point.  You also probably don't want to focus on the algorithms yet either.
If this isn't clear, please reread the project assignment:
https://github.com/berkeley-stat222/mousestyles/blob/master/doc/assignment/mouse.pdf
Feel free to discuss the issue on Piazza.

Some notes from class discussion (not super comprehensive):

discuss reasons for computational ethology
Mention home cage monitoring
Glossary?
Why is this relevant to statisticians? (populations, sampling, where does the randomness come from?)

In addition to the suggestions by Peter, the overview should include a more detailed description of the dataset. How many variables? What are the variables? What do the variables stand for? How frequent are the readings? How many strains? How many mice are involved? Date and location of the experiments? etc.

Suggestions from class discussion: add data description section.


Can OpenUI program pyscript in UI?

Pyscript brings python into frontend, I am wondering if OpenUI can code pyscript in UI? If yes, can you give me an example?

It's able to do JavaScript if you ask it to.  For pyscript to work we would need to bootstrap the interpreter like we do with tailwind.  Possible but not something I'm planning on.
I'm curious, why do you want to run pyscript instead of JavaScript?

Because pyscript completely replaces the backend. see the demos at https://pyscript.net/examples/.
JavaScript can only do frontend with node js (or python) at the backend.
If I can use pyscript in OpenUI, I would just need one static web page, everything will be run in the browser.

I can use gemini ai to write pyscript in html, so LLM is capable of writing pyscript in html as well as javascript.
I am a python data scientist, using streamlit to present my analytics, being able to write pyscript in html will save me time to setup
the backend.

See pyscript example to do chatgpt at the frontend
https://pyscript.com/@adec3dd4-c366-46d3-9d45-84d3b0996a43/07a0de9f-afd1-4975-a65d-17dfb3bf7b4e/latest

here is a screenshot of gemini ai generating pyscript in html

The problem is you really don't want to put your api key into the frontend...  also, there's nothing specific about Python in this project.  It could all be JavaScript.  I just preferred Python for the backend.

I added an option to convert an HTML component into a Streamlit app which could be useful.


Add copy-paste-able tags to README?

It'd be nice to give people the convenient option to copy-paste CDN links into their HTML:
<link rel="stylesheet"<EMAIL_ADDRESS>
and
<script<EMAIL_ADDRESS>
and then if you make a release you can change the @master to something like @1.0.0 so the code stays stable on websites that use it, even when updates are made to those files in this repo.
I'm also working on a minimal demo: https://codepen.io/hchiam/pen/qBEogMR

Added.


Replace Fixnum with Integer in default_spec.rb to eliminate deprecation warning

Replacing Fixnum with Integer removes a deprecation warning that you would receive with MRI versions 2.4 and 2.5 respectively but also works fine for 2.1-2.3 versions so I consider this a safe improvement.
I also added 2.4 and 2.5 to the build matrix for travis ci. Also added some indentation to the .travis.yml file where my editor felt that it was in order to do so.

Thanks for opening this pull request! Unfortunately this repository is not maintained. If you're interested in becoming the maintainer, let me know. Otherwise I recommend you use your fork.


QA for resume workshop (https://github.com/microsoft/workshop-library/tree/main/full/build-resume-website)

[ ] All elements of the workshop are in place (README, workshop designer, solution if necessary, any images if necessary, slides, a call-to-action with a Learn module linked (usually in "Next Steps" area), a knowledge check (either in slides or directly linked to the workshop README) and an area to extend knowledge.
[ ] The workshop can be done in its listed time frame
[ ] Instructions are clear and well written
[ ] The workshop is bug-free
[ ] The workshop 'flows' well
[ ] There are no stray auth keys or secrets embedded in the code

missed this one! sorry @ornelladotcom

The observation I have is that there is no knowledge check and the next steps should be added to the readme as well. I have a resume on the web now ... hurray :)
I'd love to deliver this workshop, it was very easy to follow.

Awesome!! do you want to propose some next steps that would be useful to you? We can add those right in.

It has the next steps on this page, I am just proposing that it should be added to the readme as well. I will come up with knowledge checks, it should be 3 questions, right?
Apart from that, I think all is set.

Proposed knowledge checks
Q1: HTML stands for?
a. Hypertext Markdown Language (ans)
b. Hypotext Markup Language
c. Hypertext Markup Language
Q2: Every HTML has ____ main tags and they are?
a. 3 (html, head, and body) (ans)
b. 3 (head, body, and tail)
c. 4 (html, head, body and tail)
Q3: CSS is used to set the following except
a. tag (ans)
b. color
c. font

adding! (the answer to Q1 is c :))

OMG 😆
I changed the options because I did want A to be the correct one 😅

Got it :) thanks!!


Is there any real world use of kopf,like rook/ceph?

Hello,I am using kubernetes alot,and also rook/ceph
I write python most of the time
and use kubernetes-python client to write some kind of operator myself,to maintain some cluster i can do works like docker commit，by the pattern of docker in docker
then I found the project,kopf.
Golang is the main language in deveploping operator,and I used rook/ceph and prometheus,they are useful
So I wonder if there is any real world operator is use kopf,so I can read its code,and learn to develop my own operator?
In fact,I found The Zalando Incubator itself use golang to deveplop es operator: https://github.com/zalando-incubator/es-operator
Why not use kopf？

@tarjintor there's a dedicated pinned issue for the feedbacks , may be you could find smth helpful there.
https://github.com/zalando-incubator/kopf/issues/100

ok,I will read it, thank you

Yes, the issue #100 has some mentions. Also, GitHub's dependency insights can be helpful: https://github.com/zalando-incubator/kopf/network/dependents


signum is specified as Int, needs to be number-specific

Number currently defines signum with a result type of Int.
This is wrong, and will break as soon as you put almost anything non-Int into it.
For instance, what's the result of Double.NaN.signum? Not 0, for sure.
Another example is Complex: The result of complex.signum is another Complex value, not an Int.
signum should have a result type of type T where T is the actual numeric type.

Closing this due to a long period of inactivity. Please consider opening a new issue or reopening this PR to restart discussion. We're very sorry for the possible inconvenience. See #674


[#4022] Throwing Generic Exceptions - Adaptive Actions

Addresses # 4022
Description
This PR replaces all 17 generic exceptions found within the Actions directory for Dialogs.Adaptive, Dialogs.Adaptive.Teams, and Dialogs.Adaptive.Testing libraries with proper exceptions according to the Standard Exception Types.
Specific Changes

Replaces all 17 generic exceptions within:

libraries\Microsoft.Bot.Builder.Dialogs.Adaptive\Actions
libraries\Microsoft.Bot.Builder.Dialogs.Adaptive.Teams\Actions\
libraries\Microsoft.Bot.Builder.Dialogs.Adaptive.Testing\Actions\

Updates test Action_ThrowException.test.dialog to comply with the changes

Testing
Here's a screenshot of the tests for these files working correctly with the changes applied:

Promoted to MS # 4950


Upgrade yajl-ruby

 [TARIFF17] Security: Update ' yajl' gem as it is vulnerable to Denial of Service (DoS)


finalise first version of Twitter data collection tools in wiki

At least with the tools we already have in the Google Spreadsheet. Template is the Instagram tools wiki page.

While doing this, I was thinking about the SMO-TMAS app that Jason did during his time in the institute. Would you add the application to the List or would you say, it's basically not that important. It doesn't do anything that is groundbreaking towards the other apps. Therefore my thoughts were cutting it from the list. Also I don't know if Jason will have the time to maintain it over the next years.
Whats your thought?

I'd leave it in, also because it's a nice example how to create a shiny app (which is a good topic for the how to section). (On a side note: Before, we were thinking to exclude R apps, but I think we should rethink that. It's too popular in the community and we can actually build up the competence to give some support.)
But make sure to include the stuff by VOSON Lab as well, as it is very similar but more powerful.

Ohrighty, I added VSON back to the list.
Also I will keep the TMAS app within the list!

First version is online and ready to check! I used the same wording as for the IG Tools. Hope its okay like that.

Installation via <--> Installation trough. Choose one.
Notable Features: Some of them are notable limitations (cf. Instagram tools)
Twint is not API based according to the description, but API based according to the table
Installation via/trough:

pip3 is pip.
Facepager: I assume you mean they have an installation packages for these platforms, please clarify

TAGS: Documentation links to forum, not to documentation
Voson stuff: I actually meant that if we list our Shiny App, we should list Voson Dashboard as well: http://vosonlab.net/tools Maybe also some of the other tools
Browser-based tools: installation via is missing: are they hosted? Or do I have to install them?

Also made some edits right away (https://github.com/Leibniz-HBI/Social-Media-Observatory/wiki/Twitter-Tools/_compare/ef4161396b74561248bca12d1257d4b3096262ca...57f1ae531ccc6dce24427ac0db878fdb9f7073fb )

Thanks a lot!

Changed all to "Installation via"

Added limitations if there are any!

Changed the Table and edited twint to non api

changed all to pip

Installation via for Hydrator and Facepager have been clarified (I guess)

VosonDash has been added, SML therefore removed. I have only had a day of testing the app, so i am sorry if its a bit "Slick". I will hopefully find time testing it in depth.

Browser based tools (TAGS) now have an installation guid!

I added the support forum of TAGS to the sheet.

Added "No local installation needed" to SMO-TMAS application to point out that it does not need any installation whatsoever.

Looked through all "documentation links" etc. and have edited some of them to more direct resources.

Hope that does it :)

Some minor things that catched my eye:

Most of these Twitter tools connect to official Twitter APIs and therefore need an API Key from Twitter. You can retrieve an API key from Twitter easily, just follow the documentation. You are bound to the restrictions given by Twitter. You can read about these here.

The link behind here is not very specific.

I think we should specify what a tool can collect, maybe in its description, if we have only 'partially' in the table. What do you think?

So, for example, for twarc, I'd be interested what information it doesn't collect for location.

I will add this link to the direct rate limits: https://developer.twitter.com/en/docs/basics/rate-limits
In fact, twarc can search for locations and also pull the needed information for a tweets location, if it is a non priv. information. Therefore the table is wrong.
The only Application that would need a new information therefore is our SMO-TMAS. Since its a visual application i am not sure if you really need to describe it since you can see whats being fetched after one click. Ofc. I can add it if you like too.
I will check through the table again, since this is the second mistake.

Cool, thanks :) Let me know when you're done.

Changed the table, added "No local installation needed" to SMO-TMAS!
I checked through the table, and all features should be marked correctly. The features have been checked again and all are defined or noted as limitation. The links to all documentations have been checked, please ensure if the documentation links for VSON are okay now, since they only have a forum, it wasnt so easy to find :)!


The setting buttons are not readable

Greyish White text on yellow color is not a good combination

Buttons have been updated to black text on yellow in the latest commit.


[Bug]: CRITICAL - DEFAULT_REST_DATASOURCE broken when creating new api query in version 1.9.21 + heading slash / sign incorrectly removed from query url

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Creating or editing an api query will result in a broken configuration where the query's metadata.json lacks a dataSourceConfiguration as below:
{
  "pluginType": "API",
  "pluginId": "restapi-plugin",
  "unpublishedAction": {
    "name": "cancelBeat",
    "datasource": {
      "name": "DEFAULT_REST_DATASOURCE",
      "pluginId": "restapi-plugin",
      "datasourceConfiguration": {
        "url": ""
      },
      "invalids": [],
      "messages": [],
      "isAutoGenerated": false,
      "deleted": false,
      "policies": [],
      "userPermissions": []
    },
   ...

I also noticed that the first '/' sign in the query's url seems to be removed, resulting in a broken api url.
For example, when using the query editor to create the query updatePaidAdBeat (above) and giving the endpoint url
{{appsmith.store.api_url}}/bo/v2/campaign/{{this.params.campaign_id}}/beat/{{this.params.beat_id}}/cancel
will result in appsmith saving the following metadata.json to git:

    "actionConfiguration": {
      "timeoutInMillisecond": 10000,
      "paginationType": "NONE",
      "path": "{{appsmith.store.beatly_api}}bo/v2/campaign/{{this.params.campaign_id}}/beat/paidad/{{this.params.beat_id}}/update",

Notice the missing / in the path url...
Needless to say, this renders the api query editor unusable and breaks existing api queries as soon as editing one...
Steps To Reproduce
See description.
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
1.9.21
 Front conversations

Should mention that this bugs started at precisely the time you deployed 1.9.21 to the cloud editor. At exactly that moment, the queries I had been editing started returning errors like
"PluginExecutionError: DELETE [cancelBeat] https://app.appsmith.com/): DEFAULT_REST_DATASOURCE is not correctly configured. Please fix the following and then re-run: [Missing URL.]"
Took me a few hours to trace the issue to defect metadata.json files and possibly the missing heading / in the path url...

@erwan-lemonnier could you share the URL of the API query that is broken for you? It would also help if you could share a screen recording

Hi Nikhil!
I also started a discussion in discord, and have put more detailed examples there: https://discord.com/channels/725602949748752515/1116106957196120216

Tracking the editor crash issue separately here.
We will use this issue to track the REST API query failing error.


Add generic type support for toDeviceTensor.

This is necessary to support generic modules in cunn, which currently use toDeviceTensor with only CudaTensors.

Thanks!


Url parsing with empty get params is broken

Url parsing of a string like: /smth/smth? with empty get params causes exception

Code like this breaks:
$url = url('localhost', '//test/test?');


Additional Thoughts to Security on INF files

Microsoft should include something like an MD5 or ShA256 encryption information for the INF file. This encryption information should reside on Microsoft servers and the same mechanism used to register with Microsoft should be sued (in other words - don't trust the system the program is run on - use the backdoor to get the MD5/SHA info so it can be trusted). In this way, all device drivers can be checked periodically to ensure they are right. Incorrect MD5/SHA encryption codes should cause a device to reload the default driver for that device. If, after three tries, the device can not be loaded for unknown reasons - then default to disable the device, display a message dialog, and direct the person to look at the device and/or contact the dealer of the device in order to ask them what the problem is and/or download a new device driver.

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

ID: b6563342-7aa5-3a02-b758-5a53dd7eca39
Version Independent ID: a54a4ad3-5eaa-c387-cd91-32e76c6af277
Content: Driver Store - Windows drivers
Content Source: windows-driver-docs-pr/install/driver-store.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @tedhudek
Microsoft Alias: tedhudek

Thanks, @markem.
Appreciate the feedback. This feedback mechanism is monitored for improvements to the documentation. For bugs and suggestions for features, please use the Feedback Hub, which is a part of Windows 10.
Type Feedback in the Windows search box in Taskbar, and then select Feedback Hub. Follow the instructions in the tool, and submit your idea. The product teams take this input very seriously and monitor the traffic constantly.
Thanks so much!


Iterators for rheology objects

We are starting to have a decent number of generated functions to generate type stable iterations over rheology tuples. To some,  it may not be obvious why we do this or when a generated functions is needed, and to also improve the code readibility, we should try to simplify this process.   Example for a reduction with the new interface:
@generated function nreduce(f::F, v::NTuple{N, Any}) where {N, F}
    quote
        val = 0.0
        Base.Cartesian.@nexprs $N i -> val += @inbounds f(v[i])
        return val
    end
end

compute_εII_new(v::CompositeRheology, τII, args) = nreduce(vi -> compute_εII(vi, τII, args), v.elements)

v1 = SetDiffusionCreep("Dry Anorthite | Rybacki et al. (2006)")
v2 = SetDislocationCreep("Dry Anorthite | Rybacki et al. (2006)")
v = CompositeRheology(v1,v2)
args = (T=900.0, d=100e-6, τII_old=1e6, dt=1e8)
τII = 2e6

julia> @btime compute_εII($v, $τII, $args)
  31.827 ns (0 allocations: 0 bytes)
7.598120786096899e-21

julia> @btime compute_εII_new($v, $τII, $args)
  31.859 ns (0 allocations: 0 bytes)
7.598120786096899e-21

this would indeed be very helpful as it reduces the lines of required code. Perhaps something similar can be added for harmonic averages?

Given that we dispatch on the type of v for harmonic averages, do we need a function for that? With nreduce it  simply becomes:
function compute_harmonic(v::CompositeRheology, EpsII, args)
    1/nreduce( vi -> _compute_τII_harmonic_element(vi, EpsII, args), v.elements)
end

_compute_τII_harmonic_element(v, EpsII, args) = 1/(first(compute_τII(v, EpsII, args)))
_compute_τII_harmonic_element(v::Union{Parallel, AbstractPlasticity}, EpsII, args) = 0.0

Here an example of how this can be expanded to deal with multiple arguments:
@generated function nreduce_args(f::F, v::NTuple{N, Any}, id::NTuple{N,T}, args::NTuple{NT,Any} ) where {N, T<:Integer, NT, F}
   quote
      val = 0.0
      Base.Cartesian.@nexprs $N i -> val += @inbounds f(v[i], args[id[i]])
      return val
   end
end

Prototype and example of usage of nphase to iterate over material phases
@generated function nphase(f::F, phase::Int64, v::NTuple{N, Any}) where {N, F}
    quote
        Base.@_inline_meta
        Base.Cartesian.@nexprs $N i -> @inbounds v[i].Phase === phase && return  f(v[i])
        return 0.0
    end
end

compute_εII(MatParam, I, τII, args) = nphase(v_i -> compute_εII(v_i, τII, args), I, MatParam)

MatParam = (
    SetMaterialParams(Name="Matrix"   , Phase=1,
    CompositeRheology = CompositeRheology(ConstantElasticity(),LinearViscous())),
    SetMaterialParams(Name="Inclusion", Phase=2,
    CompositeRheology = CompositeRheology(ConstantElasticity(),LinearViscous())),
)

args = ( τII_old=1e6, dt=1e8)
εII, τII = 2e-15, 2e6

 @btime compute_εII($MatParam, $1, $τII, $args)
  3.456 ns (0 allocations: 0 bytes)

changing this from draft to force CI to run


Using client certificates when connecting

Hi,
I'm curious if it is possible for using client certificates in python-consul. Several of my Consul instances needs a SSL certificate to access them and my script(s) will need to access these instances to get some data. I tried to look in the tests to see if there was an example and tried to find on the webs for examples, but no luck.
Kind regards,
Werner

Will be fixed by #153

Thanks @brocade-craig !

Great thanks Andy
From: Andy Gayton<EMAIL_ADDRESS>Reply-To: cablehead/python-consul<EMAIL_ADDRESS>Date: Tuesday, 20 June 2017 at 5:15 am
To: cablehead/python-consul<EMAIL_ADDRESS>Cc: Craig Stevens<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [cablehead/python-consul] Using client certificates when connecting (#151)
Thanks @brocade-craighttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_brocade-2Dcraig&d=DwMCaQ&c=IL_XqQWOjubgfqINi2jTzg&r=rstxod8QbtEIgoCNQU-SVDnyCC7zqBHx77j_KKFSD9w&m=PXJKO4v6wylLL4DDK2tfMmd2jXvFk7Ji3Uz4_KXYc9U&s=-CSNYs7GKMc3JCCuCZWqN1LzODd6-GnXw_11zzNbvcI&e= !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_cablehead_python-2Dconsul_issues_151-23issuecomment-2D309539436&d=DwMCaQ&c=IL_XqQWOjubgfqINi2jTzg&r=rstxod8QbtEIgoCNQU-SVDnyCC7zqBHx77j_KKFSD9w&m=PXJKO4v6wylLL4DDK2tfMmd2jXvFk7Ji3Uz4_KXYc9U&s=x-EZrabxy-drf6eIZANEcf42IQJRbz9X-wX3RnzK6Q0&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ARaC-2DrrrsJAhmDoc1YSODtBHItQae2crks5sFsjogaJpZM4NlYr5&d=DwMCaQ&c=IL_XqQWOjubgfqINi2jTzg&r=rstxod8QbtEIgoCNQU-SVDnyCC7zqBHx77j_KKFSD9w&m=PXJKO4v6wylLL4DDK2tfMmd2jXvFk7Ji3Uz4_KXYc9U&s=F_7doLb8AuhcrRupw7_D2iee7FKcw6_TjoQCk2Eqngs&e=.

Thanks! @brocade-craig


improve bevy_ui Direction docs

not a big deal, but the doc comments are talking about text direction, while Style.direction is about content direction.

I don't think bevy actually implements the content direction part of the direction property.
In my CSS Grid PR I have updated the descriptions all the style props and have written the following about direction:
/// Defines the text direction. For example English is written LTR (left-to-right) while Arabic is written RTL (right-to-left).
///
/// Note: the corresponding CSS property also affects box layout order, but this isn't yet implemented in bevy.
/// <https://developer.mozilla.org/en-US/docs/Web/CSS/direction>

I made an example for direction ages ago, I'll make a PR it for after the game jam is over.

I think this one can be closed since direction was removed.


comments still aren't working locally?

can't even click on a post- get 404. makes it difficult to test

I dont have this problem?

well fuck.... haha I dunno why this won't work


WriteController: Remove redundant setting delay reports with single db

The WC currently reports to the log whenever a new delay request is handled (even if its the same rate).
These msgs are redundant in cases where the WC is only shared with 1 db and hence 1 logger since similar msgs are reported in ColumnFamilyData::RecalculateWriteStallConditions.
Currently it looks like :
2024/02/11-12:34:41.726676 7213 [WARN] [/write_controller.cc:153] WC setting delay of 178892456, client_id: 0x563f8a2e8f60, client rate: 178892456
2024/02/11-12:34:41.726684 7213 [WARN] [/column_family.cc:1235] [default] Stalling writes because we have 12 level-0 files rate 178892456

This PR removes the msg from the write_controller (the first) when there is only 1 logger to report to.

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

@Yuval-Ariel - Why not avoid logging in the WC to the reporter's logger?
This would achieve what this PR is for as well as have a single log record (instead of 2) in the reporter's log.

@Yuval-Ariel - Why not avoid logging in the WC to the reporter's logger? This would achieve what this PR is for as well as have a single log record (instead of 2) in the reporter's log.

@udi-speedb , what you're suggesting wouldnt work when a logger is shared between two dbs. the db that initated the request will get a msg but the other one wouldnt.

@Yuval-Ariel - Why not avoid logging in the WC to the reporter's logger? This would achieve what this PR is for as well as have a single log record (instead of 2) in the reporter's log.

@udi-speedb , what you're suggesting wouldnt work when a logger is shared between two dbs. the db that initated the request will get a msg but the other one wouldnt.

Wouldn't the reporter get a log message from its own column_family.cc code while the other(s) would log the WC's message?

@Yuval-Ariel - Why not avoid logging in the WC to the reporter's logger? This would achieve what this PR is for as well as have a single log record (instead of 2) in the reporter's log.

@udi-speedb , what you're suggesting wouldnt work when a logger is shared between two dbs. the db that initated the request will get a msg but the other one wouldnt.

Wouldn't the reporter get a log message from its own column_family.cc code while the other(s) would log the WC's message?

its the same logger. so both dbs will get any msg

OK, but if there multiple delay sources (cf-s, WBM) wouldn't you miss the min rate and only see the new rate?

OK, but if there are multiple delay sources (cf-s, WBM) wouldn't you miss the min rate and only see the new rate?

we would still get the msg from the cf that initiated the delay


irmin-pack.unix: Use asynchronous unlink when cleaning up chunks in Gc.

First try to tackle #2220.
This adds Io.unlink_async which calls Lwt_unix.unlink.
Lwt maintains a pool of system threads where the unlinks will be called, thus not blocking the main application thread.
I'm not sure if this will provide any real benefits as Gc is still waited on by Async.await.

I've run a benchmark to see how this performs (https://github.com/tarides/irmin-tezos-benchmarking/tree/async-unlink/benchmarks/2023-03-async-unlink).
Tail latencies (compared to 3.7-mvp):
 | tail latency (1)         |   1.430 s |   1.156 s  81%

Slightly better. I think we can improve more by doing multiple unlinks at the same time. Currently all old chunks are unlinked sequentially in a Lwt_list.fold_s.
Slightly suprising, the disk usage:

Maybe Lwt is doing something funky?

In case this is not enough, we don't actually need to wait for the unlinks to terminate (we also don't need the files to be deleted in a specific order, so perhaps with Lwt.async assuming the unlinking doesn't crash?)

Absolutely, I'll run another benchmark run where the unlinks just happen "fire and forget".
Maybe using Lwt.dont_wait would be safer and close to current semantics (just log a warning if unlink fails).

Maybe Lwt is doing something funky?

Seems like the disk usage watch script is trying to compute size of store.control.tmp while it is being removed:
du: cannot access 'stats/store/store.control.tmp': No such file or directory

When du fails the disk usage is reported as 0. That explains the weird spikes.
Seems to be related to #2206.

Codecov Report

Merging #2221 (21405bd) into main (8eeffae) will decrease coverage by 0.02%.
 Consider uploading reports for the commit 2504c40 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #2221      +/-   ##
==========================================
- Coverage   68.09%   68.07%   -0.02%
==========================================
  Files         135      135
  Lines       16480    16492      +12
==========================================
+ Hits        11222    11227       +5
- Misses       5258     5265       +7

Impacted Files
Coverage Δ

src/irmin-pack/unix/io.ml
65.25% <66.66%> (+0.03%)
:arrow_up:

src/irmin-pack/unix/gc.ml
74.76% <82.05%> (-1.77%)
:arrow_down:

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks for tackling this! I think the key will be to not bind the promise of Io.unlink_async since the bind will wait for the system thread to finish.
Perhaps this can be wrapped up inside of the Io module with something like:
let unlink_async path =
  let log_exn = (* log exn :) *) in
  let lwt_unlink = fun () -> Lwt_unix.unlink path in
  Lwt.dont_wait lwt_unlink log_exn
end

I guess my main thought is that moving it into Io lets us get rid of the promise binds (like https://github.com/mirage/irmin/pull/2221/files#diff-cbf0c1b5f48f95727e34a0ca9b187a8690d8d435166cd1c56de9c0d42515753cR157) that block the main thread while waiting for an unlink to finish. It should also clean up the loop that unlinks chunks since no promises are involved.
Once we do that, I expect the tail latency to be around the 200ms or so that you observed in the benchmark that did not unlink files.

Once we do that, I expect the tail latency to be around the 200ms or so that you observed in the benchmark that did not unlink files.

You're right:

3.7-mvp
unlink-dont-wait
async-unlink-and-forget
async-unlink

-- main metrics --

CPU time elapsed
106m26s
108m43s 102%
109m09s 103%
111m17s 105%

Wall time elapsed
106m26s
108m41s 102%
109m13s 103%
111m43s 105%

TZ-transactions per sec
720.394
705.257  98%
702.471  98%
688.916  96%

TZ-operations per sec
4705.452
4606.581  98%
4588.380  98%
4499.845  96%

Context.add per sec
13815.712
13525.416  98%
13471.978  98%
13212.028  96%

tail latency (1)
1.430 s
0.234 s  16%
0.833 s  58%
1.156 s  81%

-- resource usage --

disk IO (total)

IOPS (op/sec)
176_654
172_948  98%
172_261  98%
168_937  96%

throughput (bytes/sec)
17.635 M
17.265 M  98%
17.196 M  98%
16.864 M  96%

total (bytes)
112.609 G
112.612 G 100%
112.610 G 100%
112.610 G 100%

disk IO (read)

IOPS (op/sec)
176_559
172_855  98%
172_168  98%
168_846  96%

throughput (bytes/sec)
10.375 M
10.157 M  98%
10.117 M  98%
9.922 M  96%

total (bytes)
66.250 G
66.252 G 100%
66.251 G 100%
66.251 G 100%

disk IO (write)

IOPS (op/sec)
95
93  98%
93  98%
91  96%

throughput (bytes/sec)
7.260 M
7.107 M  98%
7.079 M  98%
6.943 M  96%

total (bytes)
46.359 G
46.359 G 100%
46.359 G 100%
46.359 G 100%

max memory usage (bytes)
0.376 G
0.387 G 103%
0.381 G 101%
0.380 G 101%

mean CPU usage
100%
100%
100%
100%

The unlink-dont-wait uses the most recently pushed version, which adds an unlink_dont_wait to the Io module:
  let unlink_dont_wait ~on_error path =
    Lwt.dont_wait (fun () -> Lwt_unix.unlink path) on_error

And uses this from Gc.


export onnx

Ph.D. Good afternoon Is it possible to export onnx for prediction

not supported yet. not in the plan. Thank you.


Bug: sql corresponding to sqlserver database was not generated accurately.

Chat2DB Version
2.0.13
Describe the bug

try Pro version


Consider treating codes other than 200 as success

Currently, we only consider 200 status code as success. But in some cases codes like 206 Partial Content might be treated as success, e.g. the entire content might not be needed.
This should probably be a configurable option.

Oh actually it is: https://github.com/lycheeverse/lychee/blob/a7673562d7d4ca58defe1088a5e6aa1cbe373e5d/src/options.rs#L123-L126
But we should probably set a sane default like ["200", "204", "206"] or so.

@pawroman do you think we should change the default? If not I'd say we can close this because the success codes can be configured like so: --accept 200,204,206.

Hi, sorry for the delayed response.
Looks good as it is, thanks for confirming :+1:

No worries. Glad we got this covered. 😊


Training with a custom dataset

Can anyone suggest how can we train this model from scratch using a custom dataset other than COCO.
Like how to prepare data and the steps involved in training?
Thanks

See how the city-scape dataset is converted to COCO JSON format from this example. I copied that setup and created my own dataset mirroring what is done for Cityscapes. This generates a JSON file, similar to the MS-COCO JSON, that can be used by Detectron.

Add your dataset to the dataset catalogue. The paths to image directory and JSON file of course will depend on the annotation conversion procedure in the earlier step.

Add this dataset in the net training script, otherwise you will get an "unknown dataset" error.

For Step 1, you may find this sample gist useful, where I converted face bounding boxes from the WIDER-dataset into the MS-COCO format.

@roytseng-tw if u have time to help me solve this ,i just want fine tune on my dataset of 200 classes , i am not clear of your codebase, if i want to retrain on my dataset, should i must change the code?and if so,where to change the code?appreciate it very much! thank u very much!

@AruniRC Hi  I made the custom dataset like coco2017 ,but my dataset only have 2 classes , I changed the number of class in the net training script. But I don't know how to change the name of classes ,is the codes can get  the classes name by my dataset's annotation?


Add "Reacting to Firestore changes with GCF and EventArc"

Adding the sample code for the new Firebase codealong

Leaving a comment for future reference: I chatted with Peter offline, we have decided creating a top-level codealongs folder for this series. We'll create one once we have more videos in the pipeline.


Consolidate symbolic functions?

Current API is to use tk_to_qujax(circuit) or tk_to_qujax_symbolic(circuit, symbol_map) for more sophisticated parameterisations
Possibly we should consider merging this to tk_to_qujax(circuit) or tk_to_qujax(circuit, symbol_map) interface, where the symbolic interpretation is implied by the symbol_map argument.
Major stumbling block to this is that currently, tk_to_qujax(circuit) and tk_to_qujax_symbolic(circuit, symbol_map=None) behave differently. Notably, tk_to_qujax_symbolic(circuit, symbol_map=None) looks for parameterised gates in circuit.free_symbols() and tk_to_qujax(circuit) in qujax.gates

possible solution is to have the following API
tk_to_qujax(circuit: Circuit, symbol_map: Union[bool, dict] = False)
where

symbol_map = False does the usual looking up of parameterised gates in qujax.gates
symbol_map = True looks for parameterised gates in circuit.free_symbols()
symbol_map = input_dict uses input_dict

tried to do it here https://github.com/CQCL/pytket-qujax/pull/38

Consolidated in #43


Rope should implement std::iter::Extend

Rope should provide implementations of the std::iter::Extend trait, just like String.
We will want to implement Extend<char>, Extend<&'a char>, Extend<&'a str> and Extend<String>, just like String does. Should consider implementing Extend<Rope> as well?

Okay @rachlmac, finishing these implementations should be pretty simple.
To get you started, the naïve solution for Extend<char> would just be to consume each character from the iterator one-by-one and add them to the end of the Rope. You could do that with a for ... in loop over the iterator.
You might get better performance out of collecting elements into a String and then just appending that onto the end of the Rope, as it would involve creating fewer intermediate ropes, and would only trigger one rebalance.
Implementing Extend<String> should be more or less the same, but with a couple types changed. We'll get to the implementation for borrowed references (&'a str and &'a char) tomorrow.


click-crash bug

Describe your bug here.
the game crashes when i click in the window
version:0.7.0
i didnt compile the game so only some custom scripts are added

edit: the script 1 and 2 are: 1: cutscene from wiki page. 2: video plays when 7 is pressed
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
yes but only added scripts in the game file and didnt compiled the game so the problem probably isnt in the source code

here are the links for the scripts. im not good at this so if anyone find something, comment here!
https://www.mediafire.com/folder/anbctf22whco5/flippy-roll
https://www.mediafire.com/folder/7r5x912n509li/scripts

I don't know what it could be but I think it could be one of these cases:

Video not found by Psych Engine
the Chart may be causing some conflict with the game
Some image not found

I fixed one of the Scripts the nome da janela.lua:
function onCreatePost(elapsed)
    local title = "Friday Night funkin VS. Rafa"
    setPropertyFromClass("openfl.Lib", title, title)
end

I hope I was helpfull.

thanks! im really giving up for changing the window name, but,I think you understand it like this: when I click to enter a level or game, the game crashes. But, what I wanted to say was: when I click on the game window, for example: using the editors, the game gives an error text: InvalidField:ClickCount, and when I press the ok button, the game crashes

note: after moving the scripts to a separated folder called quarantine and the results are: without ANY scripts the game has this error! moving to 7.2 source code now! (7.3 do not work because misbehave vocals)

but now This happens:

when i launch the game

While I'm trying to see what's going on, see if it's not the wrong version of some lib
Libraries Versions

I took a look and it's working, try testing it on the already compiled Psych Engine, it could be your Libs that might be in the wrong versions

I really don't know, try testing on an already compiled build, did you put all the libs in the right version that is on the Wiki?

sorry about my delay, but after a while, i dowloaded a release build of psych engine 0.7.2h and... Bug solved! thanks for your patience helping me! i will close this issue in your next reply (i certainly will put you and a mention of the bug in the credits in the final version of the mod!) another thing: infortunately your changes to nome da janela.lua doesnt seem to work :(

wow, what a shame the nome da janela.lua doesn't work anymore, but I'm very happy to help, and I'll be very happy if I'm notified when the mod comes out, but when it comes out, just DM me on discord, my nickname is guineapiguuhh7841

ok, but the mod itself is personal, and im not publishing it. But i can send you some footage when i finnish it


Update _index.md

delete redundant punctuation

Fix #30070
/lgtm

Hey there! @Double-Wen, looks like you haven't signed the CLA yet. Could I please have you do that? https://github.com/kubernetes/community/blob/master/CLA.md

CLA is still failing without feedback from the author.
/close


Updated token creation example to use the proper method.

Example broke with error undefined: SigningMethodHS256. Edited to use jwt.SigningMethodHS256

Thanks.


update componentWillMount to componentDidMount

See Issue #375

Any plans to merge this ?
The Yellow Warnings about componentWillMount is annoying.

Up

+1

+1

Any news on this warning?

+1


Tips

🚀  Tips
:beginner:
At first I recommend use 'roboto' as a font-family.
:exclamation:  At the route '/login/artist'  in the button, I suggest to use a larger font size than you are using now and the same at:
:exclamation: '/login/user'
:exclamation: '/sign/user/'
:exclamation: '/sign/artist'
Last Tip
:exclamation: At '/sign/artist' the type='email' is not working
Good Job:octocat:

🚀 Tips
⚠  at '/sign/artist' to confirm my data when I click the button return an error saying nothing.


Can't use $geoIntersects

I have:

"mongoose": "^4.4.12",

When I'm trying to do something like that:
MyModel.find({
  myLocField: {
    $geoIntersects: {
        $geometry: {
            type: 'Point' ,
            coordinates: [32.694865977875075, 35.293922424316406]
        }
    }
  }
});

I'm getting:
Unhandled rejection Error: Can't use $geoIntersects
    at SchemaType.castForQuery (/xxx/node_modules/mongoose/lib/schematype.js:875:13)
    at cast (/xxx/node_modules/mongoose/lib/cast.js:169:39)
    at Query.cast (/xxx/node_modules/mongoose/lib/query.js:2575:10)

I solved this, implementing:
GeoJSON.prototype.castForQuery = function ($cond, val) {
  if (arguments.length === 2) {
    return val;
  }
  return $cond;
}

If you think, it's good enough, you can put it to the code, and do the same for other classes.
There is a workaround, without changing the module:
  mongoose.SchemaType.prototype.$conditionalHandlers.$geoIntersects = ($cond, val) => {
    if (arguments.length === 2) {
      return val;
    }
    return $cond;
  };

But you'll need to do this for every additional condition you want to support, and you need to understand possible impact of this way.

As far as I know this has been resolved by PR #12


adding auto approve workflow

Codecov Report

Merging #13 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #13   +/-   ##
=========================================
  Coverage     92.45%   92.45%
  Complexity      370      370
=========================================
  Files            19       19
  Lines           901      901
=========================================
  Hits            833      833
  Misses           68       68

Continue to review full report at Codecov.

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


Add Pregnancy Analysis.ipynb

Putting up the notebook i've been using to work on the pregnancy probabilities @eedrummer, please review/merge thank you

@carrils The notebook contains hard coded paths to your home directory. Can you make the CSV file reading relative to files that exist in this repo?

Issue should be fixed now, i've uploaded a folder with csv files used by the notebook and it uses those instead.
Manually replacing those files upon generating a new population within synthea will become necessary though.


Feature Request Webapp: Processflow

Is your feature request related to a problem? Please describe.
Currently its not properly handled if a processflow has too little space for displaying all processflow steps.
Describe the solution you'd like
The processflow steps overflow should be automatically hidden and accessible by navigation elements.
Enclosed an ilustraded example how it should look like.

Thank you for the request and the proposed solution. We will discuss it and enhance the pattern documentation for it. And afterwards we add it as change request to the angular component library.


Remove IContextAwareStringSource in 8.x

This was introduced in 7.x to maintain compatibility with 7.0. We can kill this off for 8.x as this is a major release.

Done


gateway-api: support InvalidTLSConfiguration

Please provide a description of this PR:
Fixes https://github.com/istio/istio/issues/40714

@dddddai: PR needs rebase.

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

@dddddai: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry

integ-telemetry-mc_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry-mc

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

@dddddai: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry

integ-telemetry-mc_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry-mc

integ-telemetry-istiodremote_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry-istiodremote

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

/retest

@dddddai: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry

integ-telemetry-mc_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry-mc

integ-telemetry-istiodremote_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry-istiodremote

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

@dddddai: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry-mc_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry-mc

integ-telemetry-istiodremote_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry-istiodremote

integ-telemetry_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry

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

@dddddai: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry

integ-telemetry-mc_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry-mc

lint_istio
23ce42214cfc99c66826d873ef90e305de30afa5
link
true
/test lint

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

@dddddai: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry

integ-telemetry-mc_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry-mc

lint_istio
23ce42214cfc99c66826d873ef90e305de30afa5
link
true
/test lint

integ-basic-arm64_istio
23ce42214cfc99c66826d873ef90e305de30afa5
link
true
/test integ-basic-arm64

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

@dddddai: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry

integ-telemetry-mc_istio
c969acb0ca82ff3538daf85878628e4e481e768f
link
true
/test integ-telemetry-mc

lint_istio
23ce42214cfc99c66826d873ef90e305de30afa5
link
true
/test lint

integ-basic-arm64_istio
23ce42214cfc99c66826d873ef90e305de30afa5
link
true
/test integ-basic-arm64

integ-ds_istio
23ce42214cfc99c66826d873ef90e305de30afa5
link
true
/test integ-ds

integ-ipv6_istio
23ce42214cfc99c66826d873ef90e305de30afa5
link
true
/test integ-ipv6

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

No problem :)


Retrolambda can not be run under JDK 9

If we run retrolambda under Java 9, then this error appears:
java.lang.IncompatibleClassChangeError: Method java.util.stream.Stream.of([Ljava/lang/Object;)Ljava/util/stream/Stream; must be InterfaceMethodref constant
	at net.orfjackal.retrolambda.SystemPropertiesConfig.parsePathList(SystemPropertiesConfig.java:158)
	at net.orfjackal.retrolambda.SystemPropertiesConfig.getClasspath(SystemPropertiesConfig.java:148)
	at net.orfjackal.retrolambda.Retrolambda.run(Retrolambda.java:25)
	at net.orfjackal.retrolambda.Main.main(Main.java:28)

Compared with issue https://github.com/orfjackal/retrolambda/issues/119 indeed at net.orfjackal.retrolambda.SystemPropertiesConfig.parsePathList(SystemPropertiesConfig.java:158) there is a call to Stream.of which, since retrolamda jar is downgraded, it falls to the same problem.
Apart of the obvious answer ("run retrolambda under Java 8), is there any real solution to this problem?

This problem originates from Retrolambda's build processing itself with Retrolambda so that the Maven plugin, which is Java 6 compatible, can be compiled to call Retrolambda's APIs directly. Some options for fixing this:

Move those classes that the Maven plugin uses (SystemPropertiesConfig) into another module which is compiled using Java 6 (calling the main method probably needs reflection), and do not run Retrolambda on itself.
Avoid using the Stream API inside Retrolambda and instead use the streamsupport library.
Downgrade Retrolambda's code to pre-Java 8.

I'll try out the first option and see how it goes...

I think the problem could be easily solved by replacing
        return Stream.of(paths.split(File.pathSeparator))

with
        return Arrays.asList(paths.split(File.pathSeparator)).stream()

at retrolambda/retrolambda/src/main/java/net/orfjackal/retrolambda/SystemPropertiesConfig.java line 158

This has been fixed in Retrolambda 2.5.2

Had this issue in Gradle 4.4.1 - currently the most recent version. Gradle 4.4.1 uses Retrolambda 2.5.1 so I hope they add the fixed version soon. I reported this issue here: Gradle - Issue 3921


Feature request: TableRowGroup type="tfoot"

Expected Behaviour
Would be nice if support for adding a footer to a table was supported. For example to sum up the total for numeric columns.
 <TableRowGroup ref={tfootRef} type="tfoot">
Actual Behaviour
Not implemented.
Platform and Version
https://github.com/adobe/react-spectrum/releases/tag/%40adobe%2Freact-spectrum%403.26.0

Btw, I think you should be able to do most of this yourself if you're in a time crunch. However, we could definitely make this easier.
If you used our React Aria Components as an example
https://github.com/adobe/react-spectrum/blob/main/packages/react-aria-components/src/Table.tsx#L332 you could just render a tfoot after this line
You could do that by making a copy of that Table component and using it instead of the one from react-aria-components.
You could even make a component for TableFooter that makes use of useTableRowGroup.

Also ran into this. Copying just the "Table" component inside ./Table.tsx from RAC doesn't work. It relies on many non-exported Contexts, Classes and components that are in the same file.
The only way is would be to copy the file entirely but that would remove the benefit of using RAC over the hooks.
So far I was not able to add a tfoot, caption or control over the 's generated inside the thead. Maybe an idea is to add a renderTableChildren() and set
<>
<TableHeaderRowGroup collection={collection} />
<TableBodyRowGroup collection={collection} isDroppable={isListDroppable} />
</>

as the default?

I ran into this issue as well. I need to implement a footer to sum up column totals. This seems like a gross oversight to not have this implemented already. I tried to create my own hooks and stately components, but it's just too difficult to unravel how everything is connected. It made me question if it's a good idea to implement a library that so difficult to extend. After more hours than necessary I was able to render a tfoot. It felt like re-inventing the wheel.

I'd like to second this feature request. The ability to add a tfoot to the React Aria Components table is a fundamental feature. @snowystinger Is there any update on this feature? Appreciate the work on this library and looking forward to this addition.

No updates at this time. We'd welcome a contribution for the feature as it's not high on our priorities.


write out less complicated feature classes

for example, on the high frequency stops file. there are too many columns for effective review.

this is a subtask of https://github.com/BayAreaMetro/RegionalTransitDatabase/issues/67