refactor system module data

Move all module data into Data.h and Data.cpp next to .cpp, use std::array, std::string_view, std::unordered_map for data definitions, reference Airline module data.

I'd like to take on this issue. It's my first time contributing to open source, but I'd like to give it a shot.

Ok, assigned :) consider giving a star to the project 👍

any progress yet?

I've refactored the code, but I'm running into issues trying to get the existing functions to work with the string_view data. I'm still working on it, hopefully it will be done before the end of this week.

done


install mkdocs

#84  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Broken Link to Customer Copyright Commitment

Hi there,
I just found a broken link to the Customer Copyright Commitment in the documentation in the following sentence (last sentence of the first paragraph):
Note that some models are required to be on for certain scenarios to retain coverage under the [Customer Copyright Commitment](https://www.microsoft.com/licensing/news/Microsoft-Copilot-Copyright-Commitment).
Best
Florian

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

ID: 4b3eb8a7-5dc7-d345-5209-4098891a3266
Version Independent ID: 6589fbb1-26f9-b0e2-9679-5b64627c9fb4
Content: How to use content filters (preview) with Azure OpenAI Service - Azure OpenAI
Content Source: articles/ai-services/openai/how-to/content-filters.md
Service: azure-ai-openai
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@FlorianLautenschlager thanks for reporting this. You can access the Customer Copyright Commitment directly here. I will get this link fixed in the docs today.

Update to the doc is merged internally. Change will go live by 3:30 PM (UTC-8). Thanks again for reporting this!

@mrbullwinkle
Thank you for your response.

@FlorianLautenschlager
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.
#Please-close


Add StyleCI Support

What about adding https://styleci.io/ support? Then we will get syntax checks on all commits and PRs made to this repository. It can even fix all syntax errors automagically.
This is the guide to add StyleCI support:

Sign up at https://styleci.io/
Go to the repositories page https://styleci.io/account#repos
Enable this repository.
Press Show Analysis and then Settings.
Add the following settings:

enabled:

unalign_double_arrow

disabled:

align_double_arrow
phpdoc_align

Press Save Configuration.
Press Analyze Now.

This has to be done by the owner of the repository.

Done!


How to use Mammo-CLIP model easily

Hi,
Thank you so much for your great work on this project.
I am a computer science undergraduate working on my school project.
Anyway, I want to ask how to use the trained model easily.
I want to design a program that will input a mammogram (PNG format) and then give it to the model, and then output the probability of each label (such as mass and suspicious_calcification for vindr dataset).
Let me talk about my current progress:
I downloaded the preprocessed PNG dataset (vindr), and modified the path of zs_clip.yaml and vindr_zs.yaml (I commented rsna_zs). I also downloaded the Efficient-Net B5 model, and finally ran eval_zero_shot_clip.py successfully.
But I still have questions, even though it runs smoothly.

Why is there only one line in the output results-vindr.json: {"D:\\MyDownload\\b5-model-best-epoch-7.tar": {"mass": 0.48817351418390853, "suspicious_calcification": 0.4631887699366397}}
If I want to achieve what I said before, take the image as input and output probability of various labels, how should I do it?

Because I have not officially entered this field, there may be some basic questions, please understand.
Thank you for your time to read this issue

@Iamnotphage
You get one line in the output of eval_zero_shot_clip.py because you are calculating the model's zero-shot accuracy. If you want to give a mammogram and get a logit or proba, you must use Mammo-CLIP as a classifier. Follow instructions here and linear probe/finetuning here. Basically, create a classifier and train it using linear probes or fine-tuning. Follow the hugging face paths for pretrained mammo-clip classifiers; we have uploaded classifier checkpoints. Also, preprocess the mammograms as per mammo-clip as instructed here. If you do not complete preprocessing, you will get random results.


gulp dev

It still remove server files when I type gulp dev after gulp build-server. Need to fix this :)

I've edited the gulpfile so build-server runs after clean in the dev task. You should be able to do gulp dev now.


Invalidate cached scopes in the call stack on Function.caller.

Prevent a cached scope's variables from being cleared out if the function that escapes via Function.caller can access them.

@boingoing

LGTM 👍
Is the code cleanup in parse.cpp around class constructor intentional? Also, is the test added here related to the Function.caller issue?

No, the presence of the first 2 commits is due to non-pumping of the Git pump.


compilation example cleanup

Several instances of a skip with "Snippet for explanation purposes" which would be resolved with a short :preamble

ok, one of them.

02a941279


Configure maximum files or size pending upload with async upload [Feature request]

It would be nice to have a configurable maximum number of files or amount of data (whichever would be easier) that can be pending an upload when async_upload_queue is true.
This can be nice for large batches of data to upload where you don't want it to just say "I wrote them all" even though it is actively being uploaded, which increases risk of data loss. Instead when the configured max is hit, then it will block like as is async_upload_queue is false until there is enough room in the queue.

In version 0.7.18, I've added config option async_upload_queue_max_length that specifies the maximum number of entries of the upload queue before blocking. I'm publishing it on the beta ppa. Let me know if you need it on opam. Thanks!

Once this limit is reached will the upload just stall like with DriveFS?

Once this limit is reached will the upload just stall like with DriveFS?

Once the limit is reached, new uploads will block until the queue length returns below the limit.


Track BLS Wallet usage on L2 networks

Problem
We currently have poor visibility into usage of the BLS Wallet contracts that are deployed on the Arbitrum Testnet (on ~Rinkeby~ Goerli) and other future L2 networks to determine if we are seeing usage and providing value to dApps/wallets.
Solution

Create an analytics dashboard which displays metrics around the usage of BLS Wallet form on chain data. Dune Analytics is recommended but other options can also be evaluated.
Display the following metrics across all mainnet/testnet L2s that BLS Wallet is deployed on:

Number of wallets
Number of operations submitted
Min, max, and avg operation gas cost
Gas saved from bundling transactions
Any other good metrics you can think of

Link the dashboard into the root level README to makie it easily discoverable by others.
(Optional) Find a way to embed the gas saved metric into the README.

@jacque006 @jzaki  Hey guys, great presentation on BLS Wallet. Jacob, we talked about this issue yesterday for a bit (Brian Wilkes, Data Scientist & EF PSE grantee). I am going to give it a crack, but wanted to confirm:

@jacque006  This is what we were discussing
I read a bunch of the documentation this morning, and it's really good! However, I am struggling to know where to look on chain for the contracts.  My apologies if I am missing it, but what are your deployed contract addresses?  (if I'm not missing it this would be a good addition to the docs :slightly_smiling_face:)

@outsider-analytics Yep, this is the issue. You can find current deployments at https://github.com/web3well/bls-wallet/tree/main/contracts/networks . I would only use the Goerli one . I've made a note to update our documentation to make those more discoverable in the future.

@jacque006 I have bad news. Unfortunately, dune does not provide access to testnet data.  I checked around my network and I can't find an easy solution to get access to that data.  The three solutions I can think of would be:

