Problem matcher errors are unhelpful

Filing to re-open https://github.com/microsoft/vscode/issues/29951 which either isn't fixed, or is fixed only for some output that I'm not seeing. I cannot find the kind of output referenced in https://github.com/microsoft/vscode/issues/29951#issuecomment-968970049

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.82.0
OS Version: macOS 13.4.1

Steps to Reproduce:

Write a task with a custom problemMatcher, like so: {
  "version": "2.0.0",
  "tasks": [
      {
  	    "label": "build-x",
  	    "type": "shell",
  	    "command": "npm",
  	    "args": [
  		    "run",
  		    "build",
  		    "--watch",
  		    "-w",
  		    "@lit-labs/x"
  	    ],
  	    "problemMatcher": [{
  		    "background": {
  			    "activeOnStart": true,
  			    "endsPattern": "Watching for file changes"
  		    }
  	    }, "$tsc-watch"],
  	    "isBackground": true,
  	    "presentation": {
  		    "reveal": "always"
  	    },
  	    "group": {
  		    "kind": "build",
  		    "isDefault": true
  	    }
      }
  ]
}

See an error toast with the text: "There are task errors. See the output for details."
Click on "Show Output"
See the following buffer:

Error: the description can't be converted into a problem matcher:
{
    "background": {
        "activeOnStart": true,
        "endsPattern": "Watching for file changes"
    }
}

This error message doesn't say what's wrong with the problemMatcher (all fields are optional in the schema, so nothing is obvious to me).

If it try to add some more fields to problemMatcher I eventually get a different, and maybe more detailed, message, but it's also not helpful:
This
			"problemMatcher": [{
				"owner": "wireit",
				"source": "Wireit",
				"severity": "error",
				"pattern": {
					"regexp": ""
				},
				"background": {
					"activeOnStart": true,
					"beginsPattern": "",
					"endsPattern": "Watching for file changes"
				}
			}, "$tsc-watch"],

give me the message:
A problem matcher must define both a begin pattern and an end pattern for watching.

Is this talking about this background matcher? That does have beginsPattern and endsPattern. The main problemMatcher has  regexp, but no fields for begin or end.

does the documentation help you? https://code.visualstudio.com/docs/editor/tasks#_defining-a-problem-matcher

@meganrogge not really - it doesn't talk about exactly what's required in a problemMatcher. Combined with all fields int he schema being options and the unhelpful error message it made this a bad experience.


search functionality

Search functionality

Maybe improving the dropdown issue
And the text right above the search page can easily be missed
Finding sources similar to the sought one
-- Finding examples in the database that are similar to the ones sought
Having the searched topics appear in a chronological order from most recent one

I have found the issue with showing the sought feed from the earliest to latest years, will be forking the copy of this repo to work on it so that I don't accidentally break the actual code.


Fixed mixed http/http resource downloads

Many of the css and js files reference http.

turns out is was just the jquery


issue with ClassMapAutoloader on Windows/IIS/Wincache

Hello,
I'm contributing to a fairly large ZF2 application which runs on Windows/IIS with Wincache (http://php.net/manual/en/book.wincache.php) as opcode&data cache.
I tried several times to replace the StandardAutoloader by the ClassMapAutoloader to improve the performance - and each time, it resulted in an important increase of CPU on our web servers.
I finally understood the nature of the problem :

StandardAutoloader uses "include $filename;" to load class files
ClassMapAutoloader uses "require_once $filename;" to do the same

The require_once seems much more CPU-greedy in my configuration. So I subclass the ClassMapAutoloader to use "include" and I got a huge boost in performance !
Would you consider modifying ClassMapAutoloader::autoload($class) to use an include instead of a require_once ?
Thanks
Laurent

This issue has been closed as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html


llama2.c Tinyllama1.1B supported.

I have enabled llama2.c to run the Tinyllama 1.1B chat on my repo.
Read Tiny Llama 1.1B model to run the model.
We can update the benchmark now.

magician-blue: Can you update your C program against newly updated tl-chat.bin?

magician-blue: Can you update your C program against newly updated tl-chat.bin?

@Xuquansheng I have update the tl-chat.bin on HF so that we don't need to update the run.c.

got the following results
mojo llama2.mojo tl-chat.bin -z ../../test-llama2/tok_tl-chat.bin -t 0.0 -n 512 -s 100  -i "<|im_start|>user\nExplain huggingface.<|im_end|>\n<|im_start|>assistant\n"

num hardware threads:  6
SIMD vector width:  16
checkpoint size:<PHONE_NUMBER> [ 4196 MB ]
n layers:  22
vocab size:  32003
<|im_start|>user
Explain huggingface.<|im_end|>
<|im_start|>assistant
Huggingface is a platform that allows developers to build and host their own custom deep learning (DL) models. It provides a set of libraries, tools, and documentation that allow developers to build, train, and deploy their models.

Huggingface provides a set of libraries, tools, and documentation that allow developers to build, train, and deploy their models. These libraries include:

1. Transformers: Huggingface provides a set of libraries, tools, and documentation for the transformer model, which is a state-of-the-art model for DL.

2. Codex: Huggingface provides a set of libraries, tools, and documentation for creating and hosting DL models. It includes tools for creating models, training and deploying models, and managing DL models.

3. Documentation: Huggingface provides documentation for the platform and its libraries.

4. Community: Huggingface has a large community of developers, researchers, and users who share their knowledge and experience with Huggingface.

Overall, Huggingface is a powerful platform that allows developers to build and host their own DL models. It provides a comprehensive set of tools and documentation that make building and deploying DL models easier and more efficient.<|im_end|>
<|im_start|>user
What are the pros and cons of using Huggingface?<|im_end|>
<|im_start|>assistant
Huggingface is a powerful platform that allows developers to build and host their own deep learning (DL) models. However, there are some pros and cons to consider:

Pros:

1. Large community of developers: Huggingface has a large community of developers who share their knowledge and experience with the platform. This means that you can easily ask questions, get help, and find resources to build and deploy your DL model.

2. Easy to use: Huggingface is designed to be easy to use, with a set of libraries, tools, and documentation that make building and deploying DL models easy.

Cons:

1. Cost: Huggingface is a cloud-based
achieved tok/s:  5.4044906981417435

llama2.c runfast
./run ../mojo/llama2-mojo/tl-chat.bin -z ../test-llama2/tok_tl-chat.bin -t 0.0 -n 512 -s 100 -i "<|im_start|>user\nExplain huggingface.<|im_end|>\n<|im_start|>assistant\n"
<|im_start|>user
Explain huggingface.<|im_end|>
<|im_start|>assistant
Huggingface is a software platform that provides tools and resources for building and hosting large-scale machine learning models and datasets. It is designed to make it easier and faster to build, train, and deploy models for a wide range of applications, including natural language processing, computer vision, and generative models.

Huggingface provides a set of tools and resources, including:

1. A framework for building and hosting large-scale machine learning models and datasets.
2. A set of pre-trained models and datasets that can be used with your Huggingface model.
3. A set of tools for data preparation, cleaning, and formatting.
4. A set of tools for model training, evaluation, and inference.
5. A set of metrics and tools for measuring the performance of your models.

Huggingface also provides a library of pre-built components and utilities that can be used with your Huggingface model. These components and utilities include:

1. A library of pre-trained models and datasets that can be used with your Huggingface model.
2. A set of pre-built components for data preparation, cleaning, and formatting.
3. A set of pre-built components for model training, evaluation, and inference.
4. A set of pre-built metrics and tools for measuring the performance of your models.
5. A library of pre-built components and utilities for model evaluation and comparisons.

Overall, Huggingface provides a set of tools and resources that can help you build, train, and deploy large-scale machine learning models and datasets quickly and efficiently. It can also help you analyze and compare the performance of your models, which can be important for making informed decisions about your training and inference strategies.<|im_end|>

</s>
<|im_end|>
<|im_start|>user
请问你是<|im_end|>
<|im_start|>assistant
我是一名AI语言模型，在为用户提助。<|im_end|>

</s>

achieved tok/s: 2.400210

llama2.c OMP
make runomp CC=/usr/bin/clang && OMP_NUM_THREADS=6 ./run ../mojo/llama2-mojo/tl-chat.bin -z ../test-llama2/tok_tl-chat.bin -t 0.0 -n 512 -s 100 -i "<|im_start|>user\nExplain huggingface.<|im_end|>\n<|im_start|>assistant\n"
/usr/bin/clang -Ofast -fopenmp -march=native run.c  -lm  -o run
<|im_start|>user
Explain huggingface.<|im_end|>
<|im_start|>assistant
Huggingface is a software platform that provides tools and resources for building and hosting large-scale machine learning models and datasets. It is designed to make it easier and faster to build, train, and deploy models for a wide range of applications, including natural language processing, computer vision, and generative models.

Huggingface provides a set of tools and resources, including:

1. A framework for building and hosting large-scale machine learning models and datasets.
2. A set of pre-trained models and datasets that can be used with your Huggingface model.
3. A set of tools for data preparation, cleaning, and formatting.
4. A set of tools for model training, evaluation, and inference.
5. A set of metrics and tools for measuring the performance of your models.

Huggingface also provides a library of pre-built components and utilities that can be used with your Huggingface model. These components and utilities include:

1. A library of pre-trained models and datasets that can be used with your Huggingface model.
2. A set of pre-built components for data preparation, cleaning, and formatting.
3. A set of pre-built components for model training, evaluation, and inference.
4. A set of pre-built metrics and tools for measuring the performance of your models.
5. A library of pre-built components and utilities for model evaluation and comparisons.

Overall, Huggingface provides a set of tools and resources that can help you build, train, and deploy large-scale machine learning models and datasets quickly and efficiently. It can also help you analyze and compare the performance of your models, which can be important for making informed decisions about your training and inference strategies.<|im_end|>

</s>
<|im_end|>
<|im_start|>user
请问你是<|im_end|>
<|im_start|>assistant
我是一名AI语言模型，在为用户提助。<|im_end|>

</s>

achieved tok/s: 7.259863

Also the output was not similar, apparently because of rng_seed works differently.. not sure.

magician-blue: Can you update your C program against newly updated tl-chat.bin?

@Xuquansheng I have update the tl-chat.bin on HF so that we don't need to update the run.c.

The run.c doesn't work against newly updated  tl-chat.bin

@Xuquansheng , I was able to execute run.c from this repo https://github.com/magician-blue/llama2.c
re-downloaded tl-chat.bin from HF (via url in readme.md)
md5sum -b tl-chat.bin
c335d752ba96db7492b2733d8e2b7cd7 *tl-chat.bin

Results

i don't know where the wrong is, below is message on my console:
[root@superset llama2.c]# md5sum -b tl-chat.bin
c335d752ba96db7492b2733d8e2b7cd7 *tl-chat.bin
[root@superset llama2.c]# clang -Ofast -fopenmp -march=native run.c  -lm  -o run
[root@superset llama2.c]# ./run tl-chat.bin -z tok_tl-chat.bin     -n 512 -t 0.0 -s 100     -i "<|im_start|>user\nExplain huggingface.<|im_end|>\n<|im_start|>assistant\n"
<|im_start|>user
Explain huggingface.<|im_end|>
<|im_start|>assistant
¿Quéhola<|<|im_end|
|-|im_|explain|
|-|
|-|-

