1.5  Fix protein structure of tutorial cannot find "check_structure"

Thank you for developing this useful tool!
I installed the conda setup as instructed in the README.md file.
I was able to download and view the structure in nglview.
I hit a problem with step 1.5.

Hi, could you please paste the result of the conda list command in your shell terminal? It seems that the building block is not able to find the check_structure binary which should be installed in the conda environment. Could you also check that the command check_structure is not found in your shell terminal, with the conda environment activated?

I have the conda environment biobb_MDsetup_tutorial activated and I have selected the corresponding Python kernel for this env.
check_structure works as expected on the command line in  ~/software/biobb_wf_md_setup/biobb_wf_md_setup/notebooks,
~/software/biobb_wf_md_setup/biobb_wf_md_setup, and ~/software/biobb_wf_md_setup .
The returned command in the error message works on the command line:
check_structure -i 1AKI.pdb -o 1AKI_fixed.pdb --force_save fixside --fix ALL
===============================================================================
=                   MDWeb structure checking utility v1.1                     =
=                 A. Hospital, P. Andrio, J.L. Gelpi 2018-20                  =
Warning: sequence features only available in mmCIF format or with external fasta input
Structure 1AKI.pdb loaded
Title:
Experimental method: unknown
Resolution: 0.0 A
Num. models: 1
Num. chains: 1 (A: Protein)
Num. residues:  129
Num. residues with ins. codes:  0
Num. HETATM residues:  0
Num. ligands or modified residues:  0
Num. water mol.:  0
Num. atoms:  1001
Running fixside. Options: --fix ALL
No residues with missing or unknown side chain atoms found
Structure not modified, saving due to --force_save option
Final Num. models: 1
Final Num. chains: 1 (A: Protein)
Final Num. residues:  129
Final Num. residues with ins. codes:  0
Final Num. HETATM residues:  0
Final Num. ligands or modified residues:  0
Final Num. water mol.:  0
Final Num. atoms:  1001
Structure saved on 1AKI_fixed.pdb
The output file looks fine.
The list of conda envs is as follows:
conda environments:

                     /Applications/PyMOL.app/Contents
                     /Users/blaine/.julia/conda/3
                     /Users/blaine/Library/r-miniconda
                     /Users/blaine/Library/r-miniconda/envs/r-reticulate
                     /Users/blaine/software/EMAN2
                     /Users/blaine/software/amber18/miniconda

base                  *  /opt/anaconda
amber20                  /opt/anaconda/envs/amber20
bayesian-modelling-tutorial     /opt/anaconda/envs/bayesian-modelling-tutorial
biobb_MDsetup_tutorial     /opt/anaconda/envs/biobb_MDsetup_tutorial
cctbx37                  /opt/anaconda/envs/cctbx37
chemprop38               /opt/anaconda/envs/chemprop38
cling                    /opt/anaconda/envs/cling
dask-tutorial            /opt/anaconda/envs/dask-tutorial
dc23py36                 /opt/anaconda/envs/dc23py36
dc23py37                 /opt/anaconda/envs/dc23py37
diffypy38                /opt/anaconda/envs/diffypy38
doepipeline              /opt/anaconda/envs/doepipeline
gpflowopt36              /opt/anaconda/envs/gpflowopt36
jL37                     /opt/anaconda/envs/jL37
labx                     /opt/anaconda/envs/labx
masif27                  /opt/anaconda/envs/masif27
numpyro37                /opt/anaconda/envs/numpyro37
oepython                 /opt/anaconda/envs/oepython
pymc3_resources          /opt/anaconda/envs/pymc3_resources
pymolconda               /opt/anaconda/envs/pymolconda
pyropy37                 /opt/anaconda/envs/pyropy37
tf2py37                  /opt/anaconda/envs/tf2py37
xarray                   /opt/anaconda/envs/xarray
/opt/intel/intelpython3
Here is the list:

Hello,
I'm Pau Andrio one of the developers of the Biobbs. First of all thank you for using our library, and reporting the problems.
We don't know why the check_structure command is not found but we have a theory right now, however we need more information:
The theory:
My suspicion is that in your terminal the command conda activate biobb_MDsetup_tutorial  Has two main functions:
1st Change your Python executable to: /opt/anaconda/envs/biobb_wf_md_setup/bin/python
2nd Add the /opt/anaconda/envs/biobb_wf_md_setup/bin/ to your PATH env var
And its possible, that if the jupyter server is executed in a terminal where the environment is not activated and the kernel is changed inside the notebook using the menu Kernel -> Change Kernel, you are changing your Python executable but you are not adding environment bin directory to your PATH.
To test this theory, please open a new terminal:
Activate the environment:
_**conda activate biobb_MDsetup_tutorial**_

Inside the same terminal run the jupyter-notebook server:
_**jupyter-notebook ~/software/biobb_wf_md_setup/notebooks/biobb_MDsetup_tutorial.ipynb**_

Check or change if needed the Kernel: menu Kernel -> Change Kernel

Run this code in a new code cell: (please send us the output)
_**import os
   print(os.environ.get('PATH'))**_

And finally run the rest of the workflow.
Hope this helps to solve your problem,
Regards,
Pau Andrio

Please, open a jupyter-notebook using the biobb_MDsetup_tutorial env kernel and send us the result of executing this python code to check if  check_structure is on your PATH when running inside the jupyter:

import os
print(os.environ.get('PATH'))

Hi Pau,
Thank you for your help!
The output of print(os.environ.get('PATH')) is as follows:
/opt/anaconda/envs/biobb_MDsetup_tutorial/bin:/opt/anaconda/condabin:/Users/blaine/.opam/default/bin:/Users/blaine/.nvm/versions/node/v12.19.0/bin:/Applications/phenix-1.19rc5-4047/build/bin:/Users/blaine/software/ccpem-1.5.0/bin:/Applications/arp_warp_8.0/bin/bin-x86_64-Darwin:/Applications/ccp4-7.1/etc:/Applications/ccp4-7.1/bin:/Users/blaine/software/amber18:/opt/local/bin:/Users/blaine/bin:/Users/blaine/Library/Python/3.7/bin:/Users/blaine/Library/Python/3.8/bin:/usr/local/bin:/Users/blaine/.julia/bin:/opt/local/include:/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin:/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin:/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin:/opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin:/opt/local/libexec/gnubin:/Users/blaine/ffx-1.0.0-beta/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/local/Library/Frameworks/R.framework/Libraries:/Applications/calibre.app/Contents/MacOS:/Applications/ccp4-7.1/lib:/Applications/ccp4-7.1:/usr/local/Cellar:/Users/blaine/ATSAS-3.0.2-0/bin:/usr/local/charmm/bin:/usr/local/go/bin:/Users/blaine/software/amber18/bin:/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/blaine/.gem/ruby/2.3.0/bin:/Applications/ATSAS/bin:/Applications/ATSAS/lib:/Applications/ATSAS/share:/Users/software/prody/scripts:/Users/blaine/software/XDS:/Users/blaine/software/xdsme/bin/noarch:/usr/local:/Users/blaine/.cask/bin:/Users/blaine/software/doconce/bin:/Users/blaine/software/rna-pdb-tools/bin:/Users/blaine/software/dock6/bin:/Users/blaine/software/apache-maven-3.5.2/bin:/usr/local/bin/R:/Users/blaine/software/x3dna-v2.3/bin:/Users/blaine/software/curves+:/Users/blaine/software/rna-pdb-tools:/Users/blaine/software/dakota-6.11.0/bin:/Users/blaine/software/dakota-6.11.0/share/dakota/test:/Users/blaine/software/dakota-6.11.0/gui/Contents/MacOS:/Users/blaine/software/Judy-master:/Library/TeX/texbin:/Users/blaine/.gem/ruby/2.6.0/bin

