Special keys no longer working?

Using xkbcomp after kalamine leaves keys such as MUTE, VOL +, VOL- ineffective.
Is there a way to leave those as-is, forwarded?
Warning:          No symbols defined for <AB11> (keycode 97)
Warning:          No symbols defined for <KATA> (keycode 98)
Warning:          No symbols defined for <HIRA> (keycode 99)
Warning:          No symbols defined for <HENK> (keycode 100)
Warning:          No symbols defined for <HKTG> (keycode 101)
Warning:          No symbols defined for <MUHE> (keycode 102)
Warning:          No symbols defined for <JPCM> (keycode 103)
Warning:          No symbols defined for <LNFD> (keycode 109)
Warning:          No symbols defined for <I120> (keycode 120)
Warning:          No symbols defined for <MUTE> (keycode 121)
Warning:          No symbols defined for <VOL-> (keycode 122)
Warning:          No symbols defined for <VOL+> (keycode 123)
Warning:          No symbols defined for <POWR> (keycode 124)
Warning:          No symbols defined for <I126> (keycode 126)
Warning:          No symbols defined for <I128> (keycode 128)
Warning:          No symbols defined for <HNGL> (keycode 130)
Warning:          No symbols defined for <HJCV> (keycode 131)
Warning:          No symbols defined for <AE13> (keycode 132)
Warning:          No symbols defined for <STOP> (keycode 136)
Warning:          No symbols defined for <AGAI> (keycode 137)
Warning:          No symbols defined for <PROP> (keycode 138)
Warning:          No symbols defined for <UNDO> (keycode 139)
Warning:          No symbols defined for <FRNT> (keycode 140)
Warning:          No symbols defined for <COPY> (keycode 141)
Warning:          No symbols defined for <OPEN> (keycode 142)
Warning:          No symbols defined for <PAST> (keycode 143)
Warning:          No symbols defined for <FIND> (keycode 144)
Warning:          No symbols defined for <CUT> (keycode 145)
Warning:          No symbols defined for <HELP> (keycode 146)

