text:
Decouple Numpy layer data initialization

Before submitting
Please complete the following checklist when submitting a PR:

[x] All new features must include a unit test.
If you've fixed a bug or added code that should be tested, add a test to the
tests directory!

[x] All new functions and code must be clearly commented and documented.
If you do make documentation changes, make sure that the docs build and
render correctly by running make docs.

[x] Ensure that the test suite passes, by running make test.

[x] Add a new entry to the .github/CHANGELOG.md file, summarizing the
change, and including a link back to the PR.

[x] Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.

Context:
lightning.gpu is decoupled from Numpy layer during initialization and execution.
Description of the Change:

The GPU state-vector initialization is now decoupled from the Numpy layer.
lightning.gpu  inherits from QubitDevice instead of LightningQubit now.
_state and _pre_rotated_state are deprecated from lightning.gpu.
The state() method is now deprecated from lightning.gpu.
A CUDA kernel is customized for setting the values of the state-vector with given values and their corresponding indices..
initSV is now implemented by cudaMemset and cudaMemcpy.

Benefits:

No need to copy the state-vector from host to device when constructing state-vector on GPU
State-vector on the host will be only allocated with full size when needed.
Per benchmark tests described here with L=1, it only takes 0.28 seconds for the current implementation on Nvidia A10-G, while it takes about 1.5 seconds to run with qsimcirq and 6.8 seconds to run with the pervious version of lightning.gpu.

Possible Drawbacks:

The deprecation of _state, _pre_rotated_state and state() breaks the current unit tests in PennyLane and both test_returns_state and test_supports_broadcasting tests in PennyLane are skipped for the moment.

Related GitHub Issues:

There is a linking error in current implementation. The error is :pennylane_lightning_gpu/src/simulator/StateVectorCudaManaged.hpp:153: undefined reference to void Pennylane::CUDA::DataBuffer<float2, int>::setElements<float2, int>(int&, float2*, int*, bool)'`.

Thanks @multiphaseCFD It looks like there's a lot of CPU functionality still copied over here that we want to get rid of.
I've marked a few, but will examine more next week.

Sure! Will fix them next week.

Hey @multiphaseCFD, nice work so far!

Thanks @AmintorDusko for the review! Will make corresponding changes tomorrow.

Thanks @multiphaseCFD Another suggestion
Hey @mlxd ,
Now setBasisState and setStateVector methods are not associated with methods in databuffer. However, I keep the previous cuda implementation for the moment.  Will remove the previous cuda implementation once we decide to.

Just some context on Python-specific memory allocations, for a given finite-shots GPU workload using 0.27.0 and this PR, we see an overall reduction of pymalloc calls.
v0.27.0

This PR

The missing 8GB corresponds with the no longer allocated qubit state-vector host-side buffer. I will continue checking here, but I believe this solves our issues with the host-side allocation.

Looks good to me. Thanks again for all of the work on this @multiphaseCFD

Thanks for all the constructive comments and suggestions! @mlxd

Hi Shuli, unfortunately, it only gives marginally better results for my script. Still, as Lee already reported a nice result, I am happy to approve this. I think the problem, in my case, is from the QNode implementation. Anyways, thank you for the nice work here.

Hi Shuli, unfortunately, it only gives marginally better results for my script. Still, as Lee already reported a nice result, I am happy to approve this. I think the problem, in my case, is from the QNode implementation. Anyways, thank you for the nice work here.

Thanks @chaeyeunpark for the update and the review! Would like to know more about the QNode problem when you're available.

authors: chaeyeunpark mlxd multiphaseCFD

repo: PennyLaneAI/pennylane-lightning-gpu


text:
Downstream LightningSimulator C++ API to the pennylane-lightning repository

Context: Catalyst needs to build a class wrapping the Lightning Qubit class. Here we are moving the logic from Catalyst to the Lightning repository.
Description of the Change: Moving code from Catalyst to this repository and updating the build system to build against Catalyst.
Benefits: Catalyst wheels will build faster.
Possible Drawbacks: Our build system now relies on headers coming from Catalyst. It is unclear if this may cause a deadlock in the future because of our cyclic dependencies (PennyLane, PennyLane Lightning, Catalyst). Chances are small because we don't rely on Catalyst wheels or build it from scratch.
[sc-70316]

Hi @rauletorresc, nice work so far. I left some small tidy-up suggestions and a request about the checking Catalyst part of the building system. Regarding the CIs reports, we have several codecov complaints, especially for the Python part. Did you check that? Also, Clang-Tidy is erroring because is treating warnings as errors, but it looks like the code is coming from the Catalyst repo. We might need a PR there first, before proceeding here.

Clang-tidy issues have been addressed :)

I have moved Test_LightningDriver.cpp from Catalyst to Lightning . Waiting for changes on the new fetched Catalyst headers ...

source: gharchive/pull-request

repo: PennyLaneAI/pennylane-lightning

license_type: permissive

license_source: github-api


text:
Sc 29670 PLCC navbar link updated to point to QHack 2023

Context: story-29670-pl-website-navbar-change-from-plcc-to-qhack-2023
Changing PLCC navbar link to QHack 2023 as a part of the soft launch.
Once updated, this PR will be merged in tomorrow at 9:00 a.m. and @josh146 will deploy the changes across the PL repos in time for QHack Save The Date release at 10:00 a.m.
Benefits: N/A
Possible Drawbacks: N/A
Related GitHub Issues: N/A

We could do this instead:

Would you want the current changes to be merged anyway tomorrow in the morning so that they can be deployed in time and we run this suggestion by Will or would you want this to be implemented before our merge tomorrow?
Looks nice! I assume this is just an image tag of the QHack logo in b&w and not an icon

@Anakhom sorry I should have provided more info - the change above isn’t a mockup, I implemented locally on this branch.
But it shouldn’t hold up this PR; we can always alter the design after.

@Anakhom sorry I should have provided more info - the change above isn’t a mockup, I implemented locally on this branch.
But it shouldn’t hold up this PR; we can always alter the design after.

Looks nice! I assume this is just an image tag of the QHack logo in b&w and not an icon

Yep!
@josh146 Got it, thank you! Then this will be merged tomorrow at 9:00 a.m. 😊

repo: PennyLaneAI/pennylane-sphinx-theme


text:
Reporting: use fixed precision for AvrTime and StdDev.

Makes report look much better with everything aligned;
Four decimals is a good comporomise;
Implemented using compile-time feature switch.

Sample:
 Method |    AvrTime |    StdDev |           op/s |
------- |----------- |---------- |--------------- |
 Sqrt13 | 60.7802 ns | 0.2933 ns |  16,452,713.42 |
 Sqrt14 |  1.6146 ns | 0.0162 ns | 619,364,025.60 |

LGTM. But you can remove FEATURE_REPORT_FIXED_PRECISION and set you formatting rules by default.

OK, if you are sure.

How's this looking now?
BTW, what's the best way to make amendments to pull requests?

revert back; then make the correct change; or
just make the adjustments on top?

I did the revert -> correct change. Probably not the right way :)

How's this looking now?

Looks good.

BTW, what's the best way to make amendments to pull requests?

You should squash your commits and execute git push -f.

So, should I do it for this? Even if it's already pushed to github?

So, should I do it for this?

Yes. In this case, history will look better.

Even if it's already pushed to github?

Yes. Just don't forget the -f.

All done. Neat technique, even if a somewhat dangerous, thanks for that.

authors: AndreyAkinshin ppanyukov

repo: PerfDotNet/BenchmarkDotNet

license: mit

license_source: bigquery


text:
How to use GAT to generate embeddings to graph nodes

Hi, Petar
Firstly, thanks for your great works!
I want to use GAT for link prediction, my datasets only can give the adjacency matrix as input for GAT. Node doesn't have explicit features like Cora dataset. My question is if I can generate embeddings (features) for each node of the graph, for example, can I assign a unique one-hot vector for every node as input feature?
Thanks

It seems that one hot input is not that appropriate. You can view each dimension as a channel and when you use one hot vector as the input feature, it would be far too sparse for information to aggregate in a single channel.
You can use row vector in Adjacency matrix as feature vector. Besides, I would suggest you to use some random walk based embedding technique to generate the initial embedding. (Node2vec etc.)

source: gharchive/issue

repo: PetarV-/GAT

license: MIT


text:
music.baidu.com.py: fix album only can get 10 songs issue; adjust filename format

之前 get_album_infos() 只能返回10首歌,发现是百度 api_json 的问题，改为ｆｏｒ循环调用get_song_infos(), 也简化了代码．

调整了文件名，单曲为＂歌手 - 歌名＂; 专辑为＂歌手 - 专辑名/音轨.歌手 - 歌名＂

自己测试工作良好

@ceyes 好了，thx.

authors: PeterDing ceyes

repo: PeterDing/iScript


text:
data_text_network.xlsx is not found

I am getting:
FileNotFoundError: [Errno 2] No such file or directory: 'data_text_network.xlsx'
How this file is generated?
Thank you for your help

Hi,
I am sorry for the missing dataset.  Unfortunately, I could not retrieve the code or the data.  The data was generated with an updated code that was used in this Mario Krenn's paper: https://arxiv.org/abs/1906.06843.
The code used in this paper is here: https://github.com/MarioKrenn6240/SEMNET/tree/master/CreateAndAnalyseSEMNET
Unfortunately, I cannot help you more at the moment.

Python code is here: https://github.com/MarioKrenn6240/SEMNET/tree/master/python

Thank you very much, you did help me, I will look at the paper and code


text:
Naming chunks, suppressing msColl output

I'll be replacing fMS chunks with files that include specific S-GA files. To do this properly I think we should:

adjust naming to remove P5 (e.g. from P5-f1818_C01.xml to  f1818_C01.xml)
do not generate fMS files so that a possible re-run wouldn't overwrite the chunk files that I'll be adding

Got it...I will rewrite that XSLT to suppress output of msColl edition chunk files. @raffazizzi

Note: we need Variorum data from the resequencing of fMS. What needs to be suppressed is the final Variorum edition output--or it needs to be directed to a different place for fMS (not for Variorum edition publication) if we want to work with it (as we might).

authors: ebeshero raffazizzi

repo: PghFrankenstein/fv-data

license: Unlicense


text:
readc3d error

