Only fail nightly release at end, for more detailed signal

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @aviemzur (since you mentioned how broken things are, sending things to you)
I think the nightly build - misnamed, since it isn't night for everyone - should gather all the failures. It hit a flake in some IO and then we lost any other signal.

I just did the same for the postcommit, which I figure has the same rationale.

Changes Unknown when pulling 71e679235ae07766c7e39c887ac7108bfae01c1e on kennknowles:nightly-fail-at-end into ** on apache:master**.

SGTM, makes sense to build all modules and fail at end in these jobs.

run seed job


Support performance events

WIP

https://linear.app/replay/issue/SCS-1598/land-initial-performance-analysis-prototype


Disable minimap in Output pane

This used to work:
"[Log]": {
    "editor.minimap.enabled": false
},

But now it has no effect. It works for other language IDs though. Should it still work?

@isidorn ?

Might this be a consequence of the new document selector matching logic @jrieken
https://github.com/Microsoft/vscode/issues/22869#issuecomment-287782626

@isidorn Selector magic has been reverted before releasing 1.11

@isidorn @sandy081
Either the language id of the output has changed or the output editor no longer reads language specific settings. There is no hidden logic in the editor regarding the minimap option.

I see lang id Log in the intelli-sense of lang specific settings. Have to see if output editor is reading lang spec settings or not.

@roblourens It is working for me in Insiders

Not for me:

How can I debug it?

Output panel editor editor options here should have minimap option to set to false

@sandy081 no, since some users want to see it and some do not. This should be configurable imho.

@isidorn I am not saying to disable it always.. I am giving the pointer to @roblourens to debug.. since it is working for me and not for him.
Location here, gets overridden configurations from super class, which should have minimap property  set to false, if you have disabled minimap for Log language in Settings.

There is apparently some extension which causes all the output editors to have the language type testOutput instead of Log. Should that be possible? I'll try to figure out which one it is.