Hi! Just seen this issue and confirmed it by loading latest Ergo-L and my take on Erglace layouts.
Kalamine should include inet(evdev) in the xkb_symbols part. This fixes my MUTE key and VOL± scroll wheel:
diff --git a/erglace_2_original.xkb b/erglace_2.xkb
index 6a1e424..291feba 100644
--- a/erglace_2_original.xkb
+++ b/erglace_2.xkb
@@ -56,6 +56,7 @@ xkb_keymap {
   partial alphanumeric_keys modifier_keys
   xkb_symbols "erglace" {
     include "pc"
+    include "inet(evdev)"

     // The “OneDeadKey” is an ISO_Level3_Latch, i.e. a “dead AltGr” key.
     // This is the only way to have a multi-purpose dead key with XKB.

Thanks @nivopol !


Try it out - keep top 5 recommended items if userid does not change

Current behavior

User hits "Predict" in Try it out for user and item
Users gets predicted rating for user + item combo AND user gets top 5 recommendations
User changes item but leaves user the same and hits "Predict"
Both user + item combo and top 5 recommendation predictions are recalculated

Expected behavior
If user keeps the same userId but changes the item, the user + item combo rating prediction should be recalculated, but the top 5 recommendations for the user should not be

Validated


Icon Button 圆形small时，变成椭圆形了

Describe Framework

[x] tdesign-vue
[ ] tdesign-vue-next
[ ] tdesign-react
[ ] tdesign-miniprogram

Describe Environment
Add browser version here
Describe the bug
A clear and concise description of what the bug is.
Additional context
Add any other context about the problem here.

https://codesandbox.io/s/tdesign-vue-demo-forked-w6647?file=/src/demo.vue

已在 0.33.0 版本中修复


build.sh not working

At latest master (0.3.2) build fails. (either via Xcode Cmd+B or ./script/build.sh fails)
I could work-around it by removing Spectre from embedded Commander.xcodeproj .
Homebrew fails with same error.
$ brew unlink pxctest && brew tap plu/pxctest && brew install pxctest
Unlinking /usr/local/Cellar/pxctest/0.3.1... 0 symlinks removed
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
amazon-ecs-cli                       jmxtrans                             rtv

==> Installing pxctest from plu/pxctest
==> Cloning https://github.com/plu/pxctest.git
Updating /Users/a14786/Library/Caches/Homebrew/pxctest--git
==> Checking out tag 0.3.2
==> ./scripts/build.sh /usr/local/Cellar/pxctest/0.3.2/libexec
Last 15 lines from /Users/a14786/Library/Logs/Homebrew/pxctest/01.build.sh:
<unknown>:0: error: no such file or directory: '/tmp/pxctest-20170331-10773-1wigcy1/Dependencies/Commander/.build/checkouts/Spectre.git--7655155069707042687/Sources/Context.swift'
<unknown>:0: error: no such file or directory: '/tmp/pxctest-20170331-10773-1wigcy1/Dependencies/Commander/.build/checkouts/Spectre.git--7655155069707042687/Sources/Expectation.swift'
<unknown>:0: error: no such file or directory: '/tmp/pxctest-20170331-10773-1wigcy1/Dependencies/Commander/.build/checkouts/Spectre.git--7655155069707042687/Sources/Failure.swift'
<unknown>:0: error: no such file or directory: '/tmp/pxctest-20170331-10773-1wigcy1/Dependencies/Commander/.build/checkouts/Spectre.git--7655155069707042687/Sources/Global.swift'
<unknown>:0: error: no such file or directory: '/tmp/pxctest-20170331-10773-1wigcy1/Dependencies/Commander/.build/checkouts/Spectre.git--7655155069707042687/Sources/GlobalContext.swift'
<unknown>:0: error: no such file or directory: '/tmp/pxctest-20170331-10773-1wigcy1/Dependencies/Commander/.build/checkouts/Spectre.git--7655155069707042687/Sources/Reporter.swift'
<unknown>:0: error: no such file or directory: '/tmp/pxctest-20170331-10773-1wigcy1/Dependencies/Commander/.build/checkouts/Spectre.git--7655155069707042687/Sources/Reporters.swift'
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

** BUILD FAILED **

The following build commands failed:
	CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(1 failure)

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/plu/homebrew-pxctest/issues

Which Xcode version do you have?

Sorry forgot to mention.
Xcode8.2.1 on ElCapitan

On Xcode8.2.1 on Sierra(10.12.4), I encountered same error.

Thank you. It's probably related to Xcode 8.2.1, since Travis on 8.3 is green. I will look into it tomorrow.

Should be fixed on master and version 0.3.3.

Awesome. Now it works🙌


Unable to mount a drive under wsl : An error occurred mounting one of your file systems

Version
OS Name:		Microsoft Windows 11 Professionnel
OS Version:		10.0.22000 N/A Build 22000
WSL Version

[*] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu
Other Software
No response
Repro Steps
The problems appeared after Windows 10 to Windows 11 migration. Before I had no problem with Ubuntu / Docker or Virtual Box images.
Actual Behavior
Wsl do not mount correctly Windows C drive.
Diagnostic Logs
Anuj-02 and me have the same issue #7565 after updating windows 10 to windows 11, but I have not found the solution yet.
I tried to previously uncheck the following functionalities in windows :

Hyper-V
Virtual machine Platform
Windows hypervisor plateform

I rebooted for updated my PC.
I installed wsl functionnalities and an Ubuntu distribution via Windows PowerShell commands:
PS C:\WINDOWS\system32> wsl --install -d Ubuntu
Installing: Virtual Machine Platform
Virtual Machine Platform has been installed.
Installing: Windows Subsystem for Linux
Windows Subsystem for Linux has been installed.
Downloading: WSL Kernel
Installing: WSL Kernel
WSL Kernel has been installed.
Downloading: GUI App Support
Installing: GUI App Support
GUI App Support has been installed.
Downloading: Ubuntu
The requested operation is successful. Changes will not be effective until the system is rebooted.
PS C:\WINDOWS\system32>

After rebooting, the installation of Ubuntu continued automatically:
Installing, this may take a few minutes...
An error occurred mounting one of your file systems. Please run 'dmesg' for more details.
An error occurred mounting one of your file systems. Please run 'dmesg' for more details.
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username:
...

An extract of the alert / error message extracted from dmesg command:
[    0.144506] Spectre V2 : Spectre mitigation: LFENCE not serializing, switching to generic retpoline
...
[    2.415856] PCI: Fatal: No config space access function found
...
[    2.482199] hv_utils: cannot register PTP clock: 0
...
[    2.727920] FS-Cache: Duplicate cookie detected
[    2.727922] FS-Cache: O-cookie c=00000000cb6e3e64 [p=00000000409df2b5 fl=222 nc=0 na=1]
[    2.727922] FS-Cache: O-cookie d=000000006c7c1c35 n=00000000f766632e
[    2.727923] FS-Cache: O-key=[10] '34323934393337353534'
[    2.727925] FS-Cache: N-cookie c=00000000230327ad [p=00000000409df2b5 fl=2 nc=0 na=1]
[    2.727925] FS-Cache: N-cookie d=000000006c7c1c35 n=0000000090d5ba24
[    2.727925] FS-Cache: N-key=[10] '34323934393337353534'
[    2.866581] 9pnet: Could not find request transport: virtio
[    2.866586] init: (1) ERROR: MountPlan9WithRetry:285: mount drvfs on /mnt/c (cache=mmap,noatime,msize=262144,trans=virtio,aname=drvfs;path=C:\;uid=0;gid=0;symlinkroot=/mnt/
[    2.866587] ) failed: 22
[    2.925884] 9pnet: Could not find request transport: virtio
[    2.925889] init: (1) ERROR: MountPlan9WithRetry:285: mount drvfs on /mnt/c (cache=mmap,noatime,msize=262144,trans=virtio,aname=drvfs;path=C:\;uid=0;gid=0;symlinkroot=/mnt/
[    2.925890] ) failed: 22

I also tried to update and restart the wsl service via command line :
wsl --update
wsl --shutdown

(Kernel version: <IP_ADDRESS>)
I also tried to restart the service LxssManager via the command:
Restart-Service -Name "LxssManager"

I have no wsl.conf file in my Ubuntu distribution (/etc/wsl.conf)
My .wslconfig file contains the following lines:
[wsl2]
kernel=C:\\Users\\Anthony\\bzImage
swap=0
localhostForwarding=true

When I try to mount the C drive directly in shell, i have the same issue
anthony@DESKTOP-3QEBOGJ:~$ sudo mount -t drvfs C: /mnt/c
[sudo] password for anthony:
<3>init: (32) ERROR: MountPlan9WithRetry:285: mount drvfs on /mnt/c (cache=mmap,rw,msize=262144,trans=virtio,aname=drvfs;path=C:;symlinkroot=/mnt/) failed: 22
mount: Invalid argument

All manipulations I tried did not solve my problem. As my drive was initially crypted with Bitlocker service, il tried to put the encryption off. This did not change the issue.
Anybody have an idea to solve this problem ?
Thank you by advance.
Originally posted by @Anthony-Biget in https://github.com/microsoft/WSL/issues/7565#issuecomment-946569211

Problem fixed : The kernel path in the .wslconfig file was wrong.
The path to the WSL kernel is located within C:\WINDOWS\System32\lxss\tools\kernel

It works for me too.
I've tried too meny things.
Thanks a lot.


Cards

Updating the cards for services.

/gcbrun

Temporary Url for review: https://apigw-dev--pr-63-mqpmywpk.web.app


docs(concepts): Clarify podAffinity/podAntiAffinity note

1. Issue, if available:
Related to #942
2. Description of changes:
Hello 👋
This notes has been confusing me since I read  it. At first, I thought podAntiAffinity would cause scalability issues for the deployments using them, but reading further around topologySpreadConstraints (especially its KEP), it seems to be an issue for scalability of the Kubernetes Scheduler.
Do they plan to deprecate podAffinity/podAntiAffinity? It has been mentioned, but no concrete action toward it.
Or do they plan to improve them? They seem to be some activity in this direction (e.g. kubernetes/enhancements#249), thus should Karpenter plan to actually support them? (And update the doc to something like "Karpenter doesn't support them for the moment (You can follow their consideration by subscribing to #942).")
TL;DR For this recommendation, imho the doc should have:

a short reason
its source (e.g. official Kubernetes documentation, KEP)

I may still be wrong about the why, but I hope to use this PR to get clarification for myself  and everyone else.
3. Does this change impact docs?

[x] Yes, PR includes docs updates
[ ] Yes, issue opened: link to issue
[ ] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This looks like a bad link: https://github.com/kubernetes/enhancements/pull/249. Can you update?

Oops I meant kubernetes/enhancements#2249

We didn't initially implement affinity due to:

scalability recommendations
topology as an alternative
complexity/effort of implementation

I'm open minded to implementing pod antiaffinity (or at least a subset of the spec). However, pod affinity seems to be a bit of a nonstarter. When provisioning capacity, it's impossible to know whether or not all the pods that need to coschedule have been created yet. It's extremely easy to get wedged this way. This is more viable in static clusters, but still relatively challenging.
I think your current docs change is a good recommendation, and we can continue the discussion in https://github.com/aws/karpenter/issues/942. tl;dr, given the number of charts that use antiaffinity, I think we may be causing undue pain by not supporting it. It's probably worth the investment, at least insofar as antiaffinity is translatable to topology.

Thank you @ellistarn for the reply, I have updated the KEP link to point to the section describing the problems, please do not hesitate to suggest a better reference if you have one.

I have finally found the literal recommendation

Note: Inter-pod affinity and anti-affinity require substantial amount of processing which can slow down scheduling in large clusters significantly. We do not recommend using them in clusters larger than several hundred nodes.

https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity


Relax Logs gone in v2.0

Is there any plan to revive Relax Logs as they are no longer included in Relax 2.0?

I am thinking of making this a separate module @wphampton


cleanup first load events for service/span names

During initialization an unconditional uiChangeServiceName is fired
to populate the lists of service and corresponding span names.  This
had two problematic consequence:

Since there was no service name yet, an http request for spans in
the undefined service was made (looking "bad" in dev tools).
On first load we never went back and loaded the span names if no
service was selected (via query parameters or cookies).  This meant
the list of span names would just be "all".

These can both be resolved by:

Guarding against span search queries when no service name is set.
Loading the spans names for the first service in the list when no
service name is set.

ref #1440 #1072

On first load:

Awesome! This always have bothered me!

fantastic. I'll cut another release today sometime


How to predict homo-oligomer's and hetero-oligomer's structure?

Hi, I'm predicting the structure for gp34, and gp37 of bacteriophage T4. Their structure are both partially solved, in 5NXH and 2XGF respectively. Both solved regions show as homotrimers and form a straight line. The straight-line feature is also shown in the first figure below. However, the AlphaFold predicted only the structure for a monomer. Some domains seem to be close to the solved structure. I attached the predicted results in screenshots below and also the corresponding ranked_0.pdbs.zip.
I can imagine that I can connect the monomer ends with some loop sequences (linkers) and feed into AlphaFold an extremely long sequence that has the original sequence 3 times plus some flexible linkers, in the hope that AlphaFold can capture the homotrimer property. But is there a cleaner or systematic way of achieving this? Similarly, the same question applies to the cases of hetero-oligomers.
Many thanks,
Roden

Credit: Hyman, Paul, and Mark van Raaij. "Bacteriophage T4 long tail fiber domains." Biophysical reviews 10.2 (2018): 463-471.

This is done with hacked version of Alphfold. See: https://github.com/normandavey/AlphaFold2-IDR-complex-prediction
heterooligomers were predicted using the dedicated notebook, accessible here: https://colab.research.google.com/github/sokrypton/ColabFold/blob/main/AlphaFold2_complexes.ipynb In the case of dimers, the default settings were used. In case of higher order oligomers, one chain was used on its own (usually the IDR if there is only one), and the rest of the chains were concatenated using a long linker (either several 'U's or several repeats of 'SG's)

@ValZapod Is anyone involved in those notebooks willing to create a personal branch of AlphaFold with the "hacks" for homo/hetero-oligimers.  I think a new command-line flag that enables that functionality in run_alphafold.py would be wonderful, and I think many people would benefit.

@ValZapod Is anyone involved in those notebooks willing to create a personal branch of AlphaFold with the "hacks" for homo/hetero-oligimers. I think a new command-line flag that enables that functionality in run_alphafold.py would be wonderful, and I think many people would benefit.

If it is in that case, a dissertation can be published for the job.

dissertation can be published for the job.

It should be AI dissertation then. :) Anyway some updates. 8.1-mers and 2.3.1-mers https://mobile.twitter.com/LindorffLarsen/status/1425581943173832709 and some sweet dimers:
https://mobile.twitter.com/ivangushchin/status/1423629505776738304
Apparently Alphfold can be used to predict splice isoforms (that low confidence part is a "wrong" exon of a gene, cool) https://mobile.twitter.com/MichaelTress/status/1418263811602

This repo is an implementation of the published AlphaFold system which was not used for multimeric predictions. We’re really excited by the work that’s been done in this area but since it diverges from the published system we won’t be merging those changes into our codebase.

I think AlphaFold's stance is correct, as they should only be responsible for maintaining code that they have validated and stand-behind.  A lot of the homo-oligomer work that I've seen are hacks/tricks that fool AlphaFold to work in a way it was not designed for or validated.  That said, such tricks may have general use and may work.
For the people posting on this thread, please ask those people working on homo-oligomers publish their code in their own github fork.  Lots of people, including myself, would be quite interested.  While posting links to dissertations or other people's results is helpful, it's not necessarily the best way to be helpful.  A true "open science" collaboration will only work when code is pushed to github and we can all use it and improve it.

Thanks very much to all! Totally agree with the above two comments.
Some updates from my exploration:

Tracing back from @ValZapod 's post, I found this ColabFold repo. The "AlphaFold2_advanced" notebook is the solution I was looking for. It outputs a decent trimer for T4 gp36. The output is attached here, T4_gp36_rank_1_model_2_ptm_seed_0_unrelaxed.pdb.zip. But it failed at the two proteins I mentioned in this issue in the beginning. According to the readme, "ColabFold Tutorial presented at the Boston Protein Design and Modeling Club". And it is presented by Dr. Sergey Ovchinnikov who previously worked with Dr. David Baker.
SWISS-MODEL can model fragments decently.
Other than these two, I do not find other good solutions.


Rebirth as @msgpack/msgpack

TODO in this PR

[x] Remove web-specific features by removing msgpack.base.js and msgpack.js; and keep msgpack.codec.js
[ ] Migration to TypeScript + ES modules
[ ] Confirm the spec using https://github.com/kawanet/msgpack-test-js
[ ] Setup CI

TODO in futures

support BigInt
support timestamp
optimization

It is somewhat difficult for now. Use https://github.com/kawanet/msgpack-lite instead.


how to check number of std hash at local

i can not reproduce hash number of these code at local neither at ubuntu or mac environment.
can you tell me how to check the result from blockchian. below is the code
hash value:<PHONE_NUMBER>
#include <eosiolib/eosio.hpp>
#include <eosiolib/print.hpp>
#include <eosiolib/asset.hpp>
#include <eosiolib/crypto.h>
#include "types.hpp"// #include "eosio.token.hpp"
#include "utils.hpp"
uint8_t compute_random_roll(const std::string& seed1, const std::string& seed2) {
        size_t hash = 0;
        //hash_combine(hash, sha256_to_hex(seed1));
        //hash_combine(hash, sha1_to_hex(seed2));
        hash_combine(hash, seed1);
        hash_combine(hash, seed2);
        return hash % 100 + 1;
}

CONTRACT hello : public eosio::contract {
    public:
        using contract::contract;

        ACTION act1() {

            std::string seed1 = "5ccf6c155474c5ddd1ad68b681c4a8713b4e06df11494d0cf2bd5c5e71b4d1e5";
            std::string seed2 = "b72c663881f411e2b669548b9f96dc3705cebf2e";
            std::hash<std::string> hash_fn;
            size_t hash = hash_fn(seed1);
            eosio::print("hash  = ", hash);

            eosio::print("bet  = ", compute_random_roll(seed1, seed2));

      }

      ACTION receipt(std::string debug) {
          require_auth(_self);
      }
};

EOSIO_DISPATCH( hello, (act1)(receipt))

For hashes generated by the chain itself, you may read the source code to determine how they are computed.  For hashes generated by third party contracts on the chain, you will need to ask the developers of the contract for assistance.
To keep things organized, Github issues are intended for bugs reporting and features tracking, and Stack Exchange is the right place for any technical support discussions. Thanks!


refactor(v2): lose focus of active sidebar item after click on it

Motivation
After approving of #2625 we have a not very good side effect - when you click on any sidebar item, it gets focus and becomes visible accordingly. I think it is best to remove focus after click on sidebar item. Moreover, this does not affect a11y.

Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Preview.
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

Clicking on Guides > Docs still shows the highlight though - https://deploy-preview-2656--docusaurus-2.netlify.app/docs/using-plugins

Fixed in https://github.com/facebook/docusaurus/commit/fed12e49a43b8dc8970212c872d7589ef59dc03d


Step 6 is ambiguous

Step 6 says to select the user. This isn't clear as what you need to do is double click the user to get to the next page where you can assign a license. Simply clicking the check box or single clicking the user does not give you the option of assigning a license.
It would be helpful in the next step to indicate a page would open as well.
[Enter feedback here]

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

ID: e42a261b-afb1-e8d4-e61d-c9d30cb71a00
Version Independent ID: 3649a463-b7d6-104a-608f-cfcf16b66cb5
Content: Assign licenses to users - Microsoft 365 admin
Content Source: microsoft-365/admin/manage/assign-licenses-to-users.md
Service: o365-administration
GitHub Login: @cmcatee-MSFT
Microsoft Alias: cmcatee

@StuBeck32 closing as per author's feedback. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


chore: remove greenkeeper-postpublish

greenkeeper-postpublish is not required anymore with the new Greenkeeper integration

Coverage remained the same at 98.413% when pulling 2a8688bf3363f6e0ccd20bbf35f168e33336bd50 on remove-greenkeeper-postpublish into 9856f4488a0e8c0e00a595668d4fa7cde89d57e3 on master.


SOLR-16279: remove unused imports from tests

https://issues.apache.org/jira/browse/SOLR-16279
Description
IntelliJ flags unused imports.   likely to be more when some other PR's get merged ;-)
Solution
removed!
Tests
Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
Checklist
Please review the following and check all that apply:

[ ] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[ ] I have created a Jira issue and added the issue ID to my pull request title.
[ ] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[ ] I have developed this patch against the main branch.
[ ] I have run ./gradlew check.
[ ] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

Need to rethink this one!


Doc: Clarify CLI trigger help

It's not obvious to understand how to add a trigger after the function has been created and fn create trigger --help doesn't really help.
COMMAND OPTIONS
  --source value, -s value  trigger source
  --type value, -t value    Todo
  --annotation value        fn annotation (can be specified multiple times)

I assume that --type should be "HTTP" but what is --annotation and --source  for?
Adding a simple example might be alleviate any potential confusion.

I was looking at the code and for the --type value, it says:
Class of trigger, e.g schedule, http, queue

However, I am not sure all of these are supported (HTTP probably is).
For source, it says that this is an "URI path for the trigger (sayHello, say/hello)" -- changing it to this would probably help a bit, right?
There's also a comment for annotations, but it basically says it's a map of annotations that get attached and talks about its length.
CC'ing @JadeRedworth as she was the one that added this code :)


Add alternate path for manpages that conflict with man pages from /bin tools

If you have one of the conflicting tools installed, like coreutils, performing a man on them will result in the following error:
man df
FSUMF061 Cannot format /usr/local/zopen/usr/local/share/man/man1/df.1

The workaround is to use a function like so:
function oldman
{
 (export MANPATH=/usr/man/%L; /bin/man $1)
 }

oldman df

We should also move the man pages to a altman or zotman directory similar to what was done for bin.

Would it make sense to have a prefix on the command name, so that man gsed works?  That way it would be a better out-of-the-box experience.

that would depend on if the altbin is active or not and if active then perhaps having an altman is also required.


next-commerce-v2.vercel.app just shows Internal Server Error

Should this be working or is this repo broken?

hi @col000r , it should be working now, sorry for inconvenience.


Rename utils service to avoid conflicts with other modules

"utils" is quite a common name for a service, and as angular has no namespacing I ran into issues as the app I work on also has a "utils" service. renamed it to avoid such conflicts.

Just noticed, there is another PR to the same issue, but without updated dist/ files - https://github.com/krispo/angular-nvd3/pull/157. The person who'll update it first will get the merge :-)

Done. I originally avoided doing so as, being the only service, there was no standard regarding service prefixes for consistency (one might argue stripping a prefix from them all would be fine too), but here you go :)

Thank you!


2.0.0 Release

#113 - breaking - use SourceContext to populate instrumentation scope name (@nblumhardt)
#118 - documentation for suppressing instrumentation (@nblumhardt)
#122 - update Serilog.Sinks.PeriodicBatching dependency (@nblumhardt)
#123 - add headers and resource attributes to simple configuration methods (@nblumhardt)
#131 - add restrictedToMinimumLevel parameter to configuration methods (@CloudeaSoft)
#125 - specify a non-tracing default HttpMessageHandler on .NET 6.0+ (@KodrAus)
#133 - add includedData parameter to configuration methods (@binginsin)

#113 defaults to mapping SourceContext to the instrumentation scope name, and will omit the SourceContext from the log event payload by default. To preserve it, specify IncludedData.SourceContextAttribute.

I think this one's ready to go; we've built up quite a bit of inventory here, so I'll run some tests on the final binary and send this down the line.


jpostal in msys2 issues

Been trying to get this working in msys2 - the build.sh keeps erroring out
fun descriptive error with --stacktrace
# ./gradlew assemble --stacktrace
:buildJniLib FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':buildJniLib'.
> A problem occurred starting process 'command './build.sh''

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':buildJniLib'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
        at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
        at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
        at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:154)
        at org.gradle.internal.Factories$1.create(Factories.java:22)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:151)
        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:77)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:47)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
        at org.gradle.launcher.Main.doAction(Main.java:33)
        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: org.gradle.process.internal.ExecException: A problem occurred starting process 'command './build.sh''
        at org.gradle.process.internal.DefaultExecHandle.setEndStateInfo(DefaultExecHandle.java:197)
        at org.gradle.process.internal.DefaultExecHandle.failed(DefaultExecHandle.java:327)
        at org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:86)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
        at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