Hi Phil,
I am trying to convert some c3d files to zoo, however I am getting the following error:
Reference to non-existent field 'LABELS'.
Error in readc3d (line 182)
Alabels = cellstr(data.Parameter.ANALOG.LABELS.data');
Error in c3d2zoo (line 90)
r = readc3d(fl{i});
I tried to test this on some older data and Alabels returns: {''},
thanks for the help

Hey Phil,
If you are sure that there is nothing wrong with your trials, you can just
edit that line to ignore the labels. Something like:
if isfield(data.Parameter.ANALOG,'LABELS')
put the existing code
end
Can you send me the c3d file? I've since updated the c3d2zoo file so I
would want to check if I get the same error...
On Thu, Mar 9, 2017 at 8:46 AM, philjrenaud notifications@github.com
wrote:

Hi Phil,
I am trying to convert some c3d files to zoo, however I am getting the
following error:
Reference to non-existent field 'LABELS'.
Error in readc3d (line 182)
Alabels = cellstr(data.Parameter.ANALOG.LABELS.data');
Error in c3d2zoo (line 90)
r = readc3d(fl{i});
I tried to test this on some older data and Alabels returns: {''},
thanks for the help
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PhilD001/biomechZoo/issues/3, or mute the thread
https://github.com/notifications/unsubscribe-auth/AHBUYiV7S9pAzIp-XMLSMs63xJ21r1eFks5rkALNgaJpZM4MYGdb
.

here ya go, I'll await to see if you get the error or not, thanks
[1489001031032_IHRG]
Philippe Renaud, Research Assistant
mcgill.ca/ihrg, @McGillIHRG
514-398-4184 ext. 0583

From: Philippe C. Dixon notifications@github.com
Sent: March 9, 2017 11:55 AM
To: PhilD001/biomechZoo
Cc: philjrenaud; Author
Subject: Re: [PhilD001/biomechZoo] readc3d error (#3)
Hey Phil,
If you are sure that there is nothing wrong with your trials, you can just
edit that line to ignore the labels. Something like:
if isfield(data.Parameter.ANALOG,'LABELS')
put the existing code
end
Can you send me the c3d file? I've since updated the c3d2zoo file so I
would want to check if I get the same error...
On Thu, Mar 9, 2017 at 8:46 AM, philjrenaud notifications@github.com
wrote:

Hi Phil,
I am trying to convert some c3d files to zoo, however I am getting the
following error:
Reference to non-existent field 'LABELS'.
Error in readc3d (line 182)
Alabels = cellstr(data.Parameter.ANALOG.LABELS.data');
Error in c3d2zoo (line 90)
r = readc3d(fl{i});
I tried to test this on some older data and Alabels returns: {''},
thanks for the help
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PhilD001/biomechZoo/issues/3, or mute the thread
https://github.com/notifications/unsubscribe-auth/AHBUYiV7S9pAzIp-XMLSMs63xJ21r1eFks5rkALNgaJpZM4MYGdb
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/PhilD001/biomechZoo/issues/3#issuecomment-285410956, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AL76mY4Ng483RD1Zc6GD9oFMsup8_ewnks5rkC8MgaJpZM4MYGdb.

sorry file isn't coming through. Pls resend maybe straight to my email
On Thu, Mar 9, 2017 at 11:58 AM, philjrenaud notifications@github.com
wrote:

here ya go, I'll await to see if you get the error or not, thanks
[1489001031032_IHRG]
Philippe Renaud, Research Assistant
mcgill.ca/ihrg, @McGillIHRG
514-398-4184 ext. 0583 <(514)%20398-4184>

From: Philippe C. Dixon notifications@github.com
Sent: March 9, 2017 11:55 AM
To: PhilD001/biomechZoo
Cc: philjrenaud; Author
Subject: Re: [PhilD001/biomechZoo] readc3d error (#3)
Hey Phil,
If you are sure that there is nothing wrong with your trials, you can just
edit that line to ignore the labels. Something like:
if isfield(data.Parameter.ANALOG,'LABELS')
put the existing code
end
Can you send me the c3d file? I've since updated the c3d2zoo file so I
would want to check if I get the same error...
On Thu, Mar 9, 2017 at 8:46 AM, philjrenaud notifications@github.com
wrote:

Hi Phil,
I am trying to convert some c3d files to zoo, however I am getting the
following error:
Reference to non-existent field 'LABELS'.
Error in readc3d (line 182)
Alabels = cellstr(data.Parameter.ANALOG.LABELS.data');
Error in c3d2zoo (line 90)
r = readc3d(fl{i});
I tried to test this on some older data and Alabels returns: {''},
thanks for the help
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PhilD001/biomechZoo/issues/3, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHBUYiV7S9pAzIp-
XMLSMs63xJ21r1eFks5rkALNgaJpZM4MYGdb>
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://github.com/
PhilD001/biomechZoo/issues/3#issuecomment-285410956>, or mute the thread<
https://github.com/notifications/unsubscribe-auth/
AL76mY4Ng483RD1Zc6GD9oFMsup8_ewnks5rkC8MgaJpZM4MYGdb>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/PhilD001/biomechZoo/issues/3#issuecomment-285411962,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHBUYgI4ERAyyf_-OW8FYuFtRRxRGZ1Lks5rkC_GgaJpZM4MYGdb
.

The updated readc3d and c3d2zoo files solve this bug.


text:
Code License

What is this code licensed as?
Can it be the MIT license?

I finally added the MIT license.

authors: PhilipGriffith k----n

repo: PhilipGriffith/AHP


text:
Add the ability to access alpha and beta versions of ACF

Add the ability to access alpha and beta versions of ACF

See #31

authors: briggySmalls jezemery

repo: PhilippBaschke/acf-pro-installer


text:
Can't kill in Foreground

When aprx is run with -d, it still daemonizes enough to ignore ^C from the controlling console. Aprx needs some way to be killed in the foreground.

When you run aprx by "sudo aprx -d" you never create a root console to send it signals from.  The correct way to run aprx in diagnostics mode is to spawn a root shell and then run aprx:
$ sudo -s
# aprx -d

repo: PhirePhly/aprx


text:
Add Dark Mode

Introduce a dark mode option to provide users with an alternative color scheme that is easier on the eyes and conserves battery life on OLED screens.

I would also like to try my hands on it.

Plzz assign this issue to me I've worked on it before too

@vishapraj, I have assigned this issue to you. Please clone the repo, and if you encounter any problems at any step, let me know. @Redvey, @himanshiiiiii, you guys too, clone and run the project locally to explore the app, feel free to create your own issues as well

@vishapraj, I have assigned this issue to you. Please clone the repo, and if you encounter any problems at any step, let me know. @Redvey, @himanshiiiiii, you guys too, clone and run the project locally to explore the app, feel free to create your own issues as well

Ok

I want to contribute toh this issue too, please assign me this issue #JWOC

@vishapraj  do you need one more day as this is a hard label issue, or should I assign this to someone else?

Yeah , I need one more day.

@sneha502 are you done with the setup part?

Hey @Photon3009 i would like to work on this
Please check if this kind of dark mode would work
Also we want the dark mode natively or by clicking any button in the app itself?


text:
after scan the statistics page still show zero files exclude

I have a lot files like node_modules can be scanned, but after scan the statistics page has nothing change.

by the way, I got some error log

same issues
intel，macos version: 14.1.2

authors: LuCatIsFun iulo

repo: PhotonQuantum/tmexclude


text:
Commit 6935658 issue with no controllers  in list

@Yadunund I am unable to get the controller to be recognized with this change if I do a fresh install.  Am I doing something wrong that you can tell?
See below and it says that it says that there are zero controllers in the list.  If I revert this commit, it works as normal.

6935658e4944c7ff58067339aca4d0673297018f this commit

Could you provide more information:

OS, version of ROS 2 (whether binary or source install)
versions of moveit2, joint_trajectory_controller
what launch commands you used
This would help reproduce the behavior. It would also help if you could paste your entire terminal input into a gist and share the link.

Ubuntu 22 ROS2 Hubmle Binary install
updated moveit2 binaries.
I'm using the commands pasted directly from the documentation here: https://github.com/PickNikRobotics/abb_ros2/blob/rolling/docs/README.md#simulating-a-robot-in-ros-2

So there are a few breaking changes between humble and iron and rolling binaries of ros2_controllers. I only tested with Iron and Rolling. I plan to fix the CI job in this repo later this week so I can investigate this further then. Maybe the workaround is to create a humble branch off the latest working commit.

Hi @jodle001
I think I found the issue. Could you try this PR https://github.com/PickNikRobotics/abb_ros2/pull/60?
I realized when I tested the commit that "broke" things, I had tested with a moveit config for a different robot which had the moveit_controllers.yaml file properly setup.


text:
Porcupine Issue: Run time error while running inside docker

Hi  ,
I need to run porcupine_demo_mic (python) inside docker . While running inside docker it shows run time error. Could anyone please help me to sort this out.
Error log:
Traceback (most recent call last):
File "porcupine_demo_mic.py", line 205, in
main()
File "porcupine_demo_mic.py", line 201, in main
input_device_index=args.audio_device_index).run()
File "porcupine_demo_mic.py", line 88, in run
sensitivities=self._sensitivities)
File "/usr/local/lib/python3.6/dist-packages/pvporcupine/init.py", line 70, in create
sensitivities=sensitivities)
File "/usr/local/lib/python3.6/dist-packages/pvporcupine/porcupine.py", line 110, in init
raise self._PICOVOICE_STATUS_TO_EXCEPTIONstatus
RuntimeError

Thanks @arjun-027 for the report. Can you give us step-by-step instructions on how to re-create your environment so we can re-create your issue? then we are able to debug and help.

I am doing a  voice recognition based project (Jetson nano) . Am already using a docker container for that project. Now , I am trying to integrate wake word detection by the help of picovoice.  I cloned the github repository (picovoice/porcupine) inside that docker container. But while trying to run the program above mentioned error occurs.
[Command : - porcupine_demo_mic  --show_audio_devices had executed successfully].
Please , help me to sort this out. Kindly ask any other details you need

To clarify you have a docker running on Nano? If you want to use Porcupine from Python you can simply install the PIP packages. Can you try that?

I have already pip installed pvporcupinedemo  , but still the problem persists. Outside the docker container program works perfectly.

What's the version of pvporcupinedemo? Can you make sure it is the latest (2.0.3) and give us the error message again? The latest version gives better error messages.

I have installed the latest version...Even installed today with the latest version.
Error log:
Traceback (most recent call last):
File "porcupine_demo_mic.py", line 205, in
main()
File "porcupine_demo_mic.py", line 201, in main
input_device_index=args.audio_device_index).run()
File "porcupine_demo_mic.py", line 88, in run
sensitivities=self._sensitivities)
File "/usr/local/lib/python3.6/dist-packages/pvporcupine/init.py", line 70, in create
sensitivities=sensitivities)
File "/usr/local/lib/python3.6/dist-packages/pvporcupine/porcupine.py", line 110, in init
raise self._PICOVOICE_STATUS_TO_EXCEPTIONstatus
RuntimeError

