langchain_google_genai/function_utils.py "type": TYPE_ENUM[v["type"]] - KeyError: 'type'

Description
Attempting to run a Google example makes this error.
I also reported it here: https://github.com/langchain-ai/langchain-google/issues/376
Full stack trace:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/prefect/flow_engine.py", line 635, in run_context
    yield self
  File "/usr/local/lib/python3.10/site-packages/prefect/flow_engine.py", line 676, in run_flow_sync
    engine.call_flow_fn()
  File "/usr/local/lib/python3.10/site-packages/prefect/flow_engine.py", line 655, in call_flow_fn
    result = call_with_parameters(self.flow.fn, self.parameters)
  File "/usr/local/lib/python3.10/site-packages/prefect/utilities/callables.py", line 208, in call_with_parameters
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/controlflow/decorators.py", line 110, in wrapper
    result = fn(*args, **kwargs)
  File "/app/flow.py", line 27, in team_flow
    who = task_master.run()
  File "/usr/local/lib/python3.10/site-packages/prefect/tasks.py", line 845, in __call__
    return run_task(
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 918, in run_task
    return run_task_sync(**kwargs)
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 731, in run_task_sync
    return engine.state if return_type == "state" else engine.result()
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 343, in result
    raise self._raised
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 673, in run_context
    yield self
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 729, in run_task_sync
    engine.call_task_fn(txn)
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 702, in call_task_fn
    result = call_with_parameters(self.task.fn, parameters)
  File "/usr/local/lib/python3.10/site-packages/prefect/utilities/callables.py", line 208, in call_with_parameters
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/controlflow/tasks/task.py", line 360, in run
    controller.run()
  File "/usr/local/lib/python3.10/site-packages/prefect/tasks.py", line 845, in __call__
    return run_task(
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 918, in run_task
    return run_task_sync(**kwargs)
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 731, in run_task_sync
    return engine.state if return_type == "state" else engine.result()
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 343, in result
    raise self._raised
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 673, in run_context
    yield self
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 729, in run_task_sync
    engine.call_task_fn(txn)
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 702, in call_task_fn
    result = call_with_parameters(self.task.fn, parameters)
  File "/usr/local/lib/python3.10/site-packages/prefect/utilities/callables.py", line 208, in call_with_parameters
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/controlflow/controllers/controller.py", line 340, in run
    new_messages = self.run_once()
  File "/usr/local/lib/python3.10/site-packages/prefect/tasks.py", line 845, in __call__
    return run_task(
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 918, in run_task
    return run_task_sync(**kwargs)
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 731, in run_task_sync
    return engine.state if return_type == "state" else engine.result()
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 343, in result
    raise self._raised
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 673, in run_context
    yield self
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 729, in run_task_sync
    engine.call_task_fn(txn)
  File "/usr/local/lib/python3.10/site-packages/prefect/task_engine.py", line 702, in call_task_fn
    result = call_with_parameters(self.task.fn, parameters)
  File "/usr/local/lib/python3.10/site-packages/prefect/utilities/callables.py", line 208, in call_with_parameters
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/controlflow/controllers/controller.py", line 291, in run_once
    for _ in response_gen:
  File "/usr/local/lib/python3.10/site-packages/controlflow/llm/completions.py", line 307, in _handle_events
    for event in generator:
  File "/usr/local/lib/python3.10/site-packages/controlflow/llm/completions.py", line 125, in _completion_generator
    model = model.bind_tools([t.to_lc_tool() for t in as_tools(tools)])
  File "/usr/local/lib/python3.10/site-packages/langchain_google_genai/chat_models.py", line 1000, in bind_tools
    genai_tools = [
  File "/usr/local/lib/python3.10/site-packages/langchain_google_genai/chat_models.py", line 1001, in <listcomp>
    tool_to_dict(convert_to_genai_function_declarations(tool)) for tool in tools
  File "/usr/local/lib/python3.10/site-packages/langchain_google_genai/_function_utils.py", line 103, in convert_to_genai_function_declarations
    return GoogleTool(function_declarations=_convert_dict_to_genai_functions(tool))  # type: ignore
  File "/usr/local/lib/python3.10/site-packages/langchain_google_genai/_function_utils.py", line 180, in _convert_dict_to_genai_functions
    return [_convert_dict_to_genai_function(d)]
  File "/usr/local/lib/python3.10/site-packages/langchain_google_genai/_function_utils.py", line 204, in _convert_dict_to_genai_function
    "properties": {
  File "/usr/local/lib/python3.10/site-packages/langchain_google_genai/_function_utils.py", line 206, in <dictcomp>
    "type_": TYPE_ENUM[v["type"]],
KeyError: 'type'

Example Code
No response
Version Information
controlflow                    0.8.2
langchain                      0.2.6
langchain-community            0.2.6
langchain-core                 0.2.11
langchain-experimental         0.0.62
langchain-google-genai         1.0.7
langchain-google-vertexai      1.0.6

Additional Context
No response

Alright I found the issue, which was puzzling as they said it was fixed in latest version - when I used the env var it triggers:
ENV CONTROLFLOW_LLM_MODEL=google/gemini-1.5-flash
so perhaps that is using an older version of the Langchain lib than what I have installed?

Ok, that's odd -- I think everything's been bumped with the LC 0.3 release, so I'm going to clsoe this for now unless it shows up again!


eQTL databases potential

@MichaelaEBI commented on Tue Mar 06 2018
@ckongEbi commented on Tue Jan 23 2018
Explore for eQTL database with Daniel Zerbino for post gap and genetics portal

HFGP: Human Functional Genomics Project
hfgp.bbmri.nl

exQTLserve/ROSMAP
http://mostafavilab.stat.ubc.ca/xqtl/

There is now an eQTL Open Targets project: http://home.opentargets.org/OTAR2046


Visual keys

Hi Marc,
I submitted this through email about a year ago, but I'm trying out the GitHub workflow now.
This branch is to display command keypresses in the status bar while a multiple keypress command is being entered. Almost all commands in dvtm begin with MOD, so require multiple keypresses. Command keys are displayed as they are pressed, and appear between the layout symbol and the status text. The keys are cleared from the status bar after the final key of a command is pressed, or if the key combination is not bound to a command. For example, if your MOD is set to ^G and you are toggling the view of tag 4, it first displays '^g' after you press MOD, then '^gV' after you press 'V', and then is cleared after you complete the command by pressing '4'.
Thanks -Ross

I already saw this patch for dvtm on your blog.  I will already adopt this patch, thank you!

I'd like to make another request that this patch be merged into the master branch. I think this is a good change and that everyone would like to see it. Thank you! -Ross

Here's an example of what it looks like. On the upper right, you can see that I've pressed '^g' as my MOD key, then 'v', so now I'm ready to select the number of the view I'll switch to. This is very similar to the way in which vim displays key presses as you type them, until you complete a full command.

Not sure whether I like that there is no separation between the layout symbol and the pending input, but I will apply it with some cosmetic changes.


feat: support NACL and STA extensions

ref:

NACL https://github.com/riscv-non-isa/riscv-sbi-doc/blob/master/src/ext-nested-acceleration.adoc
STA https://github.com/riscv-non-isa/riscv-sbi-doc/blob/master/src/ext-steal-time.adoc

LGTM


Stored procedure to build replicated Tables and wait for replication to complete

CREATE PROCEDURE dbo.ReplicateTables
AS
CREATE TABLE #tbl
WITH
( DISTRIBUTION = ROUND_ROBIN
)
AS
SELECT
ROW_NUMBER() OVER(ORDER BY (SELECT NULL)) AS Sequence
,CONCAT('SELECT TOP(1) * FROM ', s.name,'.', t.[name]) sql_code
FROM sys.pdw_replicated_table_cache_state p
JOIN sys.tables t ON t.object_id = p.object_id
JOIN sys.schemas s ON t.schema_id = s.schema_id
WHERE p.[state] = 'NotReady'
DECLARE @nbr_statements INT = (SELECT COUNT(*) FROM #tbl)
,       @i INT = 1
;
WHILE   @i <= @nbr_statements
BEGIN
DECLARE @sql_code NVARCHAR(4000) = (SELECT sql_code FROM #tbl WHERE Sequence = @i);
EXEC    sp_executesql @sql_code;
SET     @i +=1;
END;
DROP TABLE #tbl;
SET @i = 0
WHILE
(
SELECT TOP(1) p.[state]
FROM sys.pdw_replicated_table_cache_state p
JOIN sys.tables t ON t.object_id = p.object_id
JOIN sys.schemas s ON t.schema_id = s.schema_id
WHERE p.[state] = 'NotReady'
) = 'NotReady'
BEGIN
IF @i % 100 = 0
	BEGIN
		RAISERROR('Replication in progress',0,0) WITH NOWAIT;
	END
SET @i = @i + 1

ENDPRINT 'Replication Complete'

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

ID: 51d332d1-7b6a-bdcc-f50a-d796c3c6e7c5
Version Independent ID: ec158270-0be7-4353-61f1-f1c122ac48c9
Content: Design guidance for replicated tables - Azure SQL Data Warehouse
Content Source: articles/sql-data-warehouse/design-guidance-for-replicated-tables.md
Service: sql-data-warehouse
Product: unspecified
GitHub Login: @ronortloff
Microsoft Alias: rortloff

@Mike-Ubezzi-MSFT more of an extension to the documentation to enable people to auto replicate tables and wait till they are finished replicating in ETL scenarios where it can massively impact query performance and mitigate DMS shuffles

I have assigned the issue to the content author to evaluate and update as appropriate.

Thanks for providing tip.  This is under consideration for adding to documentation.  #please-close

Just as an FYI, if it is in the loop waiting for replication completion and another table is marked for replication it will not complete. Still testing further updates to pick up these new tables and replicate them, but nothing solid yet. Generally works fine though, but am sure you guys can tweak it better than I.


Improvements to hand joint visualizer perf

Overview
Removes everywhere we used to iterate through the dictionary, its keys, or its values with foreach, as all of these cause the enumerator to be allocated. Instead, we now use lists where possible and index into them instead of checking a dictionary.
Also optimizes some code paths where we were doing multiple dictionary calls for the same key.
Drops the per-frame allocs from 40B per-hand to 0.
Also feels like it drops the average time spent in this method, though it fluctuates a bit and is harder to measure.

Changes

Part of fixing #9400

/azp run

/azp run

/azp run

/azp run

Looks good to me!

/azp run


test: test mutations with default schema name

Do not merge: This is just for testing.

Closing, as this pull request was just to verify that the locally observed behavior corresponds with what we see in the CI env.


VC parser error: Cannot read property 'splice' of null

Apr 03 02:39:19 ip-172-30-1-176 unified:  error: Error during compilation TypeError: Cannot read property 'splice' of null
Apr 03 02:39:19 ip-172-30-1-176 unified:      at checkUsedDatadefLabels (/compiler-explorer/lib/asm-parser-vc.js:149:20)
Apr 03 02:39:19 ip-172-30-1-176 unified:      at asmLines.forEach.line (/compiler-explorer/lib/asm-parser-vc.js:266:13)
Apr 03 02:39:19 ip-172-30-1-176 unified:      at Array.forEach (<anonymous>)
Apr 03 02:39:19 ip-172-30-1-176 unified:      at AsmParser.processAsm (/compiler-explorer/lib/asm-parser-vc.js:176:18)
Apr 03 02:39:19 ip-172-30-1-176 unified:      at AsmParser.process (/compiler-explorer/lib/asm-parser.js:465:21)
Apr 03 02:39:19 ip-172-30-1-176 unified:      at WineVcCompiler.processAsm (/compiler-explorer/lib/base-compiler.js:612:25)
Apr 03 02:39:19 ip-172-30-1-176 unified:      at compileToAsmPromise.then.then.then.then.result (/compiler-explorer/lib/base-compiler.js:572:51)
Apr 03 02:39:19 ip-172-30-1-176 unified:  info: <IP_ADDRESS> "POST /api/compiler/cl_new_arm64/compile" 200
Apr 03 02:39:19 ip-172-30-1-176 unified:      at <anonymous>

Still happening a fair bit.


Create NASA-12-LookAndSaySequence.ring

NASA Problems
12 - Look and Say Sequence

Thanks for the new sample!


docker containers can only ping one way

I'm currently experiencing the same symptoms as issue #87
Running flanneld 0.5.5
Can ping from container on node#1 to node#2, but not from node#2 to node#1.
What I have found so far is that my etcd config does not contain the subnet of the container I am trying to ping.  Somehow the etcd set did not make it?

Okay, figured out the problem--restarting flanneld requires me to reconfigure docker to be set with the right subnet written out to /run/flannel/subnet.env.  I think setting up my configs to reconfigure docker will solve this issue.  Closing.


[5.3] Explicit route model binding specific to a route group

Summary
Currently, explicit route model binding is global: once defined, it applies to all routes. It would be nice to be able to define binding specific to a route group. Something like this:
$router->group(['namespace' => 'Foo'], function (Router $router) {
    $router->get('users/{user}', 'FooController@show');
    // ...
})->bind('user', function($value) {
    // ...
});

Or an alternative syntax:
$router->group(['namespace' => 'Foo'], function (Router $router, RouteGroup $group) {
    $group->bind('user', function($value) {
        // ...
    });

    $router->get('users/{user}', 'FooController@show');
    // ...
});

Use Case
In one of my projects, I'm using soft-delete for one of the models. Using implicit model binding, querying for a soft-deleted entity results in 404, which is intended, because to the end-user, the entity is not there. However, at the same time, I want the soft-deleted entities to be visible to the admins (another user of the system.) So for all /admin/* routes, querying for a soft-deleted entity should not return 404. Currently, the way I circumvent this issue is by defining a different binding:
$router->bind('entity_all', function($value) {
    // Include soft-deleted entries
    return SomeEntity::withTrashed()->find($value);
});

So when I need to include soft-deleted entries, I use entity_all instead:
// Route definition
$router->group(['prefix' => 'admin', 'namespace' => 'Admin'], function (Router $router) {
    $router->get('entities/{entitiy_all}', 'EntityController@show');
    // ...
});

// Controller method
public function show(SomeEntity $entity_all)
{
    // ...
}

The drawback with this approach is that I have to use $entity_all for the parameter name. It would be nice to be able to still use $entity by overriding the model binding for the admin route group:
// Route definition
$router->group(['prefix' => 'admin', 'namespace' => 'Admin'], function (Router $router, RouteGroup $group) {
    $group->bind('entity', function($value) {
        // Include soft-deleted entries
        return SomeEntity::withTrashed()->find($value);
    });

    $router->get('entities/{entitiy_all}', 'EntityController@show');
    // ...
});

+1

Possible using a custom middleware in 5.3 now that we've moved the implementation out to a middleware instead of having it internal to the middleware.

I don't know what has changed in the 2 years since this issue was opened, but it seems route bindings are still global-only
I've been using explicit bindings like these so that I can use uuid over api routes and slug over web routes:
Route::bind('category', function ($value) {
    if (in_array('api', Route::current()->middleware())) {
        return App\Category::where('uuid', $value)->first() ?? abort(404);
    }

    return App\Category::where('slug', $value)->first() ?? abort(404);
});

Also had some success conditionally limiting the results like this, e.g. allow visibility of all teams over API but only allow the user's own teams via web routes (web being for team management) – works pretty well:
Route::bind('team', function ($value) {
    if (in_array('api', Route::current()->middleware())) {
        return App\Team::where('uuid', $value)->first() ?? abort(404);
    }

    return request()->user()->teams()->where('slug', $value)->first() ?? abort(404);
});


Missing config.split_option_flag?

Hi, thanks for the code!
When I run:
CUDA_VISIBLE_DEVICES=0 python -m src.pl_train -c t03b.json+rte.json -k save_model=False exp_name=first_exp3

I get:
Reusing dataset super_glue (/localdata/hjl/hf/super_glue/rte/1.0.2/d040c658e2ddef6934fdd97deb45c777b6ff50c524781ea434e7219b56a428a7)
Train size 32
Eval size 277
LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0]
Missing logger folder: /home/hjl/t-few/exp_out/first_exp3/log

  | Name  | Type                       | Params
-----------------------------------------------------
0 | model | T5ForConditionalGeneration | 2.8 B
-----------------------------------------------------
2.8 B     Trainable params
0         Non-trainable params
2.8 B     Total params
11,399.029Total estimated model params size (MB)
Validation sanity check:   0%|                                                                                | 0/18 [00:00<?, ?it/s]Traceback (most recent call last):
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/hjl/t-few/src/pl_train.py", line 86, in <module>
    main(config)
  File "/home/hjl/t-few/src/pl_train.py", line 57, in main
    trainer.fit(model, datamodule)
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 741, in fit
    self._fit_impl, model, train_dataloaders, val_dataloaders, datamodule, ckpt_path
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 685, in _call_and_handle_interrupt
    return trainer_fn(*args, **kwargs)
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 777, in _fit_impl
    self._run(model, ckpt_path=ckpt_path)
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1199, in _run
    self._dispatch()
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1279, in _dispatch
    self.training_type_plugin.start_training(self)
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/plugins/training_type/training_type_plugin.py", line 202, in start_training
    self._results = trainer.run_stage()
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1289, in run_stage
    return self._run_train()
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1311, in _run_train
    self._run_sanity_check(self.lightning_module)
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1375, in _run_sanity_check
    self._evaluation_loop.run()
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/loops/base.py", line 145, in run
    self.advance(*args, **kwargs)
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/loops/dataloader/evaluation_loop.py", line 110, in advance
    dl_outputs = self.epoch_loop.run(dataloader, dataloader_idx, dl_max_batches, self.num_dataloaders)
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/loops/base.py", line 145, in run
    self.advance(*args, **kwargs)
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/loops/epoch/evaluation_epoch_loop.py", line 122, in advance
    output = self._evaluation_step(batch, batch_idx, dataloader_idx)
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/loops/epoch/evaluation_epoch_loop.py", line 217, in _evaluation_step
    output = self.trainer.accelerator.validation_step(step_kwargs)
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/accelerators/accelerator.py", line 236, in validation_step
    return self.training_type_plugin.validation_step(*step_kwargs.values())
  File "/opt/conda/hjl/envs/tfew/lib/python3.7/site-packages/pytorch_lightning/plugins/training_type/training_type_plugin.py", line 219, in validation_step
    return self.model.validation_step(*args, **kwargs)
  File "/home/hjl/t-few/src/models/EncoderDecoder.py", line 229, in validation_step
    batch_output = self.predict(batch)
  File "/home/hjl/t-few/src/models/EncoderDecoder.py", line 139, in predict
    if not self.config.split_option_flag:
AttributeError: 'Config' object has no attribute 'split_option_flag'

I can't find a reference to split_option_flag in any of the config files.
Should I manually set it?
Thanks!

That works, thanks.
On the subject of small fixes, I had to remove the trailing slash from the origin_model in:
https://github.com/r-three/t-few/blob/master/configs/t03b.json
to get .from_pretrained() to not complain.


needed 669H7_recovery.img

Hi. Help restore the camera to the factory software. needed 699H7_recovery.img

000699H7


⚠ Bofrost.de has degraded performance

In 42dd8e7, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1434 ms

Resolved: Bofrost.de performance has improved in 0c8f8fb.


Prompt the User at least once before signing commit without a user set.

So currently, if one decides to preform a commit, but there is no user set. The first commit is signed with a generated name/email.
While it is possible to amend it. (Thanks for the tip) It would be more practical to have a one time prompt pointing this out before doing so.

You mean if no username/email is set in .gitconfig (Also visible in the "General" tab of the application settings?


Solr 5.4 support

Looks like all this needed was the sha256sum.
It might be worth noting that that the change in PR #69 where it pulls the url and sha into attributes would've allowed me to try 5.4 without needing to wait for a new cookbook version.
Alternatively, so would've the ability to bypass the sha check.

@randomstatistic Actually, i am going to modify methods solr_tarball_sha256sum & zookeeper_tarball_sha256sum further a little bit. We want to keep the sha256sum in to the libraries but also allow user to set the sha256sum if missing for newer or any other version. Something like this:
diff --git a/libraries/helpers.rb b/libraries/helpers.rb
index 005e23d..e42713d 100644
--- a/libraries/helpers.rb
+++ b/libraries/helpers.rb
@@ -10,7 +10,7 @@ def solr_tarball_sha256sum(version)
     '5.2.0' => 'dff2c5df505b732e23178e8f12e817dba4a088a8afe6599dcacf9ea241f76a1e', '5.2.1' => '3f54cec862da1376857f96f4a6f2044a5addcebc4df159b8797fd71f7ba8df86', '5.3.0' => '26aec63d81239a65f182f17bbf009b1070f7db0bb83657ac2a67a08b57227f7c',
     '5.3.1' => '34ddcac071226acd6974a392af7671f687990aa1f9eb4b181d533ca6dca6f42d'
   }
-  sha256sum = sha256sums[version]
+  sha256sum = sha256sums[version] || node['solrcloud']['sha256sum']
   fail "sha256sum is missing for solr tarball version #{version}" unless sha256sum
   sha256sum
 end
@@ -19,7 +19,7 @@ def zookeeper_tarball_sha256sum(version)
   sha256sums = {
     '3.4.6' => '01b3938547cd620dc4c93efe07c0360411f4a66962a70500b163b59014046994'
   }
-  sha256sum = sha256sums[version]
+  sha256sum = sha256sums[version] || node['solrcloud']['zookeeper']['sha256sum']
   fail "sha256sum is missing for zookeeper tarball version #{version}" unless sha256sum
   sha256sum
 end

I am planning to publish a newer version today with pending changes. I hope this will get you going.
PR LGTM, will get it merged. Thanks!

That looks great, thanks! If you could publish 0.8.6 (or whatever) to supermarket, I've got a coworker anxious to start playing with 5.4 tomorrow. I'd started setting up an internal fork I could publish from in the interim, but didn't get it finished before my holiday break.

@randomstatistic Sorry for the delay, publishing v0.8.6.


chore(release): stability and accuracy fixes

CAPPS-2291
Releasing a major version. There were API contract changes.

@roerohan Can you please review & merge this? Also can you please release it to NPM? Currently, there are no automated workflows in this repo to release it automatically.

Looks like README got replaced totally. Will fix the README and enable this PR again


Fix blocking at parial memory full by TopNOperator

I found a case the TopNOperator doesn't process any records after partial flush, so it was permanently blocked.
It seems that needsInput always returns false after the partial flush.

Merged, thanks!


Disable English subtitle.

Hello! I'm new to Kodi world and this my first add-on to try. It's very rich and helpful. Thanks for your work.
I'm facing only one issue related to the subtitle. I can't seem to be able to disable the English subtitle. Is it hardcoded? It interferes with my external sub makes it hard to read.

Subtitles are mostly hardcoded. External subtitles only happens on newly released video but are later turned to hardcoded.


Fixing Feature section

New Task:
What is the task
Features section is not properly aligned. I will work on it so that it looks beautifully aligned and maintain the page flow.
Who is the task for?

[x] I created this task for me to complete, I will create a PR soon.
[ ] I created this task for someone else to claim.
[ ] I think this is a task that multiple people can do

Confirm all of the following:

[x] I have looked at all the issues currently available and this does not exist or overlap with another ticket

⚠ PLEASE ONLY SUBMIT A PR FOR THIS TASK IF THIS TASK WAS AVAILABLE FOR YOU TO CLAIM

@aneagoie @MattCSmith kindly verify and merge my PR.

@Surya742 I'm not sure the styling provided is the desired effect. There is overlapping and a horizontal scroll.

name: google-api-fetch-token-action
uses<EMAIL_ADDRESS>
HELP please tell me what my "yml file" is and how I enter tokens in it and like what the code above is for that I have from somewhere since I forgot please help I'm new to this stuff :) -Meri Rose Winsor 😃💯

@brittneypostma  When I had made this PR this was looking great, but maybe due to some merging from other contributors some code might changed on which my code creating this issue, I can made it again like that if you assign me.

That is a possibility, but the conflicts still need to be fixed as the pr sent through makes the layout worse.


Review how licence, attribution and copyright information is constructed and displayed

What?
Review and make improvements to the way we construct and display licence, credit/attribution and copyright information on works and item pages.
We need to rationalise how we display:

Licence (from IIIF manifest)
Human-readable licence explainer from codebase
Credit line (constructed from IIIF manifest)
Copyright note (from Sierra) considering digitised and non-digitised material

Why?
Back in 2017 when we began generating credit lines for digitised items, we hadn't yet entered into the world of having digitised material for which we did not have open licenses like CC and PDM. In that scenario, we always wanted to have an attribution/credit line that followed the TASL format because that's what was recommended for Creative Commons licenced material.
Now we're getting more born digital material that is in copyright and has a different set of needs around crediting the authors. Our old model isn't working in this new world.
Background
https://wiki.creativecommons.org/wiki/best_practices_for_attribution
https://wellcome.slack.com/archives/C8X9YKM5X/p1686925927988869
Done when

[ ] Current mapping documented for shared understanding
[ ] Consult Collections Info for recommendations for citing in copyright material
[ ] Recommendations for next steps (which may include redesign on works/item pages, new data fields in Goobi)

Examples as discussed with @rcantin-w
https://wellcomecollection.org/works/y2mtrewc - WORKING EXAMPLE
This is working as expected

Public Domain licence
Human readable licence text
Credit line to attribute digitised item to WC

https://wellcomecollection.org/works/yp5qrpvk - CREDIT LINE PROBLEM
This is not working as expected. It's one of our 3rd party digitised books, originally from The University of Leeds Library.

In copyright
No human readable licence text (we don't have any)
Credit line is borked - what's happening here?

Phrases merged into one

Text is linked but no URL provided

https://wellcomecollection.org/works/um8agcr7/items - Another credit line problem shown in viewer
https://wellcomecollection.org/works/b373tjqs - NOT DIGITISED, HAS A COPYRIGHT NOTE
This is working as currently expected.
https://wellcomecollection.org/works/wys2bdym - In copyright example; 'Can this be used?' component hidden #9968

Licence section
This whole section only gets rendered if the work has a Digital Location Licence.

Licence
Taken from the Digital Location License label.
Access conditions (to be revised)
I couldn't find any example where this was rendered, but if the Digital Location has Access Conditions Terms, they get rendered at this stage.
Can I use this?

First section
The first section is based off the Digital Location's license's "human readable text". If it exists, it gets displayed. I'm unsure how it is structured within the system itself, but in the code it comes back as an array, with a paragraph per child. In this screenshotted example :

Second section ("Credit")

Credit: (hard-coded) 2. Work title. 3. (If there is either a Digital Location credit OR a "IIIF Credit" which is coming from the "Attribution and usage" metadata in IIIF) it displays as link to the Work. 4. Digital Location License Label (if there is a digital location license url, it displays as a link, otherwise it's just text)

So in this screenshotted example.

1. Credit: 2. Reasons, rules, and recipes for using the Cow and Gate Milk Powder, with a few suggestive menus for flesh-eaters and non-flesh-eaters, and an introduction / by a practical housekeeper ; revised by Eustace Miles. 3. This material has been provided by This material has been provided by The University of Leeds Library. The original may be consulted at The University of Leeds Library. where the originals may be consulted.. 4. In copyright

Meeting with Alexandra on 4/7 to get some peer feedback/subject expertise.

Moved to Blocked since we won't be moving on this until then - let me know if I can help on that meeting!

@rcantin-w

This whole section only gets rendered if the work has a Digital Location Licence

Where is the Digital Location Licence found?

Where is the Digital Location Licence found?
It's from the IIIF manifest, which I think can be either a Presentation or an Image. If more details are needed I might call on @gestchild as this is where my knowledge stops!


[OOZIE-3622] No mapreduce jars in the classpath for hadoop3 mapreduce job

The mapreduce job example in oozie doesn't work due to mapreduce jars won't be included in the classpath, This PR is to add HADOOP_MAPRED_HOME  to mapreduce action's launcher jvm's environment.

It will be compatible with previous Hadoop version? Like hadoop 2.6?


Player Sprite Displaced

Description

The player sprite seems to be displaced, not sure how it happened or when, but I noticed it mid shift
Reproduction
No clue, sorry
Screenshots

https://github.com/space-wizards/space-station-14/assets/83733158/3d45ac20-4e81-411b-ad44-dd0cca5ef778

Additional context

Screenshots and Videos from Wizard Den Lizard shift #57270
In the shots next to the chairs, the character is buckled into the chairs.

I seem to have this happen when being put in a cryopod? Not sure


Fixed the use of field.name for components

We were not able to use the field type __component because of the string added to the front of the component name. This small fix removed the string in front of the component name.
https://github.com/mannyyang/vuetable-3/issues/11

Are you able to do a release for this so It can be used?

yupp<EMAIL_ADDRESS>should be available to install now

yupp<EMAIL_ADDRESS>should be available to install now

excellent thank you


Min amount per deposit - attempt #2

Please go the the Preview tab and select the appropriate sub-template:

Production code - for types fix, feat, and refactor.
Docs - for documentation changes.
Others - for changes that do not affect production code.

Ok, the problem with my other PR, is that I tried to bring in every file that was changed by that PR.
Now that I have a better understanding of the cosmos-sdk code base, I know that some of the changes aren't relevant for what we're trying to do now.
This is a much smaller PR :)

Nice job! It looks pretty good now. Just one tiny thing, it seems that you (accidentaly?) run gofumpt on the generated proto files. You can see that by re-generate them using make proto-gen, the new files are differents whereas they shouldn't. Just fix that and we should be good to merge.

Ok, I re-generated them. It seems like there are still some minor formatting differences? Could be because I'm on a diff version of buf?
$ buf --version
1.32.1

Ok, I re-generated them. It seems like there are still some minor formatting differences? Could be because I'm on a diff version of buf?

I don't see any differences, I pulled your changes and ran make proto-gen, no changes so all good.


CollisionPolygon Uses PoolVector2Array

Windows 10, Godot 3.0 alpha1
Issue description:

The CollisionPolygon node uses a PoolVector2Array instead of a PoolVector3Array, completely breaking functionality.
Steps to reproduce:
Create a new CollisionPolygon node. Problem is also present when trying to make a CollisionPolygon from code.

it makes total sense that it's a 2D array, it's a 2D polygon aligned to the
z axis, is it not?
On Fri, Aug 25, 2017 at 3:48 PM, cwook<EMAIL_ADDRESS>wrote:

Windows 10, Godot 3.0 alpha1
Issue description:
The CollisionPolygon node uses a PoolVector2Array instead of a
PoolVector3Array, completely breaking functionality.
Steps to reproduce:
Create a new CollisionPolygon node. Problem is also present when trying to
make a CollisionPolygon from code.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/10640, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2-Mmqp5RdQJkfyvO6BlWHSycnY9fks5sbxcYgaJpZM4PDCNH
.

I wasn't aware that was it's intended function. Issue closed.


Help Creating Type-Safe Models

I'm working on an application where all the BE types are compiled into Typescript for me. I would love to be able to enforce type-safety on the models in factory to some extent.
I've got the following code
type User = {
  id: string;
  firstName: string;
  lastName: string;
};

export const db = factory({
  user: {
    id: primaryKey(() => 'abc-123'),
    firstName: () => 'John',
    lastName: () => 'Maverick',
  }
})

Obviously because of the getters I can't just do user: { .... } as User
I also tried defining type Factory<T> = { [P in keyof T]-?: () => T[P] };
With that, I can do user: { .... } as Factory<User>, which works for simple fields, but breaks for anything using primaryKey, manyOf, oneOf, etc.
Any thoughts? I'd really just like to make sure I'm not missing keys when I define new models.

Same problem here

+++

Try the below out.  Props to ChatGpt though it took a painful amount of prompting.
`import {
ModelDefinition,
ModelValueType,
PrimaryKeyType,
} from '@mswjs/data/lib/glossary';
import {
NullableProperty,
} from '@mswjs/data/lib/nullable';
import {
PrimaryKey,
} from '@mswjs/data/lib/primaryKey';
import {
ManyOf,
OneOf,
} from '@mswjs/data/lib/relations/Relation';
export type IFactory<
DTO_TYPE,
Relations extends { [K in keyof DTO_TYPE]?: string } = object,
PrimaryKeys extends keyof DTO_TYPE = Extract<'id', keyof DTO_TYPE>

= {
[K in keyof DTO_TYPE]: K extends PrimaryKeys // Check if the property is a primary key
? DTO_TYPE[K] extends PrimaryKeyType
? PrimaryKey<DTO_TYPE[K]>
: never
: K extends keyof Relations
? DTO_TYPE[K] extends Array
? ManyOf<NonNullable<Relations[K]>>
: OneOf<NonNullable<Relations[K]>>
: DTO_TYPE[K] extends ModelValueType
? () => DTO_TYPE[K]
: DTO_TYPE[K] extends ModelValueType | null
? NullableProperty<NonNullable<DTO_TYPE[K]>> | (() => DTO_TYPE[K])
: DTO_TYPE[K] extends object
? () => DTO_TYPE[K]
: never;
} & ModelDefinition;

export type IFactoryOptions<
DTO_TYPE,
Relations extends { [K in keyof DTO_TYPE]?: string } = object,
PrimaryKeys extends keyof DTO_TYPE = Extract<'id', keyof DTO_TYPE>

= IFactory<
DTO_TYPE,
Relations,
PrimaryKeys
;`

USAGE:
export interface IMyComplexObjFactoryModel{
bigObjArrayFactoryModel: IBigObjModel[],
metaDataFactoryModel: IMetaDataFactoryModel,
somePrimaryId: number, // Unique identifier
}
export type IMyComplexObjFactoryOptions = IFactory<
IMyComplexObjFactoryModel,
{
bigObjArrayFactoryModel: 'bigObjArrayFactoryModel',
metaDataFactoryModel: 'metaDataFactoryModel'
},
'somePrimaryId'

const
myComplexObjFactoryModel:IMyComplexObjFactoryOptions = {
bigObjFactoryModel: manyOf('bigObjModel'),
somePrimaryId: primaryKey(() => faker.number.int()),
metaDataFactoryModel: oneOf('metaDataFactoryModel'),
};
factoryModelMock = <
T extends IFactoryOptions<
  object,
  object,
  never
>,
U

(
modelFactory: T,
): U => Object.assign(
Object.create(null),
factory({
bigObjModel: bigObjModel
metaDataFactoryModel: metaDataFactoryModel,
myComplexObjFactoryModel: myComplexObjFactoryModel
mock: modelFactory,
}).mock.create(),
);


[Bug] Cannot add toolbar items. [sf#222]

Reported by yamadakouhei on 2017-11-19 19:02 UTC
I am a beginner, please go easy on me.
How to reproduce:
Create a new project and then add a form
add a toolbar
go to Properties window and click "Edit tools..." on common tab.
just click "Add" on Toolbar Editor.
then, Error diarog appears.
Error details are here.
ERROR   : None
An unexpected error occurred!
Exception type:      <class 'AttributeError'>
Exception details:   'list' object has no attribute 'label'
Application stack traceback:
File "/home/myname/wxglade-0.8.0a8/widgets/toolbar/toolbar.py", line 228, in add_item
self._insert_item(index, item)
File "/home/myname/wxglade-0.8.0a8/widgets/toolbar/toolbar.py", line 375, in _insert_item
compat.ListCtrl_InsertStringItem(self.items, index, item.label)
Date and time:       2017-11-20T02:58:34.561686
Python version:      3.5.2
wxPython version:    4.0.0b2
wxWidgets platform:  WXGTK
wxGlade version:     0.8.0a8
this is on ubuntu, and same diarog appears on Windows10.
Date and time:       2017-11-20T02:53:00.842562
Python version:      3.6.1
wxPython version:    3.0.3.dev2864+4fc5f9e
wxWidgets platform:  WXMSW
wxGlade version:     0.8.0a8

Updated by dschwertberger on 2017-11-19 19:29 UTC

status: open --> closed
assigned_to: Dietmar Schwertberger

Commented by dschwertberger on 2017-11-19 19:29 UTC
Hi Kouhei,
thanks for reporting. This is fixed now with 0.8.0a9, which I have just uploaded.
I have to admit that I rarely use the menu or toolbar editor myself. The toolbar editor is still very basic.
Regards,
Dietmar

Commented by yamadakouhei on 2017-11-20 11:50 UTC
Thank you!


Fix multiLog parsing logic

If they don't pass a LOC they probably want the current directory, warn if the passed LOC isn't a directory.

Thanks for the improvement.


Consider creating a Gradle repository

Hey there,
This is a great library, but it would be useful if there was a Gradle repository so this lib can be integrated into an app with ease.
Thanks!

For anyone bumping into this issue, this may be a temporary fix in order to use Gradle with this repo: https://jitpack.io/#NAYOSO/static-progress-bar/29586e7476

please create a gradle repo :+1:

+1


MPD module output on stopped playback

Hey,
I was wondering whether it is possible to customize the output of the MPD module for the case when playback is stopped, since as of now, at least for me, it looks quite ugly:

Stopped

Playing

As per wiki I couldn't find a straightforward way of doing it, so unless I'm missing something, I thought that perhaps we should address the matter somehow. For example in addition to format-online we could have state-specific format parameters.
My MPD config section just in case:
[module/mpd]
type = internal/mpd

host = <IP_ADDRESS>
port = 6600

format-online = <icon-prev>  <icon-stop>   <label-song>   <icon-play> <icon-pause>  <icon-next>

icon-prev = 
icon-stop = 
icon-pause = 
icon-play = 
icon-next = 

label-song-maxlen = 50
label-song-ellipsis = true

format-offline =

format-online-underline = #AA
format-online-padding = 1

We could maybe add some more output formats, like format-playing, format-stopped, etc.

Yeah, that sums up what I had in mind quite well, will look into implementing this.


VLAZ: Watch mitsde.com

VLAZ requests the watch of the watch_keyword mitsde\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

mitsde\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.


add support to nil-byte separated input strings, closes #121

Simplified reader and added a configurable delimiter. Added "--null" option to interface.
Not sure I added the help line in the right place. Feel free to fix it yourself.

Aha, so ReadString doesn't suffer the problem of fixed buffer size of 64kb, right? That's nice. Thanks. I'll have to add a test case and update man page before merging it.

AFAIK the 64k problem is only in the Scanner. See: http://golang.org/src/bufio/bufio.go#L358 for ReadString implementation. It's similar to what you did.
I also fixed the spacing and period and that made the build fail?

Probably not. Travis CI has been flaky due to its reliance on timeouts and tmux send-keys.

By the way, can you squash the commits into one? I'll do the rest of the job later in the day or tomorrow.

Squashed. Let me know if you need anything more here.

Merged to master, thanks!
I'll update the man page when I release the next version.


Incorrect attachment path in the activity markdown when sub-path is used

https://domain.name/<subpath>/attachments/guid

If nobody objects I'll have a look :)

It will be fixed by  Refactor markup render system #32612


Metric or Query/API to help with identifying hot spot data(r/w)

Is your feature request related to a problem? Please describe.
There could be something, either metrics or queries, to help identify some scope of data's access frequency, which could be in the partition level or in smaller particle size.
Describe the solution you'd like
The straightforward one would be like a w/r metric per partition, or, if feasible, something even more precisely on edge/vertex level may be even more helpful. (down to partition is already quite good to have though)
Describe alternatives you've considered
Could be a query instead of a metric? Not sure which is better.
Additional context
Thoughts after discussion with @cangchen8180 and consulting with @critical27, also Sherman shared ideas on it's feasible to do so. Thank you all!

1、【Session】每个graphd当前active的session数（有clientip 创建时间等信息更好），服务器建立过的session总数，主动过期的session个数
2、【Balance】balance相关的耗时，比如一次balance leader的耗时（因为这个期间服务不可用）

1、【Session】每个graphd当前active的session数（有clientip 创建时间等信息更好），服务器建立过的session总数，主动过期的session个数
2、【Balance】balance相关的耗时，比如一次balance leader的耗时（因为这个期间服务不可用）

好的， Session 相关的可以在这里 https://github.com/vesoft-inc/nebula-graph/issues/1107
Balance 相关的 event/ metrics 我可以分提一下。


Deny & Block gives error

Did you follow the steps outline in the README?

[x] Yes I did
[ ] No, I found them confusing

Describe the bug
Wanting to deny & block gives an error, pretty self-explanatory.
To Reproduce
Steps to reproduce the behavior:

send appeal
press deny & block
get error

Expected behavior
Blocks user
Screenshots

Desktop (please complete the following information):

Browser, all versions and such, is backend error.

Can you share your repo's url with me?

I have invited you to the repo. https://github.com/docimin/discord-ban-appeal

Same issue as well. Hmm

@jcsumlin Any update on this? It's been 4 months.

Hey all sorry for the delay here could you all please check your netlify deploy logs under the build section? There should be some messages that look like this:

But of course your repo url should show there instead of mine. If this is not the case then that is the issue. You can fix this by running a redeployment in netlify or editing the src/config.json file yourself and adding your GitHub url in there.

@MrFoxyOfficial After this are you still having issues with the deny and block button?

@jcsumlin correct, still experiencing the same issue.

@jcsumlin correct, still experiencing the same issue.
EDIT: Forgot to add it to the image.

Can you please check to see if your repository is behind mine at all? I just ran through the flow and got a "success" at the end. If there are no differences between your fork and my repo please try and edit the src/config.json file and paste this in there
{"blocked_users":["508313640554987540"],"repository_url":"https://github.com/MrFoxyOfficial/lycanbanappeals"}

Other than your #28, not really.

Done as you've asked:

This is a new error, Im investigating a little further

@MrFoxyOfficial do you have a few minutes to jump on a discord call so I ask a few questions about your environment?

@jcsumlin sure thing: MrFoxy.eth#6401

Hello,
I attempted to follow every instruction posted here regarding the deny and block fixes and end up with the same error. For what you asked to put in config, I also did that with my repository as shown in the pictures

.

That is the correct URL now

That is what I originally had in the file when I replaced it, you can view the history of the file to see it was all replaced as seen now.

It is still showing yes. I even redid the config again just now to see.

Ok that is a new case that I was not aware i needed to cover, I will open a new issue and tag you in it. it is somewhat related to this ticket but deserves it own for documentation sake.

I'm not sure what happened. All I did recently was change my site's domain and somewhere in that whole mess the Deny and Block feature now works out of the blue. I wish I could provide more information, but it just happened out of nowhere and what I did is too unrelated to say something fixed it.

@jcsumlin is the GITHUB_PAT field added to prevent this issue or are you still working on this? Saw a draft PR, but not sure the status since I'm getting the same errors listed here.

@jcsumlin Got it, thank you! Got it working


[Feature] Include a KV-store/metadata Service for Containers

I did a browse of the issues and couldn't find anything particular to this. Apologies if it has been answered before though.
I may be misunderstanding, but I believe Swarm mode currently uses a KV-store to share important state information amongst workers/masters and generally keep the cluster in a good state. I'm wondering if it's feasible to expose a "general" KV-store to all swarm nodes that could be used for storing configuration information and queried by applications running in containers on the cluster, sort of like Amazons EC2 metadata service, or a standalone implementation of etcd/consul.
Understandably this is kind of out-of-scope for docker, as you could run your own KV-store system in the cluster... but I guess it'd just be nice to have it built in to docker as a standard (but optional) feature.
Feasible? Out of scope?
Cheers.

This is a duplicate of https://github.com/docker/docker/issues/27977, and to some extend https://github.com/docker/docker/issues/25274 and https://github.com/docker/docker/issues/24664
At this moment, no, that's not supported, and not a primary goal of the swarm k/v store. There has been some research into storing other data (e.g., secrets have find their way in, possibly being extended to "configuration" at some point), but using it as a "generic" k/v store is currently out of scope.
I'll close this issue for the above, but feel free to continue the discussion

Thanks @thaJeztah, reading through #27977 it makes sense not to destabilise the core mechanisms controlling swarm. Thanks!

 It's certainly something that has been discussed, and I'm not excluding it being implemented in future, but at this point not :smile:


service restart leaves old process running

sudo /etc/init.d/cannabis restart
ps waux | grep node

Obsolete. Uses systemd now.


feat: Distant horizons and extended clouds

These mods may make the world feel much larger, but the performance impact needs to be measured first.

Note: Distant horizons is incompatible with sodium-extras for now. Also, extended clouds render overtop the fake terrain.


VSCode insecure zsh completions

When zsh starts:
zsh compinit: insecure files, run compaudit for list.

compaudit specifies /usr/share/zsh/vendor-completions/_code as insecure which required
sudo chown root:root /usr/share/zsh/vendor-completions/_code

Seems to be fine now :confused:


Rename from man-dbport to mandbport

see title

Please ......or just mandb :)

Any particular reason to use mandb over man-db? I believe we chose man-db to match Linux, sudo apt install man-db


Added option to build rpc library. closes #1426

Here's my attempt at fixing #1426, which I filed earlier.  This PR adds a --rpc option to build.py and make.py that does the same thing as similar flags for the other libraries.
Here's what I get when I run the build script now:
$ python2 workspace_tools/build.py --mcu=LPC1768 --tool="GCC_ARM" --rpc

[WARNING] Using default settings. Define your settings in the file "workspace_tools/private_settings.py" or in "./mbed_settings.py"
Building library CMSIS (LPC1768, GCC_ARM)
Building library MBED (LPC1768, GCC_ARM)
Building library RPC (LPC1768, GCC_ARM)

Completed in: (0.02)s

Build successes:
  * GCC_ARM::LPC1768

And the outputs in the build dir seem to show that it works:
$ tree build/rpc
build/rpc
├── Arguments.h
├── mbed_rpc.h
├── parse_pins.h
├── RpcClasses.h
├── RPCFunction.h
├── rpc.h
├── RPCVariable.h
└── TARGET_LPC1768
    └── TOOLCHAIN_GCC_ARM
        └── librpc.a

2 directories, 8 files

Hi, can you please sign http://developer.mbed.org/contributor_agreement/?

Sure thing, just did!

Thanks
LGTM


Add map_operations and map_moments transformer primitives

The PR introduces new transformer primitives -- map_operations and map_moments, as proposed in https://tinyurl.com/moment-preserving-transformers.
Part of roadmap item #3237 and #4483

@MichaelBroughton Addressed the comments. Please take another look.
Tl;Dr - We cannot combine unroll_circuit_op** methods into one in a clean way and I don't see much advantage in going out of the way to do it.


Bump MSRV to 1.61 and all rust dependencies to latest releases

Summary
This commit bumps the minimum supported rust version from 1.56.1 to
1.61.0 (which is the LCD for all our dependencies) which was released
on 2022-05-19. By doing this we're now able to bump all of our
upstream dependencies to use the latest releases.
Details and comments
This commit depends on #9392 (which is bundled in this branch) and this will need to be rebased after that merges.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 9 (100.0%)  changed or added relevant lines in 3 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.0008%) to 84.892%

Files with Coverage Reduction
New Missed Lines
%

qiskit/circuit/tools/pi_check.py
1
91.23%

qiskit/extensions/quantum_initializer/squ.py
2
80.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0008%

Covered Lines:
66356

Relevant Lines:
78165

💛  - Coveralls


make sync value string

previous pr (https://github.com/developmentseed/PlanetaryComputerDataCatalog/pull/30) failed to fix the problem (https://github.com/developmentseed/PlanetaryComputerDataCatalog/actions/runs/2189837229). I read that github action doesn't handle boolean value properly for some reasons? https://github.com/bacongobbler/azure-blob-storage-upload/issues/24 🙏

ah this pr couldn't fix the problem :/ https://github.com/developmentseed/PlanetaryComputerDataCatalog/actions/runs/2189988735


Add some docs for twoSidedLighting and forceNormalForward

See https://forum.babylonjs.com/t/separatecullingpass-knocks-out-twosidedlighting/14615/6

Might I suggest this text instead:

twoSidedLighting will not take effect if separateCullingPass is enabled. For double sided, transparent PBR materials you can instead use forceNormalForward = true, which will in practice result in the same effect. If used, you can set twoSidedLighting = false and backfaceCulling = true to slightly improve shader performance.

No problem!


Does not work if system sleeps or is suspended

When my laptop goes to sleep, or is suspended, heliocron sleeps for far too long. I suspect this is because its main std::thread::sleep call does not make progress while the system itself is suspended. This is expected behavior according to the sleep docs, so heliocron shouldn't be using this call. A better alternative would probably be sleep_until from tokio, but that would require an async rewrite.

I tried rewriting the project using async and tokio (can PR if desired) but this did not help. sleep_until suffers from the same issue, as do other realtime clocks. the solution would probably be to use shorter sleeps; say ~10s

Would you accept a PR that adds a CFG to fix this only on unix systems?
I'm afraid I have no windows experience, so that's the furthest I'll be able to go fixing it.

Yes, Unix-only for now is good. The primary target for heliocron was things like raspberry pis, where Unix OSes are ubiquitous.


Error: The "listener" argument must be of type Function. Received type object

The error Error: The "listener" argument must be of type Function. Received type object appears when attempting to start the bot.
Happens in master branch as well as the last 10 tagged releases.
Attempting to upgrade from 2.11.1.

Does the error have a stack trace after/under it (i.e. list of files/sources where the error is originating from)? Make sure you're also using Node.js 10 or higher. Have you made any modifications to the code?

Annoyingly not. It's literally just that text then exits.
If you have an idea where it may be originating from I can whack some lines in to get more information out.
There's been no code modifications (on 2.11.1 there was, but I've reset the branch before upgrading to the latest tag so no changes are tracked)
npm ci was ran on upgrade. Re-ran it now to retest but still no joys!

If you change this line https://github.com/Dragory/modmailbot/blob/master/src/index.js#L54 to use err.stack instead of err.message, can you see if there's a stack trace?

Error: TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type Function. Received type object
    at ClientRequest.once (events.js:288:11)
    at new ClientRequest (_http_client.js:141:10)
    at request (https.js:272:10)
    at Object.get (https.js:276:15)
    at refreshVersions (/home/ec2-user/modmailbot_new/src/data/updates.js:43:9)

Can you confirm which Node.js version you're running as well?
You should be able to bypass the error by setting the config option updateNotifications to false, but I'd very much like to figure out what's causing the error.

Ahar - that could explain it. Currently on v10.4.1. I'll look at whether upgrading is viable (without breaking another bot...!). Should be fine to do. If a hotfix goes out I'll give that a shot too! :-)

Can you try "updateNotifications": false (i.e. no quotes around false)?

That bypasses and works!
Current config has all quotes, so will check that they all work without (I've picked this up from someone else, personally I hate quotes on true/false!)

Honestly I should have some better type checks on the config. An option that expects true/false should definitely let you know there's a mistake if it's quoted 😛

Closing this since it's an older issue and there's since been a patch that fixes the original error on earlier versions of Node.js.


[SPARK-13616][SQL] Following PR for SPARK-13616

What changes were proposed in this pull request?
As all operators except Join should support converting back to SQL when it is top node. We should only take care of Join for this purpose.
How was this patch tested?
All existing tests should be passed.

Fix the problem mentioned by @gatorsmile in #11466.
cc @rxin @liancheng

Test build #52515 has started for PR 11537 at commit 1ae4f8b.

Hey @viirya, I just commented in #11466 and I tend to revert #11466 first and revisit it after we have full SQL generation support for all major language structures.
Another thing confusing me is that, although @gatorsmile mentioned that #11466 brought regressions, I didn't find them (Jenkins PR builder looks fine).

@liancheng FYI - I did hit a problem while working on SQL generation for Generate. I found that Limit is not in the list of cases of top nodes and my test cases with Limit clause started failing after i rebased with master.

Test build #52515 has finished for PR 11537 at commit 1ae4f8b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/52515/
Test PASSed.

@dilipbiswal Thanks, I think I'd better revert #11466 first for safe.

Let me close this now.

@liancheng I think @gatorsmile doesn't include the tests in his PR.

We have to locally run "hive/test-only org.apache.spark.sql.hive.execution.HiveCompatibilitySuite" and check the log file, as mentioned in the JIRA: https://issues.apache.org/jira/browse/SPARK-11012
Yeah, the regressions does not stop the test cases. If a logical plan is inconvertible, HiveComparisonTest falls back to its original behavior. When we can complete SQL generation for all the all the test cases in HiveCompatibilitySuite, we need to disable the auto fallback.
Definitely, we need to add more test cases to LogicalPlanToSQLSuite.


Train/test split on objaverse

Thanks for the great work! I am just wondering when u train the model on the objaverse dataset, did u use the whole dataset for training or have a train/test split like zero-123?

Hi, since we re-render all the images, which makes it hard to follow the same train-test split as zero123. We use all the objaverse dataset for training.

Thanks for the reply!


Updates: RESTful API with CRUD using PHP & MySQL

A complete JSON RESTful API using PHP and MySQL. We will use the SlimPHP framework along with PDO to interact with the MySQL database.
RESTful API handles CRUD operations:

Reads Data from DB using GET Request
Create new entries using POST Request
Update record using PUT Request
Delete record using DELETE Request

Nice topic selection. But as you are a creator you need to do something more to what you have done presently.

First off stick to the folder structure as much as possible. Kindly refer to the other microbytes to get a better idea.
2.The format of readme is off. U need to provide activities that contributors can follow to understand your microbyte thru a hands-on experience.
Give as much documentation as possible in readme that will guide contributors to understand your microbyte. Add code snippets with main driving code hidden. After merging you can raise the incomplete part as an issue.

Ur motto is to provide a microbyte to which contributors can contribute to, not learn it by following steps blindly. U need to challenge them well by providing them only hints and asking answers via issues.
Refer to these two PRs:
https://github.com/Crio-Bytes/Miscellaneous/tree/main/Building_a_Decoupled_Voice_Assistant
https://github.com/Crio-Bytes/DSA/tree/main/BinaryTree_LevelOrderTraversal_Types
Pls don't feel intimidated. Just work on it and we r always there to help.
Cheers

Also avoid informal references, like localhost/FOLDER_NAME/. Explain the process illustratively by engaing the ppl in learning and googling stuff along the way

@Kevinpaulose05  Okay sure will update the above points as soon as it's merged and noted for next time.

@Kevinpaulose05 Okay sure will update the above points as soon as it's merged and noted for next time.

This PR won't be merged. As mentioned before u have deviated from required guidelines. U will have to make necessary changes for this microbyte to get merged

You are almost there @imakshat47 . Following a proper folder structure enables us to keep track of your work. Else your work may be misjudged which we don't intend to do. U have a potential microbyte. please reolve the issues ASAP. We r awaiting your final PR.
Refer this and this for folder structure.
Cheers

@imakshat47 Pls work on my previous comments. We are eager to merge ur PR

As we are done with #IBelieveinDoing - Hacktoberfest edition we have officially stopped accepting any more PRs. We are sorry to do this but we have to close this PR to avoid any further confusion on our side. We apologise for not being to guide you in the right time. Hope you participate actively in our next month's edition of #IBelieveinDoing and other events at Crio too. Till then keep contributing and all the best!


Redux 4.0.5 Causing New "Type instantiation is excessively deep and possibly infinite." Error on combineReducers

Description
I'm not sure if this is an issue with typesafe-actions or redux in the end, but after only upgrading from redux 4.0.4 to 4.0.5, we are now getting this error:
error TS2589: Type instantiation is excessively deep and possibly infinite.

80 export const combinedReducers = combineReducers(reducersMapObject);

No issues when going back to 4.0.4 (we'll stay on this version for now).
Mandatory info

[Yes] Are you extending internal types to enable type-free syntax with createReducer?

import * as TypesafeActions from 'typesafe-actions';

declare module 'typesafe-actions' {
  interface Types {
    RootAction: TypesafeActions.ActionType<
      typeof import('library/state/actions').default
    >;
  }
}

Possibly this ^^^ just too much now to work in our project on the new redux types?

[Yes] Did you checked compatibility notes and migration guides?

How to Reproduce
We have 63 createReducer calls with 34 total reducer objects being combined with combineReducers and 209 total createAction calls.
No CodeSandbox Link
Not really sure how to provide a reproducible issue when it's likely the size of the project that's the cause and I can't share the code.
Expected behavior
It shouldn't give an error.
Suggested solution(s)
Possibly need to change how the types in the redux library are used?
Project Dependencies

Typesafe-Actions Version: 5.1.0
TypeScript Version: 3.7.5 (also gives the error on 3.7.3 and possibly earlier)
tsconfig.json:

{
  "compilerOptions": {
    "allowJs": false,
    "allowSyntheticDefaultImports": true,
    "esModuleInterop": true,
    "jsx": "react",
    "lib": ["es2017"],
    "skipLibCheck": true,
    "moduleResolution": "node",
    "isolatedModules": true,
    "noImplicitAny": false, // turn to true when all js files are gone
    "noEmit": true,
    "incremental": false, // this must remain false when noEmit is true
    "strict": true,
    "target": "esnext",
    "baseUrl": "./src",
    "paths": {
      "library": ["library"],
      "ui": ["ui"],
      "test-utils": ["test-utils"],
      "react-native-extended-stylesheet": [
        "@types/react-native-extended-stylesheet"
      ],
      "react-native-testing-library": [
        "@types/react-native-testing-library"
      ],
      "redux-thunk": [
        "@types/redux-thunk"
      ],
      "react-native-animatable": [
        "@types/react-native-animatable"
      ],
      "react-native-interactable": [
        "@types/react-native-interactable"
      ]
    }
  }
}

Environment (optional)

Browser and Version: React Native 0.59.5
OS: iOS and Android
Node Version: 10.16.3
Package Manager and Version: yarn 1.21.1

Me too I started getting this error


Default blacklisted tags for loli/lolicon/shota/shotacon/cub

After the cub controversy in Discord, they specifically made cub against the Community Guidelines in addition to lolicon and shotacon.
Since then, Discord has been very banhappy with offending Discord servers. One of the main complaints with my Discord was that they'd search for tags completely unrelated to loli or shota and would then get loli or shota, having to hide the image themselves or ask a mod to remove it.
I've heard of a new tactic where disgruntled/banned users from a community will rejoin on an alt account and upload CP, loli, shota, etc. and then mass-flag their own posts on another account to try getting the Discord server shut down. I fear that BooruBot could be used for the same purpose, but more under the radar (search for related tags that might result in loli or shota and then report BooruBot).
As such, I believe BooruBot should preemptively protect its users and new installations should have these 5 tags blacklisted by default. If users want to whitelist them, they do it at their own risk.

You can already blacklist those tags yourself (via b!blacklist tag shota) so they don't turn up as search results in the bot
I'll look into potentially adding loli/shota into the default blacklist, although I'm pretty sure you wouldn't be able to try and take down the bot that way (I'll have to double check)
cub would be harder to blacklist, since on some boorus it's also used for regular, completely sfw images so I'll have to either extend the tag blacklist system or put in some hardcoded check for that (I've wanted to upgrade the blacklist regardless, but I need to find time for it)


Best Practice Usage of Trace ID

[X] This only affects the JavaScript OpenTelemetry library
[ ] This may affect other libraries, but I would like to get opinions here first

Hello 👋
I'm working on a JS lib for my team and seeking advice about the best way to handle trace ids. I'm new to Open Telemetry, and my understanding at this point is that trace ids are used to correlate disparate events for enhanced visibility and discoverability.
For proof of concept work, I am currently testing with this vendor library which makes use of some default @open-telemetry instrumentations.
When I integrate this code into my page I'm correctly sending traces, but I'm noticing that there is a different trace id for each instrumentation. On one hand, it makes sense that fetch/ajax tracking have their own trace id (each request is traceable uniquely through a backend system), but in the case of other events (like all core web vitals, user click events, etc.) it seems desirable to correlate these with the same trace id.
Why do the libraries in this repo default to using a unique trace id in most cases? How should I think about this concept? Am I suppose to be supplying a trace id to these instrumentations at page load? Is there meaningful definition somewhere between a trace id and a session id?
Example:

@ethangodt you may want to check out https://docs.google.com/document/d/13Z9CD-JlT_HQwx1qJnkkZnGSLe6qb67qHxQ3tu_pevM/edit#.
Concepts of traces/sessions in the browser is still being figured out by the OpenTelemetry team. This is being actively discussed by the Client Instrumentation SIG. You can reach out to them on slack.

but in the case of other events (like all core web vitals, user click events, etc.) it seems desirable to correlate these with the same trace id.

these events could happen over a very long time period, you do want to model them as spans in a single trace.  With Sessions, all the spans and events from multiple pages will get associated to a common session, but if I understand your requirement correctly, what you want is a way to associate web vitals and user interaction events to the page that emitted these events. This is a common concern outside of individual instrumentations, hence it is not present in any instrumentation. You could implement this yourself by implementing a "LogRecord Processor" that adds location.href as an attribute to these events. Adding the traceId/spanId of the documentLoad span of the page could be a bit complex but it is along these lines that you can think.


fear: replace Calendar library

FX-3966
Description
This pull request merges the feature/replace-calendar-library branch into master.
All the changes have been already reviewed in previous pull requests:

https://github.com/toptal/picasso/pull/2996
https://github.com/toptal/picasso/pull/3584
https://github.com/toptal/picasso/pull/3579

How to test

All checks should pass

Development checks

[x] Add changeset according to guidelines (if needed)
[x] Read CONTRIBUTING.md and Component API principles
[N/A] Make sure that additions and changes on design follow Toptal's BASE design, and it's been already discussed with designers at #-base-core
[N/A] Annotate all props in component with documentation
[N/A] Create examples for component
[x] Ensure that deployed demo has expected results and good examples
[x] Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.
[x] Self reviewed
[N/A] Covered with tests

Breaking change

[N/A] codemod is created and showcased in the changeset
[ ] test alpha package of Picasso in StaffPortal

All development checks should be done and set checked to pass the
GitHub Bot: TODOLess action

PR commands

List of available commands:

@toptal-bot run package:alpha-release - Release alpha version
@toptal-anvil ping reviewers - Ping FX team for review

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.
A PR owner must reply with ✅ when a comment is addressed.

@toptal-bot run package:alpha-release

@toptal-bot run package:alpha-release

@toptal-bot run package:alpha-release

@toptal-bot run package:alpha-release


transition capability

The transition capability in d3ploy currently is that if there is a user-defined amount of a constraint commodity then the transition will begin. Do we also want to add a notion of a user-defined year that transition can begin?

I realize time is controlled by the tech pref equation


Problem with testing multiple activities

From<EMAIL_ADDRESS>on February 05, 2012 05:40:03
What steps will reproduce the problem? 1. Import Notepadv3Solution project in Eclipse
2. Import Notepadv3SolutionTest project in Eclipse
3. Go to Notepadv3SolutionTest project, select TestNotepadv3 and run it as Junit Android Test What is the expected output? What do you see instead? TestNotepadv3.testCreateNote() should pass. The 'Add Note' menu item looks like it is selected, but the activity is not chnaged.
Instead it fails because the activity is not changed. What version of the product are you using? On what operating system? I am using Android2.3.3, with robotium-solo-3.1.jar, on Ubuntu Maverick 10.10. Please provide any additional information below. I have attached the projects needed for reproducing the error.
Notepadv3Solution is the project from android tutorial.
Notepadv3SolutionTest is the test project that I have created for Notepadv3Solution project.
Attachment: Notepadv3Solution.tar.gz Notepadv3Test.tar.gz
Original issue: http://code.google.com/p/robotium/issues/detail?id=222

From<EMAIL_ADDRESS>on February 05, 2012 11:14:25
Please see: "Why do text and button clicks get wrong?" https://code.google.com/p/robotium/wiki/QuestionsAndAnswers
Status: Invalid

From<EMAIL_ADDRESS>on February 05, 2012 11:30:42
Already did that, but forgot to mention in the description.
Both of the suggested fixes are included in the AndroidManifest file of the test project.

From<EMAIL_ADDRESS>on February 05, 2012 21:23:23
You need to include it to the application under test. I tried and it worked.

From<EMAIL_ADDRESS>on February 06, 2012 13:10:05
Added <supports-screens android:anyDensity="true"/> to the application under test, and worked. Cheers.

From<EMAIL_ADDRESS>on June 01, 2012 01:59:19
<EMAIL_ADDRESS>did u add that line in Manifest file?

From<EMAIL_ADDRESS>on June 03, 2012 23:34:23
Yes, I did manage to finish up my test configuration.
Thanks.


upload blobs in attach()

#6128
close #6523
Upload attachment blobs in attach() and set the redirect table on BlobManager.
Not implemented:

Add snapshot/load APIs to IDetachedBlobStorage
Include blob redirection table in summary.

@DLehenbauer - please glance as well, maybe you have good ideas on the loader - container runtime API and reduction of concepts - telling about redirection table is not great, though I do not see better option at the moment.

Looks good overall, please take a look at comments. Thanks!


fix: Allow get seekRange on manifestparsed event in some cases

Fixes https://github.com/shaka-project/shaka-player/issues/5115

Thanks.


Button is not a class or namespace

I got an error Button is not a class namespace When compiling

What version IDE are you using?  Master complied correctly for me on 1.8.8.

I use IDE 1.6, well, I will try the version you recommend, thank you for your response

Last problem,  error compiling for board arduino nano

Can you take a screen shot of your board settings in the Arduino IDE and post your error message.


Cannot find module "ionic-image-loader"

Hello,
i installed everything how described in the readme, but i got this error if i try to launch the app.
[app-scripts]             Cannot find module 'ionic-image-loader'. [app-scripts]        L3:  import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular'; [app-scripts]        L4:  import { IonicImageLoader } from 'ionic-image-loader'; [app-scripts]        L5:  import { MyApp } from './app.component';
The package is in my package.json

"ionic-image-loader":  "^6.3.0",

And i got the folder in my node_modules

Same here

use 5.1.1 it works

In npm, when the package was published, instead of placing index.js inside /dist/ another folder was created inside it (src/).
In package.json the main script is point to:
"main": "dist/index.js",
But since index.js is inside dist/src/ it doesn't find it.
I've cloned and changed the package.json file, poiting main to:
"main": "dist/src/index.js",
And worked.
Waiting for some fix from @ihadeed

Thats it. I changed it and now it is working.
Thank you @Stiveknx


Create installation-windows.md

I have not done the custom installation paths section yet.

Conflicts with #926 - how shall we continue?

@Simran-B let's go ahead and finish this one as it focuses on the entire installation procedure and then merge with https://github.com/arangodb/docs/pull/926 (this one is only about checking packages on different platforms).


ImportError: cannot import name 'Anthropic' from 'anthropic'

I am following given directions, using OPENAI API (only config change I made is adding the key in key.yaml. ANy ideas?
Traceback (most recent call last):
File "C:\metagpt\startup.py", line 7, in
from metagpt.roles import Architect, Engineer, ProductManager, ProjectManager, QaEngineer
File "C:\metagpt\metagpt\roles_init_.py", line 9, in
from metagpt.roles.role import Role
File "C:\metagpt\metagpt\roles\role.py", line 16, in
from metagpt.actions import Action, ActionOutput
File "C:\metagpt\metagpt\actions_init_.py", line 10, in
from metagpt.actions.action import Action
File "C:\metagpt\metagpt\actions\action.py", line 14, in
from metagpt.llm import LLM
File "C:\metagpt\metagpt\llm.py", line 9, in
from metagpt.provider.anthropic_api import Claude2 as Claude
File "C:\metagpt\metagpt\provider\anthropic_api.py", line 10, in
from anthropic import Anthropic
ImportError: cannot import name 'Anthropic' from 'anthropic'

Did you install the depencies first? Follow the README Traditional Installation section please.

Due to the lack of updates or replies by the user for a long time, we will close it. Please reopen it if necessary.


Add strelka2 to pipeline

I'm currently running Strelka2 in these two steps:

Create a Python file to run Strelka2:

configureStrelkaSomaticWorkflow.py \
            --normalBam $NORMAL_BAM \
            --tumorBam $TUMOR_BAM \
            --referenceFasta $REFERENCE_FASTA_PATH \
            --exome \
        --runDir $STRELKA_DIR";

Run the generated Python file

python runWorkflow.py \
                -m local \
                -j $NUMBER_PROCESSORS \
                -g $MEMORY_LIMIT_AS_INTEGER

There's also an equivalent configureStrelkaGermlineWorkflow.py

The --exome flag gets rid of any filtering assumptions about how the depth of a site should relate to the average depth on a chromosome. If you drop the flag then it assumes you have WGS data with relatively uniform coverage.

The germline pipeline can take multiple BAMs and then the generated gVCF will have a sample column for each BAM. The gVCF is gigantic btw.


Missing nbconvert template

The jupyter-nbconvert command in the notebook is looking for a template named "python_clean". I can't seem to find this anywhere. Can you please provide the template?
It's not strictly necessary, but it seems like it will make processing PRs much easier on your end 😃

Never mind, I found it in your other repo. Thanks!

Thanks for sorting this out.


Disable fastclick

to: @majapw
This is kind of a terrible way to work around a fastclick issue affecting our implementation. Let me know if you think it would be less terrible as a prop.

Coverage increased (+5.1%) to 87.322% when pulling ff50a182d72f025bd8ebc0cbe1c04de35cbc640f on moonboots:disable-fastclick into f70be5e0d89229aa1b298d0394e081ad81678915 on airbnb:master.

@moonboots is this adding a class that does something base on some CSS existing ... in our codebase? Why not add the actual CSS here? This seems v. strange.

Unfortunately, disabling fastclick on parts of the page requires adding this needsclick class. We don't reference this class in css.


plugin-kubernetes: fix div by zero pod resources

When pods have no resources set, currentToDeclaredResourceToPerc would
throw div by zero, added check. fixes #8671
:heavy_check_mark: Checklist

[X] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[X] All your commits have a Signed-off-by line in the message. (more info)

🤣 single line added -> learning how to use prettier and lint


Updating deploy script to resolve the Git commit SHA from image metadata

Description
Detailed rationale: https://github.com/civiform/civiform/issues/2926#issuecomment-1195759925
We want to allow deploying from a validated release. Previously, we relied on Docker tags (mutable) that followed a well-known naming convention. This was incompatible with our new release tag mechanism. Here, we now use immutable metadata from the Docker image itself (added in https://github.com/civiform/civiform/pull/2981).
Additionally, this allows us validate that the image exists on DockerHub prior to attempting any further deployment. This was done in a Python script since error handling of HTTP requests + bash is not something I wanted to reason about (and I think Python is simpler to understand).
Tested:
With release tag no longer shows warning
clouser$ bin/deploy --tag=v1.0.0
Ensuring checkout is initialized... done
Error: Git commit information could not be obtained for "v1.0.0"

This is expected since the current v1.0.0 release doesn't yet have #2981 present in it.
With snapshot tag containing an embedded Git commit (shows warning)
This succeeded up to the point where an unrelated terraform error was encountered.
clouser$ bin/deploy --tag=SNAPSHOT-bb7e9f1-1659111869
Ensuring checkout is initialized... done

The provided tag "SNAPSHOT-bb7e9f1-1659111869" does not reference a release tag and may not
be stable.

If you would like to continue deployment, please type YES below.

Continue: yes
Setting checkout to bb7e9f13c331f0d770dceeca7e2932bde58ba8f6... done
Running python deploy script.
 - Run terraform init -upgrade -reconfigure
...<lots of terraform code>...

With raw digest tag works
Support releasing at a specific digest rather than using a tag.
clouser$ bin/deploy --tag=sha256:860bcbe12752062f683c865fba66296decea74790d8a22592a51839513ea794f
Ensuring checkout is initialized... done

The provided tag "sha256:860bcbe12752062f683c865fba66296decea74790d8a22592a51839513ea794f" does not reference a release tag and may not
be stable.

If you would like to continue deployment, please type YES below.

Continue: yes
Setting checkout to bb7e9f13c331f0d770dceeca7e2932bde58ba8f6... done
Running python deploy script.
 - Run terraform init -upgrade -reconfigure

This looks great. A few nice to have requests inline.


Example 03_hpg_wifi_mqtt_correction_certs - not getting RTK correction

Hi,
I've correctly built and flashed the example project, providing the credentials required as reported in the readme file.
However, even after many minutes, the board doesn't seem to get the RTK (float or fixed):

Does the RTK correction service have some area with minor/less coverage?
Am I getting something wrong with project settings or config?
Thanks

Hello @ftesta-es,
from the log you posted I can see that correction data are forwarded to ZED module which means that you are properly connected to Thingstream's Point Perfect MQTT broker. A bigger log would help to verify that you are connected to the required topics though.
May I ask what type/model of GNSS antenna are you using?
Is the antenna placed outdoors facing the sky?
Are you using any cable extenders for the GNSS antenna connection?

Hi @aangeletos,
thanks for the feedback.
I am using the kit antenna, mounted outdoor and facing upward the sky. Also, the antenna is connected to the board with a 20cm SMA extension cable.
Which kind of log/information do you need in order to verify the proper connection to MQTT topics?
Is the initial part of the terminal output sufficient for this analysis?
Thanks

Hi,
please find attached a complete log file from board startup. Hope this will better support our discussion.
rtk_log.txt
Let me know if you need more information and details.
Thanks

Hi,
please find attached a complete log file from board startup. Hope this will better support our discussion.
rtk_log.txt
Let me know if you need more information and details. Thanks

Thank you for the log Filippo,
it looks like you have everything set correctly from the software side and that ZED-F9R firmware on your device is the correct one (1.30).
Please allow me a day or two to find an appropriate contact for you from the positioning department as they can definitely provide you with more detailed feedback regarding module's features and functionality.

Hi there @aangeletos,
Have you had the chance to better investigate our issue while getting RTK-fixed?
Apparently it is able now to reach RTK-float condition, but not the fixed one.
Is there any specific configuration of the F9 module needed to reach this condition?
For example, reducing the number of max satellites or active constellations?
thanks, best regards

Hello @ftesta-es ,
sorry for the late reply but we had to contact different departments to get some answers for you, although maybe not good enough.
Regarding RTK-Fixed/Float and in general the type of fix that you are getting it may well be related to the time of day and the specific location you are conducting your tests.
You also need to make sure that your GNSS antenna has a clear sky view.
There is nothing you can do software wise to improve this, at least to our knowledge.
For more specific answers on this matter you can always contact u-blox support portal


.ova internal upgrade flow

document
a sample .tgz that can be used for upgrading Harbor from inside the deployed VM.

https://github.com/reasonerjt/harbor-upgrade-sample/releases/download/0.1/harbor_050_upgrade.tgz


[Feature][API] add Metrics for Connector V2

Purpose of this pull request

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

related https://github.com/apache/incubator-seatunnel/issues/3431

@TyrantLucifer PTAL

@TyrantLucifer PTAL

Give me some time.


Intel HD  wslg X Error:  unable to open display: 0 (Xwayland crash)

Environment
Win32NT             10.0.22000.0 Microsoft Windows NT 10.0.22000.0
Your Distribution version: 20.04
Your WSLg version: 1.0.24
GPU: Intel UHD 600
GPU Driver: Intel Corporation <IP_ADDRESS>0 (and earlier releases)
Steps to reproduce
-Output of cat /mnt/wslg/versions.txt
WSLg ( x86_64 ): 1.0.24+Branch.main.Sha.b42023b5fed7567955f4c6c36123a5cf22e9292a
Mariner: VERSION="1.0.20210224"
FreeRDP: b05321cd4e6a862aef76163a69db4e1910245736
weston: ed4f3bbbf5efbd5bde880704bc03497f2446c3f2
pulseaudio: 2f0f0b8c3872780f15e275fc12899f4564f01bd5
mesa:
-Output of glxinfo
Error: unable to open display :0
WSL logs:  Manual log gathering crashes with wsl.wprp error:  Error code: 0xc00ce584
DTD is prohibited.
    Line Number: 7
    Column Number: 11

Feedback hub doesn't appear to work for my build either

Attach WSLg logs from  /mnt/wslg

You can access the wslg logs using explorer at: \\wsl$\<Distro-Name>\mnt\wslg (e.g.: \\wsl$\Ubuntu-20.04\mnt\wslg)

puseaudio.log
weston.log
versions.txt : file rejected by GitHub as empty file
pulseaudio.log
pulseaudio.log
weston.log

Expected behavior
-Output confirming wslg is operating as expected
Actual behavior
-Error: unable to open display:0
-OpenGL apps work correctly however

Xorg.0.log
Also attaching Xorg.0 log

Did you try with the new intel driver?
https://downloadcenter.intel.com/download/30579/Intel-Graphics-Windows-DCH-Drivers

Did you try with the new intel driver?
https://downloadcenter.intel.com/download/30579/Intel-Graphics-Windows-DCH-Drivers

Yes correct. Windows Update then proceeded to suggest and install the current WHQL release version mentioned in my report.
In doing additional troubleshooting, I was able to install and then open Firefox by passing flag MOZ_ENABLE_WAYLAND, and this suggests to me that WSLg/other apps don't yet "see" Wayland.

Feedback on this issue is that my experience with the Windows 11 dev channel build, WHQL Intel driver releases, Ubuntu-20.04 and WSLg version cited, GUI apps avoid Wayland for X.
Forcing a Weston install (e.g. apt-get install weston) and then forcing a Wayland preference:

as mentioned for Firefox (with export MOZ_ENABLE_WAYLAND=1)
for Chrome nightly stable with -–enable-features=UseOzonePlatform –ozone-platform=wayland

causes the expected "just works" WSLg GUI app behaviour.
The glxinfo when any of above forced-mode apps are running remains: glxinfo
Error: unable to open display :0
If this is is not a WSLg bug, what may cause this behaviour, absent any random mucking about with WSLg moving parts, which wasn't intentional in my case at all?

@c13-github, from your weston.log, it looks Xwayland (X server) is crashing, do you see any core dumps at /mnt/wslg/dumps? If Xwayland is crashing due to Intel driver, this could be dup of https://github.com/microsoft/wslg/issues/317. Btw, the latest Intel driver offered by WU doesn't support WSLg since Intel only release Beta driver of WSLg capable driver and it won't be offered via WU. Thanks for trying out WSLg!

[13:23:19.439] Spawned Xwayland server, pid 56
[13:23:20.211] xserver crashing too fast: 134

do you see any core dumps at /mnt/wslg/dumps? If Xwayland is crashing due to Intel driver, this could be dup of #317.

No dumps found. However I 'terminate' and 'shutdown' wsl every time. Does that clear them?

Btw, the latest Intel driver offered by WU doesn't support WSLg since Intel only release Beta driver of WSLg capable driver and it won't be offered via WU.

This is interesting info. The beta Intel driver had the same behaviour,. WU did not mark WHQL ver. as an optional driver update, so I could not easily bypass installing it over top of the beta.

Yes, once WSL VM is terminated by --shutdown or --terminate, the dumps are cleared.

Thanks @hideyukn88  for assisting with Intel UHD crash reports I took a look at #317 and applied the debug .wslconfig. That didn't allow XWayland apps to open with just software GPU at all, and gave "unable to lock .. wayland-0.lock, maybe another compositor.. running" as error.
It's unclear if that is referring to a crashed instance of the compositor spawned with the app.
No dumps were generated again in my case, I checked before terminate and shutting down then renamed .wslconfig.
Currently, WSL+ Intel beta is in state where XWayland can't be forced open as before with flags.
Now I must start app manually, leave the crashed session open and then start an app from another session. This suggests that WSLg in my case isn't Weston aware because as you indicated, can't successfully started and crashes right away. Yet it is available to other logins.
The lines in the terminals of the screenshot I took will hopefully repro this odd behaviour fully.

Closing the app (in this case Chrome) finally did leave behind an XWayland core dump. I will try to submit this using the Feedback tool if not I will post it here.

@c13-github, first, regarding to ""unable to lock .. wayland-0.lock, maybe another compositor.. running", most likely this be possible because you manually installed weston in your distro. In WSLg model, the weston (which is specially customized for WSLg) is running is separate distro, called system-distro, please refer our WSLg architecture at README.md. Also WSLg does not use "weston-desktop-shell".

Would you please remove the manually installed weston (or any other X server solution if installed) and see if any dumps are created at /mnt/wslg/dumps ? thanks!

Done and the behaviour persists now (2 sessions still needed to open an X-Wayland app), but no new core dumps. I submitted to Feedback Hub the previous core dump and used the bug subject as my feedback subject and referenced this issue.
If this isn't the best way for that, could you advise best alternate means?
I don't know if this is correct and helpful or not, but the logging timestamps in both windows seem to show that it is just one Weston instance handling all compositing, for both sessions.


Add support for autocompletion for MDI icons

Problem/Motivation
Home Assistant allows you to use Material Design Icons.
The auto-completion does not support these yet.
https://materialdesignicons.com
As suggested in the Home Assistant Podcast (episode 14) it would be nice if you'd typed mdi: it would autocomplete on the available icons.
https://hasspodcast.io/ha014/

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Closing this issue/feature request.
I'm not capable of developing this myself.