Fixes and tests

Added a couple of fixes, tests and a README for the OpenGPG middlware

Codecov Report

Merging #20 (8365f46) into main (b35d32a) will increase coverage by 3.51%.
The diff coverage is 33.33%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   80.37%   83.88%   +3.51%
==========================================
  Files           4        4
  Lines         270      273       +3
==========================================
+ Hits          217      229      +12
+ Misses         50       37      -13
- Partials        3        7       +4

Impacted Files
Coverage Δ

openpgp/openpgp.go
41.07% <33.33%> (+20.31%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


feat(barchart)!: allow axes to accept Lines

Fixes: https://github.com/ratatui-org/ratatui/issues/1272

Dependencies action is failing due to docker build.


Unable to get running

Hello!
I have trouble getting and building:
go get -u gopkg.in/roblaszczak/go-cleanarch.v1
# gopkg.in/roblaszczak/go-cleanarch.v1
../../../go/pkg/mod/gopkg.in/roblaszczak/go-cleanarch.v1@v1.1.1/main.go:44:37: not enough arguments in call to cleanarch.NewValidator
	have ()
	want (map[string]cleanarch.Layer)

I tried from source, and got something compiling after adding go.mod...

Hello, sorry for the delay! Issue is now fixed.


grammar fixup

Noticed this sentence seemingly missing a word or two.

 You should sign our Contributor License Agreement in order to get your pull request merged.

Hello
thank you for submitting this addition. I've merged your contribution as 215b8939bd14717d321dc8ad82458ac7b2e24391 (master) and a809b3f456065949f6c9b972d26a9bac994081c8 (v0.15.docs).
Cheers,
Digitalcraftsman


tests for initial pin value

The fix was already merged into master, these are just tests to validate #34 and #35

These are just tests, doesn't touch main library. Moving forward with the merge.


Run without blocking like thread::spawn

Is it possible to just execute the closure without blocking the thread waiting for it (like thread::spawn)?
cutting this essentially
    for num in coro {
        println!("{}", num.unwrap());
    }

Well, what you want is a coroutine scheduler. Check this out.

coroutines are kinda sad in rust.

Yes. It is said. But C# style yield is going to be merged in nightly. So .. well, at least we have stackless coroutines


ajax-bootstrap-select breaks required field

On a select with a required attribute if the "with-ajax" class is added, the required stops working and submitting the form doesn't check anything.
This plugin is breaking required fields.
Basically is causing this issue https://github.com/snapappointments/bootstrap-select/issues/514

Did you find any solution about it?

Nope.  I just saw your comment from 4 years ago :)


Missing content on certain pages

Hello State of JS,
I noticed a description missing for "Decorators" in your survey results, as well as duplicated descriptions for "Custom Elements" and "Shadow DOM".

Custom elements and shadown DOM share an MDN page, so they have the same text: https://developer.mozilla.org/en-US/docs/Web/Web_Components
And MDN doesn't have a page for decorators yet so we couldn't pull in any text there.

Custom elements and shadown DOM share an MDN page, so they have the same text: https://developer.mozilla.org/en-US/docs/Web/Web_Components
And MDN doesn't have a page for decorators yet so we couldn't pull in any text there.

Good to know, thank you for clarifying, @SachaG! You all did an excellent job with this year's survey, as always! :)

Good to know, thank you for clarifying, @SachaG! You all did an excellent job with this year's survey, as always! :)


Source generator: Is there any way to find all object instantiations?

Hi! I already tried to ask on StackOverflow, but nobody seems to know there, so I'm trying here.
I am trying to make a source generator that would mimic C# anonymous objects, because they are great for when you are manipulating with collections (Select, GroupBy, etc.).
Imagine this code:
class Person {
  final String firstName;
  final String lastName;
  final int age;

  Person(this.firstName, this.age, this.lastName);
}

class TestClass {
  final _data = [
    Person('John', 'Doe', 51),
    Person('Jane', 'Doe', 50),
    Person('John', 'Smith', 40),
  ];

  void testMethod() {
    final map1 = _data.map((p) => _$$1(name: p.firstName, age: p.age));
    final map2 = _data.map((p) => _$$2(fullName: '${p.firstName} ${p.lastName}', age: p.age));
  }
}

Those _$$x objects are what I want to generate now. I need to somehow find them and find what is being passed into them, so my code generator would generate this:
class _$$1 {
  final String name;
  final int age;

  const _$$1({required this.name, required this.age});
}

class _$$2 {
  final String fullName;
  final int age;

  const _$$1({required this.fullName, required this.age});
}

but I cannot seem to even find method content:
FutureOr<String?> generate(LibraryReader library, BuildStep buildStep) {
  for (final clazz in library.classes) {
    final method = clazz.methods.first;
    method.visitChildren(RecursiveElementVisitor<dynamic>());
  }
}

it looks like the MethodElement doesn't have any children? so this doesn't look like the right way.
Is there any other way to find what I need?

I can't speak to what information the code generator makes available to you, but I can confirm that the MethodElement (which is part of the element model, doesn't have any representation of the content of the method. The element model represents the things (elements) that are declared in code (can be referenced). The ast model represents the full source code, including statements and expressions, and is what you need in order to find invocations of methods.
@jakemac53 for information about how to access the AST from a code generator.

Thank you! I have been able to find FunctionExpression -> ExpressionFunctionBody -> MethodInvocation, there I see the object name (_$$1) and its argumentList.
However I cannot find the argument types I need for generating the class (String and int in this case), staticType is null.
Am I approaching this right? Can I get those types somehow?

@leoshusar you need a resolved Ast for this, which you can get by passing resolve: true to the call to astNodeFor.

So I finished the main functionality and I've got one more question now.
When I write this:
final a = _$$1(string: 'test');
final b = _$$2(test: a.string);

it will generate these classes:
class _$$1 {
  const _$$1({required this.string});

  final String string;
}

class _$$2 {
  const _$$2({required this.test});

  final dynamic test;
}

The _$$1 is correct, but _$$2 has the property as dynamic, because both classes are being generated from the same AST and it doesn't know about the _$$1.
Is there any way to generate the first class and somehow re-resolve the AST with that class included?

Sort of, but it probably isn't realistic for you.
You could create different part files, and you could re-resolve after outputting each one. But that requires an unknown number of part files, so you probably wouldn't be able to properly declare your outputs.

And any other options? Isn't there maybe some way to force rerun the generator on the same library input but with added data from the previous run? I'm imagining something like it would run until I don't return any new source.
I'm open to any hacks (except modifying SDK or 3rd party libs) that would make it working, if there are any.

There aren't any hacks you could use that I am aware of. Files are immutable in the build once they are produced.

You could create different part files, and you could re-resolve after outputting each one.

Could you please tell me more about how it would work, what would trigger the generator to re-run after one part being generated? I've been thinking about it got a few more ideas (that may also be impossible).

generate first part file
re-resolve AST
generate second part file but save that content in the first part file
re-resolve AST
...

You said files are immutable, but what about editing them directly using File from dart:io? Is there a way to get a direct path to that file?

generate the first part and save it to a variable inside the generator
re-resolve
generate the second part and merge it with the previously generated one, save again, overwrite the already created part file
...

Running my own analysis context inside a single build step, which I would be (somehow) able to modify, add source to it, resolve ASTs, etc.

Do you think any of these is possible?

You said files are immutable, but what about editing them directly using File from dart:io? Is there a way to get a direct path to that file?

If you ever find yourself importing dart:io, its almost guaranteed you will break the build system in some way. In this case we cache contents of files, so we won't see your update. The analyzer will also cache the analysis results.

generate the second part and merge it with the previously generated one, save again, overwrite the already created part file

We don't allow overwriting files. As a general principle the build system only allows new code, not modifying existing code.
I could possibly see an argument that it would be safe to allow overwriting a file within the same build step though. This would allow you to do what you want. The file isn't exposed to any other builders at that point, so it probably wouldn't create major issues. This feature would have to be an external contribution, and it would take a fair bit of work, and need to be thoroughly tested etc. If you want to try and take that on, I would first file an issue to discuss the design and get sign-off before implementing so you don't waste effort.

3: Running my own analysis context inside a single build step, which I would be (somehow) able to modify, add source to it, resolve ASTs, etc.

In theory this would likely be possible, but it would be a large amount of work (to do right). It would also be very slow compared to using the built in resolver which shares analysis work across build steps.

Could you please tell me more about how it would work, what would trigger the generator to re-run after one part being generated?

I think you would not be able to use source_gen, you would need to use the regular Builder class. You could likely use some helpers from source_gen though.
We allow you to see your own generated outputs immediately after outputting them, so you can just re-resolve after calling the BuildStep#writeAsString method to write files. You would likely need to re-navigate back to the same place you were at in the new Ast node you are given though, I don't think the resolved Ast you had before will still be valid (or have updated results).
The larger issue though is knowing how many parts you will need to output. You have to declare outputs before looking at the file. So I don't really see how it could work out for your use case, unless you limit to some hard coded possible number of outputs.

Thank you for explanation!
I don't think it's worth the hassle to implement anything to support this in the build package, because if I'm not mistaken, once this is implemented, it would work the same as what I'm trying to do here, but native.
Anyway, I tried to re-resolve after using BuildStep#writeAsString, but it doesn't pick my output.
part 'anon_test.a.dart';

class TestClass {
  void testMethod() {
    final a = _$$1(string: 'test');
    final b = _$$2(test: a.string);
  }
}

import 'dart:async';

import 'package:analyzer/dart/ast/ast.dart';
import 'package:analyzer/dart/ast/visitor.dart';
import 'package:build/build.dart';

class AnonymousObjectsBuilder implements Builder {
  @override
  final buildExtensions = const {
    '.dart': ['.a.dart'],
  };

  @override
  FutureOr<void> build(BuildStep buildStep) async {
    final inputLibrary = await buildStep.inputLibrary;
    final newInputId = buildStep.inputId.changeExtension('.a.dart');

    final visitor = TestVisitor();

    var ast = await buildStep.resolver.astNodeFor(inputLibrary.topLevelElements.first, resolve: true);
    // this will print these lines:
    // [_$$1] string String
    // [_$$2] test dynamic
    ast!.visitChildren(visitor);
    // generate _$$1, hardcoded for now
    await buildStep.writeAsString(newInputId, 'part of \'anon_test.dart\';\n\nclass _\$\$1 {\n  const _\$\$1({required this.string});\n\n  final String string;\n}');

    // re-resolve - is this the right way to do it?
    ast = await buildStep.resolver.astNodeFor(inputLibrary.topLevelElements.first, resolve: true);
    // since _$$1 is generated, I can see the file exists and IDE picks up that class, it should print these lines:
    // [_$$1] string String
    // [_$$2] test String
    // but the latter one is still dynamic
    ast!.visitChildren(visitor);
  }
}