Note that I had to run the following command to opern the notebook. biobb_wf_md_setup is nested inside of notebook. biobb_wf_md_setup.
I had downloaded it by git clone.
jupyter-notebook /Users/blaine/software/biobb_wf_md_setup/biobb_wf_md_setup/notebooks/biobb_MDsetup_tutorial.ipynb```

Best regrds,

Blaine

OK Right now I'm completely lost..
Could you please replace this cell:
    # Check & Fix PDB
    # Import module
    from biobb_model.model.fix_side_chain import FixSideChain

    # Create prop dict and inputs/outputs
    fixed_pdb = pdbCode + '_fixed.pdb'

    # Create and launch bb
    FixSideChain(input_pdb_path=downloaded_pdb, output_pdb_path=fixed_pdb).launch()

By this other cell:
    # Check & Fix PDB
    # Import module
    from biobb_model.model.fix_side_chain import FixSideChain

    # Create prop dict and inputs/outputs
    fixed_pdb = pdbCode + '_fixed.pdb'
    prop = {
        'check_structure_path': '/opt/anaconda/envs/biobb_MDsetup_tutorial/bin/check_structure'
    }

    # Create and launch bb
    FixSideChain(input_pdb_path=downloaded_pdb, output_pdb_path=fixed_pdb, properties=prop).launch()

That should force the BB to use the correct path to check_structure.
Regards,
Pau Andrio

Sorry for the late reply. I did as you suggested on November 24th.
I get the following error. Strage. I am able to import
biobb_structure_checking but I still get the same error message.
020-12-01 12:00:29,481 [MainThread  ] [INFO ]
/opt/anaconda/envs/biobb_MDsetup_tutorial/bin/check_structure -i
1AKI.pdb -o 1AKI_fixed.pdb --force_save fixside --fix ALL
2020-12-01 12:00:29,482 [MainThread  ] [INFO ]  Exit code 1
2020-12-01 12:00:29,483 [MainThread  ] [INFO ]  Traceback (most recent
call last):
File "/opt/anaconda/envs/biobb_MDsetup_tutorial/bin/check_structure",
line 14, in
import biobb_structure_checking
ModuleNotFoundError: No module named 'biobb_structure_checking'
2020-12-01 12:00:29,484 [MainThread  ] [INFO ]  Removed: []
Out[4]:
On Tue, Nov 24, 2020 at 7:16 AM Pau Andrio<EMAIL_ADDRESS>wrote:

OK Right now I'm completely lost..
Could you please replace this cell:
# Check & Fix PDB
# Import module
from biobb_model.model.fix_side_chain import FixSideChain

# Create prop dict and inputs/outputs
fixed_pdb = pdbCode + '_fixed.pdb'

# Create and launch bb
FixSideChain(input_pdb_path=downloaded_pdb, output_pdb_path=fixed_pdb).launch()

By this other cell:
# Check & Fix PDB
# Import module
from biobb_model.model.fix_side_chain import FixSideChain

# Create prop dict and inputs/outputs
fixed_pdb = pdbCode + '_fixed.pdb'
prop = {
    'check_structure_path': '/opt/anaconda/envs/biobb_MDsetup_tutorial/bin/check_structure'
}

# Create and launch bb
FixSideChain(input_pdb_path=downloaded_pdb, output_pdb_path=fixed_pdb, properties=prop).launch()

That should force the BB to use the correct path to check_structure.
Regards,
Pau Andrio
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bioexcel/biobb_wf_md_setup/issues/4#issuecomment-732966754,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTZEC6KWMIIBOE5GICSL2TSROW2LANCNFSM4T3H46GQ
.

--
Best regards,
Blaine
Blaine Mooers, Ph.D.
Associate Professor
Department of Biochemistry and Molecular Biology
College of Medicine
University of Oklahoma Health Sciences Center
S.L. Young Biomedical Research Center Rm. 466
975 NE 10th Street
https://maps.google.com/?q=975+NE+10th+Street&entry=gmail&source=g, BRC
466
Oklahoma City, OK 73104-5419
office:<PHONE_NUMBER>   lab:<PHONE_NUMBER>
Faculty webpage
http://basicsciences.ouhsc.edu/biochemmolbiol/Faculty/bio_details/TabId/11753/ArtMID/30702/ArticleID/6430/Mooers-Blaine-HM-PhD.aspx
X-ray lab (LBSF)
http://research.ouhsc.edu/CoreFacilities/LaboratoryofBiomolecularStructureandFunction.aspx
SSRL
UEC
https://www-ssrl.slac.stanford.edu/content/about-ssrl/advisory-panels/ssrl-users-organization/members/ssrluo-2016-executive-committee-members
SSURF
EasyPyMOL https://github.com/MooersLab/EasyPyMOL Molecular Graphics
https://www.oumedicine.com/docs/default-source/ad-biochemistry-workfiles/moleculargraphicslinks.html
https://www.oumedicine.com/docs/default-source/ad-biochemistry-workfiles/MolecularGraphicsLinks.html
Small
Angle Scattering
http://www.oumedicine.com/docs/default-source/ad-biochemistry-workfiles/small-angle-scattering-links-27aug2014.html?sfvrsn=0
office:<PHONE_NUMBER>   lab:<PHONE_NUMBER>
e-mail<EMAIL_ADDRESS>(or<EMAIL_ADDRESS>


Cmd + number should focus tabs in tab mode

Have multiple tabs open
Press cmd + 2 - expect that the second tab gets focus (like in all other aps)
Instead a new editor group gets created

While in tab mode cmd + number should always focus that tab. Opening a new group should have a stronger shorctur (more keybindings).
I think this could be solved by just adding additional shortcuts in keybindings.json on appropriate positions because Alex gives priority based on where in file it appears.

+1
We are using ctrl+tab to switch tabs, then people will use ctrl+N by default, just like what they have in Chrome.

Depends on https://github.com/Microsoft/vscode/issues/2211 actually which might end up being tricky because it involves creating dynamic keybindings.

Can't you have a 'tabMode' and add a keybinding, something in the manner:
{ "key": "cmd+1",           "command": "workbench.action.focusTab",
"when": "inTabMode" },

@isidorn I think as a user you would not want to specify all the keybindings but just have them available dynamically based on the opened tabs.
@alexandrudima fyi maybe you have an idea if this is possible with our keybinding story somehow?

@bpasero I thought that by default they are all in keybindings.json and the user does not have to specify anything additionaly.

@isidorn :). so how many do we put in? 100? or do people open more than 100 tabs?

Sublime seems to stop at 10, so we could maybe do the same:

Daaaa :)
We should do the same as chrome from 1 to 9. With that cmd + 9 focuses last and not the ninth one

IMO if we are changing Cmd + number short cut to focus tabs, then we should not use the same to split group when in non tab modes.
Also under the Go To submenu the switch groups sub section is still showing the same keyboard actions in tabs/ non-tabs mode

Makes sense  - users who are passionare about cmd + 2 opening to the side can always bind a custom keybinding to it

Also my 2 cents here that, IMO cmd + 1, cmd + 2, cmd + 3 are very familiar default keyboard short cuts for splitting and switching among groups. If majority of users (if it is true :)) are used to these actions I do not know if it will be really helpful to change them

I have pushed a change to restore Cmd+1/2/3 functionality and instead add Cmd+Shift+[1-9] to navigate to the index independent of if tabs are enabled or not.
We still have to decide about the default. However I already got a very surprising @Tyriar when he had tabs disabled and Cmd+1/2/3 was not doing what it used to do.

Yes I've become used to using ctrl+num to split as well as focus, instead of remembering a new keybinding.
ctrl+num makes more sense to focus tab number num when ctrl+tab is not a most recently used list, like in browsers. When it is a MRU list, if ctrl+num opens tab at num there are 2 different models for navigating your tabs; most recently used and the order in which they were created. Not sure about other people but trying to use both at the same time would be disorienting for me and slow me down.

@Tyriar well I am not sure we can make people happy without having support for Ctrl+<Number> support to open a tab at index. You are quite right that there are different ways of navigating tabs. The complete list is:

Ctrl+Tab: navigate in MRU order
Ctrl+PageUp/Down: navigate in spatial order across all tabs in all groups
Ctrl+<Number>: navigate in spatial order to tab in index in one group

A user is now free to change the keybindings to map Ctrl+<Number> back to navigating the index. We did not have these commands before.
Still, with tabs disabled, Ctrl+<Number> for focussing tabs in one group does not make so much sense to me because you do not see tabs. On the other hand, if you have "Opened Editors" view visible, one could argue that it is useful to be able to open a specific editor from that list with one keybinding.

We decided to:

Assign Alt+[1-9] on Windows and Linux
Assign Ctrl+[1-9] on Mac

to not break too many users that expect our current behaviour.


Update Radarr to Aphrodite branch

Hello,
At the moment I am using Radarr in a docker container rather than the Syno repo one (which I'd prefer to use). Part of the reason for it is because the syno repo one is tied to the "develop" branch, which contains the older version of Radarr without the new UI. While that wouldn't normally be an issue, that version of Radarr does not include the ability to restore from a backup. When I initially moved over to my Syno machine, I realised if I used the synocommunity repo version I'd have to give up on my backup and not have all the content already indexed. Is there a way the community repo version could be updated to the Aphrodite branch so that it supports restoring from a backup?

Please report at: https://github.com/SynoCommunity/spksrc

@ymartin59 Maybe we should set an GitHub Issue Template for this repository that has a big warning that this repository is not for the packages?
Or maybe even make this repo private?

Oh gosh, I apologize!


Confusion about your Wasserstein loss function vs one described in paper

The approximate Wasserstein loss you define is:
def wasserstein(y_true, y_pred):
    return K.mean(y_true * y_pred)

But in the paper (Algorithm 1) they optimize:

Where x is the batch of real images, z is the noise input to the generator g, and f is the critic.
Your objective seems to function just fine, since the network clearly learns well. I'm confused where the multiplication is coming from though. Could you explain that part of your code?

That's exactly what I do. In this case, y_true = 1 or -1. So K.mean(y_true * y_pred) is the same as the first part of the equation.
I give more details on the way I optimize this GAN here: https://github.com/tdeboissiere/DeepLearningImplementations/tree/master/WassersteinGAN/src/model


Problem with nltk .download

i m designing a web service including Topic modelling technique,so,i sue you code and i noticed that there is a problem with nltk .I m a beginer in natural language procesing and it is the first time that i met this problem.
In my terminal  shell ,it occurs that:
File "C:\Users\IBL.virtualenvs\python36env\lib\site-packages\nltk-3.4-py3.7-win32.egg\nltk\corpus\util.py", line 86, in __load
root = nltk.data.find('{}/{}'.format(self.subdir, zip_name))
File "C:\Users\IBL.virtualenvs\python36env\lib\site-packages\nltk-3.4-py3.7-win32.egg\nltk\data.py", line 699, in find
raise LookupError(resource_not_found)
LookupError:

Resource stopwords not found.
Please use the NLTK Downloader to obtain the resource:
>>> import nltk

nltk.download('stopwords')

Attempted to load corpora/stopwords.zip/stopwords/

Searched in:
- 'C:\Users\IBL/nltk_data'
- 'C:\Users\IBL\.virtualenvs\python36env\nltk_data'
- 'C:\Users\IBL\.virtualenvs\python36env\share\nltk_data'
- 'C:\Users\IBL\.virtualenvs\python36env\lib\nltk_data'
- 'C:\Users\IBL\AppData\Roaming\nltk_data'
- 'C:\nltk_data'
- 'D:\nltk_data'
- 'E:\nltk_data'

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "build_topic_model_browser.py", line 26, in
min_absolute_frequency=min_tf)
File "C:\Users\IBL\desktop\Topic modelling\TOM\tom_lib\structure\corpus.py", line 41, in init
stopWords = set(stopwords.words('french'))
File "C:\Users\IBL.virtualenvs\python36env\lib\site-packages\nltk-3.4-py3.7-win32.egg\nltk\corpus\util.py", line 123, in getattr
self.__load()
File "C:\Users\IBL.virtualenvs\python36env\lib\site-packages\nltk-3.4-py3.7-win32.egg\nltk\corpus\util.py", line 88, in __load
raise e
File "C:\Users\IBL.virtualenvs\python36env\lib\site-packages\nltk-3.4-py3.7-win32.egg\nltk\corpus\util.py", line 83, in __load
root = nltk.data.find('{}/{}'.format(self.subdir, self.__name))
File "C:\Users\IBL.virtualenvs\python36env\lib\site-packages\nltk-3.4-py3.7-win32.egg\nltk\data.py", line 699, in find
raise LookupError(resource_not_found)
LookupError:

Resource stopwords not found.
Please use the NLTK Downloader to obtain the resource:
>>> import nltk

nltk.download('stopwords')

Attempted to load corpora/stopwords

Searched in:
- 'C:\Users\IBL/nltk_data'
- 'C:\Users\IBL\.virtualenvs\python36env\nltk_data'
- 'C:\Users\IBL\.virtualenvs\python36env\share\nltk_data'
- 'C:\Users\IBL\.virtualenvs\python36env\lib\nltk_data'
- 'C:\Users\IBL\AppData\Roaming\nltk_data'
- 'C:\nltk_data'
- 'D:\nltk_data'
- 'E:\nltk_data'

i use an approach that includes  to put in command line

import nltk
nltk.download('stopwords')
But ,it doesn't work ,please help me!!!

Are you running
import nltk
nltk.download('stopwords')

from within your python command line?
If you are, what error are you getting?

yes, im running  this command line within my python ,but , it seems to be the same error as" Lookup error ".
i ve just fixed that with 👍 nltk.download() without " stopwords "


study_names function is broken

The study_names function is broken: either fix it, or remove it from the package if need be.

Function is fixed, and work with both browse() and browse(lterid == "SEV).
I suggest closing this issue, unless we want to change or amend this function.


The .exe file is loaded and nothing happens

Sorry, the EXE file can’t be opened. The file is loaded and nothing happens.I don’t know how to use it.

No errors or anything? Maybe there is some kind of log in eventvwr
If you can't compile and debug the code yourself, you can try to run this debug build.
Debug.zip

I also had the same problem. There was no response when I clicked on the exe file, and even I failed to run the source code. The line 69 of the wrapper.h file reported an error "System.NullReferenceException" and m_pRenderer was null.

Thanks for the info. Not sure what's causing this problem yet, IIRC m_pRenderer should never be null, hmm...

Please fix no response when running on win10 64-bit ！

System.NullReferenceException
HResult=0x80004003
Message=未将对象引用设置到对象的实例。
Source=USF4ce
StackTrace:
在 usf4_ce.MainForm.MainForm_SizeChanged(Object sender, EventArgs e) 在 C:\Users\LiangZ\Desktop\USF4-Character-Extractor-master\USF4-Character-Extractor-master\main\main.h 中: 第 1619 行

@qq1035732175 Hi, thanks for the report. Don't know what's the problem there, but I would suggest to install legacy DX runtime. So maybe this will solve this issue.
https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=35

I installed the DX runtime library, the situation is still the same, the running software does not respond!

It should be a problem with D3D.DLL,If you are using Win10, please use Win10 to compile once to test the effect.

I'm using Win7, sorry. People tested it on Win10, it should work with no problem.

I'm using Win7, sorry. People tested it on Win10, it should work with no problem.

I'm using Win10 too... maybe @Barnacle also using Win10....We have the same problem hahaha..

I'm using Win7, sorry. People tested it on Win10, it should work with no problem.

I'm using Win10 too... maybe @Bluesky321321 also using Win10....We have the same problem hahaha..

I'm using Win7 x64. The program will appear to stop working！
问题签名:
问题事件名称:	CLR20r3
问题签名 01:	USF4ce.exe
问题签名 02:	<IP_ADDRESS>
问题签名 03:	5e9de2b5
问题签名 04:	USF4ce
问题签名 05:	<IP_ADDRESS>
问题签名 06:	5e9de2b5
问题签名 07:	327
问题签名 08:	0
问题签名 09:	System.NullReferenceException
OS 版本:	6.1.76<IP_ADDRESS>.256.1
区域设置 ID:	2052
其他信息 1:	0a9e
其他信息 2:	0a9e372d3b4ad19135b953a78882e789
其他信息 3:	0a9e
其他信息 4:	0a9e372d3b4ad19135b953a78882e789
Installed dx runtime library, and vc++ runtime library！I don't know how to solve it anymore. . .
I really need this tool. But I don't understand C++, and I don't know where the error is. Can you compile and test under WIN10 with vm virtual machine, or modify your code?

我在Hyper-V上面安装了win7 x64位虚拟机，问题依旧。请问你是x64还是x86？

I installed a win7 x64 bit virtual machine on Hyper-V, and the problem remains. Are you x64 or x86?

I'm using Win7 x64. The program will appear to stop working！
问题签名:
问题事件名称: CLR20r3
问题签名 01: USF4ce.exe
问题签名 02: <IP_ADDRESS>
问题签名 03: 5e9de2b5
问题签名 04: USF4ce
问题签名 05: <IP_ADDRESS>
问题签名 06: 5e9de2b5
问题签名 07: 327
问题签名 08: 0
问题签名 09: System.NullReferenceException
OS 版本: 6.1.76<IP_ADDRESS>.256.1
区域设置 ID: 2052
其他信息 1: 0a9e
其他信息 2: 0a9e372d3b4ad19135b953a78882e789
其他信息 3: 0a9e
其他信息 4: 0a9e372d3b4ad19135b953a78882e789
Installed dx runtime library, and vc++ runtime library！I don't know how to solve it anymore. . .
I really need this tool. But I don't understand C++, and I don't know where the error is. Can you compile and test under WIN10 with vm virtual machine, or modify your code?

兄弟，我装了win7 64位虚拟机还是不行，跑不起来，点一下就没了

Are you both from Asia? It looks like there is some issue with encoding or something like that.
Someone already appeared with a similar problem here:
https://github.com/Barnacle/USF4-Character-Extractor/issues/4#
But I don't know what "just symbolic error" exactly means. And this person didn't respond back how this issue was fixed.
I will try to run this app on Japanese or Chinese version of Windows, but I can't say "when" for sure.

Are you both from Asia? It looks like there is some issue with encoding or something like that.
Someone already appeared with a similar problem here: #4
But I don't know what "just symbolic error" exactly means. And this person didn't respond back how it was fixed.
I will try to run this app on Japanese or Chinese version of Windows, but I can't say "when" for sure.

Yes, I am from China, we have the same problem, maybe I should learn C++...

OK, this issue should be fixed now in https://github.com/Barnacle/USF4-Character-Extractor/commit/8be91a2d0bdc59ae584f23a6bfa3e1138f31c96b
It had nothing to do with encoding nor with Win10. The problem was in enabled Multisample anti-aliasing setting, so D3DDevice failed to init on some machines/GPUs.
Please check this new version: https://github.com/Barnacle/USF4-Character-Extractor/releases/tag/0.3c
If this error is gone for you, I'll close this issue.

Thank you, the problem is solved1!!

OK, this issue should be fixed now in 8be91a2
It had nothing to do with encoding nor with Win10. The problem was in enabled Multisample anti-aliasing setting, so D3DDevice failed to init on some machines/GPUs.
Please check this new version: https://github.com/Barnacle/USF4-Character-Extractor/releases/tag/0.3c
If this error is gone for you, I'll close this issue.

Thank you very much, this problem resolved, and I don’t have to learn C++ anymore haha


[RFC] manual: rename to users and contributors manual, add some user notes …

…that should be there but don't fit in any chapter
Motivation for this change
Answering questions about locales on non-NixOS makes me wonder why it is still not in the Nixpkgs manual.
Things done

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

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

[x] Assured whether relevant documentation is up to date (this is the entirety of the PR)
[ ] Fits CONTRIBUTING.md.

OK, implemented my plan about redistribution between user notes and development notes.

Great idea!

Thank you


rekor(backport/v1.2): use rekor client with retries

Signed-off-by: Asra Ali<EMAIL_ADDRESS>

Close in favor of #330


Add Unit Test for TextRank Part in the Pipeline

For next stage, add a simple unit test for the TextRank part of the pipeline, using the example file in example/pub. That way if any of our imported libraries change, we'll be able to find errors.
A quick suggestion that a first pass at the test would be to run that example file, and confirm the top few key-phrases for each section.  If anything breaks, that should fail quickly.

The task has been done in #26


Double file reloading dialogs

I have a 450kb log.txt open in FlashDevelop.
In a command prompt I run something like haxe build.hxml > log.txt.
I wait for the command to finish without doing anything.
Focusing back FD is waiting for me with the "A file has been modified externally" dialog. I click Yes.

So far so good, but then a few seconds later the dialog appears again. It doesn't seem to matter how long I wait before clicking Yes on the first one. I would understand this behavior if the file was still being modified, but it's long done by the time I confirm the first dialog.
FD <IP_ADDRESS>.

Fixed.


AET-185 Use AMI with docker installed on Docker VM scenario

What does this PR do?
Change DockerVM scenario to use an AMI with docker installed.
Docker-compose is installed automatically since it it not integrated in the ECS AMI
Docker installation on VM is now optional and can be done with WithDockerInstall option on DockerManager.
Which scenarios this will impact?
It impacts DockerVM scenario
Motivation
Using an AMI where Docker is already installed is faster to run
Additional Notes

Hi @ogaca-dd ,
I adressed your comments and reworked my changes to enforce the use of Docker AMI in the AgentDockerInstaller. Feel free to review it again when you have some time, thanks!


SKYOPS-60060 support dispatcher zipping folder

Description
Supporting dispatcher changes following https://github.com/adobe/aio-cli-plugin-aem-rde/pull/51 and same logic already implemented in https://github.com/adobe/aio-cli-plugin-aem-rde/pull/47
Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] 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 change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

cc @moalfamaria


Update Composer dependencies (2020-12-06-00-05)

Visual regression test passed!
View the visual regression test report


feat: add method for getting current playback status

Summary
Add method for getting current playback status.
Motivation
Implement feature request #4226.
Changes
Test plan
Run the sample app, add a button get play status with the use of function getCurrentPlaybackStatus.

@seyedmostafahasani
In new arch, functions called via ref can't have a return value. Current implementation of save or getCurrentPosition is tricky and may be deprecated in the future via RN Core, so using callback props may be a better approach for now.

@YangJonghun
Thanks for informing me. I think we can use this method until the RN core team decides on it. If they deprecate it, we can implement a new approach using callback props.
WDYT?

@seyedmostafahasani if it is deprecated, It is nopt a good idea to use it.
BTW a possible implementation would be to implement the event callback on native side.
Register an handler in Video.tsx and the save the last state in a Ref.
Then the getter will just return the ref value.

Thanks for informing me. I think we can use this method until the RN core team decides on it. If they deprecate it, we can implement a new approach using callback props.
WDYT?

Same as above comment


Enable sphinx viewcode plugin for source code links.

Hi, this enables source code links in the API reference documentation.
What do you think of enabling this?

Ah I was looking for something like this, that's great thanks! I built the docs locally and it looks good, too bad the plugin doesn't seem to work for properties, but this is a good improvement nonetheless.

deployed


VRAM stuck to low clock speed

Describe the bug
When I put my PC to sleep and wake it up, Seems like the Vram clock is stuck at about 96mhz.
What did you expect to happen?
To run the game properly.
Output of rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
                   Digest: sha256:b500b47741b798a83987e5d502f5b4a5fe4eaa86514ad29fb066e95889ff831a
                  Version: 40.20240731.0 (2024-07-31T16:45:14Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
                   Digest: sha256:ecec4c19ff9d866fe9b1d63706acc1a1c9b4acef7aaa92d9d7ae1557c1d68210
                  Version: 40.20240731.0 (2024-07-31T04:01:02Z)

Hardware
CPU: 7600x
GPU: 7900 XTX
RAM: 32GB
MB: Gigabyte AX 620 I
Extra information or context
I am not sure if the issue is related to below one, If it is can we use this somehow?
https://gist.github.com/Rend0e/3bddac4285dc1f4fbe303f326f36f6cc

May be related to https://github.com/ublue-os/bazzite/issues/1070
Can close this if its same issue


Modal upgrade

Makes adding modals and passing data much easier and more type safe.
The hamburger menu example has been adapted to use the new modal system, check it out for example usage.
Questions:

Does it make sense to write this whole new modal system to live alongside the current one with V2 prefixes? Or could we remove the old modal system and just adapt all the old examples to the new code? This would be much cleaner and less confusing, and I could do it pretty quick if it makes sense.
The best way I found for defining the unmount delay is by attaching it as an optional property to the modal component itself. This allows defining the unmount delay once per component, which is how it should be and makes it easier to keep consistent with CSS animations, instead of having to figure out what the value should be in more random places like when showing the component. This was o1's best advice.

This looks pretty good, I would want to make sure the enter and leave experience animations are the best intention we can do for this iteration, I'm sure we'll improve on them later, you can do some cool stuff with a custom cubic-bezier
I would also double check that the old modals all work correctly. And maybe add a feature that disables animations because some people prefer that experience over having an animation.

currently, animations are left to the modal implementations themselves. the modal manager just handles delaying unmounting the component so that the modals can play their fade out animations. however i could centralize this. should i make that happen?
also, i haven't adapted the other modal examples yet. the new modal system exists alongside the previously existing one, however if i adapt all the examples, i'd like to remove the old code completely to make things less confusing. is that ok?

unfortunately, updating the entire codebase to use the new modal manager has introduced a very large change list.
notably, i removed the viewer prop from GlobalModalManager, because it doesn't really make sense for this to be integrated into the modal system. instead, i've created a context for it. GlobalModalManager was already a roundabout form of viewer context with tight coupling.
it's probably not feasible to check each line of code manually, but i've done testing to try to catch any regressions possible:

login still works
each modal type is positioned correctly (including those computed with calculatePositionWithGutter())
all modals are interactable, the background is blurred, clicking outside dismisses them
errors modals have correct content
viewer context is received correctly

Let me know with this last adjustment when its ready for review again and then I'll have the team review it.


Automatically show description from interface

When implementing an interface it would be nice to automatically see the description of that interface on the implementation.
This should only be shown if the implemented field does not have its own description.
This should be fairly simple when dealing with a single interface, the biggest problem is what to do when multiple interfaces has the same field with different descriptions. I would suggest as the first implementation of this to simply do nothing in that case or to take the first interface and use that.

In order to be consistent and avoid ambiguity, I would always mark descriptions coming from an implemented interface explicitly as such. Here is a quick & dirty visual mockup I made:

@sgrove from onegraph suggested this very idea years ago, I agree - it‘s a natural choice!

At least currently this means we need to copy/paste descriptions from interfaces to implementation for making a better user experience, but with this, that would be unneeded 👀

@olivernybroe this was also in @orta's original redesign from 2019/2020! There was resounding support for this then. There are forked versions of graphiql that do this as well.
We should target this for a 2.x version if not 2.0.0 itself. I would like to add it to the legacy DocExplorer as well, which will continue to be shipped from @graphiql/react

@dotansimha @n1ru4l isn't this something y'all have implemented in your modular graphiql fork?


Cannot read data on non-home page with i18n plugin

Technologies used: Nuxt 3, Storyblok, i18n, SSG on Netlify
I am creating a multilingual site with nuxt 3, storyblok (storyblok/nuxt) and i18n (nuxtjs/i18n). I want to deploy the site fully static to Netlify in the end. And that’s the point I’m having troubles. Locally everything works fine. But as soon as I render the page and preview it, I’m having the issue that if I reload (normal reload or hard reload) on a page that is not home a breaking error occurs.

If I reload on home, it works smoothly. I can even navigate to all the other pages and see it without breaking, the error occurs only if reloading.
I already discussed this issue with someone on the storyblok discord channel. We analyed some stuff already and came to the conclusion that the issue is not the nuxt/i18n plugin but rather the storyblok/nuxt plugin.

Expected Behavior
When reloading any page of the generated output, the content of the page should be displayed without any errors and without fetching from the API, as it should be a fully static page.
Current Behavior
If reloading the generated page on a "non-home" page (e.g. /en, /blog, /en/blog) the page completly breaks and a error occurs in the console (screenshot above).
Steps to Reproduce

Clone or fork this repo with the current non-working state: https://github.com/leamoser/multilang_nuxt_3
Create a .env-file on the root-layer with the following content: STORYBLOK_ACCESS_TOKEN=ysgOxxe8kUQvRK3R539XhAtt
Generate with yarn generate
Preview with yarn preview
Reload or hard reload on any page expect home

Might be the same as https://github.com/storyblok/storyblok-nuxt/issues/211
Experiencing this issue on sites built without i18n/multi-lang as well, so I don't think it has to do with this i18n plugin.

Hi @leamoser, first of all, happy new year! Thanks for reporting your issue and sharing the solution you found! 💜
Locally: as Daniel Roe from the Nuxt core team pointed out in our last chat, we should use npx serve .output/public for static sites indeed. There's a problem they need to solve on the preview command. Maybe it's worth it to leave a comment about it on the README of the SDK? Let me know your thoughts.
Netlify generation: Something that Daniel pointed out too, Netlify is expecting a trailing slash at the end always so the routes should be generated accordingly. I have a repo for a workshop working with a similar setup; as you can see in this example, in every link, I did the hacky thing for slashes https://github.com/Dawntraoz-Storyblok/storyblok-nuxt-jamstack-blog/blob/main/components/ArticleCard.vue, I know is annoying, but at least your middleware seems a cleaner solution, I will try to look for a better approach once we solve the priority issues.
PS: Take into account that these SDKs are helpers we create voluntarily in order to make devs' life easier, but we don't have a dedicated person or team to maintain them yet. I promise we will do our best while working on other tasks, but any help in the form of a PR is more than welcome and will help us a lot! 🚀
Thanks again for your help Leamoser 💜


Added check to ATRemoveService method

When removing services from an account, server console displayed an exception Exception while invoking method 'ATRemoveService' Error: Did not check() all arguments during call to 'ATRemoveService'.  Noticed that the parameter service_name in ATRemoveService was not checked. I added the check to make sure that this parameter is a string.  Adding this checked prevented this exception in my local environment and allowed the feature to function as expected.

:+1:


Kicad v8 & 4.2.0: No button on PCB view

Maybe I'm missing something, but with Kicad 8 and version 4.2.0 I can't seem to find the export button.
Normally it was at the top right corner, but it's not there anymore.
I manually updated to 4.2.0 (from 4.1.0, I think), so maybe that's the problem?
I've also completely removed the plugin, restarted kicad, resinstalled the plugin and restarted kicad, but it's still not there.

Quick update: This seems to be a Kicad 8.0.0 problem. I've just updated to 8.0.1 and the button is there again!


Naive implementation for parallel using many adapters

Fixed a couple of tiny errors:

Code formatting.

Grammar in the comment describing BlockchainAdaptersDispatcher (please re-read). Also moved the comment above the class name. Always write comments above class name (or method name, if you're writing comment for a method), not below.

When writing spec descriptions, use it verb, not it should verb. There's nothing inherently wrong with should, but there was no consistency, even within your own spec: you wrote should in one place and in another test description you used the it verb form.


Ios - multihand tracker crashes after dealloc

Hi! I compiled framework for ios with multihand tracker. And faced an issue that app crashes after deallocation
Dealloc method is the same as in examples:
- (void)dealloc {
         NSLog(@"dealloc");
 self.mediapipeGraph.delegate = nil;
 [self.mediapipeGraph cancel];
 // Ignore errors since we're cleaning up.
 [self.mediapipeGraph closeAllInputStreamsWithError:nil];
 [self.mediapipeGraph waitUntilDoneWithError:nil];
}

After it's called i see this two logs:
2020-04-25 09:57:09.310544+0300 ARMA[1791:443685] dealloc
2020-04-25 09:57:09.310772+0300 ARMA[1791:443685] *** Assertion failure in -[MPPGraph waitUntilDoneWithError:](), mediapipe/objc/MPPGraph.mm:273

And then
Thread 1: EXC_BAD_ACCESS (code=1, address=0x100000001)

Hi @SvyatHoly, please provide the build instructions you used.

Hi! This line *** Assertion failure in -[MPPGraph waitUntilDoneWithError:](), mediapipe/objc/MPPGraph.mm:273 means that this code  [self.mediapipeGraph waitUntilDoneWithError:nil]; was called on the main thread.
And based on the comments in code, it should be avoided.
waitUntilDoneWithError: should not be called on the main thread
But it also means that the code in all the iOS examples is wrong because the UIViewController's dealloc method is always called on main thread.
But my problem is that even if I call  [self.mediapipeGraph waitUntilDoneWithError:nil];  on a background thread it doesn't works properly and I get the following error:
mediapipe/-1 (16): EXC_BAD_ACCESS (code=1, address=0x10000000001)
#1	0x0000000100bef488 in mediapipe::GPUData::~GPUData() at mediapipe/mediapipe/calculators/tflite/tflite_converter_calculator.cc:81
Can please someone tell me how to stop and destroy the graph properly?

I believe this issue may be resolved in the next release.
It has to do with needing to add a private namespace around the declaration of GPUData in both tflite_converter_calculator.cc and tflite_inference_calculator.cc
You can try adding that, or wait until the next push, likely early next week.

@mcclanahoochie, thank you very much for the feedback!

Hi @Ankish , at the moment I don't work actively with mediapipe. But I found a change in source code I made back then related to this issue. I hope it will help.
Here is the diff:
diff --git a/mediapipe/calculators/tflite/tflite_converter_calculator.cc b/mediapipe/calculators/tflite/tflite_converter_calculator.cc
index 8f3af1c..dad2f0b 100644
--- a/mediapipe/calculators/tflite/tflite_converter_calculator.cc
+++ b/mediapipe/calculators/tflite/tflite_converter_calculator.cc
@@ -78,11 +78,13 @@ struct GPUData {
   GlProgram program;
 };
 #elif defined(MEDIAPIPE_IOS)
+namespace { // fix based on:https://github.com/google/mediapipe/issues/651
 struct GPUData {
   int elements = 1;
   GpuTensor buffer;
   id<MTLComputePipelineState> pipeline_state;
 };
+}
 #endif

 // Calculator for normalizing and converting an ImageFrame or Matrix

hello, i met this issue also.
i did this, but still failed.
thanks for your help!


Improve the perf of Array#filter a little bit by using specialized versions of GetItem

We were always going into the uint64 path for these helpers due to the way the logic of EntryFilter was written. Made a fix by factoring-out the bulk of this function into a templated version.

This change is to address the performance concerns in https://microsoft.visualstudio.com/defaultcollection/web/wi.aspx?pcguid=cb55739e-4afe-46a3-970f-1b49d8ee7564&id=7763834

:shipit:


Add Hyperlink to logo

What would you like to share?
Add our community website link to logo
Additional information
No response
Would you like to work on this issue?

[ ] Yes I want to work on this issue!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Fixed with #54 here


Add pointer to playground for decompilation

Codecov Report

Merging #1005 (1761dd8) into main (5c94339) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1005   +/-   ##
=======================================
  Coverage   94.19%   94.19%
=======================================
  Files         328      328
  Lines       15659    15659
  Branches       12       12
=======================================
  Hits        14750    14750
  Misses        909      909

Flag
Coverage Δ

dotnet
94.75% <ø> (ø)

typescript
25.78% <ø> (ø)

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


Feature Request: Do not start the application if the application was stopped

If the application was stopped you probably do not want to start the application after changing the stack value.
I am willing to do a pull request if you approve the feature request.

@norman-abramovitz We've got this code on master (if you want to test it) and this feature should come in at next release. Closing for now. Please open another issue if this doesn't suit your needs.


Make tempfiles easier to read (prepend chef to the name)

Fixes #4376 cc @chef/client-core

:+1: modulo windows trolling you

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.


New Tag UI

New color

This update change the color for all tag. Exceptionally we are getting out of the HSDS color palette to have the best accessible color possible. Since the text is small it needs to be readable and color needs to be out of the way.
All tags have the same text color (charcoal.600). We have brand new colors (teal / pink). Sadly, we had to part ways with lightBlue. Thank you for your service
Size
We now support three different sizes (sm, md, 'lg'). sm has a 18px height, md  is 22px and 'l
Clickable
Tag can now be clickable in the right context. If a Tag contain either a onClick prop or an href, the tag will have a pointer cursor. Only a href will act as a simple <a> while an onClick will make the tag a <button>

Being clickable means that each tag needs a hover state. To keep it simple, we did darken the main color by 30%.
Count
We add a count prop that will be visible only when the size is md. It will render a badge after the tag text with the count prop value

isRemovable
We still support the is removable prop. However, we did refactored how it is working internally. Now it relies on the onTransitionEnd event to unmount the component. We remove the onBeforeRemove promise implementation (it was not used anywhere). Now there is only a onRemove callback.
We did add a focus state to the remove icon to make it more accessible. If the tag is clickable, the tab order will still make sense when moving through the focusable elements

Limit
We now support limiting the number of tags visible in <TagList>. We will show a badge at the end to let the user display all the tag in the list:

With this addition, we deprecated the showAll prop. Now all tags are visible by default. To limit the size of the element, we can either use the new limit prop or the overflowFade. The latter will keep all tags on a single row, with a fade effect at the end of the element.
RTL
Lastly, we did refactored all Tag & TagList test to use react-testing-library 🎉

@plbabin right off the bat, agree with Buzz—let's start with these few CANIs. Going to spend some more time on the interactions and will circle back.
Typography
font-weight: 500;
font-size: 11.5;
letter-spacing: -0.1px;
line-height: 12px;

isRemovable versions
Lets update the X icon styles to:
width: 18px;
height: 18px;
margin-top: -9px;
opacity: 0.6; DONT LOOK AT ME

For sm size, remove the right positioning
Question
Will we be implementing the lg versions in this PR as well?

Latest update includes the lg size variant, the limit prop and all CANIs.
@tinkertrain I also created a focusRing mixing so we could bring that blue border on any element quickly https://github.com/helpscout/hsds-react/pull/975/commits/af1078df076966de511be55649aacab5d22f3f5d

@jaredmcdaniel do you mind have another look at this PR? I would like to merge it soon so I can update tags in both hsds/hs-app all together

@plbabin looking great. My last requests here pertain mostly to the recently added lg version:

is-lg version should have a border-radius of 4px (vs 3)
is-lg version should have 13px font-size (vs 11.5)
is-lg version: counts should be 12px (vs 11.5)
Lastly, let's update the default grey outline version (all sizes) to use grey-500 (currently using grey-400)

Figma file if helpful.

@plbabin looking great. My last requests here pertain mostly to the recently added lg version:

is-lg version should have a border-radius of 4px (vs 3)
is-lg version should have 13px font-size (vs 11.5)
is-lg version: counts should be 12px (vs 11.5)
Lastly, let's update the default grey outline version (all sizes) to use grey-500 (currently using grey-400)

Figma file if helpful.

you got it!

@plbabin tell me if this adds too much complexity, but the hope would be for grey-500 to apply only for the outline versions. The filled version would still use grey-400 as it did before.
Contrast still checks out so I wont die on this hill, but wanted to ask. 😄

@plbabin tell me if this adds too much complexity, but the hope would be for grey-500 to apply only for the outline versions. The filled version would still use grey-400 as it did before.
Contrast still checks out so I wont die on this hill, but wanted to ask. 😄

that wasn't too bad, how does it feel now?


Find a way to never translate code block

For the moment, Deepl take full document in input and try to translate code blocks. We don't want yhos behaviour.

In deepl official documentation (https://www.deepl.com/docs-api/handling-html-(beta)/) : the translate="no" attribute is used to prevent translation of the paragraph


Handle unicode composing characters on terminal

utf_uint2cells should return 0 when c is composing char
Replace MB_PTR2LEN by MB_CPTR2LEN inf_term_sendkeys to enable to send the composing char

When treat the width of the composing char as greater than 0, the extra character is shown.
expected: ガカ
actual: カカ

terminal-normal mode view:

Codecov Report

Merging #2195 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2195      +/-   ##
==========================================
- Coverage   74.21%   74.21%   -0.01%
==========================================
  Files          90       90
  Lines      131984   131992       +8
  Branches    30865    28989    -1876
==========================================
+ Hits        97950    97953       +3
- Misses      34009    34014       +5
  Partials       25       25

Impacted Files
Coverage Δ

src/terminal.c
65.33% <100%> (+0.14%)
:arrow_up:

src/mbyte.c
59.88% <100%> (+0.05%)
:arrow_up:

src/gui.c
46.34% <0%> (-0.68%)
:arrow_down:

src/if_xcmdsrv.c
83.63% <0%> (-0.18%)
:arrow_down:

src/channel.c
82.44% <0%> (+0.04%)
:arrow_up:

src/gui_gtk_x11.c
47.76% <0%> (+0.05%)
:arrow_up:

src/libvterm/src/utf8.h
72.72% <0%> (+31.81%)
:arrow_up:

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 73f4439...3b5b0f7. Read the comment docs.


Don't see CSP offer id in "Add new Account"

Hi, we actually have 5 subscriptions configured in cloudyn, all of them CSP. Today when I try to add another subscription I can't see the "Rate Id" MS-AZR-0145P (CSP Offer ID) in the "Add new account" popup.
Are there any issue?
Regards.

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

ID: 4916833a-183f-27a2-b110-281915b06a27
Version Independent ID: bd91aa56-2267-9eb4-de6e-53d4c97df651
Content: Activate Azure subscriptions and accounts
Content Source: articles/cost-management/activate-subs-accounts.md
Service: cost-management
GitHub Login: @bandersmsft
Microsoft Alias: banders

@Tulkis I'll look into this with the enginnering team.
#in-process

@Tulkis Here's the info I got from the Cloudyn engineering team:
CSP subscriptions are discovered automatically after Cloudyn reads the CSP usage data. So no action is required for a new CSP subscription, except wait for the data to get refreshed.
Adding a new account used for web direct accounts.
#please-close

@bandersmsft for the moment I still cannot see it but I'll wait for it.
Thank you.


Drag Icon (6 dots)

Icon Request

Icon name: Draggable
Tags of this icon: drag, drop, move, dots
Use case: when users need to drag something they usually look for an icon with dots which they drag with a cursor (it works like a handle)
Screenshots of similar icons:

Thanks for the advice.
Now you can get this icon in version v3.2.0.
https://remixicon.com/icon/draggable


Missing code and possible incorrect statement about auto

Hi,
I'm reading a free sample of the book, chapter 1 (https://subscription.packtpub.com/book/programming/9781800208988/1/ch01lvl1sec02/using-auto-whenever-possible)
On the book content, it says

It is not possible to use auto for types that are not moveable:
auto ai = std::atomic(42); // error

the first issue is that this code is missing at this repo, I can't find the line at https://github.com/PacktPublishing/Modern-CPP-Programming-Cookbook-Second-Edition/blob/master/Chapter01/recipe_1_01.h
There is another issue, the code is stated as error but it can compile in VS2022, c++ 20.
 auto ai = std::atomic<int>(42); // error

I haven't checked if it is only valid in c++20.

You are right, unfortunately, this line is missing in the repo.
This line generates an error in C++11/14, but works starting with C++17. The recipe should be updated to convey this information.
 auto ai = std::atomic<int>(42);


replication: support parsing event with header only and no checksum

What problem does this PR solve?
When parsing a binlog event that has event header only and no checksum data, go-mysql will return error invalid event header, event size is 19, too small
Ref to MySQL doc, STOP_EVENT has event header only, so if binlog checksum is not enabled, there may exist binlog event with event size 19.
Besides the binlog event checksum was disabled by default before MariaDB 10.2.1, so this problem occurs often in MariaDB 10.1.x
What is changed and how it works?
Allow binlog event size equals to 19

PTAL @siddontang @GregoryIan @csuzhangxc


stm32wl55

Plans to au915 ?

What do you mean? AU915 is provided by this repo: https://github.com/ivajloip/rust-lorawan/blob/7f7ceef024991d0f068b59cff715897b021e8521/device/src/region/mod.rs#L19

nice, i finished the RUST blog about LSM110A, an stm32wl55 module.
https://lom204-cli-wisol.blogspot.com/2023/09/lsm110a-blink-led-com-rust.html
next step is test your project

It looks like you're not using an async runtime yet (like embassy).
So you can either look into that or you try to use the no_async device and call it with the appropriate events. The example here shows the usage but it still uses a framework for managing/prioritizing the interrupts (the framework is called RTIC... which I think has some async features now? I'm not up to date).

Yes!
well, I will study your code and see how to port to stm32wl55
thanks

hi, could you help me to make work on E5 ? Then late i port to LSM110A a make a good blog

I can try to help. What are you trying to do exactly on the E5? Do you have a repo somewhere?

@lthiery
Wait, i still studyng EMBASSY!
I got sucess on BLINK TEST  now!
https://lom204-cli-wisol.blogspot.com/2023/09/lsm110a-blink-led-com-rust-com-o-embassy.html
going to lorawan test

//! This example runs on a STM32WL board, which has a builtin Semtech Sx1262 radio.
//! It demonstrates LoRaWAN join functionality.
#![no_std]
#![no_main]
#![macro_use]
#![feature(type_alias_impl_trait, async_fn_in_trait)]

use defmt::println;
use defmt::info;
use embassy_executor::Spawner;
use embassy_lora::iv::{InterruptHandler, Stm32wlInterfaceVariant};
use embassy_lora::LoraTimer;
use embassy_stm32::gpio::{Level, Output, Pin, Speed};
use embassy_stm32::rng::{self, Rng};
use embassy_stm32::spi::Spi;
use embassy_stm32::{bind_interrupts, pac, peripherals};
use embassy_time::Delay;
use lora_phy::mod_params::*;
use lora_phy::sx1261_2::SX1261_2;
use lora_phy::LoRa;
use lorawan::default_crypto::DefaultFactory as Crypto;
use lorawan_device::async_device::lora_radio::LoRaRadio;
use lorawan_device::async_device::{region, Device, JoinMode};
use {defmt_rtt as _, panic_probe as _};

const LORAWAN_REGION: region::Region = region::Region::AU915; // warning: set this appropriately for the region

bind_interrupts!(struct Irqs{
    SUBGHZ_RADIO => InterruptHandler;
    RNG => rng::InterruptHandler<peripherals::RNG>;
});

#[embassy_executor::main]
async fn main(_spawner: Spawner) {
    let mut config = embassy_stm32::Config::default();
    config.rcc.mux = embassy_stm32::rcc::ClockSrc::HSE32;
    config.rcc.rtc_mux = embassy_stm32::rcc::RtcClockSource::LSI;
    let p = embassy_stm32::init(config);

    pac::RCC.ccipr().modify(|w| w.set_rngsel(0b01));

    let spi = Spi::new_subghz(p.SUBGHZSPI, p.DMA1_CH1, p.DMA1_CH2);

    // Set CTRL1 and CTRL3 for high-power transmission, while CTRL2 acts as an RF switch between tx and rx
    let _ctrl1 = Output::new(p.PB12.degrade(), Level::Low, Speed::Low);
    let ctrl2 = Output::new(p.PC13.degrade(), Level::High, Speed::Low);
    let _ctrl3 = Output::new(p.PC3.degrade(), Level::High, Speed::High);
    let iv = Stm32wlInterfaceVariant::new(Irqs, None, Some(ctrl2)).unwrap();

    let mut delay = Delay;

    println!("********************************");
    info!("***********************************");
    info!("***********************************");

    let lora = {
        match LoRa::new(SX1261_2::new(BoardType::Stm32wlSx1262, spi, iv), true, &mut delay).await {
            Ok(l) => l,
            Err(err) => {
                info!("Radio error = {}", err);
                return;
            }
        }
    };
    let radio = LoRaRadio::new(lora);
    let region: region::Configuration = region::Configuration::new(LORAWAN_REGION);
    let mut device: Device<_, Crypto, _, _> = Device::new(region, radio, LoraTimer::new(), Rng::new(p.RNG, Irqs));

    defmt::info!("Joining LoRaWAN network");

    // TODO: Adjust the EUI and Keys according to your network credentials
    match device
        .join(&JoinMode::OTAA {
            deveui: [0x00,0x80,0xe1,0x15,0x05,0x1f,0xce,0xe4],
            appeui: [0, 0, 0, 0, 0, 0, 0, 0],
            appkey: [0x2a,0xed,0x51,0xb8,0x39,0xde,0x8d,0x83,0x07,0x56,0xb9,0x7d,0x2c,0x03,0xe8,0x2d],
        })
        .await
    {
        Ok(()) => defmt::info!("LoRaWAN network joined"),
        Err(err) => {
            info!("Radio error = {}", err);
            return;
        }
    };
}

Do you know for wich PORTA the info! redirecty the data by default on STM32WL55 ?

You might want to look at what @lucasgranberg has done here: https://github.com/ivajloip/rust-lorawan/issues/116#issuecomment-1714454383
He's using a fork of the async rust-lorawan stuff (does not contain AU915 configuration) but you might find what you need there.

I will test it
Thanks
Enviado do meu iPhone
Em 11 de set. de 2023, à(s) 16:32, Louis Thiery @.***> escreveu:

You might want to look at what @lucasgranberghttps://github.com/lucasgranberg has done here: #116 (comment)https://github.com/ivajloip/rust-lorawan/issues/116#issuecomment-1714454383
He's using a fork of the async rust-lorawanhttps://github.com/lucasgranberg/lorawan stuff (does not contain AU915 configuration) but you might find what you need there.
—
Reply to this email directly, view it on GitHubhttps://github.com/ivajloip/rust-lorawan/issues/116#issuecomment-1714462851, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACXUZTDX3SHMMDT5W2G2ACDXZ5RN7ANCNFSM6AAAAAA4I7QIJE.
You are receiving this because you authored the thread.Message ID: @.***>

@tcpipchip i'm going to close this issue for now. please feel reach out on matrix for more support on your project if you need it
https://matrix.to/#/#public-lora-wan-rs:matrix.org

ok, someday i will be back to the project...but i am happy that LoRa already working!


        For strings this simply replaces newlines with '\n~' so that
        util.format_explanation() will preserve them instead of escaping
        newlines.  For other objects py.io.saferepr() is used first.

        """
        # reprlib appears to have a bug which means that if a string
        # contains a newline it gets escaped, however if an object has a
        # .__repr__() which contains newlines it does not get escaped.
        # However in either case we want to preserve the newline.
        if py.builtin._istext(obj) or py.builtin._isbytes(obj):
            s = obj
            is_repr = False
        else:
            s = py.io.saferepr(obj)
            is_repr = True
        if py.builtin._istext(s):
            t = py.builtin.text
        else:
            t = py.builtin.bytes
>       s = s.replace(t("\n"), t("\n~")).replace(t("%"), t("%%"))
E       TypeError: string argument without an encoding

../../lab/lib/python3.5/site-packages/_pytest/assertion/rewrite.py:394: TypeError
----------------------------------------------------------- Captured stderr call -----------------------------------------------------------
/bin/sh: clang-format-3.6 : commande introuvable

I installed clang 3.7.1-1 from arch repository but it did not solve the issue.
Thank you

Hi @louptheron
The problem is we rely on clang-format-3.6, and if we upgrade to clang-format-3.7, it changes some part of the C++ files layout. Nothing to do with the inner pythran mechanism, you can safely ignore the error (or disable this test by commenting the function in pythran/tests/test_format.py)
@pbrunet do you think we should upgrade to clang-format-3.7 for the validation?

Thank you @serge-sans-paille

#545 now detects if clang-format-3.6 is available, and ignore the test otherwise

#545 has been merged and fixes this issue!


Support for Azure Government

I am unable to locate the provisioning tab when configuring a SAML application in Azure Government. Please confirm if this region is supported. If there is limited support based on region it would be helpful to annotate or provide a link to which regions support this feature.

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

ID: 0b0b1d8e-d24d-26cb-cb3a-0127e1eeec2a
Version Independent ID: fab665b2-4636-da65-1b95-698af9bec618
Content: Automated SaaS app user provisioning in Azure AD
Content Source: articles/active-directory/app-provisioning/user-provisioning.md
Service: active-directory
Sub-service: app-provisioning
GitHub Login: @msmimart
Microsoft Alias: mimart

@jgallucci32 Thanks for your feedback! We will investigate and update as appropriate.

@jgallucci32 There are some limitations on the Azure Government Cloud.
In your case, Rich provisioning connectors for featured apps are not yet available. You can use SCIM for automated provisioning instead. You can check this document for more details.
Let us know if this helps you out.

                                                                                Thank you for the response. That document mentions SCIM but does not specify how to configure it. Could you please provide the documentation link to configure SCIM?                                                                                From: neeleshray-msftSent: Thursday, February 27, 2020 12:17 AMTo: MicrosoftDocs/azure-docsReply To: MicrosoftDocs/azure-docsCc: jgallucci32; MentionSubject: Re: [MicrosoftDocs/azure-docs] Support for Azure Government (#49027)@jgallucci32 There are some limitations on the Azure Government Cloud.

In your case, Rich provisioning connectors for featured apps are not yet available. You can use SCIM for automated provisioning instead. You can check this document for more details.
Let us know if this helps you out.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/MicrosoftDocs/azure-docs/issues/49027?email_source=notifications\u0026email_token=ACEZ4EJOIBTN4IMHBZSL6T3RE5ZJFA5CNFSM4K4Q3BQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENDMMTQ#issuecomment-591840846",
"url": "https://github.com/MicrosoftDocs/azure-docs/issues/49027?email_source=notifications\u0026email_token=ACEZ4EJOIBTN4IMHBZSL6T3RE5ZJFA5CNFSM4K4Q3BQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENDMMTQ#issuecomment-591840846",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]

@jgallucci32 You can start with this guide documentation for the same. You can contact us on the Azure Government Support for more assistance.

@neeleshray-msft Before closing would you mind adding a note to the documentation the feature is only supported in certain regions?
After further testing it appears the documentation link you provided for SCIM configuration Azure Databricks is only available in the commercial regions as well. There is no app gallery in Azure Government.
Thank you.


(Team3) RegexMatcher test cases

Add more integration tests for regex matcher and translator.
Fix some bugs, including escaping special characters, and some minor changes in RegexMatcher.java

@zuozhi : To help me review the PR, is it possible for you to add comments (in the PR) to those major places I need to look at?

Previous comments have been taken care of.

LGTM.  Please go ahead to do the merge.


[WIP] Initial setup for system check command

Signed-off-by: Nitish Malhotra<EMAIL_ADDRESS>Description
This PR fixes #1754
Notes for Reviewers
This is a new command to be added under the mesheryctl exp subcommand tree that checks the status of all meshery components and the dependencies, environments, etc.
Changes made only to mesheryctl package.
Signed commits

[X] Yes, I signed my commits.

Looks good to me for the preFlight check, just a suggestion can we rename the preflight flag to pre?

Sure good idea. Less verbose.

Hmpf, I missed this PR earlier. What a great use of the exp area. There's lint check going on about whitespace formatting, but otherwise good to go here. 👍


Plugin Not working of LeetCode ByPass

#99

Is there any alternative because leetcode charges are very very very very very very very high.

You can collect leetcode coins to buy a month of premium


Make dimensions optional

Resolves #370
Definition of Done

[x] The code does at least what is defined in the ticket and does not affect any other functionality
[x] The PR has a meaningful title
[x] There is a link to the issue-id
[x] The PR has been reviewed
[x] There are no 'hacks' or shortcuts refactoring is prefered

Tests

[x] Reasonably tested with high code coverage (unit/integration)

Testability

[x] All exported functions are testable
[x] There is no code execution in the global scope
[x] Default exports are avoided
[x] The code is concise, expressive and readable
[x] The code is functional and doesn’t use class syntax

React components are

[x] Stateless and use pure rendering functions
[x] Are documented and tested in storybook
[x] Typed-checked
[ ] The Sass is stickily using the BEM-Convention
[x] For each react component exists exactly one Sass-File
[ ] The is no container styled
[x] There are no console errors or unwanted console logs

I'm ok with that change, but I think we should refine the data model in a second step @tanx


Pet changing size

https://user-images.githubusercontent.com/25908878/166217261-8e09a24e-613e-430f-92d9-e0f22c83d556.mov
It seems that the cat is changing sizes when it does stuff like chase the ball and swipe the curser. I'm not sure if this is on purpose.

I think the idling animation is larger than the swiping animation. I do not do any animation so I do not have the sufficient skills required to fix this issue.

Tested with cat and dog. Issue is only with the brown cat due to the improper aspect ratio of gif files.
media/cat/brown_walk_8fps.gif image has aspect ratio of 1.769 with width and height of 115 × 65
media/cat/brown_run_8fps.gif image has aspect ratio of 1.176 with width and height of 100 × 85
All gif assets for any pet should have same aspect ratio.
@tonybaloney If you have the source files for these animation gifs, please change the dimensions and recreate assets.


Adding docker compose for kc protected image

Adding dmp to build a aerogear/ups:kc development image.
Run the build (e.g. mvn clean install -DskipTests, on ROOT folder)
Now, run the compose file:
cd servers/keycloak
mvn docker:run -Pcompose

this brings up both, KC and UPS "dev" containers.
Now, go to http://localhost:18080/ag-push, and login (admin:123), change the passwd...
Now, create a App, and see something like
unifiedpushserver> 09:51:18,680 DEBUG [org.jboss.aerogear.unifiedpush.service.impl.SearchManager] (default task-2) Running with Keycloak context

in the log

Verifying changes.

Very nice change. It will be cool to add documentation for developers about this, however it could be in separate PR. Verified.

Very nice change. It will be cool to add documentation for developers about this, however it could be in separate PR

Yes! I was planing to write some README about this image, and the plain image as well

👀

@matzew The containers start without errors, but http://localhost:18080/auth return me a 404

@pb82 I had the same problem. It was an error on the PR description. You should use http://localhost:18080/ag-push instead

@pb82 @wtrocki @danielpassos
yo - I am closing this PR; I will install KC into the same WF server for UPS, using their Overlay distribution.  This is not supported for production, but does not matter here, since this is really just for testing.  i will get something new, soon :smile:

¯_(ツ)_/¯


Changes and additions to Dynamic Volume Provisioning diagram

CreateVolume in master should express better that this operation does not actually create volume: change "create volume" to something better. Perhaps add a yellow note with more text
What about deleting volume, right now this diagram handles creation only, but full volume lifecycle has Delete
something else?

creation side was addressed with recent diagram update.
deletion side: I think not not really worth having diagram, so let's close this issue?


Networkmanager/kernel with kargs prevent boot since kernel 6.7

https://bugzilla.redhat.com/show_bug.cgi?id=2263770
This is a pretty big issue. I tested Secureblue and Kinoite prerelease with the same kargs, and in both cases (kernel 6.7, 6.8) it does not boot. When not using the kargs it boots.
the old Kernel (update 2d or so ago) booted normally with the kargs.
This gave a clear "this is a kernel bug" error, so I assume this is a bug that is simply not bypassed when using the secure kernel arguments. I could do a binary search again which karg causes that issue, as its pretty critical.
It is reproducible on 2 seperate installs

Intel Wi-Fi 6 AX200
Intel i7-1165G7 with internal Graphics
all kargs applied as my Novacustom Firmware is not broken

duplicate https://github.com/secureblue/secureblue/issues/204


fix: vuetify includes es modules

Codecov Report

Merging #2261 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #2261   +/-   ##
=======================================
  Coverage   98.36%   98.36%
=======================================
  Files          15       15
  Lines         977      977
=======================================
  Hits          961      961
  Misses         16       16

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 b31b0f2...86d2d0f. Read the comment docs.


no padding in the 'contact us' section

Description
The how to 'join us section' is sticking to the 'frequently asked questions' section
Expected Behavior
There should be some padding between the two sections
Screenshots

Enviroment:

OS: Mac Linux Windows
Browser: Chrome Safari Firefox
Version:
Device: Desktop Mobile

@Divesh2003 Please check this issue and assign it


Add "Home" to address bar when used in navigation

What's the Problem?
[ FEATURE # 1 ]
While testing this out again, I noticed it is difficult to back to home after transitioning from Windows explorer. On Windows, if you open "This PC" and then open a drive, "This PC" is in the address bar, so if I need to go back to choose a different drive, I can click it.
This file manager does not have that, requiring me to click Home again on the left side. Keeping the mouse at least horizontally aligned while navigating through the file manager is a huge help and it causes extra unnecessary movement when "Home" is not added to the address bar.
Solution/Idea
[ Feature # 1 ]
Allow Home to be added to the address bar during navigation
Alternatives
Continue using Windows explorer
Priorities
| MUST |
All of these features are required for me to efficiently use a file manager.
Screen space is extremely important.
Files Version
<IP_ADDRESS>
Windows Version
Windows 11 Pro 21H2
Comments
No response

Details matter and I can see the adjustment from File Explorer taking a couple of days but does having to move the mouse 12 pixels really call for this to be implemented?

I do not have the sidebar adjusted to be so wide, the beginning of the
address bar does not line up with the sidebar clickable positions.
Someone can do it or not do it, I'm just using windows explorer until
something better comes out.
On Mon, Jun 20, 2022 at 11:06 PM Yair Aichenbaum @.***>
wrote:

Details matter and I can see the adjustment from File Explorer taking a
couple of days but does having to move the mouse 12 pixels really call for
this to be implemented?
[image: image]
https://github.com/assets/39923744/0b0576e1-ddb2-472d-bb52-089d4e58db84
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/9349#issuecomment-1161236770,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEU2Q7WNRSVGERWBDUAZH2DVQE5UTANCNFSM5X44ZTYQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
James Watson
682-202-5342
@.***


specify that the hackweek is hydrology and cryosphere focused

Somewhere on the splash page we need to be clear that the hackweek will have a domain focus on hydro and cryo. This will be important for applicants to see.

https://geosmart.hackweek.io/
Maybe change
"GeoSmart Hackweek will focus primarily on project work, with project ideas shared in advance. There will be space for new ideas to emerge based on participant engagement. There will be about 5 hours of tutorials spread over the week, including space for participant-led tutorials."
to
"The 2023 GeoSmart Hackweek will focus primarily on project work, with an emphasis on applications in Hydrology and Cyrosphere. Project ideas will be shared in advance. There will be space for new ideas to emerge during the Hackweek based on participant engagement. We will provide about 5 hours of data science tutorials spread over the week, including space for participant-led tutorials."

Closed by #21


couch2 restarter in correct location

I've updated couch0 & pillow1 on ICDS with these changes

No, I've moved the ones we had to where they should be according to this PR


Destroy objects owned by this connection when disconnecting

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


refactor: remove WsHttpServerKind enum and simplify server launch

This PR simplifies the server launch process and removes the WsHttpServerKind enum.
First pass at addressing #7491

ty for both for the feedback! I refactored the redundant code into a single function called create_middleware. if that's not what you had in mind i'm happy to make any changes


Allow different director un/password

This will allow people to add a new bosh director user for AWS to secure the director.

@mikegehard there is already BOSH_USER and BOSH_PASSWORD env vars that should be respected by the cli.

Thanks for the heads up @cppforlife. I'll try using those to override the command line flags in this script although that seems like it would cause more confusion than allowing this script to take arguments.
Would it be better if I defaulted to admin/admin if there were no arguments to preserve the original behavior?

OK so I tried the above environment variables and they don't seem to override the command line flags used in provision_cf.
I also realized that there are issues defaulting to admin if no options are passed because it will be hard to figure out if the args are un/password or simply additional bosh manifests.
I'll keep poking around to see if there is another option.

Using env variables to override director un/password instead of arguments. These default to admin/admin if not present.


allow email/username for login

This will depreciate the forgot username route but it will be kept around for backword compatibility.

added in commit adc9afdfda290301dc81ea6bec6e822c9e016abc


Proper way to have module loading screen

I have a module that takes time to load and update the dom, so there is a delay. I want to add a loading notification somehow to my mirror so I know the command was submitted. I tried to add a loading div to the dom wrapper, but got nowhere. Does anyone have a good example of this?

i answered in the forum
but pretty easy
dataready:false,
getDom: function(){
var wrapper = document.createElement('div')
if(!dataready){
var textElement= document.createElement('text')
textElement.innerHtml="Module Loading, please wait...";
wrapper.appendChild(textElement)
}
else {
// do whatever now that you have good data
}
return wrapper
}

Please refer to http://forum.magicmirror.builders for support and troubleshooting.
I'm closing this issue for now. If you feel this issue should remain open, please let me know.


Raise n_qubits to max IonQ provides across all QPU backends

If a particular circuit is run on hardware that does not support that specific size, it will be rejected server-side.
This is a bit of a cludge around dynamic backend fetching, once that is completed, we shouldn't be dependent on these SDK-specific caps.

Going to merge this as a pre-release version so that folks can test out the new cap.


[SPARK-25170][DOC] Add list and short description of Spark Executor Task Metrics to the documentation.

What changes were proposed in this pull request?
Add description of Executor Task Metrics to the documentation.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

LGTM cc @jiangxb1987 @srowen

Thanks @srowen for reviewing this. The metrics are commented in the source code of TaskMetrics class, I took most of the descriptions from there, adding some additional explanations where needed. Indeed I agree that the fact that time units are not uniform is a bit incovenient.

Test build #4340 has started for PR 22397 at commit 27130ba.

Test build #4340 has finished for PR 22397 at commit 27130ba.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged to master/2.4

Yes, time unit looks confusing, but not a problem. In general, due to APIs, elapsed time is ms, and CPU time is ns.


/admin/optimize graphs are not helpful

These graphs:

were originally designed as a way to test whether trade.py parameters were correctly predicting the market, but they're just not all that useful.  We need to come up with a better way to gauging how well our trade parameters are following the market.

Finding the conditions where it was correct 11%
As well as what was causing the other 89% is important.
Is there away to aggregate 'meta' conditions on these trades; or, find similarities in conditions and execution?

I'm not sure what you mean by 'conditions and executions'.
The meta information at the top of admin/*_charts, median, low, high, average, are the aggregated values for the group of selected tests.
If you scroll down admin/*_charts you will see the distribution of success for each tuning parameter .


Tests fail with pydantic 2

Took me a while to figure out why the tests were failing here: https://github.com/simonw/llm/actions/runs/5432551067/jobs/9879659129
____ test_template_execute[S: $input-None-None-params0-S: input-None-None] _____

prompt = 'S: $input', system = None, defaults = None, params = {}
expected_prompt = 'S: input', expected_system = None, expected_error = None

    @pytest.mark.para`]metrize(
        "prompt,system,defaults,params,expected_prompt,expected_system,expected_error",
        (
            ("S: $input", None, None, {}, "S: input", None, None),
            ("S: $input", "system", None, {}, "S: input", "system", None),
            ("No vars", None, None, {}, "No vars", None, None),
            ("$one and $two", None, None, {}, None, None, "Missing variables: one, two"),
            ("$one and $two", None, None, {"one": 1, "two": 2}, "1 and 2", None, None),
            ("$one and $two", None, {"one": 1}, {"two": 2}, "1 and 2", None, None),
            (
                "$one and $two",
                None,
                {"one": 99},
                {"one": 1, "two": 2},
                "1 and 2",
                None,
                None,
            ),
        ),
    )
    def test_template_execute(
        prompt, system, defaults, params, expected_prompt, expected_system, expected_error
    ):