It's the Python extension, which registers a testOutput language for .log.
"contributes": {
"languages": [{
	"id": "testOutput",
	"aliases": [
		"vscode-output-colorizer",
		"testOutput"
	],
	"extensions": [
		".log"
	],
	"configuration": "./syntaxes/test.configuration.json",
	"mimetypes": [
		"text/x-code-output"
	]
}],

@jrieken fyi https://github.com/Microsoft/vscode/issues/24158#issuecomment-293023600

Yeah, we have decided to use an editor/model for the output pane and that's the consequence....

Is this just by design? Can we use a made up extension for the Output editors which is less likely to collide with something registered by an extension? Or should we tell the Python extension to not take over the entire .log extension?

Seems worth keeping around, it's very annoying.

This is fixed now, by default it is hidden.
And users can enable it by
"[Log]": {
		"editor.minimap.enabled": true
	}


i2v_GENERAL_NAME() & v2i_GENERAL_NAME_ex() strings are inconsistent

I noticed this in 1.0.2, but I glanced at v3_alt.c in master and it looks like the same issue is still present.
The issue is that the "magic strings" differ slightly for certain types. For GEN_URI, GEN_DNS, GEN_RID they are the same. For GEN_RID, it's "RID" v/s "Registered ID." For GEN_IPADD, it's "IP" v/s "IP Address." And so on.
It seems broken to me that the output of i2v_GENERAL_NAME() cannot necessarily be passed back into v2i_GENERAL_NAME() successfully.
FWIW, GENERAL_NAME_print() also states things in terms of string literals, but perhaps there is some argument for a different value in that context.

Changing/cleaning up stuff like this is IMO rather a feature. Not something that can be treated as a simple bug fix and thus done on released branches. Also PR (against master) to cleanup this would be clearly welcome.

Marking as inactive, to be closed at the end of 3.4 dev barring further input


Error: list index out of range, <class 'IndexError'>, param_server.py, 535

Hello, I am reproducing your project. I have followed the instructions and installed the required environment correctly using conda.
My configuration file is as follows.

ps_ip: <IP_ADDRESS>

worker_ips:
    - <IP_ADDRESS>:[2,2] # worker_ip: [(# processes on gpu) for gpu in available_gpus]

exp_path: /home/jsac/CodeFolder/PyramidFL/training
python_path: /home/jsac/anaconda3/envs/oort/bin

auth:
    ssh_user: "jsac"
    ssh_private_key: ~/.ssh/id_rsa

setup_commands:
    - source $HOME/anaconda3/bin/activate oort
    - export NCCL_SOCKET_IFNAME='eno1'         # Run "ifconfig" to ensure the right NIC for nccl if you have multiple NICs

job_conf:
    - log_path: /home/jsac/CodeFolder/PyramidFL/training/evals # Path of log files
    - job_name: openimage                   # Generate logs under this folder: log_path/job_name/time_stamp
    - total_worker: 100                    # Number of participants per round, we use K=100 in our paper, large K will be much slower
    - data_set: openImg                     # Dataset: openImg, google_speech, stackoverflow
    - data_dir: /home/jsac/CodeFolder/FedScaleOrigin/benchmark/dataset/data/openImg   # Path of the dataset
    - data_mapfile: /home/jsac/CodeFolder/FedScaleOrigin/benchmark/dataset/data/openImg/client_data_mapping/clientDataMap             # Allocation of data to each client, turn to iid setting if not provided
    - client_path: /home/jsac/CodeFolder/FedScaleOrigin/benchmark/dataset/data/device_info/client_device_capacity
    - user_trace: /home/jsac/CodeFolder/FedScaleOrigin/benchmark/dataset/data/device_info/client_behave_trace
    - sample_mode: oort                                  # Client selection: random, oort
    - model: shufflenet_v2_x2_0                            # Models: shufflenet_v2_x2_0, mobilenet_v2, resnet34, albert-base-v2
    - gradient_policy: yogi
    # - proxy_avg: True # Commenting out these two lines will turn to "FedAvg"
    - round_penalty: 2.0                    # Penalty factor in our paper (\alpha), \alpha -> 0 turns to (Oort w/o sys)
    - eval_interval: 10                     # How many rounds to run a testing on the testing set
    - epochs: 1000                           # Number of rounds to run this training. We use 1000 in our paper, while it may converge w/ ~400 rounds
    - filter_less: 30                       # Remove clients w/ less than 16 samples
    - batch_size: 16
    - pacer_delta: 10
    - upload_epoch: 20
    - enable_adapt_local_epoch: True
    - enable_dropout: True
    - adaptive_epoch_beta: 0.5
    # - enforce_random: True
    # - enable_obs_client: True

In the aggregator's log file, the error [param_server.py:575] ====Error: list index out of range, <class 'IndexError'>, param_server.py, 535 is reported. I looked at the code on line 535 and it reads param.data += sumDeltaWeights[idx]. For the  sumDeltaWeights variable, I noticed that in param_server.py, line 362, there is
if received_updates == 0.
      sumDeltaWeights.append(model_weight * ratioSample)
else:
    sumDeltaWeights[idx] += model_weight * ratioSample

This code is contained inside a loop for i, clientId in enumerate(clientIds):. I tried to output the clientIds variable, but in the first epoch I found it to be an empty list so the increase operation here is not running, causing sumDeltaWeights to be an empty list as well, which results in an error.
Also, I noticed that the worker's log reads:
2023-08-18:15:07:04,417 INFO     [divide_data.py:510] ========= End of Class/Worker =========

2023-08-18:15:07:04,439 INFO     [learner.py:445] ====Worker: Start running
2023-08-18:15:07:05,230 INFO     [learner.py:483]
Namespace(adam_epsilon=1e-08, adaptive_epoch_beta=0.5, backend='nccl', batch_size=16, bidirectional=True, blacklist_max_len=0.3, blacklist_rounds=-1, block_size=64, cache_dir=None, capacity_bin=True, clf_block_size=100, client_path='/home/jsac/CodeFolder/FedScaleOrigin/benchmark/dataset/data/device_info/client_device_capacity', clip_bound=0.98, clock_factor=2.906137184115524, conf_path='~/dataset/', config_name=None, cut_off_util=0.7, data_dir='/home/jsac/CodeFolder/FedScaleOrigin/benchmark/dataset/data/openImg', data_mapfile='/home/jsac/CodeFolder/FedScaleOrigin/benchmark/dataset/data/openImg/client_data_mapping/clientDataMap', data_set='openImg', decay_epoch=5, decay_factor=0.95, display_step=20, do_eval=False, do_train=False, dropout_high=0.6, dropout_low=0.1, dump_epoch=1000, duplicate_data=1, enable_adapt_local_epoch=True, enable_dropout=True, enable_importance=False, enable_obs_client=False, enable_obs_importance=False, enable_obs_local_epoch=False, enforce_random=False, epochs=1000, eval_all_checkpoints=False, eval_data_file='', eval_interval=10, eval_interval_prior=9999999, evaluate_during_training=False, exploration_alpha=0.3, exploration_decay=0.95, exploration_factor=0.9, exploration_min=0.2, filter_class=0, filter_less=30, filter_more=100000.0, finetune=False, fixed_clients=False, force_read=False, forward_pass=False, fp16=False, fp16_opt_level='O1', full_gradient_interval=20, gpu_device=0, gradient_accumulation_steps=1, gradient_policy='yogi', hetero_allocation='1.0-1.0-1.0-1.0-1.0-1.0', heterogeneity=1.0, hidden_layers=7, hidden_size=256, home_path='', input_dim=0, is_even_avg=True, job_name='openimage', labels_path='labels.json', learners='1-2-3-4', learning_rate=0.04, line_by_line=False, load_epoch=1, load_model=False, load_time_stamp='0615_194942', local_rank=-1, log_path='/home/jsac/CodeFolder/PyramidFL/training/evals', logging_steps=500, loss_decay=0.2, malicious_clients=0, manager_port=48615, max_grad_norm=1.0, max_iter_store=100, max_steps=-1, min_learning_rate=0.0001, mlm=True, mlm_probability=0.1, model='shufflenet_v2_x2_0', model_avg=True, model_name_or_path=None, model_path=None, model_size=65536, model_type='', no_cuda=False, noise_dir=None, noise_factor=0, noise_max=0.5, noise_min=0.0, noise_prob=0.4, num_class=60, num_loaders=2, num_train_epochs=1.0, output_dim=0, output_dir=None, overcommit=1.3, overwrite_cache=False, overwrite_output_dir=False, pacer_delta=10.0, pacer_step=20, per_gpu_eval_batch_size=4, per_gpu_train_batch_size=4, proxy_avg=False, proxy_mu=0.1, ps_ip='jh-gpu06', ps_port='42893', read_models_path=False, release_cache=False, resampling_interval=1, rnn_type='lstm', round_penalty=2.0, round_threshold=10, run_all=False, sample_mode='oort', sample_rate=16000, sample_seed=233, sample_window=5.0, sampler_path=None, save_path='./', save_steps=500, save_total_limit=None, score_mode='loss', seed=42, sequential='0', server_ip='', server_port='', should_continue=False, single_sim=0, skip_partition=False, sleep_up=0, spec_augment=False, speed_volume_perturb=False, stale_threshold=0, task='cv', test_bsz=128, test_interval=20, test_manifest='data/test_manifest.csv', test_only=False, test_ratio=1.0, test_train_data=False, this_rank=2, threads=4, time_stamp='0818_145153_56858', timeout=9999999, to_device='cuda', tokenizer_name=None, total_worker=100, train_data_file='', train_manifest='data/train_manifest.csv', upload_epoch=20, user_trace='/home/jsac/CodeFolder/FedScaleOrigin/benchmark/dataset/data/device_info/client_behave_trace', validate_interval=999999, vocab_tag_size=500, vocab_token_size=10000, warmup_steps=0, weight_decay=0.0, window='hamming', window_size=0.02, window_stride=0.01, yogi_beta=0.999, yogi_beta2=-1, yogi_eta=0.005, yogi_tau=0.001, zipf_alpha='5')

2023-08-18:15:07:05,451 INFO     [learner.py:526] ====Start train round 1
2023-08-18:15:07:05,542 INFO     [learner.py:164] Start to run client 3 on rank 2...
2023-08-18:15:07:06,81 INFO     [learner.py:403] ====Error: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED, <class 'RuntimeError'>, learner.py, 312
2023-08-18:15:07:06,124 INFO     [learner.py:437] ====Failed to run client 3
2023-08-18:15:07:06,124 INFO     [learner.py:439] Completed to run client 3
2023-08-18:15:07:06,125 INFO     [learner.py:606] ====Pushing takes 0.0006704330444335938 s

It's not clear to me if Error: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED, <class 'RuntimeError'>, learner.py, 312 is the cause of the empty list for clientIds.

I believe you are right. I guess the cuDNN error makes the client process fail, which cannot return the model updates to the parameter server. As a result, the parameter server has an empty list when aggregating the model updates.
Please fix the cuDNN error first.

Thanks, I've fixed the CUDNN error and it works fine now.
Interestingly, I had previously replicated your project on another server and the same CUDNN error was reported, but it still ran successfully, so I initially thought that this failure to run wouldn't be caused by CUDNN.


chore: fix automerge condition

:tada: This PR is included in version 4.21.7 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v4.21.7

Your semantic-release bot :package::rocket:


fix filename, export helper types/interfaces

I also noticed that the typings didn't actually make it to the npm package. Hopefully this package.json change will make that happen, but I'm no npm pro.
I'm also not 100% sure what the deal is with default exports vs named exports, but the js module produces named exports - I think the two ought to match.
With this, I can do
import {BigDecimal} from "@yaffle/bigdecimal"
in my ts setup.

I have updated npm package, thanks


Arcyd: 'restart' can be interrupted, leaving arcyd offline

In the case where a user becomes impatient and uses Ctrl-C to abort, Arcyd will most likely stop and not be restarted.
Potentially we could not use the var/command/killfile scheme in this case and perhaps use a var/command/reloadfile scheme, so that the running daemon can have the responsibility of both stopping and starting.

Is this fixed now as #50 has been merged?

Yup! We now have 'arcyd restart' for this. Thanks!


WFLY-16654 Upgrade smallrye-fault-tolerance to 6.0.0-RC4

Resolves
https://issues.redhat.com/browse/WFLY-16654

Thanks @rhusar


[ScrolAreaViewport] Add data-radix attribute to the content element

I need this data attribute to query the inner div element. Trying to avoid usage of >div-like queries.

@vladmoroz @lucasmotta ping


Broadcast team assignment updates via websockets

Checklist

[x] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Server: I added multiple integration tests (Spring) related to the features
[x] Server: I implemented the changes with a good performance and prevented too many database calls
[x] Server: I documented the Java code using JavaDoc style.
[x] Client: I documented the TypeScript code using JSDoc style.

Motivation and Context
At the moment the participation status is not being updated right away when students are assigned to teams. Even after a tutor has added them into a team, it will still say "You have not been assigned to a team yet" in the exercise card. The new team assignment status will only be reflected after the student refreshes the page. This PR adds broadcasting of team assignment changes via websockets so that students will see right away that they can start working on an exercise as soon as the tutor has created their team.
Description

Add TeamWebsocketService with method sendTeamAssignmentUpdate to broadcast changes in team assignments
Use this service method when creating, updating, deleting or importing teams in TeamResource
Add observable teamAssignmentUpdates to team.service.ts that emits team assignment updates
Subscribe to this observable in the courses view and the course overview
On receiving a team assignment update: update assigned team id, team participation and participation status on affected exercise

Steps for Testing
Preconditions: A team-based exercise must exist in a course.

Log in as user A to Artemis (needs to be student in course)
Navigate to Course Overview
Click on a course that has a team-based exercise
In a different browser session, log in as user B (needs to be instructor in course)
Let user B assign and unassign user A from different teams for the team-based exercise
User A should see his participation status changing in the exercise row (from "You have not been assigned to a team yet" to "You have not started this exercise yet", or alternatively "No submission" etc. if a participation already exists, and vice-versa)

Screencast
Behavior when adding and removing the user from the team:

I've tested the feature and it works as intended, good work!
Are the changes in the yarn.lock file intended? I could not identify any new usages of the no-unused-expression annotation that would need a change.

Great, thanks for testing! I responsed to the yarn.lock changes in the thread.

Potentially found a bug. Steps to reproduce this:

Perform the steps as described in the PR. State at the end: User A is assigned to a team.
User A logs out
User A logs in
User A visits the course page with the team exercise
User B unassigns User A from the team
User A still sees the state "You have not started this exercise yet" despite not being assigned to a team any longer
Inspecting your team by clicking on the team button highlighted in the screenshot

below doesn't load.

Can you reproduce this?

Thanks, I will try to reproduce it now.


Return numpy arrays from Rust

@calbaker check this out!!!
I think setting using numpy arrays already worked, so this is something we can do now:

It seems some pymethods that return Vecs (e.g. RustCycle::get_dist_m) should be changed to return numpy arrays as well, so they don't become lists on the Python side. @calbaker thoughts?

@kylecarow , is this ready to go?

@calbaker The major thing that this needs is a warning or error on setting at an index; my_numpy_array[i] = ... in this PR doesn't do that yet

@calbaker The major thing that this needs is a warning or error on setting at an index: my_numpy_array[i] = ... This PR doesn't do that yet

@kylecarow , could you maybe make a python class that inherits np.array and adds this behavior?

@kylecarow, ping!

@calbaker This one is proving tricky, maybe we could look at it together sometime


Fix the lint issue of assert

Codecov Report

Merging #257 (8230d4c) into master (c58a3de) will decrease coverage by 0.91%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##            master     #257      +/-   ##
===========================================
- Coverage   100.00%   99.08%   -0.92%
===========================================
  Files           21       21
  Lines         2175     2175
===========================================
- Hits          2175     2155      -20
- Misses           0       20      +20

Impacted Files
Coverage Δ

src/viztracer/util.py
94.28% <0.00%> (-5.72%)
:arrow_down:

src/viztracer/viztracer.py
95.73% <0.00%> (-4.27%)
:arrow_down:

src/viztracer/patch.py
95.91% <0.00%> (-4.09%)
:arrow_down:

src/viztracer/main.py
98.64% <0.00%> (-1.36%)
:arrow_down:

Continue to review full report at Codecov.

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


Leg, Thigh, Knee, Foot emojis

A (naked) human leg, unlike 🍗, or part thereof. There are only foot prints 👣 and shoes 👠👡👢👞👟 as of Unicode 10.
Petitions

change.org

Proposals

Leg, Foot, Femur Bone: L2/17-259 Body Parts emojis proposal (source)

The candidate emojis for Unicode 11 include Leg and Foot emoji as U+1F9B5 and U+1F9B6, respectively. Although there are no thigh or knee emojis proposed, I will close this issue for now.
http://www.unicode.org/L2/L2017/17284-emoji-recs.pdf


index.js TypeError trying to iterate non-iterable object crashes homebridge while initializing on startup

Pico plugin fails to initialize, generates SIGTERM error and crashes Homebridge.
How to Recreate:
Install Pico plugin.
Restart homebridge.
Plugins initialize
Unexpected:
Pico plugin initializing fails and generates homebridge crash with log "TypeError: config.servers is not iterable...PMcGot SIGTERM, shutting down Bridge..."
Expected
Pico plugin initializes successfully
Log capture:
1/5/2021, 12:40:09 PM Loaded plugin '@balansse/homebridge-vivint'
1/5/2021, 12:40:09 PM [1/5/2021, 12:40:09 PM] Registering platform 'balansse/homebridge-vivint.Vivint'
1/5/2021, 12:40:09 PM [1/5/2021, 12:40:09 PM] The plugin "homebridge-myq" requires Node version of >=12.20.0 which does not satisfy the current Node version of v12.16.3. You may need to upgrade your installation of Node.
1/5/2021, 12:40:09 PM Loaded plugin 'homebridge-myq'
1/5/2021, 12:40:09 PM [1/5/2021, 12:40:09 PM] Registering platform 'homebridge-myq.myQ'
1/5/2021, 12:40:10 PM Loaded plugin 'homebridge-nest'
1/5/2021, 12:40:10 PM [1/5/2021, 12:40:10 PM] Registering platform 'homebridge-nest.Nest'
1/5/2021, 12:40:10 PM Loaded plugin 'homebridge-pico'
1/5/2021, 12:40:10 PM [1/5/2021, 12:40:10 PM] Registering platform 'homebridge-pico.Pico'
1/5/2021, 12:40:10 PM Loading 4 platforms...
1/5/2021, 12:40:10 PM [Vivint] Initializing Vivint platform...
1/5/2021, 12:40:10 PM [Nest] Initializing Nest platform...
1/5/2021, 12:40:10 PM [myQ] Initializing myQ platform...
1/5/2021, 12:40:10 PM [Pico] Initializing Pico platform...
1/5/2021, 12:40:10 PM [Pico] Pico Plugin Loaded - Version 1.0.2
1/5/2021, 12:40:10 PM [Pico] Bus Logging set to monitor
1/5/2021, 12:40:10 PM TypeError: config.servers is not iterable
    at new Pico (/home/hoobs/.hoobs/node_modules/homebridge-pico/index.js:39:31)
    at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:346:30
    at Array.forEach (<anonymous>)
    at Server.loadPlatforms (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:320:31)
    at Server.start (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:152:35)
    at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/cli.js:94:16
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
1/5/2021, 12:40:10 PMcGot SIGTERM, shutting down Bridge...

Environment__________________________________________________
Server:
Raspberry Pi 4, 8GB
Homebridge:
HOOBS v3.3.1
Node v12.16.3
Installed Plugins:
Vivint
1.3.1 published 10/14/2020
myQ
2.4.1 published 1/1/2021
Nest
4.5.1 published 11/20/2020
Pico
1.0.2 published 12/22/2020
Thanks for the help and creating the plugin; excited to get my Lutron Pico keypads implemented!

Can you share your homebridge configuration?  This is happening as the plugin is trading in your settings.

Can you share your homebridge configuration?  This is happening as the plugin is trading in your settings.

To help isolate the issue, I reset to factory defaults my Hoob install.  No plugins, brand new installation. Then tried the below methods.

Installed Pico plugin, automatic homebridge reboot, SIGTERM, homebridge crash, log below.

1/10/2021, 7:42:57 PM Plugin "homebridge-pico" installed. 1/10/2021, 7:42:58 PM Got SIGINT, shutting down Bridge... 1/10/2021, 7:43:02 PM Loaded plugin 'homebridge-pico' 1/10/2021, 7:43:02 PM [1/10/2021, 7:43:02 PM] Registering platform 'homebridge-pico.Pico' 1/10/2021, 7:43:02 PM Loading 1 platforms... 1/10/2021, 7:43:02 PM [Pico] Initializing Pico platform... 1/10/2021, 7:43:02 PM [Pico] Pico Plugin Loaded - Version 1.0.2 1/10/2021, 7:43:02 PM [Pico] Bus Logging set to off 1/10/2021, 7:43:02 PM TypeError: config.servers is not iterable     at new Pico (/home/hoobs/.hoobs/node_modules/homebridge-pico/index.js:39:31)     at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:346:30     at Array.forEach (<anonymous>)     at Server.loadPlatforms (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:320:31)     at Server.start (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:152:35)     at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/cli.js:94:16     at processTicksAndRejections (internal/process/task_queues.js:97:5)
*Note above is freshly installed, non-configured plugin (no host, port, switches).

Next, configured the plugin with server "host" and "port" settings, per the guide, reboot, SIGTERM, homebridge crash. "not iterable error..."
[  {      "host": "<IP_ADDRESS>",      "port": 23,      "switches": []  } ]

Final step, configured plugin with complete "switches" details, reboot, Pico plugin WORKS.
[  {      "host": "<IP_ADDRESS>",      "port": 23,      "switches": [          {              "name": "Master Bedroom",              "pico": 15,              "type": "PJ2-2B"          },          {              "name": "Front Foyer",              "pico": 16,              "type": "PJ2-2B"          },          {              "name": "Living Room",              "pico": 21,              "type": "PJ2-4B-XXX-L31"          }      ]  } ]

Other plugins I've installed don't crash homebridge when not fully configured.  This led me down the path of incorrectly assuming that an incompatibility existed as the plugin crashed homebridge on initial install and crashed homebridge after configuring my host and port, so I did not pursue it further; "why setup a plugin that crashes on initial install?".
An improvement to the plugin design could be handling those exceptions gracefully (don't crash when they don't exist) or populating host, port and switches with filler/template data to mitigate the "not iterable error" and aid in the user populating/replacing the data in the config file.
Thank you for creating/enhancing such an immensely useful and underutilized plugin, been enjoying it since yesterday and your willingness to chase down my ticket is appreciated!

To help isolate the issue, I reset to factory defaults my Hoob install.  No plugins, brand new installation. Then tried the below methods.

Installed Pico plugin, automatic homebridge reboot, SIGTERM, homebridge crash, log below.

1/10/2021, 7:42:57 PM Plugin "homebridge-pico" installed. 1/10/2021, 7:42:58 PM Got SIGINT, shutting down Bridge... 1/10/2021, 7:43:02 PM Loaded plugin 'homebridge-pico' 1/10/2021, 7:43:02 PM [1/10/2021, 7:43:02 PM] Registering platform 'homebridge-pico.Pico' 1/10/2021, 7:43:02 PM Loading 1 platforms... 1/10/2021, 7:43:02 PM [Pico] Initializing Pico platform... 1/10/2021, 7:43:02 PM [Pico] Pico Plugin Loaded - Version 1.0.2 1/10/2021, 7:43:02 PM [Pico] Bus Logging set to off 1/10/2021, 7:43:02 PM TypeError: config.servers is not iterable     at new Pico (/home/hoobs/.hoobs/node_modules/homebridge-pico/index.js:39:31)     at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:346:30     at Array.forEach (<anonymous>)     at Server.loadPlatforms (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:320:31)     at Server.start (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:152:35)     at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/cli.js:94:16     at processTicksAndRejections (internal/process/task_queues.js:97:5)
*Note above is freshly installed, non-configured plugin (no host, port, switches).

Next, configured the plugin with server "host" and "port" settings, per the guide, reboot, SIGTERM, homebridge crash. "not iterable error..."
[  {      "host": "<IP_ADDRESS>",      "port": 23,      "switches": []  } ]

Final step, configured plugin with complete "switches" details, reboot, Pico plugin WORKS.
[  {      "host": "<IP_ADDRESS>",      "port": 23,      "switches": [          {              "name": "Master Bedroom",              "pico": 15,              "type": "PJ2-2B"          },          {              "name": "Front Foyer",              "pico": 16,              "type": "PJ2-2B"          },          {              "name": "Living Room",              "pico": 21,              "type": "PJ2-4B-XXX-L31"          }      ]  } ]

Other plugins I've installed don't crash homebridge when not fully configured.  This led me down the path of incorrectly assuming that an incompatibility existed as the plugin crashed homebridge on initial install and crashed homebridge after configuring my host and port, so I did not pursue it further; "why setup a plugin that crashes on initial install?".
An improvement to the plugin design could be handling those exceptions gracefully (don't crash when they don't exist) or populating host, port and switches with filler/template data to mitigate the "not iterable error" and aid in the user populating/replacing the data in the config file.
Thank you for creating/enhancing such an immensely useful and underutilized plugin, been enjoying it since yesterday and your willingness to chase down my ticket is appreciated!

I'm glad this is now working for you!
When I do my next updates I'll look at making it more graceful when it isn't configured, or is partially configured.

I'm glad this is now working for you!
When I do my next updates I'll look at making it more graceful when it isn't configured, or is partially configured.

Sounds good, thanks again for the immensely useful plugin. Closing the ticket.

Sounds good, thanks again for the immensely useful plugin. Closing the ticket.


Adding dark mode

While exploring the website I found the dark mode feature in learn tab so I'd like to add a dark mode like the one present in the interactive book to make the UI more consistent, user friendly and attractive.
Like this

Are you working on this? (Yes)
I want to work on this issue. Please assign it to me

@PaarthAgarwal This is already being raised #2823


节点数据不同步

[Nest] 29  - 09/19/2024, 5:14:06 PM     LOG [RoutesResolver] HealthCheckController {/api}: +19ms
[Nest] 29  - 09/19/2024, 5:14:06 PM     LOG [RouterExplorer] Mapped {/api, GET} route +3ms
[Nest] 29  - 09/19/2024, 5:14:06 PM     LOG [RoutesResolver] TokenController {/api/tokens}: +0ms
[Nest] 29  - 09/19/2024, 5:14:06 PM     LOG [RouterExplorer] Mapped {/api/tokens/:tokenIdOrTokenAddr, GET} route +0ms
[Nest] 29  - 09/19/2024, 5:14:06 PM     LOG [RouterExplorer] Mapped {/api/tokens/:tokenIdOrTokenAddr/addresses/:ownerAddr/utxos, GET} route +1ms
[Nest] 29  - 09/19/2024, 5:14:06 PM     LOG [RouterExplorer] Mapped {/api/tokens/:tokenIdOrTokenAddr/addresses/:ownerAddr/balance, GET} route +0ms
[Nest] 29  - 09/19/2024, 5:14:06 PM     LOG [RouterExplorer] Mapped {/api/tokens/:tokenIdOrTokenAddr/addresses/:ownerAddr/history, GET} route +1ms
[Nest] 29  - 09/19/2024, 5:14:06 PM     LOG [RoutesResolver] MinterController {/api/minters}: +0ms
[Nest] 29  - 09/19/2024, 5:14:06 PM     LOG [RouterExplorer] Mapped {/api/minters/:tokenIdOrTokenAddr/utxos, GET} route +0ms
[Nest] 29  - 09/19/2024, 5:14:06 PM     LOG [RouterExplorer] Mapped {/api/minters/:tokenIdOrTokenAddr/utxoCount, GET} route +1ms
[Nest] 29  - 09/19/2024, 5:14:06 PM     LOG [RoutesResolver] AddressController {/api/addresses}: +0ms
[Nest] 29  - 09/19/2024, 5:14:06 PM     LOG [RouterExplorer] Mapped {/api/addresses/:ownerAddr/balances, GET} route +0ms
[Nest] 29  - 09/19/2024, 5:14:06 PM     LOG [BlockService] daemon process blocks initialized
[Nest] 29  - 09/19/2024, 5:14:06 PM     LOG [NestApplication] Nest application successfully started +2ms
Application is running on: http://[::1]:3000
不同步，会是什么原因，没报错

same question ,mark..

checkout the latest code


Tree widget: Jittering selected class tags when not enough space

http://localhost:3000/?iTwinId=892aa2c9-5be8-4865-9f37-7d4c7e75ebbf&iModelId=88c44b72-cbb9-4f82-a1e2-116d6420506e
https://bentley.sharepoint.com/:v:/s/Rules-DrivenPresentation/EYQu3tSEI8tKtuDYMldfUe4B8B15JuRoeVmBzIlBxUMwlg?e=qNU7fs

Related: https://github.com/iTwin/iTwinUI/issues/2112

<EMAIL_ADDRESS>release has the fix: https://github.com/iTwin/iTwinUI/releases/tag/%40itwin%2Fitwinui-react%403.16.0. Need to bump the dependency and confirm.


Made svg-sprite-loader rule.use an array

According to Webpack v5 documentation Rule.use should be an array and svg-sprite-loader rule had use as a regular object.
This was causing craco to fail for us.

Could you bump the patch version of the pkg?

Could you bump the patch version of the pkg?

Done

Build is failing because npm ci is failing. It is also failing for me locally although npm i passes. Can it be that package-lock.json is outdated or something else?

afaik the ci has never worked in our fork


Proposal: [Educational Platform for Kaia Developers]

Description

Establish an educational platform that offers video courses, tutorials, and resources for developers interested in building on the Kaia blockchain.

Bounty track

Education

Fixed the issue description for you. Approve the proceed.
A small suggestion, it is easier to hunt by splitting your issue into smaller submissions


"message":"Permission denied, wrong credentials","field":null,"help":null

Keep getting 401 unauthorized error when trying to integrate sendgrid to a test email.
1.- I have generated a new API key in sendgrid.
2.-Env variable has been declared in the environment
401 Array ( [0] => HTTP/1.1 401 Unauthorized [1] => Server: nginx [2] => Date: Sun, 05 May 2019 14:01:18 GMT [3] => Content-Type: application/json [4] => Content-Length: 88 [5] => Connection: keep-alive [6] => Access-Control-Allow-Origin: https://sendgrid.api-docs.io [7] => Access-Control-Allow-Methods: POST [8] => Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl [9] => Access-Control-Max-Age: 600 [10] => X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html [11] => [12] => ) {"errors":[{"message":"Permission denied, wrong credentials","field":null,"help":null}]}
http://logicdatabase.com/sunshine/sendgrid-php/testemail.php
Issue Summary
A summary of the issue and the environment in which it occurs. If suitable, include the steps required to reproduce the bug. Please feel free to include screenshots, screencasts, code examples.
Steps to Reproduce

This is the first step
This is the second step
Further steps, etc.

Any other information you want to share that is relevant to the issue being reported. Especially, why do you consider this to be a bug? What do you expect to happen instead?
Technical details:

sendgrid-php Version: master (latest commit: [commit number])
PHP Version: 5.6, 7.0, 7.1, 7.2 (as of May 17, 2018)

Hello @jtavarezdevops,
Here are a couple of things to try:

Try making your API call here. That will rule out the API Key itself.
Print the value of the API Key just before you make the call to ensure it was set properly.

With Best Regards,
Elmer

I'm having a similar issue:
`<?php
// curl -X "GET" "https://api.sendgrid.com/v3/templates" -H "Authorization: Bearer key.removed.bynox" -H "Content-Type: application/json";
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'GET https://api.sendgrid.com/v3/resource HTTP/1.1',
'Authorization: Bearer key.removed.bynox'
));
curl_exec ($ch);
// require 'vendor/autoload.php'; // If you're using Composer (recommended)
// Comment out the above line if not using Composer
require("sendgrid/sendgrid-php.php");
// require("/sendgrid-php.php");
// If not using Composer, uncomment the above line and
// download sendgrid-php.zip from the latest release here,
// replacing  with the path to the sendgrid-php.php file,
// which is included in the download:
// https://github.com/sendgrid/sendgrid-php/releases
$email = new \SendGrid\Mail\Mail();
<EMAIL_ADDRESS>"Example User");
$email->setSubject("Sending with SendGrid is Fun");
<EMAIL_ADDRESS>"Example User test with sendgrid");
$email->addContent("text/plain", "and easy to do anywhere, even with PHP");
$email->addContent(
"text/html", "and easy to do anywhere, even with PHP"
);
$sendgrid = new \SendGrid(getenv('key.removed.bynox'));
try {
$response = $sendgrid->send($email);
print $response->statusCode() . "\n";
print_r($response->headers());
print $response->body() . "\n";
} catch (Exception $e) {
echo 'Caught exception: '. $e->getMessage() ."\n";
}
curl_close ($ch);
`
Result (browser):

401 Array ( [0] => HTTP/1.1 401 Unauthorized [1] => Server: nginx [2] => Date: Mon, 30 Sep 2019 02:34:34 GMT [3] => Content-Type: application/json [4] => Content-Length: 88 [5] => Connection: keep-alive [6] => Access-Control-Allow-Origin: https://sendgrid.api-docs.io [7] => Access-Control-Allow-Methods: POST [8] => Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl [9] => Access-Control-Max-Age: 600 [10] => X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html [11] => [12] => ) {"errors":[{"message":"Permission denied, wrong credentials","field":null,"help":null}]}

Not using Composer. Downloaded latest from Github today.

401 Array ( [0] => HTTP/1.1 401 Unauthorized [1] => Server: nginx [2] => Date: Fri, 11 Oct 2019 17:27:49 GMT [3] => Content-Type: application/json [4] => Content-Length: 88 [5] => Connection: keep-alive [6] => Access-Control-Allow-Origin: https://sendgrid.api-docs.io [7] => Access-Control-Allow-Methods: POST [8] => Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl [9] => Access-Control-Max-Age: 600 [10] => X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html [11] => [12] => ) {"errors":[{"message":"Permission denied, wrong credentials","field":null,"help":null}]}
Any solution for this issue? :)

I am having the same issue trying to test it here: https://sendgrid.com/docs/api-reference/

Facing the same issue

sounds like messy, no solution?

sounds like messy, no solution?
replace getenv('SENDGRID_API_KEY') from this line $sendgrid = new \SendGrid(getenv('SENDGRID_API_KEY')); with your API key and it should work.

Thanks
replacing getenv function resolved for me but I am getting 202 in return but no email activity has been logged and not event I got any email

post code mhamzas that you are using leave out passwords etc..

remove getenv -
$sendgrid = new \SendGrid('SENDGRID_API_KEY');

sounds like messy, no solution?
replace getenv('SENDGRID_API_KEY') from this line $sendgrid = new \SendGrid(getenv('SENDGRID_API_KEY')); with your API key and it should work.

Thanks
replacing getenv function resolved for me but I am getting 202 in return but no email activity has been logged and not event I got any email

Errors List
As per the above link, it is not really an error. I followed the steps and got the same code. But email was sent almost immediately but it took few minutes for an activity entry to show up in my account.

But the key value will be exposed particularly when you want to deploy on heroku using gibhub. Is there a way to send emails using getenv('SENDGRID_API_KEY')? Please I desperately need an answer ASAP.

Loading the API key from an env var just one way of loading it. If you're having issues loading from the env var, check your environment details for how to properly configure env vars. For heroku for instance: https://devcenter.heroku.com/articles/config-vars

sounds like messy, no solution?
replace getenv('SENDGRID_API_KEY') from this line $sendgrid = new \SendGrid(getenv('SENDGRID_API_KEY')); with your API key and it should work.

+1 this worked for me, thanks!

gettiing this issue when using the curl example

Ensure to include the Bearer prefix to the Authorization header:
https://docs.sendgrid.com/for-developers/sending-email/curl-examples
curl --request POST \
  --url https://api.sendgrid.com/v3/mail/send \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{"personalizations": [{"to": [{"email": "recipient@example.com"}]}],"from": {"email": "sendeexampexample@example.com"},"subject": "Hello, World!","content": [{"type": "text/plain", "value": "Heya!"}]}'


cpu_adam cuda is missing or is incompatible with installed torch[Question]

Question
When I replaced zero3.json with zero3_offload.json for finetuning, I receive this error:
"cpu_adam cuda is missing or is incompatible with installed torch"
My CUDA version is 12.2 and torch version is 2.0.1 (+cu117)
May I ask any solutions?

Question
When I replaced zero3.json with zero3_offload.json for finetuning, I receive this error:
"cpu_adam cuda is missing or is incompatible with installed torch"
My CUDA version is 12.2 and torch version is 2.0.1 (+cu117)
May I ask any solutions?

I met the same issue, have you solved it ? Thank you.


[ja] Translate content/en/docs/concepts/scheduling-eviction/_index.md into Japanese

close #44970
Change List

Translate content/ja/docs/concepts/scheduling-eviction/_index.md into Japanese

/assign @nasa9084

/approve

ping @atoato88

/label tide/merge-method-squash


Rename the gl_read_buffer feature to gl_buffer_operations

OpenGL allows you to do the following operations on buffers: reading, writing, mapping, copying (between buffers), clearing (filling with a value), invalidating.
However:

OpenGL 1.5 (or GL_ARB_vertex_buffer_object) only supports reading, writing and mapping.
OpenGL ES 2.0 only supports writing.
OpenGL ES 3.0 only supports writing, mapping and copying.

Glium should be able to emulate the reading, clearing and copying operations by using the mapping or writing operations. The invalidating operation is purely an optimisation and can be a no-op if not supported.
The writing operation is supported everywhere, but OpenGL ES 2 doesn't support buffers mapping. The OES_mapbuffer extension is supported by only 32% of the devices according to this site.
Therefore there are two possibilities: either the backend only supports writing, or it supports every operations (reading, writing, copying, clearing, mapping, invalidating).
The gl_buffer_operations feature name is thus more appropriate.

Actuall GL_OES_mapbuffer only supports writing and not reading.
OpenGL ES 3.0 supports mapping for reading.
This needs some rethinking.

No longer relevant with the removal of Cargo features.


Slider's Thumb.DragStarted and Thumb.DragCompleted aren't working

I have this XAML:
        <Slider DockPanel.Dock="Right"
                Orientation="Horizontal"
                Value="{Binding PlaybackSliderValue}"
                Thumb.DragStarted="OnPlaybackSliderDragStarted"
                Thumb.DragCompleted="OnPlaybackSliderDragCompleted"
                Minimum="0"
                Maximum="1000000"/>

I see in the Avalonia repo that DragStarted and DragCompleted are in Thumb, but when I tried to attach my handlers to them, I was treated with this at the dotnet run level:
/home/ben/Projects/AvaloniaSamples/BassoonJukebox/Views/JukeboxView.xaml(68,10,68,10): Avalonia error XAMLIL: Unable to resolve suitable regular or attached property DragStarted on type Avalonia.Controls:Avalonia.Controls.Primitives.Thumb (line 68 position 10) Line 68, position 10. [/home/ben/Projects/AvaloniaSamples/BassoonJukebox/BassoonJukebox.csproj]

The build failed. Fix the build errors and run again.

If I wanted to implement support for this myself and then submit the PR, what would I need to do?

If you want to override the properties of slider, it's best if you just make a new control with Slider as base class... but if you need some kind of slider for a media player, take a look at this code: https://github.com/jmacato/Synfonia/blob/master/Synfonia.Gui/Controls/SeekSlider.cs

I'm moreso trying to make some simple demo apps for Avalonia right now.  (Mainly as a way to learn the API).  I'm trying to port over a tiny audio player app I made in GtkSharp.  The slider was used to show where playback was for the user, but also they could click on the thumb and drag to to change the location in the music.

I had the same problem. This bug seems to be still unresolved in the latest version (0.10.17). Is there any other solution to this problem now? Many thanks.

Routed attached events are not supported in the XAML,
duplicate of https://github.com/AvaloniaUI/Avalonia/issues/4009

@xiaokun you can do it from the code behind


Write final report on validation criteria testing results.

This corresponds to Priviledge, deliverable D1.3 Use Case Validation (M36, SCCEIV). This document will describe in detail the validation of each use case with respect to the criteria set in D1.2. (T1.3).
It corresponds to the results of tasks

Done. See c8cd6e877b8842b27166f8afeebd4eca29e54fe1 in https://github.com/guardtime/priviledge-wp1


BG tile addressing mode constant name change request

Having both LCDCF_BG8800/LCDCF_BG8000 and LCDCF_BG9800/LCDCF_BG9C00 have BG in the name can be a little confusing.
LCDCF_BG8800 being named after the first tile in address order instead of the first tile in index order seems a little counterintuitive, wouldn't it be better if LCDCF_BG8000/LCDCF_BG8800 got renamed to LCDCF_TILE8000/LCDCF_TILE9000?

I agree that the similar naming is confusing, and also that 9000 is a better "base address". (Those are two separate things, imo.)
My only nitpick is that renaming the BG part to TILE loses the fact that this change only affects BG/WIN tiles, and not OBJ (OTOH, the current name fails to convey that WIN is affected by that bit, so it's not strictly a loss.) I can't come up with a better alternative, though.
(I reformatted your message for readability, hope you won't mind.)

In the header that I had used before I switched to hardware.inc, I had named them something like LCDCF_CHR21 and LCDCF_CHR01, based on a conception of $8000-$97FF as three "banks" (NES term) or "character base blocks" (GBA term), each 2 KiB (128 characters) in size. Then I had _CHRRAM0 = $8000, _CHRRAM1 = $8800, and _CHRRAM2 = $9000. Under this terminology, sprites use blocks 0 and 1 always, and the background and window can either use either blocks 0 and 1 or blocks 2 and 1.
Or would that only confuse things for people who have never worked with NES-style video memory bank switching?

Yeah, the term "CHR" is very much absent in the GB dev scene. (It has a few remnants here and there, but it tends not to be used in much documentation or code.) I considered suggesting it, but given that, I chose not to.
TILE01 and TILE21 may work, though. Pan Docs does mention "tile blocks", after all. Maybe BLK01 and BLK21 would convey this better?

If you're going with the 01/21 approach, the original BG would work just fine

Except that it fails to convey that the window is also affected.

What about rBGP then?

Fair enough, but I think that e.g. BLK01 conveys better what the two digits are.


Rust-native audio transcoding

Closes #38.
Regrettably, there are no pure-Rust ogg Vorbis encoding crates right now. However, I've added the next best thing: vorbis_rs. It has active maintainers and uses the latest ogg libraries. The other Rust ogg libraries are unmaintained and use older versions of libogg and libvorbis with known security vulnerabilities.
I also caught an issue where sound graph files were using the string literal "SOUND_GRAPH_EXTENSION" instead of the constant value SOUND_GRAPH_EXTENSION, so I've patched that.
Also, I haven't implemented the copying of tags from the input file to the output file. The reason is that vorbis_rs expects tag values to be strings but symphonia tag values can be lots of different types. I'm not sure what to do about this, so I've left tags empty in the output file for now.

Just played with the physics examples using a wav file and got this error:
[2023-04-17T07:13:58Z INFO  symphonia_core::probe] found the format marker [52, 49, 46, 46] @ 0+2 bytes.
[2023-04-17T07:13:58Z ERROR ambient_build] In pipeline pipeline.json/1, at file ping.wav

    Caused by:
        0: Failed to create audio decoder
        1: unsupported feature: core (codec):unsupported codec

Hi,
It looks that Symphonia still has some work to do. So we have to wait or switch to other solutions.

For extra featues, probably not. But I do have minimp3 and hound working on my Mac while for symphonia, I cannot run its official examples. Have you tried to run the symphonia examples?

Yeah, I've ran symphonia-play from the latest master branch and it works fine on every audio file I've given it so far. For extra context I'm on Artix Linux. Do you know what's keeping you from running the examples?

I made a mistake with the channel count; counting the bits WAS the correct way to do that, but I confused the .bits() function (which returns the numeric bitfield) with the .count() function (which actually counts the bits).
After enabling the pcm Symphonia feature and counting the bits correctly, the stereo audio files I've tested now get converted to ogg with no issue.

I made a mistake with the channel count; counting the bits WAS the correct way to do that, but I confused the .bits() function (which returns the numeric bitfield) with the .count() function (which actually counts the bits).
After enabling the pcm Symphonia feature and counting the bits correctly, the stereo .wav files I've tested now get converted to ogg with no issue.

Cool, I will test this ASAP

Sounds good to me - the log hiding is done at the top-level here:
https://github.com/AmbientRun/Ambient/blob/40eb6eb6449f48e2b2c10b7c74fdb788f260958f/app/src/main.rs#L28-L40
We can just add a commit to this PR to do that, and merge (Marceline won't be online until later) - are you OK to do that?


twoFactorCode

Will i able to push generated twoFactorCode to logOnOptions obj like:
logOnOptions{
"accountName" : login,
"password" : pass,
"twoFactorCode" : code
}
?

https://github.com/seishun/node-steam/wiki/Protobufs#cmsgclientlogon

i am wondering if has the same name as twoFactorCode. Is it?

It's all described here. So it's two_factor_code, same as the field name.

But logOnOptions is different obj for your module. For e.x. account_name is accountName in obj. And i need to know the same thing for two_factor_code.

For e.x. account_name is accountName in obj.

This is no longer the case since v1.0.0.

thank you so much!

how can i get shared_secret ?

@tambu22 "shared_secret" isn't part of node-steam's API, please discuss it elsewhere.

but other libs (node-steamcommunity) get a method to get it. :(


flash-start-address put into sector start address

If I start a new project with
cargo generate gh:probe-rs/flash-algorithm-template  --name=algotest \
-d target-arch=thumbv7em-none-eabihf \
-d ram-start-address=0x20000000 \
-d ram-size=0x20000 \
-d flash-size=0x8000000 \
-d flash-page-size=0x100 \
-d flash-sector-size=0x10000 \
-d empty-byte-value=0xff

I see whatever I enter into flash-start-address ends up as the first (and only) sector start address in main.rs in line 18: sectors: [{address: ### }], which is wrong, because this is asserted to be zero here, as I learned here: https://github.com/probe-rs/flash-algorithm-template/issues/12#issuecomment-2457104668.
In my opinion, the flash-start-address is supposed to only end up in template.yaml in line 20 Nvm/range/start and in main.rs in line 12: flash_address.

I don't believe this is incorrect.
I believe the assert is incorrect. It is ARM specific. Flash sectors can be mapped to any address space.

@9names, could you look at it again?
It was your comment where I learned it from. #12
My opinion: this is not the address where the flash gets mapped to, it's the start address of it's own memory area, and I can't really imagine, that this doesn't start at 0x0 inside any chip. And even if, it wouldn't necessarily start at the same address as where if gets mapped to inside the MCU.
But little do I know....

@Yatekii if you look at the example ,,,,here, you can see a flash algo targetting flash at 0x40000. You can see that the first set of sectors start at 0x0.
The assert would accept this algorithm.
If we consider this example to be correct, then the template is wrong and target-gen's assert is correct.

But why would the sector point to 0 if the flash is not there? I feel like that might just be an assumption rather than anything else.

But why would the sector point to 0 if the flash is not there?

It's not really saying address zero though. It's algo base address (0x40000) + offset (0x0).
Yes, I agree that is strange when the algos themselves all take absolute physical addresses.

I feel like that might just be an assumption rather than anything else

Yes, I am making an assumption that the reference example implementation was written this way specifically to convey this information. The choice of 0x40000 for the algo flash address is odd enough for me to consider it contrived.
We could look at what mcu vendors have done when they encountered this issue if we want to confirm what the de-facto standard is here.

Ah, sorry, I meant that the flash algo example makes the assumption that flash is always at 0.
Let's investigate :)

if you look at the example here, you can see a flash algo targetting flash at 0x40000.

@9names, did You mix up a line here? I see the device start address 0x00000000. So, this example doesn't proof anything in our discussion here, since we can't see in the example, whether the sector start adress is absolute or relative.
Still, I'm totally sure, as You are, it is relative.
I think, some of the misunderstanding also has something to do with this:
The Open-CMSIS spec has nothing to do with memory-mapping or any MCU-internal adress space. It's purely specifying functions to write, erase, verify data from external flash. Whether this happens by some low-level SPI commands, or some MCU-internal diver with memory mapping, doesn't matter, this interface spec is supposed to be agnostic of that. That's why You'll find nothing there about MCU-internally mapped memory addresses and I think in the example, even the Device Start Address is inside the external flash's address space.
(As a matter of fact, this being-agnostic is what probe-rs breaks with it's own verify function, ignoring the Open-CMSIS-specified, user-written one, see here: https://github.com/probe-rs/probe-rs/issues/2617)

One thing I found that supports our thesis:
a flash algo by @huming2207, also setting the sector address to 0x0, while the flash address ist 0x08000000, see https://github.com/huming2207/stm32wle5-flash-algo/blob/master/src/main.rs

did You mix up a line here? I see the device start address 0x00000000.

No,  I was viewing that example on mobile and the comments are displayed on the next line instead of inline. Oops.


Add support for Laravel 6

Description
Add support for Laravel 6.
Motivation and context
Laravel 6 is an LTS release. Several other packages in our ecosystem require >=6, so in order to continue using this package, we needed to add support Laravel 6.
How has this been tested?
I've manually tested that this works for both Laravel 5.8 and 6. I was originally nervous about passing in an extra argument to the worker's constructor, but it turns out, PHP lets you pass additional arguments to the constructor, even if it doesn't explicitly accept them. I guess that's PHP for ya.
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

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

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My pull request addresses exactly one patch/feature.
[x] I have created a branch for this patch/feature.
[x] Each individual commit in the pull request is meaningful.
[x] I have added tests to cover my changes.
[x] If my change requires a change to the documentation, I have updated it accordingly.

I didn't add tests, because there's nothing really to add, but I manually tested it.

@deboorn Could you create a new release so that packagist picks up the changes in this PR? We're still using my fork of your repo because packagist hasn't been updated.

@dbhynds I just made a new release, so Packagist should update shortly. https://github.com/deboorn/expbackoffworker/releases/tag/v2.2

Sorry for the late reply. Currently traveling with family. @dbhynds
https://github.com/dbhynds - I've added you to the project.
On Mon, Aug 17, 2020 at 11:57 PM Eric Tendian<EMAIL_ADDRESS>wrote:

@dbhynds https://github.com/dbhynds I just made a new release, so
Packagist should update shortly.
https://github.com/deboorn/expbackoffworker/releases/tag/v2.2
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/deboorn/expbackoffworker/pull/5#issuecomment-675234524,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKWH32W4NXKUYOQWD5MGCTSBH3Y5ANCNFSM4NYQLDJQ
.

--
Rapid Digital LLC
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended recipient
you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly
prohibited.


com.marianhello.bgloc.LocationService$PostLocationTask.add (LocationService.java:549)

Your Environment

Plugin version: 0.5.0-alpha.35
Platform: Android
OS version: 7.1.2
Device manufacturer and model: Xiaomi Redmi 5
React Native version: 0.56.0
Plugin configuration options:
desiredAccuracy: BackgroundGeolocation.HIGH_ACCURACY,
stationaryRadius: 30,
distanceFilter: 30,
debug: false,
startOnBoot: false,
stopOnTerminate: true,
locationProvider: BackgroundGeolocation.ACTIVITY_PROVIDER,
interval: 60000,
fastestInterval: FASTEST_INTERVAL,
activitiesInterval: 30000,
stopOnStillActivity: false,

Context
Reported by Crashlytics on a live version.
Debug logs
Fatal Exception: java.util.concurrent.RejectedExecutionException
Task com.marianhello.bgloc.LocationService$PostLocationTask$1@21f3611 rejected from java.util.concurrent.ThreadPoolExecutor@be96376[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 188]

I am experiencing the same problem on a Huawei Mate SE running Android 8.0. The app sends 2-3 locations, then I get this message every 10 seconds in adb logcat.
All 3 providers give the same result. I'm using medium accuracy. My updates are sent roughly every 2-3 minutes (depending on the filter).
The server response time isn't a problem (the whole HTTP request takes about 80ms).
I'm not using the "location" event, only the url parameter.
Once in a blue moon (once every 20-30 tests roughly), it'll work for a few hours.
Everything works fine on iOS.

@mauron85 Version 3.0.0-alpha.49

Sorry for the cross-project comment. I've been a bit desperate about this issue! I've been doing more testing on this (4h today, for a total of 40h+ in the past two weeks), and I think I'm starting to see a pattern. Anyhow, I'll open an issue on the right project and document it properly, and reference it here.


Added two new modes to the polyfill

Added modes that allow the polyfill to continue working even when the
native API is present. Dev’s can choose “NO_NATIVE_API” for the
existing behavior (this is the default), “NO_NATIVE_DISPLAY” to have
the polyfill kick in when the native API is present but doesn’t provide
a display, and “ALWAYS” to always have a polyfilled VRDisplay appended
to the returned list.

Fixes #177

Okay, feedback addressed. Setting has been simplified to a boolean: ALWAYS_APPEND_POLYFILL_DISPLAY. When false the polyfill will provide a VRDisplay if the native API is either not present or present but returns no displays. When true a polyfilled display will always be appended to the returned list of VRDisplays, even when it contains a native display.


Structured agent memory support

This provides Memory support for StructuredChatAgent similar to ChatConversationalAgent.
There's only one gotcha so far.
The prompt of this agent tries really hard to force the chat model to respond in the {action, action_input} format.
Most of the prompt is dedicated to that. However, when we add memory to it, the memory seems to pollute the prompt and after a couple of back and forth messages, the language model (chatgpt 3.5 in this case) seems to forget that it must respond in the json format.
This is, however, automatically recovered by the error correction mechanism built in to the agent, so it ends up working fine.
I wonder if:

The same behavior exists on Python version (It doesn't appear they do anything differently so in theory they should be the same but I haven't tried it in practice)
How the prompts can be improved to avoid this.

This commit essentially removes the gotcha and makes it very very consistently use the provided format.

Will leave this open for now as maybe it'll fit in well as a completely separate agent :)


I have reached printf("hello world!")! Wait me to update this!😭

Who can tell me what level I need to reach to update this or what I need to learn next？

With a cynical attitude, there's not much you can learn here

When you update, this game is gone

lol hahaha

代码构成大部分是C++，你这是C的语法  ;-)

不是
std::cout << "Hello World" << endl;
??????


Implement a cache interface

Spin applications should have a default cache available at runtime, ideally following https://github.com/fermyon/wasi-experimental-toolkit.

Closing in favor of a key/value storage interface.
I thought we would see separate use cases that would suggest we needed this, but I think the object storage and key/value interfaces solve this particular need quite well.


Strange validation error: [type=bool_type, input_value=True, input_type=Bool]

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
I hope that this is the right location for raising my question.
I have an application where I read a toml config file, which results in a dictionary that is used to instantiate nested Pydantic dataclasses.
When the toml file has this line: set_debug = true, I get this validation error:
pydantic_core._pydantic_core.ValidationError: 1 validation error for MyRESTApiConfig fastapi_config.app_config.set_debug   Input should be a valid boolean [type=bool_type, input_value=True, input_type=Bool]
When the toml file has this line: set_debug = "true" or set_debug = 1, there is no problem.
Unfortunately, when I try to isolate a minimal, reproducible example, the problem also goes away.
What is happening and what can I do to diagnose the cause of the problem?
Example Code
No response
Python, Pydantic & OS Version
pydantic version: 2.10.1
        pydantic-core version: 2.27.1
          pydantic-core build: profile=release pgo=false
                 install path: in my virtual env
               python version: 3.12.7 (tags/v3.12.7:0b05ead, Oct  1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)]
                     platform: Windows-10-10.0.19045-SP0
             related packages: fastapi-0.115.5 mypy-1.13.0 typing_extensions-4.12.2
                       commit: unknown

which results in a dictionary

Can you show the resulting dictionary? Could you provide the definition of the Pydantic dataclass you are using?

The resulting dictionary:
{'fastapi_config': {'app_config': {'set_debug': True, 'title': 'FastAPI demo REST API', 'openapi_url': '/openapi.json', 'api_version': '/api/v1', 'enviroment': 'development'}, 'uvicorn': {'host': '<IP_ADDRESS>', 'port': 6543, 'log_level': 'debug', 'reload':  False}}}
Pydantic dataclasses:
@attributes_doc
@dataclass(frozen=True)
class FastAPIAppConfigSection(ConfigSectionBase):
    """Config section for a FastAPI server"""

    set_debug: bool = False
    """Whether or not to run the app in debug mode; defaults to False"""

    title: str = "FastAPI Webapp"
    """The title of the FastAPI app; defaults to 'FastAPI Webapp'"""

    openapi_url: str = "/openapi.json"
    """The URL path where OpenAPI JSON will be available; defaults to '/openapi.json'"""

    api_version: str = "/api/v1"
    """The URL path prefix for API versioning; defaults to '/api/v1'"""

    environment: str = "development"
    """The environment in which the app is running, either 'development', 'staging' or 'production'; defaults to 'development'"""

@attributes_doc
@dataclass(frozen=True)
class UvicornConfigSection(ConfigSectionBase):
    """Config section for uvicorn."""

    host: str = "<IP_ADDRESS>"
    """IP where the server will be hosted on."""

    port: int = 6543
    """Port wehre the server will be hosted on."""

    log_level: str = "debug"
    """Level of logging for uvicorn."""

    reload: bool = False
    """If the server should automaticallly reload. Should be FALSE for production."""

@attributes_doc
@dataclass(frozen=True)
class WebAppConfig(ConfigSectionBase):
    """Main config section for the webapp"""

    secure_headers: SecureHeadersConfigSection = SecureHeadersConfigSection()
    app_config: FastAPIAppConfigSection = FastAPIAppConfigSection()
    cert_config: CertificateConfigSection = CertificateConfigSection()
    uvicorn: UvicornConfigSection = UvicornConfigSection()

I did not include the SecureHeadersConfigSection or the CertificateConfigSection, they are not in the toml file.
The base classes are from this open source package: https://github.com/StockwatchDev/application_settings

The Pydantic error message it shows that input_value=True, so this leads me to conclude that there is nothing wrong with the dictionary. It also shows type=bool_type and input_type=Bool; the latter appears to be the problem. But I cannot find where that comes from.


Implement a community governance structure

Alright everyone, one of the final bits I've been putting off but now it's time to get ready for the big show. THIS IS UNFINISHED. And as you can see, busted links, etc. But it's getting late and I'd rather move fast.

https://github.com/ublue-os/website/pull/317

This adds a few things. Membership levels with some defined roles and responsibilities. This is basically the Kubernetes governance but stripped down a ton for us.
Having contributed to that governance I found it difficult to make something that defines well run open source projects but stripped down enough to not be so much work 😄 . So here it is, as always, comments and improvements welcome, and then everyone who has rights in the repo will slot into Approvers and then we'll see where everyone else lies.
And then we'll have a clear path.

Oh, should have made this more obvious, right now the org admins in main are @akdev1l @bigpod98 @bsherman @EyeCantCU @joshua-stone @KyleGospo @p5 @marcoceppi and @castrojo
And then we'd structure the teams in github that way, which won't apply until the end of the month because I downgraded us to the free tier to get us out of this mess in the first place lol.

This is looking pretty good!


Automate Releases

We can probably automate the bundling as a Github Release and save people the trouble of generating their own zip.

As a first step, it might be nice to just upload cloudping.zip manually as a release here (and point to it in the docs). If I understand correctly, automating the process would require using the Github Releases API to push a new zipfile. Here's the zipfile for convenience:
cloudping.zip


Wrap files in UMD modules

It would be much easier to use this with requirejs/browserify if we wrapped the 3 picker files (picker.js, picker.date.js and picker.time.js) in UMD modules (see http://github.com/umdjs/umd). I am going to try to implement this using the grunt-umd plugin for my own use, would you be willing to accept a PR with such a feature?

What about translations?)

What about translations?

Any updates on this?

Opening this until that’s done

We should handle this with webpack then.


Update to javaslang 2.0.4

Hi, do you think you could release a new version with Javaslang 2.0.4?

Done, 0.10.1 should be available on jcenter soon.


Authentication for Docker Hub private registry without credential helpers

Following up here on a question about authentication for a private repo hosted at docker hub that I posted on Slack.
For some context, credentials are stored in ~/.docker/config.json in the auth field (this is actually base64(username:password)) eg:
{
    "auths": {
        "https://index.docker.io/v1/": {
            "auth": "abcdef=",
            "email"<EMAIL_ADDRESS>        }
    },
    "HttpHeaders": {
        "User-Agent": "Docker-Client/18.03.1-ce (darwin)"
    }
}

We supply image names such acme/microservice:0.1 to testcontainers. There are also public images from Docker Hub (redis, postgres etc) and implicitly from quay.io (ryuk). Now, looking at the following code:
https://github.com/testcontainers/testcontainers-java/blob/master/core/src/main/java/org/testcontainers/utility/RegistryAuthLocator.java#L80
reposName ends up being "" (empty) and it falls back to defaultAuthConfig which I believe is controlled by ~/.docker-java.properties (ala docker-java project), which does not exist and hence it fails trying to download the image:
2018-08-05 14:22:22,061 ERROR [testcontainers-netty-1-13] c.g.d.c.a.ResultCallbackTemplate: Error during callback
com.github.dockerjava.api.exception.NotFoundException: {"message":"pull access denied for acme/microservice, repository does not exist or may require 'docker login'"}

	at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:103)
	at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:33)
	at org.testcontainers.shaded.io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)

In contrast, the default behaviour of docker pull in the absence of a registry host, is to pull from docker hub and as such matches the URL https://index.docker.io/v1/ in ~/.docker/config.json - this does not appear to be the default behaviour of testcontainers.
I would like to see testcontainers choosing the auth from ~/.docker/config.json in the https://index.docker.io/v1/ stanza within findExistingAuthConfig(config, ""). To pursue this behaviour I put together this PR: https://github.com/testcontainers/testcontainers-java/pull/819 - I ran into a number of dead ends:

Just replacing the reposName with index.docker.io in case it's empty does not work, docker-java explicitly checks for that hostname and errors out (why???? it's completely valid using the docker command line docker pull index.docker.io/acme/microservice:0.1)
Modifying the auth lookup to find the stanza for index.docker.io in config.json (as in this PR: https://github.com/testcontainers/testcontainers-java/pull/819) does not work either, from what I can tell, docker-java does not decompose the auth field (into username/password) before creating the JSON authentication header as per https://docs.docker.com/engine/api/v1.37/#section/Authentication so credentials are not being sent properly:

2018-08-05 14:33:08,776 INFO  [pool-6-thread-3] ?.0.112]: effective auth config [AuthConfig[username=<null>,password=<null>,email=<null>,registryAddress=https://index.docker.io/v1/,auth=abcdef=,registrytoken=<null>]]
2018-08-05 14:33:09,917 ERROR [testcontainers-netty-1-15] c.g.d.c.a.ResultCallbackTemplate: Error during callback
com.github.dockerjava.api.exception.NotFoundException: {"message":"pull access denied for acme/microservice, repository does not exist or may require 'docker login'"}

	at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:103)
	at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:33)

The problems with using docker-java.properties are:

Only supports a single registry URL, it seems these credentials are aimed at pushing to a single private registry (not really for pulling from multiple (private) registries)
If credentials are set here, testcontainers fails to pull ryuk:0.2.2 from quay.io - I have not confirmed but I wonder if it's trying to the use the credentials configured in docker-java.properties (for index.docker.io) for quay.io - a bug?

2018-08-05 14:43:34,343 ERROR [testcontainers-netty-1-5] c.g.d.c.a.ResultCallbackTemplate: Error during callback
com.github.dockerjava.api.exception.InternalServerErrorException: {"message":"Get https://quay.io/v2/testcontainers/ryuk/manifests/0.2.2: unauthorized: Invalid Username or Password"}

	at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:109)
	at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:33)
	at org.testcontainers.shaded.io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)

The most confusing thing - why has nobody else reported this? Am I just doing something horribly wrong? :)