class TestVisitor extends RecursiveAstVisitor<void> {
  @override
  void visitMethodInvocation(MethodInvocation node) {
    super.visitMethodInvocation(node);

    final methodName = node.methodName.name;

    if (!methodName.startsWith(r'_$$')) {
      return;
    }

    final argument = node.argumentList.arguments.first as NamedExpression;

    print('[$methodName] ${argument.name.label.name} ${argument.staticType}');
  }
}

Hmm I think that this is not actually supported via part files, we don't invalidate the parent library, so you won't get updated results.
You could emit a new library instead of a part file, but then you can't use private names, which you probably want, but I did confirm that would work (you need to explicitly resolve the new library with libraryFor, but can throw the result away).
We could possibly support re-resolving the input library to pick up part files, but I am not super convinced it is worth while.

Ahh, that's unfortunate. And yes, since I wanted to use private names, I guess I have no more ideas now. I think I'll live with it as it is now and maybe soon it will be supported natively.
Thank you for your help!


Getting Error "The ACS has provided an Erro message. CReq validation failure." when submitting the form.

I have submitted the test data and getting error "The ACS has provided an Erro message. CReq validation failure.". I have checked about the issue and found that it is because "{}" in vpsTxId and I have tried by removing the paranthesis and then it's working fine. But the form html is inside vendor folder which we can't modify directly. File Path => vendor\omnipay\common\src\Common\Message\AbstractResponse.php
Would anyone suggest how to fix this?

Can you provide any additional details? What is failing, and what are you doing when it fails?

I have replaced {} in hidden field value in file path vendor\omnipay\common\src\Common\Message\AbstractResponse.php that and then it's working fine.
Replace below code
$output = sprintf(
$output,
htmlentities($this->getRedirectUrl(), ENT_QUOTES, 'UTF-8', false),
$hiddenFields
);
With
$output = sprintf(
$output,
htmlentities($this->getRedirectUrl(), ENT_QUOTES, 'UTF-8', false),
str_replace(array("{", "}"), "", $hiddenFields)
);
And then it's working fine. As it removes the {} which gets added to vpsTxId.

Some workarounds here: https://stackoverflow.com/questions/71424620/sagepa-3ds2-3377-the-acs-has-provided-an-erro-message-creq-validation-failure


RF Tools Builder does not count EnderIO Dimensional Tranceiver as valid liquid tank

Issue Description:
RF Tools Builder does not count EnderIO Dimensional Tranceiver as valid liquid tank
What happens:
RF Tools Builder give a message about no suitable block found
What you expected to happen:
RF Tools Builder pumps liquid to Dimensional Tranceiver
Steps to reproduce:
Put down RF Tools Builder and EnderIO Dimensional Tranceiver on top of it. Builder will be able to collect blocks and put it into Tranceiver or place blocks taking them from Tranceiver. Builder will not be able to push/push liquids (capability which Tranceiver definitely has).

Affected Versions (Do not use "latest"):

EnderIO: 1.12.2-5.0.29
EnderCore: 1.12.2-0.5.35
Minecraft: 1.12.2
Forge: 1.12.2-<IP_ADDRESS>05
RFTools: 1.12-7.55

I posted this to RFTools tracker and McJty told that issue is not on RFTools side
https://github.com/McJtyMods/RFTools/issues/1817

The Dimensional Transceiver is not a tank, it it a fluid transport system. It tries to input fluids into the builder, but as the builder also is no tank, that fails.

So, it is impossible to use one builder for both liquids and items, hence it only can work with block above it which can either be liquid tank or item container?


Move documentation from argument parser to function definitions

Documents the functions and generates help messages for the CLI interface.

Codecov Report

Merging #24 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master      #24   +/-   ##
=======================================
  Coverage   83.28%   83.28%
=======================================
  Files          12       12
  Lines         359      359
=======================================
  Hits          299      299
  Misses         60       60

Impacted Files
Coverage Δ

osfclient/cli.py
98.48% <ø> (ø)
:arrow_up:

osfclient/__main__.py
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 000a5c4...d4bfc7f. Read the comment docs.


[FEATURE for Developers] Configure ESlint and Prettier

Detailed description
Need to configure ESlint and Prettier as in the "TheCyberHUB" project , for better development experience
Context
I noticed that in some parts the indentation is not readable so we need to configure Prettier to make the same structure for all the developers.
ESlint is to make the developers be persistent under its rules
Possible implementation
Add the packages and files , can be copied from "TheCyberHUB" or configured from scratch
Additional information
No response
Code of Conduct

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

@kabir0x23


fix(vite-plugin-angular): allow build-angular v15

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

[X] The commit message follows our guidelines: https://github.com/analogjs/analog/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[X] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

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

Which package are you modifying?

[X] vite-angular-plugin
[ ] astro-angular
[ ] create-analog
[ ] router

What is the current behavior?
The peer dependency @angular-devkit/build-angular supports only major version 14.

Issue Number: N/A
What is the new behavior?
The peer dependency @angular-devkit/build-angular should also support major version 15.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Thanks! @allcontributors add @ilteoood for code

@brandonroberts that was really quick, thanks!
May I ask you for a new release of the plugin?

Sure, all packages have been bumped and released
https://github.com/analogjs/analog/commit/a2eab8e7fe5908b95eca37a78553555f3478be3b


Cookie manager triggers a rerun

I've noticed that creating the cookie manager triggers a rerun of the streamlit app, which makes it difficult to work with.
For example, with this app:
import extra_streamlit_components as stx
import streamlit as st

cookie_manager = stx.CookieManager()
st.session_state["run_count"] = st.session_state.get("run_count", 0) + 1
st.write("run_count:", st.session_state["run_count"])

It will flash "run_count: 1" faster than the eye can see and then land immediately on "run_count: 2".
Now, if we add time.sleep(2) after the CookieManager() call:
import extra_streamlit_components as stx
import streamlit as st
import time

cookie_manager = stx.CookieManager()
time.sleep(2)
st.session_state["run_count"] = st.session_state.get("run_count", 0) + 1
st.write("run_count:", st.session_state["run_count"])

The rerun happens during the sleep, before the increment happens, and we land on "run_count: 1".
This rerun complicates things like buttons, since the rerun reverts the buttons state back to False. For example, with this app:
import extra_streamlit_components as stx
import streamlit as st
import time

if st.button("Button"):
    st.session_state["button_clicked"] = True
    cookie_manager = stx.CookieManager()
    time.sleep(2)
    st.write("Button clicked")
st.session_state["run_count"] = st.session_state.get("run_count", 0) + 1
st.write("run_count:", st.session_state["run_count"])

We will never see the "Button clicked" message, because the rerun is triggered by CookieManager() which takes place during the sleep, and when the rerun occurs, st.button("Button") is now False. To get the button click to trigger actions that occur after the CookieManager() call, we need to use session state like this (or something similar):
import extra_streamlit_components as stx
import streamlit as st
import time

if st.session_state.get("button_clicked", False):
    st.write("In session state if statement")
    st.session_state["button_clicked"] = False
if st.button("Button"):
    st.session_state["button_clicked"] = True
    cookie_manager = stx.CookieManager()
    time.sleep(2)
    st.write("In button if statement")
st.session_state["run_count"] = st.session_state.get("run_count", 0) + 1
st.write("run_count:", st.session_state["run_count"])

Is this expected behavior? Is there a way to prevent the rerun? Any help would be appreciated.

Additional discussion here: https://discuss.streamlit.io/t/cookies-support-in-streamlit/16144/35

Should be fixed in 0.1.70

I am currently using the 0.1.71 but it seems that the rerun triggered by calling stx.CookieManager() is still present.
Anyone else with the same issue?


[SPIRV] Break SPIRVVectorize pass into GenericVectorization and SPIRVVectorLowering passes.

This removes vectorization patterns from SPIRVVectorize pass and delegate it to GenericVectorization.
It renames the old pass to SPIRVVectorLowering because it is mainly lowering vector ops.
This is a duplicate of https://github.com/openxla/iree/pull/14902 to push it through to completion.

 Should be pretty much NFC though.


Open surface model

Hi,
I was trying to apply Stroke Mimicry on an open surface model. Seems like it only works with closed surface models. I would like to know if there is anyway it can be applied to open surface models as well.
Thanks

You should be able to use mimicry without Phong projection on an open surface. Unfortunately, I'm not aware of an easy way to extend Phong projection to open surfaces.


Setup instructions

Could someone please upload setup instructions?
We got (almost) all the parts and would be ready to test the build/setup instructions for the system.

Please take a look at #57 and let me know if anything is unclear or not working.


Providing databound video ids from Youtube or Vimeo to Markup Extensions

Hi Adam,
We bought the Video Player a few days back and I am trying to implement it in XAML to stream Youtube/Vimeo videos. In getting started page you mention the markup extension YouTubeVideoId:
Converts a YouTube video ID into a compatible stream URL for playback.
Example: <o:VideoPlayer Source="{e:YouTubeVideoId vu4WK-FMyIg }" />
Now, I have to databind the video id to a variable in my viewmodel (MVVM). So "vu4WK-FMyIg" in above example is a value provided by some variable "ytVideoID" in the viewmodel. I am unsure of how I can achieve this. Any suggestions?
P.S. - I went through the Chill Player implementation, which does this in the code behind on custom button events/commands. Is there any way to do this in XAML itself?

Nevermind. I ended up using a custom IValueConverter and using the markup extensions from there to get the video source.