OK. I just updated the package. Can you please install pvporcupinedemo 2.0.4. Once you have it, it should give you a more descriptive error code and I can use that to help out.

close due to inactivity. please re-open if needed

repo: Picovoice/porcupine


text:
Add command to give/remove/toggle a role to everyone with one or more specific roles

Like the dyno command ?role in [role] <+|->[role] but better, accepting multiple ids, like:

vivi role in [role]( <role2> ... <roleN>); <+|->[role]( <+|->[role2] ... <+|->[roleN])

iteration should just mimic the dyno command.

Or expand vivi role add to also accept role ids/mentions (with pluses and minuses)

Implemented with v0.6.15.
No toggle command, though.

repo: PieInTheSky-Inc/PSS-Fleet-Helper


text:
Error in the console

Quests 4.0.5
This error appears in the console every time that i start my server

@skyman478 Try https://ci.codemc.io/job/PikaMug/job/Quests/247/

repo: PikaMug/Quests


text:
thpool.c has leftovers after some merge

At line 459 inside thpool.c, we can see there is some forgotten leftovers after some merge.
/* Get first job from queue(removes it from queue)
<<<<<<< HEAD
 *
 * Notice: Caller MUST hold a mutex
=======
>>>>>>> da2c0fe45e43ce0937f272c8cd2704bdc0afb490
 */

It seems to be contained inside /* */ so that is why it may have been unnoticed till now (code compiles just fine with this being in).

Fixed with https://github.com/Pithikos/C-Thread-Pool/pull/75

authors: Pithikos WSSDude

repo: Pithikos/C-Thread-Pool


text:
feat(cisco/meraki): add support for wired desk tracking

currently missing the requests to obtain the port status with the mac addresses

yep that port status request is part of https://github.com/PlaceOS/drivers/issues/408
so best if @grkek adds that as a PR into this branch (meraki-wired-desks)
and then at the end we PR meraki-wired-desks into master once.

authors: stakach w-le

repo: PlaceOS/drivers


text:
An error has occured: Failed to mount CTRNAND?

I just finished installing arm9 using the site into the browser and was on the luma settings part. I pressed start to save and got this error: "An error has occured: Failed to mount CTRNAND Press any button to shutdown"? I am not sure what this means. I am on new 3DS 2.1 and havent restored yet.

https://github.com/Plailect/Guide/issues/744
As this issue states, it's normal. Try restoring to 9.2

I restored it. Thanks!

I'm having the same problem, and I don't know what you mean by restoring to 9.2

The guide should cover this now
"If you get a “Failed to mount CTRNAND” error, just continue to the next section" next section being
https://3ds.guide/installing-arm9loaderhax.html#section-iv---restoring-the-system

well I hold start on boot but nothing it just goes to the failed to mount screen

and I can't get past the screen whatsoever

Double check you've done this step right

Copy Hourglass9.bin from the Hourglass9 .zip to the /luma/payloads/ folder on your SD card and rename Hourglass9.bin to start_Hourglass9.bin

IT WORKED. THANK YOU

I am absent minded sometimes sooooo thank you soooo much

What about after everything? I have everything done but need to go back into Luma settings to edit something, will I get the failed to mount CTRLNAND again? Every time? If so, THEN how would i get out of it? Or should it not say the error after? Any advice please!

You only get that error on 2.1 or should
On 6 Jan 2017 11:18, "travjmaggs" notifications@github.com wrote:

What about after everything? I have everything done but need to go back
into Luma settings to edit something, will I get the failed to mount
CTRLNAND again? Every time? If so, THEN how would i get out of it? Or
should it not say the error after? Any advice please!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Plailect/Guide/issues/748#issuecomment-270884536, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABfl4WNR3guXRTUzYDQgtNlUl4zc0K2zks5rPiL7gaJpZM4LDRKd
.

Thanks, I just went into it and worked fine.

Hi, i also have the same problem at first. Then repeat the from the first step in prep work and overwrite everything from the start. After that, i saw that this problem arise because i write payloads in luma folder without 's'. But i cant get to installing the arm9loaderhax by go to dukesrg.github.io/2xrsa.html?arm11.bin because i cant open my 3ds since this error keep coming. so is it ok if i didnt do that? i already copy the otp.bin file to the a9lh folder which do it before. then i just recover with hourglass9 and then do all the steps.

Hi I'm having the failed to load ctrnand issue but this also happens when I try to turn it on normally the only other thing I can access to is luma configuration by pressing select and on at the same. I'm following instructions for installing a9lh and not hourglass 9

authors: CrystalMoogle FatherYas Gelums Pecashi kokujo travjmaggs

repo: Plailect/Guide


text:
In Readme

function is written as .word2phrases() but it is .word2phrase()

Thanks for bringing this to my attention! Fixed the function name in the README.md file.

authors: Planeshifter eselkin


text:
A set of ideas for fashion

I haven't fully studied the plugin yet, maybe some ideas have already been implemented
1 /deathlog player similar to https://www.curseforge.com/minecraft/mc-mods/deathlog A very necessary thing on the server, especially when players die due to mod bugs, you should not trust them in words
2 Improved invsee, some mods use their containers to store things, I believe you can implement support for a full view of the entire inventory as well as the ender of the player's chest
3 /createkit - the ability to customize the issuance of things by slots, it is more convenient than adding everything through the code. In addition, make a default set of Newbie which will be used to issue things to new players (1 visit to the server)
4 /chatcolor - sets the default color of the player text
5 /killall The command will kill specified types of mobs for example --monster, --animals
6 /maxplayer Changes maximum amount of players who can connect to server - and the permission to circumvent the restriction
7 /openbook Open book gui. Optionally you can provide exact file which needs to be loaded and shown.
8 /patrol Teleports to random players without repeating same player until all players have been visited.
9 change /day, /night let the cycle from night to day and vice versa pass smoothly, it will look beautiful.
10 /ride Ride target entity
11 /sit in addition, you can use the support of floor blocks on which the player can sit by right-clicking
https://proxy.spigotmc.org/673d00852dd28f20aee4d49175658424c20a873d?url=https%3A%2F%2Fi.imgur.com%2FRM9ZGHF.png
12 /lay

13 /playersit
https://proxy.spigotmc.org/bb7556c3a72e34e897dddfe818beb426c7c46706?url=https%3A%2F%2Fi.imgur.com%2FqhJNYoE.png
14 /unloadchunks Unloads chunks from server memory
15 /homes GUI player home
16 /freeze Suspends players actions
17 /actionbarmsg Sends action bar message to player

1 Already in the mod, try /deaths.
2 I suppose I could do this, but I don't really see the benefit.
3 Already in the mod.
4 Might do this in Chattix instead.
5 Already in the mod, try /wipeout.
6 I guess I could make a gamerule to bypass this limit, but I don't really see the use in a command to change this value in-game. Especially as it probably wouldn't save it to the disk anyway.
7 Don't get what use this has. Do you mean a command to edit signed books?
8 Don't really see the use in this.
9 Don't really see the use in this.
10 I guess I could do that.
11 You can already right click stairs to sit on them, but I'll leave it at that.
12 Don't really see the use in this.
13 Basically the same as 10
14 I could look into this, I guess. But chunks already get unloaded when they're not needed anyway. Doing it manually would probably just break stuff.
15 Don't really see the use in a GUI for homes
16 I could do this, but it's really hard/near impossible to properly integrate this with mods without breaking stuff.
17 I guess I could do that

I will not be implementing any of these ideas as either I wasn't intending to anyway or they are no longer relevant.

authors: PlanetTeamSpeakk XionioXMaster

repo: PlanetTeamSpeakk/MoreCommands


text:
fix: welsh project updates

Describe your changes
Ticket: https://pins-ds.atlassian.net/browse/APPLICS-1147

Adds welsh language flag to the getPageData which was being used down the chain but wasn't being passed.
Bonus addition in same PR is to search by caseReference, it might not be used by users are much but speeds up development and testing

Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[ ] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

:tada: This PR is included in version 2.33.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.41.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: AnthonyJWalsh Yakitrak


text:
Stem Hairiness

[Term]
id: TO:0000879
name: stem hairiness
def: "A stem anatomy and morphology trait (TO:0000361) which is associated with the presence or absence of hair on the stem (PO:0009047)." [PO:0009047, TO:moorel]
comment: Refer to hairy (PATO:0000454): A pilosity quality inhering in a bearer by virtue of the bearer's being covered with hair or hairlike projections.
xref: PATO:0000454
is_a: TO:0000361 ! stem anatomy and morphology trait
created_by: moorel
creation_date: 2012-10-09T15:17:12Z
It is not clear to me if "Stem hairiness" is due to an increase in the number of hairs (pubescence) on the stem or if the hairs are longer than normal and thus the stem "appears" to be hairier. Should the definition be changed to stipulate the hairiness measurement or should the name be changed to maybe "stem hair" which to me, seems to fit the current definition better than "hairiness".

Should this also refer to the PO term for trichome, or can the hairs be some other kind of structure? I only now of trichomes, but who knows.

This should be on the TO tracker, not the PO one. :\

This TO term refers to a PATO term through an xref.  What is the semantics behind xref? Should xref used only for "equivalent class" or can it have a broader meaning like "somehow related to"? How can the difference be made?
I looked at the obo spec but it is still unclear.

This issue was moved to Planteome/plant-trait-ontology#405

repo: Planteome/plant-ontology


text:
Opening multifile data set seems to only provide data at the first time step

I'm running Epoch1D for the simple two stream instability from the basic examples.
I can read each output time individually fine using sdf-xarray, but when I try to read as a multifile data set using
ds = xr.open_mfdataset(
    "*.sdf",
    combine="nested",
    data_vars='minimal',
    coords='minimal',
    compat='override',
    preprocess=SDFPreprocess(), keep_particles = True
)

