Alternatives?

Does anybody know a decent alternative that possibly has been updated a little more recent? This has been my go-to kiosk image for years, but lately, any of my running kiosks after a few days of running and rebooting will just display a black screen and need to be re-flashed. I've tried a ton of fixes, and can't seem to crack it.

I'd be interested in this too

@ColinTravis @edbat you can start Chromium fullscreen from the command line by executing:
chromium-browser --app=http://example.com --start-fullscreen

To be able to start chrome you have to add this to your script
export DISPLAY=:0 && chromium-browser --app=http://my-site.com --start-fullscreen


[syncer] fix syncer block

Description
In the case of unstable network, if all peer is added to the skipList, the synchronization will be stuck until the connection is disconnected
Changes include

[x] Bugfix (non-breaking change that solves an issue)

Checklist

[x] I have assigned this PR to myself
[x] I have added at least 1 reviewer
[x] I have added the relevant labels

Testing

[x] I have tested this code with the official test suite

Codecov Report

Merging #309 (94f9bb2) into dev (a840ee8) will decrease coverage by 3.48%.
The diff coverage is 41.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##              dev     #309      +/-   ##
==========================================
- Coverage   51.21%   47.73%   -3.48%
==========================================
  Files         117      131      +14
  Lines       17525    19852    +2327
==========================================
+ Hits         8975     9476     +501
- Misses       7789     9557    +1768
- Partials      761      819      +58

Impacted Files
Coverage Δ

blockchain/storage/kvstorage/kvstorage.go
54.16% <ø> (+2.46%)
:arrow_up:

chain/chain.go
28.69% <ø> (ø)

consensus/ibft/hooks.go
55.26% <ø> (ø)

consensus/ibft/pos.go
0.00% <0.00%> (ø)

helper/keccak/keccak.go
0.00% <ø> (ø)

helper/keccak/pool.go
0.00% <ø> (ø)

jsonrpc/debug_endpoint.go
36.08% <0.00%> (-0.76%)
:arrow_down:

jsonrpc/net_endpoint.go
0.00% <0.00%> (ø)

network/bootnodes.go
85.71% <ø> (-14.29%)
:arrow_down:

network/connections.go
98.07% <ø> (ø)

... and 133 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


W1D1 T1 percent signs are used with fractions

The fraction of neurons are computed as fractions, but printed with a percent sign, so ".33%" should be "33%" or just ".33".