(#5) Fix pagination active is misleading

Ready for review

Hi @satyawikananda , I've updated pagination component to flip active class. Please review it if you have time.
Thanks!

LGTM, Thank you

Thank you @satyawikananda , sorry.
Just to complete my mission wkwk
May you edit this PR with you as "Reviewer" and make it Approved ✅


[bounty] $1000 make RDP work

current status:
i did a large part of the work here:
https://github.com/mediar-ai/screenpipe/pull/686
but something is not working:
screenshots are showing my own screen instead of the connected users' screen

i properly am able to list sessions, get tokens, etc. but then it fails - tried both in python and in rust, same issue
definition of done:
make one of those bins work
https://github.com/mediar-ai/screenpipe/pull/686/files#diff-5f59a0279ffec923a1f389f4ec443da49d2e0bcf4de83d0f154a0a8ccf5d4e16
https://github.com/mediar-ai/screenpipe/pull/686/files#diff-62d7d5d81348edcf32b86ef4546e79b86bc50b7c1fa580f011426c5acc4f9569
eg:

screenpipe runs on a Windows 22 server
n clients connect to it through Microsoft Remote Desktop, each seeing their own user/session/screen
screenpipe capture each client screen/session (and not the local server screen)

you can send a new PR if you want - copy pasting my code and making it work
i can do the plumbing to the rest of the code (which is the easy part)
PS: it's a screenpipe enterprise solution, not related to our main codebase
/bounty 1000

current status:
i did a large part of the work here: #686
but something is not working:
screenshots are showing my own screen instead of the connected users' screen

i properly am able to list sessions, get tokens, etc. but then it fails - tried both in python and in rust, same issue
definition of done:
make one of those bins work
https://github.com/mediar-ai/screenpipe/pull/686/files#diff-5f59a0279ffec923a1f389f4ec443da49d2e0bcf4de83d0f154a0a8ccf5d4e16
https://github.com/mediar-ai/screenpipe/pull/686/files#diff-62d7d5d81348edcf32b86ef4546e79b86bc50b7c1fa580f011426c5acc4f9569
eg:
* screenpipe runs on a Windows 22 server

* n clients connect to it through Microsoft Remote Desktop, each seeing their own user/session/screen

* screenpipe capture each client screen/session (and not the local server screen)

you can send a new PR if you want - copy pasting my code and making it work
i can do the plumbing to the rest of the code (which is the easy part)
PS: it's a screenpipe enterprise solution, not related to our main codebase
/bounty 1000

@louis030195 So if I understand correctly, one of the 3 users connects to the RDP server but does whatever work on their local machine, and screenpipe in the server will capture what each user is doing in their local machine and register it separately.
Doesn't this mean the server will need to be able to see the client's screen? Then wouldn't we need to do it the other way around? I.e. the server connects through RDP to the user machines, and captures the RDP contents.

@Neptune650 there is supposedly an API to just get the stream of user screen
because most of the time cloud desktop, like cloud gaming, etc. is just streaming the server OS to the local computer

@Neptune650 there is supposedly an API to just get the stream of user screen
because most of the time cloud desktop, like cloud gaming, etc. is just streaming the server OS to the local computer

@louis030195 btw, the "rdp2" program and screenpipe both run on the server? Or rdp2 runs on the client?

@louis030195 I don't think it would be straight-forward due to Windows restrictions.
My only guess to achieve this is, we need to add run-as-service feature to the app, then run/install rdp2.exe as a service eg rdp2.exe --service. Listen to user logon events, and on every new user logon, execute itself i.e rdp2.exe again, but in the respective user session context.
So there will be one process running as service and then one process each for every user session.
rdp2.exe (Service)
|_ rdp2.exe (User 1)
|_ rdp2.exe (User 2)
|_ rdp2.exe (User 3)

@Neptune650 there is supposedly an API to just get the stream of user screen
because most of the time cloud desktop, like cloud gaming, etc. is just streaming the server OS to the local computer

@louis030195 btw, the "rdp2" program and screenpipe both run on the server? Or rdp2 runs on the client? We can talk over telegram if you'd like.

yes i just run rdp2 or rdp on the server
https://screen-record.com/ is able to record users' sessions without having to do anything on the client side

other thing to try https://gist.github.com/louis030195/e17d4b3c637928b89358c6816e461150

@louis030195 This solution most probably won't work from my experience¹, since RDP itself uses Windows Desktop Duplication API behind the scenes, and it takes exclusive control, preventing other applications from accessing the duplication API while the RDP session is active.
¹ Unless they have changed this behaviour in the latest Windows updates.

other thing to try https://gist.github.com/louis030195/e17d4b3c637928b89358c6816e461150

@louis030195 This solution most probably won't work from my experience¹, since RDP itself uses Windows Desktop Duplication API behind the scenes, and it takes exclusive control, preventing other applications from accessing the duplication API while the RDP session is active.
¹ Unless they have changed this behaviour in the latest Windows updates.

@louis030195 Antony is right; to actually record the user’s sessions, you would need a service in users’ client. Honestly, we can try to use fibers for that purpose to not be detected by kernel, thus not showing up in the process window. Fibers are a legit security issue in the Windows design part, but it can be used like this. But it needs to be attached to a process to work. So, I am not sure if it's possible with sandboxing of modern applications, and this goes straight into malware territory. But I think they just record the user by not showing themselves in the process manager using a similar method, then send the data in-real time.
To record multiple remote desktop sessions on a server like Windows Server 2022, you can capture each session's screen individually.  This is done using the server's built-in tools to record each user's desktop separately. Thus, the cloud gaming.

@Neptune650 there is supposedly an API to just get the stream of user screen
because most of the time cloud desktop, like cloud gaming, etc. is just streaming the server OS to the local computer

@louis030195 btw, the "rdp2" program and screenpipe both run on the server? Or rdp2 runs on the client? We can talk over telegram if you'd like.

yes i just run rdp2 or rdp on the server
https://screen-record.com/ is able to record users' sessions without having to do anything on the client side
other thing to try https://gist.github.com/louis030195/e17d4b3c637928b89358c6816e461150

(*dxgi_factory).EnumAdapters1(0, &mut adapter);
if adapter.is_null() {
    return Err("Failed to find DXGI Adapter".into());
}

You are trying to access the wrong driver here. You need to use Microsoft's "Remote Display" driver instead. It wouldn't make sense to try to reach the physical driver of another device from your device.
return Err("Failed to duplicate output".into());
Duplication is not enabled by default for remote displays. Because simply, there is no "real" desktop to capture and since it will 100% of the times fail, its gonna return your own physical desktop because of AcquireNextFrame

@zelosleone not sure to understand,

To record multiple remote desktop sessions on a server like Windows Server 2022, you can capture each session's screen individually. This is done using the server's built-in tools to record each user's desktop separately. Thus, the cloud gaming.

what do you mean by that? which API is used in this case?

@zelosleone not sure to understand,

To record multiple remote desktop sessions on a server like Windows Server 2022, you can capture each session's screen individually. This is done using the server's built-in tools to record each user's desktop separately. Thus, the cloud gaming.

what do you mean by that? which API is used in this case?

https://learn.microsoft.com/en-us/windows/win32/termserv/terminal-services-api
WTSVirtualChannelQuery and WTSQuerySessionInformationW via Remote Desktop Services API

@zelosleone that's exactly what i did first but it was only capturing local machine instead of users:
https://github.com/mediar-ai/screenpipe/pull/686/files#diff-5f59a0279ffec923a1f389f4ec443da49d2e0bcf4de83d0f154a0a8ccf5d4e16

/attempt


Add Tableau connector source files

Issue #81:
Description of changes:

Added connection dialog
Added dialect & customizations

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Also, can we change src/TaCo/ to src/TableauConnector? I do like the abbreviation, but I think we should stay on the side of clarity here.

Also, can we change src/TaCo/ to src/TableauConnector? I do like the abbreviation, but I think we should stay on the side of clarity here.

Renamed to src/TableauConnector


chore(package): update react packages to v15.6.0

Closes #101

Codecov Report

Merging #102 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #102   +/-   ##
=======================================
  Coverage   91.89%   91.89%
=======================================
  Files           1        1
  Lines          37       37
  Branches        9        9
=======================================
  Hits           34       34
  Misses          3        3

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 290e83d...6dae799. Read the comment docs.


Sanity Node JS client typescript error for ObservableTransaction Type

Hi,
I'm trying to compile a typescript node js project and sanity IO client throws these two errors:
"Property 'commit' in type 'ObservableTransaction' is not assignable to the same property in base type 'Transaction' "
"Property 'clone' in type 'ObservablePatch' is not assignable to the same property in base type 'Patch' "
`node_modules/@sanity/client/sanityClient.d.ts:387:3 - error TS2416: Property 'clone' in type 'ObservablePatch' is not assignable to the same property in base type 'Patch'.
Type '() => ObservablePatch' is not assignable to type '() => Patch'.
Call signature return types 'ObservablePatch' and 'Patch' are incompatible.
The types returned by 'commit(...)' are incompatible between these types.
Type 'Observable<SanityDocument>' is missing the following properties from type 'Promise<SanityDocument>': then, catch, finally, [Symbol.toStringTag]
387   clone(): ObservablePatch`
`node_modules/@sanity/client/sanityClient.d.ts:560:3 - error TS2416: Property 'commit' in type 'ObservableTransaction' is not assignable to the same property in base type 'Transaction'.
Type '{ (options: TransactionFirstDocumentMutationOptions): Observable<SanityDocument>; (options: TransactionAllDocumentsMutationOptions): Observable<...>; (options: TransactionFirstDocumentIdMutationOptions): Observable<...>; (options: TransactionAllDocumentIdsMutationOptions): Observable<...>; (options?: BaseMu...' is not assignable to type '{ (options:
TransactionFirstDocumentMutationOptions): Promise<SanityDocument>; (options: TransactionAllDocumentsMutationOptions): Promise<...>; (options: TransactionFirstDocumentIdMutationOptions): Promise<...>; (options: TransactionAllDocumentIdsMutationOptions): Promise<...>; (options?: BaseMutationOption...'.
560   commit(options: TransactionFirstDocumentIdMutationOptions): Observable`
and this is my tsconfig.json:
{   "compilerOptions": {     "target": "es6",     "lib": ["es2017", "esnext.asynciterable", "es2019", "ES2020.Promise"],     "typeRoots": ["./node_modules/@types"],     "allowSyntheticDefaultImports": true,     "experimentalDecorators": true,     "emitDecoratorMetadata": true,     "forceConsistentCasingInFileNames": true,     "moduleResolution": "node",     "module": "commonjs",     "pretty": true,     "sourceMap": true,     "outDir": "./dist",     "baseUrl": "./src",     "rootDir": ".",     "allowJs": true,     "noEmit": false,     "esModuleInterop": true,     "incremental": true   },   "include": ["./src/**/*", "./types"],   "exclude": ["node_modules", "tests"] }

We'll have a patch out for this on Monday - in the meantime, try setting skipLibCheck to true in your tsconfig: https://www.typescriptlang.org/tsconfig#skipLibCheck


Prompt user to confirm save

Issue:
Currently the user is not warned that they may lose their data on some operations. This issue addresses two of those cases.
When the user

closes the repo by clicking the X by the repo name,
switches to another file.

they should be given the choice to cancel the current action, save the file, or continue without saving.
"Do you want to save the changes you made to the file?
Your changes will be lost if you do not save them."
Buttons: Do Not Save | Cancel | Save (default)
DoD
When the user closes the repo by clicking the X by the repo name or switches to another file they should be given the choice to cancel the current action, save the file, or continue without saving.
Details:

https://github.com/unfoldingWord/tc-create-app/tree/zach-883-exit-prompt
https://github.com/unfoldingWord/markdown-translatable/tree/zach-883-exit-prompt
https://github.com/unfoldingWord/gitea-react-toolkit/tree/zach-883-exit-prompt

https://60de941553caab4a6251366f--tc-create-app.netlify.app/

@mandolyte
here's a script that will yalc all dependencies:
cd /mnt/d/Projects-unfoldingWord/tc-create-app

cd ../markdown-translatable
yarn
yalc publish

cd ../datatable-translatable
yalc link markdown-translatable
yarn
yalc publish

cd ../gitea-react-toolkit
yarn
yalc publish

cd ../tc-create-app
yalc link markdown-translatable
yalc link datatable-translatable
yalc link gitea-react-toolkit
yarn
yarn build
yarn start

@mandolyte
updated link to:
https://60e3da9c26405e4b1b9a2e88--tc-create-app.netlify.app

@mandolyte
#883 (prompt on unsaved exit) is ready to review again please (Monday 😊)
the old netlify links are NOT GOOD anymore
but the script above can be used to yalc all the dependencies
THANK YOU!

Updated script to work with your branch and some other few tweaks...
#!/bin/sh

BRANCH="zach-883-exit-prompt"
CURDIR=`pwd`
DIRNAME=`dirname $CURDIR`
PROJDIR=`basename $DIRNAME`

if [ "$PROJDIR" != "tc-create-app" ]
then
  echo "Script must be run from ./tc-create-app/scripts"
  exit
fi
cd ..
echo Assumptions:
echo All project folders are at same level
echo All branch names for each project folder are the same

echo ________________________________
echo Working on markdown-translatable
echo
cd ../markdown-translatable
git switch master
git pull
git switch $BRANCH
git pull
yarn install
yalc publish

echo _________________________________
echo Working on datatable-translatable
echo
cd ../datatable-translatable
git switch master
git pull
yalc link markdown-translatable
yarn install
yalc publish

echo ______________________________
echo Working on gitea-react-toolkit
echo
cd ../gitea-react-toolkit
git switch master
git pull
git switch $BRANCH
git pull
yarn install
yalc publish

echo ________________________
echo Working on tc-create-app
echo
cd ../tc-create-app
git switch master
git pull
git switch $BRANCH
git pull
yalc link markdown-translatable
yalc link datatable-translatable
yalc link gitea-react-toolkit
yarn install
yarn start

@mandolyte
Dear Cecil,
Got it updated again!
I think its working good this time! 👍
your script is good!!
if you use it, should be fine, since it brings in all 3 RCLs
markdown-translatable
datatable-translatable (not changed, but depends on markdown)
gitea-react-toolkit

I first had to discard my own changes. Then I ran the script successfully. Then:

logged in
selected uW, tN, English, and book of Ruth
then I got this:

Ideas?

@mandolyte  thanks -- are you sure it got the right gitea-react-toolkit?  from yalc please
thanks

@mandolyte
ready to yalc & test again please!
please NOTE: I added a new PR for datatable-translatable.  now it has changed too

works with backspace key now
also I completely reorganized how the contexts & state work for the "isChanged" / "isDirty" state

translationCore Create - v1.3.0-rc.3 build 69-dfb8e27.
Seeing the following prompt on leaving the current page without saving:

Clicking on OK, the changes are lost. Clicking on Cancel, the leave action is aborted and user can click on Save to save the changes.

🎉


[Bug]: Parsing AFNI script produces - Entity

batch name and line
File : https://github.com/bids-standard/BEP028_BIDSprov/blob/master/examples/from_parsers/afni/afni_alt_onesided_proc.sub_001
Line 310
3dTstat -sos -prefix - gmean.errts.unit.1D\' > out.gcor.1D

Note that I didn't check precisely but the same thing happens in other AFNI files.
What happened?
This line in the tcsh AFNI script
3dTstat -sos -prefix - gmean.errts.unit.1D\' > out.gcor.1D

generates the following Entity in the json file
{
  "@id": "urn:4cef8fb6-2bfe-4c0e-85b8-4020e5ea01e3",
  "Label": "-",
  "AtLocation": "-",
  "GeneratedBy": "urn:1c42556b-6ea5-40c5-ba7f-d049ffbfac3c",
  "digest": {
    "sha256": "dac304c9f20899ca1ef5aa403e565345fd0ff4ed80c35f82007c9b03a68292b3"
  }
},

Describe the expected ground-truth ?
The expected ground-truth :
We should create / reference these Entites instead:

gmean.errts.unit.1D
out.gcor.1D

What soft is concerned
AFNI

This is due to the fact - according to the AFNI documentation on 3dTstat - that the 3dTstat excutable has two signatures :

One for processing 4D files, e.g. : 3dTstat -min -prefix rm.epi.min.r$run rm.epi.1.r$run+tlrc
One for processing 1D files, e.g. : 3dTstat -stdev -bmv -prefix stdout: file.1D\' (the one described in this issue)


Confusing behaviour of forceparameter in output

Consider a pipeline which has a WebP image buffer as input
pipeline.jpeg().jpeg({chromaSubsampling: '4:4:4', force: false})

This leads to an output image in WebP format (input format) because the call with force = false comes second.
This is because the _updateFormatOut function sets the output format to 'input' if force=false regardless of the previous value.
Is this behaviour intentional? Or should there be a check on the existing output format value before changing it in _updateFormatOut function?

Hello, in this case I think the behaviour is expected as the use of force: false means "use the input format". Like with (most) other repeated operations, the most recently provided settings will "win".
Did you see https://github.com/lovell/sharp/issues/659#issuecomment-272688339 ?


Multiple waybars open after resume from dpms off.

Hi - I use waybar, hyrpland, hypridle and hyprlock.
Most times I wake from sleep (dpms off), waybar is showing multiple copies of itself.
This can usually be fixed by a simple pkill -SIGUSR2 waybar but this morning I come to my workstation and I have reached a new record. 7 waybars across both monitors!

Attached are the waybar logs from today, I woke the system (and unlocked screenlock) at 10:59:13.  (journalctl --user-unit waybar-hypr.service --since today > waybar-log.txt).
waybar-log.txt
❯ waybar --version
Waybar v0.10.3-60-gf4da2039 (branch 'master')

❯ expac '%-30n %v' -s 'waybar|hyprland|hypridle|hyprlock'
hyprcursor                     0.1.9-1
hyprevents-git                 11.09b54e7-1
hypridle                       0.1.2-1
hyprland-git                   0.40.0.r146.a54ab301-1
hyprlock                       0.3.0-1
hyprprop-git                   16.46d12db-1
hyprshot                       1.3.0-1
hyprwayland-scanner            0.3.8-1
waybar-git                     r3484.f4da2039-1
xdg-desktop-portal-hyprland    1.3.1-6

Does anyone have any suggestion on how to troubleshoot?
Thanks

I am also experiencing this with Waybar v0.10.3 and Sway. I was hesitating reporting before I had a concrete reproducible but I didn't yet figure how to trigger this behaviour.
For now I can only confirm that:

there is one Waybar process running at all times
sending a SIGUSR2 to Waybar kills them but after another DPMS off -> on they're all back
the number of Waybars grows randomly up to 7 (why 7?)
sending a SIGKILL and restarting Waybar of course wipes everything until it grows back to 7

By looking at the Waybar code, I am not sure where it happens. Could be even GTK receiving a wrong input on the onConfigure event. Next time I will debug this with GTK_DEBUG=all killall -SIGUSR2 waybar. I sense that I will see more Gtk_Window instances than expected.

I've had this for a long time, now. I'm on Hyprland. I was also in the same boat about not being certain of the cause and whether it was a Waybar issue or a Hyprland issue. Its one of those things I kept telling myself I'd look into but never made time for it since I'd usually just restart waybar.service...

I could catch this happening with waybar debug logging but unfortunately nothing interesting came out:
First, correct configuration when plugging the external monitor (HDMI-A-2)
[2024-06-19 10:08:07.596] [info] Bar configured (width: 1920, height: 33) for output: eDP-1
[2024-06-19 10:08:07.597] [info] Bar configured (width: 2560, height: 33) for output: HDMI-A-2

Then, correct reconfiguration when unplugging the external monitor:
[2024-06-19 18:27:36.312] [info] Bar removed from output: HDMI-A-2

Then, after waking up from the standby, I see 3 (!) instances of the previous monitor being removed
[2024-06-19 18:27:36.299] [debug] Output removed: Dell Inc. DELL U2515H
[2024-06-19 18:27:36.299] [debug] Output removed: Dell Inc. DELL U2515H
[2024-06-19 18:27:36.299] [debug] Output removed: Dell Inc. DELL U2515H
[2024-06-19 18:27:36.312] [info] Bar removed from output: HDMI-A-2

(Relevant code) where this is handled.
and finally when plugging the new monitor, 3 instances are configured in a short burst:
[2024-06-19 19:18:29.161] [debug] Output detection done: HDMI-A-2 (WOR TERRA LED2211 22129TB000514)
[2024-06-19 19:18:29.171] [warning] Mapping is not an object
...
[2024-06-19 19:18:29.286] [debug] Output detection done: HDMI-A-2 (WOR TERRA LED2211 22129TB000514)
[2024-06-19 19:18:29.287] [warning] Mapping is not an object
[2024-06-19 19:18:29.340] [debug] Output detection done: HDMI-A-2 (WOR TERRA LED2211 22129TB000514)
[2024-06-19 19:18:29.341] [warning] Mapping is not an object
...
[2024-06-19 19:18:29.831] [info] Bar configured (width: 1920, height: 33) for output: HDMI-A-2
[2024-06-19 19:18:29.831] [info] Bar configured (width: 1920, height: 33) for output: HDMI-A-2
[2024-06-19 19:18:29.831] [info] Bar configured (width: 1920, height: 33) for output: HDMI-A-2

As expected the GTK debug show 3 windows:

I have no clue about what is happening here :man_shrugging:
cc @Alexays any insights?

I'm curious if they are seeing this behavior on the GTK4 branch

I get this on the gtk4 branch. I just woke from sleep (dpms off) and now have two bars.
Maybe also of interest: I have 2 4K monitors. I regularly switch from two to one and back again. I use a small script to do this: it rewrites monitors.conf, moves windows  and workspaces around (using hyprctl monitor, hyprctl dispatch workspace and hyprctl dispatch moveworkspacetomonitor and uses ddcutil to switch monitor inputs.
I don't see a pattern with this issue and the monitor switching, only with the sleep. Just mentioning in case it's of any use.

I have two 2k monitors and I don't do any switches but I'm facing same issue. Using with hyprland.
➜  ~ expac '%-30n %v' -s 'waybar|hyprland|hypridle|hyprlock'
grimblast-git                  r89.fe26a90-1
hyprcursor                     0.1.9-1.1
hypridle                       0.1.2-1.1
hyprland                       0.41.2-1
hyprlock                       0.3.0-1.1
hyprutils                      0.1.5-1.1
nwg-panel                      0.9.34-1
waybar                         0.10.3-1.1
xdg-desktop-portal-hyprland    1.3.2-1.2

It's pretty consistent, happens everytime when it wakes up from dpms off state. As similar, pkill -SIGUSR2 waybar fixes it but yeah it's not a good experience though.

Helllo fellow hyprland and waybar users...
Is there anything I can do to help troubleshoot / resolve this? It's starting to get a little irritating. Every time I leave my workstation for more than a few minutes, I come back to a waybar-nado and have to pkill -SIGUSR2 waybar.
As a workaround, I tried adding the following to my hypridle config but it seems to not work:
listener {
    timeout = 900
    on-timeout = hyprctl dispatch dpms off  # command to run when timeout has passed
    on-resume =  hyprctl dispatch dpms on && pkill -SIGUSR2 waybar  # command to run when activity is detected after timeout has fired.
}

Maybe the pkill is running before we see the issue.
I guess swayidle would show the same problem.
However, if I do the following I am not able to replicate the problem:
sleep 3; hyprctl dispatch dpms off; sleep 10 ; hyprctl dispatch dpms on
Anyone have any insight or ideas on either a workaround or how to deterministically replicate the issue?
Thank you

I may found a workaround by luck, yesterday I was trying some config changes and instead of restarting waybar using SIGUSR2 I did a killall and started using:
hyprctl dispatch exec "waybar -c ~/.config/waybar/config-hypr"

Today my monitors went off couple of times and this bug didn't happen. Will test further

I have the same issue in River

Having this, too. But I think restarting by SIGUSR2 is not a workaround, it's actually triggering the duplication. In sway, if I do
killall -SIGUSR2 waybar; swaymsg output DP-1 disable; sleep 1; swaymsg output DP-1 enable

Then after the screen is re-enabled, waybar comes back with itself duplicated. After many times running the command, waybar will then duplicate as many times.

Having this, too. But I think restarting by SIGUSR2 is not a workaround, it's actually triggering the duplication.

That's a good catch. I'm finally able to reproduce the issue with your command, and SIGUSR2 indeed was the problem.
The handler for SIGUSR2 is a mess: it causes a complete reinit of the application (waybar::Client::main()) over an existing state. Every time that happens we register a new set of Gdk::Display::signal_monitor_added()/Gdk::Display::signal_monitor_removed() handlers and receive more and more duplicate events for the same monitor.
I'll need some time to figure out how to untangle that properly (and address the obvious signal safety violations in main.cpp). A quick and dirty patch is available here: https://github.com/alebastr/Waybar/commit/reload-signal-fix
Functionally, SIGUSR2 isn't different from restarting the application, so I suggest to just stop using it for now.

I removed the SIGUSR2 signals from my ~/.config/systemd/user/waybar.service and ~/.config/hypr/hypridle.confm and I have re-introduced all of the previous dpms off and dpms on config in hypridle.conf.
I am now unable to replicate the issue. I have not seen it again since those config changes a few days ago.
Looks good to me!


template for ap-south-1

Hi John
We need cloud formation templates for ap-south-1 region. There is a line in config.php that limits the region:
 '2017-10-17',
    'region' => 'us-east-1',
]);