I think that #813 and #790 are related to this ticket, but thanks for the detailed write-up. I'll have a think about this.

Also from ffissore in #836:

I'm using testcontainers 1.8.3. I have a test db image on a private repo on AWS ECR.
When I run my tests with
eval $(aws ecr get-login --no-include-email); mvn clean test
testcontainers is unable to pull the image.
Error message is
com.github.dockerjava.api.exception.InternalServerErrorException: {"message":"Get https://REPOID.dkr.ecr.eu-west-1.amazonaws.com/v2/IMAGENAME/manifests/IMAGETAG: no basic auth credentials"}
My .docker/config.json is
{
"auths": {
"REPOID.dkr.ecr.eu-west-1.amazonaws.com": {
"auth": "AUTH"
},
"https://index.docker.io/v1/": {
"auth": "AUTH"
}
},
"HttpHeaders": {
"User-Agent": "Docker-Client/18.06.0-ce (linux)"
}
}
Attached a snippet of the logs log.txt

And from @kiptix in #835:

It works with version 1.8.0, but with 1.8.1 i got the following exception:
Caused by: com.github.dockerjava.api.exception.DockerClientException: Could not pull image: unauthorized: authentication required
OS is Linux.
Docker version 17.05.0-ce, build 89658be
~/.docker/config.json (with replaced url and token):
{
"auths": {
"registry.url": {
"auth": "token"
}
}
}

