RESTRICTING ACCESS

I am trying to use snippet box with home assistant, but locally as it works with http I can not see the content if I am not in my wifi, so I created a cloudflare tunnel to make the connection https and see the content outside my wifi, but as there is not login for the app, anyone can access my snippet box instance. Is ther any way I can make the app https but also secure?

You can block access to methods other than GET, this works great for restricting access outside my network. internally i can use the service's port number or an internal host
    location / {
        limit_except GET { deny all; }
        include /etc/nginx/proxy.conf;
        proxy_pass http://localhost:40106;
    }

I've packaged Snippet-Box for Cloudron (https://github.com/pawelmalak/snippet-box/issues/69) including an authentication login.


Quantized model updates, switch to recommending TheBloke

[x] Switch to recommending TheBloke for llama.cpp
[x] Add prompt types to cover other WizardLM Bloke models.
[x] Auto-gen kwargs for llama and gpt4all models, should fix model listening to expert settings.

============================================================================================================ short test summary info ============================================================================================================
FAILED tests/test_cli.py::test_cli_langchain_llamacpp - assert 'The cat is sitting on a window sill.' in '\nIt is sitting on a window and looking out at the view of the city outside.\n\nSources [Score | Link]:

0.39 | <a href="file/user_path_test/./pexels-evg-kowalievska-1170986_sma...
FAILED tests/test_client_calls.py::test_client_chat_nostream_llama7b - AssertionError: assert 'What do you do?' in 'I’m a software engineer with a passion for building scalable and reliable systems. I’ve been working in the tech industry for over 10 years and have experience in a variety of technologies in...
FAILED tests/test_eval.py::test_eval1[True-32-h2oai/h2ogpt-oig-oasst1-512-6_9b] - concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.
FAILED tests/test_manual_test.py::test_chat_context - NotImplementedError: MANUAL TEST FOR NOW
FAILED tests/test_manual_test.py::test_upload_one_file - NotImplementedError: MANUAL TEST FOR NOW -- do and ask query of file
FAILED tests/test_manual_test.py::test_upload_multiple_file - NotImplementedError: MANUAL TEST FOR NOW -- do and ask query of files
FAILED tests/test_manual_test.py::test_upload_url - NotImplementedError: MANUAL TEST FOR NOW -- put in URL box https://github.com/h2oai/h2ogpt/ (and ask what is h2ogpt?). Ensure can go to source links
FAILED tests/test_manual_test.py::test_upload_arxiv - NotImplementedError: MANUAL TEST FOR NOW -- paste in arxiv:1706.03762 and ask who wrote attention paper. Ensure can go to source links
FAILED tests/test_manual_test.py::test_upload_pasted_text - NotImplementedError: MANUAL TEST FOR NOW -- do and see test code for what to try
FAILED tests/test_manual_test.py::test_no_db_dirs - NotImplementedError: MANUAL TEST FOR NOW -- Remove db_dirs, ensure can still start up and use in MyData Mode.
FAILED tests/test_manual_test.py::test_upload_unsupported_file - NotImplementedError: MANUAL TEST FOR NOW -- e.g. json, ensure error correct and reasonable, no cascades
FAILED tests/test_manual_test.py::test_upload_to_UserData_and_MyData - NotImplementedError: MANUAL TEST FOR NOW Upload to each when enabled, ensure no failures
FAILED tests/test_manual_test.py::test_chat_control - NotImplementedError: MANUAL TEST FOR NOW save chat, select chats, clear chat, export, import, etc.
FAILED tests/test_manual_test.py::test_subset_only - NotImplementedError: MANUAL TEST FOR NOW UserData, Select Only for subset, then put in whisper.  Ensure get back only chunks of data with url links to data sources.
=========================================================================== 14 failed, 58 passed, 25 skipped, 1 xfailed, 1 xpassed, 2 warnings in 1164.68s (0:19:24) ============================================================================
(h2ollm) jon@pseudotensor:~/h2o-llm$

and fixed above tests, broken pool was just OOM doing CPU inference in 32-bit.  After removing some things in memory, all good.


Week 7 Review Ticket

Total Score:
Crossover:

[ ] Review ticket with study plan and study reflection for week
Comments:
[ ] Finals-Quiz1 score/50 and corrections
Comments:
[ ] Finals-Quiz2 score/50 and corrections
Comments:
[ ] Create Task code/runtime and 1 min video
Comments:
[ ] Review ticket with Crossover Score
Comments:

CB: Gennalyn Bongolan

[ ] Start review ticket with study plan and study reflection for week, due EOD Monday 4/18
[ ] Finals-Quiz1 score/50 and corrections
[ ] Finals-Quiz2 score/50 and corrections
[ ] Create Task code/runtime and 1 min video are reviewed by another person, you may request Teacher review as time permits
[ ] Review ticket with Crossover Score on Monday 4/25 in class


Fixed default text missing from network selection on instance wizard

Description

This PR fixes the missing "Default" display issue on the instance wizard when selecting a network.

Fixes: #3633
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

How Has This Been Tested?

This has been tested from the UI. First make sure that there are some available networks.
From the create instance wizard, complete all the steps until the network page. The text next to the radio button will read "Default".

@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos6 ✔centos7 ✔debian. JID-773

Trillian test result (tid-917)
Environment: kvm-centos7 (x1), Advanced Networking with Mgmt server 7
Total time taken: 34137 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3865-t917-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_affinity_groups_projects.py
Intermittent failure detected: /marvin/tests/smoke/test_affinity_groups.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 76 look OK, 3 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_DeployVmAntiAffinityGroup_in_project
Error
69.54
test_affinity_groups_projects.py

test_DeployVmAntiAffinityGroup
Error
37.65
test_affinity_groups.py

test_hostha_kvm_host_degraded
Failure
686.47
test_hostha_kvm.py

test_hostha_kvm_host_fencing
Failure
646.43
test_hostha_kvm.py

test_hostha_kvm_host_recovering
Failure
645.49
test_hostha_kvm.py

Changes not related to smoketests failure. Merging based on @DaanHoogland 's testing.


Update capability to replace arkade with a newer version

It would be possible to self-update by running arkade update and having the running binary replaced by a newer version.
arkade get arkade has the logic to download the latest version, but we need something to replace this version.
I'd also like to see the self-check only download the binary if there's a newer version, something which we can find a way to optimise.
This way, people could add arkade update to their .bashrc, profile, or a daily cron.
Expected Behaviour

Update command can replace the running version
Current Behaviour

It prints out install instructions, which can be copy/pasted
Possible Solution

Use the equivalent code of arkade get arkade to get an updated version
Move that file to replace the location of the currently running binary
Make sure this only downloads the ~ 10MB binary, if it's required

I want to avoid using any self-updating libraries or external dependencies. We did this for another project using stdlib.
Context
I've been seeing a lot more breakages recently with projects changing binary names and formats, this would make arkade self-update, and work better for when we've fixed issues introduced by upstream projects.

@Jasstkn / @mrwormhole do you have time for a challenge?

yes makes sense to me, is it potentially safe to swap old arkade binary with new arkade binary during the old arkade CLI process? I believe it is safe on linux, but on windows I have doubts

Perhaps we'll start with Linux first then?

Hm, on Mac I just have an alias to do the following:
which upd_arkade
upd_arkade: aliased to sudo curl -sLS https://get.arkade.dev | sudo sh

The first sudo shouldn't be needed for curl

The first sudo shouldn't be needed for curl

yep, you're right!

How about we get the current binary first with os.Executable() then check in the get command if we are updating arkade itself and in that case we set the movePath to the result?
Also everything in the get package seems path aware, so we should approach this with get.Download() like everywhere else.
Honestly I don't know if this will work on windows, but I'm quite sure it this will solve the problem for our unix friends.

I have a windows to test on now 😃

How about we get the current binary first with os.Executable() then check in the get command if we are updating arkade itself and in that case we set the movePath to the result? Also everything in the get package seems path aware, so we should approach this with get.Download() like everywhere else.
Honestly I don't know if this will work on windows, but I'm quite sure it this will solve the problem for our unix friends.

@alexellis, @Jasstkn is this solution seems good for you guys?
I can start to skeetch up a PR this weekend or so.


[VL] Daily Update Velox Version (2024_06_04)

Upstream Velox's New Commits:
61c33794d by Masha Basmanova, Fix error: comparison of unsigned expression in ‘< 0’ is always false [-Werror=type-limits]
c50a11708 by Sandino Flores, Add GCS dependencies to resolve_dependency and refactor cmake modules (9072)
f06e759ee by Masha Basmanova, Fix json_array_contains(json, NaN/Infinity/-Infinity) (10023)
c3ff3fce9 by Masha Basmanova, Eliminate try-catch from json_array_contains Presto function (10020)
061c02f81 by Ankita Victor, Update FileHandleGenerator to use file size and modification time (9466)
3d668970d by Masha Basmanova, Add inverse_normal_cdf Presto function (10022)
76d0a988e by Jimmy Lu, Optimize readWithVisitor for TrivialEncoding and MainlyConstantEncoding (10021)
5f7b6c48d by Jimmy Lu, Fix crash in RowContainer::storeWithNulls<TypeKind::HUGEINT>
579e8da8e by Jimmy Lu, Do not allocate dictionary filter cache if the filter is IsNotNull to avoid OOM (10001)
b9649f40e by yangshijie.2024, Fix CAST(short decimal as json) (10007)
894de1150 by Deepak Majeti, Disable CUDA/GPU build in CI until centos9 update (10025)
463d84b03 by Amit Dutta, Add map_remove_null_values Presto function (10009)
ab06a77a4 by Pramod, Add decimal mod operator (9351)
8648f50bb by Masha Basmanova, Reduce exception throwing in json_xxx Presto functions (10018)
43131a457 by Masha Basmanova, Add Further Optimizing TRY_CAST and TRY blog post (9998)
5efcaa446 by Zac Wen, Deprecate old ssd cache constructor (10003)
45b421dc0 by Masha Basmanova, Add json_array_get Presto function (10017)
7047e052f by Masha Basmanova, Refactor cast(x as date) (10010)
277d5c5e7 by Deepak Majeti, Add velox_type_tz to velox_config target (9995)
046ccd4f5 by Masha Basmanova, Fix parsing of 'March' and 'MARCH' input in date_parse Presto function (10005)