Goerli Arbiscan's API calls: it would be a bigger job and I can't 100% promise success with that (as I haven't used them)
Running Cloud based Archive nodes for both Goerli and the Goerli Arbitrum transactions. This would be a pretty cool project, but It would not be free or quick.
Do a more manual static analysis using Goerli Arbiscan & Etherscan without the APIs.  This would undoubtedly be the easiest, but would not continue dynamically.
Without Bigquery or Dune this would be a significant project for me, as I would need to first get the data. If it's important I'll make it happen, but unfortunately, it's not as simple as a quick SQL query.  Let me know what y'all's thoughts are and what direction makes the most sense!

Another alternative would be using the graph protocol to generate a subgraph and then consuming it's API to build dashboards ourselves.
docs - https://thegraph.com/docs/en/cookbook/quick-start/
pros:

can track on-chain data with flexibility
works with testnets

cons:

lot of manpower required to build subgraph and then dashboard from scratch
only indexes events

Oh great thought @kautukkundan, that would be a really good option!

@jacque006 @kautukkundan Dune just went live with test net data 🔥 Want me to give this project a run? Just was made a bronze winner for the merge data comp so I'm feeling dangerous 😂

Could eventually display data in a dashboard-like format. Eg...

Completed by @outsider-analytics & @Ian-Bright . Thanks!
Dashboard: https://wax-v1-analytics.vercel.app/
Frontend: https://github.com/Ian-Bright/bls-frontend (mirror)
Server: https://github.com/Ian-Bright/bls-server (mirror)
Pending post: https://hackmd.io/EV2_-A67Qa2j5Ol0NUmdBw?view
Contract notes: https://docs.google.com/document/d/1HiURWgM15l6NBTwcWKnt5tPTY0gZB56PT7XdcNwZQYM


creating new branch with uncommitted changes in vscode.dev

I found it strange that when I create a new branch with uncommitted changes (getting ready to create a PR) I get asked if i want to switch to this branch. I found this a little unnecessary as we already do this in desktop and felt like it got in the way.

Steps:

create uncommitted changes
create new branch
:bug: dialog asks if you want to switch to branch

Expected branch to automatically switch with uncommitted changes
Version: 1.70.0-insider
Commit: 3da2d669a4dcf93938a262ba92f50b128ca7262a
Date: 2022-07-20T05:29:19.430Z
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36

Switching to the new branch requires a window reload since in RemoteHub when we change the branch we are also changing the workspace URI, so it might be disconcerting if we did the reload without prompting. Would it be useful to introduce a setting controlling whether we prompt when switching branches?

@misolori just to confirm, would you still want a setting to switch branches after creating them if it causes the tab to reload? We can't avoid the reload without extensive changes in core: https://github.com/microsoft/vscode-remote-repositories-github/issues/228

I don't mind the reload, just would rather avoid the dialog as that's what I imagine users would typically do right after creating a branch and closely matches desktop.
Would this be a setting or the default experience?


Can not update Permissions through ledger.

In order to sign this transaction, a setting needs to be enabled on the Ledger device.
To enable this setting:

Open the EOS app on your Ledger device.
Cycle through the menu and find the "Settings" option.
Press both buttons to enter the settings list.
In settings, cycle through the items and find the "Contract Data" option.
Press both buttons to change the option until it says "Allowed" at the bottom.
Cycle again through the settings to find the "Back" button, then click both buttons to return to the main interface.
With this new setting enabled, try your transaction again.```

I have allowed "Contract Data" option.


⚠ Msite has degraded performance

In 0a0826c, Msite ($MSITE_URL) experienced degraded performance:

HTTP code: 200
Response time: 6448 ms

Resolved: Msite performance has improved in 62f3862.


Field 'ds' not found

Hi Nabeel,
Thank you for making the PY tools available to the community. I tried performing forecasting on my own data and was prompted with "Field 'ds' not found.". I am using the latest SSE v4.4, as per the community info

.
I tried to run the load script for the sample app (Hospital attendance data) and it worked fine.
Thanks,
Olive

Hi Olive,
You seem to have the variable name wrong in the response table. That's probably not the reason for the error though.
Can you replace the load script for the response with the code below and see what fields are returned?
Response:
    LOAD
    	*,
    	'$(vCategory)' as Hospital
    Extension PyTools.Prophet(temp{ds, y, args});

Also, add , debug=true to the args string and see if that gives a clue to the problem.

Hi Nabeel, I changed my script accordingly and still getting the same error. for the debug portion, not sure if I have placed it correctly.

Hi Olive,
I'd comment out the Response table load and the Drop table temp; command to check that the load can complete without the SSE call. If it does run successfully, check that the temp table really does have values for each category. For e.g. if there are no PO's for a category the call to Prophet would happen with an empty table.
You've put the debug argument correctly. If you find that this is not a data issue please post the log from the SSE here as well as the message from the Qlik load editor.

Closing this as the issue has been inactive for 2 months

Hi Olive and Nabeel.
I also faced this problem and i could solve it (I guess that is the same issue thats Olive refers).
In my case, the issue lays on the data, not on variables.
Even when Qlik response was "Field 'ds' not found", SSE output was "Forecast cannot be generated as the request contains less than two non-Null rows", so the response table never get values on 'ds' field.
I believe that you re using an old file of  "VIC-Emergency-Department-Attendances.xlsx" and you arent loading null values for columns to forecast.
The .py module for prophet forced you to use some null in your data

In my case, I added more columns with values N/A", and the response was correct.
I hope this helps.

Hello @felohub ,
Hope you are doing well.
How did you add more columns with N/A values?
Doesn't the prophet function only take 2 columns? date & y
I have added extra months to the date field and passed it to Qlik along with NULL values for the y column, yet, I get the same message: "Forecast cannot be generated as the request contains less than two non-Null rows"
I know this is more than two years late but hopefully you could help.
Thank you


feat!: upgrade to Angular v18

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/develop/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: #3049
What is the new behavior?
Does this PR introduce a breaking change?
[x] Yes
[ ] No

Angular has been upgraded to v18. Angular v17 and below are not supported
Other information

blocked by #3051


Suggest stackoverflow sources when they are not found

This PR add a small change that allow to match the correct name when the provided name is not found:
Downloading and processing stackexchange dumps for ['portuguese.meta']
StackExchange source not found. Perhaps you meant ['portuguese.meta.stackexchange']

I've also added an additional command --list that shows the list of all the possible sources.

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

Closing this, opening #4  that pulls directly from a branch in my repo.


Terminal emulator gives blank screen when executing HTOP or SCREEN

Version
Microsoft 10 Enterprise LTSC 1809 [Version 10.0.17763.2268]
WSL Version

[ ] WSL 2
[X] WSL 1

Kernel Version
Linux 4.4.0-17763-Microsoft x86_64
Distro Version
Ubuntu 18.04 LTS
Other Software
openssh.exe
cmd.exe
ssh
htop
screen
ncurses
Repro Steps

Open an WSL instance, which drops you to a functioning command prompt. Execute HTOP, screen goes blank. Press Q to exit HTOP, and you will see a portion of HTOP at the top of your screen, confirming it was running.

ssh into a remote linux instance from the WSL environment. Execute SCREEN or HTOP, you will receive a blank screen, but keyboard input is still active.

open CMD, run openssh.exe to ssh into a linux machine. Execute Screen or HTOP, you will receive a blank screen, but keyboard input is still active.

While attempting to attach strace logs, I ran man strace and found that even man is broken, giving a blank screen. type man strace and you will have a blank screen, exit with q and you will have some scrollbck of the man page.

Because this behavior is shared between WSL and CMD.exe in terminal mode, I believe that the problem may lie in the underlying windows terminal emulation.
KB5006744 appears to be the breaking update. If I uninstall this update the problem goes away, if I re-install it the problem comes back.
I suspect the problem is that when the remote system or PTY grabs control of the terminal, such as by issuing a window resize, ASCII control code, or the like the window terminal emulator is misinterpreting it and painting a black screen.
I have troubleshooted by removing .bashrc and .profile custom PS1 prompt configurations that might be transmitting ANSI color codes. I have switched users to a bare root /bin/sh shell. I have tested on different local and remote linux installations.
The terminal in vs-code is not affected by this issue, and third-party terminal emulator ConEmu is also not affected by this flaw.
I may have traced things to default pager less. Or, less has the same problems experienced by htop and screen. Overriding the default pager via man -P more allows man to execute. So less is affected but more is not. top is unaffected but htop is.
I have attached strace but nothing jumps out at me as the culprit.
wsl.exe --status produces no output, however the binary has a modified date of 2020-03-10. I believe I have an older version of WSL1, perhaps installed via github? I mention this extensively because my version of windows is not supported by Windows Terminal.
Expected Behavior
The terminal application should not go to a blank screen when executing programs such as HTOP (Ncurses) or SCREEN (spawns a PTY).
Actual Behavior
When executing commands such as HTOP or Screen, the terminal emulator paints a black screen.
Diagnostic Logs
No response

Same issues with vim and mc on Windows Server 2019 Standard 1809 (build 17763.2300) after KB5007206 update.

This is happening to me when i try to run nano, vim or a Text-based User Interface (TUI) update screen on my debian machine through SSH on the Windows CMD or PowerShell (not WSL, just CMD & PowerShell).
Where normally i would see the Nano TUI or the VIM TUI i am seeing a blank screen with a cursor in the top corner that can recieve input, but does not show any change. There is nothing upon the screen until i CTRL+Z or CTRL+C my way out of the "open" application. Then i see that it was apparently open and some traces of the TUI are on the top of the screen.
This is on Windows 10 LTSC, Version 1809, Build 17763.2300.

I'm experiencing the exact same behavior as Atlas667. I am too using Windows 10 LTSC 1809, and this happened after a windows update reboot. The last two updates that applied were KB5007206 and KB5007298.
I also cannot use vim or htop when connected to a remote server through SSH. Though I'm invoking vim on the remote server, the terminal running on WSL still draws a blank screen.

+1
the writeup by ligouras matches my diagnosis exactly

+1
I am using Windows 10 LTSC 1809, WSL1 + Ubuntu 18.04 LTS.
I removed the updates KB5007206 and then KB5006744, the problem is resolved.

+1
Windows server 2019 version 1809, WSL1 + Debian 10

Looks like some form of termcap issue to me, but I do not enough (yet) to diagnose this one. This does happen on vim and also emacs  I am able to do this on WSL2 on Windows 11.

Same on Windows 10 LTSC 1809, WSL1, Debian 9.
Like imanabu I was also able to trace the issue down to termcap, but don't know enough to go further.
Before finding this issue, I worked around the problem by setting TERM to one of the other available terminals from ls /lib/terminfo/*. TERM=vt220 works for me. Not an alt terminal though, but still better than blank.

Hi, I got the same issue last week on Windows 10 enterprise LTSC 1809 17763.2183, WSL 1 and ubuntu 18.04 LTS.
As suggested above, I removed KB5007206 (I had no KB5006744), and after reboot nano/vim started working as before

Same on Windows 10 LTSC 1809, WSL1, Debian 9. Like imanabu I was also able to trace the issue down to termcap, but don't know enough to go further. Before finding this issue, I worked around the problem by setting TERM to one of the other available terminals from ls /lib/terminfo/*. TERM=vt220 works for me. Not an alt terminal though, but still better than blank.

Thank you!
export TERM=xterm-color works for me!

I'm observing this issue on Server 2019 (multiple machines) running Ubuntu 18.04 under WSL1.  In addition to the blank screen issue, as another person mentioned, if I had tried editing a file I would see portions of the file contents displayed in the console after exiting the app.
Exporting a different TERM does work to resolve the issue of a blank screen in vi, nano, etc., but I do still see some artifacts.  For instance, after exiting nano, the console screen would be empty (i.e. none of my history showing) except the prompt at the bottom.  So the issue seems to be affecting the buffer as well.

+1 cannot use nano, vim or htop (on WindowsServer 2019)
Terminal appears to be fine first, but starting nano or vim results in a blanc black screen.
Need to then hit CTRL+X or CTRL+C to get my prompt back, this also displays some zombie-nano content: the content of the file I was trying to open in nano + a grey "GNU nano 4.8" header - but at the bottom I am back at the command prompt (smiliar with htop).
reboot does not resolve the issue

Same issue here,  just recently lost htop, vim, and nano in WSL. Recently installed KB5006368.
export TERM=xterm-color worked for me.
Server 2019 - 1809, Ubuntu 20.04

FYI, export TERM=xterm-color seems to be working also for me. It'd be good to know why KB5x update broke it.

FYI, export TERM=xterm-color seems to be working also for me. It'd be good to know why KB5x update broke it.

FWIW, this also fixes clear where otherwise you'd have to do clear -x.

export TERM=xterm-color is not a complete fix. That replaces the blank screen issue with improper display of color codes. such as with the ncurses interface of the package nmon and some functionality with arrow keys displaying control characters instead of being interpreted.
Microsoft, you have broken my ability to use terminal for weeks. Behind an opaque update process where I can't even identify the breaking patch.
Do you understand what a cardinal sin it is to break the terminal, for someone that wants to productively use their system?!

I am having the same problem since KB5007206 which I am unable to roll back. I noticed that the terminal in vscode works as expected when running in WSL mode. So that is an alternative workaround.

I had the same issue, and as already pointed out by @AriESQ xterm-color causes problems with arrow keys.
For me it was issues when using a previous command and changing it. The terminal replaced the input with the pre-existing output rather than inserting it.
When executing the command however, the input seemed to have been inserted properly, so it was just a display issue.
Setting export TERM=Eterm-color (Thanks @Primozz for showing the other available terminals) actually helped me with this issue as well, so I'm issue free now, as far as I can tell.

Hi folks, we're taking a look into this issue. I'll post updates here as soon as they're available.

Thank you @craigloewen-msft There is a lot of information in my initial post. I'd like to point out that this is reproducible in the WSL default shell. As well as when using a CMD window and SSH.exe into a remote host. To me that says there is a shared operating-system level component involved.
Also, from all the people in this thread, we have a pretty good idea which KB updates were involved. I was personally able to narrow it down by uninstalling/re-installing. However, as other's have mentioned the KB update is no longer available to be uninstalled. I think this has something to do with how MS rolls out "preview" updates, but it's complicated and I don't personally understand it. I would have otherwise worked to diff my system before/after the update to narrow down what changes were made.
TY

Hello, @craigloewen-msft
I can confirm this problem. We are a small business with 10 computers running LTSC 2019. We received a report on this problem after the November update. an employee reported that files cannot be edited after logging into our Linux server using the SSH client in CMD, and both vim and nano commands will return a blank screen. Our IT contacted Microsoft Enterprise Support and they did not provide any useful solutions. we are currently using third-party software (PuTTY) to replace the affected system components.
At present, our system has been updated to the December update (KB5008218), and it can be confirmed that the current problem still exists.
Please solve this problem as soon as possible, because it has caused many problems for us, thank you.

@JackMerlin Thank you for providing additional detail, it is noteworthy that you are experiencing this in CMD.exe and SSH.exe; as I have. Maybe people are experiencing this with the WSL terminal, so it seems reasonable that Microsoft updated a component that is shared between those terminals.
My sense is tha vim and nano seize control of the terminal window. And perhaps operate differently than an ncurses program that draws special characters to the screen. Would you be able to confirm you are experiencing the problem with an ncurses program such as htop?
I think we have tee'ed this up with plenty of info for Microsoft to resolve, many thanks to everyone supplying info.

@JackMerlin Thank you for providing additional detail, it is noteworthy that you are experiencing this in CMD.exe and SSH.exe; as I have. Maybe people are experiencing this with the WSL terminal, so it seems reasonable that Microsoft updated a component that is shared between those terminals.

Yes, we did not use WSL, we did not even use Powershell, just cmd.exe and the built-in openssh client (OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5). We have already ruled out the cause of the problem caused by our servers in contact with Microsoft technical experts. We can reproduce the problem after installing LTSC 2019 on a virtual machine and updating to the latest cumulative update. So we insist that it is the Windows update that caused the problem.
This is a screenshot of the blank screen returned by vim and nano, hope it helps.

My sense is tha vim and nano seize control of the terminal window. And perhaps operate differently than an ncurses program that draws special characters to the screen. Would you be able to confirm you are experiencing the problem with an ncurses program such as htop?

Sorry, our system uses top instead of htop. In my case, top can work normally.

I think we have tee'ed this up with plenty of info for Microsoft to resolve, many thanks to everyone supplying info.

Thank you, I think this issues is more useful than some technical experts, because they did a lot of diagnosis, but did not provide any useful solutions.
I am here to reply to the hope that Microsoft will pay attention to this issue and hope that it can be fixed in the next update.
Thank you.

I think I have this issue, every TUI program stopped working on one server I administer, like 2 months ago, but I have the same issue using putty too. Also I can't connect with winscp to that server. ctrl+c and ctrl+z doesn't do anything,

Forgot to mention, that other people use that server too, but they don't have issues. So this is why I suspect, that it was a windows update that broke something on my machine.

+1
Windows Server 2019 Standard - 10.0.17763 Build 17763

Fresh WSL Install

Here is some documentation on Windows Console: https://docs.microsoft.com/en-us/windows/console/
I'm realizing that looking at process trees, conhost.exe is the common link between this issue presenting under cmd.exe and wsl.exe.
@craigloewen-msft any movement on this? We have identified in-thread the updates that introduced breaking changes. I wish I could give a diff of what files changed, but I don't understand how "preview" updates work, and KB5006744 is no longer available for me to uninstall from my system.
My terminal, a fundamental, basic thing to how I work, has been broken for months now. This is leaving a really bad taste in my mouth about using WSL going forward.

Yes we have movement on this!
We've debugged this internally and have identified a fix. Currently we're working on servicing this fix and I'll be sure to post updates to this thread when they're available.
@AriESQ Does the work around of using export TERM=linux help you at all to unblock you?

@craigloewen-msft
TERM not working:
xterm-256color (ubuntu default)
linux
vt100
TERM sort of working:
xterm-color
eterm-color (best)
vt220 (black and white, to be expected)
TERM: Linux and vt100, introduce a character display issue, but fix the screen blackout issue.

Thank you for your responses. I respect that getting such a patch out to MS software globally is a huge undertaking.

Same here on Windows Core, which I don't even know how to update or manage 😟

@craigloewen-msft  We need some updates and progress, is there a release schedule out there, will we see a fix in the February cumulative update?

We've found the cause of this bug, identified a fix, and are working on servicing that fix out to Windows! I will be sure to post updates to this thread when they're available.

Hey guys, I wrote here earlier, I had a problem with a server a while ago, last week some of the client win10 machines started to have problems too. The TUI app stopped loading.
Had another symptom, winscp couldn't connect. With this I managed to figure out it was a problem with the MTU size, the ISP changed something on their end(couldn't ping the server ip), that broke the mtu size setting.
Fixed it with reducing the mtu size of the ethernet interface on the server.

this issue is fixed after I upgraded to use wsl2.
https://pureinfotech.com/install-windows-subsystem-linux-2-windows-10/

I have this issue with neither of the hot fixes mentioned above installed. Server 2019 Datacentre / 1809 / 17763.2565
Looking forward to the fix!

@AriESQ , thank you for your overview of how well different $TERM values work for you. What did eterm-color  do better than xterm-color for you?  I ask because I had the opposite experience, described below.
For me, xterm-color worked better:

(WSL sends as Right-arrow as <Esc>[D)
When TERM=eterm-color was in the environment, some programs failed to interpret arrow keys.

in htop the Function and arrow keys did not work;
in lazydocker, if I hit the right-arrow key it was treated as 'Escape' and the program quit.
in the Fish shell and in IPython, on the other hand, the arrow keys worked fine.

With TERM=xterm-color all programs correctly interpreted the arrow key.

TERM sort of working:
xterm-color
eterm-color (best)

@sietse Are you having the blank screen issue that is the topic of this ticket? xterm-color which is the default does not seem to be working for people and eterm-color is a workaround.

@AriESQ apologies, I don't have the blank screen issue. Your overview comment was helpful to me, and I wanted to offer further information as thanks; but I was so intent on replying to your comment that I forgot to consider this is an issue thread. I'm sorry for the noise.

It really is.

Count me in as another person having this issue :(

Hi all, we have released a fix for this as part of
KB5011551. Right now this is available for seekers, but next month it will be part of the patch Tuesday patch.
Thank you for filing this! I'll close this issue once it's pushed as part of a regular update.

I don't see the fix listed in the release notes, so it looks like we may never know the root cause or the solution. Very disappointing compared to open source tools where there is transparency.
I haven't tested this yet, but looking at the changed files, my guess is that the fix is contained in :
Windows 10 version 1809 LCU x64-based
File name	File version	Date	Time	File size
conhost.exe	10.0.17763.2746	7-Mar-22	23:39	826,880

@craigloewen-msft , good on you! I look forward to trying it out, the patch will probably reach me next month, if I remember I'll post a little update here.
Out of curiosity, what sort of problem caused this behaviour? Was it indeed some terminal control sequences getting misinterpreted by the WSL console / terminal emulator?
Cheers!

Via the Microsoft Terminal  project; it looks like MS recently open-sourced the traditional ConHost terminal. 😲https://github.com/microsoft/terminal/tree/main/src/host
I did a quick look there (time bound by the appearance and patch of the bug.) And I didn't see anything obvious, in my casual search.

@craigloewen-msft thank you, I can confirm that this does fix the issue and we will be deploying to all affected PCs within the next month.
Thanks also to this issue and to everyone who reported the issue to Microsoft, your efforts made this fix available.

@AriESQ @sietse Have a look at this: https://github.com/microsoft/terminal/issues/12329
My hunch is that it's the alternate screen buffer sequence not being handled properly: the console view changes correctly, but not the write destination, but I'm 100% sure it's a conhost issue. I didn't check that classic API screen buffers still worked, but if they didn't it would probably break a lot of native windows tools as well.

@Gyross Thank you, I always suspected this was an issue in microsoft/terminal But because their minimum requirement is Windows 10 version 18362.0 or higher, I expected a ticket there for my problem would be closed immediately. I suspected MS Terminal, because who else would be modifying this ancient feature of Windows?

I have installed Cumulative Update Preview for Windows 10 Version 1809 for x64-based Systems (KB5011551) on the system listed in this original ticket. The screen blanking issue appears to be solved. This is with the default $TERM = xterm-256color. I have tested the WSL console, as well as CMD.exe and openssh.exe.
However, @craigloewen-msft this issue may not be fixed in it's entirely. I run a 2560x1440 monitor. And I use the "window snapping" feature (i.e. pressing Win+arrow key, or dragging window to the edge of monitor.) I can use the WSL terminal window in two configurations, "half-screen snapped" and "full-screen maximized".
Executing a full-screen (ncurses?) command in half-screen mode, and then moving to maximized, the bottom line of text stops displaying (possibly only when the Properties > Layout >Wrap text output on resize checkbox is un-checked. Unchecked appears to be a non-default option.)
This behavior is inconsistent between when $TERM is set to xterm-256color, eterm-256-color, and eterm. Eterm which was the previous temporary fix does not appear to be affected by this issue of the bottom line not being displayed
This solution is working for my purposes, I suppose. I don't have the time to do any more free troubleshooting for Microsoft. I am unsure at the correctness of the solution. I just think of all the effort that people have taken to ensure the integrity of POSIX terminals and I am disappointed. Microsoft in their own codebases are known for rigorous backwards compatability.
Anyways Craig, thank you for (mostly) running this to ground and being responsive to the bug. Whether you want to close this bug is outside of my discretion. Cheers. 👍

@AriESQ thanks for giving the write up here that this issue might not be totally fixed. I'll follow up with the Windows console team to see if the behaviour you mentioned is a bug. I'll keep this issue open for now!

@craigloewen-msft I don't expect ya'll to try to replicate my exact bug report. My thinking was that you could run this behavior by the patch author, and see if it rings a bell like "oh yeah, I could see an off-by-one error during window resizing."
Am I being overly pedantic with this bug fix? Maybe. Is there some industrial control system somewhere integrating Macro Recorder to programmatically interact with a WSL shell window... Possibly? That's the only reason I am raising the potential incorrectness of the provided solution.
I'm about ready for this ticket to be closed. I would have put more effort into reviewing this solution, but the opaque Microsoft update process has turned me off. If I had the original breaking patch, and the updated patch; I could know what to test. This is sort of frustrating, because it seems that this info exists in MS-Terminal and the newly open-sourced ConHost repo. 🤷♂

Since the original issue (The screen going blank when executing HTOP or SCREEN) is fixed, I'll be closing out this issue. @AriESQ for the extra issues you mentioned I'd recommend reaching out to the Terminal team by filing an issue at https://github.com/microsoft/terminal (As you've already identified). Thank you all!

Is anyone experiencing an issue where the mouse does not interact with the WSL terminal screen? I can not select text. Also when I paste into the terminal with shift-ins I do not get content I get control characters: 2~
Powershell and CMD.exe work with mouse selection as normal.
If no-one else is experiencing this, I just don't have the energy to track down Microsoft's broken stuff anymore and I won't be following up.
@craigloewen-msft Were there any changes recently that might have touched this functionality?
I think my most recent updates are
KB5013868
KB501394
Same config as in original post.

Thank you @foobird13 If I don't see acknowledgement of this issue, I'll assume it is something unique to my setup that is broken. (Always a possibility).

ctrl+v and shift+ins don't work in WSL terminal, but ctrl+shift+v does if enabled in settings.
Mouse selection, right-click copy/paste and ctrl-c/ctrl-ins work as usual.
KB5013868/KB5013941 didn't change these things on Server 2019.

Since the original issue (The screen going blank when executing HTOP or SCREEN) is fixed, I'll be closing out this issue. @AriESQ for the extra issues you mentioned I'd recommend reaching out to the Terminal team by filing an issue at https://github.com/microsoft/terminal (As you've already identified). Thank you all!

What?? You're closing this when it's still an issue for running openssh within powershell and possibly many other combinations?


Update requirements.txt

Nice one @adityam789 - did you run through the notebooks in the repo successfully without having to modify anything?

Thank you very much @adityam789 - thsi is now in master via #13


Feature Request: Child Lock

Hello @SeydX,
would it be possible that you include the new function in the next revision?
https://support.tado.com/en/articles/4849684-what-is-child-lock

Added to list #48

Added in v6


Add a "timethis" function to Calc

Syntax: 'timethis' stmtBlock which returns the result of the block

Added an optional description:
'timethis' ( expr ',' ) ? stmtBlock

> timethis 'atan', { atan(pi/4) }
atan (pi / 4) -> 0.6657737500283538
Elapsed time of "atan" was 0.003862 secs.


adding endpoints

Writer's Quality Checklist
Before merging your PR, did you:

[ ] Run spell checker
[ ] Run link checker to check for broken xrefs
[ ] Check for orphan files
[ ] Perform a local build and do a final visual check of your content, including checking for:

Broken images
Dead links
Correct rendering of partials if they are used in your content
Formatting issues, such as:

Misnumbered ordered lists (steps) or incorrectly nested unordered lists
Messed up tables
Proper indentation
Correct header levels

[ ] Receive final review and signoff from:

Technical SME
Product Manager
Editor or peer reviewer
Reporter, if this content is in response to a reported issue (internal or external feedback)

[ ] If applicable, verify that the software actually got released

Hi @IsaacEldridge , as this is for W-11026322 let's also add a clarification on the following section https://docs.mulesoft.com/runtime-fabric/1.12/manage-proxy#configure-an-http-proxy clarifying that:

HTTP/HTTPS proxy is used for communication with the management plane except for monitoring
Anypoint Monitoring uses its own proxy setting (And a link to this section)
Mule applications use their own proxy settings

I can see we have 4 different proxies documented on the same page:

Cluster level management plane proxy https://docs.mulesoft.com/runtime-fabric/1.12/manage-proxy#apply-proxy-values-to-runtime-fabric
Cluster level Anypoint Monitoring proxy https://docs.mulesoft.com/runtime-fabric/1.12/manage-proxy#configure-a-monitoring-proxy
Application level proxy https://docs.mulesoft.com/runtime-fabric/1.12/manage-proxy#configure-a-proxy-for-an-application
Application level API Manager proxy https://docs.mulesoft.com/runtime-fabric/1.12/manage-proxy#configure-a-proxy-for-the-api-manager-agent
Shall we start with a table at the top summarizing that there is four of them and what is each one for?

@rtom-mulesoft , you spent an hour with the customer because of this lack of clarity, what do you think?


task moveEnd and task click events get triggered at the same time

Hello everyone,
I have the following issue. I am watching for these two events:
// moveEnd event
 api.tasks.on.moveEnd($scope, function (task) {
       // do something
 });

// task click event
   api.directives.on.new($scope, (dName, dScope, dElement, dAttrs, dController) => {
        if (dName === 'ganttTask') {
              dElement.bind('click', (event) => {
                    // do something
              });
          }
   });

They both get triggered at the same time, is there any way to prevent the click event getting fired when task is moved?

I don't think it's doable, because the movable plugin relies on task click event.
Did you find any workaround ?

Hello All,
A workaround is to set 2 variables that will be used as lockers, initialized like this:
var can_show_edit = false;
var task_moved = false;

Then for events:
api.tasks.on.moveEnd($scope, addEventName('tasks.on.moveEnd', function (eventName, task) {
	can_show_edit = false;
	task_moved = true;
	$http.post('./project/_project_task_move.php', task.model).success(function(json){
		can_show_edit = true;
                // Do something in case of move End
	});
}));

api.tasks.on.resizeEnd($scope, addEventName('tasks.on.resizeEnd', function (eventName, task) {
	can_show_edit = false;
	task_moved = true;
	$http.post('./project/_project_task_move.php', task.model).success(function(json){
		can_show_edit = true;
		// Do something in case of resize End
	});
} ));

api.directives.on.new($scope, function(dName, dScope, dElement, dAttrs, dController) {
  if (dName === 'ganttTask') {
    dElement.bind('click', function(event) {
		if (can_show_edit === true || (task_moved === false && can_show_edit === false)) {
			// Do something in case of single click
		}
    });
  }
});


moved public inner classes and interfaces in OrientDB Test Commons to ap...

moved public inner classes and interfaces in OrientDB Test Commons to appropriate places

nothing wrong here, merging :)


No help for "send valentine with 3 arrows"

Describe the bug
No help for "send valentine with 3 arrows"
Steps to reproduce the behavior
1.Navigate to https://arcade.makecode.com/beta#
2.Tutorials----->Flee My Valentine----->Blocks Start Tutorial
3.Right-click on the block send valentine with 3 arrows
Actual behavior
No help for "send valentine with 3 arrows"

Additional context
1.OS: Windows(rs6)
2.arcade version: 1.9.1
3.Microsoft MakeCode version: 7.4.21

All blocks under "Valentine" have the same issue

Added help files.  @riknoll is helping me get the extension uploaded properly and when that happens, everything should be available.


Mllama

What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

Closing in favor of https://github.com/huggingface/text-generation-inference/pull/2585


Avoid crashing if Bluez is not ready to scan

Problem
Crash when scanning devices via Bluez when Bluez is not ready (e.g. rfkill).
2022-05-12 18:28:59 allenwind chip.BLE[404699] ERROR Failed to set discovery filters: GDBus.Error:org.bluez.Error.NotReady: Resource Not Ready
(process:404699): GLib-GIO-CRITICAL **: 18:28:59.720: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
2022-05-12 18:28:59 allenwind chip.BLE[404699] ERROR Failed to start discovery: (null)
Thread 5 "python3" received signal SIGSEGV, Segmentation fault.

Change overview
Make sure to properly clear the error variable in error cases.
Also propagate errors when scanning fails (e.g. when Bluez is
not ready due to rfkill).
Testing
How was this tested? (at least one bullet point required)

If unit tests were added, how do they cover this issue?
If unit tests existed, how were they fixed/modified to prevent this in future?
If new unit tests are not added, why not?
If integration tests were added, how do they verify this change?
If new integration tests are not added, why not?
If manually tested, what platforms controller and device platforms were manually tested, and how? Linux Desktop Host, manually pairing a BLE device.
If no testing is required, why not?

@agners please update the summary and complete the testing section. Currently it just contains the example blurb.

@agners please update the summary and complete the testing section.

What kind of/additional summary do you expect?

Currently it just contains the example blurb.

Not, exactly, I did answer the bullet point "If manually tested". In other projects, it is discouraged to delete the template. I assume that is not the case here then? I'll delete and write the Testing section from scratch.


.dropdown-toggle::after causes offset alignment in a container when used with .pull-*-right

As of alpha2, .dropdown-toggle::after contains margin-right: .25rem, which causes offset alignment if the dropdown is the last element of a container where .pull-*right is used on the dropdown.
Example within a navbar:
~~https://jsfiddle.net/6twft72d/~~
https://jsfiddle.net/6twft72d/12/
This is admittedly a bit nitpicky, but it looks the slightest bit off when compared to how it used to look in alpha 1.

Hi @kybishop!
You appear to have posted a live example (https://fiddle.jshell.net/6twft72d/show/light/), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:

line 67, column 9 thru column 56: Attribute disabled not allowed on element a at this point.
line 66, column 7 thru column 79: The aria-labelledby attribute must point to an element in the same document.

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

@kybishop Add the JavaScript to your example please. (And fix the above errors too.)

Javascript added and errors fixed https://jsfiddle.net/6twft72d/4/

Hi @kybishop!
You appear to have posted a live example (https://fiddle.jshell.net/6twft72d/4/show/light/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

W005: Unable to locate jQuery, which is required for Bootstrap's JavaScript plugins to work
line 62, column 3: W012: .navbar's first child element should always be either .container or .container-fluid

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

For real this time ;) https://jsfiddle.net/6twft72d/5/

Hi @kybishop!
You appear to have posted a live example (https://fiddle.jshell.net/6twft72d/5/show/light/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 66, column 3: W012: .navbar's first child element should always be either .container or .container-fluid

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

W012 doesn't apply to v4, so we can ignore that one.

jQuery needs to come before bootstrap.js. Read the JS console error message.

That's what I get for trying to submit an issue on mobile. Fixed now https://jsfiddle.net/6twft72d/12/

Hi @kybishop!
You appear to have posted a live example (https://fiddle.jshell.net/6twft72d/12/show/light/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 70, column 3: W012: .navbar's first child element should always be either .container or .container-fluid

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

This is because of #17137. I need to undo that.

Fix coming in #18807.


Provide interactive tutorial page

[x] Mock: https://www.figma.com/file/lqquRj11mnGs4Sf2CsoTko/interactive-tutorial-wireframes?type=design&node-id=0%3A1&mode=design&t=jDpsF0OqUQztAHDo-1
[ ] Development
[ ] Design CSS polish

@fabriguespe created this AMAZING REPL notebook: https://github.com/fabriguespe/xmtp-nodebook
Here's a video of me running through it:
https://github.com/xmtp/xmtp-dot-org/assets/5481259/265928f0-5661-48d5-b299-1201592a0b60
It works very much like what I've thought of as the type of interactive tutorial we've talked about putting on .org.

Provide a view, such as a tab, that provides example code for making a request, such as send message.

Provide a way for the user to run the code.

Provide a view that displays the response to the example code run - in real-time.

For Q3, perhaps we start by just putting this single interactive tutorial on the site - but as we are doing it - perhaps we can consider how we might build a framework for providing this kind of interactive request/response view for any eligible example code on the site.
Perhaps we can effectively embed the REPL on a doc page? https://docs.replit.com/hosting/embedding-repls
If the eng lift to accomplish this work is too heavy, we can always just link to Fabri's repo and folx can run it from there. But thought it might be fun to try to embed it directly on .org.
Maybe ... on the home page?!

Delivered by Daria in https://github.com/xmtp/xmtp-dot-org/pull/546


Add dry GAFF and SMIRNOFF results

Added CSV files for the reference dry GAFF and SMIRNOFF conditions, updated the usermap and regenerated analysis files.

Can you add more information to the submission files about our prediction method? Right now dry octanol calculations don't have any detail.
Things to add:

Which version of YANK was used?  (For Software: line )

Can you make the method name consistent with our other calculations (For Name: line)?

YANK-GAFF-TIP3P-dry-oct instead of YANK-SAMPL_mols_GAFF_tip3p_dry_octanol
YANK-SMIRNOFF-TIP3P-dry-oct instead of YANK-SAMPL_mols_SMIRNOFF_tip3p_dry_octanol

Can you add more information to the submission files about our prediction method? Right now dry octanol calculations don't have any detail.
Things to add:

Which version of YANK was used?  (For Software: line, for all submissions. )
https://github.com/MobleyLab/SAMPL6/blob/add_dry_results/physical_properties/logP/predictions/submission_files/REF07-1559-logP-GAFF_tip3p_dryoct-7.csv#L18
How were the solvated systems created?
How were the systems equilibrated?
Which force fields and water models were used? I know these are in the name already, but it should be explained in the Method section too.
Parameters of YANK simulations? Simulation length, alchemical path, replica exchange, ...
Were there replicate runs? How did we calculate the logP SEM.
The reference that expains where does 1.6 model uncertainty prediction comes from.

Can you make the method name consistent with our other calculations (For Name: line)?

YANK-GAFF-TIP3P-dry-oct instead of YANK-SAMPL_mols_GAFF_tip3p_dry_octanol
https://github.com/MobleyLab/SAMPL6/blob/add_dry_results/physical_properties/logP/predictions/submission_files/REF07-1559-logP-GAFF_tip3p_dryoct-7.csv#L15
YANK-SMIRNOFF-TIP3P-dry-oct instead of YANK-SAMPL_mols_SMIRNOFF_tip3p_dry_octanol
https://github.com/MobleyLab/SAMPL6/blob/add_dry_results/physical_properties/logP/predictions/submission_files/REF08-1559-logP-SMIRNOFF_tip3p_dryoct-8.csv#L15

I noticed some REF0X submission have some details of the method but some have different portions of information. It would be better to make all those descriptions complete and stand-alone.

Ok, I'll add some details and include the dry tags in the analysis script. Thank you!

Thank you. I think that is all. The rest of the analysis seems to be working.
I care about consistent and short method names because it makes it much easier to extract them exactly as they are from submission files for figures and tables.

Ok, changes made.


Closing ion-autocomplete-container using android hardware back button not firing callback passed to "cancel-button-clicked-method" attribute?

Hi,
Thanks for the great work on this directive. I was wondering if it's the default behavior for the "cancel-button-clicked-method" callback to not fire when the autocomplete container is closed using a hardware back button on android? If it is, may I know how I can trigger a callback function when the autocomplete container is closed without tapping the done/cancel button but by the hardware back button. I have tried overriding the back button but my custom backbutton handler also doesn't fire when the autocomplete container is open. Thanks
I am developing on ionic version 2.0.0 and ion-autocomplete version 0.3.2.
Regards

Hi @sunny061
well Ionic version 2.0.0 is not supported by now. I first need to fix some issues with Ionic 1.3.x before we can move to 2.0.0.
I never tested it and I think the back button does not call the callback as when you would press the done button. What use case do you have when the user clicks the back button to close the popup?
Thanks and regards,
Guy

Hi @guylabs
Sorry. The project that I am working on is actually using Ionic 1.3.1. Ionic 2.0.0 is the CLI version installed on my pc so thats my bad.
And regarding my use case, the way I use the directive is that when a user taps the search input it opens it in full screen. And the user naturally uses the hardware back button on android to go back to the previous screen. I tried to override the back button event in cordova/ionic to fire the same logic I have in the cancel-button-clicked-method, but it didn't fire. I will do some more trial and error though. It's possible that I might have missed something.

Hi @sunny061
and could you get it to work? If yes please elaborate more on how you fixed it as then I could add it to the project or at least to the documentation.
Thanks and regards
Guy

Hi @guylabs, I did manage to get it working by successfully overriding the hardware back button and calling the cancel-button-clicked method myself. I will share the code once I get back on my pc.

Hi @guylabs, I did manage to get it working by successfully overriding the hardware back button and calling the cancel-button-clicked method myself. I will share the code once I get back on my pc.

Hi @sunny061
could you maybe create a pull request with your adaptions? As the #216 is requesting the same thing so you could provide the solution if you want to.
I would really appreciate this and others could also use it.
Thanks and regards,
Guy

I actually solved my issue by using the following code in my ionic 1 project...
$ionicPlatform.onHardwareBackButton(function() {
  // call cancel-button-clicked-method callback function
});

Also, this stackoverflow helped me learn about overriding the back button behavior correctly.
http://stackoverflow.com/a/32246017/1874266

HI @sunny061
thanks for sharing your solution!
Regards
Guy


npm auto-update on cdnjs

hi, we want to add your lib on https://cdnjs.com with npm auto-update, but due to the problem #278 we use git auto-update temporarily.
could you please tag us or open an issue on cdnjs when you fix the problem.
then we can change config to npm auto-update.
thank you very much!
https://github.com/cdnjs/cdnjs/issues/6350
https://github.com/cdnjs/cdnjs/pull/6499

i have sent the PR to add npm auto-update. thank you very much!
https://github.com/cdnjs/cdnjs/pull/6531

Thank you for working in this!


Media attachments on comments?

If someone attaches an image or other multimedia to a reply they send on Mastodon, or even just includes a URL in their post, should we render that? And how would we support caching the media locally? Do we need to include some kind of S3 bucket (or compatible service) support?

I'm reluctant to support this for now because it raises a lot of technical questions about price, maintenance, expiration, etc, but also gets into dangerous territory with illegal content etc. If you don't sufficiently protect yourself from bad actors on the network, you can get yourself into some serious trouble, and for what benefit? images in comments? Lots of platforms don't support embedded images in comments.
Closing it for now; we can always revisit if the demand is sufficient and we feel like our trust & safety situation is in a better place.


Fix broken xpring-eng links

High Level Overview of Change
Fix various links in documentation that point to xpring-eng when they should point to payid-org.
Context of Change
We migrated the repo, and now we need to update links.
Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Refactor (non-breaking change that only restructures code)
[ ] Tests (You added tests for code that already exists, or your new feature included in this PR)
[ ] Documentation Updates
[ ] Release

Test Plan
I clicked various links, to make sure they work.

Also removing our Security issue template, because the fact that we have a security policy makes something show up there.


Validate HTTP filter discriminated union consistency.

HTTPRouteFilter is a discriminated union where the Type field is the discriminator. The admission controller should validate that the only the matching field is present.

/assign
I'll take a swing a this!


lyxal: Watch dpwishes.com

lyxal requests the watch of the watch_keyword dpwishes\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

dpwishes\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Removing _PropertyBatch from storage.

@tseaver This doesn't seem to be necessary any longer given the presence of storage.Batch() and the declarative nature of sending updates (e.g. blob.patch())

Coverage remained the same at 100.0% when pulling 968ed0d4e9101087968eff68738407423fb8bba2 on dhermes:remove-property-batch into 65341aebbfe8f03ce0b907061bce796ebbfb7f00 on GoogleCloudPlatform:master.

LGTM


Add integration tests for user defined local authenticator mgt.

Task issue:

https://github.com/wso2/product-is/issues/21216

Add integration tests to cover the management capability for user defined local authenticators.
Related PRs:

https://github.com/wso2/carbon-identity-framework/pull/6172
https://github.com/wso2/identity-api-server/pull/736

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12366733543

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12366733543
Status: success


Check value to not be null

Not sure how to test this locally, couldn't find "hacking" doc. Asked on Slack.

@k-bx can you open an issue instead? I don't think function should never see null so the fix might be more complicated and potentially involve the compiler.

Yes, please open an issue with an http://sscce.org/

Done in https://github.com/elm/compiler/issues/1856 . I believe this fix is correct. The offender code is doing Date.prototype._nth = null and it breaks things (introducing a null "object").


How to ignore custom layer during quantization

I have a model exported to onnx from torch and I would like to quantize everything except for a single custom layer, which under netron has a name like /mylayer. Is there a simple way to ignore that layer and all the ops that it contains during quantization? It doesn't work to specify the the following in PostTrainingQuantConfig:
              op_name_dict={
                    "/mycustomlayer": {
                        "activation": {"dtype": ["fp32"]},
                        "weight": {"dtype": ["fp32"]},
                    },
                }

Hi @lminer  we suppport re match in op_name, you can use it like .*mycustomelayer.* to avoid mismatch.

@xin3he I gave that a shot, but it doesn't appear to work. I am doing mixed precision quantization btw and rewrote the mixed precision training config to allow passing of op_name_dict, but maybe that doesn't do anything...
class MixedPrecisionConfig(PostTrainingQuantConfig):

    def __init__(
        self,
        device="cpu",
        backend="default",
        precision="bf16",
        inputs=[],
        outputs=[],
        tuning_criterion=TuningCriterion(),
        accuracy_criterion=AccuracyCriterion(),
        excluded_precisions=[],
        op_type_dict=None,
        op_name_dict=None,
    ):
        """Init a MixedPrecisionConfig object."""
        super().__init__(
            inputs=inputs,
            outputs=outputs,
            device=device,
            backend=backend,
            tuning_criterion=tuning_criterion,
            accuracy_criterion=accuracy_criterion,
            excluded_precisions=excluded_precisions,
            op_type_dict=op_type_dict,
            op_name_dict=op_name_dict,
        )
        self.precision = precision

    @property
    def precision(self):
        """Get precision."""
        return self._precision

    @precision.setter
    def precision(self, precision):
        """Set precision."""
        if isinstance(precision, str):
            assert precision in [
                "fp16",
                "bf16",
            ], "Only support 'fp16' and 'bf16' for mix precision."
            self._precision = [precision]
        elif isinstance(precision, list):
            assert all([i in ["fp16", "bf16"] for i in precision]), (
                "Only " "support 'fp16' and 'bf16' for mix precision."
            )
            self._precision = precision

Hi, I raise the PR to add op name/type dict option to mixedprecisionconfig api, please have a try.


Note on MLEN=1 (reduced functionality compared to 0.8)

(This isn't really an issue, but a supplemental note for people like me who are consumers of this specification rather than contributors to it. Please let me know if there is a better place for this kind of thing.)
Be aware that the MLEN=1 change in the 0.9 specification, although simpler, loses some functionality compared to 0.8 when LMUL<=1. Before this change, Section 5.3 (Vector Masking) said this:
The destination vector register group for a masked vector instruction can only overlap the source mask register (v0) when LMUL<=1. Otherwise, an illegal instruction exception is raised.
Now, it says this:
The destination vector register group for a masked vector instruction cannot overlap the source mask register (v0), unless the destination vector register is being written with a mask value (e.g., comparisons) or the scalar result of a reduction. Otherwise, an illegal instruction exception is raised
In practice, this means that some masked instructions that target v0 which were legal in 0.8 are illegal in 0.9. For example, vadd.vv v0, v1, v2, v0.m is now always illegal; previously, it was legal for LMUL=1.

On reflection, perhaps it would be most useful to explicitly state this restriction as a Note in section 5.3 - then this issue is redundant and can be closed.

The normative text you quote states this restriction.  What would the content of the additional note be?

I am primarily thinking here of users who migrate from 0.8 to 1.0 implementations: that process is easier if incompatible functionality reductions are explicitly stated. You are correct that the normative text clearly states the new behavior, but I think it would help to highlight it. The note itself could be just the text I wrote:
NOTE: this means that some masked instructions that target v0 which were legal in 0.8 are illegal in 1.0. For example, vadd.vv v0, v1, v2, v0.m is now always illegal; previously, it was legal for LMUL=1.


Attach arbitrary property to the widget

hello
I see In tabris documentation that it's possible to attach an arbitrary property to a widget
let ImgShare = new tabris.ImageView({
  image:{src:"icons/android/share_1.png"},
  scaleMode:"fill",
  width:24,
  height:24,
  textToShare:"blablabla"
}).on("tap", function()
  let textToShare = this.get("textToShare");
}).appendTo(tabris.ui.contentView);

when i write something like that i have an exception like unexpected identifier let textToShare = this.get("textToShare");
Why?

In Tabris 1.x, it was possible to attach custom properties to widgets. This is not supported in 2.x anymore.
You can either create a custom widget that extends ImageView and add a getter and a setter for your custom property:
class ImageShare extends ImageView {
  get textToShare() {
    ...
  }
  set textToShare(text) {
    ...
  }
}

or simply attach your property to the widget without using get() and set():
imageView.textToShare = "blablabla";
...
let textToShare = this.textToShare;

Please look at this where i'm wrong?
let img = new tabris.ImageView({
image:{src:"https://image.freepik.com/free-vector/abstract-background-with-a-watercolor-texture_1048-2144.jpg"},
scaleMode:"fill"
}).appendTo(tabris.ui.contentView);
img.randomValue = "blablabla";
img.on("tap", function({
let t = this.randomValue;
console.log(t);
});

@ishigo1987 Could you please format your code to make it more readable?

You have a syntax error in your listener function as far as I can see.

Yes
My apologies I just copied it from my scratchpad
let img = new tabris.ImageView({
image:{src:"https://image.freepik.com/free-vector/abstract-background-with-a-watercolor-
texture_1048-2144.jpg"},
scaleMode:"fill"
}).appendTo(tabris.ui.contentView);
img.randomValue = "blablabla";
img.on("tap", function({
let t = this.randomValue;
console.log(t);
});

i need to install markdown

I saw my error thank you very much

@ishigo1987 Btw... Github supports source code markup: https://help.github.com/articles/creating-and-highlighting-code-blocks/ It makes the snippets more readable.

thank you

I need to install markdown

There's nothing you need to install; just hit the preview button before you submit


[Bug] -- Triggering Party Member Death Causes Game Crash

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Configure the Party member death setting based on the settings shown in the screenshot section below.
Have a party member die (you can test by having a party member use self destruct on blue mage).
See error

Expected behavior
When a party member dies, the trigger should cause the user's selected device to activate based on the settings.
Actual behavior
The game throws an error (see below) and crashes to desktop after pressing ok.
Screenshots
Image of the settings for the Party member death setting:

Image of the error message upon triggering the setting:

Version
<IP_ADDRESS>
Additional context
None

Ah, i was sure i fixed this issue - seems something made it pop up again.
Will take a look into this as soon as possible!

Fixed in <IP_ADDRESS>
Thanks for the report again!


Clarify the way to use plugin with Git for Windows

First of all, I'd like to thank you guys for creating the plugin, much appreciate it.
I'd like to suggest to clarify a bit the way to use the plugin in Obsidian.
Today after installing Obsidian on my home Windows PC I faced a problem that obsidian-git is not working and is not shown in "Settings" window in Obsidian (even if it was turned on at the "Third-party plugins tab", pic.1).
pic. 1

I used to have git bash installed and git not integrated with default Windows cmd and 3rd party apps. After reinstalling "Git bash for windows" with option "Git from the command line and also from 3rd-party software" (pic. 2) I got the plugin up and running in Obsidian.
pic. 2

pic. 3

All in all, I'd like to suppose a pair of things:

If possible, send a notification that git command is not executable when a user tries to turn the plugin on. Is there a callback in Obsidian API which we could define to test if the git command is defined or not?
If possible, put an accent in README.md that git command should be defined in PATH (if I understood correctly).

Thanks in advance, I will be glad to discuss the proposal!

Great note, however even with this option set during Git bash for windows enabled, the Obsidian Git setting does not show up in Obsidian settings page. I have checked that git works on the command prompt.
@iaulitin Is there any other particular settings in the git bash installer that you use that is not the default of the installer? I am using the same obsidian git and git bash for windows version as the above. Thanks

@mlesmana , could you please check if you have something like this in your PATH env variable?

@iaulitin yes, my PATH variable has that exact line
I have also restarted the PC, restarted obsidian multiple times, and tried running as administrator, disabling and reenabling the plugin

After much tinkering, I think I've figured out a few requirements that has not been mentioned in the description:

Git bash for windows installed with "command line & 3rd party software" option selected as @iaulitin mentioned
Setting up manually (command line) your initial git configuration, repo, remote repo, commit and push.
Only then does the installed obsidian git plugin work (showing up in the settings page, pushing and puling changes to the remote repo)

Please pardon me if that was obvious, new git user here and wasn't clear what the scope of the plugin was

I'm also having this issue. The settings are not showing up in my plugin options, and the plugin doesn't seem to be functioning.
I've tried all the options above, and all I see is the words 'git:ready' in the status bar.

@caseymullineaux So you have git installed/reinstalled with 3rd-party software enabled?

Yessir. That is correct.

I use Git primarily inside of WSL and have had trouble getting my ssh-agent and SSH keys working with Git for Windows. I would love to have an option to use WSL Git for this plugin. Perhaps there could be a way to configure the git executable path and set it to something like wsl git?

@maximberezin97 Could you open a separate issue?

I had git in path, pulled a vault and opened obsidian in it. It wasn't able to commit any changes, only showing a "Committing changes..." in the taskbar. After trying to commit manually i discovered that i had not set user.name and user.email in git config. There was no feedback about this issue in obsidian. I have disabled notifications, but i believe this case should be an exception.

@pbsds Which version are you on? I fixed missing error notifications from commits since v1.21.2

1.13.1, sorry. About time i update. :)


Revise email forwarding to prevent noise to<EMAIL_ADDRESS>

Members of the<EMAIL_ADDRESS>email list are receiving a large volume of email replies from Zendesk (help@cuahsi.org).
We should evaluate:

Can we turn off the auto-reply in zendesk, specifically for tickets/emails originating from<EMAIL_ADDRESS>If we can disable those auto-replies specifically for a single origination email, this would be a good solution.
If that is not possible, should we remove instances in the codebase where we send emails from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>An example below:

https://github.com/hydroshare/hydroshare/blob/2.2.1/hs_core/tasks.py#L198

Sounds like @ClaraCogswell or @martinseul will have to look into option #1 above.
If that is not possible, I will evaluate implementing #2 or something similar...

there is email forwarding for<EMAIL_ADDRESS>to Chris and Dave. Is this still necessary or can we consolidate the forwarding to just<EMAIL_ADDRESS>

there are 4 places where our application sends emails from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>
manage_task_hourly this is the hourly celery job that checks on pending publications and resubmits to Crossref as needed
nightly_metadata_review this task checks for resources that have been under review for more than 24hrs
send_over_quota_emails this task send our quota usage report
task failure this sends an email when any of our tasks raise an exception

@martinseul looks like there should be a way to change the trigger in Zendesk so that Zendesk auto-response is not sent for requests originating from<EMAIL_ADDRESS>See:
https://support.zendesk.com/hc/en-us/articles/4408828984346-About-the-Support-default-triggers#ariaid-title3
We would just add a conditional on the trigger in Zendesk
This accomplishes #1 in the OP

If that doesn't work, I would propose that we

either choose a different reply-to email (other than<EMAIL_ADDRESS>for the 4 functions above
or choose a different email (other than<EMAIL_ADDRESS>to send notifications to for the 4 functions above

sounds like @martinseul is looking into this at the<EMAIL_ADDRESS>Outlook mailbox level

sounds like this has been resolved. closing


⚠ jaswdr.dev has degraded performance

In 2620fe7, jaswdr.dev (https://jaswdr.dev/) experienced degraded performance:

HTTP code: 200
Response time: 472 ms

Resolved: jaswdr.dev performance has improved in 92dc244.


AttributeError: 'NoneType' object has no attribute 'execute'

Dear Petersen,
when I run the skearn interface on my data set, I get the following error:
...
File "/home/wangyingli/liwenqiang/uDSR/dso/dso/program.py", line 452, in r
    return self.task.reward_function(self)
  File "/home/wangyingli/liwenqiang/uDSR/dso/dso/task/regression/regression.py", line 197, in reward_function
    y_hat = p.execute(self.X_train)
  File "/home/wangyingli/liwenqiang/uDSR/dso/dso/program.py", line 272, in execute
    result, self.invalid, self.error_node, self.error_type = Program.execute_function(self.traversal, X)
  File "/home/wangyingli/liwenqiang/uDSR/dso/dso/program.py", line 436, in unsafe_execute
    y = execute_function(traversal, X)
  File "/home/wangyingli/liwenqiang/uDSR/dso/dso/execute.py", line 73, in cython_execute
    return cyfunc.execute(X, len(traversal), traversal, is_input_var)
AttributeError: 'NoneType' object has no attribute 'execute'

It looks like there is a problem calculating the value of the function corresponding to X, what should I do about it?
Looking forward to your reply, thank you!

Running the instance program given in the readme also reports the same error, so it shouldn't be a problem with the data set, maybe cyfunc.

I also have this same issue and believe it comes from cyfunc. Running in a virtual environment with the developer version of python did not fix the problem either.

It looks like cyfunc is None. If cyfunc is None, then the Cython component of DSO did not install properly. This should be okay though, as DSO is supposed to fall back to the non-Cython implementation of execute in this case. However, it looks like this fallback is not working properly.
In dso/dso/program.py, we have:
# Check if cython_execute can be imported; if not, fall back to python_execute
try:
    from dso.execute import cython_execute
    execute_function = cython_execute

I think this should be replaced with:
# Check if cython_execute can be imported; if not, fall back to python_execute
try:
    from dso import cyfunc
    from dso.execute import cython_execute
    execute_function = cython_execute

Can you see if this fix works?

Thank you for your reply! Your suggestion solved this problem. Prior to this, I tried using python_execute(traversal, X) directly in dso/dso/execute.py that also worked.

Awesome! Glad it worked :)


[5.2] Need an option on Route::resource() to allow plural resource URLs without breaking implicit route model binding

Currently when writing a route like:
Route::resource('accounts', 'AccountController');

It will generate routes to accounts/{accounts} like:
Route::post('accounts', ['as' => 'accounts.store', 'uses' => 'AccountController@store']);
Route::get('accounts', ['as' => 'accounts.index', 'uses' => 'AccountController@index']);
Route::get('accounts/create', ['as' => 'accounts.create', 'uses' => 'AccountController@create']);
Route::get('accounts/{accounts}', ['as' => 'accounts.show', 'uses' => 'AccountController@show']);
Route::match(['put', 'patch'], 'accounts/{accounts}', ['as' => 'accounts.update', 'uses' => 'AccountController@update']);
Route::delete('accounts/{accounts}', ['as' => 'accounts.destroy', 'uses' => 'AccountController@destroy']);
Route::get('accounts/{accounts}/edit', ['as' => 'accounts.edit', 'uses' => 'AccountController@edit']);

Which means in the AccountController, normally you'd write your method like:
public function show(Account $account)
{
    //
}

But to allow implicit route model binding to work, you have to write it like:
public function show(Account $accounts)
{
    //
}

Therefore, Route::resource('accounts', 'AccountController'); should generate routes like accounts/{account}:
Route::post('accounts', ['as' => 'accounts.store', 'uses' => 'AccountController@store']);
Route::get('accounts', ['as' => 'accounts.index', 'uses' => 'AccountController@index']);
Route::get('accounts/create', ['as' => 'accounts.create', 'uses' => 'AccountController@create']);
Route::get('accounts/{account}', ['as' => 'accounts.show', 'uses' => 'AccountController@show']);
Route::match(['put', 'patch'], 'accounts/{account}', ['as' => 'accounts.update', 'uses' => 'AccountController@update']);
Route::delete('accounts/{account}', ['as' => 'accounts.destroy', 'uses' => 'AccountController@destroy']);
Route::get('accounts/{account}/edit', ['as' => 'accounts.edit', 'uses' => 'AccountController@edit']);

Question: Why not use singular URLs?
Answer: It's widely accepted that RESTful APIs have plural URLs for resources.
Question: Why not use explicit route model binding?
Answer: If I have two resources accounts, and contacts, and I have a third resource notes that is a nested resource for both accounts and contacts , I can only bind {note} to one class (assume I'm not using polymorphic relationships)? I.E.:
$router->model('note', 'App\AccountNote');
$router->model('note', 'App\ContactNote');

Currently I'm working around this issue by not using Route::resource() and instead just explicitly writing out my routes with the pattern I need.

Old but related : #5877 & #5556

You can make them singular if you want easily.
#11644

Closing this issue because there is a PR #12137.

Related: #12061

Ermagherd thanks guys.

Just in case you find this thread, this has been added:
Route::singularResourceParameters();
So keep it plural like this and it will give you singular wildcard:
Route::resource('projects','ProjectController');


Fix for sources directory in template

Description
The sources directory was missing in the script used to build the project template. Updated to match the way the static directory is handled.
Checklist

[x] I have added a changeset

@mcrascal I missed adding sources in one place in my CSV PR. After this change, the template/file watcher appears to be working identically for both static and sources, but hoping to get a quick check that I haven't missed anything this time.


Use sublcass context when calling a scope defined in a superclass

Example:
class Shape
  scope :visible, -> { large }
  scope :large, -> { all }
end

class Circle < Shape
  scope :large, -> { where(radius: 5) }
end

Circle.visible.selector returns {}, instead of { "radius" => 5 }.
ActiveRecord also uses instance_exec when calling scopes.
This should also fix #3599.

Coverage decreased (-0.01%) to 80.08% when pulling 0ea0dc4826ffa1a49ad827e5dfc6ed6ab9185e9d on ebeigarts:scoping into 1427d6dcaf532499cb1db4e6c36a3335887dd0fe on mongoid:master.


⚠ Samsung has degraded performance

In 8e3acc8, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2522 ms

Resolved: Samsung performance has improved in ed80508.


Fixes usize but doesn't compile

Not for merging

Superseded by https://github.com/discord/sorted_set_nif/pull/19 and https://github.com/discord/sorted_set_nif/pull/20


Bump current iOS version

This PR bumps the current iOS version from 14.4.2 to 14.5.
Apple Release: https://developer.apple.com/news/releases/?id=04262021d

@Ein-Tim Thanks.


feature/loc, ts, level storage and deletion

There will need to be follow-up PR's when missing RADAR functionality is added. Cataloging functionality here: https://github.com/USACE/cwms-radar-api/labels/blocks-cwms-radar-client-write


fix flaky test_setting_concurrent_rebuild_limit

Ref: longhorn-4977

Extend rebuild wait to 10 minutes or test case sometimes faced rebuild timeout
Remove test step 1-10. Because by test scenario ConcurrentReplicaRebuildPerNodeLimit=1 volume1 is rebuilding and volume2 degraded, crash replica process in volume 1 can not guarantee volume2 will be the next one to rebuild, sometime volume1 will start rebuild again and script expect the rebuild 1 was volume2, so test case failed(flaky). For ConcurrentReplicaRebuildPerNodeLimit`=1 related test already tested in step 1-4, so I removed the flaky part for review, thank you.

10 times test on pipeline all passed
Signed-off-by: Chris Chien<EMAIL_ADDRESS>

This test case has passed in continues 7 days on test pipeline, looks like it is not flaky anymore, close this PR.


Possible utf 8 encoding

Is it possible solving such errors when executing various searches of subreddits?
Traceback (most recent call last):
File "reddit_scraper.py", line 288, in
main()
File "reddit_scraper.py", line 268, in main
write_csv(sub,cat_i,search_for,overview)
File "reddit_scraper.py", line 231, in write_csv
writer.writerows(zip(*overview.values()))
cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 70-71: character maps to

Thanks for submitting this issue. Could you be more specific as to how you came about this problem and provide the full traceback?

Win 10, python 3.7
Full traceback:
Getting posts for r/......Market...
Sorting posts...
Traceback (most recent call last):
File "reddit_scraper.py", line 288, in
main()
File "reddit_scraper.py", line 268, in main
write_csv(sub,cat_i,search_for,overview)
File "reddit_scraper.py", line 231, in write_csv
writer.writerows(zip(*overview.values()))
File "C:\Users......\AppData\Local\Programs\Python\Python37-32\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-2: character maps to

I apologize for the late response. I added an encoding argument in open() to ensure UTF-8 encoding. Keep me updated if you run into this issue again or if that fixed it. Thanks!

Thank you, it's working smoothly now. problem solved


MXEvent: Add MXEventTypeRoomEncrypted Matrix event type

https://github.com/vector-im/vector-ios/issues/559

OK


Repin some more (readline, wcslib).

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Proposal: replace glog with Corrade::Utility::Debug

I'm seeing a lot of code like
LOG(INFO) << "User provided object inertia "
          << bInertia.x() << " " << bInertia.y() << " " << bInertia.z();

or a switch that looks like
      case Magnum::MeshPrimitive::Lines:
        LOG(ERROR) << "Invalid primitive: Lines";
        break;
      case Magnum::MeshPrimitive::Points:
        LOG(ERROR) << "Invalid primitive: Points";
        break;
      case Magnum::MeshPrimitive::LineLoop:
        LOG(ERROR) << "Invalid primitive Line loop";
        break;
      ...

It's making me sad, because it wastes programmer time -- logging / printf debugging should not involve any mental overhead of "how the heck do I print this variable". The Utility::Debug class in Magnum can do the same as just:
Debug{} << "User provided object inertia" << bInertia;

and it can also print any container, almost all Magnum enum values (as names, not numbers, of course), it has output redirection (and muting), debug/warning/error levels, colored output if you want to get fancy and it can print images as well.
I never used glog, but looking at the project page there doesn't even seem to be any real docs for it, apart from a raw HTML file. How well maintained that project is? For the WebGL build in #53 we'd need to use something else anyway, so I would propose switching away from it completely.
My question is -- is there any glog feature that Utility::Debug doesn't have and you need it? One thing I'm aware of is that it doesn't prefix the output with file/line by default, but there's a (not yet merged) proposal that adds it as an opt-in feature on supported compilers: https://github.com/mosra/corrade/pull/55

Thanks @mosra for making this proposal!  It will certainly make things easier for us down the line if we can leverage logging from Magnum (and get free WebGL build support).  Overall, it does seem that switching from glog to Utility::Debug will bring benefits without giving up too much.
In addition to file/line prefixes, a few other features of glog that we currently use are: having a file sink for the log, verbosity level control and module-level log output filtering through "setting flags" (see http://rpg.ifi.uzh.ch/docs/glog.html).  Are analogues of these features easy through Utility::Debug?

There's Debug, Warning, Error and Fatal (which exits after printing a message) for different verbosity levels. Each of them can be separately scope-redirected to any of C++ streams (so stdout, stderr, file output, ...) and also muted (see the docs linked above for details). Redirecting to standard output and a file would need to be done using a custom ostream implementation, at the moment there's no such functionality.
If you'd need to configure the file redirection / muting / verbosity level through command-line arguments or environment, you would need to wire that in (for example using Utility::Arguments).
Compared to glog it's completely macro-less, which means some features that glog has can't be easily done without wrapping everything in macros as well. That means it also affects everything related to file/line info (such as filename-based filtering) -- mosra/corrade#55 relies on std::source_location to get this info and compiler support is pretty spotty at the moment.
In my experience I needed file/line info very rarely in practice and definitely not for every message, but I don't want to force you into anything :)

#179 might be another reason to move away from gflags.

mosra/corrade#55 for the file/line info in out is merged now, support is on GCC 8+ and Clang 9+ (and Apple Clang / Xcode 12+, I guess).

With #496 the file+line info in Debug is available for all GCC versions and Clang 9+.


Clearify QPS and BURST are ment to be variables in the given l2-announcements documentation example

The current example gives the impression that the actual QPS and BURST variables are supposed to be provided within curly brackets while in fact in the Helm chart they're simply used as integers. I suppose this was a simple typo and both those params are ment to be variables in the given example, similar to the existing KUBERNETES_API_SERVER_ADDRESS and KUBERNETES_API_SERVER_PORT variables provided in the same example.

Hey @omniproc, any reason why you closed this? CC @dylandreimerink as the author of these docs

Hey @omniproc, any reason why you closed this? CC @dylandreimerink as the author of these docs

Formal reasons (signing process).


Update Select component

Fixes: https://github.com/penumbra-zone/web/issues/1798
Updates shadcnui component to latest version which comes with scrolling. Only in use in shield page.
https://github.com/user-attachments/assets/7869c1c7-0f80-41a0-a358-5e5f74423e9d

V2 selector's do not use the <Select> component from Shadcnui. Only the two drop downs on the shield page. Checked locally regardless, all good!


dude how i can remove expression for example i dont want to see fearful , what should i do ?

Looks like a basic javascript question to me, if I understand the question correctly. So closing here.


Error: An element could not be located in cucumber-meteor-tutorial

When i followed the cucumber-meteor-tutorial, following errors occured:
1 scenario (1 failed)
4 steps (1 failed, 2 skipped, 1 passed)
[chimp][hooks] Starting AfterFeatures
[chimp][hooks] Ending browser session
[chimp][session-manager] watch / server mode are true, not killing session
[chimp][hooks] Ended browser sessions
[chimp][hooks] Finished AfterFeatures

[chimp][cucumber] Closed with code 2
[chimp] finished rerun
[chimp] Finished running async processes with errors
Error: An element could not be located on the page using the given search parameters.
  at Object.<anonymous> (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/lib/commands/setValue.js:44:19)
  at Object.safeExecute (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/lib/utils/safeExecute.js:22:24)
  at Object.WebdriverIO.resolve (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/lib/webdriverio.js:73:29)
  at /home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/lib/webdriverio.js:183:32
  at _fulfilled (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/node_modules/q/q.js:820:54)
  at self.promiseDispatch.done (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/node_modules/q/q.js:849:30)
  at Promise.promise.promiseDispatch (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/node_modules/q/q.js:782:13)
  at /home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/node_modules/q/q.js:590:44
  at runSingle (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/node_modules/q/q.js:123:13)
  at flush (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/node_modules/q/q.js:111:13)
  at process._tickDomainCallback (node.js:486:13)

meteor list
accounts-password  1.1.1  Password support for accounts
accounts-ui        1.1.5  Simple templates to add login widgets to an app
autopublish        1.0.3  Publish the entire database to all clients
insecure           1.0.3  Allow all database writes by default
meteor-platform    1.2.2  Include a standard set of Meteor packages in your app
xolvio:cucumber    0.12.2  CucumberJS for Velocity

which tutorial is this?

https://github.com/mhurwi/cucumber-meteor-tutorial

Can you please file a bug on his repo :)

Sure


Overriding the default trigger

Can I avoid having this run (without forking and using the forked version?)
$ -> $('a:not([data-remote]):not([data-behavior]):not([data-skip-pjax])').pjax('[data-pjax-container]')
eg: https://github.com/rails/pjax_rails/blob/master/lib/assets/javascripts/pjax/enable_pjax.js.coffee#L1
I'm a little green so the answer may be obvious, but in essence, I want to let pjax pick the container from the links data-pjax attribute, and not just use "data-pjax-container".
TIA,
Rasheed.

I'm considering deprecating or removing the enable_pjax.js file.

Yeah i concur. Take a look at the pillaging in our fork -- it's mentioned in the pjax pull request comment..


spack error when running setup.sh

Encountered this issue when running setup.sh to install spack. Seems to be related to a recent change in spack.
NODE TYPE: HeadNode
I am the HeadNode node
Create Env
Cloning into '/shared/spack'...
==> Added 1 new compiler to /shared/spack/etc/spack/compilers.yaml
<EMAIL_ADDRESS>==> Compilers are defined in the following files:
/shared/spack/etc/spack/compilers.yaml
==> Error: :1: Additional properties are not allowed (404 was unexpected)
==> Error: :1: Additional properties are not allowed (404 was unexpected)

Updated pcluster_install_spack.sh to cope with new releases of spack.
This workshop is mainly meant to be executed on graviton2 processors, it has not been fully tested on Intel or AMD cpus.


Fix for flicker when PWM lights turn on/off on bk7231n

Some of my BK7231N RGBWW bulbs were occasionally flickering when they turned on/off with libretuya-esphome.  This was more noticeable at higher PWM frequencies.  I discovered that when the pwm dutycycle value is set to 0 then the output goes high.  This doesn't seem to affect my BK7231T based bulbs.

Thanks for this! The commit seems to change behavior on T as well (no duty cycle setting), why does that line need to be removed?

Sorry, I didn't explain that bit: even momentarily setting the duty cycle to 0 before turning PWM mode off was causing a flicker.


In-memory version traineddata doesn't work for multiple traineddata

Basic Information
Windows 10, tessseract v4,
If I passed single traineddata (const char ), it works, but fails for multiple traineddata, by the way multiple traineddata works if I passed the path to traineddata.
I append the two trained data together and pass it to the Init, the LoadMemBuffer(   bool readsuccesfully_=  mgr.LoadMemBuffer(language, data, data_size);) reads the first one and parse  it, the  entries_[TESSDATA_VERSION] populated correctly, then when it proceeds to the second traineddata, it treats it as path to traineddata, and tries to locate the traineddata on the disk, and failes to initialize correctly
// In-memory version reads the traineddata file directly from the given
// data[data_size] array. Also implements the version with a datapath in data,
// flagged by data_size = 0.
int TessBaseAPI::Init(const char data, int data_size, const char* language,
OcrEngineMode oem, char** configs, int configs_size,
const GenericVector* vars_vec,
const GenericVector* vars_values,
bool set_only_non_debug_params, FileReader reader) {
Operating System
Windows 10
Other Operating System
Windows 10, tesseract Windows SDK Version 10.0.17763.0
uname -a
No response
Compiler
MSVC 2017, visual studio version 15.9.25
Virtualization / Containers
No response
CPU
Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz   3.70
Current Behavior
No response
Expected Behavior
No response
Suggested Fix
No response
Other Information
No response

Well, the in-memory API was not design to work with multiple traineddata.
If someone want to add

Thanks, is there any possibility that we can do it, in future?

is there any way that we can load additional traineddata after Init(...)?

No.

However, depending on which scripts you are trying to combine, the a trainddata file from the script directory may be used as a replacement.
https://github.com/tesseract-ocr/tessdata_fast/tree/main/script
For example: eng+fra => Latin

Hi @amitdo  I know this is kind of late, but I was able to mange to pass multiple traineddata buffer, and it works. If you are interested I can explain my approach, or provide Code snippets

Hi @arvintnn,
Did you change Tesseract's code?
If the answer is yes, the prefered way to send code changes is via pull request.
Be aware  that it's  not gurented that your PR will be accepted.
If you somehow found a way solve the issue without changing Tesseract code, please share the method here.

Hi Amid, as far as I remember, I created a constructor that passed the vector of cont char* or string, and there was a tiny place 1 or 2 function where I changes the code.  I'll over the code clean it up and issue pull request.
Thank You
On Sunday, August 20, 2023 at 12:08:57 AM PDT, Amit D. @.***> wrote:
Hi @arvintnn,
Did you change Tesseract's code?
If the answer is yes, the prefered way to send code changes is via pull request.
Be aware that it's not gurented that your PR will be accepted.
If you somehow found a way solve the issue without changing Tesseract code, please share the method here.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>