I don't hit any errors. Whilst plotting using plot(ds['X_Particles/Right'].isel(time=0), ds['Particles/Vx/Right'].isel(time=0),'bo', markersize = 1) works as expected, plot(ds['X_Particles/Right'].isel(time=1), ds['Particles/Vx/Right'].isel(time=1),'bo', markersize = 1) produces an empty plot with the default axis range. Printing the values, i.e. print(ds['X_Particles/Right'].isel(time=1).values) returns an array full of NaNs.
I'm new to epoch and sdf-xarray (and xarray) so I'm possibly just doing something stupid.

Oh I think that might just be combone="nested" -- try removing that? I
think it's still in the readme but shouldn't be!
On Mon, 2 Sept 2024, 16:59 David Dickinson, @.***>
wrote:

I'm running Epoch1D for the simple two stream instability from the basic
examples
https://epochpic.github.io/documentation/examples/basic_examples.html.
I can read each output time individually fine using sdf-xarray, but when I
try to read as a multifile data set using
ds = xr.open_mfdataset(
"*.sdf",
combine="nested",
data_vars='minimal',
coords='minimal',
compat='override',
preprocess=SDFPreprocess(), keep_particles = True
)
I don't hit any errors. Whilst plotting using plot(ds['X_Particles/Right'].isel(time=0),
ds['Particles/Vx/Right'].isel(time=0),'bo', markersize = 1) works as
expected, plot(ds['X_Particles/Right'].isel(time=1),
ds['Particles/Vx/Right'].isel(time=1),'bo', markersize = 1) produces an
empty plot with the default axis range. Printing the values, i.e.
print(ds['X_Particles/Right'].isel(time=1).values) returns an array full
of NaNs.
I'm new to epoch and sdf-xarray (and xarray) so I'm possibly just doing
something stupid.
—
Reply to this email directly, view it on GitHub
https://github.com/PlasmaFAIR/sdf-xarray/issues/16, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALLAXWE4RPCMODZ2GV5X53ZUSDPRAVCNFSM6AAAAABNQSZNM6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYDCMRWHE3DKMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Ah thanks, that's sorted it. Yes I just copy-paste from the readme!

Fixed in 6ea7f96

repo: PlasmaFAIR/sdf-xarray


text:
Wrappers around the new builtins for vasil

We need wrappers around the new builtins like serialization and signing

this has been resolved with #507

repo: Plutonomicon/plutarch-plutus


text:
documentation: update development plan

Co-authored-by:
@paytonchan
@chene40
@angelaw7
@tan-jason

PR closes #6

my brodi is making steak now lol he says to just make a separate PR and add our blurbs in if we want @angelaw7

MERGE THAT JAJAJAJA

repo: PlutosCapstone/Plutos


text:
Python 3 orientation_magic bug

When using “calculate gepgraphic/tilt correction…” from pmag_gui I get:
File "/Users/ronshaar/PmagPy/dialogs/pmag_basic_dialogs.py", line 3149, in on_m_calc_orient
ran_successfully, error_message = ipmag.orientation_magic(or_con, dec_correction_con, dec_correction, bed_correction, hours_from_gmt=hours_from_gmt, method_codes=method_codes, average_bedding=average_bedding, orient_file='demag_orient.txt', samp_file=samp_file, site_file=site_file, input_dir_path=self.WD, output_dir_path=self.WD, append=append)
File "/Users/ronshaar/PmagPy/pmagpy/ipmag.py", line 4493, in orientation_magic
if var != "":
NameError: name 'var' is not defined

Fixed.
In Python 3 we can use exec to assign values to local variables but they need to declared first.

@ronshaar, a clarification about being able to assign variables using exec in Python 3:
You actually cannot assign a “local” variable using exec.

def f():
...     a = 1
...     exec("a = 3")
...     print(a)
...
f()
1

So, in that case, declaring the local variable first just means that you end up using that first declared value.  You can still set global variables with exec, though:

a = 1
exec("a = 3")
a
3

Exec also still works for setting things, like wx.SetBackgroundColour, but it’s definitely something to be cautious of.
So, what was happening in the code fix that you did in c35921c is that the variable was being initialized to ‘’ but couldn’t be re-set by exec.
Fortunately, exec wasn’t really necessary in this function anyway.  Here’s my update:  b7c514d.  I’ve tested it with a modified version of the example file in data_files/orientation_magic (modified to include some additional headers and make sure we are hitting everything), and it seems to work correctly.  Let me know if you find that this doesn’t work the way you expect!

On May 13, 2017, at 10:29 AM, Ron Shaar notifications@github.com wrote:
Fixed.
In Python 3 we can use exec to assign values to local variables but they need to declared first.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub https://github.com/PmagPy/PmagPy/issues/193#issuecomment-301262440, or mute the thread https://github.com/notifications/unsubscribe-auth/ABwGIkw3SX1Z0DyKQIO_CA-TA9U6uf5Lks5r5eh4gaJpZM4NYqnk.

Thanks Lori.
You are totally correct about the exec. Im happy you found this bug.  My mistake was that I didn’t understand that   exec behaves differently inside a definition:

a=1;exec("a=3");print (a)
3

but

def f():
...     a=1;exec("a=3");print (a)
...
f()
1

Thanks !!
Ron.

On May 15, 2017, at 10:39 PM, Lori J notifications@github.com wrote:
@ronshaar, a clarification about being able to assign variables using exec in Python 3:
You actually cannot assign a “local” variable using exec.

def f():
... a = 1
... exec("a = 3")
... print(a)
...
f()
1

So, in that case, declaring the local variable first just means that you end up using that first declared value. You can still set global variables with exec, though:

a = 1
exec("a = 3")
a
3

Exec also still works for setting things, like wx.SetBackgroundColour, but it’s definitely something to be cautious of.
So, what was happening in the code fix that you did in c35921c is that the variable was being initialized to ‘’ but couldn’t be re-set by exec.
Fortunately, exec wasn’t really necessary in this function anyway. Here’s my update: b7c514d. I’ve tested it with a modified version of the example file in data_files/orientation_magic (modified to include some additional headers and make sure we are hitting everything), and it seems to work correctly. Let me know if you find that this doesn’t work the way you expect!

On May 13, 2017, at 10:29 AM, Ron Shaar notifications@github.com wrote:
Fixed.
In Python 3 we can use exec to assign values to local variables but they need to declared first.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub https://github.com/PmagPy/PmagPy/issues/193#issuecomment-301262440, or mute the thread https://github.com/notifications/unsubscribe-auth/ABwGIkw3SX1Z0DyKQIO_CA-TA9U6uf5Lks5r5eh4gaJpZM4NYqnk.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/PmagPy/PmagPy/issues/193#issuecomment-301581578, or mute the thread https://github.com/notifications/unsubscribe-auth/AGGcPWt-rDS4IpHoDDByR9z3skLgpGzkks5r6KoKgaJpZM4NYqnk.

repo: PmagPy/PmagPy


text:
Pass all childs types to enum?

I somehow possible to skip the child definition and just for example use:
#[xml(child = "*")]
childs: Vec<All>,

or
#[xml(childall)]
childs: Vec<All>,

I have an enum like that:
#[derive(XmlWrite, XmlRead, PartialEq, Debug)]
pub enum All {
    #[xml(tag = "Figura")] Figure(Figure),
    #[xml(tag = "Pomiar")] Measurement(Measurement),
    #[xml(tag = "Wyswietlacz")] Display(Display),
    #[xml(tag = "Grupa")] Group(Group),
    #[xml(tag = "GrupaObiektow")] GroupObjects(GroupObjects),
    #[xml(tag = "Opis")] Desc(Desc),
}

And doing:
#[xml(child = "Figura", child = "Pomiar", child = "Wyswietlacz", child = "Grupa", child="GrupaObiektow", child="Opis")]
childs: Vec<All>,

Is just double work, or even in my case four times repeating that same thing because Group and GroupObjects also contain child's. The enum have all information need to parse child's, and it could just return some error "VariantNotFound" when an unknown child appears.

Currently, the child tags are used as literals when expanding the read logic on the containing structure. I don't see a way within the rust macro system to access the child type attributes.
However, it should be possible to provide the child type tags from an associated function that's called during parsing. It will only handle constant data and should thus be optimized into constant comparisons, much like right now. I'll try to get a PR going.

authors: afflux dragonnn

repo: PoiScript/strong-xml


text:
Copy number analysis using ASCAT

Hi
I have a tumour only sample (WGS)
For CNV I done
> library(maftools)
> library(ASCAT)
> counts = maftools::gtMarkers(t_bam = "my_sample.bam",
+                              build = "hg38")
trying URL 'https://github.com/CompEpigen/ezASCAT/blob/main/inst/extdata/GRCh38_SNP6.tsv.gz?raw=true'
Content type 'application/octet-stream' length 3532118 bytes (3.4 MB)
==================================================
downloaded 3.4 MB

Fetching readcounts from BAM files..
Processing RUMA_LM1.recal.bam :
 current chromosome: 1
 current chromosome: 10
 current chromosome: 11
 current chromosome: 12
 current chromosome: 14
 current chromosome: 13
 current chromosome: 15
 current chromosome: 16
 current chromosome: 18
 current chromosome: 17
 current chromosome: 19
 current chromosome: 2
 current chromosome: 21
 current chromosome: 22
 current chromosome: 20
 current chromosome: 5
 current chromosome: 3
 current chromosome: 6
 current chromosome: 4
 current chromosome: 9
 current chromosome: X
 current chromosome: 7
 current chromosome: 8
 current chromosome: Y
>

Then I notided GRCh38_SNP6.tsv.gz created in my working directory; after adding chr and column names, I used output_file.tsv
> ascat.bc = maftools::prepAscat_t(t_counts = "output_file.tsv", sample_name = "RUMA_LM1")
Library sizes:
Tumor:
Counts file: output_file.tsv
Markers: 932148
Removed 932124 duplicated loci
Error in eval(jsub, SDenv, parent.frame()) : object 'A' not found

LV19Y7325V:Downloads$ head output_file.tsv
loci    counts
chr1    629097
chr1    629241
chr1    630020
chr1    631430
chr1    785910
chr1    805477
chr1    817186
chr1    826352
chr1    829889
LV19Y7325V:Downloads$ tail output_file.tsv
chrY    56885250
chrY    56885313
chrY    56885714
chrY    56886184
chrY    56886310
chrY    56886408
chrY    56886518
chrY    56886538
chrY    56886638
chrY    56886662

Please could you help me with this?

