Editable menus

I noticed it seems non-intuitive/difficult to edit the menus in any sort of non-trivial way. It would be nice to even have a "customSplashMenu" setting or something that you could set to a multi-line ASCII string for a simple way to do a custom main-menu. I think this was supported in an older version of the engine.

Also, things like custom prompts/submenus are hard for me to grok. I don't see how you could even add a "What is your name?" prompt for example (much less "Race" and "Class" menus).

Yes, you are right. This is heavily under-developed (see #132, perhaps what's proposed there would be an improvement?) and complexity of colours and fonts and highlightable and inert parts (see the help screens for what needs to be supported) leaks through any weak abstractions we might have.
I don't have experience with widget libraries, but perhaps we should just have several ready widgets (but I guess in libraries they are usually much less general that what we need?). Or perhaps Brick can be an inspiration: https://hackage.haskell.org/package/brick. However, even the single most important widget that we have, a menu, is too complex right now, both in inputs and outputs, just as you experienced.
Main menu is now more constrained, because it displays the blurb, which needs to be rendered differently depending on whether square or half-width rectangular font is used. Also, it corresponds visually to the scenario choice screens. Still, configurability and, in particular, a configurable background ASCII art, would be welcome. Perhaps after we simplify menus and define other widgets to avoid the current painful compllexity.
You are right, we don't have any text entering widget. And it's probably not trivial at all to add. The closest thing we have is number entering (one of 3 widgets we have, total?)
https://github.com/LambdaHack/LambdaHack/blob/95547fbb0549ba3e32a36911f60e0834f112dd3f/engine-src/Game/LambdaHack/Client/UI/HandleHelperM.hs#L360
That definitely deserves its own issue. Perhaps it could be tested in the sample LambdaHack game by enabling edits to hero names (with initial defaults already in config). That would also enable #71.

However "Race" and "Class" menus are relatively easy to do. E.g. in exactly the way tweak convenience settings/mark suspect terrain can be currently cycled among untried, all and none. Or start new game/scenario, which displays whatever you want on the right, depending on which option is chosen. I guess, for now, the best way to implement class would be as an "organ" that is displayed in @ menu, representing the accumulated training residing in the brain. Perhaps class could even be the main organ, the body of the actor.

In terms of widgets, it looks like SDL has a tutorial regarding TextInput widgets. However, the library functions are not fully functional and there are no "build-in" widgets currently supported. I did use the TextInput in my roguelike game to quite some success, but it is mostly for decoding UTF8 text input from the keyboard at this stage and not so much for widgets. That being said, it could still have some use to us in terms of the widget implementation.

I'd rather do this in a way that works 100% the same in SDL and in the browser using character-input that already works fine, but if players request Japanese names (and contribute good fonts that contain such characters) I'm open to implementing this per-frontend.

Fine, let's do this per-frontend with full UTF8 support.
Regarding contributing fonts, people can customize their fonts even in their own installation of a game, but I may not be generous enough to maintain or yeats a feature I don't use if they are not generous even as much as to share their font config customization or their game content for the benefit of other players or game creators.


wesleyt10

https://otland.net/threads/wesley-gallery.259311/#post-2508982
https://otland.net/threads/wesley-gallery.259311/#post-2510954


Update info about using Siri to turn on / off switch control

What does this PR do?
In some newer iOS versions, it is working fine to use Siri to turn on or off switch control. I could not find iOS release notes on information in which iOS version this was added, but it's working in iOS 17.6.1. Since this makes turning on and off switch control immensely easier, I would like to add it to the docs even though it might not be working for some users with lower iOS version.
How do you test this PR?
Test link: https://appt.org/en/docs/ios/features/switch-control#enable-switch-control and https://appt.org/en/docs/ios/features/switch-control#disable-switch-control

This doesn't work on iOS 17.5.1. Currently updating to 17.6.1.

It doesn't work for me on iOS 17.6.1, both in Dutch and English.
Can you make a video showcasing that how it works on your device, @fbernutz ? Thanks!

It doesn't work for me on iOS 17.6.1, both in Dutch and English.
Can you make a video showcasing that how it works on your device, @fbernutz ? Thanks!

I press the power button to use Siri and say "Turn on Switch Control", later I say "Turn off Switch Control":
https://github.com/user-attachments/assets/218a8e92-53e2-4c9c-a74e-45943020a43e
My phone is set to English language + region is Germany, Siri language is set to English (UK). I have an iPhone 13 Pro with iOS 17.6.1. Switch Control scanning style is auto, control mode is "Item Mode", I have setup one switch with Full Screen to select item.

Thanks for sharing @fbernutz
Maybe you can use that shortcut because you have an accessibility shortcut sets for Switch Control. Or maybe I can't use it because Switch Control hasn't been set-up properly or something.
I'm going to update to iOS 18 later today and will give it another try. But considering it works on your device, either way it's a good addition to the article.

Hi @fbernutz , it still doesn't work for me - but I think it's good info to have for those that can use it. Just merged.


[EBPF-560] attacher: Fix TestSingleFile flaky test

What does this PR do?
This PR attempts to fix a flaky test in the TestAttacher suite by ensuring that the exit event is notified to the attacher.
Motivation
Describe how to test/QA your changes
Automated tests should pass.
Possible Drawbacks / Trade-offs
Additional Notes

/merge


Resizable Bar not enabling after patching

System

Motherboard: Gigabyte GA-Z77-D3H
CPU: i5-3470
BIOS Version: F23b
GPU:
[V] CSM is turned off. GPU-Z info, logo in fullscreen
[V] 4G decoding is enabled. Only GPU-z info
[V] UEFIPatch is applied
[V] I have read Common issues (and fixes)

Description
My 4G decoding offset above is "0x3". I set it to 0x0, before using ReBarState I set it to 0x1 and reboot. CSM in my BIOS mode: “Never”. When loading the OS, the Gigabyte logo is displayed in full screen mode. After fixing the UEFI and using Q-Flash, I started the system. But I noticed that after fixing UEFI, the Large Access Memory item disappeared in the device manager. Before the UEFI change, LAM was present in the device manager and showed a long message that did not look like something like: PCI-Bus, it was different. I ran ReBar state, and set the value to 13. After the reboot, absolutely nothing changed. GPU-Z showed that everything was “yes”, except for Resizable Bar is enabled in bios, this item was “no”. My video card: Intel Arc A770 (16 GB) latest drivers, I had a control panel installed which gave an error stating that the Resizable Bar is not enabled. The device manager did not contain the "Large access memory" item. Next, I tried to reboot several times, this did not give any effect, except that while the system was loading, the logo appeared and disappeared in less than a second, before changing the UEFI, the system boot took much longer, and the logo was displayed for 3-4 seconds. After reboots, I changed the ReBar State values, but this did not have any effect. I entered GRUB, and decided to "reboot", 4G above decoding. After the command setup_var 0x3 0x0, the system, as described in the article, did not boot, there was no image, and there was no POST(CMOS fixed). Could it be that I didn't perform the DSDT patch correctly?

when you flash bios all settings get reset
from what you've written it looks like you forgot to disable csm.
and missing dsdt patch on gigabyte lga1155 will cause windows to freeze or bsod on boot logo

when you flash bios all settings get reset
from what you've written it looks like you forgot to disable csm.
and missing dsdt patch on gigabyte lga1155 will cause windows to freeze or bsod on boot logo

hi, it seems that I write in issues when I am one step away from solving a problem.
CMOS seems to have helped. Serial
setup_var 0x3 0x0
and
setup_var 0x3 0x1
solved my problem. After the reboot, LAM appeared, as well as GPU-Z and the Intel Arc A770 driver write that ReBar is enabled. It seems so far so good.


Enable sanitizers in SourceKit-LSP PR testing 🚥 sourcekit-lsp#1452

rdar://129294941

We’ll see when I get them passing. But it’s essentially running tests 4 times now (once without sanitizers and once with each sanitizer), so I’m expecting it to add ~15 minutes

@swift-ci Please smoke test


Fix 32bit x86 build

Pass 32bit toolchain to cmake for cross-building x86 linux from
x86_64 linux. Also CI target is added.
Ref: https://github.com/google/boringssl/blob/master/BUILDING.md
Fixes #277

To speed-up merging I addressed the comments myself, we can undo the changes later if needed.

Thanks. Looks like it broke CI which is not caugut on the branch. Created #289 to fix it.


[Fix] Move init dist connection into the setup function

What does this PR do?
Fixes #6318
This fix moves the init ddp connection for DDP into the setup function, and reorders the hook such that setup can now have access to the initialized distributed environment. This is also important for FSDP.
This fix however diverges DDP Spawn from DDP, and should be noted in the docs. As @ananthsub and @awaelchli have brought up, we may need to discuss the responsibility of hooks, primarily because we're seeing some inflexibility in the API when changing call orders of hooks/custom loops.
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

The tests in tests\accererator\test_acceleratror_connector hang on my server. I'll investigate

Few pointers:

DeepSpeed GPU tests had to be made into special tests, I was getting local errors since torch dist is being initialized and making them independent tests seems to fix them. Not high priority now, but we could wrap them potentially in a fixture such that torch distributed is deleted
I have to call model_to_device twice in the single device plugin; once before and once within pre_dispatch. This is to handle the case if user's define layers within setup which need to be moved to the correct devices. This does mean if the user defines layer in setup, things can break using APEX since weights may not be transferred to half at initialization time. I'm going to investigate further to see if I can remove the model_to_device duplicate in the single device plugin, and fix the Apex plugin to handle this case independently

DeepSpeed GPU tests had to be made into special tests, I was getting local errors since torch dist is being initialized and making them independent tests seems to fix them. Not high priority now, but we could wrap them potentially in a fixture such that torch distributed is deleted

We can't terminate the ddp connection after a trainer.fit call because we don't know if  the user will call .fit or .test again right after it, and we want to enable that. The connection staying open could be a problem in pytest the way these tests are launched and stopped. A fixture could help us in the tests ensuring that no connections are open before running a new test, while still enabling the use case described above outside of the test environment.
One thing I would test is this: Take one of these deepspeed tests and copy the contents to a regular script and execute it. Does leave any connections open after it ends?

I have to call model_to_device twice in the single device plugin; once before and once within pre_dispatch. This is to handle the case if user's define layers within setup which need to be moved to the correct devices. This does mean if the user defines layer in setup, things can break using APEX since weights may not be transferred to half at initialization time. I'm going to investigate further to see if I can remove the model_to_device duplicate in the single device plugin, and fix the Apex plugin to handle this case independently

Maybe it helps to go back to before the accelerator refactor and look again what the order of calls were. The commit before acc refactor is 309ce7a96664316b0f42147d6a849001d841559a
In the DDPAccelerator for example we can see the model is moved to the device after the setup hook is called.

Setting milestone as 1.3 as it requires separating the fix from the API change to get into 1.2.x.


All motif locations

Hi,
Is there a way to obtain all the locations of a given motif, regardless of methylation status, from the MicrobeMod output? Or if not, a suggested way to use the streme output from MicrobeMod with meme Suite to get them? I'm interested in motif locations that may not be methylated as well

I'm thinking probably not to add this to MicrobeMod at the moment, but it is not hard to do after running it, here is some (untested) code. This is similar to what I do to get the motifs among the methylated positions.
from Bio.SeqUtils import nt_search
from Bio.Seq import Seq
import pandas as pd
from Bio import SeqIO

REF = {}
for record in SeqIO.parse(fasta_file, "fasta"):
    REF[record.id] = record.seq

microbemod_output = pd.read_csv("example_motifs.tsv", sep="\t")

results = []
for motif in microbemod_output.Motif:
  for contig, contig_seq in REF.items():
      for motif_site in nt_search(str(contig_seq), Seq(motif))[1:]:
          results.append({"Motif":motif,"contig":contig,"position"":motif_site})
      for motif_site in nt_search(str(contig_seq), Seq(motif).reverse_complement())[1:]:
          results.append({"Motif":motif,"contig":contig,"position"":motif_site})

results = pd.DataFrame(results)


feat: Eslint 9 + flat config support

Fixes: https://github.com/lingui/eslint-plugin/issues/46 https://github.com/lingui/eslint-plugin/issues/31 https://github.com/lingui/eslint-plugin/issues/29 https://github.com/lingui/eslint-plugin/issues/9 https://github.com/lingui/eslint-plugin/issues/5

Support eslint v9 (as well as v8)
Support Flat Configs
Added a recomended config
Updated all dependendencies
Split rule docs to separate files and referenced them from the rules.

Awesome, thank you!
I feel like it might be a good time to do a major v1 release and remove the beta label.
This could also be a great addition to the Lingui v5 release notes. What do you think?

I think we can do v1 release after https://github.com/lingui/eslint-plugin/issues/50
Regarding this PR, i'm testing it right now with our project and found couple issues with build setup, i will turn this one into draft and mark as ready when finish.

@andrii-bodnar ready. Tested on my project.

@andrii-bodnar let's merge and publish these two PRs as quickly as possible. I'm working on an integration for my new project and these things is blocking me.


FEAT: DataFrames I/O for excel

It would be nice to be able to read and write to both excel formats .xls and .xlsx. I think one of them is in xml format

For reading, also see https://github.com/davidanthoff/ExcelReaders.jl.

Other packages mentioned above should handle this just fine.


Errors on initial atclient sync

Describe the bug
Exceptions thrown on initial sync
Steps to reproduce

Fist use the at_talk binary
Then delete the ~/.ai6bh (namespace)
And then chat betwen the two atSigns
I have seen this error or similar also with sshnp using the -v

Expected behavior
No exceptions or good reasons for them
Screenshots
SEVERE|2022-12-08 15:43:30.943175|SyncService|exception syncing entry to local {atKey: public:cached:public:publickey@iot_manager, value: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmVLEk3IbJlFxtX4gAfw3RmEuEAkG7fY3bARun9SPDE2j0m8SZFLi/Rnu/6YC5o7zsubpgec/aIgaLC+NTLvHWU2RmZeluinRUb0wT+mdv6uX67IXRPpbHSZsZDlgDyySEtn2NgFzBwxtdumtOHaJ5z2XpZdz4yeznULWcQlu/a8542liUan8kElIsmKTIYax2VCfcA+jSEfWyAxUE//hQT7svbvfV2Zv+igldaCVhO65viRjdGIX9+Nr6MAz66JtKpdy+jWS/tknMBEXh79dTMyC1G+52i1/TQXgPe64x2jplzFN8BEpZYY9BCoDZceqnJySZFSBvHp01/06MBY1SwIDAQAB, metadata: {createdAt: 2022-08-23 19:54:06.784Z, updatedAt: 2022-08-23 19:54:06.784Z, availableAt: 2022-08-23 19:54:06.784Z, status: active, version: 0, ttl: 0, ttb: 0, ccd: false, isBinary: false, isEncrypted: false}, commitId: 44458, operation: *} Exception: Exception: Key public:cachednull is invalid - stacktrace: #0      HiveKeystore.putAll (package:at_persistence_secondary_server/src/keystore/hive_keystore.dart:354)
#1      LocalSecondary._update (package:at_client/src/client/local_secondary.dart:101)
#2      LocalSecondary.executeVerb (package:at_client/src/client/local_secondary.dart:43)
#3      SyncServiceImpl._pullToLocal (package:at_client/src/service/sync_service_impl.dart:838)
#4      SyncServiceImpl._syncLocal (package:at_client/src/service/sync_service_impl.dart:767)
#5      SyncServiceImpl._syncFromServer (package:at_client/src/service/sync_service_impl.dart:462)
<asynchronous suspension>
#6      SyncServiceImpl.syncInternal (package:at_client/src/service/sync_service_impl.dart:341)
<asynchronous suspension>
#7      SyncServiceImpl.processSyncRequests (package:at_client/src/service/sync_service_impl.dart:215)
<asynchronous suspension>
#8      SyncServiceImpl._scheduleSyncRun.<anonymous closure> (package:at_client/src/service/sync_service_impl.dart:97)
<asynchronous suspension>
#9      _httpConnectionHook.<anonymous closure> (dart:_http/embedder_config.dart:21)
<asynchronous suspension>

WARNING|2022-12-08 15:43:30.944177|HiveKeystore|Key public:cachednull is invalid

SEVERE|2022-12-08 15:43:30.944177|SyncService|exception syncing entry to local {atKey: public:cached:public:publickey@iot_device01, value: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs/d81xTUf/pZcmP7WD8pVYcPw3PrKzpC9ywPfLyDd7/5Rc5ylxlKWALTasH8QfEPSkI/3b2sKStQL1dKU94+fKLGeWKVHtf8P3UzUs+ERTF076w7W4GGjIMr/mjkcmpOycNEz60HAjlL8KMApEHTfNaQLYzgDJeCZMpVvEz/snIGkdeSmoLduT28jDiQ7JQDeV7RXPbxejePD2k2STnGgvVof7UPu28kUVRA6U1dWdbU8CyQ2pzZig/Hps5XD9nsWgUhMTkNIz5SKBqV4KN9ALeXiYgePRRR+exvJCqCYZW8/DxuPOcpK6iKBL4aWJj45zC2ZLgGDfhdQedGueuciQIDAQAB, metadata: {createdAt: 2022-08-23 19:54:07.203Z, updatedAt: 2022-08-23 19:54:07.203Z, availableAt: 2022-08-23 19:54:07.203Z, status: active, version: 0, ttl: 0, ttb: 0, ccd: false, isBinary: false, isEncrypted: false}, commitId: 44462, operation: *} Exception: Exception: Key public:cachednull is invalid - stacktrace: #0      HiveKeystore.putAll (package:at_persistence_secondary_server/src/keystore/hive_keystore.dart:354)
#1      LocalSecondary._update (package:at_client/src/client/local_secondary.dart:101)
#2      LocalSecondary.executeVerb (package:at_client/src/client/local_secondary.dart:43)
#3      SyncServiceImpl._pullToLocal (package:at_client/src/service/sync_service_impl.dart:838)
#4      SyncServiceImpl._syncLocal (package:at_client/src/service/sync_service_impl.dart:767)
#5      SyncServiceImpl._syncFromServer (package:at_client/src/service/sync_service_impl.dart:462)
<asynchronous suspension>
#6      SyncServiceImpl.syncInternal (package:at_client/src/service/sync_service_impl.dart:341)
<asynchronous suspension>
#7      SyncServiceImpl.processSyncRequests (package:at_client/src/service/sync_service_impl.dart:215)
<asynchronous suspension>
#8      SyncServiceImpl._scheduleSyncRun.<anonymous closure> (package:at_client/src/service/sync_service_impl.dart:97)
<asynchronous suspension>
#9      _httpConnectionHook.<anonymous closure> (dart:_http/embedder_config.dart:21)
<asynchronous suspension>

Smartphones

Dart on PC/Linux

Were you using an atApplication when the bug was found?
at_talk and sshnp
Additional context
No response

@cconstab: Can you please let us know that atSign on which you have observed the issue?
Ran at_talk locally and was unable to reproduce the issue. I was able to chat between the atSign's successfully and removed ai6bh namespace and did not observe the issue on initial sync
The sync exception you mentioned was because of the malformed key "public:cached:public:publickey@iot_manager" which is reported (and fixed) - https://github.com/atsign-foundation/at_server/issues/865.
We did add a validation layer in the persistent store to prevent malformed keys from getting into the secondary server. Also, we did have a fix that will scan for the existing malformed keys on server start-up and removes any key that starts with "public:cached".
The fix is merged to the trunk and deployed into canary - 3.0.26b
https://user-images.githubusercontent.com/16645698/206682303-05229f18-293f-4c14-a602-78cf81b4444d.mp4

Very cool! My atSigbs are all on prod so no doubt this will fix things

Closing as fixed.


gratuitous selscan install

When I run selscan from scans.py in an active virtual environment, it will sometime try to install selscan anyway (which then crashes due to some weird recursion issue, it looks like). A clean venv fixes the problem, but then after calling scans.py once it comes back. Based on the debug message, perhaps something is going wrong hereish?
(cms-env3)hw-uger-1000:/idi/sabeti-scratch/jvitti 16:39:24 1009 $ python cms/cms/scans.py selscan_xpehh /idi/sabeti-scratch/jvitti/sims/nulldefault_constantsize/sel1/sel_sims/sel_0.50/rep383_1.tped /idi/sabeti-scratch/jvitti/scores/nulldefault_constantsize/sel1/xpehh/sel_0.50/rep_383_1_3 /idi/sabeti-scratch/jvitti/sims/nulldefault_constantsize/sel1/sel_sims/sel_0.50/rep383_3.tped --threads 7

2016-10-19 16:41:15,374 - cmd:112:main_argparse - INFO - software version: 2.0.0-beta-4-g708555a, python version: 3.5.1 |Continuum Analytics, Inc.| (default, Dec  7 2015, 11:16:01)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]
2016-10-19 16:41:15,375 - cmd:115:main_argparse - INFO - command: cms/cms/scans.py selscan_xpehh inputTped=/idi/sabeti-scratch/jvitti/sims/nulldefault_constantsize/sel1/sel_sims/sel_0.50/rep383_1.tped tmpDirKeep=False truncOk=False tmpDir=/tmp/3396933.1.interactive loglevel=DEBUG threads=7 outFile=/idi/sabeti-scratch/jvitti/scores/nulldefault_constantsize/sel1/xpehh/sel_0.50/rep_383_1_3 gapScale=20000 maf=0.05 inputRefTped=/idi/sabeti-scratch/jvitti/sims/nulldefault_constantsize/sel1/sel_sims/sel_0.50/rep383_3.tped
2016-10-19 16:41:15,375 - cmd:127:main_argparse - DEBUG - using tempDir: /tmp/3396933.1.interactive/tmp-scans-selscan_xpehh-a0c4koji
2016-10-19 16:41:15,375 - init:247:init - DEBUG - CONDA_ENV_PATH found
2016-10-19 16:41:20,804 - init:412:_attempt_install - DEBUG - Attempting install...
2016-10-19 16:41:20,804 - init:493:install_package - DEBUG - Creating conda environment and installing package selscan=1.1.0b
2016-10-19 16:41:33,764 - misc:240:run_and_print - INFO - {
"error": "An unexpected error has occurred, please consider sending the\nfollowing traceback to the conda GitHub issue tracker at:\n\n    https://github.com/conda/conda/issues\n\nInclude the output of the command 'conda info' in your report.\n\nTraceback (most recent call last):\n  File "/home/unix/vitti/miniconda3/lib/python3.5/site-packages/conda/cli/main.py", line 146, in args_func\n    args.func(args, p)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/site-packages/conda/cli/main_create.py", line 49, in execute\n    install.install(args, parser, 'create')\n  File "/home/unix/vitti/miniconda3/lib/python3.5/site-packages/conda/cli/install.py", line 424, in install\n    plan.execute_actions(actions, index, verbose=not args.quiet)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/site-packages/conda/plan.py", line 539, in execute_actions\n    inst.execute_instructions(plan, index, verbose)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/site-packages/conda/instructions.py", line 149, in execute_instructions\n    cmd(state, arg)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/site-packages/conda/instructions.py", line 92, in LINK_CMD\n    link(state['prefix'], arg, index=state['index'])\n  File "/home/unix/vitti/miniconda3/lib/python3.5/site-packages/conda/instructions.py", line 88, in link\n    install.link(pkgs_dir, prefix, dist, lt, index=index)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/site-packages/conda/install.py", line 624, in link\n    os.makedirs(dst_dir)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 231, in makedirs\n    makedirs(head, mode, exist_ok)\n  File "/home/unix/vitti/miniconda3/lib/python3.5/os.py", line 241, in makedirs\n    mkdir(name, mode)\nOSError: [Errno 36] File name too long: '/idi/sabeti-scratch/jvitti/total 120M\ndrwxrwxr-x  2 vitti  6.1K Oct 19 15:56 \x1b[0m\x1b[38;5;27m.\x1b[0m/\ndrwxrwxr-x 16 vitti   323 Oct 19 15:21 \x1b[38;5;27m..\x1b[0m/\n-rwxr-xr-x  2 vitti  5.8K Sep 18  2015 \x1b[38;5;34m.gcc-post-link.sh\x1b[0m*\n-rwxr-xr-x  2 vitti   427 Sep 18  2015 \x1b[38;5;34m.gcc-pre-unlink.sh\x1b[0m*\n-rwxrwxr-x  3 vitti  9.8K May 31 17:24 \x1b[38;5;34m.openssl-libcrypto-fix\x1b[0m*\n-rw-rw-r--  3 vitti   213 May 31 17:24 \x1b[44;38;5;15m.openssl-post-link.sh\x1b[0m\nlrwxrwxrwx  1 vitti     8 Oct 19 15:16 \x1b[38;5;51m2to3\x1b[0m -> \x1b[38;5;34m2to3-3.5\x1b[0m*\n-rwxrwxr-x  1 vitti   130 Oct 19 15:17 \x1b[38;5;34m2to3-3.5\x1b[0m*\n-rwxr-xr-x  1 vitti   68K Oct 19 15:17 \x1b[38;5;34mace2sam\x1b[0m*\nlrwxrwxrwx  1 vitti    40 Oct 19 15:56 \x1b[38;5;51mactivate\x1b[0m -> \x1b[38;5;34m'\n",
"error_type": "UnexpectedError"
}
Traceback (most recent call last):
File "cms/cms/scans.py", line 580, in
util.cmd.main_argparse(commands, doc)
File "/idi/sabeti-scratch/jvitti/cms/cms/util/cmd.py", line 130, in main_argparse
ret = args.func_main(args)
File "cms/cms/scans.py", line 365, in main_selscan_xpehh
gap_scale       = args.gapScale
File "/idi/sabeti-scratch/jvitti/cms/cms/tools/selscan.py", line 530, in execute_xpehh
toolCmd = [self.install_and_get_path()]
File "/idi/sabeti-scratch/jvitti/cms/cms/tools/init.py", line 109, in install_and_get_path
raise NameError("unsuccessful in installing " + type(self).name)
NameError: unsuccessful in installing SelscanTool

@tomkinsc have you had this issue? Possibly when all CMS dependencies are bundled as a conda package, this won't matter?

What is the output of conda info when you have the conda environment active?

(cms-env3)hw-uger-1000:/idi/sabeti-scratch/jvitti 17:14:48 1085 $ conda info
Current conda install:

             platform : linux-64
        conda version : 4.0.10
  conda-build version : not installed
       python version : 3.5.2.final.0
     requests version : 2.10.0
     root environment : /home/unix/vitti/miniconda3  (writable)
  default environment : /home/unix/vitti/miniconda3/envs/cms-env3
     envs directories : /home/unix/vitti/miniconda3/envs
        package cache : /home/unix/vitti/miniconda3/pkgs
         channel URLs : https://conda.anaconda.org/conda-forge/linux-64/
                        https://conda.anaconda.org/conda-forge/noarch/
                        https://conda.anaconda.org/r/linux-64/
                        https://conda.anaconda.org/r/noarch/
                        https://conda.anaconda.org/bioconda/linux-64/
                        https://conda.anaconda.org/bioconda/noarch/
                        https://repo.continuum.io/pkgs/free/linux-64/
                        https://repo.continuum.io/pkgs/free/noarch/
                        https://repo.continuum.io/pkgs/pro/linux-64/
                        https://repo.continuum.io/pkgs/pro/noarch/
          config file : /home/unix/vitti/.condarc
    is foreign system : False

possibly separate (?): when I test-run scans.py as part of the CMS conda recipe, it throws the following error:

/+ scans.py -h
fatal: Not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
File "/Users/vitti/miniconda3/conda-bld/cms_1476912759382/_t_env/bin/scans.py", line 15, in
import tools.selscan
File "/Users/vitti/miniconda3/conda-bld/cms_1476912759382/_t_env/opt/cms-2.0.0b/cms/tools/init.py", line 12, in
import util.file
File "/Users/vitti/miniconda3/conda-bld/cms_1476912759382/_t_env/opt/cms-2.0.0b/cms/util/file.py", line 10, in
import util.cmd
File "/Users/vitti/miniconda3/conda-bld/cms_1476912759382/_t_env/opt/cms-2.0.0b/cms/util/cmd.py", line 10, in
version = util.version.get_version()
File "/Users/vitti/miniconda3/conda-bld/cms_1476912759382/_t_env/opt/cms-2.0.0b/cms/util/version.py", line 63, in get_version
raise ValueError("Cannot find the version number!")
ValueError: Cannot find the version number!
TESTS FAILED: cms-2.0.0b-py35_0

I'll look into these errors and get back to you.

I see you merged #151. Did it fix the selscan install issue you were seeing? If not, you might try updating conda (conda update conda).

Oh, awesome! The issue persisted, but everything works now with the conda update. I had been using the earlier version due to this issue on UGER, but I'll give 4.2.9 a shot. Thanks very much!

Please let me know if conda 4.2.9 works without issue on UGER. I briefly tried to replicate the selscan install issue under 4.0.10 and couldn't seem to do so. If you do need to roll back, I'll have to take another look at it. My first guess is that it is related to the depth of the conda environment in the filesystem hierarchy. Earlier versions of conda (including 4.0.10) had issues if the path containing the conda env was too long (i.e. too deep in the filesystem hierarchy). The limit used to be about 80 characters, but it has been raised at least once as part of more recent releases of conda. The selscan installer should use the currently active conda environment by default, or otherwise it will try to create one within cms/cms/tools/conda-tools. With the preceding path, a tools-based path may have been too long.

4.2.9 appears to work smoothly on UGER! thanks again 🙌

Hmm, I may have spoke too soon -- I'm seeing a familiar error, albeit more infrequently:

Traceback (most recent call last):
  File "/home/unix/vitti/miniconda3/lib/python3.5/site-packages/conda/exceptions.py", line 473, in conda_exception_handler
    return_value = func(*args, **kwargs)
  File "/home/unix/vitti/miniconda3/lib/python3.5/site-packages/conda/cli/main.py", line 93, in _main
    activate.main()
  File "/home/unix/vitti/miniconda3/lib/python3.5/site-packages/conda/cli/activate.py", line 148, in main
    conda.install.symlink_conda(prefix, context.root_dir, shell)
  File "/home/unix/vitti/miniconda3/lib/python3.5/site-packages/conda/install.py", line 532, in symlink_conda
    symlink_conda_hlp(prefix, root_dir, where, symlink_fn)
  File "/home/unix/vitti/miniconda3/lib/python3.5/site-packages/conda/install.py", line 549, in symlink_conda_hlp
    symlink_fn(root_file, prefix_file)
FileExistsError: [Errno 17] File exists: '/home/unix/vitti/miniconda3/bin/conda' -> '/home/unix/vitti/miniconda3/envs/cms-env3/bin/conda'

Ok, I took a look at the conda source. It looks like an NFS delay-related race condition, where one cluster job tries to create a symlink after a symlink from a second cluster job has appeared between the existence check and symlink creation in the first job. The function responsible was more basic in conda v4.0.10  than the symlink function in v4.2.9 (it didn't try to remove the symlink if it already exists), but that's not the real issue here. The exception handler in the 4.2.9 version that that would ordinarily ignore such errors is susceptible to the same race condition. 🙄 (os.path.lexists(prefix_file) may not be True in the exception handler, so the exception gets raised and the activate/deactivate script dies)
Let's try patching the install.py file of conda v4.2.9, and see what happens. If we can fix the issue, one of us can open a PR to contribute the fix over in the https://github.com/conda/conda repository and close issue 3001.
Based on your stack trace above, open up /home/unix/vitti/miniconda3/lib/python3.5/site-packages/conda/install.py and replace the symlink_conda_hlp() function starting on line 535 with the following:
def symlink_conda_hlp(prefix, root_dir, where, symlink_fn):
    scripts = ["conda", "activate", "deactivate"]
    prefix_where = join(prefix, where)
    if not isdir(prefix_where):
        os.makedirs(prefix_where)
    for f in scripts:
        root_file = join(root_dir, where, f)
        prefix_file = join(prefix_where, f)
        try:
            # try to kill stale links if they exist
            if os.path.lexists(prefix_file):
                rm_rf(prefix_file)
            # if they're in use, they won't be killed.  Skip making new symlink.
            if not os.path.lexists(prefix_file):
                symlink_fn(root_file, prefix_file)
        except (IOError, OSError) as e:
            if (e.errno == errno.EEXIST) or (os.path.lexists(prefix_file) and
                    (e.errno in (errno.EPERM, errno.EACCES, errno.EROFS))):
                log.debug("Cannot symlink {0} to {1}. Ignoring since link already exists."
                          .format(root_file, prefix_file))
            else:
                raise

With this change conda should chug along if it can't create the symlink during activation, and it should still work since one of the cluster jobs will have created it. There's a chance there'll be a new race condition if something tries to use the link before NFS can propagate it, but hopefully that will be much less likely.
Alternatively, you might try commenting out these lines:
            if os.path.lexists(prefix_file):
                rm_rf(prefix_file)

Looks like someone else had the same idea in mind to fix the symlink issue. A better fix might be the following since it would address the removal problem as well:
conda/install.py:
def symlink_conda_hlp(prefix, root_dir, where, symlink_fn):
    scripts = ["conda", "activate", "deactivate"]
    prefix_where = join(prefix, where)
    if not isdir(prefix_where):
        os.makedirs(prefix_where)
    for f in scripts:
        root_file = join(root_dir, where, f)
        prefix_file = join(prefix_where, f)
        try:
            # try to kill stale links if they exist
            if os.path.lexists(prefix_file):
                rm_rf(prefix_file)
            # if they're in use, they won't be killed.  Skip making new symlink.
            if not os.path.lexists(prefix_file):
                symlink_fn(root_file, prefix_file)
        except (IOError, OSError) as e:
            if (os.path.lexists(prefix_file) and
                    (e.errno in (errno.EPERM, errno.EACCES, errno.EROFS, errno.EEXIST))):
                log.debug("Cannot symlink {0} to {1}. Ignoring since link already exists."
                          .format(root_file, prefix_file))
            elif (e.errno == errno.ENOENT):
                log.debug("Problem with symlink management {0} {1}. File may have been removed by another concurrent process." .format(root_file, prefix_file))
            elif (e.errno == errno.EEXIST)):
                log.debug("Problem with symlink management {0} {1}. File may have been created by another concurrent process." .format(root_file, prefix_file))
            else:
                raise


Fixed null pointer exception when statement is returned null

LB-1013
Fixes #1576

Thank your for the fast fix. The problem has been resolved!


Set VGA 8 colour mode pallete to match the first 8 colours of vga 16 colour mode.

Currently the default pallete for 8 colour mode is rather boring (black, dark red, dark green, dark blue, red, green, blue, white).
We should set it to match the first 8 colours of the vga 16 colour mode pallete.
This needs to be done after a resolution  change because as part of chaning the resolution the default pallete is always set.
So, within change_resolution, after the call to setResolution, we can add:
if (colours == 8) {
        VGAController->setPaletteItem(0, RGB888(0x00, 0x00, 0x00));
	VGAController->setPaletteItem(1, RGB888(0xAA, 0x00, 0x00));
	VGAController->setPaletteItem(2, RGB888(0x00, 0xAA, 0x00));
	VGAController->setPaletteItem(3, RGB888(0xAA, 0xAA, 0x00));
	VGAController->setPaletteItem(4, RGB888(0x00, 0x00, 0xAA));
	VGAController->setPaletteItem(5, RGB888(0xAA, 0x00, 0xAA));
	VGAController->setPaletteItem(6, RGB888(0x00, 0xAA, 0xAA));
	VGAController->setPaletteItem(7, RGB888(0xAA, 0xAA, 0xAA));
}

Actions:

Reset palettes after MODE (this needs to be done anyway)
Make sure the palettes are sensible for all paletted modes (pull them from the colour lookup list)

2: Black and White (Bright)
4: Black, Red, Yellow, White (Bright)
8: First 8 colours (Bright)
16: First 16 colours (Half Bright/Bright)

NB:

The 4 and 8 colour paletted modes are not working correctly in FabGL.
The 2 and 16 colour modes work fine.

Based on 1.03 release version, I added some more modes: 800x600 4 colour and 640x512 8 colour and the palettes are not what they should be (4 and 8 colour paletted modes ware wrong). I did work around this in an earlier local version of the code, so I will check if I can find what I did then.


Switching between light / dark modes renders the old console non-readable

Hello,
I just upgraded to pywal 3.3.0 using Arch's package manager.
I open the console with pywal settings applied with light theme:

I setup wal with the same wallpaper as previously, but I choose different mode, dark in this case:

The transparency is lost, bland color is being applied and some of the text is hidden, because it has the same color as background.
When I quit the console and open it again, I finally get the desired look:

With dark theme, when I write wal -i left_right_brain.jpg I cannot see most of the text:

I didn't have this problem with pywal 3.1.0.
The terminal which I experience this problem on is st. I experience similar issues on urxvt, but the text is at least a bit different than the background.
During the session in which I tested st, I performed xrdb -remove *, opened urxvt and I could change the themes without problems in that particular terminal.

I've checked the previous version of pywal and it looks like 3.1.0 is indeed the last release on which it works properly. The console color doesn't change right after setting new theme and light theme is scuffed i.e. the colors are very weird.

These are separate issues tho... Light theme was a great addition for me, but I can cope without it. At least I can see anything :)


Different Neural Renderer

Hello @hzwer,
Kindly, I have 2 questions:-

I noticed you provided extra renderers in the README file. What modifications did you apply to the stroke_gen file so that you could train those renderers?
What bezierwotrans.pkl --- actor_notrans.pkl files names stand for?

Thanks in advance

baseline/Renderer/stroke_gen.py is a renderer that can draw bezier curve now. If you want to draw a triangle, you can make the parameter of draw represent the vertices of the triangle and call the cv2 interface to draw a triangle.
We set up an experiment where the renderer has no transparency control. The actor_notrans.pkl save the actor parameters trained under this setting.


feat(tabs)!: unselect tab

I don't know if this is a good idea. I use tabs to display shortcuts:

In this case, I don’t want to select a tab. Currently I modify the hl style.

I do like the idea. I'd personally prefer for it to be a breaking change with select taking Option<usize> and not having unselect, but that'll be a breaking change. Let's hear from others to decide.
Currently, it is still a breaking change without a new custom Default implementation.

Agree with kd here, using an Option in select would be better and we should add a custom Default implementation to Tabs to avoid a breaking change.

There's an implementation of From<T> for Option<T> that makes changing a parameter to T: Into<Option<T>> (mostly) non-breaking. The exception is where there is already type inference e.g.:
let selection = 0u8;
tabs.select(selection.into());

The Default implementation can't select the first tab as when it's called there are no tabs defined. Instead setting the first tab should happen in new() and a not yet created tabs() method.


huawei problem

getCurrentLocation function is not retrieving latlng data on huawei phones.

+1

Try this, it worked for me
Position position = await Geolocator.getCurrentPosition(forceAndroidLocationManager: true);

Hey @zakarya0. Thanks for reporting your issue,  can you be a bit more specific about your issue? Share your flutter doctor -v, a code example, name it. Then I can try reproducing your issue (or not).


1.9 deprication warning

May 26, 2015 - 12:47:51
Django version 1.8.2, using settings 'lentas.settings'
Starting development server at http://<IP_ADDRESS>:8000/
Quit the server with CONTROL-C.
/usr/local/lib/python2.7/dist-packages/Mezzanine-3.1.10-py2.7.egg/mezzanine/pages/page_processors.py:7: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
/usr/local/lib/python2.7/dist-packages/django/template/base.py:825: RemovedInDjango19Warning: request.REQUEST is deprecated, use request.GET or request.POST instead.
current = getattr(current, bit)
/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py:126: RemovedInDjango19Warning: MergeDict is deprecated, use dict.update() instead.
self._request = datastructures.MergeDict(self.POST, self.GET)

Please, there's no need to open issues for these. They're warnings for an unreleased Django version.
If you're unsure whether something's worth creating an issue for, please post to the mailing list first.


Adding-support-for-pinning-new-notes

https://github.com/aritra-tech/Notify/issues/186

Can you please fix the merge conflict and please give the branch name related to the name of the issue it gets hard for me to test which branch to check.
I hope you understand @Kayvee08

@aritra-tech I think I'will have to raise new PR,
Base bran
ch cannot be updated

@aritra-tech I think I'will have to raise new PR, Base branch cannot be updated

For at this point no need to create a new PR I will check the code through browser only. Just do two things

Send me a video of the working
Fix the merge conflict

@aritra-tech sharing

Please fix the ktlint check

Any update @Kayvee08?

@aritra-tech was stuck in some office work, will update soon

@aritra-tech was stuck in some office work, will update soon

Okay okay no issue.

Hey @Kayvee08 any update?
Actually, I was thinking of making a release today so if you can make the required changes then I can also add your changes to this latest release.
Thank you

Sorry @Kayvee08 I am closing this PR.
Thanks for contributing.


Crash with ansible language server

Thanks for this program. It works well for all language servers I tested with lsp-mode, with the exception of ansible.
How to reproduce

Be sure that ansible-language-server is installed and in your PATH
export LSP_USE_PLISTS=true
Launch Emacs with following minimal init.el

;; Initialize package sources
(require 'package)

(setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
                         ("nongnu" . "https://elpa.nongnu.org/nongnu/")
                         ("melpa" . "https://melpa.org/packages/")))

(package-initialize)
(unless package-archive-contents
  (package-refresh-contents))

(require 'use-package)
(setq use-package-always-ensure t)

;; Install packages
(use-package lsp-mode
  :config
  (setq lsp-log-io t))

(use-package yaml-mode)

(use-package ansible
  :after lsp-mode yaml-mode
  :hook
  (yaml-mode . ansible)
  (ansible . lsp))

;; Copied from https://github.com/blahgeek/emacs-lsp-booster#configure-lsp-mode
(defun lsp-booster--advice-json-parse (old-fn &rest args)
  "Try to parse bytecode instead of json."
  (or
   (when (equal (following-char) ?#)
     (let ((bytecode (read (current-buffer))))
       (when (byte-code-function-p bytecode)
         (funcall bytecode))))
   (apply old-fn args)))
(advice-add (if (progn (require 'json)
                       (fboundp 'json-parse-buffer))
                'json-parse-buffer
              'json-read)
            :around
            #'lsp-booster--advice-json-parse)

(defun lsp-booster--advice-final-command (old-fn cmd &optional test?)
  "Prepend emacs-lsp-booster command to lsp CMD."
  (let ((orig-result (funcall old-fn cmd test?)))
    (if (and (not test?)                             ;; for check lsp-server-present?
             (not (file-remote-p default-directory)) ;; see lsp-resolve-final-command, it would add extra shell wrapper
             lsp-use-plists
             (not (functionp 'json-rpc-connection))  ;; native json-rpc
             (executable-find "emacs-lsp-booster"))
        (progn
          (message "Using emacs-lsp-booster for %s!" orig-result)
          (cons "emacs-lsp-booster" orig-result))
      orig-result)))
(advice-add 'lsp-resolve-final-command :around #'lsp-booster--advice-final-command)

Open a yaml file and, if necessary, import project root in lsp-mode

Logs
*ansible-ls::stderr buffer:
[2024-01-17T21:06:08Z INFO  emacs_lsp_booster::app] Running server "/home/fred/.local/bin/ansible-language-server" "--stdio"
[2024-01-17T21:06:08Z INFO  emacs_lsp_booster::app] Will convert server json to bytecode! bytecode options: BytecodeOptions { object_type: Plist, null_value: Nil, false_value: Nil }
thread '<unnamed>' panicked at /github/workspace/src/app.rs:145:18:
called `Result::unwrap()` on an `Err` value: Server->client read thread failed

Caused by:
    Invalid header format
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Process ansible-ls stderr finished

Last exchange in *lsp-log: ansible-ls* buffer:
[Trace - 10:06:08 ] Received request 'workspace/configuration - (2).
Params: {
  "items": [
    {
      "scopeUri": "file:///home/fred/ansible-test/ansible.yml",
      "section": "ansible"
    }
  ]
}

[Trace - 10:06:08 ] Sending response 'workspace/configuration - (2)'. Processing request took 0ms
Params: {
  "jsonrpc": "2.0",
  "id": 2,
  "result": [
    {
      "ansible": {
        "path": "ansible",
        "useFullyQualifiedCollectionNames": true
      },
      "validation": {
        "enabled": true,
        "lint": {
          "arguments": "",
          "enabled": true,
          "path": "ansible-lint"
        }
      },
      "completion": {
        "provideRedirectModules": true,
        "provideModuleOptionAliases": true
      },
      "executionEnvironment": {
        "containerEngine": "auto",
        "enabled": false,
        "image": "quay.io/ansible/creator-ee:latest",
        "pull": {
          "policy": "missing",
          "arguments": ""
        },
        "containerOptions": "",
        "volumeMounts": []
      },
      "python": {
        "interpreterPath": "",
        "activationScript": ""
      }
    }
  ]
}

Thanks for your report.
I can reproduce this issue in my side. Apparently the ansible language server sends unexpected content to stdout so emacs-lsp-booster cannot correctly handle it. Seems to be the same issue as https://github.com/ansible/ansible-language-server/issues/21  According to this issue, disabling the ansible-lint feature may fix this issue.
I will also try to see if emacs-lsp-booster could be more tolerant to this kind of error

You're right. The problem comes from ansible language server that writes debug messages to stdout. This has been fixed recently (in https://github.com/ansible/ansible-language-server/pull/604) but there has been no new release since.
I tested with a server built from the last commit and there is no crash anymore.


Unable to re run the app after a crash due to full hard drive

Hello, I was using your app and everything was ok. But once my hardrive was full the app has crash.
After that I made some clean to have enough space, but now I can't run the app anymore, I tried to restart my computer, clear my temp files re download your app, but anything was working.
Where are the files / logfiles to see what happen and how to fix this ?
I am on Windows 10.
Thanks !

Sure, that would be great :) You should be able to just upload the contents as an archive.

Thanks! I'd agree it's probably downloads.json. This is likely a bug in Fyne (the GUI app library I used), so I don't know if I'll actually fix it. Also, my guess is the bug needs very specific timing to occur. If I find the time, I'll look at it.
You have a nice day too :)
PS: Did you get it to work after again deleting the folder?

Yes it is running, but now the list of files that have been download was lost in the process.
There is a way to synchronise my current directory to populate the downloads.json with the list of episodes that was already download ? Maybe a script ?
Thank you so much for the support again !

Unfortunately there's not currently a way to do this (this is what downloads.json was supposed to do). I hope you didn't lose too many downloads.

All of them :). I have the files but the app doesn't see them and say that it is actually downloaded.
But not a problem, maybe I'll make a script to populate the download.json to sync the app :).

Good luck! I'm sorry that happened 🥲


wwrelay-utils is no longer needed

@x85446 Did it get replaced by something else, or is it literally not required by anything anymore?

@x85446 Did it get replaced by something else, or is it literally not required by anything anymore?

It was replaced by 5 other new recipes.
*relay-term
*info-tool
*pelion-version
*path-set
*identity-tool

It was replaced by 5 other new recipes.
*relay-term
*info-tool
*pelion-version
*path-set
*identity-tool


Read the DHCP server information from OPTs

Not all DHCP servers will have the DHCP server address in the header of the offer, but rather in the options. When making the request, this information needs to be added to the request. The request DHCP server and the next hop does not have to be the same address or even be on the same network, so parsing these needs to be separated out.
For now, just copy in the DHCP server address from the OPTs into the read header.
I would appreciate a test of this on one of the existing networks where things have been working prior to this change.
$ tinygo flash -target=pico -opt=1 -stack-size=32kb -size=short -monitor  ./examples/tcpserver/
go: downloading github.com/tinygo-org/pio v0.0.0-20231216154340-cd888eb58899
   code    data     bss |   flash     ram
 569016   15740    5184 |  584756   20924
Connected to /dev/ttyACM0. Press Ctrl-C to exit.
starting program

MAC: 28:cd:c1:0d:93:c7
dhcp ongoing...
time=1970-01-01T00:00:06.968Z level=INFO msg=DHCP:tx msg=Discover
time=1970-01-01T00:00:07.018Z level=INFO msg=DHCP:rx msg=Offer
time=1970-01-01T00:00:07.019Z level=INFO msg=DHCP:tx msg=Request
time=1970-01-01T00:00:07.120Z level=INFO msg=DHCP:rx msg=Ack
DHCP complete IP: <IP_ADDRESS>
start listening on: <IP_ADDRESS>:1234

Thank you Claus! Tested and my DHCP still works as expected!


Ranging modes options

At the moment, the ranging run takes the same time (at least 10 minutes) as the testing run, which is wasteful.
I would like to propose the following options:

None or Manual, when the ranging run is not performed, while the range is set explicitly. This useful when the range is known a priori. For example, the official Raspberry Pi 4 power supply is rated at 15 W.
Reduced, when the ranging run is allowed to take less time than the testing run, e.g. about one minute.

Just to understand the implication of non-precise manual setting,

if I manually put 1000W as the limit and the actual power usage during testing run is say 1200W or 800W, will there be any error in the power measurement as compared to precisely setting the limit?

There will be an error if the actual power usage is 1200W. There will be no error if the actual power usage is 800W.

Thanks @psyhtest. And the error when power usage is 1200W will come in logs marking the run as invalid? In other words can we be sure that no run pass as a valid run with an imprecise power measurement due to a wrong manual input?

I'm sure it is the case. When the range is set incorrectly, there will be errors like:

'02-21-2022 19:42:02.524: ERROR: Bad watts reading nan from WT310' in ptd_log.txt during ranging stage. Treated as WARNING

Thank you @psyhtest. In that case I see absolutely no problem in using "None" or "Manual" mode. It can be an option which experienced users can use at the risk of handling the errors themselves and the measured values are having the same precision as with a full ranging mode run.
For a 1-2 minutes ranging run I can think of some issues

Typically the accelerator will be at full power usage by 1 minute
But the system fans may not have reached full speed (supposing the fan speed is dynamic). This can cause a lot of increase in power usage
Suppose X is the peak power usage for a 1 minute ranging run.  Can we use X + threshold as the limit for the testing run where the threshold is a value good enough to ensure no failure for all the power ranges?

I would clearly favor a "None" or "Manual" mode for experienced users as it is simpler (at least for repeated users) and  there is no precision loss.

I agree @arjunsuresh. The set of analyzer ranges is quite discreet e.g. for WT310/WT330: 0.5A/1A/2A/5A/10A/20A. If one range fails, the submitter should be able to switch to the next one with little trouble.

That's great. So any submitter can do a ranging run - determine the max power usage and then use that for all further runs. This effectively saves 50% of the runtime for all power submissions and if we are getting that with 0 loss of precision, we should go for it.

This PR was bought up in the 10/25 Power WG meeting.
tl;dr is @psyhtest were create 2 PRs from this - one for Open Division (or Low Power SUTs) and other for Closed Divisions. The Closed division PR will need data to reach a consensus.  The open division PR is relatively straight forward to approve and close.
Some of the questions/discussion points from the Power WG meetings minutes are:

Question: Can there be a scenario where there are no errors reported, yet the data is inaccurate? Any results to show that? This would require us to set up Manual mode and then test it.
Thought: Another alternative is to reduce the ranging step to a lower time bound (say currently it takes 2x time for Ranging and Testing. Reduce this to 1.2x pr 1.3x)
Question: Need data to back the proposal. What is the tradeoff that is being done (Time taken vs possible error bar)
Question: Do we need to do this manual setting for all scenarios and all workloads? In that way, are we really saving time?
Proposal: Instead of running Ranging and Testing as 2 separate steps, can we just combine into 1 performance step.

Just adding the updates from the discussion with the SPEC PTDaemon team:

Relying on the data from PTDaemon logs is not recommended
There is an "Uncertainty" command which can be reliably used to measure the uncertainty of measurement

We are still awaiting a confirmation from SPEC team regarding if "Uncertainty command" can be used to optionally avoid the Ranging mode run. This should answer Question 1 in the above comment by @araghun and if the response is favorable we do not need to see points 2 and 3.
"Do we need to do this manual setting for all scenarios and all workloads? In that way, are we really saving time?"
Yes, we need it for all scenarios and all workloads.  And in fact we reduce the runtimes for all of them by at least 50%. Why "at least 50%" is because "Server" scenario can cause performance failure on either the "ranging" mode or the "testing mode" and either case a full rerun is needed.
"Proposal: Instead of running Ranging and Testing as 2 separate steps, can we just combine into 1 performance step."
If this is technically possible this will be very useful. The first 5 minutes of the performance run can done in ranging mode and the remaining time (guaranteed to be at least 5 minutes) can be used for testing. If this can be done we can even ignore all other questions here. @psyhtest do you agree?

Reply from SPEC team:
"I don't think it really matters whether the ranges are set algorithmically by software based on a test run or by a user with knowledge of a system's power draw editing a configuration file. The important thing is the supported commands are used to retrieve results. If only option 1 uses the Uncertainty command, then it is more likely to produce valid results."
This clearly shows that doing a manual setting for testing mode is 100% accurate if we use the Uncertainty command as documented. I can do this change is anyone is interested and the Power WG is accepting this. Unfortunately I do not have time to try any other methodology.

I have added a PR effecting the needed change for manul setting of volt/ampere levels. Some sample test outputs are also added here. Uncertainty command is capturing wrong inputs.


Support switch control in forms (BS4 only)

Adds a switch control type, for the Bootstrap 4 switch custom control type:
https://getbootstrap.com/docs/4.6/components/forms/#switches
See #912

FYI I couldn't preview the changes to the docs site as it's not working when I run ember s locally in the docs folder - getting an error.

@jelhan thanks for reviewing. I'll make those changes to the test when I get a chance (hopefully later today)

@simonihmig thanks for your comments! All make sense, so I'll be able to push an update. Today is looking busy so hopefully I'll have time tomorrow.

@jelhan @simonihmig
I've pushed the changes based on the review comments, so this should now be ready to merge. Do you need me to fix the merge conflicts? I tried back merging master into my switch branch but then all the tests started to fail.

Do you need me to fix the merge conflicts?

Yes, unfortunately I cannot merge it with this conflict. I did a few things here yesterday, so sorry for causing this additional work! 😔

I tried back merging master into my switch branch but then all the tests started to fail.

Hm, what exactly was the error? Did you update your dependencies and restarted ember serve?

@simonihmig have pushed the merge fix. Turned out the failing tests were due to a bad merge on my part, re-did the merge and worked out how to fix it, so all should be good now.


I'm trying to replace the RakNet in Nukkit with JRakNet, but I ran into some problems.

Minecraft BedRock client version: 1.7.0
Server: Nukkit
JRakNet version: 2.10.7
I tried to issue the same GameWrapper content on the server side. In both the original RakNet and JRakNet environments, the original RakNet worked correctly, but when using JRakNet, my game crashed when the server sent AvailableCommandsPacket.
When I tried to block this packet, the client could not handle the PlayStatusPacket with PLAYER_SPAWN properly. (always on the loading screen, unable to enter the game)
Is there a problem with packet splitting? Or is there something wrong with my data packet itself?
I hope you can help me solve this problem. Thank you very much!
Here is the log of raw GameWrappers and these detailed MCPE packets, which was sent from the servers in the test, hoping to find the problem.
packetlog.txt

Could I have some source code? I don't think there is a problem with packet splitting, but I could be wrong. \

Respond within 3 days or I'm closing this issue


Relative filesystem schema references in values.schema.json broken

Output of helm version:
version.BuildInfo{Version:"v3.7.2", GitCommit:"663a896f4a815053445eec4153677ddc24a0a361", GitTreeState:"clean", GoVersion:"go1.17.3"}

Issue
When using a relative filesystem reference in values.schema.json, it looks for the file in your CWD, not in the chart directory/tarball.
In practice, this means one cannot use relative references in charts when they may want to (e.g. so you don't need outbound routing to an external/remote schema).
How to reproduce
Create a new chart:
$ helm create demo
Creating demo
$ cd demo

Create values.schema.json:
{
    "$schema": "http://json-schema.org/schema#",
    "properties": {
        "replicaCount": {
            "$ref": "file://./another_schema.json"
        }
    },
    "title": "Values",
    "type": "object"
}

And create another_schema.json:
{
    "$schema": "http://json-schema.org/schema#",
    "type": "integer"
}

Now, from demo, lint the chart:
$ helm lint .
==> Linting .
[INFO] Chart.yaml: icon is recommended

1 chart(s) linted, 0 chart(s) failed

Now, cd up a directory and lint again:
$ cd ..
$ helm lint demo
==> Linting demo
[INFO] Chart.yaml: icon is recommended
[ERROR] values.yaml: open ./another_schema.json: no such file or directory
[ERROR] templates/: values don't meet the specifications of the schema(s) in the following chart(s):
demo:
open ./another_schema.json: no such file or directory

Error: 1 chart(s) linted, 1 chart(s) failed

The same behavior happens with a tarball:
$ cd demo
$ helm package .
Successfully packaged chart and saved it to: ...demo/demo-0.1.0.tgz
$ helm lint demo-0.1.0.tgz
==> Linting demo-0.1.0.tgz
[INFO] Chart.yaml: icon is recommended

1 chart(s) linted, 0 chart(s) failed
$ cd ..
$ helm lint demo/demo-0.1.0.tgz
==> Linting demo/demo-0.1.0.tgz
[INFO] Chart.yaml: icon is recommended
[ERROR] values.yaml: open ./another_schema.json: no such file or directory
[ERROR] templates/: values don't meet the specifications of the schema(s) in the following chart(s):
demo:
open ./another_schema.json: no such file or directory

Error: 1 chart(s) linted, 1 chart(s) failed

Hi @jedcunningham. Thanks for finding this bug. We'd appreciate a patch. Thanks!

Hey, my team and I ran into this issue recently, and we are also interested in supporting relative file paths in $refs to avoid repeating ourselves across our many Helm charts and their schemas.
I looked into the library used by Helm to support JSON schemas (xeipuuv/gojsonschema), and it seems to not officially support relative file paths:

Local file, using a reference: References use the URI scheme, the prefix (file://) and a full path to the file are required.

However, I wonder if schema IDs could be used to avoid local file references, and instead reference schemas based on an ID (Loading local schemas). This would entail somehow informing Helm about the schemas upfront such that they can be loaded into memory.

Is there a chance it gets fixed? We also ran into this issue.
In our case there is a workaround, since we always run lint outside the chart directory, but the issue is still annoying.

Should not have been closed by the bot.

Hi folks.
Would is be possible to re-open the discussion around this?
Would love to see if we can collaborate around a proposal to make this work.


Please provide error message if user inputs any other file extension other than .txt

If the input file is not .txt, you could display a message saying the raw data files other than .txt format is not supported under the current version. Currently, it generates no output if provided with any other file extensions. This might confuse the user or leave them wondering what went wrong.
Overall great work!

Thank you! It's nice catch.. I will debug it soon

Now I provide such error message if any other extension than txt file given. Although the empty dist folder still gets created. This is something I need to look in long run


Failed to start plugin 5 for 1 client

I'm facing this issue when I try to work with the plugin.
I'm on Zellij 037.2.

You need to be running Zellij 0.38.0, I forgot to add this in the docs, sorry about that! I'll add it now :)


Pause before repeat

A feature request. Would be great if a class could be added that would pause the animation before it repeated.
This would presumably mean changing the keyframes for each animation but SASS could help here.

I have solved this feature request: http://waitanimate.eggbox.io/
Hope you don't mind but I've used your animations as the example and have credited you.

Sorry for the late answer, I have been busy (still am). Awesome projet you got here :+1:

Thanks. I've submitted it to several sites but not received any feedback yet. If you have ideas or concerns then I'd love to know.


Add test for evaluate on QueryFile

Create an Interpreter abstraction to simplify interpreting various Monad transformers and helps avoid using Task when we don't need to

@wemrysi Probably spent a bit more time on this then I could have but I am pretty proud of myself for coming up with this. This way we can either interpret into a Task[State] or just State depending on the situation without creating endless natural transformations. It also reduces the amount of code needed interpretation with ReadWrite. Hopefully you don't spot some fundamental flaw with it :smile:

@wemrysi Even more generalized. Thx for the suggestions.

@jedesah This looks pretty good, I had a few more mostly organizational comments, then we're probably good to merge.

@wemrysi Updated.

:+1: Looks good

Not that this isn't building, but it looks like the issue might be due to my PR that you merged. Not sure if you want to fix it here or I can just submit another PR to fix that bit.

@wemrysi Ya, sure, that would be great, the fix is not immediately obvious to me.


fix auidin OSS, add OSS to tsmf, add commandline samples and syntax, add debug messages

@ivan-83 this PR is interesting, but it should be cutted in 2: OSS for tsmf  and logs.
In logs you should use __FUNCTION__ if you wanna print the current function name, like that if we rename the function (easy task in eclipse) we don't have to check for all the logs.

@freerdp-bot test my friend

@freerdp-bot test

@freerdp-bot test

@freerdp-bot test


Next + Aws-serverless-express

I'm trying to make nextJS work with aws-serverless-express. It's all right except for assets (css, js, ...)
Can someone take a look ? I have no solution.
https://github.com/CuistotduCoin/front
Except lambda.ts is :
const compression = require("compression");
const express = require("express");
const { parse } = require("url");
const pathMatch = require("path-match");
const awsServerlessExpress = require('aws-serverless-express');
const isProduction = process.env.NODE_ENV === "production";

// setup Express and hook up Next.js handler
const app = express();
app.use(compression());

const route = pathMatch();
const matches = [];

const binaryMimeTypes = ['*/*'];

// host the static files
app.use("/_next/static", express.static("./static"));
app.use("/static", express.static("./static"));

app.get('/', require('./serverless/pages/index').render)
app.get('*', (req, res) => {

  const parsedUrl = parse(req.url, true);
  const { pathname, query } = parsedUrl;
  let hasMatch = false;

  for (const match of matches) {
    const params = match.route(pathname);
    if (params) {
      try {
        require(`./serverless/pages${pathname}`).render(req, res, match.page, Object.assign(params, query))
      } catch (err) {
        require('./serverless/pages/_error').render(req, res, match.page, Object.assign(params, query))
      }
      hasMatch = true;
      break;
    }
  }
  if (!hasMatch) {
    try {
      require(`./serverless/pages${pathname}`).render(req, res, parsedUrl)
    } catch (err) {
      require('./serverless/pages/_error').render(req, res, parsedUrl)
    }
  }
})

// 404 handler
app.get("*", require('./serverless/pages/_error').render);

const server = awsServerlessExpress.createServer(app, null, binaryMimeTypes);
const lambda = (event, context) => awsServerlessExpress.proxy(server, event, context);

// export the wrapped handler for the Lambda runtime
exports.handler = lambda;

General issue is there : https://github.com/zeit/next.js/issues/6309

Error is on my side.

@romainquellec
I just run into the same error. Somehow The files generated by next can not be served by express static (not found). can you tell me, how you solved this ? (your express static configuration ? )


Links to navigate to appropriate section

Currently these links just prepends the # to route, it should scroll down to appropriate section in the website

There is a similar topic here #18

Thanks @LaRuaNa Closing this then


Fix powerlevel10k_classic background

@nwykes thanks for this one, can't believe I missed this.
For completeness, can you change it to the following?
"foreground": "#546E7A",
"background": "transparent",

That way we make the background explicit (same effect, but better for people trying to see what it does).
As for your validation error, the commits have to follow the conventional commits example, meaning for this one specifically it needs to start with fix: powerlevel10k_classic background (mind the case). I still need to add a contributing guide, although the action itself does list that context.
Also, you might want to rebase as well, I'm merging another PR in first.
Thanks!

Updated to use transparent and rebased.  Thanks - I had missed the commitlint check.


Add Github Actions CI

Base script from Cabana

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f4b78b0). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #3   +/-   ##
=========================================
  Coverage          ?   91.36%
=========================================
  Files             ?       37
  Lines             ?     3404
  Branches          ?        0
=========================================
  Hits              ?     3110
  Misses            ?      294
  Partials          ?        0

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 f4b78b0...06ec060. Read the comment docs.


Added c++ implementation and Python bindings of multiple contact iface + fixed few bugs - [merged]

In GitLab by @cmastalli on Aug 14, 2019, 17:56
Merges topic/cpp-multiple-contact -> cpp_devel
In this PR I solved the issue #217. Additionally it solved the old problem with Pinocchio v2.1.5 compilation (#200). By doing so, I noticed other issues in the test_contact unit-test where I detected and solved a bug in the contact 3d model.

In GitLab by @cmastalli on Aug 14, 2019, 17:56
enabled an automatic merge when the pipeline for fb0f336b45faa0c6f9f4576a68697dbd90bc0112 succeeds

In GitLab by @cmastalli on Aug 14, 2019, 18:04
added 1 commit
a7ed2dd6 - [unittest] Used the right one, ContactModelMultipleAbstractTestCase
Compare with previous version

In GitLab by @cmastalli on Aug 14, 2019, 18:04
enabled an automatic merge when the pipeline for a7ed2dd6f665961ebe4008e3e83fbde7a3091a43 succeeds

In GitLab by @cmastalli on Aug 14, 2019, 18:14
merged

In GitLab by @cmastalli on Aug 14, 2019, 18:14
mentioned in commit 29387f8d5f9acd4af503a98685ec2a806b788f66


Support latest d3d12 functions and interfaces

Would be great if RenderDoc supports the most recent d3d12 interfaces (e.g ID3D12Device3).
RenderDoc seems to fail hooking up the the corresponding wrappers in case of usage of such interfaces on the latest master.

That support should exist now, although I didn't have much in the way of sample code to test against so it may have bugs. Let me know if you find any problems.


assignment-2 IT6A MEET PATEL

PATEL MEET
2203031080011
ASSIGNMENT 2
QUESTION 1

QUESTION 2

QUESTION 3

QUESTION 4

QUESTION 5

Please put the output in the requested location mentioned in #79


20240529 v0.10.11 src4 dense mc line

New Prod config
Self check-list:

[ ] I have checked the lstchain config, in particular for:

[ ] az_tel instead of sin_az_tel if data to be analyzed have been produced with lstchain <= v0.9.7
[ ] "increase_nsb" and "increase_psf" are provided in "image_modifier" (if used)

[ ] I have checked the environment in the lstmcpipe config and it is the one used to analyse DL>1 data
[ ] I have provided the command (in README), or script (in additionnal .py file) used to produce the lstmcpipe config

Prod_ID
20240529_v0.10.11_src4_dense_MC_line
Short description of the config
Config for a source src4 with line dec_6166_high_density and NSB tuning corresponding or pedestal std 1.9 pe (reference run 8649, zd=65.5, reference MC simtel_corsika_theta_65.796_az_31.344_run1.simtel.gz)
Why this config is needed
This config create the RF and produce the the test DL2 files of the new dense MC line of src4

The production is launched 🚀
The cluster is quite busy, you may expect it to be ready early next week 🤞


Sam's cypress changes

There are a lot of lib upgrades within the package.json file, many seem unrelated to cypress.


SAM-2905: Consolidate selectIndex*.jsp files

https://jira.sakaiproject.org/browse/SAM-2905

This is in the same vein as #2676


bug: enhanced context shows paths with leading backslashes on Windows

Version
main cfa212c0
Describe the bug
When running the e2e test "should be able to index, then search, a git repository" on Windows, the paths shown back leading backslashes:

Expected behavior
The paths should be relative (and not start with a slash) or absolute (and be a full path including drive letter on Windows)
Additional context
No response

This has been fixed by @sqs's changes to pass URIs around and use a standard function for display:
https://github.com/sourcegraph/cody/assets/1078012/928dd4d4-a566-4816-99ec-ad65ed2ac682


enableLighting = true causes black globe on Android

On my Pixel 2 XL in Chrome 74, setting enableLighting to true causes the globe to render as completely black. I don't see any errors in the console. It seems to be an issue with the combination of showGroundAtmosphere and enableLighting, as disabling either of them brings the globe back.
Can be reproduced in this sandcastle: https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Ground Atmosphere.html

Thanks for reporting this @jdarpinian. I can reproduce this on my Pixel 3 in Chrome as well. I can also see that zooming in enough once you get to the fade out distance will trigger the globe to render again. But I don't see a separate code path that triggers when this fade reaches 1 or 0 in this shader:
https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Shaders/GlobeFS.glsl#L286
@bagnell any idea here?

@OmarShehata @jdarpinian I guess this is due to the structure, because this will not be reproduced on the pc platform, ios platform, Huawei mobile phone. the platform using Qualcomm processor seems to have this problem, I am removing all the structs, when I finish After working, I can confirm whether to solve this problem. #7651

This issue still occurs on android chrome, is it possible to fix?

Still presenting as an issue on both iPad OS and the latest Android version on a OnePlus 9 Pro.


Adding Phenopackets notes

This adds some inline notes (in descriptions) documenting the relation of the respective objects/schemas with respect to phenopackets v2. Such a documentation seems relevant to document GA4GH standard alignment & should promote cross-project compatibility.
See also the documentation in this issue.
No code changes; the unit~s~ fix is in https://github.com/ga4gh-beacon/beacon-v2-Models/pull/67

This change will not impact our implementation.

Merging after pos. feedback & discussion today.


supertest gets exception if the HTTP server is down

We have a REST API to reboot the HTTP server and then poll for it using another REST API to come back. While calling a REST API when web server is down, supertest gets an exception. You can see at the specific line that "res" is undefined because HTTP server is down. I think this code on line 202 needs to be modified to deal with this situation.
/home/psingh/applianceUpgrade/node_modules/supertest/lib/test.js:202
if (res.status !== status) {
^
TypeError: Cannot read property 'status' of undefined
at Test.assert (/home/psingh/applianceUpgrade/node_modules/supertest/lib/test.js:202:12)

It's been a while. Why this PR isn't getting merged?

I am planning to try and get the 1.1.0 release out next week.

I just tracked down this bug as well. We have a gulp task that starts our services and then runs functional tests. Due to a problem with our gulp task, the tests were running before the services finished starting. This was causing intermittent test failures with no clear reason for failure. Hoping this PR will expose the ECONNREFUSED error, which would have made debugging the problem much simpler.

@mikelax I can still reproduce this error as of 1.1.0 - running tests against an offline server (or the wrong port on an active server) always results in a pass, even if explicit expects are set.

@csvan I will update the tag for this issue. It just recently got merged into master but it was not part of the 1.1.0 release. You can try to check out master and see if that works for you.
I am going to bump this to version 1.2.0 as I would consider this a breaking change from current behavior.

Breaking changes should be 2.0, not 1.2.
But this seems like a bug fix, not something that's going to break actual uses. I may be wrong, but that's my gut-check.

@mikelax  - Do you know ETA for this fix; or know if supertest is working towards a fix?
My issue is similar to this :  https://github.com/visionmedia/supertest/issues/298
@csvan  - did you find a fix for it?

hi @mikelax  sorry to chime in with the others, but it's also occurring on 1.2.  Just did a fresh install from npm (1.2) and have the same error message.  Tried running from master and get the same message as well.
Any ideas or help needed?

Is there a workaround for this bug? All I get is the line [TypeError: Cannot read property 'status' of undefined], no stack trace, nothing usable to fix it.
Unlike the author of this thread, my server is definitely running. My code is:
tape(testeeName + 'creates new user in database', function (assert) {     supertest('http:<IP_ADDRESS>:3000/')         .post(testData.apiPrefix + "signup")         .send(testData.validUser)         .expect(200)         .expect('Content-Type', /json/)         .end(function (error, result) {               assert.end();     });

I am also still getting this issue. Tried a few node versions within 6, 7, and 8. For me it happens only when I attach two files to my supertest POST request


Rancher cannot display information

*Describe your issue here*
I've already opened udp500 and 4500

Useful
Info

Versions
Rancher v1.6.1 Cattle: v0.181.3 UI: v1.6.5

Access
localauth admin

Orchestration
Cattle

Route
hosts.new.index

I have same issue, when i want show logs i see only "disconnected".
Bare-metal - Docker 17.03.0-ce + Ubuntu 16.04.2 LTS

If you're using chrome can you share any logs from the dev tools console?

Yes, I use the Google browser

can you provide the console log, please?

@waterlufei
you can ssh to the agent and run docker exec to check if it works.
if there is a nginx in front of rancher server, please make sure you have correct nginx config to proxy websocket.


Why are upgradeable locks removed?

I found in the docs that upgradeable locks are no longer available. However this makes it hard to do this very typical pattern:
using(var lock = await makeReadLock()) {
    if(lockedObject.needsToBeChanged()) {
        await lock.upgradeToWriting();
        if(lockedObject.needsToBeChanged())
            lockedObject.performChanges();
    }
}

This is pretty standard pattern for things like:

Caching some data
lazy loading data from IO

I'm not even sure how to simulate this behavior using locks that are currently available.

Why are upgradeable locks removed?

Because it's too hard to ensure they are operating correctly. In my experience, >90% of read/write lock usage is inappropriate in the first place (for both synchronous and asynchronous code).

I'm not even sure how to simulate this behavior using locks that are currently available.

For simple scenarios, a basic lock will suffice:
using (await mutex.LockAsync()) {
  if (lockedObject.needsToBeChanged())
    await lockedObject.performChangesAsync();
}

or, if the performChanges is in fact synchronous:
lock (mutex) {
  if (lockedObject.needsToBeChanged())
    lockedObject.performChanges();
}

In the case of lazy loading, you should be using AsyncLazy<T>:
var obj = await asyncLazy;

In the case of caching, it depends. For in-memory caches, you can cache the Task<T> instead of the T, or cache an AsyncLazy<T> (e.g., this can give you automatic retries on errors). There is an open issue for a more user-friendly API for AsyncCache.


sensor.bl_nordrhein_westfalen_newcases: Number of new cases is much bigger than sensor.deutschland_newcases

During the last three days I set up a dashboard that shows new Covid cases from LK / NRW / Germany.
Every day the number of new cases is much bigger than the number of new cases in Germany. Today The numbers are:
sensor.deutschland_newcases == 7.050
sensor.bl_nordrhein_westfalen_newcases == 31.161

I expect that the sensor.bl_nordrhein_westfalen_newcases <= sensor.deutschland_newcases.
I installed the rki_covid integration on Friday, August 20th 2021.
💻 Versions (please complete the following information):

OS: core-2021.8.8
Supervisor: supervisor-2021.06.8
Browser: Google Chrome on macOS

🗄 Logfiles (Configuration > Logs)

🎓 Increase the log level for this custom integration by adding the following lines to the configuration.yaml

logs:
2021-08-22 03:51:14 ERROR (MainThread) [custom_components.rki_covid] Unexpected error fetching rki_covid data:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
return await self.update_method()
File "/config/custom_components/rki_covid/__init__.py", line 78, in async_get_districts
await parser.load_data()
File "/usr/local/lib/python3.9/site-packages/rki_covid_parser/parser.py", line 22, in load_data
await self._load_districts_recovered()
File "/usr/local/lib/python3.9/site-packages/rki_covid_parser/parser.py", line 37, in _load_districts_recovered
await self._extract_districts_recovered(data)
File "/usr/local/lib/python3.9/site-packages/rki_covid_parser/parser.py", line 70, in _extract_districts_recovered
assert len(data["features"]) > 0
AssertionError

2021-08-21 09:50:58 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration rki_covid which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

This issue could not be reproduced in the last weeks, but the log also showed an issue while parsing. This is already fixed in the latest version of the parser.


Nested cmake projects lead to too many command line flags for specific file.

We have a project that looks something like this:
product/CMakeLists.txt
product/daemon/CMakeLists.txt
product/daemon/src/CMakeLists.txt
product/daemon/tests/CMakeLists.txt
product/monitor/CMakeLists.txt
product/ui/CMakeLists.txt

When we open a file that is in product/daemon/src, it appears to be using all the -I options, -include options, etc. for all projects that life under the product directory (all those listed above), instead of just those generated by the inclusion of the CMakeLists files that lead back to the root (the ones in product, product/daemon, and product/daemon/src).
You can see an example of this in my other issue, https://github.com/atilaneves/cmake-ide/issues/24.
I've tried creating a .dir-locals.el in the product/daemon/src directory that points to either the CMakeLists.txt file in product/daemon/src, or to the one in /product, but the result is the same:
((nil . (
	 (cmake-ide-dir . "/Users/stebro/product/daemon/src")
         )))

Is there some other way I'm supposed to configure things to see only the relevant CMakeLists.txt files in a project?

cmake-ide-dir wouldn't help you, that's supposed to be the build directory. As for the flags, I use cmake-ide daily on a project with nested CMakeLists.txt. The way CMake works is that flags defined in a parent directory are inherited. If those flags show up in compile_commands.json, then that's how it's supposed to be. Could you check? It doesn't seem like a bug to me.

  Perhaps it is causing subsequent files in the compile_commands.json file to be included?  I can do a quick check.

Maybe. I can't tell with what you've posted.

Quoted strings are not the issue.  I have a new project, much simpler than the old one, which exhibits the same issue - compile options specific for one subproject are being included other subprojects.  I can send you zipfile if you want to test.

Don't know about a zipfile, but something to go on would help, yes.

I can't tell if the issue is fixed or not, so I'll close this. If it still exists, please reopen with enough information about your project to enable a fix.


what is the loopiters means, state['loopIters'] = 3000000, thanks!

I guess it was the maximum number of iterations.


Group by on high cardinary keys has bad performance

(you don't have to strictly follow this form)
Describe the situation
Clickhouse has an excellent performance when runs group by on low cardinary keys. But this implementation doesn't work well on high cardianry keys. The implementation has a hash maps merge phase, and when the hash maps are large，the cost of the  mergeing is very large.
We try another implementation for the high cardinary group by in https://github.com/bigo-sg/ClickHouse/commit/ba4a52410e54ba86529cc53a445e73e63782c328#diff-983d7dacc973d6fa6249aa3c6594379e902414fe6eee439eda2318b53db09560.
How to reproduce

Which ClickHouse server version to use
Which interface to use, if matters
Non-default settings, if any
CREATE TABLE statements for all tables involved
Sample data for all these tables, use clickhouse-obfuscator if necessary
Queries to run that lead to slow performance

Expected performance
What are your performance expectation, why do you think they are realistic? Has it been working faster in older ClickHouse releases? Is it working faster in some specific other system?
Additional context
Add any other context about the problem here.

Hash table resize is a big issue.


prefer-stable option should be present

This option will allow the minimum-stability: dev flag to install stable packages, when found.
Without the new flag, the packages on the dependencies list have dev versions installed wrongly

Thanks 👏


Bump pyright to 1.1.206

Current dependencies on/for this PR:

main

PR #331  (this PR)

This comment was auto-generated by Graphite.


Compiler and formatter bug - optional semicolons inside lambda following a nullable type

I ran into this issue while working in flutter. Basically what happens is if the left side argument type is nullable (and explicitly stated), then a lambda somewhere in the right side argument does not need semi-colons for the compiler to successfully compile it.
my use case was more complicated by a little, but I was able to boil it down to a super simple case, and a real use case that each demonstrate the problem.
void main() {
  //toggle the question mark to see the problem show up and leave.
  Function? simpleLambdaBug = () {
    print(1) // MISSING SEMI COLON
  };
  simpleLambdaBug();
  realUseCase();
}

Future<void> realUseCase() async {
  String? callbackOutput = await iDoThingsThenCallBack(
    () {
      print('Callback happening') // MISSING SEMI COLON
    },
  );
}

Future<String?> iDoThingsThenCallBack(Function callback) async {
  try {
    print('Doing things');
    await Future.delayed(Duration(milliseconds: 200));
    callback();
    return 'Happy accidents';
  } catch(e) {
    return null;
  }
}

This will run in Dart Pad or just calling 'dart '.
I noticed this issue because in VSCode I was getting auto format errors. IDK if that is useful, but here was the output I was getting
dart-lang/language#1      generateEditsForFormatting (package:analysis_server/src/lsp/source_edits.dart:96:33)
dart-lang/language#2      FormatOnTypeHandler.formatFile (package:analysis_server/src/lsp/handlers/handler_format_on_type.dart:37:12)
dart-lang/language#3      FormatOnTypeHandler.handle.<anonymous closure> (package:analysis_server/src/lsp/handlers/handler_format_on_type.dart:54:37)
dart-lang/language#4      ErrorOr.mapResult (package:analysis_server/lsp_protocol/protocol_special.dart:257:12)
dart-lang/language#5      FormatOnTypeHandler.handle (package:analysis_server/src/lsp/handlers/handler_format_on_type.dart:54:17)
dart-lang/language#6      MessageHandler.handleMessage (package:analysis_server/src/lsp/handlers/handlers.dart:148:12)
dart-lang/language#7      ServerStateMessageHandler.handleMessage (package:analysis_server/src/lsp/handlers/handlers.dart:187:36)
dart-lang/language#8      LspAnalysisServer.handleMessage.<anonymous closure> (package:analysis_server/src/lsp/lsp_analysis_server.dart:302:47)
dart-lang/language#9      LspAnalysisServer.handleMessage.<anonymous closure> (package:analysis_server/src/lsp/lsp_analysis_server.dart:297:21)
dart-lang/language#10     _rootRun (dart:async/zone.dart:1354:13)
dart-lang/language#11     _CustomZone.run (dart:async/zone.dart:1258:19)
dart-lang/language#12     _runZoned (dart:async/zone.dart:1789:10)
dart-lang/language#13     runZonedGuarded (dart:async/zone.dart:1777:12)
dart-lang/language#14     LspByteStreamServerChannel._readMessage (package:analysis_server/src/lsp/channel/lsp_byte_stream_channel.dart:87:16)
dart-lang/language#15     LspByteStreamServerChannel.listen.<anonymous closure> (package:analysis_server/src/lsp/channel/lsp_byte_stream_channel.dart:56:24)
dart-lang/language#16     _rootRunUnary (dart:async/zone.dart:1362:47)
dart-lang/language#17     _CustomZone.runUnary (dart:async/zone.dart:1265:19)
dart-lang/language#18     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1170:7)
dart-lang/language#19     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
dart-lang/language#20     _DelayedData.perform (dart:async/stream_impl.dart:591:14)
dart-lang/language#21     _StreamImplEvents.handleNext (dart:async/stream_impl.dart:706:11)
dart-lang/language#22     _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:663:7)
dart-lang/language#23     _rootRun (dart:async/zone.dart:1346:47)
dart-lang/language#24     _CustomZone.run (dart:async/zone.dart:1258:19)
dart-lang/language#25     _CustomZone.runGuarded (dart:async/zone.dart:1162:7)
dart-lang/language#26     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1202:23)
dart-lang/language#27     _rootRun (dart:async/zone.dart:1354:13)
dart-lang/language#28     _CustomZone.run (dart:async/zone.dart:1258:19)
dart-lang/language#29     _CustomZone.runGuarded (dart:async/zone.dart:1162:7)
dart-lang/language#30     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1202:23)
dart-lang/language#31     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
dart-lang/language#32     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
dart-lang/language#33     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:120:13)
dart-lang/language#34     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:185:5)

This appears to be a bug in the parser.

Any solutions to this


Readme Changes

Few changes to Readme as discussed.

Moved changes to another PR. Closing this @aravindputrevu


docs: design pattern - how to build actions with customizable images

Doc explaining the best design pattern to create actions with customizable images
cc @jpadams
Closes #2677.
Related to #2781
Signed-off-by: Guillaume de Rouville

@shykes @helderco. As it touches design pattern, could you please review it ?


Fix missing mpm_prefork on FreeBSD when using itk.(httpd: Configurati…

…on error: No MPM loaded)

Hey @jsm222, I added a few inline comments, can you please update your pull request to take this into account?
Thanks!

I used the addition otherwise I got a double declaration of apache::package.
I actually started out like your suggestion by simply removing FreeBSD from  the regex
That gives Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Class[Apache::Package] is already declared in file /usr/local/etc/puppet/environments/production/modules/apache/manifests/mpm.pp:87; cannot redeclare at /usr/local/etc/puppet/environments/production/modules/apache/manifests/mpm.pp:87 at /usr/local/etc/puppet/environments/production/modules/apache/manifests/mpm.pp:87:7 at /usr/local/etc/puppet/environments/production/modules/apache/manifests/mod/itk.pp:79 on node I have tried to fix it by simplifying package.pp even more, and added some of the FreeBSD package logic in mpm.pp. Not tested on BSD with apache ver < 2.4


Improve code coverage

Coverage increased (+2.3%) to 100.0% when pulling 9e7aba3e663a8018d38bfdcb21e0c9998dba92d6 on 50bhan:master into 34921d229912f054f690b879fa861793f9f939e8 on mohammad-fouladgar:develop.

Coverage increased (+2.3%) to 100.0% when pulling 9e7aba3e663a8018d38bfdcb21e0c9998dba92d6 on 50bhan:master into 34921d229912f054f690b879fa861793f9f939e8 on mohammad-fouladgar:develop.

Coverage increased (+2.3%) to 100.0% when pulling 9e7aba3e663a8018d38bfdcb21e0c9998dba92d6 on 50bhan:master into 34921d229912f054f690b879fa861793f9f939e8 on mohammad-fouladgar:develop.