Caused by: net.rubygrapefruit.platform.NativeException: Could not start './build.sh'
        at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:27)
        at net.rubygrapefruit.platform.internal.WindowsProcessLauncher.start(WindowsProcessLauncher.java:22)
        at net.rubygrapefruit.platform.internal.WrapperProcessLauncher.start(WrapperProcessLauncher.java:36)
        at org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:68)
        ... 2 more
Caused by: java.io.IOException: Cannot run program "./build.sh" (in directory "C:\msys64\home\<redacted>\jpostal"): CreateProcess error=193, %1 is not a valid Win32 application
        at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25)
        ... 5 more
Caused by: java.io.IOException: CreateProcess error=193, %1 is not a valid Win32 application
        ... 6 more

So I thought I would run it line by line and it was fine until I got to 'make install'
found an issue with the JAVA_HOME and corrected it - then it could not find jni_md.h
So I modified the ax_jni_include_dir.m4 to assume that it was going to look in the subdirectory win32
But wait - there's more ;)
Now after all that I am getting the error
/c/Java/jdk1.8.0_231/include/win32/jni_md.h:34:9: error: unknown type name ‘__int64’
   34 | typedef __int64 jlong;
      |         ^~~~~~~
make[1]: *** [Makefile:473: libjpostal_parser_la-jpostal_AddressParser.lo] Error 1
make[1]: Leaving directory '/home/<redacted>/jpostal/src/main/c'
make: *** [Makefile:402: install-recursive] Error 1

Am I using the wrong version of java? Any help is appreciated.

found it - though a bit odd
https://stackoverflow.com/questions/27891478/error-when-compiling-in-cygwin
Is this a known issue?  I admit that I am not very experienced with jni.

I am able to now run the build.sh without issue, but I am still getting the same error when running ./grablew assemble.
Any suggestions are appreciated

UPDATE
in build.gradle
change line
  commandLine './build.sh'

to
  commandLine 'sh','./build.sh'

This allows gradlew assemble to run and complete without error, but no tests pass
checkout jpostal again (making those 2 changes) and try again

@jacwalte, thanks for your post! Quite useful. I have a somewhat different problem.
./configure --libdir=$(pwd)/src/main/jniLibs
doesn't seem to be able to find libpostal built with msys2 (not cygwin) - I did add libpostal project to PKG_CONFIG_PATH.
Do you recall if you had to do anything in this department? Your help would be greatly appreciated here! THANK YOU!

@jacwalte - I think I figured my issue out. Another more simple question, did you actually get it to run under Windows?


fix(og): add the missing SITE.website to loadGoogleFonts

Fix the issue where SITE.website cannot be rendered due to missing some font characters

Hello, @xuannghia,
Thanks for the PR.
The code formatting for the build failed.
Can you run pnpm format and update the branch plz.

Oh, my bad, just updated it.


npm package bump up