.....

Thanks a lot for your time.

Best
Prasad

John,
Would it be possible to create a template launch button for "ap-south-1" on the home page of this repo.
Thanks
Prasad


Dyskami Tri-Stat, BESM, and Absolute Power New Sheet

This sheet is authorized by the publisher, Dyskami Publishing Company, and developed in cooperation with the owner and creator, Mark MacKinnon.  It supports 3 games based on the Tri-Stat System: Tri-Stat Core, Big Eyes Small Mouth 4E, and Absolute Power. This initial release is considered MVP, a pre-release to gather community feedback and play testing.

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: < This sheet supports 3 games: Tri-Stat Core, Big Eyes Small Mouth 4E, and Absolute Power >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: < Dyskami Publishing Company > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: < Tri-Stat System > (i.e. Dungeons & Dragons, FATE)

[x] I have followed the Character Sheets Standards when building this sheet.

[ ] I have authorization from the game's publisher to make this an official sheet on Roll20 with their name attached.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

For Roll20 Staff: while I have worked in coordination with the creator/owner/publisher, Mark MacKinnon of Dyskami Publishing Company, and he has deemed this sheet authorized by him and his company, he does not want this to be an official product of Dyskami Publishing Company as he does not, nor does he intend, to take ownership of the sheet.  His reasons are that he does not prioritize VTTs for his games/business, but fully supports my independent development and support of this sheet.
If Mark's support and approval of the sheet to represent his games fits within the Roll20 definition of "official", then I can explain this to Mark and he will likely be fine with this.
For contributors: this is a new release supporting Dyskami's Tri-Stat System of games, Tri-Stat Core, Big Eyes Small Mouth 4E, and Absolute Power.  All three rulebooks are supported independently or in any combination thereof.  As this is an initial, early release, there are bugs and partial support of the game system and rulebooks.  Future releases will fix bugs and provide additional support for existing rulebooks and new rulebooks released by Dyskami Publishing Company.