@PHILO-HE the SsdCache constructor that Gluten was earlier using has been deprecated. Seems the values need to be moved to config.

@PHILO-HE the SsdCache constructor that Gluten was earlier using has been deprecated. Seems the values need to be moved to config.

https://github.com/facebookincubator/velox/blob/main/velox/common/caching/SsdCache.h#L32

Will fix static build issue when GCS is enabled in a follow-up pr.

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_5968_time.csv
log/native_master_06_04_2024_9755cdb6b_time.csv
difference
percentage

q1
33.49
33.66
0.163
100.49%

q2
23.76
23.67
-0.088
99.63%

q3
36.59
35.00
-1.598
95.63%

q4
30.60
32.19
1.591
105.20%

q5
69.07
69.02
-0.051
99.93%

q6
7.63
7.20
-0.430
94.36%

q7
79.81
82.19
2.380
102.98%

q8
86.28
83.65
-2.633
96.95%

q9
121.48
120.88
-0.606
99.50%

q10
45.97
45.81
-0.158
99.66%

q11
19.71
20.00
0.288
101.46%

q12
29.48
29.20
-0.279
99.05%

q13
37.22
36.38
-0.837
97.75%

q14
21.74
22.03
0.296
101.36%

q15
29.88
29.83
-0.044
99.85%

q16
14.46
14.06
-0.393
97.28%

q17
100.85
103.56
2.709
102.69%

q18
147.53
147.26
-0.268
99.82%

q19
14.60
13.50
-1.094
92.50%

q20
28.95
28.66
-0.289
99.00%

q21
266.21
267.80
1.584
100.59%

q22
11.92
13.70
1.776
114.89%

total
1257.22
1259.23
2.017
100.16%


When running omniglot_train_one_shot.Time costs。

(using GPU) Running an episode needs 2 or 3 seconds But do I have to wait to train for 100,0000IEPISODE) episodes?it may costs many days...
Have you trained 100,0000(EPISODE) episodes to get the best parameters?

How to accelerate the training speed？


Add Bucket View

Adds a new screen that allows a user to add a new bucket with a given name, type (inflow, outflow, fund) and estimated amount.
Fixes #14

I think the approach (having a different logical component altogether) feels a bit more clean than shoving everything into the ListComponent - will probably revisit AddTransaction when we move on to editing/deleting to reflect this change.


Shield drops if killed when sword blocking

If player sword blocks and someone kills him, the shield will be dropped. The problem is supposedly with ModuleSwordBlocking using is.getType().equals(Material.SHIELD) instead of is.getItemStack().getType().equals(Material.SHIELD) in onItemDrop method, which tries to compare EntityType with Material.

@gvlfm78 TL;DR You should use ==.
Using .equals is both unnecessary and it indirectly caused this. Since .equals takes an Object as the parameter, your IDE didn't realize you were comparing two different enums.

IntelliJ told me straight away that the problem is in comparing 2 different enums...

I had actually researched == vs .equals for enums in Java and ended up on this StackOverflow page but I did not then have time to go around switching up all of the pre-existing statements.
About the IDE: I have actually several times tried switching to IntelliJ, but every time I found something that just didn't work for me, such as it doing things I never asked it to do, or make the formatting go all over the place, apart from not being able to have more than one project open at once in the same screen.
I will proceed to fix this issue, and when I have time convert pre-existing .equals checks for enums to ==.

I would be glad to do that for you, but I just want to say that you can have more than one IntelliJ project open at once. It's a daunting tool at first, but my productivity has gone up easily 50% since I started using it.

I do recognise that it has many useful features to increase productivity, that is why I have tried to switch to it many times. I will give it another try now but from what I understand there isn't a 'proper' way of having more than one project open at once in the same window.

In the same window? I'm not sure if that's possible, although you might be able to achieve that by opening the folder containing the projects. I'll have to try it out. If you have any questions about how to do certain tasks with IntelliJ just let me know, you know where to contact me.
But back on topic, would you like me to go through and fix as many .equals as possible?

Yes please. I was going to have a look at some other issues such as mcmmo compatibility.
In the meantime I have changed the one relevant to this issue, so it should now be fixed for test build 124 and above.


Faster clustering with ValueSortedDict

Store internal .similarity matrix in a ValueSortedDict
This should make the call to .argmax much faster...

Fixed in 5173c68812edf6aba7584b522443d37fbdc64561


Air Conditioner XXXX , check state error, AxiosError: timeout of 10000ms exceeded, check again in 60s.

Its nothing bad, Just the MELCloud server doesn’t respond always.

Hi grzegorz914,
Thanks :-) Do you know url of melcoud servers ? Just one or many urls ?

I know this one https://app.melcloud.com/Mitsubishi.Wifi.Client

Thanks :-)

I found this one with many request on my personal DNS : production.receiver.melcloud.com

This is secure connection, right now not possible to use it.


Add UnauthorizedError

Use UserNotFound for the login mutation

Use UnauthorizedError for the other mutations/queries when the token is not present / invalid.

[x] Code

[x] Documentation (https://github.com/krypton-org/krypton-auth/blob/master/docs/queries.rst)

login, updateMe, refreshToken mutaiton may also send a TokenEncryptionError. It can occur only if the service has been wrongly configured, like with a wrong format for the private key or with a wrong encoding algorithm chosen.


[WIP] Implement exercise forth

Why?

This exercise is not available on the ruby track.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (non-breaking change which adds functionality)
[ ] Breaking change (fix or enhancement that would cause existing functionality to change)
[ ] Gardening (code and/or documentation cleanup)

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My change relies on a pending issue/pull request
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Let us know if you have any questions or need any help @cdorsey
We can also be found in the gitter chat room: https://gitter.im/exercism/ruby

There's been no progress on this for a while so I'm going to close it.
Feel free to open it again if you've made progress and want to continue, otherwise we'll leave it available for someone else to implement.


Custom kernel, bootargs and flash drives

📚 Context
I am experimenting a dapp where I need a custom kernel, custom bootargs and extra flash drives. Currently there is no way to do this with Sunodo.
✔ Solution
Would be nice if Sunodo could allow me to specify a different kernel image, different kernel headers, extra bootargs and extra flash drive configurations.
A plus would be a label to pass custom arguments to the cartesi-machine command, this would allow to workaround some of these limitations without Sunodo having official support yet.

Regarding the kernel, it's part of the sunodo/sdk:0.2.0 image, which is built at https://github.com/sunodo/sunodo/tree/main/packages/sdk
Sunodo build looks for that image, which can be customized using the Docker label io.sunodo.sdk_version.
If you define in the Dockerfile:
LABEL io.sunodo.sdk_version=my-custom-kernel

It will use the docker image sunodo/sdk:my-custom-kernel.
This could still be improved to replace the entire docker image name, not only the tag.

I'm considering to move away from the configuration through Docker labels and introducing a sunodo.yaml configuration file.
Any thoughts?

Regarding the kernel, it's part of the sunodo/sdk:0.2.0

I am doing that way now, it works. But looks like this LABEL config does not reflect sunodo shell command.

I'm considering to move away from the configuration through Docker labels and introducing a sunodo.yaml configuration file.

I think it makes sense, this would open the possibility to customize other commands too, not just sunodo build. Like it could have also configs for sunodo run, and others

But looks like this LABEL config does not reflect sunodo shell command.

You're right, it's a known issue. See comment https://github.com/sunodo/sunodo/blob/26169e278a3004d6139b82f4aa05560f457ace76/apps/cli/src/commands/shell.ts#L34

I think it makes a lot of sense to have a sunodo.yaml; many CLIs have it, and I feel it's a natural progression.
I would add that support to define env vars is nice to have =]

I'm writing a few examples that use sunodo, but they require a specific sunodo version (e.g., 0.9). If someone tries to run my example with a previous or future version, it will break internally with an error that is hard to understand. To solve this, it would be nice to specify which sunodo version my example uses in the sunodo.yaml file. Then, if the user tries to run my example with the wrong version, sunodo will raise a presentable error telling them to use the correct version.

Be aware that custom flash drives will be a requirement the for running multiple Hypervisor guests in the future (each flash drive will be a different rootfs).


Server ID

How do I find the server ID to give to Mendix support? It doesn't appear to install the m2ee tools for me to run that command to find the ID

Same question as @drewtwitchell over here. Is anyone reading?

If you want to request a Docker license from Mendix Support a server ID is not needed. Just submit a ticket requesting the app you want to have a Docker license for (make sure to specify you want a Docker license).  When you are eligible for a Docker licensem they will start the procedure to provision a Docker license for you.


Load an unpacked model from github offline

Is there any way to load a model, downloaded from GitHub and unpacked, offline? I mean something like that instead of torch.hub.load() every time:
model_dir = './wmt19.en'
model = torch.hub.load_offline(model_dir)
I tried:
model_dir ='./wmt19.en'
decoder = fairseq.models.FairseqDecoder(model_dir +'/dict.txt')
model = fairseq.models.FairseqLanguageModel(decoder)
model.from_pretrained(model_dir)
model.sample("Machine learning is")
and the result is:
AttributeError: 'FairseqLanguageModel' object has no attribute 'sample'
Thank you.

I've found the answer here https://github.com/pytorch/fairseq/tree/master/examples/language_model
from fairseq.models.transformer_lm import TransformerLanguageModel
model = TransformerLanguageModel.from_pretrained(model_dir, 'model.pt', tokenizer='moses', bpe='fastbpe')
print(model.sample('Machine learning is'))
Just need to use TransformerLanguageModel instead of FairseqLanguageModel


[BUG] Breaks the "Reload UI" functionality (via the top-right button in "Settings")

For some reason, when using this extension, restarting the UI via the "Reload UI" button in "Settings" doesn't work:

It simply displays Restarting UI... in the console and hangs forever, not even Ctrl+C will interrupt it.
I've also tested running the server with DEBUG verbosity; no additional information about why reload UI could've frozen was displayed in the console.
"Apply and restart UI" in the Extensions tab does still work, that effectively restarts the entire server though.

Yes. I have the same exact problem. The problem has existed since the moment I started using this extension. M1 Mac Studio.


Temporary disable failing armv7 tests

radar rdar://problem/33761334
Temporary disable the failing tests to unblock the bots.

@swift-ci Please smoke test