>       t = Template(name="t", prompt=prompt, system=system, defaults=defaults)
E       pydantic_core._pydantic_core.ValidationError: 1 validation error for Template
E       model
E         Field required [type=missing, input_value={'name': 't', 'prompt': '... None, 'defaults': None}, input_type=dict]
E           For further information visit https://errors.pydantic.dev/2.0.1/v/missing

https://errors.pydantic.dev/2.0.1/v/missing

https://docs.pydantic.dev/dev-v2/migration/ migration guide.

pip install bump-pydantic
bump-pydantic llm

Refactored 2 files.

I'll fix this warning too:

/Users/simon/Dropbox/Development/llm/llm/cli.py:566: PydanticDeprecatedSince20: The parse_objmethod is deprecated; usemodel_validate instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.0/migration/


Does not work in Visual Studio

In the step 1.d. there is nothing to select, the dialog does not display the Receiver logic app, even though it is defined in the same file as the sender logic app.
Please document how you get this sample to work in Visual Studio.

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

ID: 1c0b3664-4181-90d2-c1db-d17724c16a3e
Version Independent ID: 8ce4d8ce-67c6-8d1f-7761-ad6ba06be793
Content: Batch process messages as a group or collection - Azure Logic Apps
Content Source: articles/logic-apps/logic-apps-batch-process-send-receive-messages.md
Service: logic-apps
GitHub Login: @jonfancey
Microsoft Alias: LADocs; estfan; jonfan

@Bartolomeus-649 Thanks for the feedback! We are currently investigating and will update you shortly.

@Bartolomeus-649 Could it be that your Receiver and Sender Logic Apps are deployed to different regions/locations? I'm able to follow and set this up in VS 2017 without any issues. However, i do see that the dialog at step 2.d is not coming up when the Sender and Receiver Logic Apps are deployed to different regions.

Nothing is deployed anywhere, I'm in visual studio trying to configure and set everything up.  Haven't come so far that there is anything to deploy.
In visual studio, everything is defined in the same ARM-template, everything in the same resource group, everything in the same region/location, everything using the same resources when possible (like storage account and so on).

@Bartolomeus-649 The content in this documentation is scoped & pertinent to Azure Portal experience, and the particular dialog shown at step 2.d requires an existence of "BatchReceiver" Logic App in the same Azure region that you're deploying your "BatchSender" Logic App to. For accomplishing the same solution through ARM-template, please open a post on MSDN or Stackoverflow and we will gladly continue the discussion. We will now proceed to close this thread.

Ok, so where is the documentation for enterprise developers who doesn't write code in web browsers?


Proposal: Use backup email in constructor + remove singleton as notif…

…icationSources is a static var in NotificationHandler.

@jerome-benoit My proposal to simplify the code in smtp email handling.


How to make spigot skungee connect to a "remote" IP?

What you need help with
I need to make it so the skungee on spigot connects to the proxy's ip, not a local one.
Both servers are technically on the same machine but I can't get it to work when trying to connect to localhost, <IP_ADDRESS> or <IP_ADDRESS>. I know that putting the public ip works on Skungee 1.X but on 2.X it tries to "bind" the IP without success, so I'm stuck with Skungee 1.X that has lots of network variables issues like the fact that network variables just don't work anymore when the proxy has been online for more than 10 minutes and things like that.
What you've tried so far
Inputting multiple local ips like <IP_ADDRESS>, localhost, <IP_ADDRESS> and some other "local" ips beginning with 172
Specifications
Skungee Version: 2.0-ALPHA-18
Proxy Platform and Version:  Bungeecord latest (idk the exact version but its the latest)
System/Panel (if applicable): Linux/Pterodactyl (spigot is on pterodactyl, bungee is on straight up linux in a screen)
PS: I know that it's not the latest version of Skungee because I'm on 1.8 (pvp based gamemode, won't upgrade for obvious reasons) and Skript-1.8 still hasn't received an update for Skript 1.6 and latest Skungee requires Java 16 which makes half the plugins break for no reason.

The latest version is 2.0.0-BETA-1

I believe you can run it with what ever Skript version.

2.0.0-BETA-1 requires Java 16 (already tried with Java 11) and plugins break with 16 for some reason

Latest Skript 2.6-ALPHA-3 works for me.

Skript no longer supports 1.8 since ages that’s why I’m using a fork made for 1.8 but the owner of the fork has not updated to 1.6 yet so I’m stuck with 1.5.3 for now

And I can’t just upgrade to newer Minecraft versions because the whole point of the minigame is pvp and even with 2 billion plugins to “revert” pvp, it still feels way less smooth and lots of tryhards won’t like it.

Duplicate #103

@TheLimeGlass any idea to this issue? It's still there for me.


internal top level vhdl signals

Full_Name: Kip Killpack
Version: updated today
OS:
spec:
log:
Submission from: chou.elen.utah.edu (<IP_ADDRESS>)
Submitted by: killpack
If the internal signal is named different from the entity signal name,
Then it will synthesize, but the structural stored vhdl entity will have
the internal signal name instead of the orignial entity signal name.
(ben is the internal signal name.  It was originally en on the and2_a entity)
Kip
STORE_VHDL_STRUCTURAL_ENTITY::::::::::::::::::::::::::::::::::::::::::::::::::::
entity and2_a is
port( a0 : in std_logic;
a1 : in std_logic;
b0 : in std_logic;
b1 : in std_logic;
ben : inout std_logic;
c0 : inout std_logic;
c1 : inout std_logic;
ce : in std_logic
);
end and2_a;
TOPLEVEL::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-- atacs -mV -mU -mP -mT -ms -mD -lv -M20 -ya -sv and2_a_top and2_a
LIBRARY ieee, work;
USE ieee.std_logic_1164.all;
ENTITY and2_a_top IS
END and2_a_top;
ARCHITECTURE behavior of and2_a_top IS
component and2_a_env
PORT(
c0 : IN std_logic;
c1 : IN std_logic;
en : IN std_logic;
a0 : INOUT std_logic;-- := '0';
a1 : INOUT std_logic;-- := '0';
b0 : INOUT std_logic;-- := '0';
b1 : INOUT std_logic;-- := '0';
ce : INOUT std_logic-- := '0'
);
END component;
component and2_a
PORT(
c0 : INOUT std_logic;-- := '0';
c1 : INOUT std_logic;-- := '0';
en : INOUT std_logic;-- := '1';
a0 : IN std_logic;
a1 : IN std_logic;
b0 : IN std_logic;
b1 : IN std_logic;
ce : IN std_logic
);
END component;
signal a0 : std_logic;
signal a1 : std_logic;
signal b0 : std_logic;
signal b1 : std_logic;
signal ben : std_logic := '1';
signal d0 : std_logic;
signal d1 : std_logic;
signal de : std_logic;
signal s0 : std_logic;
signal s1 : std_logic;
signal se : std_logic;
BEGIN
env : and2_a_env
port map (
c0 => c0,
c1 => c1,
en => ben,
a0 => a0,
a1 => a1,
b0 => b0,
b1 => b1,
ce => ce
);
the_and2 : and2_a
port map (
c0 => c0,
c1 => c1,
en => ben,
a0 => a0,
a1 => a1,
b0 => b0,
b1 => b1,
ce => ce
);
end behavior;

See the bug described below.  How hard would it be to use the entity port names
and internal signal names for a component when that component is selected for
synthesis?
Essentially, what would need to happen is that the rename currently done on the
top level signal names is still done.  Then another rename is done for the names
associated with the selected component to name them back to match the component.
Is this very difficult?
Chris

Full_Name: Kip Killpack
Version: updated today
OS:
spec:
log:
Submission from: chou.elen.utah.edu (<IP_ADDRESS>)
Submitted by: killpack
If the internal signal is named different from the entity signal name,
Then it will synthesize, but the structural stored vhdl entity will have
the internal signal name instead of the orignial entity signal name.
(ben is the internal signal name.  It was originally en on the and2_a entity)
Kip
STORE_VHDL_STRUCTURAL_ENTITY::::::::::::::::::::::::::::::::::::::::::::::::::::
entity and2_a is
port( a0 : in std_logic;
a1 : in std_logic;
b0 : in std_logic;
b1 : in std_logic;
ben : inout std_logic;
c0 : inout std_logic;
c1 : inout std_logic;
ce : in std_logic
);
end and2_a;
TOPLEVEL::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-- atacs -mV -mU -mP -mT -ms -mD -lv -M20 -ya -sv and2_a_top and2_a
LIBRARY ieee, work;
USE ieee.std_logic_1164.all;
ENTITY and2_a_top IS
END and2_a_top;
ARCHITECTURE behavior of and2_a_top IS
component and2_a_env
PORT(
c0 : IN std_logic;
c1 : IN std_logic;
en : IN std_logic;
a0 : INOUT std_logic;-- := '0';
a1 : INOUT std_logic;-- := '0';
b0 : INOUT std_logic;-- := '0';
b1 : INOUT std_logic;-- := '0';
ce : INOUT std_logic-- := '0'
);
END component;
component and2_a
PORT(
c0 : INOUT std_logic;-- := '0';
c1 : INOUT std_logic;-- := '0';
en : INOUT std_logic;-- := '1';
a0 : IN std_logic;
a1 : IN std_logic;
b0 : IN std_logic;
b1 : IN std_logic;
ce : IN std_logic
);
END component;
signal a0 : std_logic;
signal a1 : std_logic;
signal b0 : std_logic;
signal b1 : std_logic;
signal ben : std_logic := '1';
signal d0 : std_logic;
signal d1 : std_logic;
signal de : std_logic;
signal s0 : std_logic;
signal s1 : std_logic;
signal se : std_logic;
BEGIN
env : and2_a_env
port map (
c0 => c0,
c1 => c1,
en => ben,
a0 => a0,
a1 => a1,
b0 => b0,
b1 => b1,
ce => ce
);
the_and2 : and2_a
port map (
c0 => c0,
c1 => c1,
en => ben,
a0 => a0,
a1 => a1,
b0 => b0,
b1 => b1,
ce => ce
);
end behavior;