Character Sheet Info Roll20 Internal Use only.

Hi @Darth-John! We need an actual name for this sheet - we can't put "This sheet supports 3 games: Tri-Stat Core, Big Eyes Small Mouth 4E, and Absolute Power" in as the name in the dropdown. Can you please let us know what you would like this sheet to actually be called?

Hey Nicole!  Well, that does make good sense when you say it like that.
;)  And looking back at my PR, I'm not sure why I put that in the
title...apologies.  What I meant for the sheet name to be was, "Big Eyes,
Small Mouth 4e (Dyskami Authorized)"...this was what the game publisher and
I agreed upon to distinguish it apart from the others currently on Roll20.
Thanks for reaching out!  Please let me know if you have other questions.
Cordially,
John Davis
On Tue, Aug 20, 2024 at 11:10 AM Nicole Brooks @.***>
wrote:

Hi @Darth-John https://github.com/Darth-John! We need an actual name
for this sheet - we can't put "This sheet supports 3 games: Tri-Stat Core,
Big Eyes Small Mouth 4E, and Absolute Power" in as the name in the
dropdown. Can you please let us know what you would like this sheet to
actually be called?
—
Reply to this email directly, view it on GitHub
https://github.com/Roll20/roll20-character-sheets/pull/13214#issuecomment-2299450731,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASRGKBOOGNJTLRCL7DFZFQTZSOBAVAVCNFSM6AAAAABMWPQZ7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJZGQ2TANZTGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


[UHeader] Styling UNavigationtree inside of UHeader panel Slot

Description
Hey guys,
i was trying to style the mobile Version of my Main Nav and therefore i am using the UHeader Component from NuxtUi Pro.
But not to be able to change the Styling for my UNavigationTree component inside of the Panel slot.
Is there a way to configurate the classes from within the panel Slot without implementing the whole Accordion with extra components?
<UHeader :links="links">
   ...

   <UNavigationTree :links="mapContentNavigation(links)" default-open="false"/>
</UHeader>

You have to put your UNavigationTree inside the #panel slot, you have an example here: https://ui.nuxt.com/pro/components/header#usage

Yes but on which component i have to overwrite the classes to adjust the Accordion links etc.? Because UNavigationTree has only the option to config the wrapper and the styling on UNavigationlinks aren't appearing in the panel.

You will now be able to use the ui prop to configure the links as such: <UNavigationTree :ui="{ links: { active: 'font-bold' } }" /> and it will work recursively 😊


Allow for display of listchars in indentation overlay. (refactor)

My attempt at implementing #74. Now fully backwards compatible.
set list listchars=tab:<->,space:⋅,trail:~,eol:↴
Ligatures are handled by the terminal, not this plugin.

The new behavior can be activated with g:indent_blankline_show_whitespace, which defaults to false. There won't be any change to existing behavior when updating without user intervention.
I also added several new variables (with documentation) to customize the appearance of the overlay text. They all default to their listchars values, or have appropriate fallbacks.
g:indent_blankline_trail_char
g:indent_blankline_tab_char_start
g:indent_blankline_tab_char_fill
g:indent_blankline_tab_char_end

Already looks much better!
There are a couple of things I'd like you to change.

we don't need g:indent_blankline_trail_char, g:indent_blankline_tab_char_start, g:indent_blankline_tab_char_start and g:indent_blankline_tab_char_end
that is just duplicating functionality Neovim already has.
It makes it a bit more complex, but I think we should allow turning specify listchars on and off, instead of one global g:indent_blankline_show_whitespace
it can be a table that maps to the listchar {eol = true, trail = false, tab = true, ...}
with this, we could then also remove the g:indent_blankline_show_end_of_line option

For clarification:

Should I just remove the variables from setup() and instead source listchars within refresh() directly without creating global variables? Or what do you mean by "duplicating functionality Neovim already has"?
When a specific group is set to false, what should be displayed instead? space_char? An empty space?
What do you want the defaults to be? Current default behavior would be this I think:
show_whitespace = { space = true, tab = false, trail = false, eol = false }
Do you want to keep that?

I swear I ran luafmt before committing, but I guess I didn't.

Should I just remove the variables from setup() and instead source listchars within refresh() directly without creating global variables?

yes :+1:
I think we should even remove g:indent_blankline_space_char and just use listchars for everything.

When a specific group is set to false, what should be displayed instead? space_char?

Thinking about this more, maybe it would be better to just not allow to turn it off at all :thinking:
Everyone can still change what is displayed from the list chars. What do you think?

What do you want the defaults to be?

If we keep it, default should be on for all of them.
There are multiple programs called luafmt maybe you used another one
this is the one I use https://github.com/trixnz/lua-fmt

we could then also remove the g:indent_blankline_show_end_of_line option

Actually, I don't think we can. EOL is displayed instead of the indent char, I think that's the only listchar that should behave this way.
I think like it best if displaying listchars just replaces the current logic and can't be turned off.
We remove g:indent_blankline_space_char, that will be set from listchars as well.
No new options.

I just pushed new commits. I did remove g:indent_blankline_show_end_of_line and it works fine.

We remove g:indent_blankline_space_char, that will be set from listchars as well.

I do think there is merit in keeping this one. It allows you to tell the plugin to display leading spaces of a line without showing a special character for all spaces globally.

I think like it best if displaying listchars just replaces the current logic and can't be turned off.

In that case I would actually start to rip out old code for real now. strict_tabs and strict_spaces and the code in utils.lua handling those become irrelevant.

It allows you to tell the plugin to display leading spaces of a line without showing a special character for all spaces globally

That's a good point :+1: let's leave it.

strict_tabs and the code in find_indent() handling it becomes irrelevant.

That's not correct. Strict tab also influences until where the indent characters are displayed.
This still needs to work.
strict tab
taabtaabtaabsssssssss
|aab|aab|aabsssssssss

no strict tab
taabtaabtaabsssssssss
|aab|aab|aab|sss|ssss

and with show trailing:

strict tab
taabtaabtaabsssssssss
|aab|aab|aab|ssssssss

no strict tab
taabtaabtaabsssssssss
|aab|aab|aab|sss|sss|

It allows you to tell the plugin to display leading spaces of a line without showing a special character for all spaces globally

That's a good point 👍 let's leave it.