Thanks for taking care of old dependencies. Due to a lot of conflicts with ESLint migration (#61), I made a separate PR #67 for bumping some of packages you bumped here.
I'll close this PR. Please create a new one if you want to add updates on other packages. Thanks!


Add Schema Name in Grids with Table Name

We tend to have tables with the same name in different schemas.  Would it be possible to add the schema name to any grids where it is showing table name values?  Specifically I'm looking at the Identity Columns tab under Checks and I see a table that has 4% free, so I'll need to go manually see which schema is the one that is full to put in a request to expand the data type.

It would make sense to display the schema.  👍
Notes: The schema name isn't captured by this collection.  It might be available already in the DBObjects table but only if schema snapshots are enabled.   The collection should be changed to capture this.  e.g. OBJECT_SCHEMA_NAME(IC.object_id) or join to the system tables.

Fix included in 2.22.6 🚀


Fix positions of radio buttons and checkboxes.

Bootstrap css expects radio and checkbox input elements to be children of label elements.  If they aren't, the checkbox or radio button is placed 20 pixels too far to the left.  In the dialogs, these are often on or beyond the left edge.

LGTM :+1:


Perform data update neccessary to push a COVID submission through to PASS

This submission is stuck in PASS to due lack of deposit agreement when the UI hung on the user trying to submit. https://pass.jhu.edu/fcrepo/rest/submissions/e4/cc/71/da/e4cc71da-7321-4914-a880-a57dd9b4dc33
Please update the submission's resource to enable it to be picked up and processed by the deposit service.
the necessary updates to the data include:

[x] Attachment of deposit agreement to the metadata blob
[x] Flip submissionStatus attribute of the submission resource  to submitted
[x] Flip submitted attribute of the submission resource to true

Text for the deposit agreement is forth coming.

Sample properly formed metadata blob could be taken from this submisison in demo: https://demo.pass.library.jhu.edu/fcrepo/rest/submissions/04/32/13/31/04321331-9ac2-4759-9c3a-ebb2dc642621

Submission went through!  See https://jscholarship.library.jhu.edu/handle/1774.2/62387


Move the population of the timezones to a numbered migration file as opposed to populating during runtime

Move the population of the timezones to a numbered migration file as opposed to populating during runtime
Re-number migration file

#2037  👈
main

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

Join @nickgraz and the rest of your teammates on  Graphite


[Feature request]  - OAuth2  - support for  discovery standard

Insomnia Version: 5.16.6
Operating System: Windows10

Details
Please add support for OAuth2  discovery support to simplify OAuth2  authentication configuration by one URI.
https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfig
Then we can use following URIs for configuration of endpoints, like:
https://accounts.google.com/.well-known/openid-configuration
https://login.microsoftonline.com/common/.well-known/openid-configuration

Resurrecting this issue. Especially when using OpenID, it'd be nice to specify the Issuer rather than each url.


Fix cycle count integer overflow

This PR removes the cycles member from the mos6502 class and replaces it's use in mos6502::Run with a simple decrement of the parameter n.
This is for the simple reason that cycles overflows pretty quickly (a few mins) causing the emulation to halt (example below).
uint32_t start = cycles; // cycles near 2^32 (say 2^32 -n +1)
while(start + n /* overflow! start + n is now less than cycles*/ > cycles && !illegalOpcode)
/* no code executed*/

The fix is:
while(n-- > 0 && !illegalOpcode)

Which does the same as before with no risk of overflow.
P.s. There's also a bunch of white-space corrections thrown in for free by my editor.

very good. thank you!


adding cfn yml format

Description of changes:
YML is more popular in new learners of cloud and devops so adding option of YML version of cloudformation for the same repo. Everything else is same just json has been converted to yml.

Nice, have you created the infra. using YML or just converted the JSON into YML?

Can you please explain this ?


Arducam shield rev c stopped working

Hello, I'm kind of a beginner here, I started working with Arducam rev c attached to Arduino mega 2560, and I was able to use the examples code to be uploaded to the board and it was working fine, then I have tried to use the video streaming functionality, and I could not manage to make it work , nothing was displaying either on the board LCD nor on the host app.
Anyway I tried to upload the old digital camera example back, the IDE shows nothing wrong but nothing happens on the LCD, still looks blank, used to reload when powered off and back on but now nothing happens at all, if there is something I could do , like a master reboot or ROM clear it would help
any help is appreciated
thanks alot

@MoWizsubhi84
Hi,
Please download our ArduCAM library at https://github.com/ArduCAM/Arduino.git
The demos about rec v is in the ArduCAM/example/REVC folder.
If you want to use our videostreaming demo, you should use our Host_V2 which is in the
ArduCAM\example\host_app\ArduCAM_Host_V2.0_Windows folder.
Let us know if you need more help.
Regards,
ArduCAM suppport team.


Support for private npm registries.

What problem does this feature solve?
We have a custom vue-cli plugin for our companies code, which contains propriety code and we cannot publish it to NPM. We host this on Artifactory. We usually install packages with .npmrc files. but that file is also brought by the plugin. We need an initial way to tell vue cli where to find packages so that vue add command is also usable.
What does the proposed API look like?
vue add command can use --registry flag to pass down the custom registry to either yarn or npm. That way can reduce the plugin installation to a single command
vue add @ourCompany/our-plugin --registry=https://artifactory.com/npm...

Same thing can be applied anywhere vue-cli interacts with npm or yarn

😂Why not add the registry to ~/.npmrc?

We usually install packages with .npmrc files. but that file is also brought by the plugin.

I don't want people to create this file manually, it's an unnecessary step. I would rather do the following.
yarn add @ourCompany/vue-cli-plugin-our-plugin --registry=https://artifactory.com/npm...
vue invoke @ourCompany/our-plugin

Compare
echo "@ourCompany:registry = "https://artifactory.com/npm..." > .npmrc
vue add @ourCompany/our-plugin

to
vue add @ourCompany/our-plugin --registry=https://artifactory.com/npm...

You can use npm install or yarn add to install the plugin with the necessary options, then vue invoke.

yes, that's what we are doing right now. (You can see that in my previous message) I though it would be nicer to be able to tell vue add where to find the package and do everything in a single command and keep it more inlined with the regular usage.
This is akin to --clone for private repos. Vue-cli doesn't ask them to clone the repo themselves and use it locally. It's totally doable that way but there is --clone why not --registry ?

@Akryum
Although we can use  npm install --registry='my private registry' and then vue invoke.
However,  if we use  api.extendPackage in our plugin and the dependencies is from private npm registries  will cause problems.
I hope this feature will be supported soon.
Thanks.

😂Why not add the registry to ~/.npmrc?
That doesn't seem to work. We have a private registry (using Verdaccio) and I can install anything from there using regular npm commands (after executing npm set registry, which adds this setting to the .npmrc file).
But when running vue ui none of our private packages are found when trying to install a dependency.


how do handle pulley operate? oculus touch, don't know how to start H.

how do handle pulley operate? oculus touch, don't know how to start H.

It's a bit confusing for oculus touch, you need to switch to the "walking" mode, make sure your mouse cursor is NOT on the HUD. Use thumbstick left or right to start, not up and down.


The barchar in the the statistics in the home page don't work for Expression Atlas

Expression Atlas is not working in the barchar. When you click it try to look for a different domain "Expression Atlas Experiments".

done


Add webui to latest

Reverts ioBroker/ioBroker.repositories#2588
This PR replaces the PR #2552 which has been merged on error

Please see initial discussions at PR #2552

Last comment by jogibear9988 https://github.com/ioBroker/ioBroker.repositories/pull/2552#issuecomment-1710350611

First of all - THANK YOU for the time and effort you spend to maintain this adapter.
I would like to give some (preliminary) feedback based on my personal oppinion. This is NOT an offical review and @Apollon77 might have several additional suggestions or even a different oppinion to one or the other statement. In addtion this revie ONLY refers to the backend / adapter part - the frontend / www part must be reviewed by @Apollon77.
Please feel free to contact him (or wait for a response from him) if you cannot follow my suggestsions or before you spend major effort.

[ ]  errors reported by adapter checker must be fixed / evaluated
[E500] node_modules found in repo. Please delete it refers to  https://github.com/iobroker-community-adapters/ioBroker.webui/tree/master/www/node_modules. node_modules inside adapter direvctory are invalid. Whether a node_moduls directory insode www tree is acceptable must be evaluated / decided by @Apollon77.
So please wait for his statement regarding this point.
[ ]  adapter has 'singleton' set to true / check compact attribute
As this adapter is allowed to have only one instance, creates subprocesses and seems to need significant resources please evaluate whether its really useful to enable compact mode for this adapter. Eventually set compact = false unless you see real benefits and have tested the adapter in compact mode.

-> I have tested it, and most of the time the adapter does nothing. Only when you add or remove a NPM package

[ ]  reevaluate read/write attribute of states
All states defined at io-package.json have write attribute set to true. Its unlikely, that all those states are designed to operate as input for the adapter and should be written ba other adapters, i.e. state.npm is a feedback state used during npm installation - if I read the code correctly. (https://github.com/iobroker-community-adapters/ioBroker.webui/blob/b49e969ebb297e288a0316a506bd4d95da12ed51/io-package.json#L251)

-> not all, some of them (the onse for the files have none, it's only the npm state who is wrong, I fixed it)

[ ]  onUnload code needs rewrite

https://github.com/iobroker-community-adapters/ioBroker.webui/blob/b49e969ebb297e288a0316a506bd4d95da12ed51/src/backend/main.ts#L201C1-L204C1
Rountine onUnload code must stop all running timers (seem none exist) and spawned subprocessed (i.e. npm installation). In addition onUnload must call the provide callback when completed. See templates or originally created adapter code for details.
In addtion evaluate the use of variable _onUnload. It is written once, but I did not find any usage.

-> I look that I cancel the processes

[ ]  adapt testing to supported node releases
Tests for node 16 is mandatory unless you require node 18 and higher (at package.json).
Tests for node 18 is mandatory as this is the recommended node version and node 16 will be eol and deprected Q3/2023.
Consider adding node 20 tests unless you already know incompatibilities.
So the recommended testmatrix is [16.x, 18.x, 20.x] or [18.x, 20.x] depending on engines requirments setting at package.json
As node 16 is end-of-life now, it's ok to remove node 16 from testing. In this case please require node 18 as minimum node version at package.json. Currently node 16 is required / allowed) but not tested.

In general I must state once more, that this review ONLY refers to the adapter / backend part. The frontend / www part need to be reviewed by @Apollon77.
Thanks for reading and evaluating this suggestions. McM1957
Please add a comment when you have reviewed and fixed the suggestionsor at least commented the suggestions and you think the adapter is ready for a re-review!
Additional notess addressed at @Apollon77 - please consider them during your review

-> I will not add test for 16

[ ]  delivering node_modules below www
Please check whether delivering node_modules below www directory tree is ok or not and eventually adapterchecker should be adapted to handle this (if delivery is ok)

-> I wll not look into adapterchecker

[ ]  using state as command interface
Is using several states as command interface ok? Or wouldn't this be handled by message in a better way?

-> I would it have similar to vis, so I leave it like this

[ ]  on the fly installation (running npm from adapter)
Is it ok that an adapter installs npm packages while the system is running?
Are there sufficient firewalls that the due to some error or user misuse the adapter cannot open scurity holes (i.e. installing anything without sufficient access rights of the user at the system) ?
Are there sufficient firewalls that npm installation does not interfere with other adapters or ioBroker core ?

-> I could use Security of iobroker (if there is one), but yes it is needed like it is in the adapter.

[ ]  complete frontend (www) including installation of npm and uploading needs review. I cannot check this due to missing knowhow in this area. Apollon77 please take this part.

-> I will not add test for 16
As I wrote already node 16 not required, but in this case adapter requirements to node 18. Adapetr should nozt allow installation with an untested node release. Sorry, if my statement wasn't clear enough.

I repeat the last paragrapgh below. You might have missed the header. This üaragraph is addressed to Apollon77, no need to change anything without a feedback from him. I do not expect that you do anything at adapter checker of course.
Whether there could be a security hole created when installing the adapter must be evaluated by Apollon77 too (as far as I read your response, the adapter has no security and hence anybody having access to the web interface or anybody who could write to the states could install potential dangerous npm packages without having elevated rights (root, iobroker account, etc.). If this is correct it looks dangerous. But this discussion should be done with @Apollon77. I only want to create some focus on it - I cannot decide whats good practice within ioBroker.
Additional notes addressed at @Apollon77 - please consider them during your review

[ ] delivering node_modules below www
Please check whether delivering node_modules below www directory tree is ok or not and eventually adapterchecker should be adapted to handle this (if delivery is ok)

[ ] using state as command interface
Is using several states as command interface ok? Or wouldn't this be handled by message in a better way?

[ ] on the fly installation (running npm from adapter)
Is it ok that an adapter installs npm packages while the system is running?
Are there sufficient firewalls that the due to some error or user misuse the adapter cannot open scurity holes (i.e. installing anything without sufficient access rights of the user at the system) ?
Are there sufficient firewalls that npm installation does not interfere with oterh adapters or ioBroker core ?

[ ] complete frontend (www) including installation of npm and uploading needs review. I cannot check this due to missing knowhow in this area. Apollon77 please take this part.

any news ?

Review by Apollon77 accepted (via telegram)


chokidar fires "add" and "addDir" events on first watching a directory but not on re-watching a directory.

Describe the bug
When chokidar first watches a directory, it very helpfully emits "add" and "addDir" events for each file and folder in that directory.
However, if you unwatch that directory and then re-watch it, chokidar does not emit the expected "add" and "addDir" events for the files and folders in that directory.
Versions (please complete the following information):

Chokidar version 3.5.2
Node version 16.11.0
OS version: Kubuntu 21.04

To Reproduce:
index.js:
let chokidar = require('chokidar');
const directory = "/home/georgehill/Dropbox/test1";
const options = {
    disableGlobbing: true,
    depth: 0,
};
let watcher = chokidar.watch(directory, options);
watcher.on('all', handleAll);
function handleAll(event, path) {
    console.log(`${event}: ${path}`);
}
watcher.on("ready", handleReady);
async function handleReady() {
    console.log("Ready!");
    await watcher.unwatch(directory);
    console.log("Unwatched!");
    watcher.add(directory);
    console.log("Re-watched!");

Unwatched!
Re-watched!
addDir: /home/georgehill/Dropbox/test1
^C

Expected behavior
I expected that, upon re-watching the directory, chokidar would emit an "add" or an "addDir" event for each file/folder in the directory.
Instead, chokidar only emitted a single "addDir" event corresponding to the directory being rewatched.

https://user-images.githubusercontent.com/30507409/152896675-d997385c-a652-431b-ac05-dd071490eaad.mp4
I ran into the same problem when I tried to write a file browser. The re-watch of the directory does not trigger the addition events that I rely on when adding items to the list.
Linux: arch

I am also seeing this issue. My work around at the moment is recreating the entire file system watcher in order to properly trigger the initial watch event. I have a similar UI to @gavr123456789 where the user is able to remove/add directories to watch. If they remove an existing directory and then re-add it, it will not trigger the initial file add events.


Add Option to display both Metric and Imperial units

Hello there! I would like to have an option both metric and imperial units displayed. I live in the USA, where imperial units are most often used, but I am trying to get myself more familiarized with Metric. Having both units displayed would be very useful for that, and for people who travel abroad often.
Is having this added a possibility?
Thank you!

@Batcastle I don't i will add such a feature. It would require a major rewrite, but also rethinking the whole layout (cause it would obviously take more place) for a very specific use case.
i hope you understand.

@Batcastle not sure if it can solve your issue but now you can define each units using imperial or metric


Ensure truncate element is wrapped in *FullValue

Ensure we're always providing the correct inputs on Truncate restrictions for drains.
Update the test to provide a correct example of a draining DoFn. Add logging to help validate progress.
Test remains having a manual drain however, so it remains filtered until programmatic drain is supported.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @hnnsgstfssn (likely won't link)

Excellent! Merging.


Attributify with TypeScript (strict mode)

For some reason, I can't seem to get attributify mode working with TypeScript (strict mode enabled).
I get a whole slew of errors explaining that the attributify properties don't exist on the HTMLAttributes<T> type:
Here's one example:
src/components/Footer.tsx:28:18 - error TS2322: Type '{ children: Element; border: string; p: string; }' is not assignable to type 'HTMLAttributes<HTMLElement>'.
  Property 'border' does not exist on type 'HTMLAttributes<HTMLElement>'.

   return <footer border="gray-400 t-1" p="y-8">

I can resolve these build errors by disabling TypeScript's strict mode, however this is not suitable for my project.
It should be noted that these errors only occur when building my project (tsc && vite build). These errors aren't encountered when running Vite's dev server.
Environment:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Have you tried with https://github.com/windicss/windicss/pull/322 ?

Have you tried with #322 ?

Thanks for sharing! I did try and search the issues, but didn't find this one!
For reference if others are using preact like me, I had to use a slightly different .d.ts to resolve the errors:
import { AttributifyAttributes } from 'windicss/types/jsx'

declare module 'preact' {
  namespace JSX {
    interface HTMLAttributes extends AttributifyAttributes {}
  }
}

New question, the AttributifyAttributes interface doesn't seem to include 'rounded' as a utility name?


Revert "ltp: handle low accuracy of time in some platfrom"

Reverts apache/nuttx-apps#2555, since the implementation(https://github.com/apache/nuttx/pull/13283) change.

Lets wait for feedback from @GUIDINGLI. Reading apache/nuttx#13283 this part may be necessary?

with the + 1 in the last patch, ltp change isn't necessary, so let's merge it.


Branchname

Fixed for "use Hashmap #33".

We have confirmed that there are no problems, so we will merge them.


[ML] Added OS Image Patching Property for Compute Instances

Description
Surfaces OS Image data as a property for Compute Instances. When getting a Compute Instance, users will be able to see whether it is on the latest OS Image version, the current OS Image version, and the latest OS Image version using the os_image_metadata property.
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-ml


TypeError from hooks.py

File "C:\AI\Code- EntNet\flemming\entity_networks\hooks.py", line 58, in after_run
(not self._minimize and current_value > self._best_value) or \
TypeError: '>' not supported between instances of 'float' and 'NoneType'

This is because the value of self._best_value is None at the beginning. So it can't be compared.
Simply change the order of the conditions in hooks.py, line 58 can solve this.
For example, you can change
if (self._minimize and current_value < self._best_value) or \
   (not self._minimize and current_value > self._best_value) or \
   (self._best_value is None):

to
if (self._best_value is None) or \
   (self._minimize and current_value < self._best_value) or \
   (not self._minimize and current_value > self._best_value):

I got the same idea

Weird. I'm not sure how that ever worked. I've updated the code to reflect @liuny05's suggestion.


I can't generate a dynamic TableHeaderColumns

I want generate 'x' bootstrap table with all its dynamics headers and when I try it, appear this errror:

Warning: Each child in an array or iterator should have a unique "key" prop.

This is my code. How i can generate all dynamic headers with his correct key? Thanks!
{ channelList.map ((channels, i) =>
                                    <BootstrapTable data={channels.data} maxHeight={200} scrollTop={ 'Bottom' } selectRow={ selectRowMeasures } options={ optionsSort } striped hover>
                                        {channels.header.map((headerLabel,x) => {
                                            return <TableHeaderColumn key={x} dataField={headerLabel.id} dataSort={ true }>{headerLabel.label}</TableHeaderColumn>
                                        })}
                                    </BootstrapTable>
                                )}

@carlosgg93 you forgot to assign keyField on BootstrapTable. It is tell react-bootstrap-table which column is unique. :)

are you sure that row have a SINGAL field?

Yes, i think..
this is the header array:
{"id":"SIGNAL","label":"DVB-T","units":""},{"id":"POWER","label":"Power","units":"dBµV"},{"id":"CN","label":"C/N","units":"dB"},{"id":"STATUS","label":"STATUS","units":""},{"id":"MER","label":"MER","units":"dB"},{"id":"LM","label":"LM","units":"dB"},{"id":"CBER","label":"CBER","units":""},{"id":"VBER","label":"VBER","units":""}
And this is the data array:
{"DVB-T":"33","POWER":56.695156,"CN":42.012447,"MER":34,"CBER":0.000084,"VBER":1e-7,"LM":16.4,"STATUS":"LOCKED","SIGNAL":"33"}
And this is the code:
{ channelList.map ((channels, i) =>                                     <BootstrapTable  data={channels.data} keyField='SIGNAL' maxHeight={200} scrollTop={ 'Bottom' } selectRow={ selectRowMeasures } options={ optionsSort } striped hover>                                         {/*<TableHeaderColumn isKey dataField='id' width='1' dataSort={ true }></TableHeaderColumn>*/}                                         {channels.header.map((headerLabel,x) => {                                             return <TableHeaderColumn  dataField={headerLabel.id} dataSort={ true }>{headerLabel.label} {headerLabel.units}</TableHeaderColumn>                                         })}                                     </BootstrapTable>                                 )}

HI @carlosgg93 your keyFIeld should be id.

Hi @AllenFang ,I can not fix it, I have put keyField = "id" and the error still appears
And this is the code:
{ channelList.map ((channels, i) =>                                     <BootstrapTable data={channels.data} keyField="id" maxHeight={200} scrollTop={ 'Bottom' } selectRow={ selectRowMeasures } options={ optionsSort } striped hover>                                         {channels.header.map((headerLabel) => {                                             return <TableHeaderColumn  dataField={headerLabel.id} dataSort={ true }>{headerLabel.label} {headerLabel.units}</TableHeaderColumn>                                         })}                                     </BootstrapTable>                                 )}

sorry I'm also confuse about your header array and data array. maybe a quick repo for me to reproduce will be good. and please make sure you understand your data. thanks

Ok, The first I want to generate as many bootstrap tables as positions have in array channel list
This is the array channelList, in this case it has 2 positions,  channelList[0] contains a header and a data and the position 1 also :
[{"header":[{"id":"SIGNAL","label":"DVB-T","units":""},{"id":"POWER","label":"Power","units":"dBµV"},{"id":"CN","label":"C/N","units":"dB"},{"id":"STATUS","label":"STATUS","units":""},{"id":"MER","label":"MER","units":"dB"},{"id":"LM","label":"LM","units":"dB"},{"id":"CBER","label":"CBER","units":""},{"id":"VBER","label":"VBER","units":""}],"data":[{"DVB-T":"33","POWER":56.695156,"CN":42.012447,"MER":34,"CBER":0.000084,"VBER":1e-7,"LM":16.4,"STATUS":"LOCKED","SIGNAL":"33"}]},{"header":[{"id":"SIGNAL","label":"DVB-T2","units":""},{"id":"POWER","label":"Power","units":"dBµV"},{"id":"CN","label":"C/N","units":"dB"},{"id":"STATUS","label":"STATUS","units":""},{"id":"MER","label":"MER","units":"dB"},{"id":"LM","label":"LM","units":"dB"},{"id":"CBER","label":"CBER","units":""},{"id":"LBER","label":"LBER","units":""}],"data":[{"DVB-T2":"53","DVBT2_PROFILE":"BASE","PLP":100,"POWER":52.102112,"CN":31.292336,"MER":35.599998,"CBER":0.000001,"LBER":0.000001,"LM":33.400002,"STATUS":"LOCKED","SIGNAL":"53,PROFILE=BASE,PLP=100"}]}]
Then in render method I make a map that runs this array and creates "X" bootstrap tables (in this case 2)
this is the code:
{ channelList.map ((channels, i) => <BootstrapTable data={channels.data} keyField="id" maxHeight={200} scrollTop={ 'Bottom' } selectRow={ selectRowMeasures } options={ optionsSort } striped hover> {channels.header.map((headerLabel) => { return <TableHeaderColumn dataField={headerLabel.id} dataSort={ true }>{headerLabel.label} {headerLabel.units}</TableHeaderColumn> })} </BootstrapTable> )}

oh, I see,  sorry for some wrong instruction, I think the keyField should be SIGNAL if it is unique. But you said even you set keyField as SIGNAL abut the problem still remain?
I'll try again on my local, thanks

Yes @AllenFang, when I set keyField to "SIGNAL" this error appears :

Warning:Each child in an array or iterator should have a unique "key" prop.

And I think that the field "SIGNAL" is unique, you can check it in the array channelList that I sent you in the previous message.
I wait your answer, Thanks!! :)

Sorry, I still can't reproduce this issue....
Following is my example code:
const tables = [ {
  header: [ { id: 'SINGAL', label: 'singal' }, { id: 'POWER', label: 'power' } ],
  data: [ { SINGAL: 'tester1', POWER: 'power1' }, { SINGAL: 'tester3', POWER: 'example' }, { SINGAL: 'tester7', POWER: 'power1' } ]
}, {
  header: [ { id: 'SINGAL', label: 'singal' }, { id: 'POWER', label: 'power' } ],
  data: [ { SINGAL: 'tester1', POWER: 'power1' } ]
}, {
  header: [ { id: 'SINGAL', label: 'singal' }, { id: 'POWER', label: 'power' } ],
  data: [ { SINGAL: 'singal_1', POWER: 'power1' }, { SINGAL: 'tester3', POWER: 'example' }, { SINGAL: 'singal_3', POWER: 'power123' } ]
} ];

export default class BasicTable extends React.Component {
  render() {
    return (
      <div>
        {
          tables.map((table, i) => {
            return (
              <BootstrapTable key={ i } data={ table.data } keyField='SINGAL'>
                {
                  table.header.map(column => <TableHeaderColumn dataField={ column.id }>{ column.label }</TableHeaderColumn>)
                }
              </BootstrapTable>
            );
          })
        }
      </div>
    );
  }
}

Give me a simple repo or fully and minimal example for me to reproduce this problem, thanks


group should be a system group

it's confusing that the user is declared as a system user, but the group not. this should be consistent.

Better late than never =) I finally did a rebase to the master. If you want I can also rebase to the 3.0.x branch...

@tobru yes can you? Thanks!

Here we are :recycle:
git rebase upstream/3.0.x
First, rewinding head to replay your work on top of it...
Applying: group should be a system group
Applying: Support adding arbitrary values to settings.py
Applying: Better comment about default value of reports_count
Applying: group should be a system group
Using index info to reconstruct a base tree...
M	manifests/init.pp
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.

Hi @tobru so do you need help with this? (Sorry for the long silence.)

If you want you can add this change manually to the latest branch. Or close this PR... As you like =)

On further examination, thanks @ffrank, we can actually land this without any change to metadata.json

@nibalizer do it so, Number one.

Hello:
Can this be rebased and squashed, if it's still needed?

Closing for lack of movement. Please reopen if needed.


Add Python resources

There are two books with modules and functions to do DiD in python:

https://mixtape.scunning.com/09-difference_in_differences#bacon-decomposition-theorem
https://theeffectbook.net/ch-DifferenceinDifference.html?panelset=python-code

I will organize the information and added when I have more time.
If anyone finds more information they are welcome to contribute

I haven't had time to add anything on the Python side—and there are a bunch of R package pages that I still need to write up—but I wanted to flag the following by @bernardodionisi: https://differences.readthedocs.io/en/latest/

To add to this list - I have implemented Gardner's did2s estimator for pyfixest: link =)


Unable to install when using an alternative asset bundler

I really like what you all are building here. It looks like a great gem! Unfortunately, when attempting to install the engine using the rails active_analytics:install:migrations command, I am presented with this error:
NoMethodError: undefined method `assets' for #<Rails::Application::Configuration

I am running a Rails 7.0.2 app using vite.js for all asset bundling. Sprockets and the asset pipeline are entirely removed, along with all references to config.assets.
FWIW, when googling this error, I found the hotwire-rails repo had to deal with it as well. Their solution was to wrap the asset installation in a conditional and (I assume) supply an npm package as an alternative. For reference, the PR for that can be found here. Hope that helps!

Thanks for the kind words :-)
I added the condition to prevent from crashing when there is no asset pipeline. However I don't feel like managing an external npm package for the assets. Feel free to do it although.

I can completely understand. I was attempting to use this on a side project that consumes my own free time. Perhaps I'll revisit it in the future if I'm looking for something new to do.
Thanks for the response!


New club teams are not instantly shown the club overview

Adding a new weight team to a club does not refresh the club overview page.

Can you reevaluate if this issue still persists after the changes?
https://wrestling-scoreboard.oberhauser.dev/
I didn't experience that any more.


Communication Issue - V5.05

Describe the bug
When trying to connect to the panel I get a login issue. After changing the UDL password from a number to a string, it appears to resolve itself until I get an unexpected start error (a few seconds after it connects). Is it an issue with V5.05 or could it be fixed?
Application version
1.1.5
Texecom alarm type
Premier Elite 48. With a ComIP
Home Assistant version
core-2021.9.7 - OS 6.4
Debug log
2021-09-22 21:04:01 - INFO: Connected to MQTT
2021-09-22 21:04:01 - TRACE: Executing command 22
2021-09-22 21:04:01 - TRACE: Received data chunk of length 38
2021-09-22 21:04:01 - INFO: Fetched panel info: Premier Elite 48 (V5.05.00LS1)
2021-09-22 21:04:01 - TRACE: Executing command 25
2021-09-22 21:04:01 - TRACE: Received data chunk of length 11
2021-09-22 21:04:01 - DEBUG: Publishing to texecom2mqtt/power: {"battery_charging_current":0,"battery_voltage":13.63,"panel_current":261,"panel_voltage":13.63}
2021-09-22 21:04:01 - TRACE: Executing command 37
2021-09-22 21:04:01 - TRACE: Received data chunk of length 7
2021-09-22 21:04:01 - TRACE: Executing command 34
2021-09-22 21:04:02 - TRACE: Received data chunk of length 70
2021-09-22 21:04:02 - INFO: Fetched Area A: Area A
2021-09-22 21:04:02 - INFO: Fetched Area B: Area B
2021-09-22 21:04:02 - INFO: Fetched Area C: Area C
2021-09-22 21:04:02 - INFO: Fetched Area D: Area D
2021-09-22 21:04:02 - TRACE: Executing command 3
2021-09-22 21:04:02 - TRACE: Received data chunk of length 14
/snapshot/app/dist/texecom/texecom.js:81
            throw new Error(`Unexpected start, expected 't', got 0x${headerStart.toString(16)}`);
            ^
Error: Unexpected start, expected 't', got 0x78
    at Texecom.parseBuffer (/snapshot/app/dist/texecom/texecom.js:81:19)
    at Socket.<anonymous> (/snapshot/app/dist/texecom/texecom.js:32:18)
    at Socket.emit (events.js:315:20)
    at addChunk (_stream_readable.js:295:12)
    at readableAddChunk (_stream_readable.js:271:9)
    at Socket.Readable.push (_stream_readable.js:212:10)
    at TCP.onStreamRead (internal/stream_base_commons.js:186:23)

Downgraded to V5.02 and its working now.


tex formatting failure

The top two equations here succeed with nbsphinx but not myst_nb.    Reference PR #98

FYI @phaustin this shoud hopefully be fixed in ExecutableBookProject/MyST-Parser#123

Hi @chrisjsewell -- trying this, but I'm getting the following error when I try to do make html in docs:
first I do
pip install myst-nb==0.6.0a1
pip install myst-parser[sphinx]==0.8.0a3

then checkout current tip
% git log -4
commit f07f2253297df60a33fb23b32c71af0b2c819016 (HEAD -> master, origin/master, origin/HEAD)
Author: AakashGC<EMAIL_ADDRESS>Date:   Wed Apr 1 06:35:29 2020 +1100

    Documentation for unit testing (#112)

% make html
Running Sphinx v2.4.4
WARNING: while setting up extension jupyter_sphinx: extension 'jupyter_sphinx' has no setup() function; is it really a Sphinx extension module?
Adding copy buttons to code blocks...
making output directory... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 13 source files that are out of date
updating environment: Executing: /Users/phil/repos/MyST-NB/docs/use/interactive.ipynb
Execution Succeeded: /Users/phil/repos/MyST-NB/docs/use/interactive.ipynb
Executing: /Users/phil/repos/MyST-NB/docs/use/glue.ipynb
Execution Succeeded: /Users/phil/repos/MyST-NB/docs/use/glue.ipynb
Executing: /Users/phil/repos/MyST-NB/docs/use/orphaned_nb.ipynb
Execution Succeeded: /Users/phil/repos/MyST-NB/docs/use/orphaned_nb.ipynb
Executing: /Users/phil/repos/MyST-NB/docs/use/hiding.ipynb
Execution Succeeded: /Users/phil/repos/MyST-NB/docs/use/hiding.ipynb
Executing: /Users/phil/repos/MyST-NB/docs/use/basic.ipynb
Execution Succeeded: /Users/phil/repos/MyST-NB/docs/use/basic.ipynb
[new config] 13 added, 13 changed, 0 removed
/Users/phil/repos/MyST-NB/docs/examples/jupyter_sphinx.md:26: WARNING: Unknown directive type 'jupyter-execute'
/Users/phil/repos/MyST-NB/docs/examples/jupyter_sphinx.md:37: WARNING: Unknown directive type 'jupyter-execute'
/Users/phil/repos/MyST-NB/docs/examples/jupyter_sphinx.md:41: WARNING: Unknown directive type 'jupyter-execute'
/Users/phil/repos/MyST-NB/docs/examples/jupyter_sphinx.md:49: WARNING: Unknown directive type 'jupyter-execute'
/Users/phil/repos/MyST-NB/docs/examples/jupyter_sphinx.md:64: WARNING: Unknown directive type 'jupyter-execute'
/Users/phil/repos/MyST-NB/docs/examples/jupyter_sphinx.md:71: WARNING: Unknown directive type 'jupyter-execute'
/Users/phil/repos/MyST-NB/docs/examples/jupyter_sphinx.md:97: WARNING: Unknown directive type 'jupyter-execute'
/Users/phil/repos/MyST-NB/docs/examples/jupyter_sphinx.md:113: WARNING: Unknown directive type 'jupyter-execute'
/Users/phil/repos/MyST-NB/docs/examples/jupyter_sphinx.md:121: WARNING: Unknown directive type 'jupyter-execute'
/Users/phil/repos/MyST-NB/docs/examples/jupyter_sphinx.md:128: WARNING: Unknown directive type 'jupyter-execute'

Exception occurred:
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/myst_parser/docutils_renderer.py", line 94, in __init__
    self.reporter = self.document.reporter  # type: Reporter
AttributeError: 'MarkdownIt' object has no attribute 'reporter'
The full traceback has been saved in /var/folders/_k/0f_hlw7x2hq4vtcq0h8bvsm40000gr/T/sphinx-err-8510nzpt.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make: *** [html] Error 2

full log:
# Sphinx version: 2.4.4
# Python version: 3.7.6 (CPython)
# Docutils version: 0.16 release
# Jinja2 version: 2.11.1
# Last messages:
#   Executing: /Users/phil/repos/MyST-NB/docs/use/basic.ipynb
#   Execution Succeeded: /Users/phil/repos/MyST-NB/docs/use/basic.ipynb
#   [new config]
#   13 added, 13 changed, 0 removed
#   reading sources... [  7%] develop/contributing
#   reading sources... [ 15%] develop/index
#   reading sources... [ 23%] examples/index
#   reading sources... [ 30%] examples/jupyter_sphinx
#   reading sources... [ 38%] index
#   reading sources... [ 46%] use/basic
# Loaded extensions:
#   sphinx.ext.mathjax (2.4.4) from /Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinx/ext/mathjax.py
#   sphinxcontrib.applehelp (1.0.2) from /Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinxcontrib/applehelp/__init__.py
#   sphinxcontrib.devhelp (1.0.2) from /Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinxcontrib/devhelp/__init__.py
#   sphinxcontrib.htmlhelp (1.0.3) from /Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinxcontrib/htmlhelp/__init__.py
#   sphinxcontrib.serializinghtml (1.1.4) from /Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinxcontrib/serializinghtml/__init__.py
#   sphinxcontrib.qthelp (1.0.3) from /Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinxcontrib/qthelp/__init__.py
#   alabaster (0.7.12) from /Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/alabaster/__init__.py
#   myst_parser (0.7.1) from /Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/myst_parser/__init__.py
#   sphinx_togglebutton (0.0.2) from /Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinx_togglebutton/__init__.py
#   jupyter_sphinx (unknown version) from /Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/jupyter_sphinx/__init__.py
#   myst_nb (0.6.0a1) from /Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/myst_nb/__init__.py
#   sphinx_copybutton (0.2.10) from /Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinx_copybutton/__init__.py
#   pydata_sphinx_theme (unknown version) from /Users/phil/repos/pydata-sphinx-theme/pydata_sphinx_theme/__init__.py
Traceback (most recent call last):
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinx/cmd/build.py", line 276, in build_main
    app.build(args.force_all, filenames)
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinx/application.py", line 349, in build
    self.builder.build_update()
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 299, in build_update
    len(to_build))
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 311, in build
    updated_docnames = set(self.read())
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 418, in read
    self._read_serial(docnames)
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 439, in _read_serial
    self.read_doc(docname)
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 479, in read_doc
    doctree = read_doc(self.app, self.env, self.env.doc2path(docname))
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinx/io.py", line 316, in read_doc
    pub.publish()
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/docutils/core.py", line 218, in publish
    self.settings)
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/sphinx/io.py", line 130, in read
    self.parse()
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/docutils/readers/__init__.py", line 77, in parse
    self.parser.parse(self.input, document)
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/myst_nb/parser.py", line 58, in parse
    md_parser, env, tokens = nb_to_tokens(ntbk)
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/myst_nb/parser.py", line 78, in nb_to_tokens
    md = default_parser().disable("front_matter", ignoreInvalid=True)
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/myst_parser/main.py", line 32, in default_parser
    MarkdownIt("commonmark", renderer_cls=renderer_cls)
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/markdown_it/main.py", line 37, in __init__
    self.renderer = renderer_cls(self)
  File "/Users/phil/a50037/envs/cdp/lib/python3.7/site-packages/myst_parser/docutils_renderer.py", line 94, in __init__
    self.reporter = self.document.reporter  # type: Reporter
AttributeError: 'MarkdownIt' object has no attribute 'reporter'

Firstly, you only need to do pip install myst-nb==0.6.0a1 (actually now 0.6.0a2), that will also install myst-parser.
Secondly, this release isn't from origin/master, it's from the markdown-it branch. From the log above you can see that its loading extension myst_parser (0.7.1), which is obviously not right 😁

oops -- ok, now building with https://github.com/phaustin/MyST-NB/tree/tex_format/docs/examples/austin_issue
which produces https://phaustin.github.io/MyST-NB/

Things look good with $$ delimiters:  https://phaustin.github.io/MyST-NB/lab8/lab8_dollar_delim.html

But parsing has problems with a single multiline equation with latex equation delimters:
https://phaustin.github.io/MyST-NB/lab8/lab8_env_delim.html

(also note that the half-space \, isn't working in this case for the continuity equations)

When I do mulitple sphinx builds, I'm getting recursive copies of a folder called jupyter_execute which contains the py and ipynb files and another copy of jupyter_execute -- is an existence check missing for that folder?

But parsing has problems with a single multiline equation

I might be one step ahead of you here lol. There is now the myst-nb==0.6.0 non-alpha release on master, and the final fix here was to allow new lines in inline math: ExecutableBookProject/myst-parser.example-project#16

I think I'm catching that?  https://github.com/phaustin/MyST-NB/blob/tex_format/docs/examples/austin_issue/environment.yml

I think I'm catching that? https://github.com/phaustin/MyST-NB/blob/tex_format/docs/examples/austin_issue/environment.yml

Have you re-installed since earlier today though? For the first two, in the first instance, what I need are additional tests to add to https://github.com/ExecutableBookProject/markdown-it-py/blob/master/tests/test_math/fixtures_dollar.md, of the form:
Test Title:
.
markdown text
.
expected HTML text
.

When I do mulitple sphinx builds, I'm getting recursive copies of a folder called jupyter_execute which contains the py and ipynb files and another copy of jupyter_execute -- is an existence check missing for that folder?

As in the folder looks like?
_build/
  jupyter_execute/
    nb.ipynb
    nb.py
    jupyter_execute/
      nb.ipynb
      nb.py
      jupyter_execute/
     ...

re: recursion -- that's right

~/repos/MyST-NB/docs/examples/austin_issue myst [tex_format] phil@rail16
% ls -lR jupyter_execute | grep jupyter
drwxr-xr-x  4 phil  staff  128 Apr  1 08:53 jupyter_execute
jupyter_execute/jupyter_execute:
drwxr-xr-x  3 phil  staff   96 Apr  1 08:53 jupyter_execute
jupyter_execute/jupyter_execute/jupyter_execute:
jupyter_execute/jupyter_execute/jupyter_execute/lab8:
jupyter_execute/jupyter_execute/lab8:
jupyter_execute/lab8:

weird! I haven't encountered that, will probably test this after merging #116 (in the next day or so), which is the last major-ish update planned in the near future.
the path is "selected" here: https://github.com/ExecutableBookProject/MyST-NB/blob/18288f6290ebfea648b0a7e00bd0bf3c8a82fc3b/myst_nb/parser.py#L298
If your running in dev mode, you could try adding some print commands around here to see whats going on

will do

Looking over the markdown-it-test, I think my issue is just misunderstanding the current requirements for myst syntax.  That is, I was assuming that the following legal nbconvert/nbsphinx math:
\begin{equation}
\frac {\partial u}{\partial x} + \frac{\partial v}{\partial y} = - \, \frac{\partial w}{\partial z}
\end{equation}

would work with myst, but it looks like extra $$ delimiters are also mandatory,  i.e.
$$
\begin{equation}
\frac {\partial u}{\partial x} + \frac{\partial v}{\partial y} = - \, \frac{\partial w}{\partial z}
\end{equation}
$$

works as expected.

Yes absolutely; this is the general CommonMark implementation. Note that, since markdown-it is pluggable, you could always add extensions to do these kind of things; at the expense of decreased parsing speed, increasing complexity etc

yes, I think it would be good to call that pretty prominently in the documentation, since everybody with an nbsphinx notebook stack is going to need to do a filtering pass to add dollar signs.

When I do mulitple sphinx builds, I'm getting recursive copies of a folder called jupyter_execute which contains the py and ipynb files and another copy of jupyter_execute -- is an existence check missing for that folder?

As in the folder looks like?
_build/
  jupyter_execute/
    nb.ipynb
    nb.py
    jupyter_execute/
      nb.ipynb
      nb.py
      jupyter_execute/
      ...

@choldgraf in your testing, make sure to look out for this

I haven't run into this specifically before, but have found some weirdness with the output_folder so I'll keep an eye out

@chrisjsewell and @choldgraf -- good news on this compatibility issue, I think.  The difference between the standard notebook html and the current myst html isn't due to the parser -- it's the mathjax configuration in the header.  Here's current jupyter:
https://github.com/phaustin/MyST-NB/blob/tex_format/docs/examples/austin_issue/lab8/lab8_nbconvert.html#L13032-L13037
the current MyST-NB template doesn't set the configuration parameters.  If we want compatibility with current notebooks we just need a way to set processEnvironments: true  as an option or the default.

cheers @phaustin, thats one for you @choldgraf

Good catch - are we +1 on supporting markdown flavors where Jupyter technically departs from CommonMark markdown? I don't think that supporting latex-style math delimiters is in the CM spec, so this should be an intentional decision that we also note in the docs. I think I'm +1 on it, just checking with y'all...

It looks like since about 2015 or so Jupyter has been recommending the $$-free approach -- if you scoll down to the bottom here you'll see they consider $$ to be legacy-only.  So I don't think it necessarily needs to be the default, but it would be important to have a way to set  it so new math-heavy users with their own Jupyter notebooks can start using myst without having to convert a ton of legacy ipynb files.  Also, even if we are lucky enough to get markdown-it accepted as the new default jupyer parser, I'm presuming it's unlikely the backward compatibility break would be worth it?
(and for us it would be  helpful if there was a general way to configure the header template, since it's going to be quite a bit more complicated to specify things when mathjax is in turn nested inside pagedjs. Specifically, we're going to need to modify the base pydata-sphinx-theme mathjax.py to something like this:

I certainly take your point about legacy support. It's a bit strange though that they consider $ delimiters legacy, when the actual mathjax documentation states

By default, MathJax will also render all environments outside of delimiters, e.g., \begin{matrix}...\end{matrix} would be processed even if it is not in math mode delimiters, though you are encouraged to use proper delimiters for these cases to make your files more compatible with actual LaTeX.

(https://docs.mathjax.org/en/latest/input/tex/delimiters.html)
I certainly feel that $ delimiters are the accepted way of doing this (at least outside Jupyter):

https://talk.commonmark.org/t/mathematics-extension/457/31
https://talk.commonmark.org/t/mathjax-extension-for-latex-equations/698/17

But as mentioned, parsing of latex math environments can just be added as an (optional) markdown-it(-py) extension.

OK cool, I'll add in the default jupyter notebook mathjax config into the header for jupyter book pages.
Also just an FYI, I don't think that Jupyter has an "official" stance on dollar signs in mathjax. I think this link is the closest thing to the "official" jupyter markdown standard: https://nbformat.readthedocs.io/en/latest/markup.html#what-flavor-of-markdown-does-the-notebook-format-support

yes, but note in that link they set processEnvironments: true, which means, don't require the $$ -- treat these latex environments:  http://docs.mathjax.org/en/latest/input/tex/macros/#environments  in the same way that markdown treats raw html -- just pass it through to let the browser javascript deal with it.
I think the $$ format should be given the highest profile, and that it will eventually win out because it permits reliable equation cross-referencing.  The myst version of the docs should flip the emphasis of the  jupyter examples, using $$ for everything but mentioning at the end that raw latex is also acceptible.

Another complication I can see coming is with the latex writer -- if there's a mixture of the new equation number labeling (which turns on numbers only for labeled equations) and raw unstared environments,
that are passed through as straigh latex, then
\begin{align}
\end{align}

would would be numbered in latex, but  the unlabled:
$$
\begin{align}
\end{align}
$$

presumably wouldn't -- something to call out in the documentation, I guess.

agreed about the emphasis being on $$. I think in general "explicit is better than implicit" and I like asking users to explicitly say "this block is a math block" rather than inferring it from some common latex terms

Looks like we can ensure  equation number compatibility between html and latex versions of myst documents by making mathtools the default math package instead of amsmath, and turning on its option to only number referenced equations

Hmm - that one sounds like a discussion worth having. Want to create a new issue for it so that we can iterate there? I am not sure the implications of mathtools vs. amsmath...

will do

Before we get on to all these things bout mathjax and mathtools, I think its important to baseline what the actual parsing/rendering process is for markdown -> sphinx, as it seems all this stuff is making it a lot more complicated than it maybe needs to be!
This is how it currently works for $ delimited math, and how ideally it should also work for identifying latex math environments directly

In the markdown-it-py texmath extension we identify dollar delimited inlines and blocks: https://github.com/ExecutableBookProject/markdown-it-py/blob/2a01f4ea865f885e7e34c2a861020e884b9bb14f/tests/test_math/test_math.py#L43

e.g.
$$
a=1
c
b=2$$  (abc)

goes to a parsed token:
  {
        "type": "math_block_eqno",
        "tag": "math",
        "nesting": 0,
        "attrs": None,
        "map": None,
        "level": 0,
        "children": None,
        "content": "\\na=1\\n\\nc\\nb=2",
        "markup": "$$",
        "info": "abc",
        "meta": {},
        "block": True,
        "hidden": False,
    }

In myst_parser.DocutilsRenderer we take that token and convert it to a docutils.nodes.math_block (plus a target if it has a label): https://github.com/ExecutableBookProject/MyST-Parser/blob/8e505e4c569692df2a6367f7072ba526d30d003c/myst_parser/sphinx_renderer.py#L49

<document source="docname">
    <target ids="equation-abc">
    <math_block docname="mock_docname" label="abc" nowrap="False" number="1" xml:space="preserve">
        a=1
        c
        b=2

Note at the moment, the nowrap option of https://www.sphinx-doc.org/en/1.0/ext/math.html, is always set to False, but it may be the case that we want to do additional check here whether the math is enclosed in latex tags of not and set nowrap accordingly.
But now sphinx knows that this is math and should act accordingly.
What I would like to understand then is where mathjax enters the equation (pun intended!).
Do we actually need #121, or can we handle it in a more output agnostic way, as above?

@chrisjsewell I think that's worth discussion as well...just seems like it'd be better in separate / modular issues instead of this mega issue with a "tex is broken" title.
To your point about output-agnosticity, I am definitely +1 on that...we can treat #121 as a stop-gap just to encourage consistency with the notebook UI for now

instead of this mega issue with a "tex is broken" title.

Well you can always just change the name lol 😜

If you wanna leave it in this issue that's fine, but in my experience having multiple different conversations in the same github issues makes it harder to reference that issue later on, harder for newcomers to join discussion, and results in issue pages that take like 10 seconds to load in their entirety...

I'm easy either way; as long as we have a reference of the previous discussion

we can keep it here if we think it'll be a relatively tightly-scoped conversation. Alternatively we can keep lobbying GitHub to have an option for "latest comments at the top" UI 😄

good point, that would be helpful!

I'd vote for a new issue, since the stuff about recursion, etc. is noise at this point.  Making a pull request that adds the jupyter docs math notebook, since I think it would be good to have specific behavior to talk about

I would vote for a new issue -- I also think a LaTeX reference in the docs would be great to start documenting default packages and settings. It would be a nice resources to have later down the track to track options that will need pass through support for both html and latex

Discussion migrated to #126


Sometimes on first open page looks strange

R E C U R S I O N

Steps to reproduce:

start monitorrent: python server.py (note: without --debug flag)
open monitorrent in browser
login to monitorrent
close page
stop monitorrent
start monitorrent
open monitorrent http://localhost:6687/#/torrents


Update django.urls imports for newer Django

django.conf.urls was deprecated in Django 3 and removed in Django 4.

Thanks for pulling this in -- any chance of a new PyPI release including these changes?


something is making my typeahead behave as if cached, even though LRUcache is 0

I'm just hoping someone can tell me what would be causing it.
I have tracked through the code and found that the LRUCache is being set to 0, so I guess my cache: false on the remote object is correct.
I have a query that is being executed, what is coming out of my filter - map is an array with 3 items in it.
hasQueryChangedSinceLastFocus  is true.
However there is are more than 3 results showing.
Basically I am about the point where to fix this issue I should - on render - loop through suggestions and remove the suggestions that shouldn't be there.
I am just hoping someone knows something a bit better than that which I can do at filter time to make sure that there will only be my results displayed? I don't really care how brutish it is, since I need to make it work above all else and I have spent more time on this than I spent on setting up an elasticsearch server and writing a map reduce framework for analytics data to put into that server.
How do I get rid of all cached results, force them to be gone. Nothing anywhere. everything must go. Please clarify because it is taking a lot of time to go through both the typeahead and the bloodhound code to try to figure it out.

as always happens when I'm exasperated enough to ask for help I find the problem or at least a clue shortly afterwards.