ocamlPackages.reason: 3.0.0 -> 3.0.2

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build ocamlPackages.reason

thanks for the contribution! merging!


[WIP][Don't merge] Higher order grad support

Description
This PR adds support for higher order gradient to some basic operators.
This is joint work with
@apeforest @sxjscience
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[] Changes are complete (i.e. I finished coding on this PR)
[] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

@mxnet-label-bot add [Operator, pr-work-in-progress]

@larroy Can you look into the CI failures here ?


Match directories that have index.js or index.jsx

If you have a component like components/MyComponent/index.jsx, you can require the directory (i.e. require('components/MyComponent') and it will default to the index. There is a table here that describes this behavior: http://webpack.github.io/docs/configuration.html#resolve-alias
It would be really great if import-js were able to match these directories.

Fixed by https://github.com/trotzig/import-js/commit/8324f8c9fc20de2c72311c4e3e53deff37be787e


(New syntax) closure environment variable access

Plan to add the following syntax.
@ <lex-var> <expr>

This is accessing the <lex-var> variable inside the saved environment of <expr> (which is expected to be a closure).
This can still ensure the grammar is LL(1).

Due to this planned feature, the (closure saved-env) variable access syntax is changed to -> <lex-var> <expr>.

Change the syntax to & <lex-var> <expr>.

2b1f601


Redesigned the Navbar in the Existing Project

Always describe the changes you made & add them in the project_doc

Actually, it's not my project I have just contributed to an existing project. And the changes made by me are just a few Frontend Works.
And there is no project_doc given in this project so as it's not my project should I add a project_doc.

If you can add the project_doc.md for that do give, it will be great

Although it's not my project then also I have added the readme.md file.

Yeah, I saw that but you should try to make on PR for the both, I'll count this PR only. Great Work!

No Issues!


Webview-rendered output is wider then other output

See attached screen shot

have text-output => 👍 it is aligned nicely
have output that is shown in the webview -> :bug: it is wider and underflows the output switcher

@jrieken I just pushed another change that fixes the width issue as I set left on the output container.


Fix signed/unsigned mismatch warnings.

Build status:

Linux
Windows
NuttX

Build status:

Linux
Windows
NuttX


wierless xbox gamepad not detected

wierless xbox gamepad not detected in greenlight
What other settings are needed?
https://github.com/unknownskl/greenlight/assets/5889515/ce98368c-6c1c-42c1-abb5-12852094928f
It does not respond to button presses.
Tested with two xbox one controllers.
Ubuntu22

Same issue here ON Dualsense, but stating the app as a superuser via terminal works fine

The suggestion by @Disorderly007 fixed it for me with Xbox Elite 2 controller! Gamepad isn't detected when running normally but running by superuser (in terminal) works fine!
here's how to do it for those that can't work it out- these instructions are for Mac OS but I imagine might be similar for Linux:
Open terminal - type in sudo
Right click greenlight in finder, 'show package contents' - go to Contents > MacOS > you'll see the unix executable
Drag this into the terminal and press enter. Type in your password.
Voila! You may need to enable security settings and restart terminal and do it again if it prompts


Support require.extensions to support multi-language modules

Node.js supports a require.extensions object to register handlers for loading modules from alternative languages, using the file extension as keys.
Also see usage in coffee-script: http://jashkenas.github.com/coffee-script/documentation/docs/coffee-script.html

That sounds like a really good feature. It also means that we'll be able to integrate Clojure, Groovy, Scala, Erlang, Python, Ruby, and every other language that uses the JVM seamlessly with Ringo. That's a really big plus point for a growing CommonJS implementation.
I just have one doubt - if we'll be using Java class files as modules then I assume that we'll be exporting the class itself. In that case the static members of the class will be the exported methods and properties of the required object right? So we'll be able to require a class and create instances of it. What about including class files. Then we'll only be able to use the static members if I'm not mistaken.
Also, how will interfaces be required or included in Ringo? I think that's something that needs to be given some thought.


feat: embed appx video player

Resolves #1572

Todos:

[ ] Prop drill videoId and courseId into videoplayer2.tsx
[ ] Test it in production
[ ]  Add full screen button for the video player

🥳


chore: approximate results in TestCalcSingleAssetInAndOut_InverseRelationship

Closes: #1359
What is the purpose of the change
Allowing to approximate results in TestCalcSingleAssetInAndOut_InverseRelationship with the tolerance of 1. Uncommented a test that was off by 1
Testing and Verifying
This change is a trivial rework / code cleanup without any test coverage.
Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? no
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? no
How is the feature or change documented? not applicable

Codecov Report

Merging #1476 (fb5ded2) into main (f56fbe5) will decrease coverage by 0.34%.
The diff coverage is 16.70%.

@@            Coverage Diff             @@
##             main    #1476      +/-   ##
==========================================
- Coverage   19.82%   19.48%   -0.35%
==========================================
  Files         202      229      +27
  Lines       27685    31488    +3803
==========================================
+ Hits         5489     6134     +645
- Misses      21175    24232    +3057
- Partials     1021     1122     +101

Impacted Files
Coverage Δ

x/epochs/client/cli/query.go
0.00% <ø> (ø)

x/gamm/client/cli/query.go
36.74% <0.00%> (-0.36%)
:arrow_down:

x/gamm/pool-models/balancer/balancer_pool.go
64.37% <0.00%> (ø)

x/gamm/pool-models/stableswap/msgs.go
0.00% <0.00%> (ø)

x/gamm/pool-models/stableswap/pool.go
0.00% <0.00%> (ø)

x/gamm/pool-models/stableswap/stableswap_pool.go
0.00% <0.00%> (ø)

.../gamm/pool-models/stableswap/stableswap_pool.pb.go
0.58% <0.00%> (-0.09%)
:arrow_down:

x/gamm/types/pool.go
0.00% <ø> (ø)

x/incentives/client/cli/query.go
0.00% <ø> (ø)

x/incentives/keeper/distribute.go
61.00% <0.00%> (ø)

... and 57 more

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 1346118...fb5ded2. Read the comment docs.


1.21.1 port

Describe the feature you'd like
1.21.1 port
Describe alternatives you've considered
No response
Additional context
No response

Done, will be included in the next release


Status bar changes

This PR addresses BU-278
This change removes the need of brightness hack for the status bar blink on opening PodcastDetails page.
If the theme was overridden by the wrapping app, this hack reverted status bar color back to plugins theme. This change is to make sure the status bar color uses the overridden theme.
https://user-images.githubusercontent.com/4012752/106817659-3a9ec080-6688-11eb-8b7b-fc194dc01ad4.mp4

cherry-picked the changes to breez:master


Fixing Paths and other documentation issues

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of Change
Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Added new unit/integration tests
[ ] Added new notebook (that tests end-to-end)
[ ] I stared at the code and made sure it makes sense

Suggested Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added Google Colab support for the newly added notebooks.
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I ran make format; make lint to appease the lint gods

@logan-markewich, Just a reminder, Any update on this, what steps needs to be taken now?

@logan-markewich , Any update?

@ShorthillsAI let's revert the changes that use /docs prefix so that we can merge, and figure out a proper fix for those links in another pr

[like]  Aashish Saini reacted to your message:

From: Logan @.>
Sent: Thursday, January 11, 2024 7:40:37 PM
To: run-llama/llama_index @.>
Cc: Aashish Saini @.>; Mention @.>
Subject: Re: [run-llama/llama_index] Fixing Paths and other documentation issues (PR #9699)
@ShorthillsAIhttps://github.com/ShorthillsAI let's revert the changes that use /docs prefix so that we can merge, and figure out a proper fix for those links in another pr
—
Reply to this email directly, view it on GitHubhttps://github.com/run-llama/llama_index/pull/9699#issuecomment-1887847733, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BB3ASQWGTMY4PSAPPABSTLTYOA53LAVCNFSM6AAAAABBC4VE4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBXHA2DONZTGM.
You are receiving this because you were mentioned.Message ID: @.***>

@ShorthillsAI cool, thanks!


i getting this error please help me.

Im stuck at the end of your first part vue.js and express tutorial. You explained so well, thanks for sharing. But i have this error when i click register button and execute register method.
Error: Request failed with status code 404
app.js%20line%20805%20%3E%20eval:16:15
register method:
methods: {
    register () {
      AuthenticationService.register({
        email: this.email,
        password: this.password
      })
      alert('Exitos')
    }
  }

AuthenticationService.js
import Api from '@/services/Api'

export default {
  register (credentials) {
    return Api().post('/register', credentials)
  }
}

Api.js
import axios from 'axios'

export default () => {
  return axios.create({
    baseURL: 'http://localhost:8081'
  })
}

Some people say:

Request status code 404 means the URL you are trying to access does not exist. Verify the URL you’re trying to access.

but that doesn't make sense to me, since we are working under '/register' endpoint...
what i am missing?

make sure your backend also running while your front end running
run >> npm run dev in client folder
run >> nodemon app.js in server/src folder

Everything is the same there and I am getting a similar error
(anonymous) @ VM1651:1
dispatchXhrRequest @ xhr.js?ec6c:178
xhrAdapter @ xhr.js?ec6c:12
dispatchRequest @ dispatchRequest.js?c4bb:59
Promise.then (async)
request @ Axios.js?5e65:51
Axios.(anonymous function) @ Axios.js?5e65:71
wrap @ bind.js?24ff:9
register @ AuthenticationService.js?63c2:4
register @ Register.vue?b5de:23
invokeWithErrorHandling @ vue.esm.js?efeb:1863
invoker @ vue.esm.js?efeb:2187
original._wrapper @ vue.esm.js?efeb:7528
createError.js?16d0:16 Uncaught (in promise) Error: Network Error
    at createError (createError.js?16d0:16)
    at XMLHttpRequest.handleError (xhr.js?ec6c:87)
    at XMLHttpRequest.send (<anonymous>:1:781)
    at dispatchXhrRequest (xhr.js?ec6c:178)
    at new Promise (<anonymous>)
    at xhrAdapter (xhr.js?ec6c:12)
    at dispatchRequest (dispatchRequest.js?c4bb:59)


[New Command][V2.0] Statistic [DATE] (Optional for date)

Make use of cash on delivery

View cash collected for the date

Payment method change to outstanding payment

Date provided, the days stats will be viewed instead of today

Resolved in #318


egui_glow backend: no text rendered

Describe the bug
When using the egui_glow backend instead of the default backend, no text is rendered. There are also some other strange things happening, e.g. textedit and similar widgets resize to very small height, when clicked.
To Reproduce
Steps to reproduce the behavior:

Check out e.g. the eframe template example
Switch to the egui_glow backend by enabling its feature in your Cargo.toml
cargo run
No text rendered

Expected behavior
Text should render, equally to the default backend.
Screenshots
(Note the screenshot is from a different application, but same issue)

Desktop (please complete the following information):

OS: ArchLinux
Version: rolling release (1.1.2022)

Additional context

Update:
Looks like this was entirely my fault. I did not notice, that the default font included is a feature, and I accidentally disabled it.

Update:
Looks like this was entirely my fault. I did not notice, that the default font included is a feature, and I accidentally disabled it.


How do I make this show up?

Using Meteor 1.3. When I install this package plus the CSS I don't see any difference in the login template?

How did you install this package and the CSS? What are you seeing in the login template now? Is this an (MDL) UI related issue or the entire useraccounts package is not working for you? Any errors (server/browser console).
It would be easier to help if you provided the steps to reproduce or URL to see the issue.

in my .Meteor/packages file I have :
autopublish
twbs:bootstrap
barbatus:stars-rating
accounts-ui
accounts-password
iron:router
meteor-base
mobile-experience
mongo
blaze-html-templates
session
jquery
tracker
logging
reload
random
ejson
spacebars
check
standard-minifier-css
standard-minifier-js
arboleya:electrify
zodiase:mdl
useraccounts:mdl
zodiase:mdl-prompt
accounts-base
useraccounts:core
underscore
useraccounts:flow-routing
useraccounts:iron-routing

in my HTML I call
{{> loginButtons}}
when I launch the site and click the sign_in link, the default login dialogue pops up, it doesn't have any MDL theming. Using the MDL classes on buttons and other objects on the page seems to work correctly?
Thanks for your help.

I would check these:

MDL is installed correctly (e.g. package like zodiase:mdl is working). This can be confirmed if you are able to create (other) blaze templates in your application with MDL theme.
When the page loads, do you see any JavaScript errors or network request errors? Use the Chrome debugger console/network tabs.
To confirm that useraccounts MDL template loads, you should see styles form the MDL theme on your template. Stuff like the mdl-* classes, depending on which mdl template you are in. Example: class="at-form mdl-grid mdl-grid--no-spacing mdl-cell mdl-cell--12-col". If you see these, then MDL theme has loaded and is likely some other issue.

Hope these help.


Use DumbService to start processing after indexing has finished.

This change seems to fix the INRE issue in the latest Android Studio versions as described in #17 and most likely #16.

Looks good. Can you please sign our CLA?

It's signed.

It's merged.
Thanks for finding this!

Can someone compile a new version of the .jar file? Or tell me how do do it :)


fix ppq landing page routing issue

Description
This PR includes the following proposed change(s):
the issue for frontend routing, change to hashRouter temportary so we can test
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation
[ ] Version change

How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Development Dependency Working Agreement

[x] My code DOES NOT include the importing of new dependencies into the DPIA ecosystem
[ ] My code DOES include the importing of new dependencies into the DPIA ecosystem
If new dependencies are being introduced to the DPIA ecosystem:
[ ] The functionality of the dependency drastically reduces code complexity and makes my changes more easily maintainable and readible
[ ] The dependency being introduced does not contain multiple layers of nested dependencies introducing maintainability complexity to the DPIA ecosystem

Frontend Development Changes

[ ] N/A
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to project documentation or diagrams that reflect my changes
[ ] New and existing unit tests pass locally with my changes
[ ] My code follows Airbnb React Style Guidelines

API Development Changes

[x] N/A
[ ] I have performed a self-review of my own code
[ ] My code follows standards and practices outlined in the BC Government API Development Guidelines
[ ] New and existing unit tests pass locally with my changes
[ ] My changes includes Swagger documentation updates that reflect the changes I am introducing

I wonder the reasoning of switching from BrowserRouter to HashRouter? 🤔 @binggaofw

the reason is as SPA, the BrowserRouter component does not know the /ppq path, only hashBrowser component knonws. but in the future we will change back to browserRouter, I did test, in the landing page, i change login with IDIR and link to ppq by using BrowserRouter, it works,the application just does not know ppq in the beginning


refactor NumpyIter

A few more comments:

Move the batching procedure into init
Move doc of parameters of init into class docstring, see https://github.com/dmlc/mxnet/blob/master/python/mxnet/model.py#L414


fix: replace all occurrences of camel case TSX attributes

Without this change, the conversion results of e.g. filled icons such as tsx/alert-triangle-filled.tsx were broken because the second occurrence of stroke-width had been missed (which leads to a broken rendering).
I'm pretty sure that this does the trick, but I've been unable to test this locally:
Even before doing this change I tried to run deno task convert, which somehow resulted in all icons in the tsx/ folder being overwritten with the source SVG, i.e. no conversion happened. For the same reason deno task test also failed.
Any idea what's going wrong with my setup?

deno 1.32.5 (release, x86_64-unknown-linux-gnu)
v8 <IP_ADDRESS>
typescript 5.0.3

Thank you!
The test is also failed on main so i fixed that.

Great, the tests are now passing with my setup too.


Starter configuration RestTemplate issue

Issue:
The RestTemplate class exposed as a RestOperation causes bean conflict in certain scenarios
Description:

RestTemplate bean is exposed with type RestOperations
Consider, a project which uses this library also exposes a RestTemplate bean
If any class requests for a RestTemplate bean to be autowired/injected it will fail due to bean conflict with the following message

***************************
APPLICATION FAILED TO START
***************************

Description:
Parameter 1 of method xsuaaJwtDecoder in com.sap.cloud.security.xsuaa.autoconfiguration.XsuaaResourceServerJwkAutoConfiguration required a single bean, but 2 were found:
	- xsuaaRestOperations: defined by method 'xsuaaRestOperations' in class path resource [com/sap/cloud/security/xsuaa/autoconfiguration/XsuaaAutoConfiguration.class]
	- restTemplate: defined by method 'restTemplate' in com.example.app.AppConfiguration

Action:
Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean that should be consumed

Solution:
Consider making the return type RestTemplate instead of RestOperation

Hi @rage28,
not sure whether i've fully understood the problem, as we've implemented it as @ConditionalOnMissingBean and RestTemplate is considered as well, as it is subclass of RestOperations:
https://github.com/SAP/cloud-security-xsuaa-integration/blob/master/spring-xsuaa/src/main/java/com/sap/cloud/security/xsuaa/autoconfiguration/XsuaaAutoConfiguration.java#L76
and there is a test for that:
https://github.com/SAP/cloud-security-xsuaa-integration/blob/master/spring-xsuaa/src/test/java/com/sap/cloud/security/xsuaa/autoconfiguration/XsuaaAutoConfigurationTest.java#L104
Can you please provide me the code of com.example.app.AppConfiguration - in particular how you've configured your RestTemplate bean?
Best regards,
Nena

Hi @nenaraab ,
we also have issues with the injection of the RestOperations bean in XsuaaResourceServerJwkAutoConfiguration.
As we have multiple RestTemplates defined in our application (but no bean of RestOperations type), the injection mechanism does not work, since spring finds multiple RestTemplate (which implement the RestOperations interface) beans.
Currently you define a RestOperations bean in XsuaaAutoConfiguration but with the ConditionalOnMissingBean. Can't you just change your RestOperations bean definition to:
@Bean
@Qualifier("restOperations")
public RestOperations restOperations() {
    return new RestTemplate();
}

Hi @ttrabold, @rage28,
thanks a lot for reporting.
I have two questions for reproduction...

Do I understand correct, in case you define other RestTemplates with explicit qualifiers, then the spring-xsuaa auto-configuration does not know, which one to choose? Is that correct?

Is it right, that in case you define other RestTemplates our restOperations bean is not created because of ConditionalOnMissingBean.

Thanks!

Hi @nenaraab ,

I cannot confirm the first point, since we do not qualify each and every RestTemplate with a name. However, it is not the xsuaa autoconfig I guess but the spring IoC container who does not know which RestOperations bean to use since there are multiple ones available. The spring mechanism takes basically takes type, qualifier and name into account (https://www.baeldung.com/spring-annotations-resource-inject-autowire#Autowired) for bean injection. Since name and qualifier do not match, it finds multiple ones of the same type. I think this is the problem here.

Yes, this is correct. Since there already are RestOperations beans available, the @ConditionalOnMissingBean triggers and does not create the RestOperations with your function.

Hi @ttrabold, @rage28,
it should be fixed in the master branch. If you like to test it, you can clone the repo
https://github.com/SAP/cloud-security-xsuaa-integration
and perform locally
mvn clean install
You need to switch to version 2.5.3.
Please replace your autoconfiguration with a configuration that declares only a xsuaaRestOperations
bean as documented here: https://github.com/SAP/cloud-security-xsuaa-integration/tree/master/spring-xsuaa#resttemplate--restoperations
Happy to receive your feedback!
Thanks and best regards,
Nena

Please consider the spring-xsuaa documentation to see, how to setup your project properly:
https://github.com/SAP/cloud-security-xsuaa-integration/tree/master/spring-xsuaa


Book 1, Chapter 7, page 259 footnote URL correction

The link to Stephen Boyd's presentation needs the extension .pdf in the URL, lest it return a 404 error, i.e.
http://ee263.stanford.edu/lectures/min-norm
needs to be
http://ee263.stanford.edu/lectures/min-norm.pdf
instead.

fixed already (which version are you reading?)

Apologies for wasting time; I thought I updated my local copy but I hadn't.


Check $HOME/.node-version and /etc/.node-version

I'd want to clarify todo item

Support switching back to the previous version of node that you were using when you leave a directory.

I guess avn should check $HOME and /etc locations for .node-version if there is none in current directory. It's the same way rvm works and covers the most of wanted scenarios.

The way that rvm 1.26.10 (latest) works is like so:
$ cd my-project # dir contains `.ruby-version` file with 2.0
$ cd .. # not a project directory, reverts to previously in use version, default version
$ rvm current
ruby-2.2.0

$ rvm use 1.9
$ cd my-project # dir contains `.ruby-version` file with 2.0
$ cd .. # not a project directory, reverts to previously in use version
$ rvm current
ruby-1.9.3-p551

This all assumes that you configured rvm to use 2.2 as  the default.
As far as I can tell, rvm does not use ~/.ruby-version or /etc/.ruby-version. If I'm mistaken, can you point to the docs that suggest that it uses these?

I will re-open if the issue seems valid after a response is given to the previous comment.


update-webpack-for-babel

As per https://github.com/tinacms/tina.io/issues/1758 this PR aims to address out-dated babel dependencies (used by webpack)

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


[webapi] Cleanup designed tests for 2dtransforms

https://crosswalk-project.org/jira/browse/XWALK-4508

Hmm, there are 97 tests in designed status, mostly integrated from W3C. I guess that (1) some of all them failed on Tizen platforms historically, hence were taken away from tests.xml; (2) some of them need vendor prefix, but W3C tests don't have. Could you please take a deep look at these tests?

OK.

@zqzhang @chunywang @haoxli
since it is not easy to complete the analysis within short time, I create a new task for analysis the 2D transform designed cases in "designed" branch.
https://crosswalk-project.org/jira/browse/XWALK-4718
and merge this PR first on master branch.


Release CumulusCI 3.52.0

We should probably also include release notes for:

new version of snowfakery
https://github.com/SFDO-Tooling/CumulusCI/pull/3028
https://github.com/SFDO-Tooling/CumulusCI/pull/3059

This needs an update to version.txt, which is what will actually trigger the release once merged.

🤦🏽
Good catch.


HTML generator not handling circular references correctly

Describe the bug
A message that contains a payload with a circular reference is not named correctly, but is named with N being an integer.
VERSION
@asyncapi/cli/0.30.2 win32-x64 node-v16.13.0
How to Reproduce
Call the following CLI command on the attached minimal reproducible example (MRE) and examine the generated html file:
asyncapi generate fromTemplate ./cycle-mwe.yml @asyncapi/html-template -o test.html --force-write
asyncapi: 2.5.0
info:
  title: storage API
  version: '0.0.1'
channels:
  toy.events:
    subscribe:
      message:
          $ref: '#/components/messages/toyCollectionFilled'

components:
  messages:
    toyCollectionFilled:
      payload:
        $ref: '#/components/schemas/ToyCollection'

  schemas:
    ToyCollection:
      type: object
      description: generic toys
      properties:
        Matryoshkas:
          type: array
          items:
            $ref: '#/components/schemas/Matryoshka'
        dolls:
          type: array
          items:
            $ref: '#/components/schemas/Doll'
    Matryoshka:
      description: a container for toys
      type: object
      properties:
        id:
          type: string
        content:
          $ref: '#/components/schemas/ToyCollection'
    Doll:
      type: object
      properties:
        name:
          type: string

Note: If the content property of Matryoshka in the MRE is commented out, the circluar dependency is removed and the message is named correctly.
Expected behavior
The message is named correctly as stated in the spec file.

@synaos-bwi Could you point me where you have problem?

I see something like that, where is named with N being an integer value?
If you don't see that, please upgrade the generator and/or html template to the latest version.

Using the asyncapi-cli seemed to have used a slightly older version of the generator, but even when calling the most recent genereator directly, I still have the same problem:

My versions and commands:

Adding the --debug flag to the generator states:
$ ag --debug cycle-mwe.yml @asyncapi/html-template -o output2 --force-write
Unable to resolve template location at undefined. Package is not available locally. Error: Cannot find module<EMAIL_ADDRESS>Require stack:
- C:\Users\<USER>\AppData\Roaming\npm\node_modules\noop.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (C:\nvm\v16.13.0\node_modules\@asyncapi\generator\node_modules\@cspotcode\source-map-support\source-map-support.js:811:30)
    at resolveFileName (C:\nvm\v16.13.0\node_modules\@asyncapi\generator\node_modules\resolve-from\index.js:29:39)
    at resolveFrom (C:\nvm\v16.13.0\node_modules\@asyncapi\generator\node_modules\resolve-from\index.js:43:9)
    at module.exports (C:\nvm\v16.13.0\node_modules\@asyncapi\generator\node_modules\resolve-from\index.js:46:47)
    at utils.getTemplateDetails (C:\nvm\v16.13.0\node_modules\@asyncapi\generator\lib\utils.js:206:30)
    at C:\nvm\v16.13.0\node_modules\@asyncapi\generator\lib\generator.js:367:26
    at new Promise (<anonymous>)
    at Generator.installTemplate (C:\nvm\v16.13.0\node_modules\@asyncapi\generator\lib\generator.js:360:12)
    at Generator.generate (C:\nvm\v16.13.0\node_modules\@asyncapi\generator\lib\generator.js:180:73)
    at Generator.generateFromString (C:\nvm\v16.13.0\node_modules\@asyncapi\generator\lib\generator.js:266:17)
    at async C:\nvm\v16.13.0\node_modules\@asyncapi\generator\cli.js:154:9 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\Users\\<USER>\\AppData\\Roaming\\npm\\node_modules\\noop.js'
  ]
}
Template installation started because the template cannot be found on disk.
Template @asyncapi/html-template successfully installed in C:\nvm\v16.13.0\node_modules\@asyncapi\generator\node_modules\@asyncapi\html-template.
Version of used template is 0.28.3.
File C:\PATH/TO/SPEC\output2\index.html couldn't be found. Error: ENOENT: no such file or directory, stat 'C:\PATH/TO/SPEC\output2\index.html'
File C:\PATH/TO/SPEC\output2\js\asyncapi-ui.min.js couldn't be found. Error: ENOENT: no such file or directory, stat 'C:\PATH/TO/SPEC\output2\js\asyncapi-ui.min.js'
File C:\PATH/TO/SPEC\output2\css\asyncapi.min.css couldn't be found. Error: ENOENT: no such file or directory, stat 'C:\PATH/TO/SPEC\output2\css\asyncapi.min.css'
File C:\PATH/TO/SPEC\output2\css\global.min.css couldn't be found. Error: ENOENT: no such file or directory, stat 'C:\PATH/TO/SPEC\output2\css\global.min.css'

please try to add name or messageId to the message under component.
or, try to install AsyncAPI CLI and run generator like
asyncapi generate fromTemplate cycle-mwe.yml @asyncapi/html-template -o output2 --force-write

closing as there was no followup


Intellicode not showing suggestion

Product and Version [VS/VSCode]:1.43.2
OS Version [macOS/Windows]:window 10 x64(1909)
IntelliCode Extension Version: 1.2.6
Target Platform or Language [e.g. Node.js]:Python 3.7.3 64 bit
Steps to Reproduce / Scenario:
1.import numpy as np
2.x=x = np.array([1, 2, 3])
please goto to this link for more info
https://github.com/microsoft/python-language-server/issues/1976

Hi @babul7154, thank you for providing this feedback. I'm one of the Program Managers on IntelliCode and currently investigating your issue. Could you let me know which Python Language Server is active?
You can find the active Python Language Server by heading to Settings (the gear in bottom left of Visual Studio Code).

I am using Microsoft Python language server.

@babul7154 - have you tried new Pylance language server? https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance.

@babul7154 - have you tried new Pylance language server? https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance.

I have used Pylance,  but I have the same error like above

@babul7154 - if you are not getting completions with Pylance, then there won't be any IntelliCode suggestions. IntelliCode is not a completion engine, it works over Pylance or Microsoft server completions. I would suggest filing issue with Pylance at https://github.com/microsoft/pylance-release.
This does not seem to be IntelliCode issue, but rather the underlying language server issue.

Going to close this for now, since Microsoft and Jedi language servers are deprecated.
Customers are welcome to re-open if they're continuing to experience with Pylance


set viewport to fix text scaling issue in nextjs and tailwind

Hmm could not find what's wrong with this. It works when I change the font size for my desktop but not for my android chrome browser. If anyone knows what is the issue, would appreciate a PR, thanks!

Solution : Add the head component and set the default viewport
import Head from "next/head";
<Head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"></meta>
</Head>

link to forum discussion

Prettier is throwing an error. Do you mind running it through the linter before submitting a PR? Thanks.
Also, the default viewport has already been included in _app.js and would be injected in all pages. I don't see why adding it to only index.js would fix the issue.


Location of the cursor at click on input

When the user clicks on the INPUT cursor doesn't turn beginning of the line.

jQuery("#partner_modules_admin_models_CommissionFixed_price").mask("9?999999",{'placeholder':' '});

+1

Closing this one to track on #307 since it has a few more details of the different click behaviors.

+1


Return detailed error message when probe option is not valid

Some options is a bit confusing for debugging, when options are invalid.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers: ayj, kyessenov
If they are not already assigned, you can assign the PR to them by writing /assign @ayj @kyessenov in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

galley/OWNERS
mixer/OWNERS
pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @harryge00. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

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

@douglas-reid Now the function will return detailed error message. However, this means more files are involved and have to be modified.

@harryge00: PR needs rebase.

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

Is this PR still needed?  Should we merge it?  @geeknoid do you want to review (i think you have the required OWNERS)?


Documentation

Like every opensource project, this one could use much better documentation.

Config documentation was added in https://github.com/andrewthetechie/err-aprs-backend/pull/57


Conflicting peer dependencies: React ^16.8.1 || ^17 and React ^18

What happened ?
When trying to install the game dependencies, I ran into an error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/react-dom
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>|| ^17" from<EMAIL_ADDRESS>npm ERR! node_modules/mobx-react-lite
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR!   peer<EMAIL_ADDRESS>|| ^17" from<EMAIL_ADDRESS>npm ERR!   node_modules/mobx-react-lite
npm ERR<EMAIL_ADDRESS>from the root project

Steps to reproduce

Clone the game repository
Run npm install

Possible mitigation
Running npm install --force seems to create a working build for React. Should we just ignore NPM warnings?
Thank you for your time putting these examples anyway.

@raaaahman Did you ever figure this out? I'm dealing with the exact same issue right now with Cypress instead of React.

@david-renner-dwg Yes, running npm install --force still resulted in a working build for me.


Updated global color variables + fixed formatting

Description

Renamed Hooks to hooks for naming convention
Added global color variables with naming similar to acmcsuf.com color variables
Fixed some formatting ( extra whitespace for props, extra brackets,...)

poggers

NOT POGGERS

brain no work at 2am i can fix

how tf lolol did you resolve merge conflict at verify.tsx

yes, it's cus hooks didnt really rename

hooks sus


Fix most SBT's build warnings

This PR fixes most (2 remain) warnings in SBT's own build.
Here are those which remain :
/Users/pierredalpra/Work/Forks/sbt/build.sbt:12: warning: postfix operator intransitive should be enabled
by making the implicit value scala.language.postfixOps visible.
This can be achieved by adding the import clause 'import scala.language.postfixOps'
or by setting the compiler option -language:postfixOps.
See the Scala docs for value scala.language.postfixOps for a discussion
why the feature should be explicitly enabled.
def buildLevelSettings: Seq[Setting[_]] = Seq(
                                         ^

/Users/pierredalpra/Work/Forks/sbt/build.sbt:555: warning: method normalize in object StringUtilities is deprecated: Different use cases require different normalization.  Use Project.normalizeModuleID or normalizeProjectID instead.
def precompiled(scalav: String): Project = Project(id = normalize("Precompiled " + scalav.replace('.', '_')), base = compilePath / "interface").

I'm having quite a hard time to understand where the first one comes from with my basic knowledge of SBT's internals...

Can one of the admins verify this patch?

LGTM, thanks for the fixes!

For the normalize bit, you want normalizeProjectId

@jsuereth should I simply expect that the normalization could be done and get using normalizeProjectID (...).right.get to extract it from the Either ?

@pdalpra yeah, for now.  The reality is we should probably just make something which is already normalized :).  I also think precompiled libs should be going away after 0.13.9

Okay, I'll add that to my PR then :)
Any clues on the first warning ?

I also think precompiled libs should be going away after 0.13.9
@jsuereth Do you mean with @Duhemm efforts, or something else?

@pdalpra No, looks liek a bug in detection somehow....

@dwijnand With the @Duhemm efforts


[BUG] Products not associating with Apis as using APIOps Toolkit for Azure APIM v<IP_ADDRESS> latest version

Release version
APIOps Toolkit for Azure APIM v<IP_ADDRESS>
Describe the bug
I have to associate products with Apis in APIOps and using "APIOps Toolkit for Azure APIM v<IP_ADDRESS>" latest version hoping it contains fix of products association with apis.
Product APIs are being stored in /artifacts/products/productName/apis/apiName/productApiInformation.json. After running publisher pipeline it's successful but products don't get associate with Apis.Can someone share the fix if this has been resolved and does v<IP_ADDRESS> contain fix of issues and v6.0.1-rc1?
Expected behavior
Publisher pipeline is successful and products should associate with Apis on azure portal.
Actual behavior
Publisher pipeline is successful but products not associating with Apis on azure portal.
Reproduction Steps
Using latest APIOps Toolkit for Azure APIM v<IP_ADDRESS>

Can you post your publisher logs?

I am looking into what level of publisher logs I can share here as it contains client data, meanwhile could you please confirm that does v<IP_ADDRESS> contain fix of all previous products issues and v6.0.1-rc1 or I should use v6.0.1-rc1 source code to associate products with apis.

Getting below error while running publisher pipeline for test as I mentioned using latest APIOps toolkit v<IP_ADDRESS>, please provide the fix asap.
##[error]System.Net.Http.HttpRequestException: HTTP request to URI https://management.azure.com/subscriptions/xxxx75-xxxx-xxxx/resourceGroups/rg-xxx-tst-xxx-xxx-api/providers/Microsoft.ApiManagement/service/apimxxxtstxxxx11/apis/apiName/diagnostics/applicationinsights?api-version=2023-09-01-preview failed with status code 400. Content is '{"error":{"code":"ValidationError","message":"One or more fields contain incorrect values:","details":[{"code":"ValidationError","target":"loggerId","message":"Logger Id 'apimxxxdevxxxx11-logs' does not exist"}]}}'.

@username-anonymous - see our Wiki for handling application insights loggers.

We have similar experience with publisher for the products.
Here is screenshot, removed API and Products names:


contributors

.

@all-contributors please add @notenoughbees for Code

@all-contributors please add @giopalma for Code


Prepare for 0.7.0 release.

bors r+

Ah whoops. I hadn't realised we were using bors here. I'll remember to let it do the merging in future.

no worries! not a big deal at all :)


