StableFast3D via StabilityMatrix

So I've installed Comfy-3D-Pack in various ways now, once by downloading the comfyui portable folder, installing the correct torch, vision and audio version, fixing the bug with the VS2022 version etc. and got it all running. However doing it this way messed up all my other comfyui installs so I wanted to do it again via Stability Matrix (which sets up venv automatically etc.) The install went smooth, no errors on startup etc. however when I run a workflow and the SF3D model gets loaded I get the following error:
Error occurred when executing [Comfy3D] Load SF3D Model:

[WinError 2] The system cannot find the file specified: 'E:\\Stable'

  File "E:\Stable Diffusion\Packages\3D-Pack\execution.py", line 152, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
  File "E:\Stable Diffusion\Packages\3D-Pack\execution.py", line 82, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
  File "E:\Stable Diffusion\Packages\3D-Pack\execution.py", line 75, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
  File "E:\Stable Diffusion\Packages\3D-Pack\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 1969, in load_SF3D
    sf3d_model = SF3D.from_pretrained(
  File "E:\Stable Diffusion\Packages\3D-Pack\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\StableFast3D\sf3d\system.py", line 78, in from_pretrained
    model = cls(cfg)
  File "E:\Stable Diffusion\Packages\3D-Pack\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\StableFast3D\sf3d\models\utils.py", line 29, in __init__
    self.configure(*args, **kwargs)
  File "E:\Stable Diffusion\Packages\3D-Pack\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\StableFast3D\sf3d\system.py", line 128, in configure
    self.baker = TextureBaker()
  File "E:\Stable Diffusion\Packages\3D-Pack\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\StableFast3D\sf3d\texture_baker.py", line 13, in __init__
    self.baker = slangtorch.loadModule(
  File "E:\Stable Diffusion\Packages\3D-Pack\venv\lib\site-packages\slangtorch\slangtorch.py", line 652, in loadModule
    rawModule = _loadModule(fileName, moduleName, buildDir, options, sourceDir=outputFolder, verbose=verbose, includePaths=includePaths, dryRun=False)
  File "E:\Stable Diffusion\Packages\3D-Pack\venv\lib\site-packages\slangtorch\slangtorch.py", line 557, in _loadModule
    resultCpp, metadataCpp = compileSlang(metadata.get("cpp", None), fileName, "torch-binding", options, cppOutName, verbose, includePaths=includePaths, dryRun=dryRun)
  File "E:\Stable Diffusion\Packages\3D-Pack\venv\lib\site-packages\slangtorch\slangtorch.py", line 313, in compileSlang
    return True, (_compileSlang(metadata, fileName, targetMode, options, outputFile, includePaths, verbose) if not dryRun else None)
  File "E:\Stable Diffusion\Packages\3D-Pack\venv\lib\site-packages\slangtorch\slangtorch.py", line 344, in _compileSlang
    deps = parseDepfile(depFile)
  File "E:\Stable Diffusion\Packages\3D-Pack\venv\lib\site-packages\slangtorch\slangtorch.py", line 526, in parseDepfile
    depFilesWithTimestamps = [
  File "E:\Stable Diffusion\Packages\3D-Pack\venv\lib\site-packages\slangtorch\slangtorch.py", line 527, in
    (depFile, os.path.getmtime(depFile)) for depFile in depFiles]
  File "genericpath.py", line 55, in getmtime

I can't figure out why it's doing this. When I select the model file in the node it finds the file just fine and shows it in the list, but when I queue it throws this error. It should look for the model under "E:\Stable Diffusion\Packages\3D-Pack\custom_nodes\ComfyUI-3D-Pack\Checkpoints\StableFast3D" but it tries to find it in "E:\Stable"... why is it doing this?
Does anyone know why and how to fix it? Cheers!

This is a bug in StableFast3D actually. If you track it down, you'll eventually find that the root cause is a function that builds directories to find models in.
the parser is bugged and any spaces in the file path will be interpreted as a new path, thus why it is searching in 'E:\Stable', as your path has 'E:\Stable Diffusion'

This is a bug in StableFast3D actually. If you track it down, you'll eventually find that the root cause is a function that builds directories to find models in.
the parser is bugged and any spaces in the file path will be interpreted as a new path, thus why it is searching in 'E:\Stable', as your path has 'E:\Stable Diffusion'

I see, yes that makes sense, is there any way to fix this right now or do I need to wait for a StableFast3D fix?

How did you fix the visual studio 2022 bug please?


Return value of function not defined lr_decay

Related to #21, warning when compiling with ifx.
ifx 2023.2.0 20230721
Warning does not occur in compilation of mod_lr_decay.f90. Warning only arises when a module or program uses the learning_rate_decay module (found in file mod_lr_decay.f90).
(base) [ntt203@phy-cdt16 build]$ make
[  0%] Building Fortran object CMakeFiles/athena.dir/src/lib/mod_constants.f90.o
...
[ 31%] Building Fortran object CMakeFiles/athena.dir/src/lib/mod_input4d_layer.f90.o
[ 32%] Building Fortran object CMakeFiles/athena.dir/src/lib/mod_lr_decay.f90.o
[ 33%] Building Fortran object CMakeFiles/athena.dir/src/lib/mod_maxpool2d_layer.f90.o
...
[ 37%] Building Fortran object CMakeFiles/athena.dir/src/lib/mod_optimiser.f90.o
/tmp/ifx16713391811BbRBG/ifxItJuj9.i90: warning #6178: The return value of this FUNCTION has not been defined.   [LR_DECAY]
[ 37%] Building Fortran object CMakeFiles/athena.dir/src/lib/mod_network.f90.o
...
[ 40%] Building Fortran object CMakeFiles/athena.dir/src/athena.f90.o
/tmp/ifx0214165105ctfpsh/ifx9j5FEk.i90: warning #6178: The return value of this FUNCTION has not been defined.   [LR_DECAY]
[ 41%] Building Fortran object CMakeFiles/athena.dir/src/lib/mod_base_layer_sub.f90.o
...
[ 44%] Linking Fortran static library libathena.a
[ 44%] Built target athena

This seems to have no effect on the unit tests. The code seems to work fine. They are warnings and not compilation errors.
The odd thing is that, from what I can see, the file format is identical to that of the layer_setup() functions found in all the layer modules.

This appears to be a compiler issue, not a code issue. This won't be fixed by me then (unless new information comes to light).
https://fortran-lang.discourse.group/t/the-return-value-of-this-function-has-not-been-defined/7858


wrong lvl

in program it shows that guy have idk like 40 lvl but in server he got 80
its my bad or what

Are you using the newest version? 0.2.0? In that version, the player info will auto-update on start-up

just had to clear hof and it works now


Require doctrine/annotations v2

Following https://github.com/symfony/symfony/pull/48718

👍 requirement not met using symfony flex,
but installed the component directly works with php > 8.2 and doctrine/annotations > 2
 Problem 1
    - symfony/serializer-pack[v1.0.0, ..., v1.0.3] require php ^7.0 -> your php version (8.2.2) does not satisfy that requirement.
    - symfony/serializer-pack[v1.0.4, ..., v1.1.0] require doctrine/annotations ^1.0 -> found doctrine/annotations[v1.0, ..., 1.14.3] but the package is fixed to 2.0.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires symfony/serializer-pack * -> satisfiable by symfony/serializer-pack[v1.0.0, ..., v1.1.0].

Thanks for the PR (and for the reminder)


Auto release memory inside isolate while running

Use case
I want to keep the isolate instance and use it while the app is running instead of continuously spawning and killing it, because:

Reduce the cost to create isolate.
In my case I use https://pub.dev/packages/reflectable package and I want run it in a isolate so that I need call initializeReflectable() only one in a isolate and reuse it.

My solution:
I build a class to create isolate, call initializeReflectable() in this isolate and keep this instance.
import 'dart:async';
import 'dart:isolate';
import 'package:flutter/foundation.dart';
import 'package:isolate_leak_2/database_reflect.dart';

class FSTypeMirror {
  Type dynamicReflectedType;
  String simpleName;
  FSTypeMirror(this.dynamicReflectedType, this.simpleName);
}

class GetAllClassCrossIsolatesMessage {
  final SendPort? sender;
  final SendPort? errorPort;
  GetAllClassCrossIsolatesMessage({required SendPort this.errorPort, required SendPort this.sender});
}

class DBIsolate<Q, R> {
  late SendPort _isolateSendPort;
  bool _isInitialized = false;
  VoidCallback initializer;
  ComputeCallback<Q?, R> handler;
  Isolate? _isolate;
  final ReceivePort resultPort = ReceivePort();

  DBIsolate(this.handler, this.initializer);

  void kill() {
    resultPort.close();
    _isolate?.kill();
  }

  Future<void> initialize() async {
    if (this._isInitialized) {
      return Future<void>.value(null);
    } else {
      _isolate = await Isolate.spawn<_IsolateConfiguration<Q?, FutureOr<R>>>(
        _spawn,
        _IsolateConfiguration<Q?, FutureOr<R>>(
            this.handler,
            null,
            this.initializer,
            resultPort.sendPort
        ),
        errorsAreFatal: false,
      );
      this._isolateSendPort = await resultPort.first;
      this._isInitialized = true;
    }
  }

  Future<List<FSTypeMirror>> getAllClasses() {
    var completer = Completer<List<FSTypeMirror>>();
    ReceivePort port = ReceivePort();
    ReceivePort errorPort = ReceivePort();
    this._isolateSendPort.send(GetAllClassCrossIsolatesMessage(
        errorPort: errorPort.sendPort,
        sender: port.sendPort));
    port.listen((message) {
      completer.complete(message);
    });
    errorPort.listen((error) {
      completer.completeError(error);
    });
    return completer.future;
  }
}

Future<void> _spawn<Q, R>(_IsolateConfiguration<Q, FutureOr<R>> configuration) async {
  configuration.initializer();

  var ourReceivePort = ReceivePort();

  configuration.resultPort.send(ourReceivePort.sendPort);
  ourReceivePort.listen((msg) async {
    if (msg is GetAllClassCrossIsolatesMessage) {
      try {
        var clazzes = dbReflectable.annotatedClasses.map((e) => FSTypeMirror(e.dynamicReflectedType, e.simpleName)).toList();
        msg.sender!.send(clazzes);
      } catch (e) {
        msg.errorPort!.send(e);
      }
    }
  });
}

@immutable
class _IsolateConfiguration<Q, R> {
  const _IsolateConfiguration(
      this.callback,
      this.message,
      this.initializer,
      this.resultPort,
      );
  final ComputeCallback<Q, R> callback;
  final Q message;
  final VoidCallback initializer;
  final SendPort resultPort;
}
typedef ComputeCallback<Q, R> = FutureOr<R> Function(Q message);

Everything work fine with me but I have an issue. The memory continues to increase while running.
I found the root cause of this issue is because I don't kill the isolate.
I think my approach makes sense because it could help to improve the app's performance significantly. Instead of continuing to spawn new isolates, we should have a solution to reuse them.
Please check memory timeline:

Example project with Flutter:
isolate.zip

Isolates within an isolate group are more or less just static fields and the state reachable from that. There is no magic solution to releasing this memory, if you have some state that you don't need - then you need to manually clear static fields that hold to it (and be ready to recreate this state again). Releasing all of this memory is the same as killing the isolate - there is no major benefit to reusing  such "cleared" isolate.


ci: Update path to delete

The suffix was removed https://github.com/actions/virtual-environments/blob/9fe940e8a3cb67b6ecf0dbbcc9cb7efcc68aa008/images/win/scripts/Installers/Install-MysqlCli.ps1#L29

merge of this PR https://github.com/onivim/esy-oniguruma/pull/7 can help for CI check. here timestamp aren't preserved by git on checkout so configure think it need to regenerate. We trick it by setting the same time for all files.

Thanks for investigating this and catching where it was removed in the VMs :100:


Providing two claims of the same type, turns claim into array

[x] I read and understood how to enable logging

Issue / Steps to reproduce the problem
name claim is not standard when I ask fro userinfo from clinet
{
  "sub": "10",
  "name": [ "user.name", "User Name" ],
  "AspNet.Identity.SecurityStamp": "240dc561-37ff-4eb9-a58a-f760d1b9abaa",
  "role": [ "CSM_User", "dev", "admin", "SuperAdmin", "Admin", "LdapUser", "TranslationAdmin" ],
  "UnitCode": "3120002566",
  "JobTitle": "Kidemli Yazilim Uzmani",
  "JobPhone": "0212 999 9349",
  "given_name": "User",
  "family_name": "Name",
  "birthdate": "03/06/1978",
  "email"<EMAIL_ADDRESS>  "gender": "male"
}

name claim mest be a string
http://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
Relevant parts of the log file
<log goes here>

Well - you give us the wrong data. If there are two claims of the same type, they become an array.

Yes but it must create just one name claim. it must be a restriction I think

Why can't the user have two names? Or two emails? There is a reason we do certain things.

I am investigate on this issue but as I see Application user has name claim and userName field and Get user claim method return user name as name claim

In this code :
public async Task GetProfileDataAsync(ProfileDataRequestContext context)
        {
            string sub = context.Subject.GetSubjectId();

            ApplicationUser user = await _userManager.FindByIdAsync(sub);
            ClaimsPrincipal principal = await _claimsFactory.CreateAsync(user);

            List<Claim> cs = principal.Claims.ToList();

            context.IssuedClaims = cs;
        }

_claimsFactory.CreateAsync change UserName to name claim

dear @brockallen
this is a rule
http://openid.net/specs/openid-connect-core-1_0.html#StandardClaims

Where does it say you can't have more than one?

Member
Type
Description

sub
string
Subject - Identifier for the End-User at the Issuer.

name
string
End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences.

given_name
string
Given name(s) or first name(s) of the End-User. Note that in some cultures, people can have multiple given names; all can be present, with the names being separated by space characters.

family_name
string
Surname(s) or last name(s) of the End-User. Note that in some cultures, people can have multiple family names or no family name; all can be present, with the names being separated by space characters.

middle_name
string
Middle name(s) of the End-User. Note that in some cultures, people can have multiple middle names; all can be present, with the names being separated by space characters. Also note that in some cultures, middle names are not used.

nickname
string
Casual name of the End-User that may or may not be the same as the given_name. For instance, a nickname value of Mike might be returned alongside a given_name value of Michael.

preferred_username
string
Shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe. This value MAY be any valid JSON string including special characters such as @, /, or whitespace. The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7.

profile
string
URL of the End-User's profile page. The contents of this Web page SHOULD be about the End-User.

picture
string
URL of the End-User's profile picture. This URL MUST refer to an image file (for example, a PNG, JPEG, or GIF image file), rather than to a Web page containing an image. Note that this URL SHOULD specifically reference a profile photo of the End-User suitable for displaying when describing the End-User, rather than an arbitrary photo taken by the End-User.

website
string
URL of the End-User's Web page or blog. This Web page SHOULD contain information published by the End-User or an organization that the End-User is affiliated with.

email
string
End-User's preferred e-mail address. Its value MUST conform to the RFC 5322 [RFC5322] addr-spec syntax. The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7.

email_verified
boolean
True if the End-User's e-mail address has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this e-mail address was controlled by the End-User at the time the verification was performed. The means by which an e-mail address is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating.

gender
string
End-User's gender. Values defined by this specification are female and male. Other values MAY be used when neither of the defined values are applicable.

birthdate
string
End-User's birthday, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed. Note that depending on the underlying platform's date related function, providing just year can result in varying month and day, so the implementers need to take this factor into account to correctly process the dates.

zoneinfo
string
String from zoneinfo [zoneinfo] time zone database representing the End-User's time zone. For example, Europe/Paris or America/Los_Angeles.

locale
string
End-User's locale, represented as a BCP47 [RFC5646] language tag. This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA. As a compatibility note, some implementations have used an underscore as the separator rather than a dash, for example, en_US; Relying Parties MAY choose to accept this locale syntax as well.

phone_number
string
End-User's preferred telephone number. E.164 [E.164] is RECOMMENDED as the format of this Claim, for example, +1<PHONE_NUMBER> or +56 (2) 687 2400. If the phone number contains an extension, it is RECOMMENDED that the extension be represented using the RFC 3966 [RFC3966] extension syntax, for example, +1<PHONE_NUMBER>;ext=5678.

phone_number_verified
boolean
True if the End-User's phone number has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this phone number was controlled by the End-User at the time the verification was performed. The means by which a phone number is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. When true, the phone_number Claim MUST be in E.164 format and any extensions MUST be represented in RFC 3966 format.

address
JSON object
End-User's preferred postal address. The value of the address member is a JSON [RFC4627] structure containing some or all of the members defined in Section 5.1.1.

updated_at
number
Time the End-User's information was last updated. Its value is a JSON number representing the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the date/time.

you right but dotnet security team believes that it cannot be more than one :)

I don't follow.

this behavior is by design. closing.


Add better details on how to use [coverage:run] to exclude files

This PR updates the documentation for excluding files. I initially had trouble when setting it up, and after a bit of searching, I found the name of the file that [coverage:run] is specified in (setup.cfg or something else, as described in https://coverage.readthedocs.io/en/latest/config.html?highlight=setup.cfg#configuration-reference), and I realized I had to use [coverage:run] and not [run].
Please feel free to contact me on this PR with any questions or comments.

Hi, sorry for the difficulty with the settings.
The section name varies depending on the file you use.  In a .coveragerc file, the section is called [run].  In other files which are not specific to coverage.py, the section needs to specify that it is for coverage, and so is called [coverage:run].  In a pyproject.toml file, it's called [tool.coverage.run].
I'm not sure how to make that clearer throughout the docs.  It's not right to change the name of the section to [coverage:run], since that might not be the correct section name.  I'm open to suggestions.  I'll close this PR now, but I am interested to hear improvements.

Hi, sorry for the difficulty with the settings.
The section name varies depending on the file you use.  In a .coveragerc file, the section is called [run].  In other files which are not specific to coverage.py, the section needs to specify that it is for coverage, and so is called [coverage:run].  In a pyproject.toml file, it's called [tool.coverage.run].
I'm not sure how to make that clearer throughout the docs.  It's not right to change the name of the section to [coverage:run], since that might not be the correct section name.  I'm open to suggestions.  I'll close this PR now, but I am interested to hear improvements.


PastPerfectXMLMapper(Mapper)

Mapper dependency: None

Some general links to know:

Development contribution process
"CIC all tasks" list view
"CIC current sprint" status view

Specific to this mapper:

List of collections, by mapper type: https://registry.cdlib.org/?mapper_type=pastperfect_xml
Endpoints:

https://s3.amazonaws.com/pastperfectonline/xmlfiles/museum_231/inmemrecs.xml
https://s3.amazonaws.com/pastperfectonline/xmlfiles/museum_1029/inmemrecs.xml
https://s3.amazonaws.com/pastperfectonline/xmlfiles/museum_337/inmemrecs.xml
https://pastperfectonline.s3.amazonaws.com/xmlfiles/museum_264/inmemrecs.xml
https://s3.amazonaws.com/pastperfectonline/xmlfiles/museum_913/inmemrecs.xml

Rikolti MVP project board cheat sheet:

Please @ CDL developers liberally, in the comments.
When picking up an "issue," please indicate:

a) Assignees: self assign;
b) Sprint: select the current sprint cycle;
c) Date started: indicate the start date -- see right side fields