I take that back actually. Neovim has an extra listchars lead character, which is exactly for this purpose. I actually had that implemented in earlier commits and then removed it because regular Vim had me question my sanity when it suddenly threw an error when setting it. There is actually different info in :help listchars depending on whether you opened it in Vim or Neovim. Considering that this plugin doesn't work with regular Vim anyway, I think g:indent_blankline_space_char can go away after all and I can implement listchars lead again.

Strict tab also influences until where the indent characters are displayed.

Ah, then I will leave it alone.

Ok, I think everything works now, strict_tabs included.
I removed show_whitespace and all the conditionals with it. We now source listchars for everything if that value is set and otherwise fall back to the space value, which itself falls back to a regular space (" ").
g:indent_blankline_space_char_blankline still exists for people who want a special blankline character that can't be set via listchars, but it defaults to a regular space now.
Say if you want me to squash the commits or if you take the history as it is.

This is what I mean with oel

There is no way to not display the starting eol characters, without turning all of them off.
I'd like to keep this, so just put the option back.
Everything else looks good :+1: awesome work

Say if you want me to squash the commits or if you take the history as it is.

squashing would be nice

Re-added the show_end_of_line, put a condition around the assignment of tab_characters and squashed the commits.
I'll leave it to you to update the README if you want to add a notice about the new behavior. 👍 ❤

Does this fix not include support for "trail"? I am unable to find any information on it.


Update gRPC to 1.42.1

We’re trying to upgrade our gRPC usages to 1.42.1 (for our own clients/servers), but are running into a Temporal dep constraint conflict:
io.grpc:grpc-stub:{strictly 1.41.0}
Any plans to update?

Hi Nataly, when I inspect our 1.5.0 with
./gradlew :temporal-sdk:dependencies --configuration runtimeClasspath | grep "grpc-stub" -B 12
I get
+--- project :temporal-serviceclient
|    +--- io.grpc:grpc-api:{strictly [1.34.0,); prefer 1.41.0} -> 1.41.0
|    |    +--- io.grpc:grpc-context:1.41.0
|    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    +--- com.google.guava:guava:30.1-android -> 31.0.1-jre
|    |    |    +--- com.google.guava:failureaccess:1.0.1
|    |    |    +--- com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
|    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    +--- org.checkerframework:checker-qual:3.12.0
|    |    |    +--- com.google.errorprone:error_prone_annotations:2.7.1 -> 2.9.0
|    |    |    \--- com.google.j2objc:j2objc-annotations:1.3
|    |    \--- com.google.errorprone:error_prone_annotations:2.9.0
|    +--- io.grpc:grpc-stub:{strictly [1.34.0,); prefer 1.41.0} -> 1.41.0
--
|    +--- io.grpc:grpc-services:{strictly [1.34.0,); prefer 1.41.0} -> 1.41.0
|    |    +--- io.grpc:grpc-protobuf:1.41.0
|    |    |    +--- io.grpc:grpc-api:1.41.0 (*)
|    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    +--- com.google.protobuf:protobuf-java:3.17.2 -> 3.18.1
|    |    |    +--- com.google.api.grpc:proto-google-common-protos:2.0.1
|    |    |    |    \--- com.google.protobuf:protobuf-java:3.13.0 -> 3.18.1
|    |    |    +--- io.grpc:grpc-protobuf-lite:1.41.0
|    |    |    |    +--- io.grpc:grpc-api:1.41.0 (*)
|    |    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    |    \--- com.google.guava:guava:30.1-android -> 31.0.1-jre (*)
|    |    |    \--- com.google.guava:guava:30.1-android -> 31.0.1-jre (*)
|    |    +--- io.grpc:grpc-stub:1.41.0 (*)

which is aligned with our declaration of grpcVersion = '[1.34.0,)!!1.41.0'
Are you sure that io.grpc:grpc-stub:{strictly 1.41.0} comes from temporal-sdk?