Hi,
You should use the output file containing read counts for downstream analysis. It will be a file with the suffix _nucleotide_counts.tsv   (e.g, my_sample_nucleotide_counts.tsv). This will be the input for prepAscat_t
Please read ? gtMarkers for details.

Thanks for quickly solving user's error
This worked
gtMarkers(
  t_bam = "sample.recal.bam",
  n_bam = NULL,
  build = "hg38",
  prefix = "chr",
  add = TRUE,
  mapq = 10,
  sam_flag = 1024,
  loci = NULL,
  fa = NULL,
  op = NULL,
  zerobased = FALSE,
  nthreads = 8,
  verbose = TRUE
)

Sorry for interrupt
I also used Mosdepth in you tutorial and this is the plot

And this is the plot from ascat

Please, could you have a look at these, and tell me if you personally seeing any duplication in chromosome 20?

authors: MaryGoAround PoisonAlien

repo: PoisonAlien/maftools


text:
Python Bot Error

An error comes up titles "Error in python bot"
It has an error message like this
2016-08-13 01:31:28,992 [sentry.errors.serializer] [ERROR] maximum recursion depth exceeded while calling python object then just rambles on equations and .py file paths.

Run git pull and then npm install and then npm run

what?

npm not working

npm run*

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli   'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'gulp',
1 verbose cli   'run' ]
2 info using npm@3.7.3
3 info using node@v5.8.0
4 verbose stack Error: missing script: gulp
4 verbose stack     at run (C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:147:19)
4 verbose stack     at C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:57:5
4 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:345:5
4 verbose stack     at checkBinReferences_ (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:309:45)
4 verbose stack     at final (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:343:3)
4 verbose stack     at then (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:113:5)
4 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:300:12
4 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16
4 verbose stack     at tryToString (fs.js:414:3)
4 verbose stack     at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:401:12)
5 verbose cwd C:\Users\Kieran\PokemonGo-Bot-Desktop
6 error Windows_NT 6.3.9600
7 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "gulp" "run"
8 error node v5.8.0
9 error npm  v3.7.3
10 error missing script: gulp
11 error If you need help, you may report this error at:
11 error     https://github.com/npm/npm/issues
12 verbose exit [ 1, true ]

authors: BurntDiamondz ProjectBarks

repo: PokemonGoF/PokemonGo-Bot-Desktop


text:
Everytime get the following error... Any suggestions:

[14:20:55] PokemonGO Bot v1.0
[14:20:55] No config argument specified, checking for /configs/config.json
Traceback (most recent call last):
File "pokecli.py", line 408, in
main()
File "pokecli.py", line 52, in main
config = init_config()
File "pokecli.py", line 117, in init_config
load.update(json.load(data))
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 291, in load
**kw)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Have you read this https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Configuration-files and created a config file?

thnx!

authors: Chrisvdberg vicch

repo: PokemonGoF/PokemonGo-Bot


text:
[DEV] Bot doesn't catch pokemon anymore, only informs about rustling nearby

Expected Behavior
Catching Pokemons after something rustles nearby
Actual Behavior
Nothing, just repeating rustling, but no error messages.
Pokemon appears on the map, but the bot doesn't engage catch mode.
Steps to Reproduce
Updated from 2f277fd to 637b7e6
Happens with both path navigator and spiral navigator
Other Information
OS: Win 7
Git Commit: 637b7e6
Snipped of config:
    "max_steps": 5,
    "catch_pokemon": true,
    "forts": {
      "spin": true,
      "move_to_spin": true,
      "avoid_circles": true,
      "max_circle_size": 10
    },
    "navigator": {
      "type": "path",
      "path_mode": "loop",
      "path_file": "configs/path.json"
    },
    "websocket_server": true,
    "walk": 8.32,
    "action_wait_min": 1,
    "action_wait_max": 4,
    "debug": false,
    "test": false,
    "health_record": true,
    "location_cache": false,
    "distance_unit": "km",
    "reconnecting_timeout": 15,
    "item_filter": {
      "1": { "keep" : 150 },
      "101": { "keep" : 0 },
      "102": { "keep" : 25 },
      "103": { "keep" : 100 },
      "201": { "keep" : 30 },
      "701": { "keep" : 50 }
    },
    "evolve_all": "NONE",
    "evolve_speed": 20,
    "evolve_cp_min": 300,
    "use_lucky_egg": false,
    "hatch_eggs": true,
    "longer_eggs_first": true,
    "evolve_captured": "NONE",
    "release_pokemon": false,
    "catch_randomize_reticle_factor": 1.0,
    "catch_randomize_spin_factor": 1.0,

Disregard that, I just noticed my Pokemon Bag was full..... Not expected at all :^)

I can confirm this issue.
Quick fix: Just restart the bot and wait for 5 -10 min if he doesn't start repeat the restart.
Also set: "move_to_spin": false, otherwise he want move the path...

Most likely not the same problem as me, but maybe the bot should report if the PokeBag is full when "catch_pokemon": true.

This issue is not appears from full bags, it also appears sometimes without a reason, the bot is just walking a bit and doing nothing.

I got mine working now after releasing some of my pokemon, I'll report if I get same or similar issue.
Will just keep this open since you're actually having this issue.

It does look like that the path navigator isn't following the coordinates in the path_file

Set "move_to_spin": false, otherwise he want move the path...

authors: DimaVIII Orrielel


text:
Show what kind of egg is being hatched.

So instead of this:
[IncubateEggs] [INFO] [next_egg_incubates] Next egg incubates in 1.71 km
I'd like to see something like:
[IncubateEggs] [INFO] [next_egg_incubates] Next egg (5 km) incubates in 1.71 km

I had thought this existed at one point but maybe I imagined it

@jrjhealey When its put into the incubator it says what kind is being put in.


text:
ImportError: No module named RequestType_pb2

Expected Behavior
The bot to run python pokecli.py -cf configs/config.json
Actual Behavior
Could not run and throws error: ImportError: No module named RequestType_pb2
Config.json
http://pastebin.com/6cVYJHyd
Steps to Reproduce
git pull
sudo -H pip install --upgrade -r requirements
python pokecli.py -cf configs/config.json
Other Information
OS: Mac OS
Branch: dev
Git Commit: 8eba07a4e014e5dd2926bf512e462c3fd76c01ab
Python Version: Python 2.7.12

https://github.com/PokemonGoF/PokemonGo-Bot/commit/8eba07a4e014e5dd2926bf512e462c3fd76c01ab

You need a refresh clone to upgrade the pgoapi.
https://github.com/keyphact/pgoapi/commit/12b2028cbf19342efd971020033027802b569769#diff-4bc4a3aa1c235ceabe560c992a4256f8L41

authors: kenshi08 maxprzemo solderzzc


text:
Fix get_top_rank

Closes #3761 Closes #3840

Since common inventory used a bit everywhere now, refresh before evolution rather than after

Tested, works good! 👍

Nice!  👍

@Anakin5 I have disabled evolution and my pokemon inventory keep getting flooded with Eevees. I found they are have some exeption in the code, but is there way to apply standard rules (like for every other pokemon) to Eevees? This would be helpful.

@h3k1ru
You mean you want to transfer your Eevees ? If you did not deactivate the transfer, it should be the case. What is your config and can you clarify your needs ?

@Anakin5 This is my config:
`      {
"type": "PokemonOptimizer",
"config": {
"transfer": true,
"evolve": false,
"use_candies_for_xp": false,
"use_lucky_egg": false,
"evolve_only_with_lucky_egg": false,
"minimum_evolve_for_lucky_egg": 0,
"keep": [
{
"top": 2,
"evolve": false,
"sort": ["iv"]
}
]
}
},
Every pokemon transfer, exept Eevee. `Currently i have 19 Eevee in inventory.
http://i.imgur.com/hjIdbaA.png
Can we have same transfer rule for Eevee, like for every other pokemon please?

The good news is that the behavior you see is matching your config. The bad news is that there might not be any config to do what you want right now.
You configuration means "I want to keep the 2 best iv of each family". For Eevee family, it means you want to keep the 2 best iv of each Eevee evolution. (Is that what you want ?).
So either you do not have any Pokemon in a least one of the three evolution of Eevee. Or one of them has a low iv. Either way, the PokemonOptimizer is keeping every Eevee that might potentially be amough the 2 best iv that you want to keep.
So either you let the optimizer evolve them and get rid of the bad ones. Or you evolve them manually and then restart the bot.
What is it exactly that you want to do for the Eevee family ?

I have tried to replace TransferPokemon task with PokemonOptimizer task to reduce api calls and better inventory management, but looks like it cannot be done with disabled evolution. Soon or later your inventory will get flooded with cards that are waiting on evolution, because they are better than the last pokemon in a family. For Eevee evolution manual control is preferred, because its heavily depend on nicknaming (Rainer as example) and cannot be blind put to a evolution script, it will produce way too random pokemons.
Thank you for answers @Anakin5, your PokemonOptimizer is very powerful task to manage pokemons and their evolution, but I think it's lack on the some kind of "ignore evolution check" option.

@h3k1ru
We can settle on a behavior. If evolve is false, we can consider that you have control over which evolution of Eevee you want to get. In that case, we can keep the 2 best iv Eevee and discard the rest.
It means also that if you have a Vaporeon iv 0.5, and 3 Eevee iv 0.98, 0.96, 0.93, it will transfer the 0.93. Is that something you want ?

@Anakin5 Yes, exactly.

Please merge the fix

@PokemonGoF/admins ping

👍

@h3k1ru
Bad quality Eevee will be transfered now, if evolve is false.

@Anakin5
Thanks a lot :+1:


text:
MissingPluginException

I am getting "MissingPluginException (MissingPluginException(No implementation found for method observeConnectionState on channel flutter_ble_lib))"
on line:
connectedDevice.observeConnectionState(emitCurrentValue: true, completeOnDisconnect: true)
    .listen((connectionState) {
      print("Peripheral ${connectedDevice.identifier} connection state is $connectionState");
      stateCallback(connectionState == PeripheralConnectionState.connected);
    });

after calling connectedDevice.disconnectOrCancelConnection();

Could you paste logs set to verbose?