@nefilim thanks for the draft PR - it's been a good basis for trying to figure this out while on a long plane journey :) I have some additions worked out.
This is still WIP, but tackles the two underlying issues that you and others have encountered:

basic auth credentials not being parsed out of the config.json file (for all private repos)

registry auth for index.docker.io being rejected. To resolve this I've overridden the effectiveAuthConfig method of DockerClientConfig for now, to try and come up with a solution that doesn't require changing docker-java (yet).

In the long term, this requires a fair amount of modification to docker-java to do it cleanly, but for now we can basically layer this on top and refactor later.

FWIW, I can confirm that I'm experiencing the same problem as @nefilim.

Oh, I can now appreciate the problem. Nice solution. I've been trying it out on my workstation (macOS) as on a CI server.  Both are working correctly...
macOS:
DEBUG o.t.utility.RegistryAuthLocator - Looking up auth config for image: foo/stubservice:latest
DEBUG o.t.utility.RegistryAuthLocator - RegistryAuthLocator has configFile: /Users/myuser/.docker/config.json (exists) and commandPathPrefix:
DEBUG o.t.utility.RegistryAuthLocator - registryName [index.docker.io] for dockerImageName [foo/stubservice:latest]
DEBUG o.t.utility.RegistryAuthLocator - Executing docker credential helper: docker-credential-osxkeychain to locate auth config for: index.docker.io
DEBUG o.t.s.o.z.exec.ProcessExecutor - Executing [docker-credential-osxkeychain, get].
DEBUG o.t.s.o.z.exec.ProcessExecutor - Started java.lang.UNIXProcess@398dada8
DEBUG o.t.s.o.z.exec.WaitForProcess - java.lang.UNIXProcess@398dada8 stopped with exit code 0
DEBUG o.t.utility.RegistryAuthLocator - Credential helper provided auth config for: index.docker.io
DEBUG o.t.utility.RegistryAuthLocator - found creds store auth config [AuthConfig{username=mydockerhub, password=hidden non-blank value, auth=blank, email=null, registryAddress=index.docker.io, registryToken=blank}]