So it is failing due to that Temporal grpc constraint (which is odd, given that it's not a strict range). It seems like it may be some weirdness around how Gradle Platforms interoperable with dependency ranges, and less of an issue with Temporal's usage of a version range.
Anyways, we'll try 1.6 later today when that's released! Thanks!


[Tabs] dynamicHeight does not work as expected when dynamic content is inside

Bug, feature request, or proposal:
Tabs are not animatinc correctly when dynamicHeight is used and if at the same time dynamic content is placed inside <ng-template matTabContent>. Everything works as expected if content is placed directly in <mat-tab> (instead of <ng-template matTabContent>). See Stackblitz example for steps to reproduce.
What is the expected behavior?
Tab height should be animated properly based on content height.
What is the current behavior?
Tab height is not animated properly.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-avoxut?file=app%2Ftab-group-basic-example.html

I have the same issue when used dynamicHeight and animationDuration="0ms" together.
If someone wants, I can create stackblitz.

Hey, have you found any workaround?

Hello ! I have the same problem but I don't use the matTabContent directive.
All components inside an active tab are destroyed when tab isn't active anymore and I don't want this behavior.
Instead of matTabContent, I detect changing tab with selectedIndexChange output and I lazy load data myself, and change tab animation doesn't work correctly only on the first change.
Behaviors here are similar to @fvoska example.


Field member variable in HookeElasticity

Description
The field member variable in HookeElasticity is called "self.ref" but optimize.morpho searches for "self.field" .
Files
Bug is located at: morpho/modules/functionals.morpho:62
Optimizer searches at: morpho/modules/optimize.morpho:740

Thanks for this @constantinemoseley — we need to have a think about what to do here. Currently the optimizer only looks in the Field property, but perhaps it should use introspection to look across properties.


Unresolved import for builtin packages (Python 2.7)

Environment data

VS Code version: 1.34.0
Extension version (available under the Extensions sidebar): 2019.5
OS and version: Windows 7
Python version (& distribution if applicable, e.g. Anaconda): 2.7
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A

Expected behaviour
No errors for builtin packages.
Actual behaviour
Import of builtin packages like time, itertools and operator are sometimes marked as unresolved import.
Steps to reproduce:
Don't know, this happens randomly.
Logs
Starting Microsoft Python language server.
##########Linting Output - flake8##########
[Info  - 12:19:26] GetCurrentSearchPaths C:\Python27\python.exe
[Info  - 12:19:26] Python search paths:
[Info  - 12:19:26]     c:\python27\dlls
[Info  - 12:19:26]     c:\python27\lib
[Info  - 12:19:26]     c:\python27\lib\lib-tk
[Info  - 12:19:26]     c:\python27
[Info  - 12:19:26]     c:\python27\lib\site-packages
[Info  - 12:19:26] Configuration search paths:
[Info  - 12:19:26]     ...
[Info  - 12:19:33] Microsoft Python Language Server version <IP_ADDRESS>
[Info  - 12:19:33] Initializing for C:\Python27\python.exe

(Right now, I don't have a Console Log in case of this error. I will submit them as soon as this happens again.)

Issue moved to microsoft/python-language-server #1156 via ZenHub


Atomic operations

Add AtomicMemory a wrapper for for Memory. This allows us to have intrinsics for atomics. We can later use this wrapper to create a data race detection.

Ready for next round of reviews.


Update readme -- remove prod warning

an upgrade has been performed on a production system!

Thanks for noticing this, @rosenhouse!


Add templates for issues

Issue templates are very helpful for a collaboration repo. When users identify a bug or want to add a new feature, you can provide templates so you can collect all the pertinent information you need to fix a bug or add a new feature.
We recommend creating a “Report Bug” and “Feature Request” issue template.
you can refer this: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository
Some suggested prompts/questions you can add to a “Report Bug” template are:
Briefly describe the bug
What is the expected behavior?
Please provide step by step instructions on how to reproduce the bug
Some suggested prompts/questions you can add to a “Feature Request” issue template are:
Briefly describe your feature request
What problem is this feature trying to solve?
How do we know when the feature is complete?
Reference: https://github.com/Recode-Hive/Stackoverflow-Analysis/issues/new/choose
Click on Get Started button and copy the template to yours.

Hello @Princegupta101 ,
I can work on this, please assign it to me.

I would like to work on this issue. Please assign it to me.


Developer: inspect editor tokens and scopes

Type: Bug
Developer: inspect editor tokens and scopes does not work when the Pylance extension is enabled.
Don't know if the rest of my extensions will be sent with this report but just to be sure I have Flake8, Python and WSL installed as extensions.
Opened a .py file from a wsl folder (not well versed enough to know if that is an accurate description but it's the best I can do) and tried to run the command  'Developer: Inspect Editor Tokens and Scopes' but did not work. Ran extension bisect to find that the 'Pylance' extension was at fault. Can still code fine without it so not to worried about knowing if it gets fixed. This is all I know, hope this helps :)
Extension version: 2023.10.10
VS Code version: Code 1.83.0 (e7e037083ff4455cf320e344325dacb480062c3c, 2023-10-03T16:12:16.321Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 5 5600 6-Core Processor               (12 x 3493)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.91GB (17.56GB free)

Process Argv
--crash-reporter-id 1835f4fa-d811-4e17-ac75-e306d8cdcbd4

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
vscaat:30438848
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
89544117:30613380
showlangstatbar:30737416
03d35959:30757346
24365598:30736109
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
copilotsettingt:30839829
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572
dsvsc015:30845448

I'm unable to repro this.
Can you please set "python.trace.server": "verbose" (so we include all the LSP messages in the log) and "python.analysis.logLevel": "Trace" (to get even our most verbose log output). Then reproduce the problem, and provide a the "Python Language Server" log?

Have put "python.trace.server": "verbose" and "python.analysis.logLevel": "Trace" in my settings.json.
Presume this is what you're looking for:
2023-10-07 14:30:09.178 [info] Params: {
    "textDocument": {
        "uri": "file://wsl.localhost/Ubuntu/home/../something.py"
    },
    "position": {
        "line": 63,
        "character": 11
    }
}

2023-10-07 14:30:12.583 [info] [Trace - 2:30:12 PM] Sending request 'textDocument/codeAction - (15)'.
2023-10-07 14:30:12.583 [info] Params: {
    "textDocument": {
        "uri": "file://wsl.localhost/Ubuntu/home/../something.py"
    },
    "range": {
        "start": {
            "line": 63,
            "character": 11
        },
        "end": {
            "line": 63,
            "character": 11
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

2023-10-07 14:30:14.566 [info] [Trace - 2:30:14 PM] Sending request 'textDocument/semanticTokens/full - (16)'.
2023-10-07 14:30:14.566 [info] Params: {
    "textDocument": {
        "uri": "file://wsl.localhost/Ubuntu/home/../something.py"
    }
}

Hovered over a function from which I'd guess the first log came, then clicked on the function and lastly through F1 ran Developer: Inspect Tokens and Scopes. Got the loading box but it never finishes.

After turning Pylance back off got this doing the same actions:
2023-10-07 14:35:44.241 [info] [Trace - 2:35:44 PM] Sending request 'textDocument/hover - (10)'.
2023-10-07 14:35:44.241 [info] Params: {
    "textDocument": {
        "uri": "file://wsl.localhost/Ubuntu/home/../something.py"
    },
    "position": {
        "line": 63,
        "character": 16
    }
}

2023-10-07 14:35:44.258 [info] [Trace - 2:35:44 PM] Received response 'textDocument/hover - (10)' in 17ms.
2023-10-07 14:35:44.258 [info] Result: {
    "contents": {
        "kind": "markdown",
        "value": "```python\ndef a_func(args)\n```\n---\n**Full name:** `something.a_func`"
    },
    "range": {
        "start": {
            "line": 63,
            "character": 4
        },
        "end": {
            "line": 63,
            "character": 20
        }
    }
}

2023-10-07 14:35:46.556 [info] [Trace - 2:35:46 PM] Sending request 'textDocument/documentHighlight - (11)'.
2023-10-07 14:35:46.556 [info] Params: {
    "textDocument": {
        "uri": "file://wsl.localhost/Ubuntu/home/../something.py"
    },
    "position": {
        "line": 63,
        "character": 16
    }
}

2023-10-07 14:35:46.573 [info] [Trace - 2:35:46 PM] Received response 'textDocument/documentHighlight - (11)' in 17ms.
2023-10-07 14:35:46.573 [info] Result: [
    {
        "range": {
            "start": {
                "line": 63,
                "character": 4
            },
            "end": {
                "line": 63,
                "character": 20
            }
        }
    },
    {
        "range": {
            "start": {
                "line": 129,
                "character": 27
            },
            "end": {
                "line": 129,
                "character": 43
            }
        }
    }
]

2023-10-07 14:35:46.822 [info] [Trace - 2:35:46 PM] Sending request 'textDocument/codeAction - (12)'.
2023-10-07 14:35:46.822 [info] Params: {
    "textDocument": {
        "uri": "file://wsl.localhost/Ubuntu/home/../something.py"
    },
    "range": {
        "start": {
            "line": 63,
            "character": 16
        },
        "end": {
            "line": 63,
            "character": 16
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

2023-10-07 14:35:49.375 [info] [Trace - 2:35:49 PM] Received response 'textDocument/codeAction - (12)' in 2553ms.
2023-10-07 14:35:49.375 [info] No result returned.

After turning Pylance back off got this doing the same actions:

By "off", do you mean that you switched to Jedi?

2023-10-07 14:30:14.566 [info] [Trace - 2:30:14 PM] Sending request 'textDocument/semanticTokens/full - (16)'.

Are you not seeing a response to this semantic tokens request? On my machine, I see the following:
2023-10-09 15:47:56.192 [info] [Trace - 3:47:56 PM] Sending request 'textDocument/semanticTokens/full - (17)'.
2023-10-09 15:47:56.193 [info] Params: {
    "textDocument": {
        "uri": "file:///mnt/c/users/erikd/issues/4924/test2.py"
    }
}

2023-10-09 15:47:56.230 [info] [Trace - 3:47:56 PM] Received response 'textDocument/semanticTokens/full - (17)' in 38ms.
2023-10-09 15:47:56.230 [info] Result: {
    "resultId": "1696891676198",
    "data": [
        0,
        4,
        3,
        12,
        1,
        ...

With off I mean disabling Pylance, after which the only extensions that I have and are enabled are Flake8, Python and WSL.
When I do 'Developer: Inspect Tokens and Scopes', then hover over a function and click the function, this is all I get:
2023-10-10 08:36:34.039 [info] Params: {
    "textDocument": {
        "uri": "file://wsl.localhost/../something.py"
    },
    "position": {
        "line": 37,
        "character": 11
    }
}

2023-10-10 08:36:34.058 [info] [Trace - 8:36:34 AM] Received response 'textDocument/hover - (26)' in 19ms.
2023-10-10 08:36:34.058 [info] Result: {
    "contents": {
        "kind": "markdown",
        "value": "```python\ndef a_func(args)\n```\n---\n**Full name:** `something.a_func`"
    },
    "range": {
        "start": {
            "line": 37,
            "character": 4
        },
        "end": {
            "line": 37,
            "character": 20
        }
    }
}

2023-10-10 08:36:35.358 [info] [Trace - 8:36:35 AM] Sending request 'textDocument/documentHighlight - (27)'.
2023-10-10 08:36:35.358 [info] Params: {
    "textDocument": {
        "uri": "file://wsl.localhost/../something.py"
    },
    "position": {
        "line": 37,
        "character": 12
    }
}

2023-10-10 08:36:35.377 [info] [Trace - 8:36:35 AM] Received response 'textDocument/documentHighlight - (27)' in 19ms.
2023-10-10 08:36:35.377 [info] Result: [
    {
        "range": {
            "start": {
                "line": 37,
                "character": 4
            },
            "end": {
                "line": 37,
                "character": 20
            }
        }
    },
    {
        "range": {
            "start": {
                "line": 118,
                "character": 27
            },
            "end": {
                "line": 118,
                "character": 43
            }
        }
    }
]

2023-10-10 08:36:35.621 [info] [Trace - 8:36:35 AM] Sending request 'textDocument/codeAction - (28)'.
2023-10-10 08:36:35.621 [info] Params: {
    "textDocument": {
        "uri": "file://wsl.localhost/../something.py"
    },
    "range": {
        "start": {
            "line": 37,
            "character": 12
        },
        "end": {
            "line": 37,
            "character": 12
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}

2023-10-10 08:36:38.538 [info] [Trace - 8:36:38 AM] Received response 'textDocument/codeAction - (28)' in 2917ms.
2023-10-10 08:36:38.538 [info] No result returned.

With off I mean disabling Pylance

Ok. With the Pylance extension disabled and python.languageServer set to Default you'll be using Jedi as the Python language server. Jedi doesn't support semantic tokens, so there's no semantic token request from VS Code in that case.
Can you please re-enable the Pylance extension, reproduce the problem, and provide the resulting full "Python Language Server" log? If it's too large to include in the text of a comment, you can copy it to a file and drag that file into the comment as an attachment.

Right so about one to two days ago my friend who had the same problem said that their syntax checking and variable colours had returned, though it was "not fast" like showing up when typing (I assume). Now when I enabled Pylance again I was not able to reproduce the problem.
text.txt
This is what was in the ouput. Though python.languageServer was not explicitly set to Default (I don't know what its default is) in settings.json.

Though python.languageServer was not explicitly set to Default (I don't know what its default is) in settings.json.

The default is Default.

Now when I enabled Pylance again I was not able to reproduce the problem.

Is VS Code prompting you to reload with a "Reload Required" button on Pylance in the extension pane? The contents of text.txt are either not the full "Python Language Server" log or not from Pylance (i.e. Jedi is still running instead).

No reload was required when I enabled Pylance.
text.txt
Found this in a read only file so hope this is the right one.

What I'd like to see is the contents of the "Python Language Server" log in the Output pane.

The first line should be something like:
Pylance (sync) language server 2023.10.11 (pyright 71ed1178) starting

Now when I enabled Pylance again I was not able to reproduce the problem.

Ok so probably due to what you've already mentioned

(i.e. Jedi is still running instead)

I was not able to reproduce the problem, but now with Pylance (presumably) enabled again I can reproduce the problem i.e. getting an indefinite Loading... box when using the command Developer: Inspect Tokens and Scopes.

For whatever reason your last response wasn't showing up until I commented myself.
Up until text.txt I have been copying text from that output tab.
text.txt
This is what I got when doing Ctrl + A.

I'm still unable to reproduce this. Can you see if it repros for you on the most recent prerelease build of Pylance (2023.12.102)?


[whitelist] cdnapisec.kaltura.com

The following domain blocks the livestream of the finnish tv YLE

Hi Lorenzo @scafroglia93!
We don't list cdnapisec.kaltura.com.
Closing.


Feature: add project-dir as optional argument

Hey @BogDAAAMN, thanks for this action! It's been immensely useful in some of my projects.
This PR adds an optional deta-project-dir argument to the action, which helps in some cases (esp. monorepos) where the Deta code is in a folder. Let me know if it looks good!

Heyy @joshuanianji! That's a very good idea, I remember seeing your fork and thinking that it would be nice to be part of the action 😂
Thanks a lot for the PR! Writing the spec and merging.

No problem, thanks for responding so quickly! This is actually based off of @MatyiFKBT's fork, but it didn't seem like they were going to be creating a PR anytime soon.
Nonetheless, I'm glad to be part of the action 😆 .


OAuth authentication

Please describe the change you are making
This change adds backing support for the following issues:

containerssh/containerssh#56
containerssh/containerssh#90
containerssh/containerssh#109

Closing PR pending reopening from new account @janosdebugs


Won't Export PDF

Getting an error toast THIS CANVAS SCALE IS NOT A FUNCTION, then app simply gets stuck in a loop attempting to export.  I'm running a stock Samsung Galaxy Tab A7 tablet with Android 12.  Perhaps this issue has something to do with Samsung's photo editor messing things up?  Using v1-1-2-7

@rjm831 never heard of this one. will try to figure it out

Thanks.  With no root access I dont know if I can help with logs, but anything else be happy to help.  Great app and appreciate the work you're doing.  Hope I can get it to work on my tablet.

I got the same error as well while exporting pdf. Device : OnePlus 11, Android 14 Application version : v1.1.2 Build 7

@Ox3rror @rjm831 can one of you take a screenshot of the error ?

@Ox3rror @rjm831 can one of you take a screenshot of the error ?

I get exactly the same error. Pixel 4a GrapheneOS

thanks I'll try to reproduce

Maybe worth mentioning that I can open and view pdf, I just cannot export it. Also, the filename prompt appears but this error occurs after accepting the filename.

@shompoe @rjm831 could you please install this build and reproduce the bug? That build has sentry enabled (personal hosted sentry instance).
Once you get the error dialog, please kill and re open the app to ensure the bug report is sent.
That way i can clearly see (logs, callstack) what is happening.
Thanks!

I just downloaded that build and it worked, for the first time I was able to save a pdf.

Mark Desrousseaux
16 Dec 2023, 18:02 by @.***:

@shompoe https://github.com/shompoe>  > @rjm831 https://github.com/rjm831>  could you please install > this http://gofile.me/4pKGL/5dacOArni>  build and reproduce the bug? That build has sentry enabled (personal hosted sentry instance).
Once you get the error dialog, please kill and re open the app to ensure the bug report is sent.
That way i can clearly see (logs, callstack) what is happening.
Thanks!
—
Reply to this email directly, > view it on GitHub https://github.com/Akylas/com.akylas.documentscanner/issues/12#issuecomment-1858889166> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/AM6VTXYKJXE2BNYSGF4BO2LYJXOZTAVCNFSM6AAAAABAWYUZBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYHA4DSMJWGY> .
You are receiving this because you were mentioned.> Message ID: > <Akylas/com> .> akylas> .> documentscanner/issues/12/1858889166> @> github> .> com>

@shompoe OK the issue is that it is a debug build. does it still not work with latest release I made today on github ?

last built <IP_ADDRESS> still have bug
i wasnt export pdf

No, latest release on GitHub does not work.

Mark Desrousseaux
16 Dec 2023, 19:21 by @.***:

@shompoe https://github.com/shompoe>  OK the issue is that it is a debug build. does it still not work with latest release I made today on github ?
—
Reply to this email directly, > view it on GitHub https://github.com/Akylas/com.akylas.documentscanner/issues/12#issuecomment-1858911760> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/AM6VTX7G2YNJXDGCJPORYNDYJXYFLAVCNFSM6AAAAABAWYUZBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYHEYTCNZWGA> .
You are receiving this because you were mentioned.> Message ID: > <Akylas/com> .> akylas> .> documentscanner/issues/12/1858911760> @> github> .> com>

@shompoe @rjm831 @Ox3rror @methicodx  Just released a new version with the fix.
Sorry for the issue and the time it took me to fix this

the new version fixed the issue, Thanks dev.

Verified build 9 fixed the problem.  Great work, and thanks to all of you!

all good

Does the "Open" function work for you guys?
On my device (Samsung S8 SM-G950F, Android 9) it the export function works - but when using the "Open" - button, the receiving PDF - Reader (Librera PRO) spills an error (opening the saved pdf with it works fine).
If the intent is sent with AppManager's Interceptor, there's another message before the error: "Activity result: (nul)"
Below's a screenshot of the error message as well as the intent sent by your application in AppManagers Interceptor.
Does anyone else have issues using the open function?
(I'm not sure since this might very well be an issue on my device.)

@NA0341 thanks for the detailed explanation. will try to reproduce

@farfromrefug I think this is fixed. I couldn't reproduce the errors with v. 1.2.25 Build 35.

Export is working fine for me with latest build, & everything else seems to function too.  Thanks dev!  Issue closed (for me, anyway).


HERE basemaps are still labeled as "Nokia"

We need to change this asap, as it's a legal requirement.

cc @xavijam

closing, and moving to the respective repo


Add an option to disable the notification

This is pretty much my only complaint with this plugin. I would rather not see a notification if it's just working normally, so I would like an option to turn off the notifications that just say the data was backed up.

Thanks for the suggestion! I agree that would be a good option to add.

This is now available in v0.3.0.


Output consistency for usage in cli

Making the formatting of the cli info consistent.

Thanks @endophage -- have you signed the CLA?

+1, once the CLA is signed.

Done. Also added signed-off by to commit, just to be completely comprehensive :-)

Works for me. @corylanou ?

+1.  thanks!

Thanks @endophage


[20.09] sleuthkit: 4.6.5 -> 4.10.1

Motivation for this change
Fixes CVE-2020-10232 and CVE-2020-10233.
(cherry picked from commit 5703cbdb453f7b48b80dc35d87ac3814d034edc3)
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 112678 run on x86_64-linux 1

1 package built:

sleuthkit


Consider adding picocli (http://picocli.info)

picocli is a library for creating java command line applications with ANSI styles and colors.

Thanks for the info!
Let me know if you want to open a PR, otherwise I'll add it :)

Thank you! I created pull request #5. Please review.


error callback is undefined

Using v1.7.2 in a node app.
Was testing a select from a non-existing JSON file (shamelessly stolen from the multiple JSON file wiki example).
    alasql(['SELECT * FROM JSON("a.json")'])     .then(function(res) {              var a = res[0];     }).catch(function(err) {         console.log(error: ${err});     }) ;
Expected behavior is to catch the error.  Instead I get a process-ending unhandled exception.
FYI: Different cause, but another unhandled exception occurs on a JSON.parse error, although one could argue that if the file exists it ought to expected to contain valid JSON.  Still, a try catch is in order when parsing IMO.
jsfiddle was not working for node so I created a similar version at runkit:
https://runkit.com/60677da356be380013a31abc/60677da318e85d001c2257fc
Looking at the code for loadFile, the last parameter is an error callback.  However, it does not seem that the JSON from function (nor the other text from functions) pass in that error handler.

I've created a mocha test for this by adding another it call to test157:
`	it('7. Load JSON data from missing file', async function (done) {
alasql.options.errorlog = true;
await assert.rejects(
async () => {
alasql('select * from json("' + __dirname + '/test157missing.json")', [], function (res, err) {
assert.ok(!!err);
assert.ok(!res);
done();
});
});
});

`
Let me know if that is an acceptable test case or if there is a better way.
Obviously there is a simple workaround to check for the file first, so this is not critical.  But I may take this as an opportunity to explore your codebase and it helps me get used to your build/test procedures.

Thank you for reporting this.


fixed the argscope example

There was a problem with the padding offset, and inconsistent use of "slim." prefix.

Can one of the admins verify this patch?

@KyotoSunshine can you resolve the conflict?

After resolving the conflict, the change is empty. I'll merge it, but I guess it will disappear.


Refactoring api docs

Please refer to the code of conduct : link

Please check if the PR fulfills these requirements :clipboard:

[x] The commit message follows our guidelines : link
[x] Docs have been added/updated (for bug fixes/features)
[x] A new branch is created for the change(s) and the changes are not committed on the main or master branch
[x] No credentials or secrets are committed

What kind of change does this PR introduce? (Bug fix, feature, docs update, refactor, chore, test, config) :information_desk_person: :scroll:
refactor docs
Removed CDPG logo from OpenAPI specs as it was not being rendered after deployment

Checklist for the current PR :page_with_curl:

[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] New and existing unit tests pass locally with my changes

Build finished.

Build finished.

Build finished.

Build finished.

Build finished.


export {ReactQuestionFactory as QuestionFactory}

My team is using<EMAIL_ADDRESS>Rather than use the custom-widget we are extending the survey classes directly.  For example we have extended the QuestionCheckboxModel as well as the SurveyQuestionCheckbox to create our own custom 'multiselect' type. We have ran into an issue trying to create a matrixdynamic that utilizes our multiselect.  We tracked the issue down to the fact that entries/react.ts does not export the base QuestionFactory class, instead it exports ReactQuestionFactory as QuestionFactory. This prevents us from registering our model to the appropriate creatorHash.  Your provided types get registered to both the ReactQuestionFactory as well as QuestionFactory.
What we found is that an error is thrown in QuestionMatrixDropdownModelBase .createQuestionCore because question is null.  However if we change the exports such that QuestionFactory is the root QuestionFactory class there are no issues.
Is there a reason behind exporting ReactQuestionFactory as QuestionFactory

@wastedUltimate
QuestionFactory is exported inside the model, platform independent part: https://github.com/surveyjs/surveyjs/blob/master/src/entries/chunks/model.ts
and then react export the model.ts file (the first line):
https://github.com/surveyjs/surveyjs/blob/master/src/entries/react.ts
react survey classes are actually wrappers around model survey classes. So yes, it requires to register a question in the model using QuestionFactory.
Do you have an error by accessing Survey.QuestionFactory.Instance.registerQuestion method?
Thank you,
Andrew

The following are snippets of our two classes:
QuestionMultiselectModel
import { QuestionFactory, JsonObject, QuestionCheckboxBase, defaultBootstrapCss} from 'survey-react';

class QuestionMultiselectModel extends QuestionCheckboxBase {
// internal code
}

JsonObject.metaData.addClass('multiselect', [], function() {return new QuestionMultiselectModel('');}, 'checkboxbase');

QuestionFactory.Instance.registerQuestion('multiselect',
  function(name) {
    var q = new QuestionMultiselectModel(name);
    q.choices = QuestionFactory.DefaultChoices;
    return q;
  });

SurveyQuestionMultiselect (the react wrapper)
import React from 'react';
import { SurveyQuestionElementBase, ReactQuestionFactory, SurveyQuestionCheckboxItem } from 'survey-react';

class SurveyQuestionMultiselect extends SurveyQuestionElementBase {
// internal code
}

ReactQuestionFactory.Instance.registerQuestion('multiselect',
  function(props) {
    return React.createElement(SurveyQuestionMultiselect, props);
  });

We do not have any errors during the initial loading. And questions that are of type multiselect function correctly.  We specifically have an error if we use multiselect as a 'cellType' in a 'matrixdynamic'.  This is because when we call QuestionFactory.Instance.registerQuestion in QuestionMultiselectModel it registers the question as part of the ReactQuestionFactory instance.
Further testing found that the basic types ('text', 'checkbox', etc) have the base model registered to the QuestionFactory instance and the react wrapper classes registered separately in the ReactQuestionFactory instance.  So there are two separate creatorHashes.
You are correct that react.ts exports all of model.ts. However at the bottom of react.ts QuestionFactory is overwritten with the line
export { ReactQuestionFactory as QuestionFactory} from "../react/reactquestionfactory";

We found that if we removed that line we were able to register the model correctly and load the matrixdynamic question without errors.

@wastedUltimate Yes, you are right. It is a bug.
We had an example of creating new react question, however it just changes the rendering of the existing question in model. That is why we do not run into this problem. I will change the
export { ReactQuestionFactory as QuestionFactory} from "../react/reactquestionfactory";
into
export { ReactQuestionFactory} from "../react/reactquestionfactory";
and change the code accordingly, to use ReactQuestionFactory singleton object.
Thank you,
Andrew

@wastedUltimate We used ReactQuestionFactory singleton as QuestionFactory in one obsolete example, so the fix, removing the line should be absolutely save.
Thank you for bringing this to our attention.
Andrew


Missing abbreviations.txt file after having successfully installed mouse_allen atlas

After having downloaded the mouse allen atlas, I tried to run braincoordinator but I got the following error. The problem is that the file abbreviations.txt is not present in the folder. Do you know how to fix this? Thank you!
$ braincoordinator --animal mouse_allen

Brain coordinator initiated
Animal: mouse_allen
Reference: bregma
[Errno 2] No such file or directory: '/home/niksart/braincoordinator/braincoord/lib/python3.8/site-packages/braincoordinator/atlas/mouse_allen//abbreviations.txt'

Atlas not available.
Write '--get [atlas]' to download an atlas.
Or, write '--get list' to list all atlases.

Hi Nicola,
Should be fixed now. Please try again and let me know how it goes.
Best,
Simon

Thank you for your answer!
Unfortunately, the same problem persists. I updated the repo with a git pull, deleted and downloaded again the atlas, and then executed again the command above.
When downloading the atlas, it still does not download the abbreviations.txt file.
Best,
Nicola

Are you using a virtual environment? You should reinstall braincoordinator:
(venv) pip uninstall braincoordinator
(venv) pip install .

Ok great, now it works. Thank you!