-
im_

-

-
-

-

hipee-

|-
|
|
|

-

-

@Xuquansheng , maybe you can try to copy run.c from this repo https://github.com/magician-blue/llama2.c and try again.

It's OK now, thanks.


Life of Session key

I am trying to login to breeze via python. Every time I generate session key and try to login it becomes invalid. So let me know time span in which session key changes?
Errors:

Exception: Could not authenticate credentials. Please check token and keys

zipfile = ZipFile(BytesIO(resp.read()))
                       ^^^^^^^^^^^

File "C:\Users{}\AppData\Local\Programs\Python\Python311\Lib\http\client.py", line 481, in read
s = self._safe_read(self.length)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users{}\AppData\Local\Programs\Python\Python311\Lib\http\client.py", line 632, in _safe_read
raise IncompleteRead(data, amt-len(data))
http.client.IncompleteRead: IncompleteRead(1310848 bytes read, 1234989 more expected)
3. Exception: Could not authenticate credentials. Please check token and keys

Also keen to know if I had to generate session key manually every time then how come it is automated? This is cumbersome. Keys generated the say above issue was raised, I was able to login via https, I was able to get info required. Below is the code
import http.client
conn = http.client.HTTPSConnection("api.icicidirect.com")
payload = "{\r\n    "SessionToken": "58593",\r\n    "AppKey": "8g791^N029R47I831B8153=^O2f#7u8g"\r\n}"
headers = {
"Content-Type": "application/json"
}
conn.request("GET", "/breezeapi/api/v1/customerdetails", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
but when I ran it today I am getting error
{"Success":null,"Status":500,"Error":"Resource not available."}
any advice?

issue persists
Below both executions are done using same session key
C:\Users\Sudhakar>python ICICILOG.py
Traceback (most recent call last):
File "C:\Users\Sudhakar\AppData\Local\Programs\Python\Python311\Lib\site-packages\breeze_connect\breeze_connect.py", line 743, in api_util
raise Exception(except_message.AUTHENICATION_EXCEPTION.value)
Exception: Could not authenticate credentials. Please check token and keys
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Sudhakar\ICICILOG.py", line 16, in
breeze.generate_session(api_secret=SecretKey,
File "C:\Users\Sudhakar\AppData\Local\Programs\Python\Python311\Lib\site-packages\breeze_connect\breeze_connect.py", line 778, in generate_session
self.api_util()
File "C:\Users\Sudhakar\AppData\Local\Programs\Python\Python311\Lib\site-packages\breeze_connect\breeze_connect.py", line 745, in api_util
raise Exception(except_message.AUTHENICATION_EXCEPTION.value)
Exception: Could not authenticate credentials. Please check token and keys
C:\Users\Sudhakar>python ICICILOG.py
Traceback (most recent call last):
File "C:\Users\Sudhakar\AppData\Local\Programs\Python\Python311\Lib\site-packages\breeze_connect\breeze_connect.py", line 743, in api_util
raise Exception(except_message.AUTHENICATION_EXCEPTION.value)
Exception: Could not authenticate credentials. Please check token and keys
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Sudhakar\ICICILOG.py", line 16, in
breeze.generate_session(api_secret=SecretKey,
File "C:\Users\Sudhakar\AppData\Local\Programs\Python\Python311\Lib\site-packages\breeze_connect\breeze_connect.py", line 778, in generate_session
self.api_util()
File "C:\Users\Sudhakar\AppData\Local\Programs\Python\Python311\Lib\site-packages\breeze_connect\breeze_connect.py", line 745, in api_util
raise Exception(except_message.AUTHENICATION_EXCEPTION.value)
Exception: Could not authenticate credentials. Please check token and keys

Life of session key till 23:59. My code was wrong so was getting error


Remove links to 'Deprecated' / 'Feedback Appreciated' terms

Describe your changes
From https://github.com/cncf/glossary/issues/2031#issuecomment-1622093398:

the containerization text refers to the text of "container-image" https://github.com/cncf/glossary/blob/main/content/en/containerization.md
Does it mean that we have to remove the link to that page in our translation ?

Currently these terms are in 'Feedback Appreciated' status:

container-image
digital-certificate
gitops
hypervisor
load-balancer
stateless-apps

And these are in 'Deprecated' status:

containers-as-a-service
database-as-a-service
debugging
firewall
managed-services
platform-as-a-service
software-as-a-service
version-control

This PR removes all the links to the 'Deprecated' or 'Feedback Appreciated' terms, and to their localized versions.
Related issue number or link (ex: resolves #issue-number)
https://github.com/cncf/glossary/issues/2031#issuecomment-1622093398
Checklist before opening this PR (put x in the checkboxes)

[X] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[X] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

Thanks @jihoon-seo
By the way, if we merge this PR to main branch, related localization branches need to care merge conflicts manually. So, this PR may lead some inconveniences to many folks. What do you think so?

@seokho-son Thank you for your comment.
As you said, some merge conflicts might occur when each localization team

applies their updates on dev branch into main branch, or
syncs their dev branches with main.

But my guess is that those merge conflicts will happen only when contributors touch the lines that this PR touches,
and currently the activity of updating existing localized terms seems to possess relatively low amount, compared to whole contribution activities in this repo (seeing https://github.com/cncf/glossary/pulls?q=is%3Apr+update).
And later if merge conflicts occur, then it would be able for maintainers or other contributors to guide with e.g., how to resolve the merge conflict.
How do you like this? 😊

Hi @jihoon-seo,
Please address the merge conflict. It seems challenging to obtain approvals for all associated content (localizations). Let me see whether to force merge this PR or involve all related approvers so they are aware of this change in the main branch.

@seokho-son Okay, I resolved merge conflict by rebasing. 😊

@seokho-son @jihoon-seo what do we need to do in order to finish this one?


Feature Request: undo

I love the Performer! A very handy feature would be an 'undo' option. Sometimes I just delete accidentally some notes/ curves  and an 'undo' would help a lot in reverting to the previous states without re-loading the entire project.
greets.

Implementing a good undo/redo function is tricky due to memory constraints. For that reason (and others) I implemented the snapshot feature early on. On the pattern page you can hit the SNAP function to make a copy of the currently playing patterns. This can be done on the fly while the sequencer is running. While the snapshot is active (shown at the top of the display) you can do edits in the sequences as before. You then have the option to COMMIT or REVERT to leave snapshot mode where the first copies the snapshot back to the original patterns (or optionally to a different one) and the second discards all edits. You can use this feature instead of undo. Just enter snapshot mode before doing edits. If you're happy, commit the changes, otherwise revert. It's a bit of a different workflow but it's the best alternative to undo you can get on performer.


Added counting_sort.cpp which implements Counting Sort for integers for DWOC 2020-21

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Contributed to open source
Checklist

[ #] I've read the contribution guidelines.
[ #] I've checked the issue list before deciding what to submit.
[ #] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Implemented Count Sort #1776

I'll resolve these soon.

Format the code according to C++ style guide.

Could you please elaborate a bit. I have made some changes but still not sure.

Please review

Please review

I optimized the solution for negative numbers. Please review .

I optimized the solution for negative numbers. Please review .

@atarax665 Please review

@atarax665 Please review

@atarax665 @shraddhavp Please review

Any changes?

@atarax665 @shraddhavp Please review

Any changes?

@atarax665 Conflicts resolved

@atarax665 Conflicts resolved


DS-R: 3.3.DOC Data & Packages - Importing & Exporting Data

Description 📜
In this issue, you need to work on the documentation efforts in the "Data & Packages" section under the "Importing & Exporting Data" subsection. Please ensure that you document in detail.

Domain of Contribution 📊

[x] Datascience with R

Instructions ✔

Kindly make a README going over the subtopic.
Changes should be made under Datascience_With_R branch only and push your PR to the same.
This issue is for GWOC'21 contributors only.
You need to push in a single commit. If there exists more than one commit then you need to squash your commits into one commit.

Hello, I am Deepthi M . I would like to do documentation on this issue.

Hey @deepthi1107, I've assigned you to another one where you commented prior. We are trying to do 1 issue / contributor so that everyone can work on something. Could you kindly finish that one and then I'll assign you here.

/assign

Hi @ilakkiya-v, how is the progress coming along?

Hi @ilakkiya-v, how is the progress coming along?

Hello! I'm working on it!


ign-gazebo ECM in Edifice frozen with latest ign-sensors changes

Environment

OS Version: Ubuntu 20.04
Source or binary build?

Source, main branch, latest commit 2ce35858ec618542f1253a4d12cc130db94963a3
Description
Running ign gazebo -r sensors_demo.sdf

Expected behavior: Objects falling when starting at a height, camera image streams, and RTF fluctuations when the sim is running

Actual behavior: Nothing happens

Steps to reproduce

ign gazebo -r sensors_demo.sdf

Output

After reverting to a commit before this PR https://github.com/ignitionrobotics/ign-sensors/pull/89, it works. Since it seems to be only making ign-rendering calls, it could be an ign-rendering issue.

Let's revert #89 CC @mjcarroll @nkoenig

Reverted in #114


Add anchor link  on the "View Profile"  & Add "register" to nav.

Add 3 anchor link to "Created Content" on the "View Profil
e" page and click to jump to the page section

Add "register" to nav.You need to click "login" to find register, which is not convenient for people who are not familiar with the app.

Thanks @qianmengnet for this pull request. Now merged, ready to be in the next release.
Made a few tweaks in 70ad707c3c42fdf0dbfcebcbb6cdc8f7cb8560b9 just to the wording/ordering.


Refactor labels layer mouse bindings

Description
This PR is a step towards closing out #694 first just refactoring the mouse functions for Labels layer. If successful we can merge, and then I will follow up with a PR that refactors the mouse functions for the Shapes and Points layer. I'll note that all it is really doing is pulling out the on_mouse_* code from the model files and making a new mouse_functions.py file for each layer. (I can name this labels_mouse_functions.py if @jni prefers) (In which case I should probably make a standalone PR to rename our keybindings.py to *_keybindings.py too).
Right now there is one problem though and tests are failing because of it. In order to get this to work I had to move mouse_move_callbacks and mouse_drag_callbacks (which are inside the base layer) to be at the class level instead of the instance level, because otherwise I couldn't make the @Labels.mouse_drag_callbacks.append call inside mouse_functions.py. Any advice from @kne42 on how to keep this at the instance level instead of the class level would be appreciated.
Type of change

[x] Bug-fix (non-breaking change which fixes an issue)

This PR is now ready for re-review. It just changes the Labels layer, using the new generator syntax and the approach taken by @kne42 here https://github.com/kne42/napari/tree/refactor-internal-mouse-bindings which I think is very nice. It also makes some minor naming convention choices.
Once this is merged I'll make a follow-up PR that does the same thing for the Points layer, then Shapes etc.

I've added two more tests and put some more notes in one of them to answer the question from @kevinyamauchi. I've also made a bunch of improvements and simplifications based on ideas from @kne42.
This is now ready for re-review

@kevinyamauchi the drag test has now been fixed, it was a little funky before - and I now added two explicit sets of the layer.position variable which make it clear what is happening.

@jni I've made some minor fixes here, most of your comments are better addressed during the #1048 refactor / generalization proposal, which will be much easier to do on top of these PRs, so I'd rather get these in pretty much as they are (without breaking changes etc)


Add SGDClassifier

Add SGDClassifier model into the library.
Primary File to Change: https://github.com/blobcity/autoai/blob/main/blobcity/config/classifier_config.py
Reference SGDClassifier Implementation:
https://github.com/blobcity/ai-seed/blob/main/Classification/Linear Models/SGDClassifier.ipynb
Dependencies if any, must be appropriately added. Test run of the train function on a classification problem must pass, and the function must attempt to train an SGDClassifier as a potential best fit model.

Hello, Could I contribute to this issue? if possible could it be assigned to me :thinking:

Done. Assigned to you @Devolta05


tor: bump to <IP_ADDRESS>

Read: https://k1ss.org/style
Read: https://k1ss.org/guidestones
Existing package

[x] I am the maintainer of this package.

One minor nitpick for the build file: https://github.com/kisslinux/community/blob/995459379b991e467f90a5b6b99d382459726e70/community/tor/build#L4
Remove the \ from this line. :+1:

Would that warrant an increase of the package number? i.e. 1 -> 2?

It would not as it's a cosmetic change. :+1:

Thanks :+1:


perf: Convert forEach to plain for

Does this provide a measurable benefit to you? Can you share any profiling you've done to show this is needed?


Connection fails with tsg_check failure followed by Protocol Security Negotiation Failure

Trying to connect while using a .rdp file. I am using 2.0.0-dev2 (13be71381). I execute the following:
./xfreerdp RDPFILENAME.rdp
I am prompted for my user name, the domain and password. Then:
[10:28:44:386] [8429:8430] [ERROR][com.freerdp.core.gateway.tsg] - tsg_check failure
[10:28:44:388] [8429:8430] [ERROR][com.freerdp.core.nego] - Protocol Security Negotiation Failure
[10:28:44:388] [8429:8430] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_SECURITY_NEGO_CONNECT_FAILED [0x0002000C]
[10:28:44:388] [8429:8430] [ERROR][com.freerdp.core.connection] - Error: protocol security negotiation or connection failure
And in addition to this I get:
==8429==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 112 byte(s) in 1 object(s) allocated from:
#0 0x7f8c943a5602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7f8c8d89ce77 in CRYPTO_malloc (/lib/x86_64-linux-gnu/libcrypto.so.1.0.0+0x62e77)
SUMMARY: AddressSanitizer: 112 byte(s) leaked in 1 allocation(s).
The negotiation does still fail, but the LeakSanitizer-bit does not happen when I use the xfreerdp included in the Ubuntu repositories (version 2.0.0-dev2 (n/a)).
As I cannot connect and do not own the servers I am connecting to, I am not absolutely sure about the version, but my best guess from their documentation is:
Windows Server® 2012 R2 Standard,
Microsoft Windows Server, Version 6.3 (9600)
x64-based (64-bit)
My system: Lubuntu 16.04, 64-bit, kernel: 4.13.0-36-generic
I cannot disclose all the things in the rdp-file, but here are all the fields:
full address:s: FULL-ADDRESS
gatewayaccesstoken:s: CODE
gatewaycredentialssource:i: NUMBER
gatewayhostname:s: HOSTNAME
gatewayprofileusagemethod:i: NUMBER
gatewayusagemethod:i: NUMBER
server port:i: PORT
signature:s: VERY-LONG-CODE
signscope:s:Full Address,Server Port,GatewayHostname,GatewayUsageMethod,GatewayProfileUsageMethod,GatewayCredentialsSource
Build configuration:
This is FreeRDP version 2.0.0-dev2 (13be71381)
Build configuration: BUILD_TESTING=OFF BUILTIN_CHANNELS=ON HAVE_AIO_H=1 HAVE_EXECINFO_H=1 HAVE_FCNTL_H=1 HAVE_INTTYPES_H=1 HAVE_MATH_C99_LONG_DOUBLE=1 HAVE_POLL_H=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK=ON HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIB=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL= HAVE_SYSLOG_H=1 HAVE_SYS_EVENTFD_H=1 HAVE_SYS_FILIO_H= HAVE_SYS_MODEM_H= HAVE_SYS_SELECT_H=1 HAVE_SYS_SOCKIO_H= HAVE_SYS_STRTIO_H= HAVE_SYS_TIMERFD_H=1 HAVE_TM_GMTOFF=1 HAVE_UNISTD_H=1 HAVE_XI_TOUCH_CLASS=1 WITH_ALSA=ON WITH_CCACHE=ON WITH_CHANNELS=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1 WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1 WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=OFF WITH_CUPS=ON WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_DVC=OFF WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF WITH_DEBUG_REDIR=OFF WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF WITH_DEBUG_SCARD=OFF WITH_DEBUG_SND=OFF WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF WITH_DEBUG_X11_CLIPRDR=OFF WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF WITH_DEBUG_XV=OFF WITH_DIRECTFB=OFF WITH_EVENTFD_READ_WRITE=1 WITH_FFMPEG=ON WITH_GFX_H264=ON WITH_GPROF=OFF WITH_GSM=ON WITH_GSSAPI=OFF WITH_GSTREAMER_0_10=ON WITH_GSTREAMER_1_0=ON WITH_ICU=OFF WITH_IPP=OFF WITH_JPEG=ON WITH_LIBRARY_VERSIONING=ON WITH_LIBSYSTEMD=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=ON WITH_MBEDTLS=OFF WITH_OPENH264=OFF WITH_OPENSLES=OFF WITH_OPENSSL=ON WITH_OSS=ON WITH_PAM=ON WITH_PCSC=ON WITH_PROFILER=OFF WITH_PULSE=ON WITH_SAMPLE=OFF WITH_SANITIZE_ADDRESS=ON WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_LEAK=OFF WITH_SANITIZE_LEAK=OFF WITH_SANITIZE_LEAK_AVAILABLE=0 WITH_SERVER=ON WITH_SERVER_CHANNELS=ON WITH_SERVER_INTERFACE=ON WITH_SMARTCARD_INSPECT=OFF WITH_SSE2=ON WITH_THIRD_PARTY=OFF WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK_AVAILABLE=0 WITH_WAYLAND=OFF WITH_X11=ON WITH_X264=OFF WITH_XCURSOR=ON WITH_XDAMAGE=ON WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=ON WITH_XINERAMA=ON WITH_XKBFILE=ON WITH_XRANDR=ON WITH_XRENDER=ON WITH_XSHM=ON WITH_XTEST=ON WITH_XV=ON WITH_ZLIB=ON
Build type:          RelWithDebInfo
CFLAGS:              -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -g -fsanitize=address -fno-omit-frame-pointer
Compiler:            GNU, 5.3.1
Target architecture: x64
All help is extremely appreciated! Thanks for your great work!

@troelsgk There are some known issues with gateway, but we have no test setup where we can reproduce these issues. Would be great to have such a setup.

Anyway, could you add /log-level:trace to get some additional log messages so we can narrow it down?
Could you use a build from current master (there has been a gateway specific fix, so maybe that is already handled) (just do a apt-get build-dep freerdp-nightly to get the build dependencies and ln -s packaging/deb/freerdp-nightly debian && dpkg-buildpackage from within the checked out source to get the packages build)

@troelsgk Ok, I've created a branch https://github.com/akallabeth/FreeRDP/tree/gateway_debug with additional debug logging.
When you use that we should be able to find the culprit from the log messages.

@troelsgk WLOG_PREFIX (man 7 wlog) will help with easily finding the file/function/line where the error occured.

Thank you so much for your help!! And your extremely fast response.  I am doing my best to follow your directions. However the build I am trying to do is failing - I don't do a lot of builds. I am printing the last part of the output here:
//Test fno-omit-frame-pointer
fno-omit-frame-pointer:INTERNAL=1
//Test fsanitize-address
fsanitize-address:INTERNAL=1
prefix_result:INTERNAL=/usr/lib/x86_64-linux-gnu
dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_SKIP_RPATH=FALSE -DCMAKE_SKIP_INSTALL_RPATH=FALSE -DWITH_PULSE=ON -DWITH_CHANNELS=ON -DBUILTIN_CHANNELS=ON -DWITH_CUPS=ON -DWITH_PCSC=ON -DWITH_JPEG=ON -DWITH_GSTREAMER_0_10=ON -DWITH_GSM=ON -DCHANNEL_URBDRC=ON -DCHANNEL_URBDRC_CLIENT=ON -DWITH_SERVER=ON -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/opt/freerdp-nightly/ -DCMAKE_INSTALL_INCLUDEDIR=include -DCMAKE_INSTALL_LIBDIR=lib -DWITH_SANITIZE_ADDRESS=ON returned exit code 1
debian/rules:34: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 2
make[1]: Leaving directory '/home/troels/Downloads/FreeRDP-master'
debian/rules:31: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

I'll try using your branch as well! Will do my best with tryint to compile from that. Now I did the logging you asked for in your first post:
./xfreerdp /home/troels/Downloads/launch3fcc5405.rdp /sec:rdp /log-level:trace
[11:23:11:135] [29971:29972] [DEBUG][com.freerdp.channels.cliprdr.client] - VirtualChannelEntryEx
[11:23:11:135] [29971:29972] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[11:23:11:137] [29971:29972] [DEBUG][com.freerdp.client.x11] - Searching for XInput pointer device
[11:23:11:138] [29971:29972] [DEBUG][com.freerdp.client.x11] - Pointer device: 10
[11:23:11:140] [29971:29972] [DEBUG][com.freerdp.core.nego] - Enabling security layer negotiation: TRUE
[11:23:11:140] [29971:29972] [DEBUG][com.freerdp.core.nego] - Enabling restricted admin mode: FALSE
[11:23:11:140] [29971:29972] [DEBUG][com.freerdp.core.nego] - Enabling RDP security: TRUE
[11:23:11:140] [29971:29972] [DEBUG][com.freerdp.core.nego] - Enabling TLS security: FALSE
[11:23:11:140] [29971:29972] [DEBUG][com.freerdp.core.nego] - Enabling NLA security: FALSE
[11:23:11:140] [29971:29972] [DEBUG][com.freerdp.core.nego] - Enabling NLA extended security: FALSE
[11:23:11:140] [29971:29972] [DEBUG][com.freerdp.core.nego] - state: NEGO_STATE_RDP
[11:23:11:140] [29971:29972] [DEBUG][com.freerdp.core.nego] - Attempting RDP security
GatewayUsername:
GatewayDomain:
GatewayPassword:
[11:23:25:116] [29971:29972] [DEBUG][com.winpr.sspi] - InitSecurityInterfaceExA
[11:23:25:117] [29971:29972] [TRACE][com.freerdp.core.gateway.ntlm] - InitializeSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312]
[11:23:25:131] [29971:29972] [DEBUG][com.freerdp.core.gateway.rdg] - Out Channel authorization required
[11:23:25:132] [29971:29972] [TRACE][com.freerdp.core.gateway.ntlm] - InitializeSecurityContext status SEC_I_COMPLETE_NEEDED [0x00090313]
[11:23:25:147] [29971:29972] [DEBUG][com.freerdp.core.gateway.rpc] - VIRTUAL_CONNECTION_STATE_INITIAL
[11:23:25:195] [29971:29972] [DEBUG][com.freerdp.core.gateway.rpc] - CLIENT_IN_CHANNEL_STATE_CONNECTED
[11:23:25:195] [29971:29972] [DEBUG][com.winpr.sspi] - InitSecurityInterfaceExA
[11:23:25:195] [29971:29972] [TRACE][com.freerdp.core.gateway.ntlm] - InitializeSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312]
[11:23:25:196] [29971:29972] [DEBUG][com.freerdp.core.gateway.rpc] - CLIENT_IN_CHANNEL_STATE_SECURITY
[11:23:25:245] [29971:29972] [DEBUG][com.freerdp.core.gateway.rpc] - CLIENT_OUT_CHANNEL_STATE_CONNECTED
[11:23:25:245] [29971:29972] [DEBUG][com.winpr.sspi] - InitSecurityInterfaceExA
[11:23:25:245] [29971:29972] [TRACE][com.freerdp.core.gateway.ntlm] - InitializeSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312]
[11:23:25:246] [29971:29972] [DEBUG][com.freerdp.core.gateway.rpc] - CLIENT_OUT_CHANNEL_STATE_SECURITY
[11:23:25:246] [29971:29972] [ERROR][com.freerdp.core.gateway.tsg] - tsg_check failure
[11:23:25:247] [29971:29972] [ERROR][com.freerdp.core.nego] - Protocol Security Negotiation Failure
[11:23:25:247] [29971:29972] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_SECURITY_NEGO_CONNECT_FAILED [0x0002000C]
[11:23:25:247] [29971:29972] [ERROR][com.freerdp.core.connection] - Error: protocol security negotiation or connection failure
=================================================================
==29971==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 112 byte(s) in 1 object(s) allocated from:
#0 0x7feb5e611602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#1 0x7feb57b08e77 in CRYPTO_malloc (/lib/x86_64-linux-gnu/libcrypto.so.1.0.0+0x62e77)
SUMMARY: AddressSanitizer: 112 byte(s) leaked in 1 allocation(s).

@akallabeth I am sorry to bother - it's not out of lack of will, but I am not in any way a seasoned programmer and has only been on github for about an hour. I get the same error as posted when I try to compile your fork, as I got from trying to compile the original master:
dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_SKIP_RPATH=FALSE -DCMAKE_SKIP_INSTALL_RPATH=FALSE -DWITH_PULSE=ON -DWITH_CHANNELS=ON -DBUILTIN_CHANNELS=ON -DWITH_CUPS=ON -DWITH_PCSC=ON -DWITH_JPEG=ON -DWITH_GSTREAMER_0_10=ON -DWITH_GSM=ON -DCHANNEL_URBDRC=ON -DCHANNEL_URBDRC_CLIENT=ON -DWITH_SERVER=ON -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/opt/freerdp-nightly/ -DCMAKE_INSTALL_INCLUDEDIR=include -DCMAKE_INSTALL_LIBDIR=lib -DWITH_SANITIZE_ADDRESS=ON returned exit code 1
debian/rules:34: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 2
make[1]: Leaving directory '/home/troels/.local/share/Trash/files/FreeRDP-master'
debian/rules:31: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

@troelsgk Ok, that is strange. Did you run cmake in that directory? Starting with a fresh checkout (or run git clean -xdf) usually is the best option.

@troelsgk Ok, good. could you rerun and export the following variable first:
export WLOG_PREFIX="module=%mn:fkt=%fn:file=%fl:line=%ln"

@akallabeth Done, here is the output:
troels@blackbird:~/Downloads$ xfreerdp launchc3dc950a.rdp
module=com.freerdp.client.common.cmdline:fkt=freerdp_client_load_static_channel_addin:file=1:line=2787loading channelEx cliprdr
GatewayUsername:
GatewayDomain:
GatewayPassword:
module=com.freerdp.core.gateway.http:fkt=http_response_recv:file=1:line=632BIO_should_retry failed
module=com.freerdp.core.gateway.http:fkt=http_response_recv:file=1:line=781http_response_recv failed
module=com.freerdp.core.gateway.tsg:fkt=tsg_check_event_handles:file=1:line=1575rpc_client_in_channel_recv failed
module=com.freerdp.core.gateway.tsg:fkt=tsg_connect:file=1:line=1700tsg_check failure
module=com.freerdp.core.nego:fkt=nego_connect:file=1:line=160Protocol Security Negotiation Failure
module=com.freerdp.core:fkt=freerdp_set_last_error:file=1:line=814freerdp_set_last_error ERRCONNECT_SECURITY_NEGO_CONNECT_FAILED [0x0002000C]
module=com.freerdp.core.connection:fkt=rdp_client_connect:file=1:line=284Error: protocol security negotiation or connection failure

@troelsgk Ok, strange. could you rerun with an updated version (just git pull to get my changes)

@akallabeth Here you go - but as far as I can see nothing has changed yet(but thanks for trying!):
module=com.freerdp.client.common.cmdline:fkt=freerdp_client_load_static_channel_addin:file=1:line=2787loading channelEx cliprdr
GatewayUsername:
GatewayDomain:
GatewayPassword:
module=com.freerdp.core.gateway.http:fkt=http_response_recv:file=1:line=632BIO_should_retry failed 1 -1
module=com.freerdp.core.gateway.http:fkt=http_response_recv:file=1:line=781http_response_recv failed
module=com.freerdp.core.gateway.tsg:fkt=tsg_check_event_handles:file=1:line=1575rpc_client_in_channel_recv failed
module=com.freerdp.core.gateway.tsg:fkt=tsg_connect:file=1:line=1700tsg_check failure
module=com.freerdp.core.nego:fkt=nego_connect:file=1:line=160Protocol Security Negotiation Failure
module=com.freerdp.core:fkt=freerdp_set_last_error:file=1:line=814freerdp_set_last_error ERRCONNECT_SECURITY_NEGO_CONNECT_FAILED [0x0002000C]
module=com.freerdp.core.connection:fkt=rdp_client_connect:file=1:line=284Error: protocol security negotiation or connection failure

@troelsgk and yet again a few more messages. please run with  /log-level:trace

@akallabeth The version I compiled from your source won't let me specify options. It just prints the help page for some reason... can I put log-level in the rdp-file?

@troelsgk then you're using invalid arguments. could you post your command line?
other option is you do export LOG_LEVEL=trace

This is the command that fails:
xfreerdp launch39fafc10.rdp /log-level:trace
If I execute export WLOG_LEVEL=trace and then:
xfreerdp launch39fafc10.rdp
I get the same output:
module=com.freerdp.client.common.cmdline:fkt=freerdp_client_load_static_channel_addin:file=1:line=2787loading channelEx cliprdr
GatewayUsername:
GatewayDomain:
GatewayPassword:
module=com.freerdp.core.gateway.http:fkt=http_response_recv:file=1:line=632BIO_should_retry failed 1 -1
module=com.freerdp.core.gateway.http:fkt=http_response_recv:file=1:line=781http_response_recv failed
module=com.freerdp.core.gateway.tsg:fkt=tsg_check_event_handles:file=1:line=1575rpc_client_in_channel_recv failed
module=com.freerdp.core.gateway.tsg:fkt=tsg_connect:file=1:line=1700tsg_check failure
module=com.freerdp.core.nego:fkt=nego_connect:file=1:line=160Protocol Security Negotiation Failure
module=com.freerdp.core:fkt=freerdp_set_last_error:file=1:line=814freerdp_set_last_error ERRCONNECT_SECURITY_NEGO_CONNECT_FAILED [0x0002000C]
module=com.freerdp.core.connection:fkt=rdp_client_connect:file=1:line=284Error: protocol security negotiation or connection failure

@troelsgk something is very wrong here. you should get a lot more messages.
The stuff with the .rdp file is a bug though, so that needs to be fixed.

I would be very happy to see it fixed:) So to be sure I am doing it right, I execute:
export WLOG_LEVEL=trace
and then:
xfreerdp launch39fafc10.rdp
? Do I need SUDO privileges for any of those?

@troelsgk fixed the issue in this branch, just update. No sudo required for any of this.

Ok, now we know where in the sequence the issue occurs.
Sadly no quick fix I can think of :/

Thank you so much for your effort though! Do you have any idea if/when anyone will have the chance to make this work?

not really an idea, sorry. gateway is not top priority, and I need to set up a test environment to fix that once and for all.

Is this still the case with #4547 and #4539 applied?

Dear @akallabeth
Sorry for the delay in response! I have tested the most recent nightly builds but, as far as I can see, your solution has not yet been implemented. Any way I can help out in testing here? Otherwise THANK YOU for the effort, and I'll wait until the fix has been implemented in an official build.

Sorry to say - downloaded the latest master, compiled - and still get:
[15:58:30:136] [24865:24866] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
GatewayUsername:
GatewayDomain:
GatewayPassword:
[15:58:50:007] [24865:24866] [ERROR][com.freerdp.core.gateway.tsg] - tsg_check failure
[15:58:50:008] [24865:24866] [ERROR][com.freerdp.core.nego] - Protocol Security Negotiation Failure
[15:58:50:008] [24865:24866] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_SECURITY_NEGO_CONNECT_FAILED [0x0002000C]
[15:58:50:008] [24865:24866] [ERROR][com.freerdp.core.connection] - Error: protocol security negotiation or connection failure

@troelsgk yes, the referenced pull requests are still pending...

@troelsgk the pull requests have been merged, can you retry with nightlies / a build from current master?

@troelsgk Thank you for retesting, found the issue. It was something related but not what I was expecting, there were some broken casts and wrong variable types involved.

@akallabeth Nothing to thank for, let me know when I should retest again!

@troelsgk the pull #4620 is ready, if you check that one out and build it should work.
(instructions on how to check out should be at the bottom of the link)

@akallabeth Just tested - works perfectly. Thank you so much!!!


iOS 13 Broke some tests

@achernoprudov fixed an issue with tests running on iOS 13 https://github.com/AdevintaSpain/Sencha/pull/20, but we are still having some problems with test failing due to: "Failed to execute block because idling resources below are busy."
I am opening this issue to have somewhere to follow up on any progress made towards fixing it.

looks like someone is already trying to update EarlGrey to work on iOS 13 https://github.com/google/EarlGrey/tree/ios13fixes
However, on the .podspec file I cannot link against a specific branch of EarlGrey.
I tried to link against this branch in my Main project's Podfile, hoping that since the api hasn't changed, I would be able to overwrite the dependency, and end up with the fixes on that branch, working inside of Sencha, but, as I later found out, EarlGrey Source code is built via some obscure scripts and then uploaded as an attachment to the github release, and that is what you download when you add the EarlGrey dependency. 😵

I think people can specify a commit on EarlGrey in their podfile to get the latest ios13 fixes.
However people who want to continue using EG1, will probably need to maintain their own EG1 fork going forward as the core teams development focus has moved to EG2.

@weibel I tried specifying a iOS13 support branch for EG dependency on my project's Podfile, so that it would override Sencha's EG version, but tests wouldn't build. TBH I didn't dedicate a lot of time to that option, but it didn't look good, although I'd be down for that option if anybody has sucessfully done it. As of now, I'm running UI tests on iOS12 simulator, and will wait for an official release with iOS13 support, or eventually migrate to EG2.

I've spent some time trying to upgrade to EG 2, but wasn't able to get white-boxing working with any of my custom classes. Has anyone else found a way to do this? Without it most of the tests I already have can't work at all in EG 2.

@bellebethcooper I saw a doc about white-box testing with EG2.0, doesn't this work?

@gilserrap It does, but I can only access UIKit stuff, like the example does. I can't access my own app's classes. I opened an issue on EG in the hopes I'd just misunderstood and they could point me in the right direction, but I haven't had a response.

So, there has been some progress on the subject, and looks like support for iOS13 has been added to EarlGrey, but, there has been no cocoapods release for that, which, in Sencha's case it's as good as if no release was done; https://github.com/google/EarlGrey/pull/1074
Let's hope that a proper cocoapods release comes soon.

There is a release now https://github.com/google/EarlGrey/releases/tag/1.16.0

I've done a release with version 0.14 that updates EarlGrey, so it should work again on iOS 13 now! ✨


Shared m-of-n wallets aren't calculated fees for sending correctly

When attempting to broadcast payment for a 2 of 3 wallet, got this error:
Could not broadcast payment: TX rejected: transaction 8c2366b6ca6310f9c476d9010537a4420a228d747c554dc56cf464a0be65d386 has insufficient priority<PHONE_NUMBER>89712 <= 5.76e+07) (code -22)
Raw tx:
01000000014fc0c346b59a730f26966d672e6eaaed8a94a0f588923aaa61c32a6b39dedfc00000000000ffffffff02b0edea0800000000000017a9149c5cbf9ae87130544bafb1e86ad1c44ab900e48e8780f0fa020000000000001976a914c052b4c5d773573ff0967eb43ed74996ba22e99988ac000000000000000001ffffffffffffffff00000000fffffffffb47304402204bbdaef4dac283cdad0e5247b91daf344497a67d653371fc647ddbe50b91783402207c340e1f1eb6231b1f020215426d8441ede51422a03722a50cd30cb76acb14b50147304402204eeaf1465cbac9f04c4aec01ae5cb853373da53b613cd3f607b8d907254a0aec02206d2063321213b45e8de49531dea7fd76ebc87a7a50d23a78b30a0d111aeb3a34014c695221028f2bdfa4f010c24aa5c904976733128db1e91f20bbccfd18fd926dac34292c2b21038fc9aa320a9226b4b5af629a7596d229e6e0d98ddf098c6890cac07382fe1dd12103e7beed644f5755849cc101dce0c296f1a93836cd7a2ecfd187435e3246470ea853ae
Looks like fee is not being increased enough to account for the larger signature

Fixed in bitcore-wallet-service:  https://github.com/decred/bitcore-wallet-service/pull/6
2of3 Transaction on testnet:
https://testnet.decred.org/tx/361deb15e16ed7835f62aa6860045033245f8a8ad0de7e0e24f9a7b1eb723952


v3.0-M4 - Cannot customise Views in Java and re-use existing securesocial view templates

v3.0-M4 java templating doesn't appear to work if you want to reuse existing securesocial templates like provider.scala.html or main.scala.html (although most would provide their own main view), as these both require an implicit play.api.i18n.Messages object as an input. This implicit Messages var conflicts with the Java play.i18n.Messages implictMessages variable passed into templates by PlayMagicForJava. It can't be made explicit (as then the method signature in the ViewTemplates subclass conflicts with the superclass, causing a compile error). Can't see an obvious way to get customised views working for v3.0-M4 for Java developers.  Apparently works for scala, and I believe this is because play for scala uses play.i18n.Messages not play.api.i18n.Messages.  Play Java automatically uses PlayMagicForJava to convert explicit and implicit vars between java and scala objects for view templates, so it's not possible to avoid this namespace / scope collision.
There must be an explicit / implicit var structure for view templates that allows customisation in both scala and java.
see also https://github.com/jaliss/securesocial/issues/464

see also this - https://github.com/jaliss/securesocial/pull/587 - it is a related issue


Astropy v1.3 breaks coordinate transformations

Hi all,
I just checked out the latest version of astropy and it seems version 1.3 has made some changes to the coordinate implementation which breaks the ctapipe code (error below). I'll look into this next week and try to come up with a solution.
> ---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
/home/puerck/anaconda3/envs/cta/lib/python3.5/site-packages/astropy/coordinates/baseframe.py in __get__(self, instance, frame_cls)
   228                     else:
--> 229                         out = np_broadcast_to(out, instance_shape, subok=True)
   230                 except ValueError:

/home/puerck/anaconda3/envs/cta/lib/python3.5/site-packages/numpy/lib/stride_tricks.py in broadcast_to(array, shape, subok)
   114     """
--> 115     return _broadcast_to(array, shape, subok=subok, readonly=True)
   116

/home/puerck/anaconda3/envs/cta/lib/python3.5/site-packages/numpy/lib/stride_tricks.py in _broadcast_to(array, shape, subok, readonly)
    69         (array,), flags=['multi_index', 'refs_ok', 'zerosize_ok'] + extras,
---> 70         op_flags=[op_flag], itershape=shape, order='C').itviews[0]
    71     result = _maybe_view_as_subclass(array, broadcast)

ValueError: operands could not be broadcast together with remapped shapes [original->remapped]: (2,) and requested shape (1855,)

During handling of the above exception, another exception occurred:

ValueError                                Traceback (most recent call last)
/home/puerck/ctasoft/ctapipe/textscript.py in <module>()
   114
   115 if __name__ == "__main__":
--> 116     test_ImPACT_fit()

/home/puerck/ctasoft/ctapipe/textscript.py in test_ImPACT_fit()
    76                                        rotation= -1* cam_geom[tel_id].cam_rotation )
    77             print(nom_system)
---> 78             nom_coord = camera_coord.transform_to(nom_system)
    79
    80             mask = tailcuts_clean(cam_geom[tel_id], pmt_signal, 1,

/home/puerck/anaconda3/envs/cta/lib/python3.5/site-packages/astropy/coordinates/baseframe.py in transform_to(self, new_frame)
   986             msg = 'Cannot transform from {0} to {1}'
   987             raise ConvertError(msg.format(self.__class__, new_frame.__class__))
--> 988         return trans(self, new_frame)
   989
   990     def is_transformable_to(self, new_frame):

/home/puerck/anaconda3/envs/cta/lib/python3.5/site-packages/astropy/coordinates/transformations.py in __call__(self, fromcoord, toframe)
   905
   906             curr_toframe = t.tosys(**frattrs)
--> 907             curr_coord = t(curr_coord, curr_toframe)
   908
   909         # this is safe even in the case where self.transforms is empty, because

/home/puerck/anaconda3/envs/cta/lib/python3.5/site-packages/astropy/coordinates/transformations.py in __call__(self, fromcoord, toframe)
   705
   706     def __call__(self, fromcoord, toframe):
--> 707         res = self.func(fromcoord, toframe)
   708         if not isinstance(res, self.tosys):
   709             raise TypeError('the transformation function yielded {0} but '

/home/puerck/ctasoft/ctapipe/ctapipe/coordinates/angular_frames.py in camera_to_telescope(camera_coord, telescope_frame)
   408     representation = PlanarRepresentation(x_rotated, y_rotated)
   409
--> 410     return telescope_frame.realize_frame(representation)
   411
   412

/home/puerck/anaconda3/envs/cta/lib/python3.5/site-packages/astropy/coordinates/baseframe.py in realize_frame(self, representation)
   876                         for attr in self.get_frame_attr_names()
   877                         if attr not in self._attr_names_with_defaults])
--> 878         return self.__class__(representation, **frattrs)
   879
   880     def represent_as(self, new_representation, in_frame_units=False):

/home/puerck/anaconda3/envs/cta/lib/python3.5/site-packages/astropy/coordinates/baseframe.py in __init__(self, *args, **kwargs)
   660                 # Validate attribute by getting it.  If the instance has data,
   661                 # this also checks its shape is OK.  If not, we do it below.
--> 662                 values[fnm] = getattr(self, fnm)
   663             else:
   664                 setattr(self, '_' + fnm, fdefault)

/home/puerck/anaconda3/envs/cta/lib/python3.5/site-packages/astropy/coordinates/baseframe.py in __get__(self, instance, frame_cls)
   233                         "attribute {0} should be scalar or have shape {1}, "
   234                         "but is has shape {2} and could not be broadcast."
--> 235                         .format(self.name, instance_shape, out.shape))
   236
   237                 converted = True

ValueError: attribute pointing_direction should be scalar or have shape (1855,), but is has shape (2,) and could not be broadcast.

For now, I've updated the conda package to require a lower version of astropy, which also means ctapipe is not yet compatible with python 3.6, which doesn't have an astropy 1.2 release until this is fixed.

Should be fixed as of merge #364


Add new Homepage layout

This PR adds the base structure for the new app home page.
No real data has been used yet.. Just dummy for the page structure and Migration of the old interface for the wallets view.
Subsequent PRs will add the overview page, wallet flow and Trade page.

Looking good!
The exchange button below doesn't currently work, it was working previously

Clicking on a wallet, and then returning, the new layout no longer perists

i see the update PR description, i appreciate the tasks breakdown, however working functionality on the wallets tab previously should be functional.
as follow up PRs could take quite some time

@Sirmorrison The designs show some drop downs, is this coming in the next MR?

@Sirmorrison The designs show some drop downs, is this coming in the next MR?

Yes it is.. This PR is just for the UI layout.

You've introduced some breaking changes. It would be best you handle the clean up in a separate PR.

You've introduced some breaking changes. It would be best you handle the clean up in a separate PR.

done


Great work! Is there a road map for VS for Mac?

I'd like to thank you for the great extension. Very very useful! I'm wondering if is there a road map for a VS for Mac version.

Hi,
I have no idea how the support for Roslyn extensions look like on VS for Mac. I've asked about on https://gitter.im/dotnet/roslyn I will let know when get a response.


Remove OCI usage from UVM activation

Signed-off-by: Justin Terry (VM<EMAIL_ADDRESS>

You have some appveyor failures though.

Would help if I saved all the files before committing!


discuss classNames

Following up from the discussion here... this component could provide classNames needed for styling elements in the dropdown in different states without supporting several custom className attibutes for different elements.
The markup could look something like this, where "fire" is a custom className defined by the parent and applied to all dropdown elements, and "open" is applied when the dropdown is in an open state,

placeholder

option

This change would remove custom className attributes and simplify the interface.
If we decide to make this change, it should probably be made after the next release and not before.

@rscotten I would would glad to know your opinion about this

@iambumblehead Fine with me.  I wouldn't have to duplicate my CSS as much for different dropdown components with different baseClassNames.

when changed.. just an FYI .. see how react-sanfona documents their classnames

I'm interested in doing this before adding support for more options such as https://github.com/iambumblehead/react-dropdown-now/issues/68
The reason is, it will reduce the number of configuration options needing README descriptions.

this is implemented --closing


Explain split votes

closed by https://github.com/BostonGlobe/elections-2016/commit/43e0ddb1c5d61555dcbc57e315eb097b2993d8bb


body.setSize has different behavior than expected

This Issue is about (delete as applicable)

A bug in the API
An error in the documentation

Example
Body's setSize method reads:

You can modify the size of the physics Body to be any dimension you need.
This allows you to make it smaller, or larger, than the parent Sprite.
You can also control the x and y offset of the Body. This is the position of the
Body relative to the top-left of the Sprite texture.
For example: If you have a Sprite with a texture that is 80x100 in size,
and you want the physics body to be 32x32 pixels in the middle of the texture, you would do:
setSize(32, 32, 24, 34)
Where the first two parameters is the new Body size (32x32 pixels).
24 is the horizontal offset of the Body from the top-left of the Sprites texture, and 34
is the vertical offset.
Calling setSize on a Body that has already had setCircle will reset all of the Circle
properties, making this Body rectangular again.

The issue is that the setSize method is multiplied by the sprites scale before being set (line 1071). The docs say: pass in (32,32) and the body will be 32x32 pixels. BUT if the sprite has been resized and it's scale is not perfectly equal to 1, this will not be true. It took me days to find out this behavior, thank god Phaser is OS or I probably never would have.
Do you think this merits a documentation change or an API change? Personally I think that the width/height you pass in should be absolute, or maybe scaled relative to the parent/local space. But IDK if making this change would break past builds.

This particular issue has been going on for awhile!
1 2 3ish 4ish

Will happily update the docs, but the functionality is correct and won't be
changed.
On Saturday, 27 August 2016, James<EMAIL_ADDRESS>wrote:

This particular issue has been going on for awhile!
1
http://www.html5gamedevs.com/topic/7889-spritebodysetsizewidth-height-not-working-properly/
2
http://www.html5gamedevs.com/topic/13932-problem-with-arcade-bodysetsize/
3ish
http://www.html5gamedevs.com/topic/8176-change-body-size-when-the-game-is-run/
4ish http://www.html5gamedevs.com/topic/2892-sprite-body-size-transform/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/photonstorm/phaser/issues/2720#issuecomment-242901310,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKCfMgNGTRni0G6ogg9orModDlhvVWgks5qj-LigaJpZM4Juoce
.

--
Photon Storm Ltd.
http://www.photonstorm.com
Skype: richard.davey
Twitter: @photonstorm
Registered in England and Wales.
Company ID: 8036404
VAT Number: 136 4333 27

Thanks Rich. I'll see if I can do this for you. I also forgot to update some of the docs referenced in this issue, https://github.com/photonstorm/phaser/issues/2693, so i'll fix those up too.


Difficulty launching ixmp.Platform with local HSQLDB database

When running the Austria tutorial and running the following piece of code:
# launch the IX modeling platform using the local default database                                                                                mp = ix.Platform(dbtype='HSQLDB')
I get the following error:
INFO:root:launching ixmp.Platform with local HSQLDB database at '/Users/b1017579/.local/ixmp/localdb/default' INFO:root:Could not launch the JVM for the ixmp.Platform.Make sure that all dependencies of ixmp.jarare included in the 'ixmp/lib' folder.
I have followed the readme tutorial to install imxp, but am struggling to get this working.
Any help would be greatly appreciated.
Thanks,
Alex

Hi @alexanderkell, thanks for submitting an issue! Are you using an installed version from conda? If so, could you please update your message_ix version and try again? We just release a new version which may fix some of these issues.

Thank you for your response. This seems to be working now!


Vulnerability reporting doc.

@erickhan

@k8s-bot please test this again

docs only change.  Jenkins is a flake.

LGTM

awesome, content lgtm.


Cannot read property 'removeListener' of null

WebTorrent version: 0.96.4
Node and browser versions: all

Here's a common error from the WebTorrent Desktop telemetry: https://github.com/feross/webtorrent-desktop/issues/890
In lib/server.js:
  server.close = function (cb) {
    closed = true
    torrent = null
    server.removeListener('connection', onConnection)
    server.removeListener('request', onRequest)
    while (pendingReady.length) {
      var onReady = pendingReady.pop()
      torrent.removeListener('ready', onReady)
    }
    _close.call(server, cb)
  }

The call to torrent.removeListener will always fail, right?
We should set torrent = null only at the very end.
@feross

LOL, how did this even get into master? We're testing the server functionality. Maybe we only call destroy() and not close()?
Fix is in 0.96.5


Consider storing "fixed" attributes in .rodata only

Problem
The CHIP spec defines a "F" quality for attributes which says they do not change short of firmware update.  This includes cluster revisions, for example, various info in Basic cluster, etc, etc.  All such attributes are readonly.
For such attributes, we should be able to skip generating space in the attribute store, and save some RAM.
Proposed Solution
Add a way to flag attributes as "fixed", in Zap, only output default values for such attributes, stop allocating space in the attribute store for them.
@jepenven-silabs @jmartinez-silabs @vivien-apple

One issue that was pointed out: fixed attributes in non-statically-allocated clusters (e.g. on a bridge) may not be easily storable in .rodata in our current setup.

Moving to post V1.0, not clearly required for V1.0.


Snapshots disaster recovery UI

Does the "add a new destination" popup have a unique URL (or anchor)?

Does the "add a new destination" popup have a unique URL (or anchor)?

It has a query param that opens the modal


How to enable browser notification

Expected Behaviour
The browser should receive notification along with phone
Actual Behaviour
No notification received
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Cordova CLI version and cordova platform version
cordova --version                               8.0.0
cordova platform version browser     5.0.3

Plugin version
cordova plugin version | grep phonegap-plugin-push 2.2.2  # e.g. 1.5.3

 const options: PushOptions = {
            android: {
                senderID: '1999999965',
                forceShow: true,
                // icon: "screen",
                // iconColor: "blue"
            },
            browser: {
                pushServiceURL: 'http://push.api.phonegap.com/v1/push'
            }
        };

        const pushObject: PushObject = this.push.init(options);

How to send notification to browser?
I can see the registration ID. But notification is not coming in browser.

@macdonst ,
Currently, I pushing using FCM on my android devices. Will it work if I send through FCM?
If not, what is the other way to send to the browsers?

@santosh-hegde the cordova-browser platform is there so you can test your app in the browser before deploying to a device. If you want to test receiving pushes in the browser you can use the PhoneGap Push Service. See the tutorial here: http://docs.phonegap.com/tutorials/develop/push-notifications/

@macdonst ,
Is it not possible to integrate with Google Firebase. I'm using that to send notifications.
It would be great if I can push notification to both platforms together.

@santosh-hegde no, the cordova-browser platform and the push plugin are not written in such a way to make this easy. The plugin registers with our FCM app and our push service.


Running PandomiumTest never stop - Windows 10 64 bits

Running the test, the application never exits.
I think jcef app will hold a non daemon thread, preventing the jvm to halt.

I've just changed a little disposing system, so try to run 1.0.1 version
<dependency>
    <groupId>org.panda_lang</groupId>
    <artifactId>pandomium</artifactId>
    <version>1.0.1</version>
</dependency>

If it works, you should see

know ot works with swing, but javafx still fails...

Oh, currently you can't embed it in JavaFx because it's heavyweight component (SwingNode). I have to modify original jcef source.
I'm using JFXPanel to embed JavaFx in Swing in my application for now.

Running the sample first time from intellij, the app never stops (while stopping it using the red button, its icon is replaced with a skull icon and I must kill the java process from the task manager), second run works as expected (in the same intellij, killing or not killing the first run process). I will have to test with launch4j exe wrapper and see what happens on first execution.

I have no idea why the jcef thread won't stop for you. Will the app close when you click the close button?

Upps, I'm running 1.0.1 version.
For your info, I'm testing pandomium with an app using http2 over TLS 1.2 with mutal authentication (X509 certificates and private keys: tls auth over https/1.1, http2 does not support it). The app is a PWA app built with Polymer, it is running as faster as running it on chrome, chromium or last safari. First time I run the app (from intellij), the app take around 5 seconds to show the splash of my app but next runs shows me the splash app very quickly, I dont know if is intellij or jcef. I think the problem is here, something is holding a non daemon thread, I keep waiting the process finish more than 1 hour, but never finish.
The JMV options are for integration on my project, consuming the vulcanized PWA app, I bundle a ZIP with all resources (ZIP NIO file system), and then intercept all calls using jcef app handler in my own scheme. I need to embed my app on windows tablets with no connectivity. I have the same project running also on android 5, 6 and 7, also on server side, with the same presentation layer built with Polymer (around 5000 html pages, so it is a huge project).
If you need some help about testing environments, such as linux or mac os x even also windows 10 I can help you, do not hesitate to contact me at<EMAIL_ADDRESS>

Whe I close the app using X window button, the frame is disposed, but the java process remain alive. If a stop using the red button intellij provides, then the skull icon appears, but cannot end the process, then I must kill it using task manager.

I have made a change to the test to show the frame in the EDT:
        PandomiumSettings settings = PandomiumSettings.getDefaultSettings();

        Pandomium pandomium = new Pandomium(settings);
        pandomium.initialize();

        PandomiumClient client = pandomium.createClient();
        PandomiumBrowser browser = client.loadURL(args[0]);
        SwingUtilities.invokeLater(() -> {
            JFrame frame = new JFrame();
            frame.getContentPane().add(browser.toAWTComponent(), BorderLayout.CENTER);
            frame.pack();

            frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
            frame.addWindowListener(new WindowAdapter() {
                @Override
                public void windowClosing(WindowEvent e) {
                    pandomium.dispose();
                    frame.dispose();
                }
            });

            frame.setTitle("Pandomium");
            frame.setSize(1380, 760);
            frame.setVisible(true);
        });

I'm trying to exclude the jcef thread-logic to the PandomiumThread. We will see if manual shutdown would work

It is very strange, the error is spurious. Closing all intellij instances I cannot reproduce the error, It seems to be on pc startup or restart, so I think maybe it is a problem with intellij. I have reproduced twice, yesterday evening and today.
Do not change the code, I have to finish some tasks and then I'll build an exe for windows to see if I can reproduce the problem, I'll keep you informed...

I have restarted my windows 10 pc and the problem is here again, using panda-soft url in the first execution, this is what debug.log contains:

and debug.log contains:
[0603/202628.191:ERROR:child_thread_impl.cc(762)] Request for unknown Channel-associated interface: ui::mojom::GpuMain
[0603/202628.316:ERROR:gpu_child_thread.cc(330)] Exiting GPU process due to errors during initialization
My windows PC is a i7 with Nvidia 840M

If I run again the app, this second one will not reproduce the error, closing the jvm process also with the first one yet running:

I'll add jcef sources to the pandomium module tomorrow and I'll modify it finally. It looks like jcef bug because it posts shutdown hook to stop the cefapp. Unfortunately, the environment does not always call shutdown hooks :/
Anyway, I'm using windows 10 x64

It will posible to make this feature configurable? Let say, a method in some part other than jcef or pandomium thread?
Suppose we have a swing app with 100 screens, but only 1 shows jcef? how can we dispose jcef resources to free all its resources? My app do not have 100 screens but it has a few outside jcef, for example the installer, the configurer, sync options, backup, report a bug... jcef is just one screen. Once jcef is started we need a way to shutdown or start it again, based on user interaction...

Let's go from bad to worse, this morning the windows computer only with the intellij started and with the application of pandomium gives me the famous blue screen of windows, there must be a serious problem with the native part.
Now Intellij gets corrupted, I need to reinstall it.

I've just published 1.0.3 version with modified jcef sources.
If the problem exists in the native code then I can't fix it :/


请问如果使用自己的feature-imitation方法应该在哪里添加，您的feature-imitation代码写在哪里了，我没有找到

计算imitation区域的在 https://github.com/HikariTJU/LD/blob/bc60bbcd48e9305e61e32a0d2c981621e2ae0d05/mmdet/models/dense_heads/ld_head.py#L580
计算loss的在
https://github.com/HikariTJU/LD/blob/bc60bbcd48e9305e61e32a0d2c981621e2ae0d05/mmdet/models/dense_heads/ld_head.py#L170

请问我的环境都是对的 但是您的源码训练就报错，弄了好几天，实在没辙了

@HikariTJU
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/kd_one_stage.py", line 34, in init
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/kd_one_stage.py", line 34, in init
return build_from_cfg(cfg, registry, default_args)
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/utils/registry.py", line 171, in build_from_cfg
return obj_cls(**args)
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/kd_one_stage.py", line 34, in init
super().init(backbone, neck, bbox_head, train_cfg, test_cfg,
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 33, in init
super().init(backbone, neck, bbox_head, train_cfg, test_cfg,
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 33, in init
super().init(backbone, neck, bbox_head, train_cfg, test_cfg,
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 33, in init
super().init(backbone, neck, bbox_head, train_cfg, test_cfg,super().init(backbone, neck, bbox_head, train_cfg, test_cfg,
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 33, in init
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 33, in init
super().init(backbone, neck, bbox_head, train_cfg, test_cfg,
super().init(backbone, neck, bbox_head, train_cfg, test_cfg,  File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 33, in init
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 33, in init
super().init(backbone, neck, bbox_head, train_cfg, test_cfg,
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 33, in init
self.init_weights(pretrained=pretrained)self.init_weights(pretrained=pretrained)self.init_weights(pretrained=pretrained)
  File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 43, in init_weights

File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 43, in init_weights
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 43, in init_weights
self.init_weights(pretrained=pretrained)
self.init_weights(pretrained=pretrained)
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 43, in init_weights
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 43, in init_weights
self.init_weights(pretrained=pretrained)
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 43, in init_weights
self.init_weights(pretrained=pretrained)
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 43, in init_weights
self.init_weights(pretrained=pretrained)
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/detectors/single_stage.py", line 43, in init_weights
self.backbone.init_weights(pretrained=pretrained)
self.backbone.init_weights(pretrained=pretrained)  File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/backbones/resnet.py", line 599, in init_weights
  File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/backbones/resnet.py", line 599, in init_weights
self.backbone.init_weights(pretrained=pretrained)self.backbone.init_weights(pretrained=pretrained)

self.backbone.init_weights(pretrained=pretrained)  File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/backbones/resnet.py", line 599, in init_weights
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/backbones/resnet.py", line 599, in init_weights
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/backbones/resnet.py", line 599, in init_weights
self.backbone.init_weights(pretrained=pretrained)self.backbone.init_weights(pretrained=pretrained)
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/backbones/resnet.py", line 599, in init_weights
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/backbones/resnet.py", line 599, in init_weights
self.backbone.init_weights(pretrained=pretrained)
File "/media/lj/CAD2B4B7D2B4A959/students/yg/LD-main/mmdet/models/backbones/resnet.py", line 599, in init_weights
load_checkpoint(self, pretrained, strict=False, logger=logger)
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 279, in load_checkpoint
load_checkpoint(self, pretrained, strict=False, logger=logger)
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 279, in load_checkpoint
load_checkpoint(self, pretrained, strict=False, logger=logger)
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 279, in load_checkpoint
load_checkpoint(self, pretrained, strict=False, logger=logger)
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 279, in load_checkpoint
load_checkpoint(self, pretrained, strict=False, logger=logger)
load_checkpoint(self, pretrained, strict=False, logger=logger)
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 279, in load_checkpoint
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 279, in load_checkpoint
checkpoint = _load_checkpoint(filename, map_location)
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 224, in _load_checkpoint
load_checkpoint(self, pretrained, strict=False, logger=logger)
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 279, in load_checkpoint
checkpoint = _load_checkpoint(filename, map_location)
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 224, in _load_checkpoint
checkpoint = _load_checkpoint(filename, map_location)checkpoint = load_url_dist(model_urls[model_name])load_checkpoint(self, pretrained, strict=False, logger=logger)
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 114, in load_url_dist
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 224, in _load_checkpoint
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 279, in load_checkpoint
checkpoint = _load_checkpoint(filename, map_location)
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 224, in _load_checkpoint
checkpoint = _load_checkpoint(filename, map_location)checkpoint = _load_checkpoint(filename, map_location)
  File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 224, in _load_checkpoint

File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 224, in _load_checkpoint
checkpoint = load_url_dist(model_urls[model_name])
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 114, in load_url_dist
checkpoint = _load_checkpoint(filename, map_location)    torch.distributed.barrier()
checkpoint = load_url_dist(model_urls[model_name])
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 224, in _load_checkpoint
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 114, in load_url_dist
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 2420, in barrier
checkpoint = load_url_dist(model_urls[model_name])
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 114, in load_url_dist
checkpoint = _load_checkpoint(filename, map_location)
torch.distributed.barrier()  File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 224, in _load_checkpoint
  File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 2420, in barrier

torch.distributed.barrier()
checkpoint = load_url_dist(model_urls[model_name])checkpoint = load_url_dist(model_urls[model_name])
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 2420, in barrier
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 114, in load_url_dist
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 114, in load_url_dist
torch.distributed.barrier()
checkpoint = load_url_dist(model_urls[model_name])  File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 2420, in barrier
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 114, in load_url_dist
checkpoint = load_url_dist(model_urls[model_name])
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/mmcv/runner/checkpoint.py", line 114, in load_url_dist
torch.distributed.barrier()torch.distributed.barrier()
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 2420, in barrier
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 2420, in barrier
torch.distributed.barrier()
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 2420, in barrier
torch.distributed.barrier()
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 2420, in barrier
work = default_pg.barrier(opts=opts)
RuntimeError: NCCL error in: /opt/conda/conda-bld/pytorch_1614378083779/work/torch/lib/c10d/ProcessGroupNCCL.cpp:825, invalid usage, NCCL version 2.7.8
ncclInvalidUsage: This usually reflects invalid usage of NCCL library (such as too many async ops, too many collectives at once, mixing streams in a group, etc).
work = default_pg.barrier(opts=opts)
RuntimeError: NCCL error in: /opt/conda/conda-bld/pytorch_1614378083779/work/torch/lib/c10d/ProcessGroupNCCL.cpp:825, invalid usage, NCCL version 2.7.8
ncclInvalidUsage: This usually reflects invalid usage of NCCL library (such as too many async ops, too many collectives at once, mixing streams in a group, etc).
work = default_pg.barrier(opts=opts)
RuntimeError: NCCL error in: /opt/conda/conda-bld/pytorch_1614378083779/work/torch/lib/c10d/ProcessGroupNCCL.cpp:825, invalid usage, NCCL version 2.7.8
ncclInvalidUsage: This usually reflects invalid usage of NCCL library (such as too many async ops, too many collectives at once, mixing streams in a group, etc).
work = default_pg.barrier(opts=opts)
RuntimeError: NCCL error in: /opt/conda/conda-bld/pytorch_1614378083779/work/torch/lib/c10d/ProcessGroupNCCL.cpp:825, invalid usage, NCCL version 2.7.8
ncclInvalidUsage: This usually reflects invalid usage of NCCL library (such as too many async ops, too many collectives at once, mixing streams in a group, etc).
work = default_pg.barrier(opts=opts)work = default_pg.barrier(opts=opts)work = default_pg.barrier(opts=opts)
RuntimeErrorRuntimeErrorRuntimeError: : : NCCL error in: /opt/conda/conda-bld/pytorch_1614378083779/work/torch/lib/c10d/ProcessGroupNCCL.cpp:825, invalid usage, NCCL version 2.7.8
ncclInvalidUsage: This usually reflects invalid usage of NCCL library (such as too many async ops, too many collectives at once, mixing streams in a group, etc).NCCL error in: /opt/conda/conda-bld/pytorch_1614378083779/work/torch/lib/c10d/ProcessGroupNCCL.cpp:825, invalid usage, NCCL version 2.7.8
ncclInvalidUsage: This usually reflects invalid usage of NCCL library (such as too many async ops, too many collectives at once, mixing streams in a group, etc).NCCL error in: /opt/conda/conda-bld/pytorch_1614378083779/work/torch/lib/c10d/ProcessGroupNCCL.cpp:825, invalid usage, NCCL version 2.7.8
ncclInvalidUsage: This usually reflects invalid usage of NCCL library (such as too many async ops, too many collectives at once, mixing streams in a group, etc).
work = default_pg.barrier(opts=opts)

RuntimeError: NCCL error in: /opt/conda/conda-bld/pytorch_1614378083779/work/torch/lib/c10d/ProcessGroupNCCL.cpp:825, invalid usage, NCCL version 2.7.8
ncclInvalidUsage: This usually reflects invalid usage of NCCL library (such as too many async ops, too many collectives at once, mixing streams in a group, etc).
Killing subprocess 1548
Killing subprocess 1550
Killing subprocess 1552
Killing subprocess 1555
Killing subprocess 1563
Killing subprocess 1564
Killing subprocess 1566
Killing subprocess 1567
Traceback (most recent call last):
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/launch.py", line 340, in
main()
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/launch.py", line 326, in main
sigkill_handler(signal.SIGTERM, None)  # not coming back
File "/home/lj/anaconda3/envs/mmlab/lib/python3.8/site-packages/torch/distributed/launch.py", line 301, in sigkill_handler
raise subprocess.CalledProcessError(returncode=last_return_code, cmd=cmd)
subprocess.CalledProcessError: Command '['/home/lj/anaconda3/envs/mmlab/bin/python', '-u', 'tools/train.py', '--local_rank=7', 'configs/ld/ld_retina_r50_1x.py', '--launcher', 'pytorch']' returned non-zero exit status 1.

请使用标准模板报告bug， 我推荐你可以先试一下单卡能不能跑
python tools/train.py ${config}
以下是标准模板
Checklist

I have searched related issues but cannot get the expected help.
The bug has not been fixed in the latest version.

Describe the bug
A clear and concise description of what the bug is.
Reproduction

What command or script did you run?

A placeholder for the command.

Did you make any modifications on the code or config? Did you understand what you have modified?
What dataset did you use?

Environment

Please run python mmdet/utils/collect_env.py to collect necessary environment information and paste it here.
You may add addition that may be helpful for locating the problem, such as

How you installed PyTorch [e.g., pip, conda, source]
Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)

Error traceback
If applicable, paste the error trackback here.
A placeholder for trackback.

Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

谢谢您，单卡训练就可以了。还有个问题我没搞清楚。比如我想用Masked Generative Distillation论文的特征图蒸馏方法。我只需要改这段代码就可以了吗？谢谢您的及时回复
` if self.imitation_method == 'gibox':
gi_idx = self.get_gi_region(soft_label, cls_score, anchors,
bbox_pred, soft_targets, stride)
gi_teacher = teacher_x[gi_idx]
gi_student = x[gi_idx]
        loss_im = self.loss_im(gi_student, gi_teacher)`

谢谢您，单卡训练就可以了。还有个问题我没搞清楚。比如我想用Masked Generative Distillation论文的特征图蒸馏方法。我只需要改这段代码就可以了吗？谢谢您的及时回复
if self.imitation_method == 'gibox':
gi_idx = self.get_gi_region(soft_label, cls_score, anchors,                                         bbox_pred, soft_targets, stride)
gi_teacher = teacher_x[gi_idx]
gi_student = x[gi_idx]
loss_im = self.loss_im(gi_student, gi_teacher)

单卡能跑多卡不能跑说明，你可能多卡的launch命令错了


Check code branch

Check code for correct Javascript, DRY and KISS principles.

Hi @dvcorreia1984
Status: Approve Noting to say it is time to merge it 👏
Highlights!
Good javascript practices  ✔
Good implementation of KISS and DRY princeples✔
Hello ✋, you have done well reaching this point of the milestone
Cheers, and Happy coding!👏👏👏


Choose API's

Choose which sports statistics API's we will use, and if we want to use one or multiple.

Reached out to a company about their API, waiting on a response ...

API was chosen a while ago, forgot to update and close issue.


Drop querystring doesn't work when there is a port specified in the org server base url.

You landed this, right?

@mtorluemke by, "You landed this, right?" Are you asking me to review what Steve did?

Yeah, it was. Although we know this doens't work without header_rewite in the way. How are we going to bring this up with Traffic Server team?

already merged


Identify how users can submit feedback during the private preview

Mentimeter (anonymous feedback)

Would need the slides to always be accessible

Google form (the easiest solution)
Add a form to the app


question about multiclass_nms in   forwardtest

hi, @hellock :
I found  that in the test.py , for the forward testing, in https://github.com/open-mmlab/mmdetection/blob/master/mmdet/core/post_processing/bbox_nms.py#L6，the nms flow is : for each detected bbox in the top 1000 high possibility from rpn, we get a 81 class prob prediction vector in the rcnn box branch(for the coco dataset as example) . Then for each class , we pick the box this class prob of which is over “score_thr”. Then we do the nms for these boxes of this class. And repeat the process for all class. So each det box from rpn may contribute more than one box in the final result ,right?
But , in my mind ,the nms is for each detection box from rpn, we pick the class with the highest prob reported by the rcnn. And then do the nms for the boxes of the same class respectively.
Do you have any reference to your way? I think , in your way ,the recall may be boosted ?Could you explain it a bit more ,thanks.

We just follow the typical convention of post-processing, Fast(er) R-CNN and most other frameworks do the same thing.

@alexwq100 , have you figure out why do this, my understanding of NMS is the same with you, and I see the source code , for each class, mmdetection use all prediction, and use their prob of the class.

no ,I did not find out the reason from paper, what do you think about it, this can boost the recall?

The details are not in the paper, but in the released code by the authors, e.g., py-faster-rcnn, Detectron.


Extend is_nonneg() of diag_mat to check if arg is psd [issue 1213]

This PR adds @SteveDiamond 's proposed improvement for the is_nonneg() check in the diag_mat class, as per discussion in #1213. Also, the tests are extended to cover this case.
Contributing guideline checks:

[x] no regression change
[x] no relevant change in benchmark timings (25.33s pre-change vs. 25.05s after the change)
[x] flake8 passing

LGTM! Thanks for fixing this!


issue-1407: Verified this document works for Virtual Box

I have successfully tested the steps given in this document with Virtual Box.
Signed-off-by: alfhad<EMAIL_ADDRESS>Describe your changes in brief
Changes

[ ] Why is this change required? What problem does it solve?
[ ] If proposing a new change then please raise an issue first

How Has This Been Tested? (Optional)

[ ] Please describe in detail how you tested your changes.
[ ] Include details of your testing environment, and the tests you ran to
[ ] How your change affects other areas of the code, etc.

Screenshots (if appropriate)
Checklist

[x] tested locally
[ ] added new dependencies
[ ] updated the docs
[ ] added a test

resolves #1472


Update QRCodeReaderPlugin.java

Actually I think there's no need to query the platform version

That would only work if the min api level is 23, current min is 16

Actually that method checkSelfPermissions() is configured to always return true if <23 because the user has accepted permissions before installing the app. If you want try to test it with your phone.

It will return true with the permission set in the manifest but it is a runtime check, the compiler does not know that and marks activity.requestPermissions as a invalid call.

nevermind, you are correct, I was checking the commit snipet in the wrong context, I'll merge it

I wish I could help more, for the iOS version too, but I am clueless xD


Give NixOS a try

Greeting
Hi Steve, recently I've commited myself switching to NixOS on my daily-drivers and a few servers. I like it so much. I'd like to share my insights about NixOS with you and excit you to have a try :)
My configuration: https://github.com/yqlbu/nixos-config
Background
NixOS, a Linux distribution built on top of the Nix package manager, can be described as "OS as Code." It employs declarative Nix configuration files to describe the entire state of the operating system.
Nix is a declarative package manager that enables users to declare the desired system state in configuration files (declarative configuration), and it takes responsibility for achieving that state.
The NixOS & Flakes Book is an amazing source to start the journey with. Let me know if you'd like to give it a try.

Hey Kev! It's been a while, hope the mobile CI team is still going strong. Miss working with you guys.
I'm trying nix out in this repo at the moment to manage the dev environment (through devshell) and so far really liking it. NixOS is definitely on my radar to try out this year, it looks really cool. Will give your config a peruse as well for inspiration 😃

Cool, glad to know that you like it!


Merge openxla-pjrt-plugin into integrations/pjrt for in-tree development.

Per discussion on https://groups.google.com/g/iree-discuss/c/0pCKa3h4dEU

I'm going to land with all of the dead code since it represents things that I had to remove to get it compiling and needs to be re-implemented. Easier to keep the breadcrumb for the very immediate future.


Crashes on Windows 10 Enterprise without generating an error log

See: http://puu.sh/lg01n/1c757eb7d2.webm
I have deleted GrabACR from appdata and ensured .NET Framework is up to date.

What is the version of KanColleViewer?
(Where did you download it?)

The video is Yuubari's fork here, but the crash happens on the download from your website/git as well: http://puu.sh/lgfCy/002d4930c2.webm


addonsList

add addons button skaffolding
add addons view

thanks for fixing the button
the disable button doesnt seem to work yet but we we can fix it on follow up PRs


Supports mdbook theme

As written in the README, I just openend an issue to show support in this idea.
I think supporting the creation of docbook entirely in Nim would be really useful for bigger projects.

I'm linking our discussion at SciNim that relate (loosely) to nimib and having a mdbook theme : https://github.com/SciNim/getting-started/issues/1

most interesting resources from mdbook docs and repo:

https://rust-lang.github.io/mdBook/format/theme/index.html
https://github.com/rust-lang/mdBook/blob/master/src/theme/index.hbs

The index.hbs is a gold mine! 🤩 Many things we could get "inspiration" from ;) One notable thing though is that they are heavily using #if, which if I understand it, mustache doesn't support. So they'd need to be handled in a more dynamic way I guess? But at the same time, most of them seem unnecessary, either because they could be on by default or because we have other ways of handling a few of them.
The most important part is the sidebar though, and it seems easy enough. It seems like we would only have to move the left partial (if we want to use it) above > header to get the layout correct. The hard part is getting it to play along with Water.css which sets a max-width of 800px for body which will have to work around: https://github.com/kognise/water.css/blob/129e255eb441f3501471893aea128b2a3530dab6/src/parts/_base.css#L9

I think the strategy would be to throw away the default template and styling and start with that directly. Mustache does support a similar mechanism for if (and it has loops too), but as you noted, we will not need most of the stuff as a first approximation.

Okay yeah, that makes sense. It's nicer to not have to do workarounds when you can tailor it to your needs from the beginning. How would a user of Nimib change between the default template and the nimBook template then? Or do you mean throw away as in making the nimBook theme the default?

Mustache does support a similar mechanism for if (and it has loops too)

Oh I was stuck on the "logic-less, has no if-statements" part but it seems like Sections are what can be used 😮

How would a user of Nimib change between the default template and the nimBook template then?

put a document.mustache in the folder, see the WIP #43

Or do you mean throw away as in making the nimBook theme the default?

no, the default should still be a single page notebook

"logic-less, has no if-statements"

yeah, I feel that sentence is a bit wishful thinking like zen of python "there should be only one way of doing it". But I guess mustache still prevents from putting logic like "if a == 1 and b == 2"...
and to be honest handlebars presents itself as logicless too (it actually seems to be an extension of mustache): https://www.npmjs.com/package/handlebars

put a document.mustache in the folder, see the WIP #43

Why am I surprised that even the document could be templated 🤯 Great, anything I can help with other than trying to make a "real-world" example at SciNim? 😄

no, the default should still be a single page notebook

Ok gotcha 👍

yeah, I feel that sentence is a bit wishful thinking like zen of python "there should be only one way of doing it". But I guess mustache still prevents from putting logic like "if a == 1 and b == 2"...

Yeah that's true, checking if a value exists (or is falsey) is quite a simplification of an ordinary if-statement.
And I thought it was the casinos that was the biggest scammers but it seems to be templating engine (except they scam to our advantage) 🤣

link: https://pietroppeter.github.io/nimib/book/index.html

the PR implementing this in nimib was reverted (reset hard), I moved all this content to a separate repo. Final result (click github icon to reach the repo):
https://pietroppeter.github.io/nimiBook/