docs(configure-mayastor): updated note to bypath or byid

In reference to this issue: https://github.com/openebs/mayastor/issues/1530
Hi @tiagolobocastro Could you please confirm if this change is relevant? If now, can you suggest the right place to add this note?

Thanks @AJDatacore, could you please cherry-pick to develop as well?


Bug/icloud download backup

Icloud files download fixation

Hello again,
This might be the issue with the asset token value in the request. Asset token is the only parameter related to particular asset file in the record retrieve request. What do you think?


ScriptSharp as a PCL Target

I'm not fully familiar with the implementation behind ScriptSharp to know well enough how much of the .NET framework is compatible with it, but it would still be extremely useful for multi-targeting code if ScriptSharp could be a build target for PCL libraries. Enabling code sharing on this level could empower several mechanisms for cross-platforming between native mobile, desktop, and web based applications. Even if it wasn't quite powerful enough to run a whole ton it could be backed by remoting using SignalR or even as a means of sharing service contracts and DTO definitions between client and server without requiring both ends to use ScriptSharp (i.e. C# Mobile Client -> C# Node.js backend, etc.)

Closing this ticket to get it out of my GitHub issues list and since I'm off into the wonderful world of the Web Assembly runtime now; thanks for the early days of C# in the browser :)


Feature request: open the app at a specific comment view

This app looks amazing. I'm often reading HN with an RSS client and I'm thinking of a way to open the comments with hackernews_tui. Have you considered introducing an optional  positional argument that takes a URL and opens the appropriate view directly?

Hi @AdrianVollmer, I have not, but implementing one shouldn't be too difficult.


[WTD] Write the Docs Inclusion Project

Hello fellow documentarians!
First off, I'd like to thank each of you for participating in the Write the Docs writing day. We appreciate you spending time with us while we work towards building more inclusive documentation.
The Goal
At Microsoft, our mission is to empower every person and every organization on the planet to achieve more. To realize this mission, we need to ensure that our documentation speaks to a global audience and is inclusive of all.
We are seeking your help to assist us in ensuring our documentation is more inclusive. Review the resources below, as they will help you on your way.
We are asking for your help in the following ways:

Provide an update from our curated list of suggestions
Update a topic you are familiar with, which has an issue
File an issue on content in which you’ve found an issue

How to contribute from the curated list of suggestions

Review the list of GitHub Issues to find suggested updates curated by our team
Provide a comment on an issue that you are picking up, to avoid duplicate effort
Fix the issue(s) outlined in the GitHub Issue
Create a Pull Request to submit the fix

Start the PR title with [WTD]

How to contribute to a topic you are familiar with

Browse to the article on docs.microsoft.com
Select the edit button in the header to be redirected to the article on GitHub
Select the pencil icon, and edit the relevant lines of the article
SelectPropose file change, in the GitHub UI to create a pull request

Start the PR title with [WTD]

File an issue on content in which you’ve found an issue

Browse to an article on docs.microsoft.com
Under the Feedback header at the bottom of the page, select the “This page” button under the Send feedback about text.

Start the Issue Title with [WTD]

Leave a descriptive comment to help us narrow down how to resolve the issue

Include a link to one of the Inclusive Language resources below (or others you know of) -- help us grow and learn, as well!

Resources

Microsoft Docs Contributors Guide
Gender Inclusive Language Guidelines – UN
Inclusive Language in Four Easy Steps - Harvard

Repositories in Scope

Azure Docs
PowerBI Docs
System Center Configuration Manager (SCCM) Docs

Hi, I happened to stumble upon this fantastic effort. Looks like almost all issues are still open, even though there is a lot of PRs created and merged in connection with it. For example #31442 is still upon although comments and referenced PRs have all been merged. Is there something I'm missing here, or something I could help with somehow? 🙂
I would very much like to contribute with increasing the inclusive language used, I believe that would be much easier if this issue was more up to date.
There's also the possibility that I just haven't found the correct information in order to fully understand how this issue is organized, if so, please let me know and I'll try and educate myself more to be able to understand 🙂

@SyntaxC4 - Updated you to be the assignee for this issue. Could you please work to address the feedback and close the issue? See these instructions. Thanks.


Issue installing

I get the following error when install your ALAC
aclocal: warning: couldn't open directory 'm4': No such file or directory
Both on my Raspberry Pi3 and my Pi Zero

Thanks for the report. Did you try $ autoreconf -fi?

Yes, thats where the error comes in

Okay, thanks. I'll have to try it on a clean installation. It'll be a day or so...

So, I had a look at this on a clean Raspberry Pi (original model). I got:
pi@raspberrypi:~/alac $ autoreconf -fi
aclocal: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:40: installing './compile'
configure.ac:63: installing './config.guess'
configure.ac:63: installing './config.sub'
configure.ac:20: installing './install-sh'
configure.ac:20: installing './missing'
Makefile.am: installing './INSTALL'
codec/Makefile.am: installing './depcomp'
pi@raspberrypi:~/alac $

So, there was a warning alright, but everything went fine. It did take quite a long time, but eventually finished successfully.

Yip, the same thing on my end.. and yes it did install... checked and there was a m4 folder with content in it!
How do a confirm that Shairport Sync is actually using it?

You need to select it in the config file, and then if you have log_verbosity set at 2 (maybe at 1 as well – I can't remember just now) it will tell you which decoder it's using.

and you lost me!

So, in the config file at /etc/shairport-sync.conf – there is a new setting for telling it which decoder to use (maybe you should look into the sample file at /etc/shairport-sync.conf.sample to see what I mean). Also, you can set the verbosity of the logging that Shairport Sync does. Normally it's 0, so only informational stuff is output, but you can set it to 1, 2 or 3 to get a little, a lot, or loads of log output in the system log.

Mar  4 19:18:27 pizero shairport-sync[603]: Apple ALAC Decoder used on encrypted audio.
And happiness was his name! 👍

Splendid. Enjoy!


Take the 10-Second Talos Survey

Take the 10-second survey (...and help the project)

Talos doesn't seem to be compatible with Tensorflow 2.0.


ArcRotateCamera Alpha radius problem?

https://github.com/BabylonJS/Babylon.js/blob/46b82f38e1c8f4b6fdf9336c95c33489193607f3/src/Cameras/babylon.arcRotateCamera.ts#L579
if i set
lowerAlphaLimit  = 3.14;
upperAlphaLimit = 0 ;
it can't limit at alpha > 0 case

You are totally right. Will be fixed soon


Prefetch comportment

I have a question that maybe is too stupid, but I'm lost in this thing. I have this query:
  apollo: {
    quotation: {
      query: GET_REPLIES,
      prefetch: true,
      variables() {
        return {
          quotationId: this.$route.params.id,
          filterValue: this.currentFilter,
        };
      },

      fetchPolicy: 'cache-and-network',

      update(data) {
        return data.getQuotationWithRepliesRanked;
      },

      watchLoading(isLoading) {
        if (this.loading !== isLoading) {
          this.loading = isLoading;
        }
      },
    },
  },

However, it's not loading on server-side. I think the problem is the filterValue because it's depend on a variable in data. But I need this to be reactive, and has a default value on init.
How can I fix this?

This question is available on Nuxt.js community (#c62)

In case it helps - the module only seems to prefetch components passed by nuxt's render function, which I assume is only page components
relevant code:
https://github.com/nuxt-community/apollo-module/blob/master/plugin.js#L54

@alidcastano if your query depends on route params you need to do something like this:
(...)
prefetch({route}){ // => prefetch:true will not work as your query depends on route params
  return {
   quotationId: route.params.id
  }
}
(...)

Keep in mind that your search params will be only serverside if you depend on the this context. prefetch function has not this context. Check out the vue-apollo example about SSR: https://github.com/Akryum/vue-apollo#server-side-rendering

@dohomi Some of my variables are in data, they are reactive, I see here that context has access to the Store. Maybe this is a way. Change my reactive params from data of a component to the store. What do you think about this aproach?

I found the mistake. Like the documentation said, the prefetch object and the variables object need to be exact equal. But my variables are defined in the data scope, which is not available on prefetch object. What I've did was move my Data object into Vuex Store. Store is available at Nuxt Context, that way I can set a default value of variable and handle with mutations when I need to refetch the data.
I really found this a little confusing, and I'm not sure when I need to use prefetch or use only fetch or asyncData. Could you guys explain to me? Thanks!

@kavalcante prefetch is for SSR render. This means you are defining a query on the server on prefetch, there you need to be aware about the limitations. Prefetch has the Nuxt context applied which is similar like you do a request like asyncData or fetch in the Nuxt component lifecycle.
variables is the client side reactive function for the client to apply search params or anything else. And now to light up the confusion: both, variables and prefetch must return initially the same set of data to return the same set of data.
Hope that makes sense for you

It seems after testing in Pages, Layouts and Components that prefetch is only occurring in Pages as @alidcastano mentioned. As I'm new on both nuxt and apollo, is it intended and do we have to prefetch data on each page as best practice or can we have prefetch working elsewhere?

@dohomi Yes, that's a great explanation. I think my problem was that with asyncData and fetch, usually you do an ajax call. And when you want to refresh you use a method or something like this. We have the same behaviour with vue-apollo, but a little different to expose this.
And @gbouteiller I was with the same question too. But in my test only work prefetch in Pages. Which make sense I guess.

@gbouteiller @kavalcante the prefetch is $apollo dependend and has no direct connection to nuxt but vue-apollo. So it should work in all components but depending on your code it might get out of sync if you have lot of nesting and maybe overlook some v-if/else pattern somewhere.
Hope you guys getting along I will close this issue as I don't see any open issue on the package itself for now.

@kavalcante @gbouteiller You can use willPrefetch (in vue-apollo) to prefetch data in component.
import { willPrefetch } from 'vue-apollo'

export default willPrefetch({
  apollo: {
    allPosts: {
      query: gql`query AllPosts {
        allPosts {
          id
          imageUrl
          description
        }
      }`,
      prefetch: true, // Don't forget this
    }
  }
})

See more https://github.com/Akryum/vue-apollo#server-side-rendering

during prefetch how to set the variables from data or veux store. It only takes the hardcoded variables??
any idea @dohomi

@razorabhu1995 not sure what you mean? you either set prefetch: true or you provide a function as follows:
prefetch(context){
  const {store} = context
  return {}
}

I found the mistake. Like the documentation said, the prefetch object and the variables object need to be exact equal. But my variables are defined in the data scope, which is not available on prefetch object. What I've did was move my Data object into Vuex Store. Store is available at Nuxt Context, that way I can set a default value of variable and handle with mutations when I need to refetch the data.

I know this is old, but could you please elaborate on this @kavalcante ?
My Vuex store is not populating until after render. I persist Vuex state with vuex-persiststate, but the persisted state is empty in asyncData, fetch, prefetch, etc. Nothing is available until a couple hundred milliseconds after render.
Any thoughts on this?

Please update to rc-4 - this should work if not reopen again

@dohomi  is it true that we prefetch do not work in components in NUXTJS but works only in Pages??

I can't even make prefetch work on pages, anyone with the same issue?


Add msteams sso url env variable

Added env variables for teams sso token url and relogin Timer Mins.
@sabrina-yee please review.

Not needed anymore


Support for Petri Nets

Could be interesting to support Petri Nets. It shouldn't be too complicated in the logic, although it may be an interesting challenge visually.
Currently Petri Nets can't be emulated because OPs and IOs can have only one outcome and decisions are binary.

Feel free to do a PR. ;-)


[Bug]: pnpm install fails with Ubuntu 24.04

Before proceeding, is there an existing issue or discussion for this?

[X] I have done a search for similar issues and discussions.

OS and version
Ubuntu 22.04
Open-RMF installation type
Source build
Other Open-RMF installation methods
No response
Open-RMF version or commit hash
main
ROS distribution
Rolling
ROS installation type
Binaries
Other ROS installation methods
No response
Package or library, if applicable
No response
Description of the bug
Using 24.04, when trying to install packages for rmf-web using pnpm install as instructed by the README, the installation fails with this error message. The key part of the error appears to be
│ [pipenv.exceptions.InstallError]:       ValueError: invalid pyproject.toml config: `project`.
│ [pipenv.exceptions.InstallError]:       configuration error: `project` must contain ['name'] properties
│ [pipenv.exceptions.InstallError]:       [end of output]

This may be related to this error report for asyncpg which is a dependency of rmf-web.
Steps to reproduce the bug
Follow the README instructions while using Ubuntu 24.04.
Note that since pip in Python 3.12 no longer supports installing packages directly onto the system, I created a virtual environment to pip install the pipenv dependency. I don't know if this could be a factor in getting this error.
Expected behavior
No response
Actual behavior
No response
Additional information or screenshots
No response

We no longer uses the system pipenv now, we now install pipenv inside the venv as part of the bootstrap script.


release notes for 0.10.2

Release PR for 0.10.2

@jchodera can you take a look at this when you get a chance? Thanks!

ooof, forgot to run this through my spellcheck! :see_no_evil:  Will address everything else :smile:


Beta update assert error in dynamic rcnn

When the beta updates, new beta will be the median of the beta_history. It might be 0.0 but the beta used in loss function should be greater than 0.
The assert error occurred.
https://github.com/open-mmlab/mmdetection/blob/5d07dda8719b0c67c11ad015410bc111e9f90200/mmdet/models/roi_heads/dynamic_roi_head.py#L144
The code to fix it could be as follows:
if np.abs(np.median(self.beta_history)) < 1e-15:             new_beta = self.bbox_head.loss_bbox.beta   else:             new_beta = min(self.train_cfg.dynamic_rcnn.initial_beta,                        np.median(self.beta_history))
I am willing to create a PR to fix it as well.

Hi @formorebeat, you are welcome to create a PR to fix it.


Does any one know how could I use grpc ssl calling tensorflow serving , and my client was written by Python.

What version of gRPC and what language are you using?
Version: 1.13.0
Language: Python, C++
What operating system (Linux, Windows, …) and version?
Linux CentOS 7
What runtime / compiler are you using (e.g. python version or version of gcc)
Python2.7, GCC 4.8.5
What did you do?
First I started a tensorflow serving, by modifying model_server/main.cc like this:
...
std::shared_ptr<grpc::ServerCredentials> creds;
grpc::SslServerCredentialsOptions sslOps;
grpc::SslServerCredentialsOptions::PemKeyCertPair keycert = {key, cert};
sslOps.pem_key_cert_pairs.push_back (keycert);
creds = grpc::SslServerCredentials(sslOps);
...
ServerBuilder builder;
builder.AddListeningPort(server_address, creds);

"key" is the content in server.key, "cert" is the content in server.crt.
When I call it by a Python client, it failed.
My python client was like this:
with open('./server.crt') as f:
  root = f.read()
creds = implementations.ssl_channel_credentials(root, None, None)
channel = implementations.secure_channel(host, int(port), creds)
stub = prediction_service_pb2.beta_create_PredictionService_stub(channel)

What did you expect to see?
I would like to see the model deployed in tensorflow serving be called successfully.
What did you see instead?
E0720 18:57:02.647300035   38664 ssl_transport_security.cc:1228] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.
AbortionError(code=StatusCode.UNAVAILABLE, details="Connect Failed")

Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
Anything else we should know about your project / environment?

Looks like some errors on SSL certificate. @elvys-zhang Could you specify which version of OpenSSL are you using?
@mehrdada Could you reproduce?

@jiangtaoli2016 "OpenSSL 1.0.1e-fips" for python and "/usr/lib64/libevent_openssl-2.0.so.5.1.9" for c++.

@elvys-zhang Your openssl versions are too old. I am not familiar with libevent_openssl. if you can remove openssl dev library from your system (so that boringssl kicks in), it probably will work. At least it worths a try.

Please reopen if issue still exists with BoringSSL.


Add Elm.gitignore

http://elm-lang.org/

Please LGTM

:+1:

Complete information:

The Elm programming language is on elm-lang.org.
This gitignore ignores build artefacts and downloaded dependencies. The directory name was decided on here.

(copied from my PR, I didn't notice this one)

Shouldn't this re-include elm-stuff/exact-dependencies.json, like so? If I understand correctly, that file is significant, much like Gemfile.lock.
elm.js
elm-stuff/*
!elm-stuff/exact-dependencies.json

(but I'm relatively new to Elm and could be wrong)

I think it's a matter of if you're publishing a library or a "final application".
E.g. even the Ruby gitignore tells you
# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset

If you're writing a final application you may want to check in exact-dependencies.json, a library? nope.

That should probably be specified in the .gitignore then, the way the Ruby one does. It's pretty important.

Closing in favour of https://github.com/github/gitignore/pull/1610 which has some extra rules around the REPL.


SMS integration

Definition of Done: As a BlueBubbles user, I want to be able to integrate SMS with BlueBubbles so I can see all conversations as part of 1 list

Each conversation should be indicated as being SMS or iMessage (green vs. blue accent?)

Would this also allow for importing SMS history from another app? For example, when I switch my SMS app from Samsung Messages to Signal, my history doesn't transfer

Would this also allow for importing SMS history from another app? For example, when I switch my SMS app from Samsung Messages to Signal, my history doesn't transfer

My guess is that when we implement this, it will use the SMS API provided by Android/Google. So, it's whatever history that includes. I'm not sure how Signal does it, so idk if it'll be the same

https://pub.dev/packages/telephony

At the risk of putting some feature creep into this issue, from my POV the ideal experience from an end user standpoint is that SMS messages get synced between the android device and other blue bubbles clients (i.e. web) - which is how my current go-to android sms app (https://home.pulsesms.app/overview/) behaves (though I think they store messages indefinitely on their own backend which I'm not a huge fan of, but BB setup solves for that with separate GCP projects).

We are currently rewriting the entire Android/client app, and we are making sure to keep SMS in mind. We may need to change some of the app UX workflows, but it'll be in the name of simplicity and maintainability.
Once the rewrite is done, it'll be much easier to implement SMS. I think our goal with SMS is to integrate it very similar to how it's natively integrated with the iMessage app on macOS. They'll use the same database and most of the same logic.

That sounds excellent - thanks for the note @zlshames!

So I know that BlueBubbles has SMS forwarding capabilities (if your Mac has a connected iPhone with a SIM card) but I'm wondering if there is RCS support now that iOS has RCS?

So I know that BlueBubbles has SMS forwarding capabilities (if your Mac has a connected iPhone with a SIM card) but I'm wondering if there is RCS support now that iOS has RCS?

There is no RCS public API, so we won't natively support it. Though, I know users have reported RCS Forwarding (similar to SMS forwarding), should still work.


Add pem to PATH instead of alias

Add PATH modification to .bash_profile instead of alias (export PATH=/path/to/pem:$PATH).

I will solve this issue.


Final goreleaser fix

Should be the last goreleaser fix, the previous #752 worked, but revealed another bug. This should fix the binary release error.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (cb3eeb2) 79.08% compared to head (d746cb6) 78.58%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #753      +/-   ##
==========================================
- Coverage   79.08%   78.58%   -0.51%
==========================================
  Files          86       86
  Lines        6121     6121
==========================================
- Hits         4841     4810      -31
- Misses       1075     1105      +30
- Partials      205      206       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Issue label occasionally doesn’t appear visible

Bug Report Dump (Auto-generated)

Version 1.12.0 (1079)
Device: iPhone 7 (iOS 11.0)
TestFlight: true

There’s space for it in the “New Issues View can appear under...” cell.

Yuck. Bad height calculation?
Sent with GitHawk

Whoops! I didn’t check if label arrays were equal in the isEqual method. Will submit a fix!
Sent with GitHawk


ref(k8s): remove K8sServiceToMeshServices from Controller

Description:
This change removes the K8sServiceToMeshServices method from the k8s
Controller interface. Since K8sServiceToMeshServices only relies on
the GetEndpoints method already in the interface and nothing specific
to the unexported client implementation, it has been converted to a
function that accepts a Controller.

Testing done: Ran affected unit tests locally.

Affected area:

Functional Area

New Functionality
[ ]

CI System
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[X]

Demo
[ ]

Documentation
[ ]

Egress
[ ]

Ingress
[ ]

Install
[ ]

Networking
[ ]

Observability
[ ]

Performance
[ ]

SMI Policy
[ ]

Security
[ ]

Sidecar Injection
[ ]

Tests
[ ]

Upgrade
[ ]

Other
[ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? No

Did you notify the maintainers and provide attribution?

Is this a breaking change? No

Codecov Report

Merging #4372 (50fd3fc) into main (5229967) will increase coverage by 0.01%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main    #4372      +/-   ##
==========================================
+ Coverage   69.18%   69.20%   +0.01%
==========================================
  Files         212      212
  Lines       14458    14450       -8
==========================================
- Hits        10003    10000       -3
+ Misses       4403     4398       -5
  Partials       52       52

Flag
Coverage Δ

unittests
69.20% <75.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/k8s/mock_controller_generated.go
0.00% <ø> (ø)

pkg/k8s/types.go
100.00% <ø> (ø)

pkg/providers/kube/client.go
72.22% <50.00%> (ø)

pkg/envoy/registry/services.go
89.47% <100.00%> (ø)

pkg/k8s/client.go
93.01% <100.00%> (ø)

pkg/messaging/workqueue.go
89.28% <0.00%> (-10.72%)
: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 5229967...50fd3fc. Read the comment docs.


Java

Could you make a java example about it?

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

ID: ee6d7d1b-f159-2d1e-fc31-ac55f6a05a62
Version Independent ID: 892adf56-55d4-cddc-94d8-d96ef7dd6cda
Content: What is Azure Cloud Services
Content Source: articles/cloud-services/cloud-services-choose-me.md
Service: multiple
GitHub Login: @Thraka
Microsoft Alias: adegeo

@pgsoub Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@femsulu ping

@MicahMcKittrick-MSFT maybe you can reassign this so it falls off my list.

@Thraka done

Hi everyone,
At the moment, we do not have the resources to add new content for Cloud Service documentation.  I have added this request to our backlog, though, to ensure the request isn't lost.  Thanks for your feedback.
#please-close


This code can be optimized using list comprehension

https://github.com/hitblast/avro.py/blob/f535544fdd83577c0864b681ea092321b13e374b/avro/utils/count.py#L9-L34
Check this :

https://www.linkedin.com/pulse/loop-vs-list-comprehension-map-function-akhilesh-singh

I've already been using list comprehension in other parts of the code, but thanks :D really appreciate it.

This can be even better if we use built in functions. Let me see if i find something

@baseplate-admin Could you please have a look at the pull request mentioned above?


Remove the requirement for marking GDTaskPlayerLoopAutoload as autoload

This PR enables the GDTaskPlayerLoopAutoload to self-initialize when any GDTask API is called, removing the requirement for adding it as an autoload. For backward compatibility reasons, the user can still add this script to the autoload list and let the engine load it instead.

If this gets accepted, should we rename the GDTaskPlayerLoopAutoload and the AutoLoad folder? But I think that would break backward compatibility.

This may also allow us to ship the addon as a plain managed class library through NuGet, which is more consistent with typical C# workflow.

@Delsin-Yu hey thanks for the PR! I've been busy with university work for the past few months so I haven't had the chance to look over your PR. I'll be sure to review it this weekend. Thanks again for your help :)


When composing from multiple views and one model the refs inside the view do not work

I'm submitting a bug report

Library Version:
1.0.0

Operating System:
Linux (Ubuntu)

Node Version:
6.2.0

NPM Version:
3.10.6

JSPM Version
JSPM 0.16.42

Browser:
all

Language:
all

Current behavior:
I am using  to compose a single model with multiple view to provide different editors for th e same data. The binding works fine however I noticed that references from the view do not work.
Check the following gist: https://gist.run/?id=ec85baf5daed86af838351f446820855
Click M1 to load the m1.html view then click Log. The ref is done correctly.
Click M2 to load the m2.html view then click Log. The ref is now null.
It would also be great to be able to handle the end of compose event. The change would be quite simple just send dispatch an event in https://github.com/aurelia/templating-resources/blob/master/src/compose.js after line 179.

@jdanyow Can you look into this? Any chance this could also be connect with the task queue timing issue you were working on?

Initially I thought this was not a bug because the compose element had model.bind="this" instead of $this.
But once I fixed that issue and updated the gist to the latest aurelia bits, I found that the compose element binds the new view before unbinding the old view. When the old view finally does unbind, it clears the bound value of the property.
https://gist.run/?id=2b535b943d372602000a01298594bf1b

ok I'm back to thinking this is not a bug and just an unsupported scenario. The composition engine needs to bind the incoming view model before removing (and unbinding) the previous view model to enable transition scenarios.

bind incoming vm: https://github.com/aurelia/templating/blob/1.1.1/src/composition-engine.js#L202
unbind previous vm: https://github.com/aurelia/templating/blob/1.1.1/src/composition-engine.js#L205

@EisenbergEffect thoughts?

I'm not sure what the best thing to do it. We could have the unbind of a ref not set the value to null, but I'm not sure if that would cause other problems.

Thank you for the time to consider this. It is not a blocking bug for us, we managed to work around this problem. I think this is a very rare use-case.

Maybe we could make the ref unbind logic skip setting the property to null when the property's value is not the element associated with the ref:
 unbind() {
     if (!this.isBound) {
       return;
     }
     this.isBound = false;
+    if (this.sourceExpression.evaluate(this.source, this.lookupFunctions) === this.target) {
       this.sourceExpression.assign(this.source, null, this.lookupFunctions);
+    }
     if (this.sourceExpression.unbind) {
       this.sourceExpression.unbind(this, this.source);
     }
     this.source = null;
   }
}

That sounds pretty reasonable.
On Oct 5, 2016 5:22 PM, "Jeremy Danyow"<EMAIL_ADDRESS>wrote:

Maybe we could make the ref unbind logic skip setting the property to null
when the property's value is not the element associated with the ref:
unbind() {
if (!this.isBound) {
return;
}
this.isBound = false;+    if (this.sourceExpression.evaluate(this.source, this.lookupFunctions) === this.target) {
this.sourceExpression.assign(this.source, null, this.lookupFunctions);+    }
if (this.sourceExpression.unbind) {
this.sourceExpression.unbind(this, this.source);
}
this.source = null;
}
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aurelia/templating/issues/467#issuecomment-251836457,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIBnakxks8NVl69V_XXz_gXHlhmBsZtks5qxD8tgaJpZM4KHvWj
.