Looks like this is taken care of by the formatting (admittedly in a way that I don't fully understand - see https://stackoverflow.com/a/57150518/6464224)
Compare:
print(f"{frac_interval_spikes:.2%} of the total spikes are in the interval")
print(f"{frac_interval_spikes:.2} of the total spikes are in the interval")

I think this is correct. The selected interval is 10 s long and the experiment is about 2700 s long (based on maximum spike time). Which is 0.003700962250185048 or 0.037%.

admittedly in a way that I don't fully understand

Python string formatting accepts % as a formatting code (like f for floating point truncation or g for scientific notation) that does the x 100 computation internally.
@JesseLivezey if you agree, please close.

Good catch! I didn't know about the % formatting!


duckdb sql read_...( ) functions not working

Version fresh checkout of #2240 (0.76.0)
config:
gateways:
    local:
        connection:
            type: duckdb
            database: db.db
            extensions:
                - httpfs
                - parquet
            connector_config:
                s3_endpoint: "https://storage.googleapis.com"
                s3_access_key_id: "***"
                s3_secret_access_key: "***"
default_gateway: local

model_defaults:
    dialect: duckdb

Model:
MODEL (
  name sqlmesh_example.full_model,
  kind FULL,
);

SELECT *
FROM read_ndjson_auto('s3://omicidx-json/prefect-testing/geo/gpl-2007*')

sqlmesh plan result:
New environment `prod` will be created from `prod`
Summary of differences against `prod`:
Models:
└── Added:
    ├── sqlmesh_example.incremental_model
    ├── sqlmesh_example.full_model
    └── sqlmesh_example.seed_model
Models needing backfill (missing dates):
├── sqlmesh_example.full_model: 2024-03-08 - 2024-03-08
├── sqlmesh_example.incremental_model: 2020-01-01 - 2024-03-08
└── sqlmesh_example.seed_model: 2024-03-08 - 2024-03-08
Apply - Backfill Tables [y/n]: y
Creating physical tables ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • pending • 0:00:00
2024-03-08 20:51:08,087 - MainThread - sqlmesh.core.context - ERROR - Apply Failure: Traceback (most recent call last):
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/utils/concurrency.py", line 225, in sequential_apply_to_dag
    fn(node)
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/utils/concurrency.py", line 163, in <lambda>
    lambda s_id: fn(snapshots_by_id[s_id]),
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/core/snapshot/evaluator.py", line 274, in <lambda>
    lambda s: self._create_snapshot(s, snapshots, deployability_index, on_complete),
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/core/snapshot/evaluator.py", line 630, in _create_snapshot
    evaluation_strategy.create(
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/core/snapshot/evaluator.py", line 1088, in create
    self.adapter.ctas(
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/core/engine_adapter/shared.py", line 265, in internal_wrapper
    return func(*list_args, **kwargs)
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/core/engine_adapter/base.py", line 442, in ctas
    return self._create_table_from_source_queries(
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/core/engine_adapter/base.py", line 629, in _create_table_from_source_queries
    self._create_table(
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/core/engine_adapter/base.py", line 665, in _create_table
    self.execute(
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/core/engine_adapter/base.py", line 1811, in execute
    self._execute(sql, **kwargs)
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/core/engine_adapter/base.py", line 1817, in _execute
    self.cursor.execute(sql, **kwargs)
duckdb.duckdb.IOException: IO Error: Connection error for HTTP GET to '//storage.googleapis.com/?encoding-type=url&list-type=2&prefix=prefect-testing%2Fgeo%2Fgpl-2007'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/core/context.py", line 1084, in apply
    self._scheduler.create_plan_evaluator(self).evaluate(
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/core/plan/evaluator.py", line 104, in evaluate
    self._push(plan, deployability_index_for_creation)
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/core/plan/evaluator.py", line 188, in _push
    self.snapshot_evaluator.create(
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/core/snapshot/evaluator.py", line 272, in create
    concurrent_apply_to_snapshots(
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/utils/concurrency.py", line 161, in concurrent_apply_to_snapshots
    return concurrent_apply_to_dag(
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/utils/concurrency.py", line 196, in concurrent_apply_to_dag
    return sequential_apply_to_dag(dag, fn, raise_on_error)
  File "/Users/seandavis/Library/Caches/pypoetry/virtualenvs/sqlm-Glh99G37-py3.9/lib/python3.9/site-packages/sqlmesh/utils/concurrency.py", line 228, in sequential_apply_to_dag
    raise NodeExecutionFailedError(node) from ex
sqlmesh.utils.concurrency.NodeExecutionFailedError: Execution failed for node SnapshotId<"db"."sqlmesh_example"."full_model":<PHONE_NUMBER>>
 (context.py:1091)

Hey @seandavi! QQ: how do you authenticate with S3 in this case?


[CLI] wandb.watch interfers with torch.script.jit

torch.jit.script(...) requires hooks to have names, unnamed functions make it crash.
https://github.com/pytorch/pytorch/blob/0d7d44615447d336feebeda22f03be40418b9f84/torch/_sources.py#L50-L55
This loop will fail if the hook code contains no "def"
local variable 'idx' referenced before assignment
Traceback (most recent call last):
  File "/home/usr/projects/xxxx/main.py", line 169, in train
    train_loop(model, model_q, optimizer, stats_q, train_data_loader, writer)
  File "/home/usr/projects/xxxx/main.py", line 210, in train_loop
    torch.jit.save(torch.jit.script(model), local_path)
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/jit/_script.py", line 1257, in script
    return torch.jit._recursive.create_script_module(
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/jit/_recursive.py", line 451, in create_script_module
    return create_script_module_impl(nn_module, concrete_type, stubs_fn)
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/jit/_recursive.py", line 465, in create_script_module_impl
    hook_stubs, pre_hook_stubs = get_hook_stubs(nn_module)
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/jit/_recursive.py", line 754, in get_hook_stubs
    hook_stubs.append(make_stub(hook, hook.__name__))
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/jit/_recursive.py", line 51, in make_stub
    ast = get_jit_def(func, name, self_name="RecursiveScriptModule")
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/jit/frontend.py", line 233, in get_jit_def
    parsed_def = parse_def(fn)
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/_sources.py", line 96, in parse_def
    sourcelines = normalize_source_lines(sourcelines)
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/_sources.py", line 55, in normalize_source_lines
    fn_def = sourcelines[idx]
UnboundLocalError: local variable 'idx' referenced before assignment
2022-01-15 19:14:30,188 train        ERROR    Waiting for the test workers to finish.
Traceback (most recent call last):
  File "/home/usr/projects/xxxx/main.py", line 169, in train
    train_loop(model, model_q, optimizer, stats_q, train_data_loader, writer)
  File "/home/usr/projects/xxxx/main.py", line 210, in train_loop
    torch.jit.save(torch.jit.script(model), local_path)
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/jit/_script.py", line 1257, in script
    return torch.jit._recursive.create_script_module(
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/jit/_recursive.py", line 451, in create_script_module
    return create_script_module_impl(nn_module, concrete_type, stubs_fn)
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/jit/_recursive.py", line 465, in create_script_module_impl
    hook_stubs, pre_hook_stubs = get_hook_stubs(nn_module)
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/jit/_recursive.py", line 754, in get_hook_stubs
    hook_stubs.append(make_stub(hook, hook.__name__))
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/jit/_recursive.py", line 51, in make_stub
    ast = get_jit_def(func, name, self_name="RecursiveScriptModule")
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/jit/frontend.py", line 233, in get_jit_def
    parsed_def = parse_def(fn)
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/_sources.py", line 96, in parse_def
    sourcelines = normalize_source_lines(sourcelines)
  File "/home/usr/projects/venv/lib/python3.8/site-packages/torch/_sources.py", line 55, in normalize_source_lines
    fn_def = sourcelines[idx]
UnboundLocalError: local variable 'idx' referenced before assignment
python-BaseException

I've tried to address the problem in but a name and a def are not enough:
https://github.com/manuel-delverme/client/tree/watch_torch_jit_models
The new error is:
Hook 'parameter_log_hook_with_closure' on module 'Model' expected the input argument to be typed as a Tuple but found type: 'Tensor' instead.
This error occured while scripting the forward hook 'parameter_log_hook_with_closure' on module Model. If you did not want to script this hook remove it from the original NN module before scripting. This hook was expected to have the following signature: parameter_log_hook_with_closure(self, input: Tuple[Tensor, Tensor], output: Tuple[Tensor, Tensor]). The type of the output arg is the returned type from either the forward method or the previous hook if it exists. Note that hooks can return anything, but if the hook is on a submodule the outer module is expecting the same return type as the submodule's forward.

Hi @manuel-delverme,
Thanks for bringing this to our notice! Could you share a self-contained reproduction of this issue (in a colab or a script)? It will help us pin down the source of this error.
Thanks,
Ramit

import torch
import wandb

wandb.init()
nn = torch.nn.Linear(1, 1)
wandb.watch(nn, log="all")
gg = torch.jit.script(nn)

Hey @manuel-delverme,
Thanks for the reproduction! I'm going to escalate this up to our engineering team, and we should have a fix out for this soon. I'll let you know as soon as I have any news on the progress of this issue.
Thanks,
Ramit

@ramit-wandb Hi! Has there been any progress on this issue? I too am facing the same problem, wherein if I try watching the parameters of the model which is initialized using torch.hit.script, then the following error is thrown:
Traceback (most recent call last):
  File "/private/home/ishitamed/miniconda3/envs/braxnew/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/private/home/ishitamed/miniconda3/envs/braxnew/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/private/home/ishitamed/projects/multiagent_brax/train.py", line 448, in <module>
    train(env_name=args.env_name, num_envs=args.num_envs, episode_length=args.episode_length,
  File "/private/home/ishitamed/projects/multiagent_brax/train.py", line 124, in train
    wandb.watch([agent, agent_2], log="parameters")
  File "/private/home/ishitamed/miniconda3/envs/braxnew/lib/python3.10/site-packages/wandb/sdk/wandb_watch.py", line 91, in watch
    wandb.run._torch.add_log_hooks_to_pytorch_module(
  File "/private/home/ishitamed/miniconda3/envs/braxnew/lib/python3.10/site-packages/wandb/wandb_torch.py", line 112, in add_log_hooks_to_pytorch_module
    hook = module.register_forward_hook(
  File "/private/home/ishitamed/miniconda3/envs/braxnew/lib/python3.10/site-packages/torch/jit/_script.py", line 922, in fail
    raise RuntimeError(name + " is not supported on ScriptModules")
RuntimeError: register_forward_hook is not supported on ScriptModules

Hello @ishitamed19, thanks for your question. Unfortunately, we currently don't support watch with scripted modules, since we use register_forward_hook under the hood to track the parameters and torch does not support registering hooks on scripted modules as you can see from the error: RuntimeError: register_forward_hook is not supported on ScriptModules.
We are thinking of alternative ways of tracking the parameters of the torch models, we will update here as soon as we release a fixed version.

Hi @manuel-delverme!
This has been resolved and should be released in the next version of the wandb SDK!
Thanks,
Ramit


Handle change of EventDispatcher::dispatch introduced in symfony 4.3

https://symfony.com/blog/new-in-symfony-4-3-simpler-event-dispatching

closed by 8f50fd1


Nested virtualization support

I'm missing detailed info regarding the support (or not) of nested virtualization on each VM series. Can this supported/non supported flag be added to the documentation (similar to the premium storage support or the advanced networking support and so on)?

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

ID: 8fdfbee1-bb47-fdfa-44f9-603b1313359e
Version Independent ID: 1404915e-3bca-00bf-a15c-b0545af47319
Content: Eav4-series and Easv4-series - Azure Virtual Machines
Content Source: articles/virtual-machines/eav4-easv4-series.md
Service: virtual-machines
Sub-service: vm-sizes-memory
GitHub Login: @migerdes
Microsoft Alias: jushiman

@xxflop , Thanks for reaching out. We will investigate and update this thread.

@xxflop
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@ju-shim
Can you please check and add your comments on this doc update request as applicable.

I have synced with the PM for this VM size and am awaiting a reply. Please reassign to them to touch base on when they become available. Thank you for your patience!
#reassign: @ayshakeen


help! stupidly deployed before flatten

So, any suggestions? After days of trying to get REMIX to let me select Injected Web3, I jumped the gun and hit deploy before realizing that I had just started a new contract without flattening it. I have only added the contract name and id. Now what? Is there anyway I can edit this and reuse it? I know I cannot delete it but do not know the ways that I have left myself vulnerable with this contract. Any suggestions appreciated. Thank you.

figured it out...


Extend Opentelemetry-Collector testing with SELinux policies

https://issues.redhat.com/browse/CLOUDX-1005

@sshmulev have you tested this in a RHEL-9.5 AMI? Could you share the results?

@sshmulev have you tested this in a RHEL-9.5 AMI? Could you share the results?

Not yet since it's still in development by the devs

Vrified succesffuly:
rhel-9.5-nightly-x86_64:
https://redhat.gitlab.io/-/services/products/image-builder/ci/cloud-image-val-ci/-/jobs/7631072269/artifacts/report.html?sort=result
rhel-9.5-nightly-aarch64:
https://redhat.gitlab.io/-/services/products/image-builder/ci/cloud-image-val-ci/-/jobs/7639223157/artifacts/report.html?sort=result


Start & Stop are missing -instance option

Using StartTopshelf and StopTopshelf aliases with instance parameter works incorrectly.
Arguments supplied to .exe are respectively
start {instance}
stop {instance}

when according to Topshelf CLI reference (https://topshelf.readthedocs.io/en/latest/overview/commandline.html) they should be
start -instance {instance}
stop -instance {instance}

Good catch, i've added them in v0.2.1 👍


Problem processing AUTHOR references

Command issued: python3 run.py RESOLVE -p /proj/ads/references/sources/AUTHOR -e *.pairs -d 30
Messages seen:
{"asctime": "2024-02-29T16:52:02.624Z", "name": "reference-pipeline", "processName": "MainProcess", "filename": "app.py", "funcName": "populate_tables_pre_resolved_initial_status", "levelname": "INFO", "lineno": 460, "module": "app", "threadName": "MainThread", "message": "Source file /proj/ads/references/sources/AUTHOR/2024/0227.pairs information failed to get added to database. Error: null value in column \"reference_raw\" violates not-null constraint\nDETAIL:  Failing row contains (80176, 1, 2020arXiv200203100S, 0000, -1, null).\n", "timestamp": "2024-02-29T16:52:02.624Z", "hostname": "41a8b450674c"}

No files were queued, even though 47 files were identified when command was issued.

Fixing the directory permission, I am not getting any errors. However, noticed that author parser is not implemented. I waited to include this simple parser, after we chat about the identifier files, to import those to the database. I thought they should go together. I am going to add a log message to say the author files is not being processed at this time, until we chat and decide to implement the identifier at the same time.


Feature: Quarto document support

Hi, is it possible to support Quarto documents? The syntax is very similar to markdown which itself is basically markdown with added comments in the code cells.
Thanks you,
Andrea

Have you tried set ft=markdown for Quarto documents? Does it work? If it does, we may just map Quarto to Markdown.

I have tried on a decently complex quarto document with a lot of different markups and it seems to work perfectly.

https://github.com/crispgm/telescope-heading.nvim/blob/main/lua/telescope/_extensions/heading.lua#L16


SLF4J-414: suggest to add a method returning Optional value

Unlike #223, this PR suggests adding a method which returns Optional value to solve the SLF4J-414.
This suggestion keeps existing documented behavior.
It is also good to return Optional value instead of asking users to care for the nullness of the returned value.
After the change, usage of these APIs will be like below:
final Map<String, String> context = MDC.getCopiedContextMap().orElse(HashMap::new);
executor.submit(() -> {
    MDC.setContextMap(context);
});

@KengoTODA,
Thank you for this PR. As mentioned in PR 223, I have opted for a different approach where instead of touching org.slf4j.MDC, implementations of MDCAdapter were modified catering for null input. See commit d7786eafa7a5 for details.
As you can imagine, I do not wish to change the signature of the MDC method, even in relation with the return type.


The sequence.ino example doesn't work on ESP32

It seems that just the last sequence effect work.

Hi, could you please describe a little bit more detailed the expected and observed behaviour?
The last "effect" in the sequence example is to turn the LED off (i.e. Off()).
https://github.com/jandelgado/jled/blob/8701e212660f497e6b0cb21a8fb0a0f8c85e8e07/examples/sequence/sequence.ino#L10
Regarding your report, that would mean that the the whole demo would not show anything, correct?

Yes, your describe is right, the whole demo would not show anything.
When I comment the codes of Line 11, 12, 13, the demo will fadeoff 3 times, and so forth.

Ok, will check this in a few days. Thanks for the report.

Good news: I've spotted the problem in the ESP32 HAL, in the pin-channel assignment. Will fix it coming weekend.

@iZhangHui release 4.1.2 should fix the problem - could you please retest?

I will retest and give you feedback.

Verified, It works.  :）

Excellent - thanks.


Make Global and Profile settings inheritable

Summary of the Pull Request
Introduces IInheritable as an interface that helps move cascading settings into the Terminal Settings Model. GlobalAppSettings and Profile both are now IInheritable. CascadiaSettings was updated to CreateChild() for globals and each profile when we are loading the JSON data.
IInheritable does most of the heavy lifting. It introduces a two new macros and the interface. The macros help implement the fallback functionality for nullable and non-nullable settings.
References
#7876 - Spec Addendum
#6904 - TSM Spec
#1564 - Settings UI
#7876 - Copy() needs to be updated to include _parent

TODO for this PR

[ ] Update IDL with Has... functions
[ ] Runtime error when _globals->CreateChild() is being assigned (only when loading settings.json, fine otherwise)
[ ] Update spec and propagate changes from spec
[ ] Profile has a few settings we handle manually (i.e. BI alignment). I need to hook those up properly too
[ ] (Bonus Points) maybe make these settings observable (we'll need that soon anyways)

This branch still doesn't work right, and I can't figure out why. It builds/deploys, but...

"Windows PowerShell" is still a profile, but it shouldn't be for me. It also has the name in "profile.defaults"
"Command Prompt" doesn't have an icon
"Raspberry Pi" custom profile seems to be fine
"Ubuntu" has name from "profile.defaults"
"PowerShell" isn't recognized as the default profile (and has name from "profile.defaults")

Other than changing IReference to std::optional. This PR is good to go now.

@zadjii-msft So, I moved guid generation to the getter like this:
        GETSET_SETTING(guid, Guid, _GenerateGuidForProfile(Name(), Source()));

So now, when you have a Profile and you ask for its Guid, we check the inheritance tree for a Guid that's defined. If none were defined, we deterministically generate one for this Profile based on the name & source (same as before). Basically, I moved this logic into the getter, as opposed to generating one when we are validating.
It works. It even fixed a bug in a test. I think this is the behavior we want when we expose inheritance in the JSON too?

I still have 2 failing tests: Unbind/Rebind nested commands. I'll probably look into them this afternoon.
I want to get a head start on serialization though. So I'm taking that on today, and that'll be based off this branch. I have a feeling I may need @zadjii-msft 's help with the two failing tests anyways.

must-fix:

[ ] default profile fails to resolve on empty settings case

pleasant to have:

[ ] if the p.d block is empty, don't even make a node for it!


Any plans to create feature flag code management project?

Hi,
As more teams are transitioning their code from their original third-party or custom SDKs to the standardized OpenFeature SDK, I believe it's a good time to initiate code reference and stale feature flag management community-level project. This project could assist developers in managing their feature flags in their code with their preferred code editors.
I'm curious to know if OpenFeature has a stance on this.
Thank you.

Hey @cosmic-flood, could you please describe what you had in mind? A full-fledged feature management system is out of scope for OpenFeature as we want to make it easy for people to use the management tool of their choice. However, there may be opportunities to build tooling that works across providers to help support best practices.

I recently experimented with using ChatGPT to identify and remove dead feature flags in a project. The results were quite promising. However, to effectively utilize ChatGPT, you need to prepare context-specific data for each feature flag provider, like LaunchDarkly. This preparation can be quite labor-intensive.
Now, as people begin migrating their SDKs from provider-specific ones to those based on OpenFeature, this process of preparing data could become easier and more standardized.
This means that if ChatGPT, or tools like Copilot, continue to reduce operational costs, we might not need to develop a specialized tool. Instead, we could leverage the standardization offered by OpenFeature.
I've written a blog post about how to eliminate dead feature flags using ChatGPT prompts, which can be found at FeatBit Blog.

Using ChatGPT to help clean up stale feature flags sounds like an interesting idea to me. How do you think OpenFeature can help? Are you looking for prompt templates or some other way to train the LLM? Perhaps a blog similar to the one you wrote fro FeatBit may be a good way to get people thinking about the potential.

I don't believe any LLM other than ChatGPT-4 or Bard, can achieve this goal, as true AGI reasoning power is essential. In my understanding of AI models, a large, deep learning network with a significant volume of parameters is necessary to build its Bayesian/Attention mechanism reasoning capabilities.
I think I'll continue my exploration, possibly with Copilot.

Please let me know what you find. It will be increasingly important to ensure our documentation works well with LLMs.


In any field where markdown is enabled, any word that ends with a dot and a valid url top level domain will be interpreted as a URL.

Describe the bug
I'm not sure if this is a bug or a feature request.
In a DSpace 7 & 8 repository where markdown is enabled, a word that ends in a dot followed by a valid web domain will be interpreted as a URL.
To Reproduce

Log in to a DSpace repository with markdown enabled.
Find an item and in any field with markdown enabled (default is dc.description.abstract) add words that end in a dot followed by text that matches a web domain (TLD), for example: RUNME.py, ASP.NET
They will be rendered as links rather than text

This is not such an edge case as it seems, many publications in fields that use code, for example, will have abstracts that discuss filenames, and where the filename extension matches a url domain they will be rendered as links. Organisations that use dots (periods) in abbrevations of their names will also be affected (eg when Colectivo de Arte Participativo - Tarifa Común is represented as C.A.Pa.Ta.Co) (this last one is how we noticed the behaviour initially).
Expected behavior
Either:

Only valid markdown should be rendered as links, or;
DSpace should continue to allow commonmark autolinking (I think this is the cause) but should allow repository managers to disable it in configuration.

Related work
Link to any related tickets or PRs here.

Closing as a duplicate of #2789.  Please see that ticket instead.


🚀 [Feature] Privacy of chats

As a user,  I want to be sure information I post in the table chats are just visible for the people online and that it will disappear at least after everybody left the table.

Solved by #1940


Oklab matrix is not 64bit accurate

Issue forked from this discussion, @facelessuser wrote:

the current Oklab matrix is not exact enough to give a decent white and will introduce a notable error

recalculating Oklab with 64 bit precision eliminate the inaccuracies near achromatic values

Since it appears you are open to a 64 bit matrix, I can issue a pull request. I'll provide the work I used to calculate them as well. The work may not be in JS as the libraries I've been playing with over the last number of days have frustrated me, but in time, I imagine someone can get it all in a JS solution.

Since it appears you are open to a 64 bit matrix, I can issue a pull request. I'll provide the work I used to calculate them as well. The work may not be in JS as the libraries I've been playing with over the last number of days have frustrated me, but in time, I imagine someone can get it all in a JS solution.

The main thing is to know where the values came from. Whether that derivation was in JS, Python, MatLab, Rust does not particularly matter. Thanks for the clear documentation.


Cannot find .tgz file when publish-templates: "true"

I have tried different ways to publish the devcointainer: (https://github.com/Pwd9000-ML/devcontainer-templates)
But I get this error every time: https://github.com/Pwd9000-ML/devcontainer-templates/actions/runs/3940393359/jobs/6741443418
The error is not overly helpful in this case:
Publishing templates...
Fetching the latest @devcontainer/cli...
/usr/local/bin/devcontainer templates publish -r ghcr.io -n Pwd9000-ML/devcontainer-templates ./src
[2023-01-17T[14](https://github.com/Pwd9000-ML/devcontainer-templates/actions/runs/3940393359/jobs/6741443418#step:3:15):49:35.949Z] @devcontainers/cli 0.27.1. Node.js v16.19.0. linux 5.[15](https://github.com/Pwd9000-ML/devcontainer-templates/actions/runs/3940393359/jobs/6741443418#step:3:16).0-1030-azure x64.
[2023-01-17T14:49:35.949Z] Packaging template collection...
[2023-01-17T14:49:35.951Z] Processing template: github-actions-runner-devcontainer...
[2023-01-17T14:49:35.978Z] Packaged 1 templates!
[2023-01-17T14:49:35.979Z] Processing template: github-actions-runner...
[2023-01-17T14:49:35.979Z] Fetching published versions...
[2023-01-17T14:49:36.159Z] Publishing versions: 0,0.1,0.1.1,latest...
[2023-01-17T14:49:36.159Z] Blob /tmp/templates-output-[16](https://github.com/Pwd9000-ML/devcontainer-templates/actions/runs/3940393359/jobs/6741443418#step:3:17)73966975947/devcontainer-template-github-actions-runner.tgz does not exist.
[2023-01-[17](https://github.com/Pwd9000-ML/devcontainer-templates/actions/runs/3940393359/jobs/6741443418#step:3:18)T14:49:36.159Z] (!) ERR: Failed to publish template: 'ghcr.io/pwd9000-ml/devcontainer-templates/github-actions-runner'
[[20](https://github.com/Pwd9000-ML/devcontainer-templates/actions/runs/3940393359/jobs/6741443418#step:3:21)[23](https://github.com/Pwd9000-ML/devcontainer-templates/actions/runs/3940393359/jobs/6741443418#step:3:24)-01-17T14:49:36.159Z] (!) ERR: Failed to publish 'ghcr.io/Pwd9000-ML/devcontainer-templates/github-actions-runner'
Error: The process '/usr/local/bin/devcontainer' failed with exit code 1
Error: (!) Failed to publish templates.

Tests are passing OK.

Hi 👋
The issue is at devcontainer-template.json#L2.
According to the docs, the folder name & id must be same.
@Pwd9000-ML Can you update the id or the folder name and retry?

That did it :)
Thank you so much!


Add init_with_segments to UISegmentedControlStyler

Not sure if this makes total sense for everyone. I was using live_stylesheets on a view with a UISegmentedControl, and at every reload the initial segments I had set were repeating and number of segments were growing. It took me a few minutes to realize that prepend_segments meant just that, and every time the stylesheet were replied, more segments were prepended.
Of course one could use unless st.view_has_been_styled? in their stylesheets, instead of having e specific method for this.
Cheers!

Your solution makes sense to me.
Is this always true in this situation?
if @view.rmq_data.style_name.nil?

Ah yes it is. However, probably be nicer to use: view_has_been_styled? Which will be part of this styler as it inherits from UIViewStyler

I think I tried that first, but got a NoMethodError

will try again later today

You were right, view_has_been_styled? can be used. I fixed the commit and here's how it looks now:
def init_with_segments=(value)
  self.prepend_segments = value unless view_has_been_styled?
end


[incubator/fluentd-cloudwatch] Update _helpers.tpl template to current version

Update the default templates to the current version (from helm create) with automatic de-duplication of fullnames and fullnameOverride.
Currently if you install with helm upgrade --install fluentd-cloudwatch incubator/fluentd-cloudwatch
the call the resources get  called fluentd-cloudwatch-fluentd-cloudwatch and there is no workaround.
With this update, the resources would be called just fluentd-cloudwatch.
@jmcarp @icereval @kenden

/ok-to-test

/lgtm


Post release automated changes for recoveryservicesdatareplication releases

Post release automated changes for azure-arm-recoveryservicesdatareplication

API change check
API changes are not detected in this pull request.


Add Sam Aikin to Contributors list

Stumbled across firsttimersonly.com when researching how to start contributing to open source projects. Thanks for putting together such an awesome tutorial with resources and an exercise!

@AlexPK497 thanks for your feedback :+1:


chore: refactor product images tests and model implementation to be more logical and fix some bugs"

Current dependencies on/for this PR:

next

PR #189

PR #188  (this PR)

This comment was auto-generated by Graphite.


[chore] update for mac m2

Changes
Minor updates to work with Mac M2 architectures.

adservice/AdService.java - IntelliJ gave an error without the package prefix.
emailservice/Gemfile.lock - Add arm64-darwin-22
recommendationservice/requirements.txt - grpcio update required to work with M2 [ref]

Changelog please!


Build fails and run crashes on NixOS Wayland

After running nix build github:sandydoo/flux the build fails with the following error:
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/7jc6sl4fv89mc86prv0hcl7jflf8wxnh-flux-web-4.7.0.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/ava838216fich57vw2isaimx7habg4rs-web
source root is web
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
@nix { "action": "setPhase", "phase": "buildPhase" }
building
no Makefile or custom buildPhase, doing nothing
@nix { "action": "setPhase", "phase": "installPhase" }
installing
{
  WEBPACK_BUNDLE: true,
  WEBPACK_BUILD: true,
  'skip-wasm-pack': true,
  'path-to-elm': '/nix/store/8rlasrnb8qxy8lflskjqnrxpkmc5jc9h-elm-0.19.1/bin/elm'
}
^MVerifying dependencies (0/11)^MVerifying dependencies (1/11)^MVerifying dependencies (2/11)^MVerifying dependencies (3/11)^MVerifying dependencies (4/11)^MVerifying dependencies (5/11)^MVerifying dependencies>
Compiling ...^MCompiling (1)^MSuccess! Compiled 1 module.

    Main ───> /build/2024318-106-1vg96i9.75bm.js

assets by status 1.05 MiB [cached] 11 assets
runtime modules 4.67 KiB 8 modules
orphan modules 79 bytes [orphan] 1 module
cacheable modules 215 KiB (javascript) 231 KiB (webassembly)
  modules by path ./src/ 172 KiB
    ./src/index.js 1.35 KiB [built] [code generated]
    ./src/Main.elm 171 KiB [built] [code generated]
  modules by path ./flux/ 42.9 KiB (javascript) 231 KiB (webassembly)
    ./flux/flux_wasm_bg.js 40.8 KiB [built] [code generated]
    ./flux/flux_wasm_bg.wasm 2.09 KiB (javascript) 231 KiB (webassembly) [built] [code generated]

ERROR in ./src/index.js 2:0-48
Module not found: Error: Can't resolve '../flux-next' in '/build/web/src'
resolve '../flux-next' in '/build/web/src'
  using description file: /build/web/package.json (relative path: ./src)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /build/web/package.json (relative path: ./flux-next)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /build/web/flux-next doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /build/web/flux-next.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /build/web/flux-next.json doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /build/web/flux-next.wasm doesn't exist
      as directory
        /build/web/flux-next doesn't exist

webpack 5.89.0 compiled with 1 error in 1079 ms

When running nix run github:sandydoo/flux (with RUST_BACKTRACE=full) I get the following crash:
thread 'main' panicked at /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/winit-0.26.1/src/platform_impl/linux/wayland/window/mod.rs:229:77:
internal error: entered unreachable code
stack backtrace:
   0:     0x55898e53f6dd - <unknown>
   1:     0x55898e3c6bb0 - <unknown>
   2:     0x55898e514e3e - <unknown>
   3:     0x55898e540f9e - <unknown>
   4:     0x55898e5408a5 - <unknown>
   5:     0x55898e5417cb - <unknown>
   6:     0x55898e5412d8 - <unknown>
   7:     0x55898e541266 - <unknown>
   8:     0x55898e541251 - <unknown>
   9:     0x55898e35dcd4 - <unknown>
  10:     0x55898e35dea2 - <unknown>
  11:     0x55898e392a52 - <unknown>
  12:     0x55898e54af92 - <unknown>
  13:     0x7f4a9038b90a - wl_closure_dispatch
  14:     0x7f4a90387b81 - dispatch_event.isra.0
  15:     0x7f4a90389534 - wl_display_dispatch_queue_pending
  16:     0x7f4a90389aef - wl_display_roundtrip_queue
  17:     0x55898e391d49 - <unknown>
  18:     0x55898e392dcf - <unknown>
  19:     0x55898e39d789 - <unknown>
  20:     0x55898e39a2b5 - <unknown>
  21:     0x55898e37df78 - <unknown>
  22:     0x55898e37e522 - <unknown>
  23:     0x7f4a903bffce - __libc_start_call_main
  24:     0x7f4a903c0089 - __libc_start_main_impl
  25:     0x55898e37ad75 - <unknown>
  26:                0x0 - <unknown>
zsh: abort (core dumped)  RUST_BACKTRACE=full nix run github:sandydoo/flux

My system info is as follows. I'm running nixpkgs unstable at commit 1042fd8, and am using the Hyprland Wayland compositor.

system: "x86_64-linux"
host os: Linux 6.6.26, NixOS, 24.05 (Uakari), 24.05.20240410.1042fd8
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.21.2

Let me know if you need any further info.

After running nix build github:sandydoo/flux the build fails with the following error:

nix build builds the web version by default. I've fixed this now, but it's best to use the web-* tags. I don't promise that anything on main will build.

When running nix run github:sandydoo/flux (with RUST_BACKTRACE=full) I get the following crash:

nix run builds and runs a wrapped version of the desktop app for NixOS. I don't have a wayland machine (with HW acceleration) to test this, but perhaps we're missing some wayland lib. I found this issue mentioning libxkbcommon, so I've added it to the runtime deps. Let me know if it works.

I've fixed this now, but it's best to use the web-* tags. I don't promise that anything on main will build.

Oh, ok :)

I found https://github.com/rust-windowing/winit/issues/1760 mentioning libxkbcommon, so I've added it to the runtime deps.

Where was that dependency added? I don't see it on main, but I added libxkbcommon to runtimeLibraries of flux-desktop-wrapped locally and it's now hitting a different issue. I included WAYLAND_DEBUG=1 output if it's any use.
> WAYLAND_DEBUG=1 RUST_BACKTRACE=full nix run
warning: Git tree '/home/nate/src/github.com/sandydoo/flux' is dirty
[3215601.037]  -> wl_display@1.get_registry(new id wl_registry@2)
[3215601.049]  -> wl_display@1.sync(new id wl_callback@3)
[3215601.130] wl_display@1.delete_id(3)
[3215601.143] wl_registry@2.global(1, "wl_shm", 1)
[3215601.158]  -> wl_registry@2.bind(1, "wl_shm", 1, new id [unknown]@4)
[3215601.165] wl_registry@2.global(2, "wl_drm", 2)
[3215601.170] wl_registry@2.global(3, "zwp_linux_dmabuf_v1", 4)
[3215601.174] wl_registry@2.global(4, "wl_compositor", 6)
[3215601.180]  -> wl_registry@2.bind(4, "wl_compositor", 6, new id [unknown]@5)
[3215601.184] wl_registry@2.global(5, "wl_subcompositor", 1)
[3215601.190]  -> wl_registry@2.bind(5, "wl_subcompositor", 1, new id [unknown]@6)
[3215601.194] wl_registry@2.global(6, "wl_data_device_manager", 3)
[3215601.196] wl_registry@2.global(7, "zwlr_export_dmabuf_manager_v1", 1)
[3215601.200] wl_registry@2.global(8, "zwlr_data_control_manager_v1", 2)
[3215601.204] wl_registry@2.global(9, "zwp_primary_selection_device_manager_v1", 1)
[3215601.209] wl_registry@2.global(10, "wp_viewporter", 1)
[3215601.214] wl_registry@2.global(11, "zwlr_gamma_control_manager_v1", 1)
[3215601.218] wl_registry@2.global(12, "zwlr_output_power_manager_v1", 1)
[3215601.222] wl_registry@2.global(13, "xdg_wm_base", 6)
[3215601.227] wl_registry@2.global(14, "wl_seat", 9)
[3215601.232]  -> wl_registry@2.bind(14, "wl_seat", 6, new id [unknown]@7)
[3215601.241] wl_registry@2.global(15, "wp_presentation", 1)
[3215601.244] wl_registry@2.global(16, "ext_idle_notifier_v1", 1)
[3215601.247] wl_registry@2.global(17, "zwlr_layer_shell_v1", 4)
[3215601.252] wl_registry@2.global(18, "org_kde_kwin_server_decoration_manager", 1)
[3215601.256] wl_registry@2.global(19, "zxdg_decoration_manager_v1", 1)
[3215601.260]  -> wl_registry@2.bind(19, "zxdg_decoration_manager_v1", 1, new id [unknown]@8)
[3215601.263] wl_registry@2.global(20, "zwlr_output_manager_v1", 4)
[3215601.266] wl_registry@2.global(21, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[3215601.269] wl_registry@2.global(22, "zwp_pointer_constraints_v1", 1)
[3215601.274]  -> wl_registry@2.bind(22, "zwp_pointer_constraints_v1", 1, new id [unknown]@9)
[3215601.278] wl_registry@2.global(23, "zwp_relative_pointer_manager_v1", 1)
[3215601.283]  -> wl_registry@2.bind(23, "zwp_relative_pointer_manager_v1", 1, new id [unknown]@10)
[3215601.287] wl_registry@2.global(24, "zwp_virtual_keyboard_manager_v1", 1)
[3215601.291] wl_registry@2.global(25, "zwlr_virtual_pointer_manager_v1", 2)
[3215601.295] wl_registry@2.global(26, "zwlr_foreign_toplevel_manager_v1", 3)
[3215601.299] wl_registry@2.global(27, "wp_drm_lease_device_v1", 1)
[3215601.303] wl_registry@2.global(28, "zwp_tablet_manager_v2", 1)
[3215601.308] wl_registry@2.global(29, "zwp_idle_inhibit_manager_v1", 1)
[3215601.312] wl_registry@2.global(30, "zxdg_exporter_v1", 1)
[3215601.315] wl_registry@2.global(31, "zxdg_importer_v1", 1)
[3215601.319] wl_registry@2.global(32, "zxdg_exporter_v2", 1)
[3215601.322] wl_registry@2.global(33, "zxdg_importer_v2", 1)
[3215601.326] wl_registry@2.global(34, "zwp_pointer_gestures_v1", 3)
[3215601.330] wl_registry@2.global(35, "zwp_text_input_manager_v3", 1)
[3215601.334]  -> wl_registry@2.bind(35, "zwp_text_input_manager_v3", 1, new id [unknown]@11)
[3215601.339] wl_registry@2.global(36, "zwp_input_method_manager_v2", 1)
[3215601.342] wl_registry@2.global(37, "xdg_activation_v1", 1)
[3215601.345]  -> wl_registry@2.bind(37, "xdg_activation_v1", 1, new id [unknown]@12)
[3215601.349] wl_registry@2.global(38, "ext_session_lock_manager_v1", 1)
[3215601.352] wl_registry@2.global(39, "wp_cursor_shape_manager_v1", 1)
[3215601.355] wl_registry@2.global(40, "wp_tearing_control_manager_v1", 1)
[3215601.358] wl_registry@2.global(41, "wp_single_pixel_buffer_manager_v1", 1)
[3215601.361] wl_registry@2.global(42, "xwayland_shell_v1", 1)
[3215601.364] wl_registry@2.global(43, "hyprland_toplevel_export_manager_v1", 2)
[3215601.367] wl_registry@2.global(44, "wp_fractional_scale_manager_v1", 1)
[3215601.370] wl_registry@2.global(45, "zwp_text_input_manager_v1", 1)
[3215601.373] wl_registry@2.global(46, "hyprland_global_shortcuts_manager_v1", 1)
[3215601.376] wl_registry@2.global(47, "zwlr_screencopy_manager_v1", 3)
[3215601.379] wl_registry@2.global(48, "zxdg_output_manager_v1", 3)
[3215601.382] wl_registry@2.global(49, "wl_output", 4)
[3215601.385]  -> wl_registry@2.bind(49, "wl_output", 3, new id [unknown]@13)
[3215601.389] wl_registry@2.global(50, "wl_output", 4)
[3215601.392]  -> wl_registry@2.bind(50, "wl_output", 3, new id [unknown]@14)
[3215601.396] wl_callback@3.done(3918)
[3215601.402]  -> wl_display@1.sync(new id wl_callback@3)
[3215601.447] wl_display@1.delete_id(3)
[3215601.449] wl_shm@4.format(0)
[3215601.453] wl_shm@4.format(1)
[3215601.456] wl_shm@4.format(875709016)
[3215601.457] wl_shm@4.format(875708993)
[3215601.459] wl_shm@4.format(875710274)
[3215601.463] wl_shm@4.format(842094674)
[3215601.464] wl_shm@4.format(842088786)
[3215601.466] wl_shm@4.format(892426322)
[3215601.469] wl_shm@4.format(892420434)
[3215601.470] wl_shm@4.format(909199186)
[3215601.472] wl_shm@4.format(808665688)
[3215601.474] wl_shm@4.format(808665665)
[3215601.476] wl_shm@4.format(1211384408)
[3215601.478] wl_shm@4.format(1211384385)
[3215601.480] wl_shm@4.format(942948952)
[3215601.483] wl_shm@4.format(942948929)
[3215601.485] wl_seat@7.name("seat0")
[3215601.489] wl_seat@7.capabilities(3)
[3215601.491] wl_output@13.geometry(0, 0, 510, 290, 0, "LG Electronics", "24MP56", 3)
[3215601.496] wl_output@13.mode(1, 1920, 1080, 74000)
[3215601.498] wl_output@13.scale(1)
[3215601.501] wl_output@13.done()
[3215601.505] wl_output@14.geometry(0, 0, 710, 400, 0, "Dell Inc.", "DELL G3223Q", 0)
[3215601.507] wl_output@14.mode(1, 3840, 2160, 120014)
[3215601.510] wl_output@14.scale(1)
[3215601.513] wl_output@14.done()
[3215601.515] wl_callback@3.done(3918)
[3215601.529]  -> wl_compositor@5.create_surface(new id wl_surface@3)
[3215601.531]  -> wl_seat@7.get_pointer(new id wl_pointer@15)
[3215601.535]  -> zwp_relative_pointer_manager_v1@10.get_relative_pointer(new id zwp_relative_pointer_v1@16, wl_pointer@15)
[3215601.538]  -> wl_seat@7.get_keyboard(new id wl_keyboard@17)
[3215602.808]  -> zwp_text_input_manager_v3@11.get_text_input(new id zwp_text_input_v3@18, wl_seat@7)
[3215602.825]  -> wl_compositor@5.create_surface(new id wl_surface@19)
[3215602.829]  -> wl_registry@2.bind(13, "xdg_wm_base", 2, new id [unknown]@20)
[3215602.841]  -> wl_shm@4.create_pool(new id wl_shm_pool@21, fd 14, 4096)
[3215602.849]  -> xdg_wm_base@20.get_xdg_surface(new id xdg_surface@22, wl_surface@19)
[3215602.852]  -> xdg_surface@22.get_toplevel(new id xdg_toplevel@23)
[3215602.859]  -> wl_surface@19.commit()
[3215602.863]  -> xdg_toplevel@23.set_min_size(2, 1)
[3215602.869]  -> xdg_surface@22.set_window_geometry(0, 0, 1280, 800)
[3215602.872]  -> wl_compositor@5.create_surface(new id wl_surface@24)
[3215602.875]  -> wl_seat@7.get_pointer(new id wl_pointer@25)
[3215602.879]  -> zxdg_decoration_manager_v1@8.get_toplevel_decoration(new id zxdg_toplevel_decoration_v1@26, xdg_toplevel@23)
[3215602.882]  -> zxdg_toplevel_decoration_v1@26.unset_mode()
[3215602.885]  -> wl_surface@19.commit()
[3215602.887]  -> xdg_toplevel@23.set_min_size(2, 1)
[3215602.890]  -> xdg_toplevel@23.set_max_size(0, 0)
[3215602.892]  -> xdg_toplevel@23.set_min_size(2, 1)
[3215602.894]  -> xdg_toplevel@23.set_max_size(0, 0)
[3215602.897]  -> xdg_toplevel@23.set_title("Flux")
[3215602.902]  -> wl_display@1.sync(new id wl_callback@27)
[3215603.045] wl_display@1.delete_id(27)
[3215603.048] wl_keyboard@17.keymap(1, fd 14, 64703)
[3215603.965] wl_keyboard@17.repeat_info(30, 300)
[3215603.969] wl_callback@27.done(3919)
[3215603.971] xdg_toplevel@23.configure(1920, 1063, array[0])
[3215603.975] zxdg_toplevel_decoration_v1@26.configure(2)
[3215603.978] xdg_surface@22.configure(3919)
[3215603.980]  -> xdg_surface@22.ack_configure(3919)
[3215605.346]  -> wl_display@1.get_registry(new id wl_registry@27)
[3215605.350]  -> wl_display@1.sync(new id wl_callback@28)
[3215605.392] wl_display@1.delete_id(28)
[3215605.394] wl_registry@27.global(1, "wl_shm", 1)
[3215605.397] wl_registry@27.global(2, "wl_drm", 2)
[3215605.403] wl_registry@27.global(3, "zwp_linux_dmabuf_v1", 4)
[3215605.406]  -> wl_registry@27.bind(3, "zwp_linux_dmabuf_v1", 4, new id [unknown]@29)
[3215605.408] wl_registry@27.global(4, "wl_compositor", 6)
[3215605.411] wl_registry@27.global(5, "wl_subcompositor", 1)
[3215605.413] wl_registry@27.global(6, "wl_data_device_manager", 3)
[3215605.415] wl_registry@27.global(7, "zwlr_export_dmabuf_manager_v1", 1)
[3215605.418] wl_registry@27.global(8, "zwlr_data_control_manager_v1", 2)
[3215605.420] wl_registry@27.global(9, "zwp_primary_selection_device_manager_v1", 1)
[3215605.422] wl_registry@27.global(10, "wp_viewporter", 1)
[3215605.424] wl_registry@27.global(11, "zwlr_gamma_control_manager_v1", 1)
[3215605.427] wl_registry@27.global(12, "zwlr_output_power_manager_v1", 1)
[3215605.429] wl_registry@27.global(13, "xdg_wm_base", 6)
[3215605.432] wl_registry@27.global(14, "wl_seat", 9)
[3215605.434] wl_registry@27.global(15, "wp_presentation", 1)
[3215605.437] wl_registry@27.global(16, "ext_idle_notifier_v1", 1)
[3215605.439] wl_registry@27.global(17, "zwlr_layer_shell_v1", 4)
[3215605.441] wl_registry@27.global(18, "org_kde_kwin_server_decoration_manager", 1)
[3215605.444] wl_registry@27.global(19, "zxdg_decoration_manager_v1", 1)
[3215605.446] wl_registry@27.global(20, "zwlr_output_manager_v1", 4)
[3215605.448] wl_registry@27.global(21, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[3215605.453] wl_registry@27.global(22, "zwp_pointer_constraints_v1", 1)
[3215605.455] wl_registry@27.global(23, "zwp_relative_pointer_manager_v1", 1)
[3215605.458] wl_registry@27.global(24, "zwp_virtual_keyboard_manager_v1", 1)
[3215605.460] wl_registry@27.global(25, "zwlr_virtual_pointer_manager_v1", 2)
[3215605.463] wl_registry@27.global(26, "zwlr_foreign_toplevel_manager_v1", 3)
[3215605.465] wl_registry@27.global(27, "wp_drm_lease_device_v1", 1)
[3215605.467] wl_registry@27.global(28, "zwp_tablet_manager_v2", 1)
[3215605.470] wl_registry@27.global(29, "zwp_idle_inhibit_manager_v1", 1)
[3215605.472] wl_registry@27.global(30, "zxdg_exporter_v1", 1)
[3215605.475] wl_registry@27.global(31, "zxdg_importer_v1", 1)
[3215605.477] wl_registry@27.global(32, "zxdg_exporter_v2", 1)
[3215605.480] wl_registry@27.global(33, "zxdg_importer_v2", 1)
[3215605.482] wl_registry@27.global(34, "zwp_pointer_gestures_v1", 3)
[3215605.484] wl_registry@27.global(35, "zwp_text_input_manager_v3", 1)
[3215605.486] wl_registry@27.global(36, "zwp_input_method_manager_v2", 1)
[3215605.488] wl_registry@27.global(37, "xdg_activation_v1", 1)
[3215605.491] wl_registry@27.global(38, "ext_session_lock_manager_v1", 1)
[3215605.495] wl_registry@27.global(39, "wp_cursor_shape_manager_v1", 1)
[3215605.498] wl_registry@27.global(40, "wp_tearing_control_manager_v1", 1)
[3215605.501] wl_registry@27.global(41, "wp_single_pixel_buffer_manager_v1", 1)
[3215605.503] wl_registry@27.global(42, "xwayland_shell_v1", 1)
[3215605.505] wl_registry@27.global(43, "hyprland_toplevel_export_manager_v1", 2)
[3215605.507] wl_registry@27.global(44, "wp_fractional_scale_manager_v1", 1)
[3215605.509] wl_registry@27.global(45, "zwp_text_input_manager_v1", 1)
[3215605.512] wl_registry@27.global(46, "hyprland_global_shortcuts_manager_v1", 1)
[3215605.514] wl_registry@27.global(47, "zwlr_screencopy_manager_v1", 3)
[3215605.517] wl_registry@27.global(48, "zxdg_output_manager_v1", 3)
[3215605.519] wl_registry@27.global(49, "wl_output", 4)
[3215605.521] wl_registry@27.global(50, "wl_output", 4)
[3215605.524] wl_callback@28.done(3919)
[3215605.526]  -> zwp_linux_dmabuf_v1@29.get_default_feedback(new id zwp_linux_dmabuf_feedback_v1@28)
[3215605.529]  -> wl_display@1.sync(new id wl_callback@30)
[3215605.551] wl_display@1.delete_id(30)
[3215605.553] zwp_linux_dmabuf_feedback_v1@28.main_device(array[8])
[3215605.733] zwp_linux_dmabuf_feedback_v1@28.format_table(fd 14, 5104)
[3215605.740] zwp_linux_dmabuf_feedback_v1@28.tranche_target_device(array[8])
[3215605.742] zwp_linux_dmabuf_feedback_v1@28.tranche_flags(0)
[3215605.745] zwp_linux_dmabuf_feedback_v1@28.tranche_formats(array[638])
[3215605.752] zwp_linux_dmabuf_feedback_v1@28.tranche_done()
[3215605.753] zwp_linux_dmabuf_feedback_v1@28.done()
[3215605.755] wl_callback@30.done(3919)
[3215605.758]  -> zwp_linux_dmabuf_feedback_v1@28.destroy()
thread 'main' panicked at flux-desktop/src/main.rs:106:10:
called `Result::unwrap()` on an `Err` value: NoAvailablePixelFormat
stack backtrace:
   0:     0x560c610316dd - <unknown>
   1:     0x560c60eb8bb0 - <unknown>
   2:     0x560c61006e3e - <unknown>
   3:     0x560c61032f9e - <unknown>
   4:     0x560c610328a5 - <unknown>
   5:     0x560c610337cb - <unknown>
   6:     0x560c6103330c - <unknown>
   7:     0x560c61033266 - <unknown>
   8:     0x560c61033251 - <unknown>
   9:     0x560c60e4fcd4 - <unknown>
  10:     0x560c60e50242 - <unknown>
  11:     0x560c60e928c6 - <unknown>
  12:     0x560c60e8c2b5 - <unknown>
  13:     0x560c60e6ff78 - <unknown>
  14:     0x560c60e70522 - <unknown>
  15:     0x7f12e419afce - __libc_start_call_main
  16:     0x7f12e419b089 - __libc_start_main_impl
  17:     0x560c60e6cd75 - <unknown>
  18:                0x0 - <unknown>
zsh: abort (core dumped)  WAYLAND_DEBUG=1 RUST_BACKTRACE=full nix run

Where was that dependency added? I don't see it on main

Sorry, I forgot to push 🤦
Eh, looks like winit + glutin issues. This uses a relatively old version, because the new one has completely changed the interface and requires a big rewrite. So perhaps it's been fixed upstream.


Update k8s.io/ja/docs/setup/independent/create-cluster-kubeadm/

This is a...

[x] Feature Request
[ ] Bug Report

Problem:
Outdated content content/ja/docs/setup/independent/create-cluster-kubeadm.md.
content/en/docs/setup/independent/create-cluster-kubeadm.md 93 insertion(+), 52 delettion(-)

Proposed Solution:
Update content content/ja/docs/setup/independent/create-cluster-kubeadm.md.
For details, please execute the following command.
git diff 551489f 7b07d19 -- content/en/docs/setup/independent/create-cluster-kubeadm.md

Page to Update:
https://kubernetes.io/ja/docs/setup/independent/create-cluster-kubeadm/

やります
/assign

/close


Question about c-index results

Hello, firstly, I'd like to say that I enjoyed the paper and the model's idea of predicting bidding landscape.
I'm trying to implement paper's model in PyTorch and I get some results with my implementation, but when calculating c-index, best values I can get on test dataset are around 68%. The dataset I'm using is 2259 iPinYou. On the train set I get results closer to the paper's 87%, that is 83% (score obtained using some checkpoint, before doing hparam search, so I think there is some room for closing the gap).
Maybe do you remember whether the c-index was calculated on the train dataset?

I found the error in my code, sorry for bothering.
I've been using toy dataset instead of the full one.


Inputs of iOS-app-spider

Thanks for your work. It's quite helpful for ios application analyzers.
In ios/server/pre-process.py, it seems a list of apps(load_excel_path and app_json_file) is needed. I've searched a lot on Google but nothing valuable found. Could you give me some advice on how to get it?

load_excel_path is a input Excel file which contains some information of APPs that we want analyze. In this Excel file , the most import information is the APP ID. This repository don't contain this part of crawler to get a APP list with APP ID. iOS-app-spider just download the .ipa file and analyze the URL Scheme.
app_json_file is putting in the ./input/ directory. This file is output file In pre-process.py. But it is input file in server.py.

yes, ios-app-spider is not a good name ,even there are some codes to crawl Android APP info.


Fix preview with device orientation in iOS

The problem.
--start
When you start the camera initially in landscape mode, the video view is hardcoded to portrait mode, causing  strange behaviour in using the camera in landscape mode. It is fixed when rotating the camera, but it's a much smoother user experience if the camera is showing accordingly to the device orientation.
--capture.
When capturing the photo-output there are a few quirks in iOS.
the problem is that the raw picture is captured with orientation right (this is default behaviour of the UIImage), the exif data however tells the correct orientation. At first glance, when using the base64 as input on an img.src, the picture has the correct orientation, because most modern browsers read the exif information. When u want to manipulate or store the image as a file and read it later on, the exif data might be lost and the picture has a wrong orientation.
this fix also returns the raw picture with the correct orientation.

I have the latest version and when running on my iPhone XS in landscape it starts in portrait every time?

I have the latest version and when running on my iPhone XS in landscape it starts in portrait every time?

Getting this error, if it helps:
To Native Cordova ->  CDVOrientation screenOrientation INVALID ["options": [12, landscape]]

Getting this error, if it helps:
To Native Cordova ->  CDVOrientation screenOrientation INVALID ["options": [12, landscape]]

Fixed it by forcing the device's orientation to flip quickly, hack, but it works (after start() call)
setTimeout(() => {
      window.screen.orientation.unlock();
      window.screen.orientation.lock('portrait');
      window.screen.orientation.unlock();
      window.screen.orientation.lock('landscape');
}, 500);

Fixed it by forcing the device's orientation to flip quickly, hack, but it works (after start() call)
setTimeout(() => {
      window.screen.orientation.unlock();
      window.screen.orientation.lock('portrait');
      window.screen.orientation.unlock();
      window.screen.orientation.lock('landscape');
}, 500);


[DV process] Does V2S signoff need an in-person review meeting?

Currently, V1/2/3 have a meeting driven review step. We recently added a new intermediate milestone V2S. Should we have a review meeting for it as well?
Arguments against:

All V milestones will have a meeting driven review step making it slightly heavy
Countermeasures will be documented properly in HJSon which will help ensure the testplan for V2S is up-to-date (alleviates the concern if we missed anything)
DV is already staying on top of countermeasures that can be standardized and run as a separate common test

Arguments for:

Only a handful of IPs will need it (if desired), so maybe its not a big deal to have a couple of extra review meetings
Vocalizing the testplan, testing methods, etc. with an audience (i.e., a collaborative development) often results in fresh new ideas to solve verification problems (we are however, doing this in DV meetings already)

Trending opinion:

Have a review meeting for blocks that implement a custom countermeasure (example: rstmgr with reset consistency checker)
Blocks that only have a standardized set of countermeasures can get away with just a PR review

We've discussed this in the silicon meeting, and we're generally fine with the trending opinion above.
To add some more detail:

we're going to use the countermeasure list in the IP Hjson as the reference to do a gap analysis and determine whether additional tests have to be developed as part of V2S. example for such a list:
https://github.com/lowRISC/opentitan/blob/ad632a0c8b5586b310773f0bceff2c794695830a/hw/ip/rom_ctrl/data/rom_ctrl.hjson#L86-L109

some custom countermeasures may already be tested as part of V2, especially in cases where the custom countermeasure is a very important functional feature of the block (e.g. scrambling). However, there may be coverage gaps in some blocks, and V2S is intended to identify and close them.

It is allowed to sign off V2 and V2S together if there are no custom countermeasures (i.e., only standardized tests are needed to close coverage).

@sriyerg do you have anything to add? Should we close this issue or keep it around?

We now have testsplans autogenerated from the list of countermeasures for each block, which will help with the DV gap analysis.
Example: https://reports.opentitan.org/hw/top_earlgrey/ip_autogen/alert_handler/dv/latest/results.html
These autogen testplans add V2S testing requirements which will be tracked for V2S closure. Existing or newly written tests need to be mapped to these testpoints appropriately, which will be the focus of the V2S review meeting, if deemed to be required.


Adding Streaming for replies

Adding streaming for replies, so no longer waiting until the entire generation is complete to display the LLM's response(finally).
Also started adding some documentation, and notes on things.
Going to update the website with proper documentation/what features are available and list out how to use said features.

Well, thinking on it more, I'm going to merge this, and hold off on adding it to the UI.


azure-cosmos release 2024-02-20

API change check
API changes are not detected in this pull request.


UploadFileToS3 don't return status of successful or failed upload

Task don't check whether connection has been made or the upload has been successful. It would be better if there was a check that returns status whether the upload was successful.

Fixed by changing the methods to async methods and added await to function calls so the errors would come through from AWS


Update the XML schema to not accept offsets on metadata

Apparently, there are no X and Y offsets in metadata elements anymore, but the schema still accepts them:
  <xs:complexType name="meta">
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="name" type="xs:string" use="required"/>
        <xs:attribute name="xoffset" type="xs:int"/>
        <xs:attribute name="x_offset" type="xs:int"/>
        <xs:attribute name="yoffset" type="xs:int"/>
        <xs:attribute name="y_offset" type="xs:int"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

@litghost Probably knows about what happened here?

@litghost Probably knows about what happened here?

The offset were never used in FASM, and upstream VTR devs identified that the offset logic was dead code, so it was removed.

Fixed in #872.


feat: add deno presets and entries

🔗 Linked issue
resolves https://github.com/unjs/nitro/issues/422
❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This PR adds a deno preset + deno server entry. You can see it in assembled action in a Nuxt project in https://github.com/danielroe/nuxt-deno - just run pnpm i && pnpm build && pnpm preview.
Questions in my mind:

How appropriate is it for us to set version constraints on the deno imports we are generating? Should there be any at all? Should they be generated at build time, if so, or versioned with nitro?
Is there a different/better way to consume node imports other than tracing? Could we avail ourselves of a Deno CDN instead?

Thoughts and feedback very welcome @bartlomieju.
📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Okay, we're ready to go on deno. Sorry for the delay.
If you want to test with a Nuxt project, make sure to transpile vue or deno will pick the client version when running the project.
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  build: {
    transpile: [/@vue/, /\bvue\b/]
  }
})

Note: deno doesn't use the node_modules folder we create, but turning off trace means we include full path in the output. Neither is great. There may be an improvement we can do here to turn tracing off but leave ids unchanged, or alternatively we can leave node_modules in place - it may be possible for deno to respect what we create via<EMAIL_ADDRESS>or similar.

@danielroe in the next minor release of Deno, coming out in two weeks, Deno should be able to pick up package.json file and use local node_modules/ directory automatically in such case. If you are not in a hurry, I suggest to wait a bit and we can provide some more help to make the integration nicer.

Note: deno doesn't use the node_modules folder we create, but turning off trace means we include full path in the output. Neither is great.

While deno supporting node_modules to enable, can we make it opt-in and use inline strategy? (with chunks)

While deno supporting node_modules to enable, can we make it opt-in and use inline strategy? (with chunks)

The problem is that then we miss out on the great work with node compat from Deno - so node: imports will fail as they can't be inlined - and we end up needing nodeless environment and any corresponding compatibility issues.

I think we can try to only externalize node: (and http/node) protocol and inline any other dependency.

Is this stale or still under development? Denos compatibility has only gotten better since the last comment here

@bartlomieju deno is still not picking up on the traced node_modules we've produced. Any suggestions for the best way to ensure it's picking up the node_modules in the .output/server folder? Does it depend on the working directory for the deno command - or do we need to ensure we list dependencies explicitly?

@danielroe I need to debug it on my side, could you give me some instructions how you were running this PR?

@bartlomieju You can run:
git clone git@github.com:unjs/nitro.git
git checkout feat/deno
pnpm i
NITRO_PRESET=deno-server pnpm nitro build test/fixture
# you should then be able to run
deno run --unstable --allow-net --allow-read --allow-env test/fixture/.output/server/index.mjs

Note that the package.json is in test/fixture/.output/server/package.json and uses the bundledDependencies key rather than dependencies.

Thanks @danielroe, I'm pretty sure we don't have support for bundledDependencies at the moment. We'll prioritize it and try to release it next week.

I guess this isn't necessarily a blocker to merge as things still work, but it would be a nice perf improvement when it lands. If we do go ahead and merge this, would you let me know when you add support, and I can confirm/adapt if required.
@pi0 Happy either to keep this pending or merge, as you like.

Hey, sorry for slow turnaround @danielroe. I just tested the reproduction you provided and the server starts up properly but shows 404 error. I assume this is the problem at hand that Deno doesn't discover modules in .output/server/node_modules?

@bartlomieju No, it's not a bug - there is no index route in the test fixture. Try /api/hello or one of the other routes in test/fixture/api or test/fixture/routes.

Thanks. I just tried and they all seem to work. Sorry but I'm a bit confused now about the problem here. Is the problem that Deno doesn't install bundleDependencies that are present in package.json?

The problem is that Deno does install them. Nitro has produced a node_modules folder which is ultra-minimal. It's traced just the files that are used, which results in a hugely decreased server node_modules folder. It also in some cases correctly resolves different versions of packages in a way that works with tree-based node_modules resolution algorithm. Ideally we would like to use this pre-selected node_modules folder. Otherwise it may be (1) larger than needed, which is suboptimal but not a disaster, (2) it may resolve to a single version of a package, when multiple versions may be required by the build - this could be breaking for users.

@pi0 I know you've approved this previously - is there anything I can do at this point to help get this PR over the line?

@pi0 Let me know when you are ready to review and I will happily resolve merge conflicts 🙏

I have made few refactors to keep deno-server implementation fully separated making it easier to move forward also added deno.json with start task and tests.
I think we can move forward since it basically works but there are two important things:

Versions are not picked from package.json. We might need to add importMaps to the deno.json OR at least add the version to npm: specifier. (local hoist test is skipped since failing)
There are some rollup issues with inject plugin. We likely can fix it by reordering again since basic build works seems good to me to move forward.

@pi0 sorry for a slow response, I missed notitication in my inbox. Is there something we can do on Deno side to make it easier for you folks to handle the problem? Could we somehow limit what is discovered from package.json by Deno or provide a JS library that would allow to leverage node_modules/ structure generated by Deno?


State change in setInterval

I've been building an app with VanJS. The experience is fantastic (kinda reminds me of Flutter).
However, I have run into a weird issue when updating a state var in a set timeout. This is the component code:
export default function App() {
  const timeout = van.state(10);

  van.derive(() => {
    const interval = setInterval(() => {
      if (timeout.val === 0) {
        clearInterval(interval);
      }

      --timeout.val;
     console.log(timeout.val)
    }, 1000);
  });

  return div("Title", p(`Countdown: ${timeout.val}s`));
}

The issue is the on every tick, the console logs multiple times. I may be wrong, but I suspect the setInterval is being called multiple times because a state is being mutated in it.
The requirement here is the start a timer when the component is loaded...

You don't need to wrap the setInterval with van.derive. Just simply having the code below will be enough:
const interval = setInterval(() => {
  if (timeout.val === 0) {
    clearInterval(interval);
  }

  --timeout.val;
  console.log(timeout.val)
}, 1000);

I tried this, but the timer keeps getting duplicated and started resulting in multiple countdowns in the console.

This is the code I'm working with.

Ah, you should wrap the text inside a binding function. Specifically, change:
p(`Countdown: ${timeout.val}s`)

to
p(() => `Countdown: ${timeout.val}s`)

Wow. That actually fixed both issues. Could u please explain why this is?

For a state-derived child element, you need to specify a binding function to bind the element with the underlying states. You can refer to this section for more details: https://vanjs.org/tutorial#state-derived-child.


Cannot serialize sp.finrange

Hello!
Serialization of the syne_tune.search_space.finrange is failing - if we define the sp.finrange in the config_space, the Blackbox serialization tests fail:
https://github.com/talesa/syne-tune/blob/blackbox-serialization-with-finrange-bug/tst/blackbox_repository/test_blackbox.py#L21-L24

FiniteRange does not have a sampler. This to_dict and from_dict has to be fixed. I can do that.

This is harder than I thought. Again, this to_dict and from_dict is making assumptions that are just not true for general classes. FiniteRange has a member _uniform_int, which is not JSON-serializable.

Thank you Matthias!

This fix has been merged now


x/net/http2: Transport is leaking streams on broken Body

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.10.3 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
linux, amd64
What did you do?

Create golang.org/x/net/http2.Transport
Send POST request with non-nil Body
Body returns an error on Read call

What did you expect to see?
Client fails the request and resets the stream.
What did you see instead?
Client fails the request and leaks the stream (on both client and server sides).

Thanks, @odeke-em.
Pull request has a test which exposes the issue. Though let me try to combine some standalone example as well.

Standalone example: https://gist.github.com/euroelessar/6f4535db11b8bf024d85253cdaa1db1f
It fails against master x/net/http2 package (deadline on the last GET call due to exceeding concurrency limit).

In case of request body write error, the stream is not reset/forgotten. The following patch fixes the issue, though I'm not sure a cancel is the right response to such problem spec-wise:
diff --git a/http2/transport.go b/http2/transport.go
index 9d1f2fa..b5c8701 100644
--- a/http2/transport.go
+++ b/http2/transport.go
@@ -1060,7 +1060,12 @@ func (cc *ClientConn) roundTrip(req *http.Request) (res *http.Response, gotErrAf
                        default:
                        }
                        if err != nil {
-                          return nil, cs.getStartedWrite(), err
+                               startedWrite := cs.getStartedWrite()
+                               if startedWrite {
+                                       cc.writeStreamReset(cs.ID, ErrCodeCancel, nil)
+                               }
+                               cc.forgetStreamID(cs.ID)
+                               return nil, startedWrite, err
                        }
                        bodyWritten = true
                        if d := cc.responseHeaderTimeout(); d != 0 {

This issue seems to be the same one behind GoogleCloudPlatform/google-cloud-go#1211 and hashicorp/vault#5419.
I see this is attached to the Go 1.12 milestone, but the CL hasn't received any feedback. Are there plans to look at this?

Approved & submitted into x/net. Needs bundle into std.

Thanks for the fast response!

Thank you!
It would be great if the fix could be backported to 1.11

@gopherbot, please backport to Go 1.11.


Unable to find InventoryPacketState Handler

Tested on the following:

SpongeForge-1.12.2-2555-7.1.0-BETA-2840
SpongeForge-1.12.2-2586-7.1.0-BETA-2873
SpongeVanilla-1.12.2-7.1.0-BETA-15

Issue Description
Middle clicking outside of any inventory (excluding Creative) causes the following warning in console:
[Server thread/WARN] [Sponge]: Unable to find InventoryPacketState handler for click window packet: CPacketClickWindow{windowId=1, slotId=-999, usedButton=2, actionNumber=2, clickedItem=1xtile.air@0, mode=CLONE}
Possibly related to #1434 (Although I have not experienced items disappearing)

@LXGaming I know you didn't expect the warning, but was there some game play element that you were expecting to happen when you middle clicked outside the window?

@ryantheleach Nope.
I don't believe Minecraft performs any action when middle clicking outside of the window.


Symlink issue on MacOS

On MacOS there is an issue with symlinks after extract.
Paths are absolute and in case that some files are moved they become invalid.
Example is with packed Electron.app.
After extracting all symlinks are absolute and if Electron.app is moved to another folder it becomes corrupted.
Solution would be to provide option to select between relative and absolute symlink paths.
Node.js fs already has great utility for that path.relative.

Any solution?


Add nuxt setup in readme

Hey there,
awesome Component!
I thought it might be usefull to add a 'Setup with nuxt' part to your readme.
Feel free to close this PR if you think it is not worth it. :)

Hi, Awesome, thanks!!


[BUG]

Agent Environment

Describe what happened:
Describe what you expected:
Steps to reproduce the issue:
Additional environment details (Operating System, Cloud provider, etc):

Hi @Morehman27,
Your submitted issue does not contain any bug details so I will close it for now. Please feel free to reopen it if/when details are added.


Support Thermo/Finnegan RAW format

This is a fairly common format for mass spec data so it would be useful to support it.
I think all the other open source implementations are kind-of-dated and interlinked?
https://github.com/prvst/unfinnigan
https://github.com/draperjames/unfinnigan

There are some CC0-licensed files here to possibly use as test-cases (kind of big though): ftp://massive.ucsd.edu/MSV000086542/raw/

Added in f0ffd1d6a4a8aacaa3ff93b2379d84b7c71b8c56. Tested on versions between 57, 64, 66. Coeffs and Metadata parsing appears to work on Version 50, but the data block is entirely u16s (?) so I think it probably needs additional information from Metadata to parse properly.


Reload page/diagram on button press

I can see this being done either via python as a response (to completing the task) or via JavaScript to refresh after X time after button press.
I believe, it would be nice to have the latest data be presented on the webpage after pressing the respective button in the EMHASS webpage.
The implementation of this statically would be the easiest. Telling the whole page to refresh. Ideally I would think the best method would be to refresh the diagram div's/sections dynamically on new data.

That would be nice.
While you are at this take also a look at this if you can: https://github.com/users/davidusb-geek/projects/1?pane=issue&itemId=52141646

Had a 2 second look at this but I believe if we can redraw the {{injection_dict[plot]}} on every change or X seconds we might be able to the diagram to dynamically refresh. 🤷♂

Ok, I think should be the best option, but how to redraw on every change on web_server.py ?

That I don't know. We might be able to passively scan for changes to the file. However I haven't observed the code to see if redrawing the loop is even possible.

I'm wondering if, just before the response of a /action button, we call a function to rerun this?
        injection_dict={}
    basename = request.headers.get("X-Ingress-Path", "")
    return make_response(template.render(injection_dict=injection_dict, basename=basename))

If this response is even responsible for drawing the diagrams. Only has a look at the code for a few mins so far

maybe something like this?
https://stackoverflow.com/a/16881055
after button response we run a http get to get the latest html of the graphs and replace (using JS)

Is this solved with the new version?

Sure is 👍


Add tests to cover new liveview integration

Following up on #198.

Is there a reason that all the tests in the matrix are being skipped?

Is there a reason that all the tests in the matrix are being skipped?

Forks can't trigger test runs without a maintainer giving it the initial trigger, I think. There's something there about that.
Given the number of tests we have and that the runners are shared with all of otel, I'm inclined to not change the behavior.

Fixed the tests. Not sure why mix format ran with another version of Elixir when I submitted initially. This PR is ready for another look.


[Identity] InteractiveBrowserCredential to use MSAL Browser 2.0

This PR is intended to fix #13155. I'll keep it as draft until @jonathandturner is able to do an initial review at least. I've tested a bit of it, but I'd like to run some more tests before I make it out of draft.
This PR switches from using the msal on InteractiveBrowserCredential, which uses the implicit flow, to use @azure/msal-browser 2.0^, which uses the PKCE authentication flow.
Reviews appreciated as always!

If you are curious on how I tested this, you can see my changes on this other PR:
https://github.com/Azure/azure-sdk-for-js/pull/13308

The current state of this PR defaults on MSAL 2.0, but also allows users to go back to MSAL 1 by passing the flow property on the options bag to the InteractiveBrowserCredential constructor.
Fixes #13155
Fixes #13080

This looks okay to me. @sameerag - can you take a look (or tag someone on your side)? Would be good to get some eyes on this from the MSAL side.

This looks okay to me. @sameerag - can you take a look (or tag someone on your side)? Would be good to get some eyes on this from the MSAL side.

@jonathandturner -> @pkanher617 is from Sameera's side 🌞
I'll do some tests today to ensure I see more clearly all the moving parts, then I'll make this out of draft 👍

@jonathandturner -> @pkanher617 is from Sameera's side 🌞
I'll do some tests today to ensure I see more clearly all the moving parts, then I'll make this out of draft 👍

I spoke with @schaabs earlier today, we've decided to:

Add authenticationRecord as an optional parameter, to help us decide between multiple accounts for the same user.
To use credential's method authenticate to allow users to retrieve the authentication record.
If we find two accounts and we don't have an authenticationRecord to compare them to (redirect edge case) we'll ask the user to re-authenticate.
To optionally (opt-in) allow switching to the older authentication flow (by using MSAL 1) through a new property in the options bag.
To document this full behavior.

Also to investigate about sending a custom TokenCache and PersistentTokenCache on the browser MSAL 2.0, as related to this PR, but the results of the investigation won't be added this month.

I spoke with @schaabs earlier today, we've decided to:

Add authenticationRecord as an optional parameter, to help us decide between multiple accounts for the same user.
To use credential's method authenticate to allow users to retrieve the authentication record.
If we find two accounts and we don't have an authenticationRecord to compare them to (redirect edge case) we'll ask the user to re-authenticate.
To optionally (opt-in) allow switching to the older authentication flow (by using MSAL 1) through a new property in the options bag.
To document this full behavior.

Also to investigate about sending a custom TokenCache and PersistentTokenCache on the browser MSAL 2.0, as related to this PR, but the results of the investigation won't be added this month.

I'm doing some final tests with ADFS, then I'll add a changelog entry and some docs changes.

I'm doing some final tests with ADFS, then I'll add a changelog entry and some docs changes.

@jonathandturner thank you! I'll get someone from MSAL to approve, and also Scott. Your time is appreciated!

@jonathandturner thank you! I'll get someone from MSAL to approve, and also Scott. Your time is appreciated!

Adding [DO NOT MERGE]  since we're pondering to release a patch first from a stable master, then include CAE and MSAL 2.0 in a beta release.

/azp run js - core - ci


⚠ Samsung has degraded performance

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

HTTP code: 200
Response time: 2603 ms

Resolved: Samsung performance has improved in dda0654.


Evaluate MythoMix

According to HF Leaderboard, this is one of the best 13b models right now.
https://huggingface.co/Gryphe/MythoMix-L2-13b

So this is Nous-Hermes, Chronos and Airoboros merged together?
How can that even work they all had different prompt formats .. very curious here.


ModuleNotFoundError: No module named 'correlation_package._ext.corr._corr'

I am running this repository as it is in github with the following configuration:
python 3.6
tensorflow 1.8
pytorch 0.2.0_3 (pip install https://download.pytorch.org/whl/cu80/torch-0.2.0.post3-cp36-cp36m-manylinux1_x86_64.whl)
CUDA 9.0
which are the same as the described requirements, but whem triying to run an error appears:
Traceback (most recent call last):
  File "./code/optical_flow_net-PWC-Net/script_pwc_multi.py", line 9, in <module>
    import models
  File "/home/usuario/code/PReMVOS/code/optical_flow_net-PWC-Net/models/__init__.py", line 1, in <module>
    from .PWCNet import *
  File "/home/usuario/code/PReMVOS/code/optical_flow_net-PWC-Net/models/PWCNet.py", line 13, in <module>
    from correlation_package.modules.corr import Correlation
  File "/home/usuario/code/PReMVOS/code/optical_flow_net-PWC-Net/external_packages/correlation-pytorch-master/correlation-pytorch/correlation_package/modules/corr.py", line 2, in <module>
    from ..functions.corr import correlation, correlation1d
  File "/home/usuario/code/PReMVOS/code/optical_flow_net-PWC-Net/external_packages/correlation-pytorch-master/correlation-pytorch/correlation_package/functions/corr.py", line 3, in <module>
    from .._ext import corr
  File "/home/usuario/code/PReMVOS/code/optical_flow_net-PWC-Net/external_packages/correlation-pytorch-master/correlation-pytorch/correlation_package/_ext/corr/__init__.py", line 3, in <module>
    from ._corr import lib as _lib, ffi as _ffi
ModuleNotFoundError: No module named 'correlation_package._ext.corr._corr'

I know there is a past issue closed with this same problem but I just tried to re-install torch with the link provided and with the one in the pytorch web. I also tried running it from cuda 8, cuda 9 and cuda 10

Check out this README inside the flownet part.
https://github.com/JonathonLuiten/PReMVOS/blob/master/code/optical_flow_net-PWC-Net/README.md
You have to install the correlation package separately.

In that Readme it puts in the 3 step to run python setup.py build install, but there is no file with that name, and if the make_cuda.sh must create it, which i do not think so, it does not output any error, but from the output I think it must be compilled with cuda 8.0 and then used with cuda 9.0 as the repository says?
Compiling correlation layer kernels by nvcc...
make_cuda.sh: 9: make_cuda.sh: /usr/local/cuda-8.0/bin/nvcc: not found
make_cuda.sh: 10: make_cuda.sh: /usr/local/cuda-8.0/bin/nvcc: not found
Including CUDA code.
running build
running build_py
copying correlation_package/_ext/corr/__init__.py -> build/lib.linux-x86_64-3.6/correlation_package/_ext/corr
running build_ext
generating cffi module 'build/temp.linux-x86_64-3.6/correlation_package._ext.corr._corr.c'
already up-to-date
running install
running bdist_egg
running egg_info
writing correlation_package.egg-info/PKG-INFO
writing dependency_links to correlation_package.egg-info/dependency_links.txt
writing requirements to correlation_package.egg-info/requires.txt
writing top-level names to correlation_package.egg-info/top_level.txt
reading manifest file 'correlation_package.egg-info/SOURCES.txt'
writing manifest file 'correlation_package.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/correlation_package
creating build/bdist.linux-x86_64/egg/correlation_package/modules
copying build/lib.linux-x86_64-3.6/correlation_package/modules/corr.py -> build/bdist.linux-x86_64/egg/correlation_package/modules
copying build/lib.linux-x86_64-3.6/correlation_package/modules/__init__.py -> build/bdist.linux-x86_64/egg/correlation_package/modules
creating build/bdist.linux-x86_64/egg/correlation_package/_ext
copying build/lib.linux-x86_64-3.6/correlation_package/_ext/__init__.py -> build/bdist.linux-x86_64/egg/correlation_package/_ext
creating build/bdist.linux-x86_64/egg/correlation_package/_ext/corr
copying build/lib.linux-x86_64-3.6/correlation_package/_ext/corr/__init__.py -> build/bdist.linux-x86_64/egg/correlation_package/_ext/corr
copying build/lib.linux-x86_64-3.6/correlation_package/_ext/corr/_corr.abi3.so -> build/bdist.linux-x86_64/egg/correlation_package/_ext/corr
copying build/lib.linux-x86_64-3.6/correlation_package/__init__.py -> build/bdist.linux-x86_64/egg/correlation_package
creating build/bdist.linux-x86_64/egg/correlation_package/functions
copying build/lib.linux-x86_64-3.6/correlation_package/functions/corr.py -> build/bdist.linux-x86_64/egg/correlation_package/functions
copying build/lib.linux-x86_64-3.6/correlation_package/functions/__init__.py -> build/bdist.linux-x86_64/egg/correlation_package/functions
byte-compiling build/bdist.linux-x86_64/egg/correlation_package/modules/corr.py to corr.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/correlation_package/modules/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/correlation_package/_ext/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/correlation_package/_ext/corr/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/correlation_package/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/correlation_package/functions/corr.py to corr.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/correlation_package/functions/__init__.py to __init__.cpython-36.pyc
creating stub loader for correlation_package/_ext/corr/_corr.abi3.so
byte-compiling build/bdist.linux-x86_64/egg/correlation_package/_ext/corr/_corr.py to _corr.cpython-36.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying correlation_package.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying correlation_package.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying correlation_package.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying correlation_package.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying correlation_package.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
correlation_package._ext.corr.__pycache__._corr.cpython-36: module references __file__
creating 'dist/correlation_package-0.1-py3.6-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing correlation_package-0.1-py3.6-linux-x86_64.egg
creating /home/usuario/code/PReMVOS/premvos/lib/python3.6/site-packages/correlation_package-0.1-py3.6-linux-x86_64.egg
Extracting correlation_package-0.1-py3.6-linux-x86_64.egg to /home/usuario/code/PReMVOS/premvos/lib/python3.6/site-packages
Adding correlation-package 0.1 to easy-install.pth file

Installed /home/usuario/code/PReMVOS/premvos/lib/python3.6/site-packages/correlation_package-0.1-py3.6-linux-x86_64.egg
Processing dependencies for correlation-package==0.1
Searching for cffi==1.13.2
Best match: cffi 1.13.2
Adding cffi 1.13.2 to easy-install.pth file

Using /home/usuario/code/PReMVOS/premvos/lib/python3.6/site-packages
Searching for pycparser==2.19
Best match: pycparser 2.19
Adding pycparser 2.19 to easy-install.pth file

Using /home/usuario/code/PReMVOS/premvos/lib/python3.6/site-packages
Finished processing dependencies for correlation-package==0.1

setup.py is here:
https://github.com/JonathonLuiten/PReMVOS/blob/master/code/optical_flow_net-PWC-Net/external_packages/correlation-pytorch-master/correlation-pytorch/setup.py


Implement Copy trait

Is your feature request related to a problem? Please describe.
Cannot implement Facade pattern because there is no implementation of the Copy trait 🤕
Describe the solution you'd like
implement copy/clone (I'm new to rust, please forgive me if it doesn't makes sense 🙏 )
Describe alternatives you've considered
using spinners lib for facade (it worked ✅ )
Additional context
use spinoff::{spinners, Color, Spinner as LibSpinner};

pub struct Spinner {
    msg: String,
    sp: LibSpinner,
}

impl Spinner {
    pub fn new(msg: &String) -> Self {
        Self {
            msg: msg.clone(),
            sp: create_standard_spinner(&msg),
        }
    }

    pub fn success(&mut self) {
        self.sp.success(&self.msg);
    }
}

fn create_standard_spinner(msg: &String) -> LibSpinner {
    LibSpinner::new(spinners::Dots2, msg.clone(), Color::Blue)
}

pub fn create_spinner(msg: &String) -> Spinner {
    Spinner::new(msg)
}

but it results in the following error
error[E0507]: cannot move out of `self.sp` which is behind a mutable reference
  --> shared/commands-helper/src/lib.rs:23:13
   |
23 |             self.sp.success(&self.msg);
   |             ^^^^^^^ move occurs because `self.sp` has type `spinoff::Spinner`, which does not implement the `Copy` trait

For more information about this error, try `rustc --explain E0507`.
                 ^^^^

Hi, this will not be possible, since the struct every spinner is built on, SpinnerFrames, has a field with a Vec<&'static str>, so I can't implement the Copy trait on it. You can clone it however.
#[derive(Debug, Clone)]
pub struct SpinnerFrames {
    pub frames: Vec<&'static str>,
    pub interval: u16,
}


[NeurIPS] Data type extension (Video and multichannel time series )

It seems like videos are not supported in the Data types (here its only Image object, while in rdflib.namespace.SDO they have VideoObject separately ).
Also, I have a custom data type - technically, it is multidimensional time series (n channels $\times$ timepoints), so rdflib.namespace.SDO.ListItem would probably be the best for it but for now is it fine to use AudioObject for it?
Thanks a lot in advance!

Related to #371

Thanks for reaching out!
Is the bug about the Croissant spec or about the mlcroissant python library?
One should be able to describe a dataset containing videos using Croissant, similarly as what is done in https://github.com/mlcommons/croissant/blob/main/datasets/1.0/audio_test/metadata.json (replacing sc:AudioObject by sc:VideoObject and audio/mpeg by video/mpeg for example).
It is however possible that libraries (including mlcroissant library) might not support videos atm.
Similarly as https://github.com/mlcommons/croissant/issues/696, when the data is stored in a file format which is not supported, we advise to create a Croissant dataset that specifies the dataset level information and the resources, while omitting RecordSets that contain data stored in files with an unsupported format.
This would unblock you, and it would allow tools that can work with only such metadata to already support your dataset (eg: index dataset, download raw data), while providing a signal for the Croissant contributors on which formats to support first, in the spec and/or various implementations.
Please let us know if there are problems with defining such an incomplete croissant definition and we will look into this.

ok I see that checker raises an error in case of unknown mime type, we should extend that list and add a flag to allow for unknown mime types, we'll try to add that shortly.


Ambilight uses entire desktop?

 Can a future update perhaps allow me to specify which area it should scan?
Telling it to stick to the specified application only would make it even better.

Watch a movie in full screen? :P
I'll see what I can do.

Its fullscreen on my center monitor. :P Cant watch movies with bezels in the way.
Everything else youve done is working wonderfully though!

Capturing foreground window:

Capturing specific process (in this case VLC):

Also added capture for main monitor only.