CIC developers will likely need to create PRs (and possibly additional issues). When doing so, please also indicate the following:

a) Repository: Rikolti;
b) Milestone: "4 CIC work" (these details are required in order for them to surface in the Rikolti MVP project board); and
c) link the PR to the associated issue.

When requesting review, please:

a) include a comment & @ CDL developers; and
b) Date delivered: indicate the date delivered (field on the right)

A note that there is also a SanJose_PastPerfectMapper(PastPerfectXMLMapper)#370, but they are migrating to a cloud-based platform so we will revisit this after they migrate.


Add documentation for contributor

Add documentation for contributor.

[ ] Add Code of conduct
[ ] Add Contributing
[ ] (Add Pull request template)

[ ] Add Code of conduct
[ ] Add Contributing
[ ] (Add Pull request template)

After replace this app to under Alice Project (GitHub organization), Code of conduct and Contributing move to .github repo.

code of conduct
https://github.com/Lemon73-Computing/Alice_Novel/commit/bdaf832ab5336015be952d55dee628deb9ff7bf0

support contributing (japanese and english)

added feedback.md and pull_request_template.md


Configuration Defaults

Note that this is not for default values if a property is not present, but rather generation of a default configuration file.
Motivation
It is common to provide useres with a default configuration which serves both as documentation and an example. The most common approach is to generate a default based on a file that is not validated and requires repeating property names that are already known.
Solutions
Solution 1
This solution would allow @Property methods to provide a default value by declaring itself as default.
For example:
@Configuration
interface DatabaseConfiguration {
    @Property("connection-string")
    default String connectionString() {
        return "localhost:77279";
    }
}

While it has its own benefits:

Type safe
TODO (I can't think of any others)

It comes with several drawbacks:

Requires that the method has no parameters
Requires knowledge of how to create the type
Would require #15 to implement serialization methods

This solution would probably be more suited to fallback values that would not be written to a configuration.
Solution 2
The second solution would introduce an annotation to mark a default value. This both solves several drawbacks to the first solution, but additionally has a few benefits of its own:

The language can be statically checked (most likely via an annotation processor)
1:1 mapping of what will be displayed in the generated configuration
The value is deterministic

Now there a several possible ways to implement this, but I'm only going to weigh up two variations.
The first is an @Default(String) annotation. Although it provides a relatively simple API, it would require it's own parser to parse the composite values (e.g. @Default("{'name': 'John', 'age': 10}"), @Default("['red', 'blue', 'green']")).
However, this has it's own additional drawbacks and technical challenges:

Building our own parser
Would learning an additional language be too much to ask for of users?
How should the DSL look?

Should strings be quoted?

Is writing @Default("'Example string'") too tedious?

Should the value be parsed based on the context of the property (e.g. an int property parses 5 as a ConfigurationNode.Integer, but a String property parses it as a ConfigurationNode.String)?

How do we know the context? Should deserializers only deserialize a certain type? I'm not sure I see any case where a deserializer would want to allow for multiple types.

Should numbers, maps, lists be hybrid?
Should map keys be quoted?
Do we have different symbols to represent maps and lists or use the same one?

For example:
interface DatabaseConfiguration {
    @Default("'localhost:77296'")
    @Property("connection-string")
    String connectionString();

    // custom java.lang.String parser?
    @Default("localhost:77296")
    @Property("connection-string")
    String connectionString();
}

The second variation is to offer three distinct annotations for each primitive type (except nil as it will be the default):

@Default.String(String)
@Default.Integer(long)
@Default.Decimal(double)

Names are still undecided.
For example:
interface DatabaseConfiguration {
    @Default.String("localhost:77297")
    @Property("connection-string")
    String connectionString();
}

While this doesn't support complex values, it does at least provide a type-safe and much simpler API without as any of the issues that come with the first variation.
Comments
In addition to these solutions, it is also extremely common to provide comments inside of default configurations as a means of inline documentation. The proposal for this is in #13.

Another thing is the term "defaults" is a misleading. It different contexts it may mean:

A configuration generated for end users with all the default settings (this is the definition used above)
The value to use if a configuration property is absent

I'm tempted to simply forget defaults by the first definition and only implement support for the second definition. There's simply too many formatting choices and edge cases with default values. The second definition could be easily supported by simply falling back to a default method if one exists.


Add Workflow Compensation support

Related to: https://github.com/serverlessworkflow/specification/pull/192/
We need to update the parsing methods to reflect this new feature from the spec side.

https://github.com/serverlessworkflow/specification/pull/194 also changes the schema

As soon as we merge these PRs, I'll update here. Thanks, @tsurdilo !

Fixed in #26


Renamed adapters/lvm.pl to xvm.pl. Fixed current_prolog_flag(version_…

Renamed adapters/lvm.pl to xvm.pl. Fixed current_prolog_flag(version_data, xvm(Major, Minor, Patch, _)) to be current_prolog_flag(version_data, xvmpl(Major, Minor, Patch, _)).

Replaced.


Update: Nvidia.CUDA version 12.6 (12.6.1)

Created by 🥟 Dumplings in workflow run #7698.

Log
Updated: 12.6.0 → 12.6.1
Submitting WinGet manifests
Found existing pull requests:
New version: Nvidia.CUDA version 12.6 (12.6.0) - https://github.com/microsoft/winget-pkgs/pull/165663
The existing pull requests are ignored as the version is updated while the real version isn't
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:
(Automated response - build 891.)

The installer works well in the sandbox. No idea why it was failing in the pipeline.

The installer works well in the sandbox. No idea why it was failing in the pipeline.

The installer works well in the sandbox. No idea why it was failing in the pipeline.

@stephengillie

Automatic Validation ended with:
(Automated response - build 895.)

The installer works well in the sandbox. No idea why it was failing in the pipeline.

Unfortunately, the pipelines sometimes emit a success as a failure.


Implement str.rindex() based on CPython

Could you please queue the PR for review?

After updating the PR from master CI fails. Could you please fix it?

@densmirn we just saw it too, investigating now.

@densmirn we just saw it too, investigating now.

Thanks!

/AzurePipelines run

@densmirn you don't have permission to restart Azure directly, but as a workaround, just closing and reopening the PR will re-trigger CI. Current master has a bug on it, it's being fixed right now :)

Could you please continue reviewing the PR?

So yes, either we merge this PR in the next merge window and you submit a new PR that  unifies the tests for index and rindex or you can make the changes to the test suite here now.

So yes, either we merge this PR in the next merge window and you submit a new PR that unifies the tests for index and rindex or you can make the changes to the test suite here now.

Let me unify tests for index and rindex in separate PR and merge this PR as is.

/azp run

Please could you resolve the conflicts by merging master into this branch. Thanks!

Resolved all the merge conflicts.


Unable to Reproduce Training Results

Hi @acl21,
Thanks for sharing this amazing repository! I have tried to train your default code (on both main and dev branches), but was unable to obtain good results. Here is a screenshot of some of the logged training curves.

You may also find other training data and videos here:
https://drive.google.com/drive/folders/1xP1IpPDGsw4CwjiPVpauKRN_CL0smQHQ?usp=sharing
Warm Regards,
Derek

Hi @derektan95, I am glad you find the repository helpful. 🙂
Firstly, please only use main for all training. Secondly, I am sorry for and surprised by the lack of good reproducibility. I have kept the fundamental aspects of the WCSAC algorithm the same since my last training run in August 2022, so I am slightly confused. As you can see in the commit history, despite a few contributions to the repo since then (thanks to davidferrari95), the core parts remain the same, so this shouldn't happen ideally. 😕
I am currently on vacation until mid-April, and I will re-run the experiments and benchmark the algorithm once again. From my experience, the performance of WCSAC is sensitive to hyperparameters so I assume you used the same default hyperparameters in your experiments. Nonetheless, please add the config files you used for training to the drive you shared and I will take a closer look after my vacation.
Once again, sorry for the trouble. Good luck!
Best regards,
Akshay

Hi @acl21,
Thanks for your reply! I managed to rerun the experiments from the main branch, using the default config file as shown here. However, just as with the dev branch, I was unable to reproduce your results. You may refer to the new training graphs and simulation videos here.

Looking forward to hearing from you on how to make these results reproducible. Thanks!
Warm Regards,
Derek


unknown ssh-add option

From the readme:
$ ssh-add -K ~/.vagrant.d/insecure_private_key

My ssh-add does not know -K - should that be -k?

My ssh-add does not know -K - should that be -k?

I think it depends on the client - the flags differ. On my Mac it's -K, but on some Linux distros, I think it's -k. Maybe a note would suffice with both examples?

thanks!


Additional enumerable extensions

Added extension functions

Chunk (with and without projection)
ChunkBy (With and without projection)
In other libraries / languages these are also known as Batch or Split

Ideas:

AdjecentGroupBy
Interleave
Transpose (implementable with interleave + chunk)
Pairwise
Backsert (Maybe)
Cartesian(Name?)
CountBy(Maybe)
GenerateWithIndex
MaxOrNone
Merge
Partition
Rank, RankBy (Maybe)
Repeat
Return (Name of class?)
Shuffle
Split
PowerSet (performance?)
TakeEvery
Window

Difficult but nice

Memoize

Also thinking about overloads, alternatives ...

WithIndex => alternative to the notoriously unknown overload to Select with two parameters
Generate (Unfold?, Name of class) Iota
WithFirst / WithLast

Missing unit tests for ChunckBy 🤔

After some testing:
Funcky.Test.ChunkByTest.GivenAAlwaysFalsePredicateChunkByReturnsChunksWithSingleElements

Unable to read beyond the end of the stream. Source: System.Private.CoreLib HResult: -2147024858

--- EXCEPTION #1/1 [LoggerException]
Message = “
  Unable to read beyond the end of the stream.
  Source: System.Private.CoreLib
  HResult: -2147024858
”

If the predicate returns true and the list has yields no more items, ChunkBy goes on forever. (See TakeWhile in while loop with .Any check:
while (source.Any())
{
    yield return resultSelector(source.TakeWhile(predicate));
    source = source.SkipWhile(Functional.Not(predicate));
}

I was not able to reproduce the runtime error in dotnetfiddle.net with this code:
using System;
using System.Linq;
using System.Collections.Generic;

public class C {
    public void Main() {
        System.Linq.Enumerable.Empty<int>().TakeWhile(x => true).ToList();
		List<int> numbers = new List<int> { 1, 2, 3, 4 };
		ChunkBy(numbers, (x) => true, x => x);
		Console.WriteLine("End");
    }

        public IEnumerable<TResult> ChunkBy<TSource, TResult>(IEnumerable<TSource> source, Func<TSource, bool> predicate, Func<IEnumerable<TSource>, TResult> resultSelector)
        {
            while (source.Any())
            {
                yield return resultSelector(source.TakeWhile(predicate));
                source = source.SkipWhile((x) => !(predicate(x)));
            }
        }
}

Hmm I am not sure if ChunkBy with a predicate is the right implementation... I think we need a good motivational example for the predicate version, it is very similar to the AdjacentGroupBy.


[EXTEND] MultiCode Setting Type

What? :boat:

Added additional SettingType "MULTICODE" for app settings
Why? :thinking:

New input type MultiCodeSettingInput was created in the Rocket.Chat. It is used in Apps.Dialogflow for PR: https://github.com/WideChat/Apps.Dialogflow/pull/125 for the dynamic creation of multiple code input forms.
Links :earth_americas:

PS :eyes:
If the PRs need to be tested before the Apps-engine PR is merged:

Change the URL for Apps-engine in package.json to:
"devDependencies": {<EMAIL_ADDRESS>"git+https://github.com/WideChat/Rocket.Chat.Apps-engine.git#multicode_setting_type"      }
in both Rocket.Chat and Apps.Dialogflow repos.
Run npm install @rocket.chat/apps-engine in both Rocket.Chat and Apps.Dialogflow repos.

Thanks guys.


NullReferenceException in ChillPlayer.Android, & FileNotFoundException in ChillPlayer.UWP

# ChillPlayer.Android

Downloaded the latest ChillPlayer code sample on 5/22/2018.
Restored Nuget Packages.
Compiled Solution - Success
Deployed to real device: Google Nexus 7 (Android 6.0 API 23)
Received a System.NullReferenceException: inside MainActivity.OnCreate, LoadApplication(new App())
(All exceptions are on)

# ChillPlayer.UWP

Same steps 1- 4
Received "Could not load file or assembly 'Octane.Xamarin.Forms.VideoPlayer, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).

# Environment
Microsoft Visual Studio Professional 2017
Version 15.7.1
VisualStudio.15.Release/15.7.1+27703.2000
Microsoft .NET Framework
Version 4.7.03056

Xamarin   <IP_ADDRESS>2 (396b18cef)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   4.12.264 (fc37cd02e)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin.Android SDK   <IP_ADDRESS> (HEAD/342b2ce96)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   <IP_ADDRESS> (7e782c1)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

# Comments
Firstly, thank you for all your time and effort putting together a cross-platform Video Player.
If I may be brutally honest here...
While It appears you're off to a great start, to monetize a custom control before it's ready for prime time diminishes your revenue opportunities, not just the VideoPlayer, but potentially others controls you might try and monetize in the future.

That being said, (IMO) a Sample XF app that showcases a custom control should be able to run on all supported platforms with ease. Of course there will be XF compatibility issues, however, there definitely should not be any Unhandled Exceptions that cause the app to crash or not run.

At any rate, just my $0.02
Keep up the great work! Looking forward to a stable release.

I tested the Chill Player example application on a real device as well with a fresh checkout from GitHub and it is working for me. Can you provide the full stack trace?
The UWP issue appears to be the same as #121 so you will want to track that there.


[AKS] Support using custom vNet for MSI cluster with user assigned identity

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

AKS

CI failed. Close and reopen to retry. The failure is strange...

Rebased on latest master.

Updated recordings because the API version in CI was updated. Thanks for @arrownj 's help!


Invalid session ID

Hi,
following the guide I was able to connect and use collection.
Closing and reopening the next day I received this message:
{
"message": "Session expired or invalid",
"errorCode": "INVALID_SESSION_ID"
}
I tried to login again using the button " Get new access token" but also using a new token nothing changes.
Anyone has the same issue?
Postman Version 8.0.5
win32 10.0.19041 / x64
Uploaded settings image
thanks

Hi @dariofinotti. Can you double check that you have correctly set the _endpoint collection variable with your instance url?
Don't forget to save after selecting the token and updating the variable.

Hi @pozil,
I found the problem, it was the Add auth data to: Request URL, the correct one is request hearders.
Thanks

Glad you solved it. Thanks for using the collection.


docs | tasks | configure-pod-container | PersistentVolumes

Translate PersistentVolumes FR

Hi @icheikhrouhou Do you think you will get time to work on this PR? Otherwise, I can make the required changes for you

@feloy if you know how to, you can adapt the changes from this PR into your own work. We already have a CLA signed off to make that possible in terms of licensing, copyright and attribution.
When I've done this I make sure to add a Co-Authored-By: note into the relevant commit message(s).
If this kind of work is new to you, I can give you some tips.


New events

Implemented three more events from Pina's and Lisa's list.
Events now have a more similar interface like laws.

@jschirrmacher I fixed merge conflicts with GitHub and now am not allowed to do "Rebase and merge". I will do "Create a merge commit" instead and we'll see if that is ok. I think we can fix it and force-push 'main' in case we do not like the result.


ensure that use of unique in splitVertices operates on a vector rather than matrix or array

This PR uses @paciorek ’s suggestion for fixing Issue #443 .  This appears to be a harmless bug but would be good to clean up.

I just learned that you can automatically close issues by using standard naming of pull request titles:
https://help.github.com/articles/closing-issues-via-commit-messages/
So I think you could title this PR "Fixes #443 by ensuring that unique inside splitVertices operates on a vector rather than a matrix or array". Let's see if it works :smile:

@paciorek Looks like this passes tests.  Thanks for that suggestion for future practice @fritzo

Looks like @fritzo suggestion worked.


Issue in deleting a record

when i delete a recorded meeting it changes the state of that recording to deleted,
but it is still on the server, how can i remove it completely ?

@amousavii  you are right after delete a  recorded meeting it just change state as deleted ..
recording will be deleted withing 9 days default configuration on bigblubutton server but you can custom as well..
so you need get recording list with only published state if you want to get only published record only try to change in bigbluebutton.php  any to published
state => 'published'
other wise
\Bigbluebutton::getRecordings([
    'meetingID' => 'tamku',
    //'recordID' => 'a3f1s',
   'state' => 'published' // It can be a set of states separate by commas
]);

Thanks a lot.
\Bigbluebutton::getRecordings([     'meetingID' => 'tamku',     //'recordID' => 'a3f1s',    'state' => 'published' // It can be a set of states separate by commas   ]);
You mentioned that It can be a set of states separate by commas  , you mean that I must use it as an array? like below?
 'state' => ['published' ,'unpublished',...]

you mean that I must use it as an array? like below?

See the code comment and offical bbb api docs (https://docs.bigbluebutton.org/dev/api.html#getrecordings)
         /**
         * if the recording is [processing|processed|published|unpublished|deleted].
         * The parameter state can be used to filter results. It can be a set of states separate by commas.
         * If it is not specified only the states [published|unpublished] are considered
         * (same as in previous versions). If it is specified as “any”,
         * recordings in all states are included.
         *
         *  var @string
         */

@SamuelWei Thanks a lot

Dear @SamuelWei , I successfully change a state of recording with recordID but files is not deleted directly. When they being deleted?


⚠ Bofrost.lu has degraded performance

In bb1f972, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1724 ms

Resolved: Bofrost.lu performance has improved in 3a4ba68.


Theme Auto (Sunrise/Sunset) causes fatal exception when creating new observation

Expected Behavior
Set the Theme Day / Night feature to Auto, take MAGE field observations as normal.
Actual Behavior

When setting to theme to Auto, creating a new MAGE field observation causes iOS to crash
Workaround is to not use Auto
Summary of the Crash, (full log below)

 MAGE -[AutoSunriseSunsetTheme themedWhite]: unrecognized selector sent to instance 0x60000143eae0
 MAGE *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AutoSunriseSunsetTheme themedWhite]: unrecognized selector sent to instance 0x60000143eae0'

Repeatability

100%
Tested and crashes on iOS Simulator, OS 11.3 (15E217)
Tested and crashes on iPhone SE, OS 11.3 (15E216)
Not tested with version in the App Store as there are no test mage-server to use

Steps to reproduce

Setup MAGE on iOS with a local mage-server.  We use these notes for setting up both https://www.RobLabs.com/mage
Build mage-ios in Xcode Version 9.3.1 (9E501) so that debugging and logs are easy to obtain
Create a new event and create a new observation to ensure mage-server and mage-ios are functioning
In iOS, change the theme

More > Theme > Choose "Auto (Sunrise/Sunset)"

Create a new observation (at this point the crash happens)

2018-05-26 09:30:02.890997-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:02.894712-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:02.895481-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:02.902365-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:02.905265-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:02.905423-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:02.905540-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:02.906941-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:02.910028-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:02.911842-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:02.911965-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:02.912121-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:02.912302-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:02.912491-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:02.912692-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:02.914026-0700 MAGE[40933:3549202] Current theme: 2
2018-05-26 09:30:06.240464-0700 MAGE[40933:3549202] Showing icon from userIcons/5b04c2798418ac6966712b56
2018-05-26 09:30:06.328002-0700 MAGE[40933:3549202] [VKDefault] Tile 4.8.4 (128) in current unloaded state for 16.47 seconds - Raster Overlays Above Labels - Failed to decode (terminal) (16.47 sec)
2018-05-26 09:30:06.335014-0700 MAGE[40933:3549202] [VKDefault] Tile 2.8.4 (128) in current unloaded state for 16.47 seconds - Raster Overlays Above Labels - Failed to decode (terminal) (16.47 sec)
2018-05-26 09:30:06.339977-0700 MAGE[40933:3549202] [VKDefault] Tile 3.8.4 (128) in current unloaded state for 16.47 seconds - Raster Overlays Above Labels - Failed to decode (terminal) (16.47 sec)
2018-05-26 09:30:06.340813-0700 MAGE[40933:3549202] [VKDefault] Tile 4.6.4 (128) in current unloaded state for 16.47 seconds - Raster Overlays Above Labels - Failed to decode (terminal) (16.47 sec)
2018-05-26 09:30:06.343832-0700 MAGE[40933:3549202] [VKDefault] Tile 4.7.4 (128) in current unloaded state for 16.47 seconds - Raster Overlays Above Labels - Failed to decode (terminal) (16.47 sec)
2018-05-26 09:30:06.345544-0700 MAGE[40933:3549202] [VKDefault] Tile 4.4.4 (128) in current unloaded state for 16.47 seconds - Raster Overlays Above Labels - Failed to decode (terminal) (16.47 sec)
2018-05-26 09:30:06.365599-0700 MAGE[40933:3549202] [VKDefault] Tile 4.5.4 (128) in current unloaded state for 16.47 seconds - Raster Overlays Above Labels - Failed to decode (terminal) (16.47 sec)
2018-05-26 09:30:06.365814-0700 MAGE[40933:3549202] [VKDefault] Tile 2.4.4 (128) in current unloaded state for 16.47 seconds - Raster Overlays Above Labels - Failed to decode (terminal) (16.47 sec)
2018-05-26 09:30:06.365978-0700 MAGE[40933:3549202] [VKDefault] Tile 3.4.4 (128) in current unloaded state for 16.47 seconds - Raster Overlays Above Labels - Failed to decode (terminal) (16.47 sec)
2018-05-26 09:30:07.685175-0700 MAGE[40933:3549202] Created new main queue context: <NSManagedObjectContext: 0x6040007c7260>
2018-05-26 09:30:07.719954-0700 MAGE[40933:3549202] Could not inset legal attribution from corner 4
2018-05-26 09:30:07.748824-0700 MAGE[40933:3549202] Could not inset compass from edges 9
2018-05-26 09:30:07.749349-0700 MAGE[40933:3549202] Could not inset scale from edge 9
2018-05-26 09:30:07.775401-0700 MAGE[40933:3549202] -[AutoSunriseSunsetTheme themedWhite]: unrecognized selector sent to instance 0x60000143eae0
2018-05-26 09:30:07.943821-0700 MAGE[40933:3549202] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AutoSunriseSunsetTheme themedWhite]: unrecognized selector sent to instance 0x60000143eae0'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000011293e1e6 __exceptionPreprocess + 294
	1   libobjc.A.dylib                     0x0000000111a5a031 objc_exception_throw + 48
	2   CoreFoundation                      0x00000001129bf784 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
	3   CoreFoundation                      0x00000001128c05f8 ___forwarding___ + 760
	4   CoreFoundation                      0x00000001128c0278 _CF_forwarding_prep_0 + 120
	5   MAGE                                0x000000010b7eee24 +[UIColor(Mage) themedWhite] + 116
	6   MAGE                                0x000000010b7f61db -[FormCollectionViewCell themeDidChange:] + 459
	7   MAGE                                0x000000010b805b40 -[UIResponder(Theme) registerForThemeChanges] + 928
	8   MAGE                                0x000000010b7f74c8 -[FormCollectionViewCell configureCellForForm:] + 216
	9   MAGE                                0x000000010b884e8b -[FormPickerViewController collectionView:cellForItemAtIndexPath:] + 251
	10  UIKit                               0x0000000110382626 -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] + 295
	11  UIKit                               0x00000001103824f9 -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:] + 35
	12  UIKit                               0x000000011038777e -[UICollectionView _updateVisibleCellsNow:] + 4505
	13  UIKit                               0x000000011038d558 -[UICollectionView layoutSubviews] + 364
	14  UIKit                               0x000000010f98e808 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1515
	15  QuartzCore                          0x000000010ea9661a -[CALayer layoutSublayers] + 177
	16  QuartzCore                          0x000000010ea9a82b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395
	17  QuartzCore                          0x000000010ea2129f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 343
	18  QuartzCore                          0x000000010ea4e940 _ZN2CA11Transaction6commitEv + 568
	19  UIKit                               0x000000010f8e7f8c _afterCACommitHandler + 272
	20  CoreFoundation                      0x00000001128e0607 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
	21  CoreFoundation                      0x00000001128e055e __CFRunLoopDoObservers + 430
	22  CoreFoundation                      0x00000001128c4b81 __CFRunLoopRun + 1537
	23  CoreFoundation                      0x00000001128c430b CFRunLoopRunSpecific + 635
	24  GraphicsServices                    0x0000000116e69a73 GSEventRunModal + 62
	25  UIKit                               0x000000010f8bf0b7 UIApplicationMain + 159
	26  MAGE                                0x000000010b885bf4 main + 180
	27  libdyld.dylib                       0x000000011446c955 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

@roblabs Thanks for the detailed report, just pushed a fix to our develop branch.  This will go out with the next minor version.


Efficiently route messages through HocuspocusProviderWebsocket

Fixes #724

I still need to test in the playground and my app, but it should be okay. Ended up being a very simple change.

Thanks a lot for this! Looks great, will do a round of testing as well and then get this merged 😎


Feature: Encrypting the current user's login

You can enter a username to CurrentUserLogin PersistentSettings as normal text, and, if such a user exists the username will be encrypted when you first open the app (if the user does not exist, then CurrentUserLogin will be cleared)

You can enter a username to CurrentUserLogin PersistentSettings as normal text, and, if such a user exists the username will be encrypted when you first open the app (if the user does not exist, then CurrentUserLogin will be cleared)

Fixed by 9e32ffc commit

Fixed by 9e32ffc commit


Wrong math calculations

Microsoft PowerToys version
0.70.1
Installation method
GitHub, PowerToys auto-update, Microsoft Store
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce
Try to multiply values with . (dot) and , (comma) separators. The return value will be different:
The correct

The wrong

✔ Expected Behavior
Correct math calculations, which doesn't depend on type of number separator, such as . (dot) and , (comma)
Ex.:  0.3  and 0,3
❌ Actual Behavior
Wrong math calculations when multiplying values, that have . (dot) separator
Other Software
No response

Known issue. @jaimecbernardo @crutkas are we going to talk about this?

/dup https://github.com/microsoft/PowerToys/issues/2265
one idea could be to just to have an option to just default both to be decimal.


Add logic to calculate located resources

Summary of changes
This commit adds new logic to calculate all resources that should be highlighted when we filter for signals with certain licenses or criticality. Fixes #1944.
Context and reason for change
We want to imlement a new feature to be able to locate signals based on criticality and certain licenses.
How can the changes be tested
Checkout the commit, open a file and select a criticality and or license name. Observe the new state of resourcesWithLocatedAttributions in the redux dev tools browser. Make sure that there exists at least one resource with a signal of the selected type.

To address the issues pointed out, we made a separate PR #2005.


feat(flex-grid): add flex-grid component

Description
Introduce FlexGrid utility component, which provides a CSS grid-like experience, built on flexbox, for applications that need to support customers on Internet Explorer.
Also

export ResponsiveT and ScaleT types from Block
add react-is dependency needed to flatten fragments
add flattenFragments() in react-helpers.js
add responsive-helpers.js and use in Block
add string.js helper with camelToKebab method
add flex-grid documentation with examples

Maybe fixes #1237, though it’s more of a utility component for those who can’t use CSS grid.
Scope

[ ] Patch: Bug Fix
[x] Minor: New Feature
[ ] Major: Breaking Change

thank you Leyan! Would you mind adding visual regression tests instead of the snapshots? you can find examples by checking out a .scenario.js file in any of the test directories.

Nice work!
Are all these APIs really supported? If so, why not to use gridColumn to implement this example rather than doing some math manually?

🎆 Looks great!

thank you Leyan! Would you mind adding visual regression tests instead of the snapshots? you can find examples by checking out a .scenario.js file in any of the test directories.

@gergelyke Added scenarios by copying over from the documentation examples. Is this ok? Also would like to keep a few snapshots to make sure prop behavior is ok.

Nice work!
Are all these APIs really supported? If so, why not to use gridColumn to implement this example rather than doing some math manually?

@tajo Yes, all the Block APIs are supported. The issue with gridColumn is the limited support in IE. Rather than removing certain props from the Block API for FlexGrid, I decided to pass them all in for simplicity, and leave it up to the user to do what they will. I’ve reordered the prop types so the three FlexGrid props are first, so hopefully that clears things up:
https://deploy-preview-1289--baseui.netlify.com/components/flex-grid/

🎆 Looks great!

@nadiia Thanks!

Thx that's usefull


Make Host::set_lifecycle_event_hook pub

What
Make Host::set_lifecycle_event_hook pub.
Why
For use in the SDK to record host calls for snapshotting and tracking behavior consistency over time in contracts.

Not going ahead with as I'm not going to use it in the SDK now. Instead going to have the SDK focus on recording observable contract outputs and not all observable behavior.


[10.x] Explicit nullable parameter declarations to fix PHP 8.4 deprecation

Closes #50803
Draft State
Let's run tests and get some opinions first, if this should be applied to Laravel 11 or Laravel 10. (I opted here for Laravel 10, not sure what this would imply when merging changes upstream)
Description Taken from the provided issue:
As of PHP 8.4, implicitly nullable parameter declarations will be deprecated. See also https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated and https://wiki.php.net/rfc/deprecate-implicitly-nullable-types.
Currently, a large number of functions within this codebase still use this pattern; see also a quick example I made with rector. This should probably be adjusted.
Implementation suggestions:

for maintenance reasons, it might be most fruitful to target any update at 10.x, to also prevent lots of deprecations in the few months where v10 and PHP 8.4 are both supported;
StyleCI has a nullable_type_declarations fixer that can automatically fix and enforce this, which is probably the easiest way to automatically fix this;
maybe for other people using StyleCI, adding this to the laravel preset might be a good way forward?

Laravel 10 does not and will never support PHP 8.4, as far as I'm aware. This should target 11.x.

Moreover, pint should not be installed here. The framework uses StyleCI to enforce code style.

Pint will be uninstalled after reviewing the changes, I left it there for now.
I just wanted to tag you @GrahamCampbell to discuss these changes.
And I will quote @driesvints from the issue: https://github.com/laravel/framework/issues/50803#issuecomment-2024756049

It's highly unlikely we'll support PHP 8.4 on Laravel v10. But if it's not too much work and there aren't any breaking changes we can give it a go. I'll try to get a CI job up soon.

@Jubeki @crynobone makes a good remark about the security releases only support. It might be better in the end to send this to 11.x instead. I appreciate the effort! 👍


Random Color Generator

Issue Type:

[ ] Bug Report
[ ] Feature Request
[x] Documentaion

Describe the bug

A clear and concise description of what the bug is.

Possible solution

Describe the solution you thought of.

Screenshots

Please Assign this to me

Please check


Adds linters and autoformatting.

TSLint used for TypeScript.
sass-lint used for SCSS.
Configurations updated.
TypeScript updated, with type files.
Removed DOMContentLoaded listeners, replacing with deferred scripts.

dont care about circleci tests anymore. good to go.


High-precision mode has incorrect half-lives for Th-232, Sm-147 and Rb-87

What is the issue?
The SymPy high-precision data files of the default decay dataset have incorrect half-lives for Th-232, Sm-147 and Rb-87. This means InventoryHP gives incorrect decay results for any chains containing these radionuclides.
See more here
Additional context
The problem is with the to_rational() function in the dataset creation notebook. I'll work on a fix ASAP and release a new version of radioactivedecay.
All previous versions of radioactivedecay including InventoryHP will contain this bug.
Thanks to @seb01957 for highlighting this issue.

Fixed in version v0.4.14 (#83)


T4 transformation template problem

hello,Error prompted when I converted the T4 template :Can't determine path of TSC.exe that is required to compile generated TypeScript files!

Install typescript

how to Install typescript？I installed the TypeScript_Dev12 before, and later used the VS15, can be used before, today suddenly can not.

http://www.typescriptlang.org/
Wish you could use google

I installed TypeScript_Dev14Full.exe.I use google.But that is the error.

install 1.8+ are you reading guide?

I'm sorry, I didn't say it clearly. I install 1.8.6,but that is the error.

The problem solved, I put the VS to reinstall it.
Sincerely thank you !


v4 cleanUp() problems

Hello.
I'm using factory-girl 4.0.0-beta.7 with sequelize and mocha. I've noticed a few problems:

the README.md still says cleanup as does the test, but the method was renamed to cleanUp.

I'm getting this error when I run cleanUp(): (node:30699) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 149): TypeError: model.destroy is not a function
That seems to be originating from the DefaultAdapter: https://github.com/aexmachina/factory-girl/blob/7e4335330a4e85d4c6c2ecf9a881df8ff9b77965/src/adapters/DefaultAdapter.js#L10

Hi @createthis, we'll fix the doc.
Regarding your issue, afaik sequelize model instances have a destroy method.
Can you check what's the type of the model object.

When I print out model there via console.log("model=",model);, this is what I get:
model= function () {
    Instance.apply(this, arguments);
  }

As a way to easily reproduce this issue, I made a quick example project: https://github.com/createthis/sequelize-factory-girl-v4-example
Just:
npm install
npm test

And you'll see the warning in the output:

factory
#cleanUp
✓ should cleanUp without errors or warnings
(node:27315) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: model.destroy is not a function
1 passing (79ms)

If you want to see the trace, just uncomment this process.on block and restart the test: https://github.com/createthis/sequelize-factory-girl-v4-example/blob/master/test_helpers/index.js#L19

I have probably found the problem, will raise a PR after verifying!

@createthis, I have raised #78 to fix the issue. Thanks for pointing out the issue and providing the sample project!

Confirmed fixed on my end using that code. 👍

@aexmachina would be cool to get a beta release with all the latest fixes.

Still having this error with Mongoose

I thought this issue was already resolved. Sounds like you're having a problem with running tests in parallel, which is a different issue. cleanUp assumes serial operation. In order to support parallel you'll need to have a different FactoryGirl instance for each parallel process.


Water is colorless in the Crucible (Thaumcraft Compatibility)

Interestingly it also affects the particles as well when it's boiled with fire, lava or nitor on the bottom of it.

Purifying liquid's colors are affected too oddly enough. I think all modded liquids that have been added in a similar matter to Thaumcraft might have the same side effect. x.x

Same root cause as #53. Thanks for the report; I'm working on a fix.

Fixed in 1.7.0.

@embeddedt The Crucible oddly doesn't seem to like the fix (not entirely sure if there's other Thaumcraft blocks that uses water like this either)

Hmm, possible mod conflict? Do you have Fluidlogged API installed by chance? This is what it looks like in the latest version for me.

Yup! I've disabled it just now and it now works fine, just seems odd for it to affect the Crucible more specifically.

Since Fluidlogged got a major update, I reported it to their side but I was told that it doesn't do anything that would influence colors and textures, and it's more likely an Aqua Acrobatics issue. I think it could be just Thaumcraft being Thaumcraft again when both mods are installed.


Let's keep the autogenerated node IDs hidden.

Instead of using the internal node ids is our APIs, like http://localhost:8000/metrics/2/.
Let's keep them hidden inside the system and use node names in our APIs, say http://localhost:8000/metrics/num_comments/.
And once we define the version ideas, then we can switch to name/version e.g. http://localhost:8000/metrics/num_comments/0/.

+1 on this! Also good call that we should think about versioning while we do this. 👍


Black Thumbnails after Importing BRAW Clips

Steve @ Ripple Training writes via TestFlight:

Black Thumbnails appear in FCP whenever I drag that library-thingy into the Library. I have to quit FCP and restart in order for the video to appear and the toolbox to load.

I can't reproduce this on my machine MacBook Pro (16-inch, 2021, Apple M1 Max, 64 GB RAM) - however, I wonder if changing form Filmstrip mode to List Mode or adjusting the duration slider in Filmstrip mode will kick FCPX back into gear?
We don't actually have any control over thumbnail creation - it's all handled by FCPX. We simply just render frames, with no knowledge of what they are or where they're from.

I'm going to close this issue for now, as there's not much we can do about it anyway.


hallo need help [api_error] Session stale

2016-08-10 07:52:09,234 [PokemonGoBot] [INFO] [api_error] Session stale, re-logging in.
2016-08-10 07:52:09,235 [PokemonGoBot] [INFO] [login_started] Login procedure started.
2016-08-10 07:52:29,047 [PokemonGoBot] [INFO] [login_successful] Login successful.
2016-08-10 07:52:29,049 [PokemonGoBot] [INFO] Found encrypt.so! Platform: linux2 Encrypt.so directory: /root/PokemonGo-Bot
2016-08-10 07:52:31,258 [RecycleItems] [INFO] [item_discard_skipped] Skipping Recycling of Items. 19 space left in bag.
2016-08-10 07:52:42,222 [PokemonGoBot] [INFO] [api_error] Session stale, re-logging in.
2016-08-10 07:52:42,224 [PokemonGoBot] [INFO] [login_started] Login procedure started.
2016-08-10 07:52:47,641 [PokemonGoBot] [INFO] [login_successful] Login successful.
2016-08-10 07:52:47,647 [PokemonGoBot] [INFO] Found encrypt.so! Platform: linux2 Encrypt.so directory: /root/PokemonGo-Bot
2016-08-10 07:52:49,950 [RecycleItems] [INFO] [item_discard_skipped] Skipping Recycling of Items. 19 space left in bag.
2016-08-10 07:52:54,382 [PokemonGoBot] [INFO] [api_error] Session stale, re-logging in.
2016-08-10 07:52:54,383 [PokemonGoBot] [INFO] [login_started] Login procedure started.
2016-08-10 07:53:04,686 [PokemonGoBot] [INFO] [login_successful] Login successful.
2016-08-10 07:53:04,690 [PokemonGoBot] [INFO] Found encrypt.so! Platform: linux2 Encrypt.so directory: /root/PokemonGo-Bot
2016-08-10 07:53:06,971 [RecycleItems] [INFO] [item_discard_skipped] Skipping Recycling of Items. 19 space left in bag.
2016-08-10 07:53:11,601 [PokemonGoBot] [INFO] [api_error] Session stale, re-logging in.
2016-08-10 07:53:11,607 [PokemonGoBot] [INFO] [login_started] Login procedure started.
2016-08-10 07:53:16,702 [PokemonGoBot] [INFO] [login_successful] Login successful.
2016-08-10 07:53:16,706 [PokemonGoBot] [INFO] Found encrypt.so! Platform: linux2 Encrypt.so directory: /root/PokemonGo-Bot
2016-08-10 07:53:19,240 [RecycleItems] [INFO] [item_discard_skipped] Skipping Recycling of Items. 19 space left in bag.
2016-08-10 07:53:22,965 [PokemonGoBot] [INFO] [api_error] Session stale, re-logging in.
2016-08-10 07:53:22,967 [PokemonGoBot] [INFO] [login_started] Login procedure started.
2016-08-10 07:53:28,536 [PokemonGoBot] [INFO] [login_successful] Login successful.
2016-08-10 07:53:28,540 [PokemonGoBot] [INFO] Found encrypt.so! Platform: linux2 Encrypt.so directory: /root/PokemonGo-Bot
2016-08-10 07:53:30,682 [RecycleItems] [INFO] [item_discard_skipped] Skipping Recycling of Items. 19 space left in bag.
2016-08-10 07:53:30,691 [FollowSpiral] [INFO] [position_update] Walking from (-33.865142990529584,<PHONE_NUMBER>3318967, 0) to (-33.865142990529584, 151.2099, 0) (63.7113403314 m)
2016-08-10 07:53:34,826 [PokemonGoBot] [INFO] [api_error] Session stale, re-logging in.
2016-08-10 07:53:34,833 [PokemonGoBot] [INFO] [login_started] Login procedure started.
2016-08-10 07:53:40,371 [PokemonGoBot] [INFO] [login_successful] Login successful.
2016-08-10 07:53:40,375 [PokemonGoBot] [INFO] Found encrypt.so! Platform: linux2 Encrypt.so directory: /root/PokemonGo-Bot
2016-08-10 07:53:42,721 [RecycleItems] [INFO] [item_discard_skipped] Skipping Recycling of Items. 19 space left in bag.
2016-08-10 07:53:55,508 [PokemonGoBot] [INFO] [api_error] Session stale, re-logging in.
2016-08-10 07:53:55,510 [PokemonGoBot] [INFO] [login_started] Login procedure started.

 Also, would be useful to know what OS you are using

Check your system time and make sure its set to the right time.

I have the same error, with debug on i get this:
2016-08-10 12:39:34,217 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTPS connection (1): android.clients.google.com
2016-08-10 12:39:34,606 [requests.packages.urllib3.connectionpool] [DEBUG] "POST /auth HTTP/1.1" 200 None
2016-08-10 12:39:34,610 [pgoapi.auth] [INFO] Google User Login successful.
2016-08-10 12:39:34,610 [pgoapi.auth] [DEBUG] No Access Token available!
2016-08-10 12:39:34,610 [pgoapi.auth] [INFO] Request Google Access Token...
2016-08-10 12:39:34,612 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTPS connection (1): android.clients.google.com

I can confirm that setting proper system time fixes the session stale issue.


file: protocol break yarn install --immutable

Since Yarn's lockfile will use the entire content of the file dependency to compute its hash value, a clean installation from CI will result in a lockfile update, breaking yarn install --immutable.

Hey, thank you very much for raising and the possible fix.
I'd like to take a second look though, because the package version of the descriptors should remain stable if the metadata doesn't change. If we can avoid having to check for specific versions of package managers, that would be a plus.

Yeah make sense. Though Yarn can be a pain if your aim is cross pkg manager behaviour parity 😅
Also fwiw, I personally believe targeting optimal protocol depending on the pm should be okay. Especially now that package.json is expected to specify the packageManager field.

After looking it more carefully I understood the problem was not the version the codegen generates, but rather the integrity check yarn runs on the package. I've checked this doesn't effect pnpm, bun or npm.
Unfortunately, the packageManager field is not well-standarazied yet. It's an experimental corepack feature that only supports yarn and pnpm. And from all the package managers I've tried, only yarn2+ populates it when creating a new project.
But that might be the only solution for this issue, and since yarn2+ supports it and it's the only one having it, I think it makes total sense 👍


[Video Card] Web Component: Change video card to display video title as Card headline, not card copy

User Story

As a [user role below]:
Carbon for ibm.com developer

I need to:
create/change the video card

so that I can:
provide the ibm.com adopter developers components they can use to build ibm.com web pages

Additional information

Story within Storybook with corresponding knobs
Utilize Carbon
Create with Shadow DOM and Custom Elements standards
See the Epic for the Design and Functional specs information
Web Components Visual QA testing issue (#6521 )
Web Components Prod QA testing issue (#6524 )

Acceptance criteria

[ ] Include README for the web component and corresponding styles
[ ] Create Web Components styles in styles package
[ ] Do not create knobs in Storybook that include JSON objects
[ ] Break out Storybook stories into multiple variation stories, if applicable
[ ] Create codesandbox example under /packages/web-components/examples/codesandbox and include in README
[ ] Minimum 80% unit test coverage
[ ] Update the Carbon for ibm.com website component data file to be sure the web site Component Status and Storybook links are correct
[ ] Use the Visual QA checklist to verify design quality
[ ] If a design is provided, the Designer is included as a Reviewer in the Pull Request
[ ] Provide a direct link to the deploy preview for the designer in the Pull Request description
[ ] A comment is posted in the Prod QA issue, tagging Praveen when development is finished

Going to increase the scope to video player, and the headline in the lightbox with embedded video player.

it looks like this issue may have already been resolved in a previous PR https://github.com/carbon-design-system/carbon-for-ibm-dotcom/pull/5717

Closing based on Andrew's comments above.


php 5.6 for Debian Stretch

Simple PHP 5.6 FPM implementation for Stretch, useful in case of PHP 7 migration issues.

Not merging.


Resuming the training through checkpoint with tez

Hi,
I am wondering if it is possible to pick up a saved model and resume/continue the training with tez. I am new to pytorch. Here is what I tried:
class Bert(tez.Model):

    def __init__(self, num_classes, num_train_steps=None):

        super().__init__()
        self.bert = transformers.BertModel.from_pretrained(
           'bert-base-uncased,
            return_dict=False
            )

        if config.RETRAINING: # set to True
            self.bert.load(
            'demo.bin',
            device='cuda')

        self.bert_drop = nn.Dropout(0.3)
        self.out = nn.Linear(self.bert.config.hidden_size, num_classes)

and it doesn't work. I am not sure what I am missing. I found this for pytorch:
https://discuss.pytorch.org/t/loading-a-saved-model-for-continue-training/17244
but I am not sure how to use this together with tez.

Sure, just do model.load() and you can re-train. you might also want to load the state of optimizer and scheduler. ill add support for saving them.

Sure, just do model.load() and you can re-train. you might also want to load the state of optimizer and scheduler. ill add support for saving them.

I may have found a bug. This is what I get when I try to load a model:
File "/usr/local/lib/python3.7/dist-packages/tez/model/model.py", line 354, in load
self.load_state_dict(model_dict["state_dict"])
KeyError: 'state_dict'


New version: RollingFunctions v0.7.0

Registering package: RollingFunctions
Repository: https://github.com/JeffreySarnoff/RollingFunctions.jl
Created by: @JeffreySarnoff
Version: v0.7.0
Commit: f9588d2ed5c60fcfbde65284710de752a6f1cf64
Reviewed by: @JeffreySarnoff
Reference: https://github.com/JeffreySarnoff/RollingFunctions.jl/commit/f9588d2ed5c60fcfbde65284710de752a6f1cf64#commitcomment-87862675
Description: Roll a window over data; apply a function over the window.

This is not BREAKING -- afaik ..
The change that it believes to be breaking (again, afaik) is the removal of an unused parameter from the where clause in a few functions.  This does not alter the implemented function calls.
If this change triggers the breaking label, let this merge.
[noblock]

This was marked breaking because it is a "minor" version number bump for a pre-1.0 package. That is semantically breaking according to https://pkgdocs.julialang.org/v1/compatibility/#compat-pre-1.0.
Note: Registrator just looks at the version numbers, not the code. No automatic detection of breakage :)

In other words, if the package is not yet version 1.0, to communicate non-breakingness, use the patch version number only.


add trigger kind "time" in rolling_file

I add the trigger kind "time" in rolling_file. It can be set with limit like 5second, 10minute, 1day, 3weeks...It may be able to solve the Issue #235. I referred to #139  and thank for @SSebo

I modified the trigger logic again. Now, assuming the trigger time is 2 days, a new log file will be generated at 0:00 every other day, even though the first trigger may be less than 2 days. The same applies to others.
it can achieve cover the feature of #295

With time based trigger you might want to add the pattern for the window to allow the time and date the file was created.

@Dirreke mention me here when ready for a new review @bconn98 big shoutout for the assist and driving this forward.

Doc wasn't competed yet.

I added a config item in roller called is_post_process(I haven't figured out the name yet) to detemine if the file should roll pre or post getting written.

@estk @bconn98

Codecov Report
Attention: 88 lines in your changes are missing coverage. Please review.

Comparison is base (97c1347) 61.23% compared to head (e210ab7) 58.42%.

Files
Patch %
Lines

...ppend/rolling_file/policy/compound/trigger/time.rs
24.44%
68 Missing :warning:

src/append/rolling_file/mod.rs
0.00%
17 Missing :warning:

src/append/rolling_file/policy/compound/mod.rs
0.00%
2 Missing :warning:

...ppend/rolling_file/policy/compound/trigger/size.rs
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #296      +/-   ##
==========================================
- Coverage   61.23%   58.42%   -2.82%
==========================================
  Files          23       24       +1
  Lines        1406     1513     +107
==========================================
+ Hits          861      884      +23
- Misses        545      629      +84

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Codecov Report
Attention: 88 lines in your changes are missing coverage. Please review.

Comparison is base (97c1347) 61.23% compared to head (f358419) 58.42%.

Files	Patch %	Lines
...ppend/rolling_file/policy/compound/trigger/time.rs	24.44%	68 Missing ⚠
src/append/rolling_file/mod.rs	0.00%	17 Missing ⚠
src/append/rolling_file/policy/compound/mod.rs	0.00%	2 Missing ⚠
...ppend/rolling_file/policy/compound/trigger/size.rs	0.00%	1 Missing ⚠
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
☔ View full report in Codecov by Sentry. 📢 Have feedback on the report? Share it here.

It's a little difficult to add test about these code because it's related to time. For example, I cannot verify if the file will be triggered after a month or a year

@Dirreke The tests/code can be designed such that policy checks do not manually check each option (hour/day/month/year). It can and should be agnostic to this.

@Dirreke have a look at https://crates.io/crates/mock_instant

@estk @bconn98

Also, great job bringing the total testing percentage up!

@Dirreke Take a look at this duration parser

Ah yeah. My bad

@Dirreke I reached out to @estk yesterday to try and get PRs moving again. However, I took some time to look at log4j and how they've implemented the time based roller (since this project is based on log4j). Their implementation is rolling at the start/end of a day/month/year. I think if we kept the same model that would make the code a lot more simple and straightforward to devs. Instead of rolling either at the top of said unit or after X time units have passed. It also becomes more deterministic. We can keep the second/minute/hour portions that you included though. Thoughts?

Log4rs is modeled after log4j originally, hence why @estk suggested renaming the configuration field to be interval. I feel like that change should definitely be made. The more and more I think about it, I'd like to align with how log4j has it defined.

My 2 cents, if there is an existing implementation in log4j and it's not very difficult, error prone or has some other issue then would be good to stick close to that so that it's not unnecessarily surprising to new users coming over from log4j. I am also not very personally familiar with log4j hence my inability to comment more specifically.

Would be nice if we knew someone who was and had actually used this feature in log4j as that would be a much more useful opinion on the matter but I don't know anyone will still ask around in case.

I’ll take a look later this afternoon if no one beats me to it.

@Dirreke I don't see any issue with that combination

We already have a file roller

I'm good with both of those trade offs

I'll re-review tomorrow

@Dirreke, hey the MSRV needs to get bumped to support the toml crate. Here is a commit making the same change.


Resizing the editor causes the current cursor position to leave the view

Your idea:
Noted by someone in the DOMT discord, when you resize the editor pane, the current cursor position moves out of the editor visual viewport.  In smaller brews, it's not much of a problem.  But as the brew length increases, and the 'thumb' of the scrollbar gets smaller, even a little bit of resizing can cause a user to lose their place.
In my opinion, the ideal is keep the current position in the visual viewport constant.  This would mean that when you resize you can then continue editing as if you had not done the resize at all.

They didn't specifically refer to the cursor position though, only the "current position". I would suggest that instead of anchoring on the current cursor position, we anchor on the first visible line.
This way, someone might scroll downwards, see a table that's a bit awkward to read, adjust the editor pane width, and not have the editor viewport rest back to wherever they happened to have left the cursor.
If I want to jump to where I left the cursor I usually just press one of the cursor keys.

I can see it both ways.
Let's say I'm editing at full width, and the cursor is in view.  I resize the editor and make it narrower.  This can send my cursor down 3 or 4 full scrolls depending on the difference full width and new width.  It'd be nice to not lose sight of the cursor.
Conversely, like you say, if i'm not necessarily actively making edits/typing, I might just be scrolling through the editor and notice a markdown table that I want to see in full width.  Resizing the editor shouldn't jump me back up to the random spot my cursor is at.
I think that you are right:  jumping to the random spot your cursor is at in this instance is worse than having to scroll down a few times to a predictable cursor position as in the first example.
Perhaps the best of both worlds (at the expense of computation) is to first determine if the cursor is currently in view in the editor--- if it is, anchor to the cursor position.  If it is not, anchor to the first line.  Maybe this causes more uncertainty, but maybe it's a small enough difference that it's not jarring.

That second case is very similar in effect to the first case. At worst, the first visible line might get scrolled off.
More importantly though .. where would you position the current cursor in the editor viewport? If the wrapping changes such that it would fall below the fold, will you hoist it to be on the last visible line, or the first, or maintain the relative viewport line. The latter would be extra tricky if the brew source line the cursor is within is actually very long and thus might not fully fit within the viewport.

determine if the cursor is currently in view

I think what is meant here is "if the cursor is currently in view at the start of the editor resizing process". We'd have to pick up the transition of isDragging to true in splitPane.jsx, capture the current cursor position and first and last visible lines at that time.
If cursor is visible at drag start, then perform cm.scrollIntoView(null) on completion, which brings to cursor to the visible editor window. If cursors is not visible at drag start, perform cm.scrollIntoView(line) to move a specific line into view - possibly the visible center of the editor window?
In both cases, the scrollIntoView function would need to be inserted on line 364 of codeEditor.jsx, in the updateSize function. The only real difficulty comes in determining the value of the parameter to pass to that function.


🔧 [Refactor] Spinner everywhere

🔧 Refactor ticket

We now have a global spinner component. We should use it.

Can we attach it to the API calls?
Where are loading times?

@Mogge Is the Spinner everywhere its needed?

@ulfgebhardt I suggest to close this issue and open new issues when we find something where we need a spinner


Add IsString (Hash BlockHeader)

Hi there :wave:
This PR adds the instance IsString (Hash BlockHeader) following the same pattern of many other keys in Cardano.Api. The use case is simple, being able to refer to a specific point on the chain. E.g.
recentPoint :: ChainPoint
recentPoint = ChainPoint (SlotNo 53427524) "5e2bde4e504a9888a4f218dafc79a7619083f97d48684fcdba9dc78190df8f99"

I am also changing the Show instance, as it seems to be the common pattern.

Replaced by #3619


The "depthFrom" property won't work if update on save is true

I have written the settings for the markdown file that the table of content code is the following.
<!-- TOC depthFrom:2 -->

- [LeetCode](#leetcode)
  - [Problems](#problems)
    - [Algorithms](#algorithms)
  - [License](#license)

<!-- /TOC -->

However, the depthFrom property doesn't work with "Update on save". I have updated it manually and it can generate the right table of content, but after I pressed the Ctrl + s  keys, the table of content would be automatically updated to the former version(with heading 1).

I have the same problem. Have you tried debugging it by any chance?

I can confirm this problem, also for depthTo - updateOnSave seems to ignore file specific settings.

I'v played around with the plugin settings and updateOnSave seems to ignore the settings at all - wether they're defined in the settings.json or in the md file which is saved.

I have the same problem. Have you tried debugging it by any chance?

+1

Can't reproduce after #92 is applied so I'm assuming it's fixed, can you try it?


incompatibility with tagbar?

simple init.vim
call plug#begin('.')
Plug 'mhinz/vim-startify'
Plug 'nhooyr/tagbar'
call plug#end()

Run neovim with that init.vim and then immediately run :TagbarToggle.
Error detected while processing function <SNR>29_QuitIfOnlyWindow[27]..<SNR>29_goto_win:
line    8:
E16: Invalid range: 2wincmd w

Setting
let g:tagbar_autofocus = 1

Lets you open tagbar, but the same error when closing it.

I don't see how this is an Startify issue, but I think this PR is related: https://github.com/majutsushi/tagbar/pull/311


Adding Simple Export

PR is updated with two fields
FirstDecisionPointReached_On
FirstDecisionPointReachedOn_LocalTime
Now we are saving the localTimeZone of portal user in the database

As per discussion updated the date format to ISO


[Icon Request] Support for RDF-Turtle Syntax *.ttl (also preferably for all other RDF-Syntaxes)

[x] I'm sure this issue is not a duplicate.

[x] I'm submitting an icon request:

Type: extension
Icon Name: turtle
Sample original Icon:
Extensions: ttl, rdf, n3, rdfa, sparql, ...

Language Extensions:

More info: https://www.w3.org/RDF/icons/, http://cygri.github.io/rdf-logos/

A flat version of the icon would probably be more in line with the overall vs-code design.

I think it's better to support it via https://marketplace.visualstudio.com/items?itemName=stardog-union.stardog-rdf-grammars

For a brief moment I though we had that icon on our list, seems like I saw that one somewhere before but couldn't remember 😛

@KingDarBoja Same.


How to Maintain a Conversation Without Re-Uploading Files?

Lately, while using the tool, I've noticed that when I have multiple rows/columns in one or more CSV files, the AI asks me some questions to ensure it works effectively, without directly performing analysis. However, here's the challenge: I can't continue the conversation with the AI after answering its questions. Each time, it starts a new conversation upon re-uploading a file. How can I maintain the continuity of the previous conversation? Thank you

Would love to have this feature as well.

Same here. This example did not keep the conversation going. https://github.com/shroominic/codeinterpreter-api/blob/main/examples/chat_history_backend.py
AI says that the message is incomplete when the prompt is "Now for the last 5 years", even though session_id was given to the CodeInterpreterSession

As long as you have the same session open without closing you maintain storage.
Start the session - do conversations - close the session


[feature request] add support for LCOV format

proposal
add support for lcov format
use case
dart and flutter output code coverage results in lcov

oh... I see

https://github.com/irongut/CodeCoverageSummary/issues/321


Files for deploying to platform

I'm trying to deploy the app to the analytics platform.  This may or may not be all that's required but in order to test that, I think, these files need to be on the master branch.

Here goes.


Do we need to put jars in WEB-INF/lib?

Per https://cloud.google.com/appengine/docs/java/runtime
App Engine knows to use the Java runtime environment for your application when you use the AppCfg tool from the Java SDK to upload the app.
The App Engine API for Java is represented by the appengine-api-*.jar included with the SDK (where * represents the version of the API and the SDK). You select the version of the API your application uses by including this JAR in the application's WEB-INF/lib/ directory. If a new version of the Java runtime environment is released that introduces changes that are not compatible with existing apps, that environment will have a new version number. Your application will continue to use the previous version until you replace the JAR with the new version (from a newer SDK) and re-upload the app.
So:

Do we need to put the appengine-api-*.jar in WEB-INF/lib with the new project wizard or does gcloud do something different?
Do we need to make sure we rename this jar to include the version number?

On Thu, Aug 11, 2016 at 12:20 PM, Elliotte Rusty Harold <
<EMAIL_ADDRESS>wrote:

Per https://cloud.google.com/appengine/docs/java/runtime
App Engine knows to use the Java runtime environment for your application
when you use the AppCfg tool from the Java SDK to upload the app.
The App Engine API for Java is represented by the appengine-api-*.jar
included with the SDK (where * represents the version of the API and the
SDK). You select the version of the API your application uses by including
this JAR in the application's WEB-INF/lib/ directory. If a new version of
the Java runtime environment is released that introduces changes that are
not compatible with existing apps, that environment will have a new version
number. Your application will continue to use the previous version until
you replace the JAR with the new version (from a newer SDK) and re-upload
the app.
So:

Do we need to put the appengine-api-*.jar in WEB-INF/lib with the
enw project wizard or does gcloud do something different?

I think you need it for the dev appserver. Staging strips out the library
since it's provided at runtime on app-engine.

Do we need to make sure we rename this to include the version
number?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-eclipse-tools/issues/550,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5Hb77CLn6DERtwWMStned3tP3i0M8ks5qe0vkgaJpZM4JiS6F
.

This is already handled by the WTP publish step, which runs as part of the Run and Debug launches.
$ find .metadata/.plugins/org.eclipse.wst.server.core/tmp0/testapp -type f
.metadata/.plugins/org.eclipse.wst.server.core/tmp0/testapp/index.html
.metadata/.plugins/org.eclipse.wst.server.core/tmp0/testapp/META-INF/MANIFEST.MF
.metadata/.plugins/org.eclipse.wst.server.core/tmp0/testapp/WEB-INF/appengine-web.xml
.metadata/.plugins/org.eclipse.wst.server.core/tmp0/testapp/WEB-INF/classes/HelloAppEngine.class
.metadata/.plugins/org.eclipse.wst.server.core/tmp0/testapp/WEB-INF/lib/appengine-api-labs.jar
.metadata/.plugins/org.eclipse.wst.server.core/tmp0/testapp/WEB-INF/lib/appengine-api.jar
.metadata/.plugins/org.eclipse.wst.server.core/tmp0/testapp/WEB-INF/lib/appengine-jsr107cache-0.0.0.jar
.metadata/.plugins/org.eclipse.wst.server.core/tmp0/testapp/WEB-INF/lib/jsr107cache-1.1.jar
.metadata/.plugins/org.eclipse.wst.server.core/tmp0/testapp/WEB-INF/web.xml

(appengine-api-stubs.jar isn't present as I wasn't running with #547)

api lab should not be there by default, as it is a user decision to play
with experimental lab apis (not recommended as not stable, only for gurus
wanting to try potential new stuff).
jsr107: same: only if it make sense for the developer. Remove it for
default projects.
the api jar is mandatory when you use GAE apis. If you don't you do not
need it. It is used local by the devappserver, for local runs and stripped
out in the deploy staging phase, as the server side will replace the one
you provide (potentially an old version) with the latest version in
standard.
On Fri, Aug 12, 2016 at 6:47 AM, Brian de Alwis<EMAIL_ADDRESS>wrote:

(appengine-api-stubs.jar isn't present as I wasn't running with #547
https://github.com/GoogleCloudPlatform/gcloud-eclipse-tools/pull/547)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-eclipse-tools/issues/550#issuecomment-239450609,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE4zZLmAcuL7OUTL2ZRlE_WAONjSfHEks5qfHl8gaJpZM4JiS6F
.

appengine-api-stubs is not for users, but local emulation of APIs in the
local java devserver.
On Fri, Aug 12, 2016 at 7:25 AM, Ludovic Champenois <
<EMAIL_ADDRESS>wrote:

api lab should not be there by default, as it is a user decision to play
with experimental lab apis (not recommended as not stable, only for gurus
wanting to try potential new stuff).
jsr107: same: only if it make sense for the developer. Remove it for
default projects.
the api jar is mandatory when you use GAE apis. If you don't you do not
need it. It is used local by the devappserver, for local runs and stripped
out in the deploy staging phase, as the server side will replace the one
you provide (potentially an old version) with the latest version in
standard.
On Fri, Aug 12, 2016 at 6:47 AM, Brian de Alwis<EMAIL_ADDRESS>wrote:

(appengine-api-stubs.jar isn't present as I wasn't running with #547
https://github.com/GoogleCloudPlatform/gcloud-eclipse-tools/pull/547)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-eclipse-tools/issues/550#issuecomment-239450609,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE4zZLmAcuL7OUTL2ZRlE_WAONjSfHEks5qfHl8gaJpZM4JiS6F
.

Do we need to update the "Selecting Java Runtime" section of  https://cloud.google.com/appengine/docs/java/runtime? It specifically says that " You select the version of the API your application uses by including this JAR in the application's WEB-INF/lib/ directory." Is this no longer true?


How to limit the numer of liked media per users in like_users.py

Please follow the guide below

Issues submitted without this template format will be ignored.
You will be asked some questions and requested to provide some information, please read them carefully and answer completely.
Put an x into all the boxes [ ] relevant to your issue (like so [x]).
Use the Preview tab to see how your issue will actually look like.

Before submitting an issue, make sure you have:

[ ] Updated to the latest version
[ ] Read the README and docs
[ ] Searched the bugtracker for similar issues including closed ones

Purpose of your issue?

[ ] Bug report (encountered problems/errors)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections requests more details for particular types of issues, you can remove any section (the contents between the triple ---) not applicable to your issue.

For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.
Paste the output of python -V here:
Code:
# Example code that will produce the error reported
from instabot import Bot

bot = Bot()
bot.login(username="user", password="pass")
followers = bot.get_user_followers(bot.user_id)

Error/Debug Log:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero

Describe your issue
I'm trying to like user's media through like_users.py.
It works, but likes too many media per each users. It likes 18 medias per user, 15 or so. I would like to limit to like only 3 medias per user.
Thanks!

this was taken care of in #1079

SOLVED!


minium HW required

What are the minimum hardware requirements?
I have a raspberry PI 3, orange pc, Teensy 3.2 and a kinect sensor v1.
Do you recommend using ROS2 or ROS1?
Thank you

Hi, this only runs on ROS2

Where can I find a guide to compile ROS2 in debian ARM 32 bit?
Thank you


emqttd plugin cannot include_lib("emqttd/include/emqttd.hrl")

This problem is caused by rebar that cannot find emqttd.hrl in lib_dirs when building plugins/*.

fix rebar.config:

{lib_dirs, ["../"]}.

add ebin/.placeholder file

Merged to 'master' branch: https://github.com/emqtt/emqttd/pull/234