This?:
MethodChannel.invokeMethod
(c:\Users\Jan\development\flutter\packages\flutter\lib\src\services\platform_channel.dart:319)
<asynchronous gap> (Unknown Source:0)
DeviceConnectionMixin.observePeripheralConnectionState (c:\Users\Jan\development\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_ble_lib-2.2.1\lib\internal\bridge\device_connection_mixin.dart:46)
<asynchronous gap> (Unknown Source:0)
InternalBleManager.observePeripheralConnectionState (c:\Users\Jan\development\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_ble_lib-2.2.1\lib\internal\internal_ble_manager.dart:94)
Peripheral.observeConnectionState (c:\Users\Jan\development\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_ble_lib-2.2.1\lib\peripheral.dart:33)
Bluetooth.connect (c:\Users\Jan\development\bokashi_organko\lib\bluetooth.dart:33)
_HomePageState._deviceFound.<anonymous closure> (c:\Users\Jan\development\bokashi_organko\lib\pages\home.page.dart:82)
_Closure.call (dart:core-patch/function.dart:0)
InkWell.onTap (c:\Users\Jan\development\flutter\packages\flutter\lib\src\material\ink_well.dart:0)
_InkResponseState._handleTap (c:\Users\Jan\development\flutter\packages\flutter\lib\src\material\ink_well.dart:706)
_InkResponseState.build.<anonymous closure> (c:\Users\Jan\development\flutter\packages\flutter\lib\src\material\ink_well.dart:789)
GestureRecognizer.invokeCallback (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\recognizer.dart:182)
TapGestureRecognizer.handleTapUp (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\tap.dart:486)
BaseTapGestureRecognizer._checkUp (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\tap.dart:264)
BaseTapGestureRecognizer.handlePrimaryPointer (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\tap.dart:199)
PrimaryPointerGestureRecognizer.handleEvent (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\recognizer.dart:467)
PrimaryPointerGestureRecognizer.handleEvent (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\recognizer.dart:0)
PointerRouter._dispatch (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\pointer_router.dart:76)
PointerRouter._dispatchEventToRoutes.<anonymous closure> (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\pointer_router.dart:117)
_LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379)
PointerRouter._dispatchEventToRoutes (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\pointer_router.dart:115)
PointerRouter.route (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\pointer_router.dart:101)
GestureBinding.handleEvent (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\binding.dart:218)
GestureBinding.dispatchEvent (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\binding.dart:198)
GestureBinding._handlePointerEvent (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\binding.dart:156)
GestureBinding._flushPointerEventQueue (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\binding.dart:102)
GestureBinding._handlePointerDataPacket (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\binding.dart:86)
GestureBinding._handlePointerDataPacket (c:\Users\Jan\development\flutter\packages\flutter\lib\src\gestures\binding.dart:0)
_rootRunUnary (dart:async/zone.dart:1138)
_rootRunUnary (dart:async/zone.dart:0)
_CustomZone.runUnary (dart:async/zone.dart:1031)
_CustomZone.runUnaryGuarded (dart:async/zone.dart:933)
_invoke1 (dart:ui/hooks.dart:273)
_dispatchPointerDataPacket (dart:ui/hooks.dart:182)

It seems destroyClient() has been called while there still were running operations and it should be called only after all operations are finished. Be sure to await for the returned futures.
Could you take a look at this? https://github.com/flutter/flutter/issues/10912

Yes, I'm looking into if cancelling the subscription on the .listen of the device state will help.

Can you try running the example from the library? The auto test will fail a lot since it has hardcoded UUIDs of services and characteristic of a Sensor Tag CC2541, but you could use it to check if the exception still occurs.

I partially fixed the error by not calling .destroyClient();, but I'm still getting:
D/BluetoothGatt(21092): close()
D/BluetoothGatt(21092): unregisterApp() - mClientIf=8
E/flutter (21092): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: BleError (Error code: 201, ATT error code: 0, iOS error code: null, Android error code: null, reason: Disconnected from C1:9E:79:91:D0:7E with status 0 (GATT_SUCCESS), internal message: null, device ID: C1:9E:79:91:D0:7E, service UUID: null, characteristic UUID: null, descriptor UUID: null)
E/flutter (21092): #0      CharacteristicsMixin._throwErrorIfMatchesWithTransactionId
E/flutter (21092): #1      CharacteristicsMixin._createMonitoringStream.<anonymous closure>
E/flutter (21092): #2      _invokeErrorHandler  (dart:async/async_error.dart:19:29)
E/flutter (21092): #3      _HandleErrorStream._handleError  (dart:async/stream_pipe.dart:288:9)
E/flutter (21092): #4      _ForwardingStreamSubscription._handleError  (dart:async/stream_pipe.dart:170:13)
E/flutter (21092): #5      _rootRunBinary  (dart:async/zone.dart:1146:38)
E/flutter (21092): #6      _CustomZone.runBinary  (dart:async/zone.dart:1039:19)
E/flutter (21092): #7      _CustomZone.runBinaryGuarded  (dart:async/zone.dart:941:7)
E/flutter (21092): #8      _BufferingStreamSubscription._sendError.sendError  (dart:async/stream_impl.dart:357:15)
E/flutter (21092): #9      _BufferingStreamSubscription._sendError  (dart:async/stream_impl.dart:375:16)
E/flutter (21092): #10     _BufferingStreamSubscription._addError  (dart:async/stream_impl.dart:274:7)
E/flutter (21092): #11     _ForwardingStreamSubscription._addError  (dart:async/stream_pipe.dart:139:11)
E/flutter (21092): #12     _ForwardingStream._handleError  (dart:async/stream_pipe.dart:104:10)
E/flutter (21092): #13     _ForwardingStreamSubscription._handleError  (dart:async/stream_pipe.dart:170:13)
E/flutter (21092): #14     _rootRunBinary  (dart:async/zone.dart:1146:38)
E/flutter (21092): #15     _CustomZone.runBinary  (dart:async/zone.dart:1039:19)
E/flutter (21092): #16     _CustomZone.runBinaryGuarded  (dart:async/zone.dart:941:7)
E/flutter (21092): #17     _BufferingStreamSubscription._sendError.sendError  (dart:async/stream_impl.dart:357:15)
E/flutter (21092): #18     _BufferingStreamSubscription._sendError  (dart:async/stream_impl.dart:375:16)
E/flutter (21092): #19     _BufferingStreamSubscription._addError  (dart:async/stream_impl.dart:274:7)
E/flutter (21092): #20     _ForwardingStreamSubscription._addError  (dart:async/stream_pipe.dart:139:11)
E/flutter (21092): #21     _ForwardingStream._handleError  (dart:async/stream_pipe.dart:104:10)
E/flutter (21092): #22     _ForwardingStreamSubscription._handleError  (dart:async/stream_pipe.dart:170:13)
E/flutter (21092): #23     _rootRunBinary  (dart:async/zone.dart:1146:38)
E/flutter (21092): #24     _CustomZone.runBinary  (dart:async/zone.dart:1039:19)
E/flutter (21092): #25     _CustomZone.runBinaryGuarded  (dart:async/zone.dart:941:7)
E/flutter (21092): #26     _BufferingStreamSubscription._sendError.sendError  (dart:async/stream_impl.dart:357:15)
E/flutter (21092): #27     _BufferingStreamSubscription._sendError  (dart:async/stream_impl.dart:375:16)
E/flutter (21092): #28     _DelayedError.perform  (dart:async/stream_impl.dart:604:14)
E/flutter (21092): #29     _StreamImplEvents.handleNext  (dart:async/stream_impl.dart:709:11)
E/flutter (21092): #30     _PendingEvents.schedule.<anonymous closure>  (dart:async/stream_impl.dart:669:7)
E/flutter (21092): #31     _rootRun  (dart:async/zone.dart:1122:38)
E/flutter (21092): #32     _CustomZone.run  (dart:async/zone.dart:1023:19)
E/flutter (21092): #33     _CustomZone.runGuarded  (dart:async/zone.dart:925:7)
E/flutter (21092): #34     _CustomZone.bindCallbackGuarded.<anonymous closure>  (dart:async/zone.dart:965:23)
E/flutter (21092): #35     _rootRun  (dart:async/zone.dart:1126:13)
E/flutter (21092): #36     _CustomZone.run  (dart:async/zone.dart:1023:19)
E/flutter (21092): #37     _CustomZone.runGuarded  (dart:async/zone.dart:925:7)
E/flutter (21092): #38     _CustomZone.bindCallbackGuarded.<anonymous closure>  (dart:async/zone.dart:965:23)
E/flutter (21092): #39     _microtaskLoop  (dart:async/schedule_microtask.dart:43:21)
E/flutter (21092): #40     _startMicrotaskLoop  (dart:async/schedule_microtask.dart:52:5)
E/flutter (21092):
D/com.polidea.flutter_ble_lib.FlutterBleLibPlugin(21092): on native side observed method: cancelTransaction
D/com.polidea.flutter_ble_lib.FlutterBleLibPlugin(21092): on native side observed method: createClient
D/com.polidea.flutter_ble_lib.FlutterBleLibPlugin(21092): on native side observed method: startDeviceScan

The problem was the I wasn't closing the streams. I solved the problem by calling connectionStream?.cancel(); and rxMonitor?.cancel(); in my disconnect function.

authors: mikolak slole

repo: Polidea/FlutterBleLib


text:
Add another test for comments with bindings

Should cover #756

Hold it :P https://jsbin.com/wilalus/edit?html,output
True it doesn't crash anymore but it's not working like it supposed to be working right? See example --> error

authors: gertcuykens justinfagnani

repo: Polymer/lit-html


text:
에러 화면 이미지 변경

에러 화면의 이미지를 보고 정신적 충격을 호소하는 민원이 자주 발생.
적당한 변경 필요.

:+1:

:-1:

#108 (Deployed)

authors: HelloDHLyn Perlmint TintypeMolly

repo: PoolC/Yuzuki


text:
white screen

hello，Popov
Great project, I've been following this project for a few months and it worked well, however recently, when I open the example, browser shows white screen without any error report, but gui form is displayed well, including Demo, Playground and main version。
os:win10
graphics card:3080ti
browser:Google Chrome 108.0.5355.0  canary （64 bit） (cohort: Clang-64) and  Microsoft Edge | 108.0.1433.0 canary (64 bit)
babylonjs:5.8.0
note:Unsafe WebGPU Enabled
Look forward to your favourable reply