Centos:
DEBUG o.t.utility.RegistryAuthLocator - Looking up auth config for image: foo/stubservice:latest
DEBUG o.t.utility.RegistryAuthLocator - RegistryAuthLocator has configFile<EMAIL_ADDRESS>(exists) and commandPathPrefix:
DEBUG o.t.utility.RegistryAuthLocator - registryName [index.docker.io] for dockerImageName [foo/stubservice:latest]
DEBUG o.t.utility.RegistryAuthLocator - found existing auth config [AuthConfig{username=jenkins, password=hidden non-blank value, auth=hidden non-blank value, email=null, registryAddress=https://index.docker.io/v1/, registryToken=blank}]
DEBUG o.t.d.a.AuthDelegatingDockerClientConfig - effective auth config [AuthConfig{username=jenkins, password=hidden non-blank value, auth=hidden non-blank value, email=null, registryAddress=https://index.docker.io/v1/, registryToken=blank}]

Also, also thanks for avoiding the repository credentials in the logs.  I was going to ask about that.  This project is really looking great.

Thanks @reardonm, it's useful to get feedback that this is working for you.

The fix works for me, too

Thanks so much @rnorth - looking good here too.
Sorry for the delay, was travelling and had some technical issues. Don't know gradle at all (use SBT) - not very trivial/clear to try and get it to publish to a local ivy repo, took some time to find a workaround :)

Thanks so much @rnorth - looking good here too.
Sorry for the delay, was travelling and had some technical issues. Don't know gradle at all (use SBT) - not very trivial/clear to try and get it to publish to a local ivy repo, took some time to find a workaround :)


How to use stream to return a message even instead of waiting until everything has been processed

How to use stream to return a message even instead of waiting until everything has been processed

hey @pslxx , there are dedicated method in the ChatInterface like generateStreamOfText.
Does it help you?

Also just to mention it you would have to use Javascript to display streamed text like chatgpt.

@MaximeThoonsen the generateStreamOfText function use guzzle request (not async request), so theoretically the method waits for the whole response from the ollama api.
Is there any way to read streamed stream from ollama response directly ?

+1 Looking to iterate through each stream chunk but stream methods return StreamInterface that doesn't allow this (https://github.com/theodo-group/LLPhant/issues/78#issuecomment-1939347314)

If anyone finds this helpful:
        $streamToIterator = function (StreamInterface $stream): Generator {
            while (!$stream->eof()) {
                yield $stream->read(32); // Adjust the chunk size as needed
            }
        };
        $iteratorStream = $streamToIterator($stream);

        foreach ($iteratorStream as $chunk) {
            // chunks are not token based anymore!
        }

hello @ezimuel, how are you?
It seems there is a lot of questions around streaming. Can we still do streaming with StreamInterface and LLPhant?

Yes, this returns an iterateable stream I can use the same as I used the stream from the OpenAI library. One caveat is that this stream's chunks are not tokens but strings of size 32 bytes. I'm then broadcasting these chunks over the WebSocket to my chat clients.

Yes, this returns an iterateable stream I can use the same as I used the stream from the OpenAI library. One caveat is that this stream's chunks are not tokens but strings of size 32 bytes. I'm then broadcasting these chunks over the WebSocket to my chat clients.

@iztok I see how that is a caveat. Does that make any difference in your use case or does it seriously impact the end-user experience?
I am trying to understand the pitfalls I might run into while trying to implement something similar.

with ollama, $stream->read(32) waits on the whole response completed before returning the "chunk"

Thanks for the hints. However, I must be doing something wrong. This does not work for me and I get all the answer at once.
       $qa = new QuestionAnswering(
           $redisVectorStore,
           $embeddingGenerator,
           new OpenAIChat($config)
       );

        $stream = $qa->answerQuestionStream($request->input('q'));

        $streamToIterator = function (StreamInterface $stream): \Generator {
            while (!$stream->eof()) {
                yield $stream->read(32);
            }
        };
        $iteratorStream = $streamToIterator($stream);

        foreach ($iteratorStream as $chunk) {
            echo $chunk;
        }

Using OpenAI, partial reads work perfectly, though.
       $responseStream = OpenAI::chat()->createStreamed([
           'model' => 'gpt-3.5-turbo',
           'messages' => [
               ['role' => 'user', 'content' => $request->input('q')],
           ],
       ]);

       foreach ($responseStream as $delta) {
           // Stream the delta content back to the client
           echo $delta['choices'][0]['delta']['content'] ?? '';
           ob_flush();
           flush();
       }

       ob_flush();
       flush();

I'm not sure what else I can test to make answerQuestionStream work.

Solved. I needed ob_flush() and flush() after each chunk to force Laravel send the output.
        $streamToIterator = function (StreamInterface $stream): \Generator {
            while (!$stream->eof()) {
                yield $stream->read(32);
                ob_flush();
                flush();
            }
        };

        $iteratorStream = $streamToIterator($stream);

        foreach ($iteratorStream as $chunk) {
            echo $chunk;
        }


Remove Maybe from Environment entries #19

@stu204767 Due to some merges, there are new conflicts that need to be tackled!


Additional logic to cover non-standard label-to-username mappings

Based on user feedback about: https://retail.axisbank.co.in
The above form uses bad HTML semantics, so we're adding a case to try and associated username labels with subsequent input controls.

Feel free to open a PR upstream if this is generally useful.

Feel free to open a PR upstream if this is generally useful.

We've initiated some larger-scale refactors in the code-base generally that I believe makes it unfit to contribute upstream. I think we're better off keeping our fork separate & iterating progressively towards our specific use-case & need.

:rocket: PR was released in v0.4.4 :rocket:


[TASK] Add lagged parameter creation

Issue Description
Is your feature request related to a problem? Please describe.
There is no in RAVEN way to create lagged parameters in a HistorySet
Describe the solution you'd like
It would be useful if there was a PostProcessor that could take a variable in a HistorySet, and add some lagged parameters (like the previous hour, previous day etc).
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or task?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[x] 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

Checklist passed....
Closure checklist passed..
Closure approved via #1523


Teamspeak 3 doesn't work

server is online I'm connected to it
but gamedig says: server is offline
when i try to use global gamedig command
i get error: TCP Watchdog Timeout
ts3 server is on default port 9987 and its query port is 10011 what could be wrong ??

Hello @atheleron ,
I forgot to add this to the website but will add it to the FAQ soon.
Please make sure that the guest server group has the following permissions:
Virtual Server
-- b_virtualserver_info_view
-- b_virtualserver_channel_list
-- b_virtualserver_client_list
Group
-- b_virtualserver_servergroup_list
-- b_virtualserver_channelgroup_list
If you are still having problems please dont hesitate to respond to this thread
Regards
xCausxn

niceee i change permissions and now everything works :D thank you


Extract connection sensor to its own platform

Also create a device in the device registry populated with remote instance version and installation type.
One caveat here: I ran black on __init__.py by accident. That was something I was waiting for until a later PR. But since I was almost done and did not have the changes committed, there was no way back. Sorry about that...

Perfect, thanks.
"Only" setup_platforms, async_unload_entry, device_registry and remote_homeassistant/sensor.py  seems to have been actually changed, right?

@postlund - on a related note, as most of the code of this component was now actually written by you, would you be interested in becoming a maintainer of this project? :smile:


[Bug]: Eufy devices not reacting in HomeKit

What happened?
Eufy devices are not reacting anymore in HomeKit since a couple of days.
This line is in the protocol:
[11/11/2022, 8:15:46 AM] [EufySecurity-2.1.0] ERROR: Not connected can't continue!
I have not changed anything.
Is there anything I can do?
Device Type
Station (Supported)
Plugin Version
v2.0.x (Supported)
HomeBridge Version
v1.4.x (Supported)
NodeJS Version
v16 (Supported)
Operating System
Raspbian 10+ (Supported)
Relevant log output
[11/11/2022, 8:15:46 AM] [EufySecurity-2.1.0] ERROR: Not connected can't continue!

config
{
            "platform": "EufySecurity",
            "username"<EMAIL_ADDRESS>            "password": "**************",
            "country": "DE",
            "ignoreStations": [],
            "ignoreDevices": [
                "T8113N****",
                "T8113N****",
                "T8113N****",
                "T8960P****",
                "T8113N****"
            ],
            "pollingIntervalMinutes": 5,
            "hkHome": 1,
            "hkAway": 0,
            "hkNight": 3,
            "hkOff": 63,
            "enableDetailedLogging": false,
            "CameraMaxLivestreamDuration": 30,
            "cleanCache": true,
            "cameras": [
                {
                    "serialNumber": "T8112H****",
                    "enableCamera": true,
                    "enableButton": true,
                    "motionButton": true,
                    "rtsp": true,
                    "unbridge": false,
                    "forcerefreshsnap": false,
                    "useCachedLocalLivestream": true,
                    "videoConfig": {
                        "audio": true
                    }
                },
                {
                    "serialNumber": "T8112H****",
                    "enableCamera": true,
                    "enableButton": true,
                    "motionButton": true,
                    "rtsp": true,
                    "unbridge": false,
                    "forcerefreshsnap": true,
                    "useCachedLocalLivestream": true,
                    "videoConfig": {
                        "audio": true
                    }
                },
                {
                    "serialNumber": "T8112H****",
                    "enableCamera": true,
                    "enableButton": true,
                    "motionButton": true,
                    "rtsp": true,
                    "unbridge": false,
                    "forcerefreshsnap": true,
                    "useCachedLocalLivestream": true,
                    "videoConfig": {
                        "audio": true
                    }
                }
            ]
        },

Yes

same as #201

Thanks. So, from what I understand, there is no solution yet? We have to wait?

there is a Pull request waiting for approval by a maintainer... looks like this would resolve our problem

Should be solved if you are using beta.

Thanks a lot. Yeah, it seems to work again, but there are some strange error messages as well ... is there anything I am missing to get done? Or shall we simply ignore this for the time being?
[13/11/2022, 09:58:44] [homebridge-eufy-security] This plugin threw an error from the characteristic 'Camera Operating Mode Indicator': Unhandled error thrown inside write handler for characteristic: station.setStatusLed is not a function. See https://homebridge.io/w/JtMGR for more info.
[13/11/2022, 09:58:44] [homebridge-eufy-security] This plugin threw an error from the characteristic 'Camera Operating Mode Indicator': Unhandled error thrown inside write handler for characteristic: station.setStatusLed is not a function. See https://homebridge.io/w/JtMGR for more info.
[13/11/2022, 09:58:44] [homebridge-eufy-security] This plugin threw an error from the characteristic 'Camera Operating Mode Indicator': Unhandled error thrown inside write handler for characteristic: station.setStatusLed is not a function. See https://homebridge.io/w/JtMGR for more info.
Thanks and have a great Sunday


Client Side Caching for Insight API Response

Problem
Dependency on external services may increase the time and API cost of tool usage.
Solution
Implement a client side cache for Insight API responses. This can be implemented using an sqlite3 DB by re-using the caching interface implemented for Insights API Service

This is probably not required since we are supporting separate query workflow


SPICEBodies Comments

[x] (Probably a feature request) It would be much better if the result of the KernelBody type on an epoch was a named tuple, which could have DataFrames support like HorizonsEphemeris, rather that a Vector{Vector{}} because that is fairly opaque. I think it would not take that much effort to do this, but I will also view this comment as not being an acceptance-blocker.

The (::KernelBody)(...) method now outputs a named tuple, which is directly compatible with StaticArrays.FieldVector sub-types, DataFrames, CSV, and more! I have noticed that NamedTuple types are really performant when constructing FieldVector types, as I do in AstrodynamicalModels.jl.

While trying to check this, I hit.
⌅ [8e9d28ce] SPICEKernels v1.4.4 (<v2.0.0): EphemerisSources

Seems like some compat to fix. I am not sure if your compat helper in the outer directory is managing the subpackages correctly.

But I was able to successfully confirm that the named tuple output is working. So the above comment is really just to let you know about your compat management. My review of this issue is complete.

This should be corrected as of EphemerisSourcesv0.3

Confirmed. Happy with the completion of this issue.


Support for BIG PDFs?(like 500pages)

Thank you for creating this project; it's been very useful. I have a few minor questions:

When working with very long PDFs, for example, ones that are 500 pages, or when dealing with multiple documents, the API requests seem to become unresponsive. Would it be possible to add a feature for chunked uploading?
Currently, if I add a new document to the 'doc' folder, do I need to re-ingest all the files again? Is it possible to implement an incremental ingest feature?

My experience is relevant to the first question, and I even have several books that are over 500 pages long. However, you must be mindful of the pinecone.io free tier's pod capacity, which may be exceeded - premium projects are certainly doable. If you are not prepared to pay and the book has a huge capacity, I would advise to check out this branch https://github.com/mayooear/gpt4-pdf-chatbot-langchain/tree/feat/chroma to deploy the vector database (ChromaDB) locally.
I'm also seeking an answer to the following second question: https://github.com/mayooear/gpt4-pdf-chatbot-langchain/issues/415
Cheers,


Decrease the circle size in setSelectedDate();

I can decrease the circle size of the selected day?

Im not sure you can if you are using the default selector. You can always provide yours: Take a look at the sample app or at the documentation, you should find what you need there!


Add DEEP Framework

Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[x] Is your project closed source or, if it is open source, does your project have at least 250 GitHub stars?
[x] Have you picked the single best (existing) category for your project?
[x] Does it follow the other guidelines from the new entries section?
[x] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[x] 2 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Deploy preview for landscape failed.
Built with commit c1c90cf08138068f573f2743da26e4329390c0d7
https://app.netlify.com/sites/landscape/deploys/5b1d911a3672df3b0d76ccb0

Will provide SVG format in the next day or two.

Looks like an issue with deploy/netlify. Correct URL is https://raw.githubusercontent.com/MitocGroup/deep-framework/master/docs/logo.svg (instead of https://raw.githubusercontent.com/MitocGroup/deep-framework/raw/master/docs/logo.svg)

https://github.com/MitocGroup/deep-framework/master/docs/logo.svg does not load for me.

Changed with raw github url - https://raw.githubusercontent.com/MitocGroup/deep-framework/master/docs/logo.svg

@ZeusTheTrueGod Could you please look at why this SVG is getting incorrectly cropped?

@dankohn that is not an SVG. that is a png inserted in an svg. Just click the link, https://raw.githubusercontent.com/MitocGroup/deep-framework/master/docs/logo.svg

@ZeusTheTrueGot @dankohn I apologize on behalf of our team. We are working to fix this issue. Will provide shortly updated SVG.

@ZeusTheTrueGod @dankohn We have updated above logo - https://github.com/MitocGroup/deep-framework/pull/637 . Please review current pull request and let me know if you see any other issues with it. Thanks in advance!


feat: enhance synchronous replication API

Introducing an improved API for explicit configuration of synchronous replication, supporting both quorum-based and priority list strategies.
This update enhances support for synchronous replica clusters, offering users increased flexibility and control over replication management, with a focus on data durability over high availability.
The previous synchronous replication method is now deprecated but will continue to be supported until further notice, ensuring a smooth transition.
Closes: #5095

We miss documentation and E2e tests here.

/test

/test

E2E tests passed here
Running also on all cloud providers in: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/10114935645

E2E tests passed here Running also on all cloud providers in: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/10114935645

Second Round of E2Es result:
🟢 - local: 100.0% success. (0 out of 1975 tests failed)
🟢 - openshift: 99.7% success. (2 out of 798 tests failed)
🟢 - aks: 99.8% success. (1 out of 501 tests failed)
🟢 - gke: 99.4% success. (3 out of 489 tests failed)
🟢 - eks: 99.8% success. (1 out of 640 tests failed)

Tests are green besides some casual failures on cloud providers only, all unrelated from this patch, which will be dealt with in future issues.


fix: auto link after email domain not parsed.

@parasharrajat @francoisl
Fixed Issues
$ https://github.com/Expensify/App/issues/18443
Tests

Go to any chat and add a comment

@google.com google.com

Verify that the @google.com is displayed as plain text and the next google.com is displayed as a link.

QA
Same as test

I have read the CLA Document and I hereby sign the CLA

We'll also need to update expensify-common to the latest version in the App repo. Feel free to send a PR for that, otherwise I can do it later.

looks like this was merged without a test passing

I think this is a melvin-bot bug, the tests were passing.


Changing the default format of classnames assigned to CSS modules

Is there any way to change the default format of the classnames for the imported CSS modules without ejecting? Sorry if there's already a question regarding this. I tried searching for it in the issues.
I'm talking about this [filename]\_[classname]\_\_[hash] written here
$ create-react-app --version
2.0.3

You could do it with a plugin to customize the CRA config like craco: https://github.com/sharegate/craco
You could do it like this in a craco.config.file:
module.exports = {
    style: {
        modules: {
            localIdentName: [local]___[hash:base64:5]
        }
    }
};

No. It cannot be changed, can I ask why you want to change it?

Just my personal preference. I don't like long classnames.

Ah, yeah we don't let you change it. You can eject if you feel strongly, but I'd advise against it because no one ever sees them (you don't even need to see them unless you're inspecting something).

It would be great if create-react-app also supported [hash] format in CSS Modules.