Yes, the spec/the implementation have evolved and we need to cope with them.
I have already created an issue for that (https://github.com/BabylonJS/Babylon.js/issues/13066) so I'm closing this one.


text:
can't get telegram api_id and api_hash

when accessing telegram, it says error.
can't it be IP? i tried everything

You can use the api_id and api_hash from the file if you can't create your own

can we talk in your telegram pv?

Sure! T.me/Stopferle

authors: Poryaei hosseinc

repo: Poryaei/TapSwap-Clicker


text:
Add tModLoader

Hello, I'm happy to see this database of open-source games. Great work!
I'm adding tModLoader which is not actual game but more DLC or Community-Made Mod.
@Poussinou Is this kind of Steam games also intended to be here?

Hello @rammba
First time I encounter this case, honestly. After thinking about it, I suppose we can keep it in the list (goal being to increase the use of FLOSS stuff on Steam, which is the case here).
Two requests :

Change "Game on Steam" to "Mod on Steam"
In the description, add a small sentence specifying that you need to own a Terraria licence to use this Mod, and that Terraria is proprietary software.

Other than that, thanks for the contribution. Really happy to hear people saying that the list is interesting/useful :)

Hi @Poussinou
Thanks for the suggestions.
I also found that FLOSS software (#36) is available on the Steam. If you agree, we can investigate and add those here.

Hey @Poussinou can we merge this?

Hey @rammba sorry for lagging behind on this... I'm just gonna merge this as it looks good now. I'll also change the description of the repo to something that includes FLOSS "games, mods, and software" to reflect the presence of this mod.
As you have made quite a few good contributions and I don't have much time for this repo, I also sent you an invit to become a contributor to this repo, you'll be able to push commits directly, merge PR, etc... Feel free to join!

Thanks for the invite. I will investigate a little bit and add few free softwares that I find.

authors: Poussinou rammba

repo: Poussinou/FLOSS-Games-on-Steam


text:
AD Publish CRL

ISSUE TITLE:  PublishCrl: Add the ability to publish CRLs to a desired CA in the CDP Container

ISSUE DESCRIPTION (this template):
Add the ability to publish CRLs to Active Directory (AD) in the CDP container.

Description
This resource can be used to publish CRLs to Active Directory (AD).  This uses the thumbprint of the specified CRL to compare items currently in Active Directory to ensure the same CRL is not published multiple times in the same container in Active Directory.
Proposed properties
[String] CrlFullPath (Key): Specifies the full path of the CRL to be published.
[String] CAName (Write): Certificate Authority AD container where to publish the CRL.
[String] Ensure (Write): Ensures that the CRL is Present or Absent. Default setting is Present
[String] Thumbprint (Read): Specifies the thumbprint associated to the CRL being added or removed.
Special considerations or limitations
Would need to know what CA under the CDP container you are publishing the CRL to.  Also when Absent is selected it will only delete the CRL from the specified CA container and will not delete all instances of the CRL.

This sounds like a useful resource @jeffotterpohl - however, I'd suggest it might actually be best placed in the ActiveDirectoryCSDsc Resource module?

That sounds good, I was talking over with another person and we couldn't decide which one to submit it to.  I will close this out and open an issue on the other ActiveDirectoryCSDsc resource.

authors: PlagueHO jeffotterpohl

repo: PowerShell/CertificateDsc


text:
ConvertTo-Json

Steps to reproduce
@('a')|convertto-json

Expected behavior
[
"a"
]

Actual behavior
"a"

Environment data

The pipeline by nature unwraps arrays into individual items. To a receiving cmdlet, there is so distinguishable difference between these two scenarios:
'a' | ConvertTo-Json

@('a') | ConvertTo-Json

If you need single-item arrays you will need to pass them directly to the -InputObject parameter rather than using the pipeline.

Not sure if I should open up a new ticket or glue my similar issue to this one, so I'll go with the former and may the mods hit me over the head with a clue-stick if necessary :)
This is one thing I think ConvertTo-Json should handle:
PS /> ps
PID TTY          TIME CMD
24618 pts/0    00:00:00 sudo
24622 pts/0    00:00:00 su
24623 pts/0    00:00:00 bash
25724 pts/0    00:00:01 pwsh
25757 pts/0    00:00:00 ps
PS ACTUAL> ps | ConvertTo-Json
[
"  PID TTY          TIME CMD",
"24618 pts/0    00:00:00 sudo",
"24622 pts/0    00:00:00 su",
"24623 pts/0    00:00:00 bash",
"25724 pts/0    00:00:01 pwsh",
"26184 pts/0    00:00:00 ps"
]
PS EXPECTED> ps | ConvertTo-Json
[
{
"PID": 24618,
"TTY": "pts/0",
"TIME": "00:00:00",
"CMD": "sudo"
},
{
"PID": 24622,
"TTY": "pts/0",
"TIME": "00:00:00",
"CMD": "su"
},
{
"PID": 24623,
"TTY": "pts/0",
"TIME": "00:00:00",
"CMD": "bash"
},
{
"PID": 25724,
"TTY": "pts/0",
"TIME": "00:00:00",
"CMD": "pwsh"
},
{
"PID": 26184,
"TTY": "pts/0",
"TIME": "00:00:00",
"CMD": "ps"
}
]
Because if it doesn't, then by default it could be replaced with something like this simple awk script :)
awk 'BEGIN{printf("["); c="\n";}{printf("%s\t"%s"",c,$0); c=",\n"; }END{print "\n]";}'
user@wslhost:/mnt/c/Users/user$ ps | awk 'BEGIN{printf("["); c="\n";}{printf("%s\t"%s"",c,$0); c=",\n"; }END{print "\n]";}'
[
"  PID TTY          TIME CMD",
"  218 pts/4    00:00:00 bash",
"  269 pts/4    00:00:00 ps",
"  270 pts/4    00:00:00 awk"
]
But then I may be overreaching?

@thorsig bit of a different issue there. The alias ps that points to Start-Process in Windows editions of PowerShell (including recent versions of PowerShell 7 GA) is not actually present in linux, due to there being a native ps executable that many folks use.
That executable only ever emits string data, so ConvertTo-Json can only treat it as such.
What you seem to be wanting is still achievable with Get-Process | ConvertTo-Json. 🙂
If you instead want the text output from ps to be interpreted as some kind of object, you need to provide that conversion yourself; cmdlets in PowerShell can't afford to make any assumptions about the expected format of string data without breaking other users' assumptions in the process. It's for a similar reason that many very useful aliases were removed for Unix editions of PowerShell; many Unix users got very upset that PowerShell was "taking over" these native executables with its aliases.

repo: PowerShell/PowerShell


text:
Pipelines cannot be run concurrently

Customers are running into System.Management.Automation.PSInvalidOperationException: The pipeline was not run because a pipeline is already running. Pipelines cannot be run concurrently error when calling Add-AzVhd method from Az.Compute module. Looking at the stack trace, it's coming from the following method in Automation SDK: System.Management.Automation.Runspaces.PipelineBase.DoConcurrentCheck(Boolean syncCall, Object syncObject, Boolean isInLock)
However, we are not able to reproduce it every time. We are only able to reproduce it successfully around 20% of the time. We are not using any piping in our PS script. Could you guys help us out in determining what the problem might be?
Steps to reproduce
No reliable reproduce method. Personally, I am unable to reproduce it, however another engineer is able to and he has around 20% repro rate.

# Cosine IOT Services Azure Internal Consumption
$subscriptionId='f9cb372a-8903-4370-9ce0-3042e3bb2cc8'

$rgSeed = "akstest" # TODO customize
$vmSeed = "0430c101a"
$vhdFolder = "C:\Users\jiria\Downloads"
$vhdFileName = "aks-vhd-2.0.20200815.0745.vhd"
$storageAccountName = "storage" + $rgSeed

$location = "westus2"

# $vmSize = "Standard_A2"
$vmSize = "Standard_NC6"

.\vm-create.ps1 $subscriptionId $rgSeed $vmSeed $vhdFolder $vhdFileName $storageAccountName $location $vmSize

Expected behavior
No error

Actual behavior
error: Exception - System.Management.Automation.PSInvalidOperationException: The pipeline was not run because a pipeline is already running. Pipelines cannot be run concurrently.

Environment data

@rjmholt,
Here's the script:
vm-create.txt
This is the full stack trace:
DEBUG: AzureQoSEvent: CommandName - Add-AzVhd; IsSuccess - False; Duration - 00:56:52.8136956;; Exception - System.Management.Automation.PSInvalidOperationException: The pipeline was not
run because a pipeline is already running. Pipelines cannot be run concurrently.
at System.Management.Automation.Runspaces.PipelineBase.DoConcurrentCheck(Boolean syncCall, Object syncObject, Boolean isInLock)
at System.Management.Automation.Runspaces.RunspaceBase.DoConcurrentCheckAndAddToRunningPipelines(PipelineBase pipeline, Boolean syncCall)
at System.Management.Automation.Runspaces.PipelineBase.CoreInvoke(IEnumerable input, Boolean syncCall)
at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection1 input, PSDataCollection1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection1 input, PSDataCollection1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings settings)
at Microsoft.Azure.Commands.Compute.Models.PSSyncOutputEvents.LogProgressComplete(Int32 activityId, String activity)
at Microsoft.Azure.Commands.Compute.Models.PSSyncOutputEvents.ProgressUploadComplete(TimeSpan elapsed)
at Microsoft.WindowsAzure.Commands.Sync.ProgressTracker.Dispose(Boolean disposing)
at Microsoft.WindowsAzure.Commands.Sync.ProgressTracker.Dispose()
at Microsoft.WindowsAzure.Commands.Sync.Upload.BlobSynchronizer.Synchronize()
at Microsoft.Azure.Commands.Compute.Models.VhdUploaderModel.Upload(UploadParameters uploadParameters)
at Microsoft.Azure.Commands.Compute.StorageServices.AddAzureVhdCommand.ExecuteCmdlet()
at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord();

Thanks for that.
Here is the relevant code in Azure PowerShell.
This is expected behaviour from the PowerShell engine; trying to run multiple PowerShells at the same time on the same runspace will result in this error.
Azure PowerShell needs to create a nested PowerShell instance to do this -- this can be done, since we are under the ProcessRecord() call stack.
I suggest if you have the original Azure PowerShell issue, we should move this back to there and reopen it, or otherwise open a new issue on Azure PowerShell.

I was told by Azure-PS team to come here

Apologies, I misunderstood this as "the AzPS team told me the issue lies with PowerShell" rather than "I'm trying to help the AzPS team fix this and I'm here for answers".
Basically the fix depends on:

How this method is being called/needs to be called (is it always from within the scope of a cmdlet's process methods, or can it be from other threads?)
What is needed from the existing context and why the original runspace is being use

Basically, if this is always being called from the original cmdlet thread under the callstack of BeginProcessing()/ProcessRecord()/EndProcessing(), then it's enough just to use a nested PowerShell instance:
using (var pwsh = PowerShell.Create(RunspaceMode.CurrentRunspace))
{
    pwsh.AddCommand("Write-Progress")
        .AddParameter("Id", activityId)
        .AddParameter("Activity", activity)
        .AddParameter("Status", Rsrc.PSSyncOutputEventsLogProgressCompleteCompleted)
        .AddParameter("Completed")
        .Invoke();
}

However, if this is being called from multiple threads as I suspect, then we need to understand the requirements better to come up with a better mechanism to synchronise usage or to otherwise manage the concurrent use of PowerShell resources. Some avenues available are:

Creating a new runspace to support operations, or even using a runspace pool
Using PowerShell eventing
Creating a more customised concurrency management model, like a consumer thread

In this particular case though, we're trying to write progress, which is a user-facing UI task. In PowerShell, you don't need to create and execute a PowerShell instance for this. Instead, you can use the Host's UI property ($Host.UI, also available in PSCmdlets with the Host property) to write things whenever you like -- no synchronisation required. But this is a bad idea, because writing output to the screen while the user is doing something else is at best a strange experience and at worst totally mangles their terminal.
So my recommendation is:

We need to understand the requirements of how PSSyncOutputEvents is being used.

Is it just being used to write to the UI, or does it need to actually execute commands?
If it is executing commands etc, does it need the current runspace to do it?
Under what circumstances are other threads calling into PSSyncOutputEvents and why?

Based on our understanding of those requirements, we should

Turn purely UI-facing methods into well synchronised calls into the current Host UI, rather than creating a new PowerShell instance
Come up with a robust thread model for any remaining invocations that need to run PowerShell

@rjmholt,

Apologies, I misunderstood this as "the AzPS team told me the issue lies with PowerShell" rather than "I'm trying to help the AzPS team fix this and I'm here for answers".

Yeah sorry about that, I wasn't very clear.
Thank you for the detailed response, my team will take a look where you've pointed to.


text:
Add table support to ConvertFrom-String

Summary of the new feature / enhancement
This issue is related to #16298 String >>>Regex>>> PSCustomObject which is closed after it moved to a discussion (not sure about the exact reason it is closed, meaning that I might make the same mistake here).
Anyways, reading from a fix text table usually generated from an external program is something that is quiet often required noting the concerned StackOverflow questions, like:

Convert Formatted String Output with empty cells to PS Object
Powershell String to csv (netstat -ano)
convert list output to table(object)
Convert System.String to object
Another grep / awk q, parsing diskpart output
How to read powershell table from file
Split string on arbitrary-length substrings (Powershell)
ConvertFrom-Sting Template Parsing Failure with Array
How can I use powershell to intercept a specified string of a command output?

As you can see from some of the answers, I have created my own "solution" for this: ConvertFrom-SourceTable but I would expect a more standard way using the ConvertFrom-String with e.g. a -Table parameter.
Besides from converting the output of an external program, it could be useful to build a human readable" in-script source/settings table.
Proposed technical implementation details (optional)
$Colors = ConvertFrom-SourceTable ' # ConvertFrom-String -Table
	Name       Value         RGB
	----       -----         ---
	Black   0x000000       0,0,0
	White   0xFFFFFF 255,255,255
	Red     0xFF0000     255,0,0
	Lime    0x00FF00     0,255,0
	Blue    0x0000FF     0,0,255
	Yellow  0xFFFF00   255,255,0
	Cyan    0x00FFFF   0,255,255
	Magenta 0xFF00FF   255,0,255
	Silver  0xC0C0C0 192,192,192
	Gray    0x808080 128,128,128
	Maroon  0x800000     128,0,0
	Olive   0x808000   128,128,0
	Green   0x008000     0,128,0
	Purple  0x800080   128,0,128
	Teal    0x008080   0,128,128
	Navy    0x000080     0,0,128'

@iRon7 The cmdlet is not in the repository and we can do nothing here. We already have #726 as tracking issue and it is better to have all other new conversations in Discussions with reference to #726.

@iSazonov, Thank you for the explanation.
I have closed the issue as is linked to #726 and the idea is recorded anyways in case anything changes to the concerned ConvertFrom-String cmdlet.


text:
Out-String includes ANSI escape sequences

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
PS> 1/0
RuntimeException: Attempted to divide by zero.
PS> Get-Error | Out-String > out-string.txt

Expected behavior
Exception             :
    Type           : System.Management.Automation.RuntimeException
    ErrorRecord    :
        Exception             :
            Type    : System.Management.Automation.ParentContainsErrorRecordException
            Message : Attempted to divide by zero.
            HResult : -2146233087
        CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
        FullyQualifiedErrorId : RuntimeException
        InvocationInfo        :
            ScriptLineNumber : 1
            OffsetInLine     : 1
            HistoryId        : -1
            Line             : 1/0
            PositionMessage  : At line:1 char:1
                               + 1/0
                               + ~~~
            CommandOrigin    : Internal
        ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1
    TargetSite     :
        Name          : Divide
        DeclaringType : System.Management.Automation.IntOps, System.Management.Automation, Version=7.2.1.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        MemberType    : Method
        Module        : System.Management.Automation.dll
    Message        : Attempted to divide by zero.
    Data           : System.Collections.ListDictionaryInternal
    InnerException :
        Type    : System.DivideByZeroException
        Message : Attempted to divide by zero.
        HResult : -2147352558
    Source         : System.Management.Automation
    HResult        : -2146233087
    StackTrace     :
   at System.Management.Automation.IntOps.Divide(Int32 lhs, Int32 rhs)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
   at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
CategoryInfo          : NotSpecified: (:) [], RuntimeException
FullyQualifiedErrorId : RuntimeException
InvocationInfo        :
    ScriptLineNumber : 1
    OffsetInLine     : 1
    HistoryId        : -1
    Line             : 1/0
    PositionMessage  : At line:1 char:1
                       + 1/0
                       + ~~~
    CommandOrigin    : Internal
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1

Actual behavior
Exception             :
    Type           : System.Management.Automation.RuntimeException
    ErrorRecord    :
        Exception             :
            Type    : System.Management.Automation.ParentContainsErrorRecordException
            Message : Attempted to divide by zero.
            HResult : -2146233087
        CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
        FullyQualifiedErrorId : RuntimeException
        InvocationInfo        :
            ScriptLineNumber : 1
            OffsetInLine     : 1
            HistoryId        : -1
            Line             : 1/0
            PositionMessage  : At line:1 char:1
                               + 1/0
                               + ~~~
            CommandOrigin    : Internal
        ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1
    TargetSite     :
        Name          : Divide
        DeclaringType : System.Management.Automation.IntOps, System.Management.Automation, Version=7.2.1.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        MemberType    : Method
        Module        : System.Management.Automation.dll
    Message        : Attempted to divide by zero.
    Data           : System.Collections.ListDictionaryInternal
    InnerException :
        Type    : System.DivideByZeroException
        Message : Attempted to divide by zero.
        HResult : -2147352558
    Source         : System.Management.Automation
    HResult        : -2146233087
    StackTrace     :
   at System.Management.Automation.IntOps.Divide(Int32 lhs, Int32 rhs)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
   at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
CategoryInfo          : NotSpecified: (:) [], RuntimeException
FullyQualifiedErrorId : RuntimeException
InvocationInfo        :
    ScriptLineNumber : 1
    OffsetInLine     : 1
    HistoryId        : -1
    Line             : 1/0
    PositionMessage  : At line:1 char:1
                       + 1/0
                       + ~~~
    CommandOrigin    : Internal
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1

Error details
No response
Environment data
PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.2.1
PSEdition                      Core
GitCommitId                    7.2.1
OS                             Microsoft Windows 10.0.19043
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals
No response

I understand that this may sometimes be desired behavior, however it would be very helpful to have a switch causing PowerShell to generate plain text output without ANSI escape sequences for an individual Out-String command.
I use Out-String for logging the streams output by PowerShell scripts, and I have to work around the current behavior by using regular expressions to match the escape sequences and remove them so that the log content is readable.
If there is a better alternative, I would appreciate information about it from the community, as I couldn't fine one myself.

If there is a better alternative

$PSStyle.OutputRendering = 'Host'

$PSStyle.OutputRendering = 'Host' has global effects. I don't want to make changes to the global environment, with potential unexpected consequences and implications, to work around an issue I'm encountering at a single-command level.

I don't want to make changes to the global environment

Write function or script to switch OutputRendering mode. Something like:
function out
{
  $PSStyle.OutputRendering = 'Host'
  $input | Out-String
  $PSStyle.OutputRendering = 'Ansi'
 }

 dir -Force /var/cache/pacman/pkg/ | out > ./Desktop/pkg.txt

I don't want to get into a long argument about OutputRendering. While it is a valid workaround, even when reverted quickly, it is still a global state change and thus rather complex to use correctly (requiring saving the previous state and using a finally block to avoid leaving the changed state in place if an exception occurs). PowerShell should still provide a solution to this problem that doesn't require such a workaround.

PowerShell should still provide a solution to this problem that doesn't require such a workaround.

This discussion has been going on since the release of 7.2.1. I hope that the developers will come up with something.

All these Out-* cmdlets belong to the formatting subsystem so formatted output is the expected behavior.

This discussion has been going on since the release of 7.2.1. I hope that the developers will come up with something.

I agree we need redesign this. (No one actually designed this in depth.)

The WG agrees that a reasonable ask for a new parameter -OutputRendering to be added to the applicable Out cmdlets would be useful. While it is possible to change the preference variable, it is a little clunky if you want it just for one invocation of out-string

We've had some changes to ANSI output so the original repro doesn't repro for me in 7.3 anymore

I was thinking about adding -StripAnsiFormatting to Out-File and Out-String for this very reason, will gladly take a stab at implementation.

I was thinking about adding -StripAnsiFormatting to Out-File and Out-String for this very reason, will gladly take a stab at implementation. I frequently use vim as a pager with Select-String $pattern $files | vim - getting cluttered with formatting escapes.

FYI you can sort of do this already, I have the inverse set up as Out-AnsiFormatting in my profile. You can copy the code and set OutputFormatting to PlainText instead.
(not weighing in on whether the switch should exist, just offering a workaround)

authors: 237dmitry JamesWTruher SeeminglyScience SteveL-MSFT alexbuzzbee dkaszews iSazonov