Added errors length check.

By default MongoId returns empty errors array for any field. That's results in creation of empty error divs.

Thanks for the pull request. Should be merged in and just released a new version of the gem (0.3.4) with the changes! Let me know if everything works.


Use System.IO.Abstractions in TusDiskStore

Hello!
I wanted to ask for a refactor in TusDiskStore.
More specifically in InternalFileRep, all file operations are handled there but it is using the File static class.
Using that approach we cannot inject a custom FileSystem (e.g.: a mock file system) for testing purposes.
The proposal is to refactor that code and use the interface IFileSystem provided by the package System.IO.Abstractions. With this approach we still support the current implementation and we open the possibility to inject a custom file system.
Thoughts?

I'm not testing any internals of TusDiskStore, but I have some tests that involves using the TUS endpoint for creating a file, but since in our code we use the abstraction IFileSystem with a MockFileSystem implementation we have a problem because TUS writes files using the File static class and the files that are created by TUS are not visible in the MockFileSystem. They are basically in different file systems, makes sense?

@sant11h Excuse the late reply, life got in the way. I understand what you are trying to achieve, and I would consider adding support for this if the library you are using were an official package from Microsoft. The problem now is that I am adding a dependency on a library that I do not control, which locks me into using this library indefinitely. This makes it more challenging to develop the disk store and also opens up potential security issues. The correct way to test tusdotnet is to abstract away the store entirely, similar to how you would abstract away the database connection completely rather than replacing the TCP/IP layer within the connection (a somewhat flawed comparison but generally accurate).
I would recommend you look at the code linked from my previous post or check out the InMemory store available at https://github.com/tusdotnet/tusdotnet/blob/master/Source/tusdotnet.benchmark/InMemoryStore.cs.


Dry test gma

Hello @gmartinonQM! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file setup.py:

Line 14:80: E501 line too long (88 > 79 characters)


[SPARK-46069][SQL][FOLLOWUP] Make sure the cast expression is date type when unwrap timestamp type to date type

What changes were proposed in this pull request?
A followup of https://github.com/apache/spark/pull/43982, make sure the cast expression is date type when unwrap timestamp type to date type?
Why are the changes needed?
A followup.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Exists UT
Was this patch authored or co-authored using generative AI tooling?
No

Hi, @wankunde .

The follow-up should not reuse the original PR title. Please use a proper PR title for your code itself.

- Cast(fromExp, _, timeZoneId, evalMode), ts @ Literal(value, _))
+ Cast(fromExp: DateType, _, timeZoneId, evalMode), ts @ Literal(value, _))

Could you re-trigger the CIs or provide the CI link?

Thanks for your remind, update the PR title and re-trigger the CI, thanks

Oh, @wankunde . It's a compilation failure.
[error] /home/runner/work/spark/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/UnwrapCastInBinaryComparison.scala:142:21: fruitless type test: a value of type org.apache.spark.sql.catalyst.expressions.Expression cannot also be a org.apache.spark.sql.types.DateType

@wankunde Please fix the PR description.


Problem Pushing APP from CLII dont know how to create a Space from CLI

I am stuck in this part of the tutorial:

I dont understand why when I introduce the last terminal command to finish the whole thing, I get this message:
ERROR
_No se ha establecido ninguna organización ni espacio como destino. Utilice 'ibmcloud target -o ORG -s SPACE' para establecer una organización y espacio como destino.
It says ORG and SPACE have not been defined.
The problem is: I dont know how to create a Space from CLI, as the documentation I have seen online dont help.
Any recommendation would be of great help, thank you.
Carlos

hello?

You'll have to create org and space in your IBM cloud console first. Or follow the process of creating via IBM CLI.

From: cartloslopezjuan<EMAIL_ADDRESS>Sent: Wednesday, June 24, 2020 10:13:18 AM
To: Call-for-Code/Solution-Starter-Kit-Communication-2020<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [Call-for-Code/Solution-Starter-Kit-Communication-2020] Problem Pushing APP from CLII dont know how to create a Space from CLI (#41)
hello?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Call-for-Code/Solution-Starter-Kit-Communication-2020/issues/41#issuecomment-648699850, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOTUVMFK6DJVK4ZTOYH5GE3RYG7S5ANCNFSM4N5G5MMA.

You'll have to create org and space in your IBM cloud console first. Or follow the process of creating via IBM CLI.
…
________________________________ From: cartloslopezjuan<EMAIL_ADDRESS>Sent: Wednesday, June 24, 2020 10:13:18 AM To: Call-for-Code/Solution-Starter-Kit-Communication-2020<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [Call-for-Code/Solution-Starter-Kit-Communication-2020] Problem Pushing APP from CLII dont know how to create a Space from CLI (#41) hello? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<#41 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOTUVMFK6DJVK4ZTOYH5GE3RYG7S5ANCNFSM4N5G5MMA.

Thank you. I am using IBM Cli actually as the tutorial states.
The problem is that I creted the organization through console (OK) but cant create the SPACE. Have you got any instructions or guide on it?
I just found this in internet:
http://cli.cloudfoundry.org/en-US/cf/create-space.html
But these commands do not work, or I dont know how to use

If you've created the org and space. You need to target the org from the CLI

From: cartloslopezjuan<EMAIL_ADDRESS>Sent: Wednesday, June 24, 2020 1:57:39 PM
To: Call-for-Code/Solution-Starter-Kit-Communication-2020<EMAIL_ADDRESS>Cc: InnoOkeke<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [Call-for-Code/Solution-Starter-Kit-Communication-2020] Problem Pushing APP from CLII dont know how to create a Space from CLI (#41)
Thank you. I am using IBM Cli actually as the tutorial states.
The problem is that I creted the organization through console (OK) but cant create the SPACE. Have you got any instructions or guide on it?
I just found this in internet:
http://cli.cloudfoundry.org/en-US/cf/create-space.html
But these commands do not work, or I dont know how to use
[image]https://user-images.githubusercontent.com/66802399/85560499-feec4480-b62a-11ea-83b7-8b5b5772494b.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Call-for-Code/Solution-Starter-Kit-Communication-2020/issues/41#issuecomment-648803143, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOTUVMDCLJUIELWWBKKSZCTRYHZ4HANCNFSM4N5G5MMA.

No I could not create the SPACE.
I need to know the exact commands to do this please.

https://cloud.ibm.com/docs/cloud-foundry?topic=cloud-foundry-create_orgs
Check this link.

From: cartloslopezjuan<EMAIL_ADDRESS>Sent: Thursday, June 25, 2020 12:22:48 PM
To: Call-for-Code/Solution-Starter-Kit-Communication-2020<EMAIL_ADDRESS>Cc: InnoOkeke<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [Call-for-Code/Solution-Starter-Kit-Communication-2020] Problem Pushing APP from CLII dont know how to create a Space from CLI (#41)
Reopened #41https://github.com/Call-for-Code/Solution-Starter-Kit-Communication-2020/issues/41.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Call-for-Code/Solution-Starter-Kit-Communication-2020/issues/41#event-3481924878, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOTUVMA4ZHA4C2WO4Y6INVTRYMXQRANCNFSM4N5G5MMA.

Great, now I completed the push.
Now both services (Cloud Foundry App and Watson Assistant are running in IBM CLoud).
BUT I FOUND A NEW PROBLEM:

How can I solve it? Is it a problem of conextion between Cloud Foundry app and Watson Assistant?

No. Refresh the page. It should work properly.

From: cartloslopezjuan<EMAIL_ADDRESS>Sent: Thursday, June 25, 2020 1:00:09 PM
To: Call-for-Code/Solution-Starter-Kit-Communication-2020<EMAIL_ADDRESS>Cc: InnoOkeke<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [Call-for-Code/Solution-Starter-Kit-Communication-2020] Problem Pushing APP from CLII dont know how to create a Space from CLI (#41)
Great, now I completed the push.
Now both services (Cloud Foundry App and Watson Assistant are running in IBM CLoud).
BUT I FOUND A NEW PROBLEM:
[image]https://user-images.githubusercontent.com/66802399/85715783-17706380-b6ec-11ea-927d-301e532c078a.png
How can I solve it? Is it a problem of conextion between Cloud Foundry app and Watson Assistant?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Call-for-Code/Solution-Starter-Kit-Communication-2020/issues/41#issuecomment-649497342, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOTUVMC36YGIEMQMIDOYMILRYM34TANCNFSM4N5G5MMA.


[Feature] configuration option: only trace when x-cloud-trace-context is set

When working in cross-service tracing contexts, I would like to define policies and filters at the ingress service and not have to also set the same url filters on each of the microservices. It would be nice if I could set all but the public trace server to require the header to be set, and then I could rate limit and filter just on the public microservice.
Since the x-cloud-trace-context is used for tracing spans, would a filter based on the header being set or not be easy to add?
https://github.com/googleapis/cloud-trace-nodejs/blob/f8b74e6ec0af23adb531ff48aa18ad1d89703834/doc/trace-api.md#cross-service-trace-contexts

Hi @6utt3rfly! Thanks for opening the issue. Today, we don't use the existence of the header as a mechanism to control tracing because headers are provided by the client which is untrusted on publicly exposed services. For private micro-services your suggestion makes sense and I'd be +1 on a config option user can explicitly enable.
Do you want to send a PR for this 😀?

Hi @6utt3rfly -- we've fixed this in 3.3.0. You can now pass the following options for non-public services to force sampling decisions to only be made on the first service:
{
  samplingRate: 0,
  contextHeaderBehavior: 'require'
}

Please let us know if there are additional issues that need to be addressed!

That is great @kjin ! I was going to try creating a PR this past weekend but I'm glad you beat me to it :-) I'll try to implement it this week and let you know if I have any problems. Thank you!


Integrating Hashids with FastEndpoints + Swagger

I've been trying to find a clean way to integrate Hashids generation with FastEndpoints for a cleaner solution.
I've managed to get around the binding issues by adding [ModelBinder(typeof(HashidsModelBinder))] (route) or [JsonConverter(typeof(HashidsJsonConverter))] (body) to all the hashed properties with using the following setup
app.UseFastEndpoints(c =>
{
    c.Serializer.Options.Converters.Add(new DependencyInjectionJsonConverter(app.Services.GetService<IHttpContextAccessor>(), app.Services.GetService<IServiceProvider>()));
    c.Binding.ValueParserWhen(prop =>
    {
        var att = prop.GetCustomAttributes(typeof(ModelBinderAttribute), true).FirstOrDefault() as ModelBinderAttribute;
        if (att?.BinderType == typeof(HashidsModelBinder))
            return true;

        return false;
    }, (obj, type) =>
    {
        var serviceProvider = app.Services.GetService<IServiceProvider>()!.GetService(typeof(IServiceProvider)) as IServiceProvider;
        var service = serviceProvider!.GetService<IHashids>();
        return new ParseResult(service != null, service?.Decode(obj!.ToString()).FirstOrDefault());
    });
});

Not the cleanest, not the worse, at least I can use an attribute to mark the properties that needs a custom converter.
Any suggestions on how to make this cleaner?
BUT the main issue is with the swagger generation:
app.UseSwaggerGen(openApiConfig =>
{
    openApiConfig.PostProcess = (document, request) =>
    {
        foreach (var operation in document.Operations)
        {
            var operationParameters = operation.Operation.Parameters
                .Where(_ => _.Name.EndsWith("Id", StringComparison.InvariantCultureIgnoreCase) && _.ActualSchema.Type == JsonObjectType.Integer);
            foreach (var parameter in operationParameters)
            {
                parameter.ActualSchema.Format = string.Empty;
                parameter.ActualSchema.Type = JsonObjectType.String;
            }
        }

        foreach (var definition in document.Definitions)
        {
            var schema = definition.Value;
            var idProperties = schema.Properties.Values.Where(_ => _.Name.EndsWith("Id", StringComparison.InvariantCultureIgnoreCase) && _.Type == JsonObjectType.Integer);
            foreach (var jsonSchemaProperty in idProperties)
            {
                jsonSchemaProperty.Format = string.Empty;
                jsonSchemaProperty.Type = JsonObjectType.String;
            }
        }
    };
}, _ => {});

There is no way to check for attributes at this point. Is there something else I can use to accomplish this in a cleaner way?
For the controllers, the clean approach would be
services.AddSwaggerGen(c => c.OperationFilter<HashidsOperationFilter>())
and
public class HashidsOperationFilter : IOperationFilter
{
    public void Apply(OpenApiOperation operation, OperationFilterContext context)
    {
        var hashids = context
            .ApiDescription
            .ParameterDescriptions
            .Where(x => x.ModelMetadata.BinderType == typeof(HashidsModelBinder))
            .ToDictionary(d => d.Name, d => d);

        foreach (var parameter in operation.Parameters)
        {
            if (hashids.ContainsKey(parameter.Name))
            {
                parameter.Schema.Format = string.Empty;
                parameter.Schema.Type = "string";
            }
        }

        foreach (var schema in context.SchemaRepository.Schemas.Values)
        {
            foreach (var property in schema.Properties)
            {
                if (hashids.ContainsKey(property.Key))
                {
                    property.Value.Format = string.Empty;
                    property.Value.Type = "string";
                }
            }
        }
    }
}

Is there something similar that I've missed in the swagger library built to support FastEndpoints?

Also, when using c.Binding.ValueParserWhen even though the full PropertyInfo is used as a parameter, the converter is cached per propInfo.PropertyType, not per PropertyInfo, thus rendering this useless, this might optimize the binding part a bit, but its very error prone and misleading

I think your best bet would be to create a custom type that encapsulates a HashId, something like the following:
readonly struct HashId
{
    static readonly Hashids _hid = new("salt");

    readonly int _int;
    readonly string _hash;

    internal HashId(int value)
    {
        _int = value;
        _hash = _hid.Encode(value);
    }

    internal HashId(string hash)
    {
        _hash = hash;
        _int = _hid.DecodeSingle(hash);
    }

    public static implicit operator int(HashId hashId)
        => hashId._int;

    public static implicit operator HashId(int value)
        => new(value);

    public static implicit operator HashId(string hash)
        => new(hash);

    public static implicit operator string(HashId hashId)
        => hashId._hash;
}

That way you don't need to mess around with .Binding.ValueParserWhen which btw is an undocumented method with a warning:
https://github.com/FastEndpoints/FastEndpoints/blob/015ede860e1a4e74fcb4f478b4701ec18e62f307/Src/Library/Config/BindingOptions.cs#L131-L139
This way, you can just add a TryParse() method to the struct in order to support binding from route/query params, as well as write a HashIdConverter : JsonConverter<HashId> for STJ support.
For swagger support, you can write a custom operation processor to cover your custom struct type as well.
Obviously there should be mapping to and from DTOs to data entities when there's a mismatch between the two worlds like this.


Update object-behaviour-relation.md

"Invokes It's Delegate" to "Invokes Its Delegate"

This pull request is included in version 12.1.6
The release is available to download on GitHub release or in the MLAPI Installer.


Theme passed to draw.io ignored by plugin - black text on a black background

After successfully importing a diagram into draw.io, and using the dark theme, draw.io renders the image as follows - white text on a black background:

After clicking "save" and returning to the plugin in grafana, the resulting image is rendered as follows, using black text on a black background:

It looks like the plugin doesn't seem to apply the same theme that was passed to draw.io (that's a guess).

Clearer example:

Yes, it's a bug from draw.io, the color of label is not in xml, try Light theme instead to resolve it

All themes have the same effect, they seem to work fine in draw.io, but the plugin renders all themes on the same black background. I have not yet been able to get any text to be visible from any of the drawings.

Try to force text to white


Fluent-Bit: Add possibility to ignore logs from kube-system namespace

What this PR does / why we need it:
The containers in the kube-system namespace can create large amounts of log files which might not necessarily send to the central log server e.g. elastic. This PR adds the possibility to ignore all logs from the kube-system namespace

/assign @bencer

/lgtm
/approve
/ok-to-test

/assign @seanknox

/assign @rjkernick

/assign @seanknox

@Jnig Please rebase and add your DCO. See https://github.com/helm/charts/pull/6472/checks?check_run_id=27899982


Adding Nexus3 Plugin separately.

As discussed. Just the Nexus3 Plugin - based on Siamak's Nexus repository.

@wkulhanek I've added some fixes to your plugin. But thank you for your contributions.


Under project thumbnails, have project name AND a date range

Could also have other metadata (e.g., lead grad student) but this could get messy. I think the date range in light gray (like we have in the second row of text under video thumbnails) would look nice.

Done.


Adding RSS Feed to Blog Page

Please add an RSS feed to the Blog section of the website.
This looks promising https://github.com/jekyll/jekyll-feed

Added.


Fix typo in comment for #plus procedure

I just corrected a small math error in the comment section for the plus() procedure

thx


Taylor-Styling sign up tailwind

What type of PR is this? (check all applicable)

[ ] Feature
[ ] Refactor
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update
[x] Other (please specify here: adding in Tailwind Styling to Signup Form

Description of what this Pull Request does

This PR will replace some of the vanilla CSS with Tailwind CSS.
The design will change as the design files come in from Irene.
Only Signup Form on Signup page has been updated.

Related Tickets & Documents

Closes # https://github.com/AritDeveloperCircle/findyourpeople/issues/85
Related Issues: https://github.com/AritDeveloperCircle/findyourpeople/issues/31

QA Instructions, Screenshots, Record

Added/updated tests?

[ ] Yes
[ ] Not Yet, and here is why: explain here
[ ] I need help with tests
[x] No, and here is why: No testing is needed

With Irene's designs in I'm going to style the entire thing on a different branch


eas update fails with error: [GraphQL] Metadata may only be queried for 1400 assets at a time

Summary
When I run eas update --branch preview --message "Testing EAS 1" I get the following error:
[expo-cli] Export was successful. Your exported files can be found in dist
✔ Built bundle!
✖ Failed to upload assets
    CombinedError: [GraphQL] Metadata may only be queried for 1400 assets at a time.

I do have a dependency that include a large set of images. However, with the classic build system I was able to publish it using expo publish. These are the number of assets after running the above eas update command.
ls dist/assets | wc -l
    2192

Managed or bare?
Managed
Environment
npx expo-env-info

  expo-env-info 1.0.5 environment info:
    System:
      OS: macOS 12.5
      Shell: 5.8.1 - /bin/zsh
    Binaries:
      Node: 16.14.2 - /usr/local/bin/node
      Yarn: 1.22.19 - ~/.yarn/bin/yarn
      npm: 8.15.0 - /usr/local/bin/npm
      Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
    Managers:
      CocoaPods: 1.11.3 - /usr/local/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
      Android SDK:
        API Levels: 28, 29, 30, 31, 32
        Build Tools: 28.0.3, 30.0.2, 30.0.3, 32.0.0, 32.1.0, 33.0.0
        System Images: android-30 | Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom, android-30 | Google Play Intel x86 Atom_64, android-31 | Intel x86 Atom_64
    IDEs:
      Android Studio: 2021.2 AI-212.5712.43.2112.8609683
      Xcode: 13.3.1/13E500a - /usr/bin/xcodebuild
    npmPackages:
      @expo/webpack-config: ^0.17.2 => 0.17.2
      babel-preset-expo: ~9.2.0 => 9.2.0
      expo: ^46.0.6 => 46.0.6
      react: 18.0.0 => 18.0.0
      react-dom: 18.0.0 => 18.0.0
      react-native: 0.69.4 => 0.69.4
      react-native-web: ~0.18.7 => 0.18.7
    npmGlobalPackages:
      eas-cli: 0.60.0
      expo-cli: 6.0.2
    Expo Workflow: managed

expo doctor
🎉 Didn't find any issues with the project!

Error output
output.log
Reproducible demo or steps to reproduce from a blank project
Not easily doable to due to needing a dependency with large set of assets.

did you find a solution?

I have a react-native game in development, and i cannot use eas update because of this restriction. I used expo publish just fine before upgrading to expo 46 and transitioning to eas update.

Same problem here


New version: Google.GoogleDrive version <IP_ADDRESS>

Pull request has been created with komac v2.0.3 :rocket:
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run


bands: tested with cp2k 7.1 and 8.2, fixed possible issue with 8.1

CP2K ~8.1 does not print weights for each KP, hence the selection of values could be wrong, make it more robust. Fixes #65

found the issue, fixed it, see comments

TL;DR the version provided with Ubuntu terminates with a Floating Point Exception, not much to be done about it.

TL;DR the version provided with Ubuntu terminates with a Floating Point Exception, not much to be done about it.

Yeah, that is why I proposed earlier to not worry about it. I think we can solve the issue by installing cp2k from conda-forge.
I can do it in the next PR.


SonarAnalyzer.CSharp <IP_ADDRESS>92

Type: Incomplete
Summary:
SonarAnalyzer.CSharp <IP_ADDRESS>92
Details:
Declaring LGPLv3.0 or later
Resolution:
NuGet license link is broken
http://vs.sonarlint.org/
Source location, no tagged version. Commit date near release date:
https://github.com/SonarSource/sonarlint-visualstudio/blob/e292812009a129dc3aa264acdba8914e8904adba/LICENSE
Affected definitions:

SonarAnalyzer.CSharp <IP_ADDRESS>92

ℹ For future references, it looks like they have moved their code around and the source repo is now https://github.com/SonarSource/sonar-dotnet/ per later versions.
ℹ For this version: https://github.com/SonarSource/sonar-dotnet/tree/<IP_ADDRESS>92


Subquery failure

        sq = SubFoo.query.select_pk().eq_che(che_id).desc__created()
        sq.limit(limit).page(page)
        values = Content.query.in_pk(sq).get()

Failed with:
[E] operator does not exist: character = bigint
[27497]: LINE 6:   "_id" IN (SELECT
[27497]:                 ^
[27497]: HINT:  No operator matches the given name and argument types. You might need to add explicit type casts.

I'm not sure why this is failing

Wait, I do know why it's failing, because I was selecting the primary key of SubFoo when what I wanted was the content_id that matched up with Content, so the fix was:
sq = SubFoo.query.select_content_id().eq_che(che_id).desc__created()
sq.limit(limit).page(page)
values = Content.query.in_pk(sq).get()

I still think this might be a bug or there should be a way to cast here, so I should look into it when I've got some time


Modeling Editor: Add "Fullscreen Mode" to enhance student presentations

Is your feature request related to a problem?

Im always frustrated when the modeling editor doesnt show the full diagramm.
Describe the solution you'd like

Add functionality to download the diagram as a pdf/png
Describe alternatives you've considered

make the modeling editor/grading editor zoomable
Additional context

Hello @mahman1234, can you provide a bit more context to the problem your are facing.
Can you provide a link to a submission which is affected. Also, can you share information on your system such as browser and your screen resolution.

One of my students had the problem using the editor and trying to present in class and one I struggled with is https://artemis.ase.in.tum.de/#/modeling-exercise/462/submissions/122074/assessment?showBackButton=true this one. Its just harder if you cant get an general overview. I'm on Chrome
Version 74.0.3729.131 (Offizieller Build) (64-Bit) with a 13" display and 1280 x 800 resolution

The download as pdf option would mainly make it more comfortable to present for students

💡 Idea: Lets use Apollon SVG export API to show the entire modle fullscreen.

We have a fullscreen toggle available for the markdown editor. Maybe this one can be easily used here as well?
We could add this to the submission page so that students could show their solution.
@filip-gregurevic @TobiasPr
Can you check if this could be done easily with a similar approach as the full screen button in the markdown editor?

I may be wrong here, but I think Fullscreen in the Markdown editor is a function of ACE. (So be underlying text editor library.)

I don't think so. Have a look at fullscreen.command.ts
It simply invokes requestFullscreen() (or a browser specific version) on a specific dom element. I guess we could also invoked this on the Apollon canvas (or a surrounding div element)
https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen
This is supported on all browsers

Would that be an acceptable solution?


Links are not working

Some of the links under C++ redirected me to a playlist that doesn't exist any longer. Please fix it.

Hi! Can you mention the links which are having this issue? I would go through it then and try to fix it.

I found it for-
String


xUnit Specification Writer

A component is required that will accept a model of the Specifications and write an xUnit bridge between the specs and NCrunch.
The component will take IEnumerable<ISpecification> and write the bridging code between NCrunch and Gauge.

Done.


fix geom pointer

Description
small change from boost to std pointer, required for https://github.com/JCSDA/oops/pull/1076

I've merged oops PR, this can be merged now.


sonar: build Linux executables

Closes #750.
This fixes the Sonar builds on Linux. Note that I didn't bother to support the 32-bit case.
Also note that this formula should probably depend on Java, but it doesn't. However, since Mac Homebrew also has this problem, I've decided to file a bug with them rather than fix it here.

Not really sure why the Travis build failed...

Nothing related to sonar. I'll look into it.
 1) Failure:
FormulaAuditorTests#test_audit_file_not_strict_no_issue [/home/travis/build/Linuxbrew/linuxbrew/Library/Homebrew/test/test_cmd_audit.rb:144]:
--- expected
+++ actual
@@ -1 +1 @@
-[]
+["Incorrect file permissions (664): chmod 644 /tmp/d20160127-2270-8slfn/foo.rb"]

Thanks for your contribution, Bob. I ended up reworking the patch to support both 32-bit and 64-bit Mac and Linux. See f2b5694d4e46115e232ab88794df1a9fb8b74ae4


Feature: post comment when previously-denied user accepts CLAs

This is issue #310, which was closed as "done", but not done, and got no response after pinging.  Please just close this and reopen that.  However, I'll put the FR here just in case:

The focus of #269 was changed after it was created.  The new version was implemented and alleviated some of the problems of managing CLA issues, but not all of them.  Hence, I am reposting the original feature request in a new issue.

Summary
Post comment when previously-denied user accepts CLAs.
Background
If a contributor has not accepted the CLAs when creating a PR in a managed repo, the CLA bot will post a message indicating this.  If the user then accepts the CLAs, this comment will be changed to indicate they have accepted the CLAs.  However, if I, as a maintainer, was waiting for this action in order to merge the PR, no update will be sent when this happens, and I will have to poll the PR to find out it's ready to merge.
The mention in this comment that grpc maintainers didn't want an update for a user that has accepted the CLAs was in regards to users that were already OK when the PR was created.  We still wouldn't want messages in these cases.  Only after the bot has posted a comment indicating the CLAs were denied would we want an update.
User Story
As a maintainer, I would like a new comment to be posted when a previously-denied contributor accepts the CLAs in order to avoid the need to poll the PR to discover its state.  Note that this is in-line with how the previous CNCF CLA bot worked
cc @jpalmerLinuxFoundation
cc @dealako

Won't fix. Out of scope of current product requirements/features.

This is a usability concern, and one that hasn't faded in the 1.5+ years since I created this issue.  Why is "usability" considered "out of scope"?


Add Keycloak support

Add the Keycloak support.
See Docs for more informations. But, because user can use a Proxy over Keycloak, I decide to make a general approach (without the default patern).
So we have 4 environment variables KEYCLOAK_CLIENT_ID, KEYCLOAK_CLIENT_SECRET, KEYCLOAK_ACCESS_TOKEN_URL and KEYCLOAK_AUTH_URL.

Fix.

Hi, It's good?


Create first draft of payment provider Activity.

Hey Android, this is my first go at a Payment Provider, what do you think?
It currently triggers a purchase for an Android test SKU, next step will be accepting SKU details from the webpage.

:man_facepalming: I also realised that I called you "Android" not "Andre" in my first comment - sorry about that!

🤦♂ I also realised that I called you "Android" not "Andre" in my first comment - sorry about that!

Maybe you were right...
PS: I hadn't noticed that.


problem with long file names

Hi there,
I encountered a problem when uploading file that has long file name. My file name has 64 characters. Let's simplify it as file name long_name. I also tried to make it shorter with 12 characters. let's call it short_name.
When I upload the short_name.csv. Every thing is fine. The progress bar push to the end. A new file is created in the {destination folder name}/{uuid code}/short_name.csv
When I upload long_name.csv. First the progress bar stuck at 0%. With the bar stuck, a new folder and file were still created. However, the created directory is {destination folder name}/{uuid code}/long_namecsv/.lock_1. Notice it got one extra folder level long_namecsv which is just the file name without the .. Then the end file .lock_1 has a weird name. Also .lock_1's size is 0 bytes.
Is the acceptable file name constrained somehow?

I can't recall if there's any name length constraints, but have you checked if the OS has maximum length for the file names? Iirc Windows by default limits file names to ~256 characters.


2 Custom tableviewCells in the same TableView

I was trying to use this folding animation in my tableview but I couldn't, because this animation works using only one static cell with 2 parts foreground and container.
now I want to use this animation in my tableview which have 2 different tableview cells classes but this doen't fit with your model.
can you please take a look at this?
Thanks in advance

@YoousefAlaa hey!) It can be used with two different cell types, but you need to write additional logic to handle table view data source and delegate methods based on different cell types. Please take a look at the demo code, you can find DemoCell. You can create two cells by taking DemoCell as example. Or even only one cell if second cell shouldn't support folding animation.
Currently this library support only interface builder customization. Hope in future we will have time to make available it from source code.


Newly added sanity checks break ./utils.sh install

As the title says, installing within the docker container is broken:
-- Chip is esp32s3, /willow/deps/esp-adf/components/esp-adf-libs
-- Current board name is CONFIG_ESP32_S3_BOX_BOARD
CMake Error at main/CMakeLists.txt:47 (message):
  Wi-Fi WPA passphrase must be between 8 and 63 ASCII characters

-- Configuring incomplete, errors occurred!
See also "/willow/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1
root@5c1d189cb36f:/willow# ./utils.sh install

On top of that there's no vi inside the container, making my life far harder in working around this issue.
Even if I add a longer wifi pass, it fails for the next sanity check that was added about 1 hour ago.

I confirm commit 6247bdd0a2380094cf3f280ebe024a2f4b53f4da works

Just committed a fix - re-opened issue so you can git pull, try to run install again, and report back.
Sorry about that!

I confirm it works now. Thank you for the rapid reaction!


Update build.yml

Codecov Report

Merging #78 (000745c) into master (d373d53) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 000745c differs from pull request most recent head 1e4ac3a. Consider uploading reports for the commit 1e4ac3a to get more accurate results

@@            Coverage Diff            @@
##             master      #78   +/-   ##
=========================================
  Coverage     90.62%   90.62%
  Complexity       35       35
=========================================
  Files             3        3
  Lines            64       64
=========================================
  Hits             58       58
  Misses            4        4
  Partials          2        2

Continue to review full report at Codecov.

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


are we dealing with deletions properly?

im pretty confident were getting insertions, but what about deletions?

more specifically, how does VCF encode these? is the position listed the start of the deletion or the end?

RESOLVED (i think)

vcf encodes deletions just like it does SNPs; start == end
cosmic however, encodes chrom:start-start + len(deletion)
accounting for this in generate_genome_pos_str() of get_aa_mutations module
ultimate goal is to match cosmic, and so i think im accounting for this


Do tonic clients accept in-bound traffic?

I'm running a tonic client in a docker container & I'm getting the error:

Could not spawn client: transport error: error trying to connect: tcp connect error: Cannot assign requested address (os error 99)

I'm a bit confused. I know docker containers allow outbound traffic. For example, I can make HTTP requests to websites without issue. And I assumed tonic clients were roughly the same, where they only initiate outbound traffic & aren't servers.
But it seems like I'm wrong. Do tonic clients also act like servers?

I don't know for sure but feels like it could be related to server to client (or bidirectional) streams. So the client is able to receive data from the server.


Migrate to Nestjs

https://nestjs.com/

We should probably not make a hasty decision on which tech stack to move to.

Alright, I'll change the title of this issue - but we will probably move away from Tsed


fix(contrib/linode): fix discovery url issues in deployment scripts

Fix discovery url replacement and detection caused by user-data changes.

Thanks so much for patching up Linode after the apparently breaking #DISCOVERY_URL change. :disappointed_relieved:  For reference, here is how this was fixed for Azure and GCE.

You bet!
Is there an advantage to with open(file.name, 'r') as file as was done for Azure and GCE?

with open(file) just ensures that the file is closed explicitly even if an exception occurs under the with block. But this should also happen when the file object is garbage-collected, or when the python interpreter exits. So it's good general practice but not a big deal for a read-only file handle in a run-then-exit script like this I'd say.

Good to know. Thanks!


do should force void

Not related to this pr, but...
Isn't this a bit weird. The function is declared with f :: fn a do and not f :: fn a ->, and since there is no need for the ret keyword you cannot know at a glance if the function actually returns something. Take this for instance:
g :: fn do
    1
end

f :: fn do
    g'
end

start :: fn do
    print' f'
end

If you look at the definition of f there is no clear indication that it actually returns a value rather than void.
Maybe beginning a function with do should mark it as void?
Originally posted by @Quaqqer in https://github.com/sylt-lang/sylt-lang/pull/680#discussion_r802512507

Something to note is that if do implies void return there is no way to do implicit return types on a single line, right? Ex. fn x -> x * 2 end shouldn't work, right?


HW1

Sarvagya Gupta's HW1

Good job, you need to fix the frequency for bouns problem. try to use nk.ecg_declineate function. 115

Hi @JimmyWork668, I have used the function in the bonus question. Can you tell me if you can the function implemented in the cell with label # TODO Let's filter the signal and see if the detection improves.

@JimmyWork668 my real name is Sarvagya Gupta. But because of an error, it's showing as something like Sumaya Katane. I've talked to professor about this and he said it should've been solved. I'll talk to him after class today

@Flock1 All parameters list below for the function:
ecg_cleaned,
rpeaks=None,
sampling_rate=1000,
method="dwt",
show=False,
show_type="peaks",
check=False,
i don't think you can put a certain label directly.
https://neurokit2.readthedocs.io/en/latest/_modules/neurokit2/ecg/ecg_delineate.html

@JimmyWork668, my name is updated on blackboard. Let me know if you can see it as "Sarvagya Gupta".


Action select not stylized

After adding a model (in this case the native Users) the select for Actions doesn't have any CSS rules:

from django.contrib.auth.admin import UserAdmin
from django.contrib import admin
import unfold.admin
class CustomUserAdmin(UserAdmin, unfold.admin.ModelAdmin):
   pass

admin.site.register(User, CustomUserAdmin)

This is how I have it and it works

This works only for users but not for custom models (or the group one).
Anyway for groups:
from django.contrib import admin
from unfold.admin import ModelAdmin
from django.contrib.auth.admin import UserAdmin, GroupAdmin
from django.contrib.auth.models import User, Group
from django.apps import apps

class CustomUserAdmin(UserAdmin, ModelAdmin):
    pass

class CustomGroupAdmin(GroupAdmin, ModelAdmin):
    pass

admin.site.unregister(User)
admin.site.register(User, CustomUserAdmin)
admin.site.unregister(Group)
admin.site.register(Group, CustomGroupAdmin)

All examples how to register User model are in Formula project. Each admin class has to inherit from unfold.admin.ModelAdmin because it contains essential logic.


Unable to drag/drop or add a relation in the Designer

Hello ! I'm using EFDesigner <IP_ADDRESS> on Visual studio 2022 17.6.5
I'm a simply unable to drag and drop any relation(unidirectional,bidirectional, or inheritance, event comment link don't work) from the toolbox, into any entity. I only get the "cancel" cursor, and can't do anything.
I may be trying to use the tool in a wrong way: I try to drag the relation, onto the entity.
I tried to see if contextual menu on entities proposes to add a relation in any other way, but didn't find anything.
Am I doing something wrong or is the designer not working with the last visual studio ?

Hello @Retidurc,
Perhaps it's a bit confusing because no difference is apparent between the entities and relationships that I specified, in terms of how to add them to the designer. Regarding the relationships, you don't have to drag and drop them onto the entity; you need to click on them and they will become selected. Then you have to go to the entity that would be the 'one' part of the 1:n relationship and click on it, and then proceed to click on the entity that represents the 'many' part.
I hope this is helpful to you.
Regards

Oh thanks.
Duh. I feel kinda dumb . I'm used to drag and drop items from the toolbox in other kind of designers. I tried everything except what you just told me. I've spent half an hour reading the online doc of this project and didn't found any clue on how to exactly do what you just told me.
That's why I was thinking I didn't found something that was obvious to everyone else :rofl: .
Not blaming anyone here on the project, that's an awesome tool and all ! Sometimes I just miss the obvious :neutral_face:
If the docs are open and can be modified, I'll add something nonetheless. I suspect I may not be the only guy who struggled with something that obvious.
Thanks again !


mod: bump<EMAIL_ADDRESS>

Fixes https://github.com/containerd/containerd/issues/10085
(cherry picked from commit a153b2cd3223819f07d022ba97421738615c6277)

cc @acurtiz @bobbypage

LGTM

xref: https://github.com/containerd/containerd/pull/10089


Offset as a function on the selector

Think the title explains my wish.
Right now I have done a quick fix that works for me, and that is to change export default inView() to export default inView so that we can create multiple instance of in-view. See README for usage, if people are interested.
e.g:
inView('.someSelector')
    .offset(100)
    .on('enter', doSomething)
    .on('exit', el => {
        el.style.opacity = 0.5;
    });

@SindreSvendby That is definitely an interface we'd like to implement! Ideally, I'd like to get to a place where each of the global options can be set per-selector. Regarding your fork, keep in mind that multiple in-view instances will create multiple scroll event listeners and may affect performance.

@camwiegert  We also ran into this issue (needing custom offsets). For now I'm doing what @SindreSvendby mentioned, having multiple in-view instances instead of the singleton. Is there an alternative I should explore?


CAMEL-14069 Update to ignore the 100-Continue response and continue to

wait for the answer
https://issues.apache.org/jira/browse/CAMEL-14069

Can you fix checkstyle with running
mvn compile -P sourcecheck

@davsclaus I just fix the CS


As a user, I want to set up a new shopping list so I can start tracking purchased items.

Summary
A shopping list is a set of items associated with a specific three-word token. We need to allow users to start new lists, so they can save the things they need to buy. To start a new list, we will need to do a few things:

Generate a new, unique token
Save the token to localStorage
Show the user the list view

Up to this point, the app has rendered the items in the list associated with the token my test list. Before we can allow users to make new lists, we have to stop showing them this test list.
Acceptance criteria

[ ] @the-collab-lab/shopping-list-utils is added as a dependency to the project.
[ ] The string my test list in App.jsx is replaced with null, so users are not automatically subscribed to any list.

If a user doesn’t already have a token:

[ ] They are redirected from the List (/list) page back to the home (/) page.
[ ] A button in the Home component allows them to create a new list.
[ ] Clicking the button generates a new token and saves it to localStorage using the setListToken function in App.jsx.
[ ] Once the token has been created and saved, the user is redirected to the List view.

If a user does already have a token:

[ ] They are automatically redirected to the List (/list) page.

Notes

The  generateToken function from the shopping-list-utils package should be used to generate the token. More information on that package its documentation. Importing it will look something like this:

import { generateToken } from '@the-collab-lab/shopping-list-utils';

The setListToken function takes one argument: the new list token.
Eventually the welcome/home page will look like this wireframe. It’s good for your whole team to look at the wireframe now, but be sure not to try to implement all of the visible functionality at once. There will be future stories to add the other features such as joining an existing list.
For this story, it's sufficient just to have a simple "create list" button. Although you are not required to save the token to Firestore, some teams have opted to also save the token to Firestore when generating a token.

Beautiful and perfect!

Curriculum revamp edit:
Title

As a user, I want to set up a new shopping list so I can start tracking purchased items.

Summary
A shopping list is a set of items associated with the owner's unique id and the name of the shopping list. Users need to be able to create new shopping lists. To do this, the Home view should present them with a form that allows them to enter the name of their list. Additionally, we need to do a few things to create that list:

Save the token to localStorage
Save the list to our database using the createList function in firebase.js
Show the user the list view

Acceptance criteria
UI-related tasks:

[ ] The Home view displays a form that allows users to enter the name of a shopping list and then create a list with that name.
[ ] The input that accepts the name of the item has a semantic label element associated with it
[ ] The user can submit this form with both the mouse and the Enter key
[ ]  When the user submits the form, they see a message indicating that the list either was or was not created and saved to the database.

Data-related tasks:

[ ] Clicking the button uses the createList function in src/api/firebase.js to create a new shopping list for the user.
[ ] The shopping list path is stored in local storage.
[ ] Once the list has been created and saved, the user is redirected to the List view.

Notes

The createList function takes three arguments: the current user's id, the current user's email, and the name of the shopping list.
The setListPath function takes one argument: the new list token.


Feature/emergent object processing

Adds pick_emergent_object()
Uses geopy to calculate the distance between two coordinate locations
Creates the ODLC_Dict typehint, which will be used in the flyover pipeline and in communication with flight

Also, make sure to link the issues this solves


[docs] Enable German

[x] I have followed (at least) the PR section of the contributing guide.

🚀


fix(upload): Fixed payment check

PR related to this trello task --> https://trello.com/c/Cjia8gge

:tada: This PR is included in version 1.3.1 :tada:
Your semantic-release bot :package::rocket:


Missing device configuration: FAKRO ZWG1

Checklist

[X] It is not in the configuration DB

[X] It was not merged recently or has a pending PR

[X] The device was interviewed completely and has no missing or undefined IDs

Which device is missing?
FAKRO ZWG1
Manufacturer ID
0x0085
Product Type
not found in logs
Product ID
not found
Firmware Version
not found
Is the device listed on the Z-Wave Alliance website?
no
Do you have a manual?
zwg1 (1).pdf

De device is a stylish zwave cover controller it can act as a primary or secondary controller.
I tried to add it with zwavejsui the interview completed however nothing functional came from it.
I have used the device with a fakro roller shutter. However i want to integrate it in home assistant.
It have tried to do so in a test setup with only zwavejsui a gen5 aeotec stick but no dice.

if more tests should be done or info is neccesary please let me know.
regards
Jan
interview.log

This really is not enough to go on.  To me the interview is a not complete.  Did you try waking the device a few times?


Fix vector drawables in xml

Using android:src resulted in a crash on pre lollipop devices.

Hmm -- I'd like to hold off this PR for a bit -- making use of vectorDrawables.useSupportLibrary = true has a lot of side effects plenty of novice programmers have not dealt with just yet (I know this because I am using it on my production app).
Is there any particular reason why the library needs to have this applied as well?
I am using this library on my production app and it works on pre-lollipop devices without the change here.

@K0bin OK, just got done testing to check for side-effects in the library when using this flag.
Tested on:
Moto E (Android 4.4.4)
Lenovo Tab2 (Android 4.4.4)
Moto G3 (Android 5.1.1)
LG G4 (Android 6.0)
LG G Pad X 10.1 (Android 6.0)
Nexus 6 (Android 6.0.1)
Nexus 6P (Android 7)
Everything is working as it is supposed to, therefore, good to merge~

I'm using the flag in production as well and haven't noticed any side effects but that got me curious now.

@K0bin
I'm mostly referring to instances where a compound drawable is in use, and it happens to be a vector drawable.
In most cases, this needs to be used if you are setting your drawables dynamically:
static {
        AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
    }

In the case of compound drawables, you'll need to make use of:
textView.setCompoundDrawablesWithIntrinsicBounds(R.drawable.my_vector_drawable, 0, 0, 0);
// or
textView.setCompoundDrawables(R.drawable.my_vector_drawable, 0, 0, 0);

And finally, in the case of notifications (for 4.4.4 and below), you'll need to reference PNGs and not Vector Drawables.


SetupCluster failures unexpected keyword argument 'client_configuration'

I updated the docker images for Airflow because I'm trying to fix some issues and setup cluster started failing with the error
[2017-12-22 17:35:02,353] {base_task_runner.py:98} INFO - Subtask: Traceback (most recent call last):
[2017-12-22 17:35:02,353] {base_task_runner.py:98} INFO - Subtask:   File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main
[2017-12-22 17:35:02,353] {base_task_runner.py:98} INFO - Subtask:     "__main__", fname, loader, pkg_name)
[2017-12-22 17:35:02,353] {base_task_runner.py:98} INFO - Subtask:   File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
[2017-12-22 17:35:02,353] {base_task_runner.py:98} INFO - Subtask:     exec code in run_globals
[2017-12-22 17:35:02,353] {base_task_runner.py:98} INFO - Subtask:   File "/var/lib/data/runs/tf_k8s_tests/2017-12-22T17_30_16/tensorflow_k8s/py/deploy.py", line 210, in <module>
[2017-12-22 17:35:02,353] {base_task_runner.py:98} INFO - Subtask:     main()
[2017-12-22 17:35:02,354] {base_task_runner.py:98} INFO - Subtask:   File "/var/lib/data/runs/tf_k8s_tests/2017-12-22T17_30_16/tensorflow_k8s/py/deploy.py", line 207, in main
[2017-12-22 17:35:02,354] {base_task_runner.py:98} INFO - Subtask:     args.func(args)
[2017-12-22 17:35:02,354] {base_task_runner.py:98} INFO - Subtask:   File "/var/lib/data/runs/tf_k8s_tests/2017-12-22T17_30_16/tensorflow_k8s/py/deploy.py", line 67, in setup
[2017-12-22 17:35:02,354] {base_task_runner.py:98} INFO - Subtask:     util.load_kube_config()
[2017-12-22 17:35:02,354] {base_task_runner.py:98} INFO - Subtask:   File "/var/lib/data/runs/tf_k8s_tests/2017-12-22T17_30_16/tensorflow_k8s/py/util.py", line 448, in load_kube_config
[2017-12-22 17:35:02,354] {base_task_runner.py:98} INFO - Subtask:     **kwargs).load_and_set()
[2017-12-22 17:35:02,355] {base_task_runner.py:98} INFO - Subtask:   File "/usr/local/lib/python2.7/site-packages/kubernetes/config/kube_config.py", line 319, in _get_kube_config_loader_for_yaml_file
[2017-12-22 17:35:02,355] {base_task_runner.py:98} INFO - Subtask:     **kwargs)
[2017-12-22 17:35:02,355] {base_task_runner.py:98} INFO - Subtask: TypeError: __init__() got an unexpected keyword argument 'client_configuration'

Kubernetes py package 4.0.0 was released on 11-20.
https://pypi.python.org/pypi/kubernetes/4.0.0
I suspect even though we had rebuilt the container since then we hadn't rebuilt the layer container the Kubernetes client so we were still using 3.0.0. So I suspect something changed.
I think util.setup_cluster actually relies on a private function to work around kubernetes-incubator/client-python#339 so its not unexpected that this might have broken with a new release.

Looks like Configuration might have changed
https://github.com/kubernetes-incubator/client-python/blob/master/CHANGELOG.md#v400a1
It looks like KubeConfigLoader is actually sourced from a different repo via a submodule.
Here's the current version
https://github.com/kubernetes-client/python-base/blob/master/config/kube_config.py
client_configuration is not an option.
It looks like we might just need to call loader.load_and_set(client_configuration) instead of passing it to the constructor.
Our py/requirements.txt already specifies that 4.0.0 is required.


feat(ui): add style to dimmed commits

Just a suggestion. Thanks for this awesome plugin manager!

makes sense. Thanks!


Use this project with java ?

hello , i didn't Study Scala language  so i am asking if this project can be  executed with java ??

Hey. Thanks for you interest in the project. Java wrappers for our API classes are currently not on the roadmap.


sensor/bma253: Use one interrupt line from BMA253

With this patch sensor API changed a bit in order to support handling different interrupts types on one INT line.  In order to do it, there is new event to sensor when interrupt occurs. On this event sensor just call sd_driver_handle_interrupt method from sensor_driver so it can read interrupt status from the bma253 and send appropriate event.

I tested it and the code looks good. Lets just address the above review comments and mark it as done.

Fixed all comments.


Minipage vertical dimension is not respected

Description
Figure 4 in https://arxiv.org/html/2410.21228v1 contains a minipage environment, which is being rendered in a zero-height box. The contents of the minipage are spilling over the rest of the page.
(Optional:) Please add any files, screenshots, or other information here.
No response
(Required) What is this issue most closely related to? Select one.
Figures
Internal issue ID
67b3d6e3-edd4-4b78-a8e3-7d657ba29778
Paper URL
https://arxiv.org/html/2410.21228v1/
Browser
Chrome/<IP_ADDRESS>
Device Type
Desktop

The minipage is showing as a foreignobject element in an embedded svg. The height of the element is not being considered when calculating the height of the svg:
<foreignObject color="#000000" height="63.65" overflow="visible" transform="matrix(1 0 0 -1 0 16.6)" width="557.86">
<span class="ltx_inline-block ltx_minipage ltx_align_bottom" id="S3.F4.pic<IP_ADDRESS>.1.1" style="width:403.2pt;">
<span class="ltx_p" id="S3.F4.pic<IP_ADDRESS>.1.1.1"><span class="ltx_text ltx_font_bold" id="S3.F4.pic<IP_ADDRESS>.<IP_ADDRESS>">Algorithm: Finding Intruder Dimensions.
<span class="ltx_listing ltx_minipage ltx_align_center ltx_align_middle ltx_listing" id="S3.F4.pic<IP_ADDRESS>.1.1.2" style="width:429.3pt;">
...

@eccmsilva great diagnostic, exactly right.
We need better latexml support for sizing in tcolorbox.sty.
This happens to be the most requested latexml-related arXiv issue today with 200 open reports in this tracker.

Duplicate of #2155 and many others.

Shouldn't you start closing the duplicates?

Bookkeeping them is more work than is useful to spend. Also, the UI component on the articles doesn't have GH visibility, so reporters don't know of previous reports and we'll keep receiving duplicates.
I am keeping a separate aggregate report for now - my current intention is to "mass close" relevant issues on resolution.

What is the corresponding issue in the LaTeXML repository?

I don't think there is one targeted at this package as of yet, but there is a dedicated label for pgf/tikz reports that are more atomic:
https://github.com/brucemiller/LaTeXML/issues?q=is%3Aissue+is%3Aopen+tikz+label%3Apgf%2Ftikz
I don't think we'll resolve this before latexml 0.8.9 ships btw, there are a couple of queued up large refactors that need to land first.


Fix routing key in tests

Could you explain a bit why the dummy transport name has to change?

Part of my experimentation with simpler publisher machinery involves removing (unused) support for publishing to arbitrary routing keys, which in turn changes the routing key validation to happen once when the publisher is created instead of every message published.
That means the old fake routing key with caps in it will fail validation (which wasn't happening before) and the tests will break.

:+1:


Java process hangs on inside container

Description:
Java process hangs on if started inside container.
That happens randomly but even if you run
java

or
java -version

To be precise commands are executed properly end prints what them supposed to print, but doesn't exit or fail. Logs are empty, jstack fails to connect to VM, ps -A shows java <defunct>.
docker version: Docker version 1.9.1, build a34a1d5
docker info:
Docker version 1.9.1, build a34a1d5

MacBook-Pro:~ user$ docker info

Containers: 4

Images: 13

Server Version: 1.9.1

Storage Driver: aufs

 Root Dir: /mnt/sda1/var/lib/docker/aufs

 Backing Filesystem: extfs

 Dirs: 21

 Dirperm1 Supported: true

Execution Driver: native-0.2

Logging Driver: json-file

Kernel Version: 4.1.13-boot2docker

Operating System: Boot2Docker 1.9.1 (TCL 6.4.1); master : cef800b - Fri Nov 20 19:33:59 UTC 2015

CPUs: 1

Total Memory: 996.2 MiB

Name: test

ID: YFBV:XZLM:67RC:XQ7H:3IJO:URTR:T4EU:ATIY:2Q3K:7RIS:E73M:DUBF

Debug mode (server): true

 File Descriptors: 12

 Goroutines: 19

 System Time: 2015-12-08T16:51:00.78015091Z

 EventsListeners: 0

 Init SHA1:

 Init Path: /usr/local/bin/docker

 Docker Root Dir: /mnt/sda1/var/lib/docker

Labels:

 provider=virtualbox

uname -a: Darwin MacBook-Pro.local 15.0.0 Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64
Environment details: VirtualBox
How reproducible:
Steps to Reproduce:

Run container in attached mode
Install Java 8
Run java couple of times till get hanged on

Actual Results:
Hang on java process
Expected Results:
Process normally exits
Additional info:
Reproduced on<EMAIL_ADDRESS><EMAIL_ADDRESS>and centos@latest.

This may be related to this issue; https://github.com/docker/docker/issues/18180
If you run docker top <yourcontainer>, do you also see a <defunct> process?

I don't know enough about java threading internals and how things are supposed to be shutdown cleanly... But I find it is very interesting that an explicit System.exit(0) call alleviates the problem as opposed to just leaving main.  It would be interesting to implement a similar sequence of shutdown events in another language (modeled after java's) to see if it is java specific or not.
As a side note, this java + linux issue was recently post on hacker news: http://blog.omega-prime.co.uk/?p=161

Interesting, thanks!

Yeah, this is definitely the same symptoms as #18180.

Thanks for looking @tianon; is the link to the JAVA issue useful for resolving?
@stremlenye I'll close this issue in favor of https://github.com/docker/docker/issues/18180 so that we have the discussion on a single location. Please subscribe to that issue using the "subscribe" button to keep up to date on progress.
Thanks for reporting!

I'm not sure -- I think someone with more kernel-level debugging experience
than I have needs to take a look. :innocent:

@thaJeztah Thank you!

+1

Nothing to do with the console, just ran java > /dev/null 2>&1 ... container hangs.

+1

+1

This issue is closed, @bhagwat @kgx better to add your +1 to #18180.
Incidentally I worked around the problem for me by using the devicemapper rather than default AUFS storage driver - when using docker-machine you can set it to be the default using the flag --engine-storage-driver=devicemapper when creating the boot2docker VM.
Also everything I read/everyone I speak to seems to be of the opinion that AUFS is a mess and not to use it, so this may be a chance to change early on.

thanks @binarytemple I got exactly the same problem with android tools and the switch to devicemapper did the trick!


Update author

Docs Build status updates of commit 5244789:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/preview/sql.md
:bulb:Suggestion
View (azure-node-preview)
Details

docs-ref-services/preview/sql.md

Line 16, Column 26: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/sql-database/sql-database-technical-overview' will be broken in isolated environments. Replace with a relative link.
Line 80, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/sql-database/sql-database-connect-query-nodejs' will be broken in isolated environments. Replace with a relative link.
Line 82, Column 68: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/samples/browse/?languages=javascript' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@sima-zhu Please take a look & merge. Thanks!

Why do we merge to live directly? @DavidCBerry13 Can we merge to main first?
I don't want main/live have a discrepancy.


Accelerated speed when walking against walls

The player speed seems to increase when sliding against walls, I'm not entirely sure what's causing this but the stair hack doesn't fix it and it doesn't happen when I disable the stair code. Any ideas what this could be?

This is a consequence of how the acceleration code in the demo works rather than the collision-related stuff. It's the same "feature-bug" as wallrunning in Quake.


Compile OpenCV 3.1.0 with ICC -mmic  Xeon PHI

Hi all. I need to use OpenCV+FFMPEG in a Xeon Phi without root permission.
My environment is:

OpenCV version: 3.1.0
Host OS: Linux
Target OS: Phi Co-Processor
Compiler & CMake: ICC 15.0.2 & CMake 3.5.2 (installed in my home)

When I compile OpenCV with GCC in my home, it works fine. I compile with
cmake -D CMAKE_INSTALL_PREFIX=$HOME/lib/opencv-3.1.0 -D WITH_GTK=ON ..
all works fine by setting LD_CONFIG_PATH and PKG_CONFIG_PATH env variables od ffmpeg and opencv.
Now, i need to use my code in a PHi CoProcessor, so I compile my code with
icc -mmic -Wall -std=c++11  -DNO_DEFAULT_MAPPING -I /home/spm1407/lib/opencv-3.1.0/include/  -I /home/spm1501/fastflow/ -O3  -o farm farm.cpp -pthread -L/home/spm1407/lib/opencv-3.1.0/lib -lopencv_core -lopencv_highgui -lopencv_imgcodecs -lopencv_videoio  -lopencv_video -lopencv_imgproc -lpthread
(Please ignore FastFlow)
Compiler returns
x86_64-k1om-linux-ld: skipping incompatible /home/spm1407/lib/opencv-3.1.0/lib/libopencv_core.so when searching for -lopencv_core
x86_64-k1om-linux-ld: cannot find -lopencv_core
x86_64-k1om-linux-ld: skipping incompatible /home/spm1407/lib/opencv-3.1.0/lib/libopencv_highgui.so when searching for -lopencv_highgui
x86_64-k1om-linux-ld: cannot find -lopencv_highgui
x86_64-k1om-linux-ld: skipping incompatible /home/spm1407/lib/opencv-3.1.0/lib/libopencv_imgcodecs.so when searching for -lopencv_imgcodecs
x86_64-k1om-linux-ld: cannot find -lopencv_imgcodecs
x86_64-k1om-linux-ld: skipping incompatible /home/spm1407/lib/opencv-3.1.0/lib/libopencv_videoio.so when searching for -lopencv_videoio
x86_64-k1om-linux-ld: cannot find -lopencv_videoio
x86_64-k1om-linux-ld: skipping incompatible /home/spm1407/lib/opencv-3.1.0/lib/libopencv_video.so when searching for -lopencv_video
x86_64-k1om-linux-ld: cannot find -lopencv_video
x86_64-k1om-linux-ld: skipping incompatible /home/spm1407/lib/opencv-3.1.0/lib/libopencv_imgproc.so when searching for -lopencv_imgproc
x86_64-k1om-linux-ld: cannot find -lopencv_imgproc

So, i'm trying to compile (maybe Cross-Compile, if i understood) OpenCV by setting compiler and flags of ICC:
../../cmake/bin/cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=$HOME/lib/opencv-3.1.0 -D WITH_GTK=ON -DCMAKE_C_COMPILER=icc -DCMAKE_CXX_COMPILER=icpc -DWITH_CUDA=OFF -DCMAKE_TOOLCHAIN_FILE=../cmake_files/cmake_template.cmake -DCMAKE_C_FLAGS=-mmic -DCMAKE_CXX_FLAGS=-mmic -DBUILD_SHARED_LIBS=OFF -DWITH_PTHREADS_PF=OFF -DWITH_IPP=OFF ..
I tried disabling PTHREADS_PF, IPP, using CMAKE_TEMPLATE from (this page
but cmake every time returns
catastrophic error: cannot open source file "zlib.h"
  #include "zlib.h"

How can i resolve this issue? Any suggest?
Thanks.

Any external libs that opencv involved need to be re-compiled with 'mmic'. For example, zlib.
I have compiled opencv on Xeon Phi before and finally succeeded.
You may refer to this link:  https://github.com/ivankreso/caffe-deps-xeon-phi
I compiled openCV on Phi several months ago, so I can't give you any detail advices.
But, iff you need anymore help, you could mail me<EMAIL_ADDRESS>


TypeError: d3.select is not a function on pie chart render()

When I call chart.render() for piechart it throws the following error:
keen.js:19724 Unhandled rejection TypeError: d3.select is not a function
    at Dataviz.module.exports (http://localhost:8010/lib/keen.js:23456:25)
    at Dataviz.render (http://localhost:8010/lib/keen.js:24074:40)
    at http://localhost:8010/lib/keen.js:23264:55
    at domReady (http://localhost:8010/lib/keen.js:23361:13)
    at Dataviz.render (http://localhost:8010/lib/keen.js:23242:9)

Using version 4.3.0 of keen-js.
Furthermore the legend is not showing in any chart type.

@alejandromagnorsky can you please share a bit of your setup code here, plus any other dependencies you may have included in the page?

Legends appear to be working correctly on my end, so I suspect there may be an environmental issue at play.

@dustinlarimer, yes. Here is an example with the pie chart:
https://codepen.io/alejandrocsb/pen/gGKPmz
If you check the console you can see the error: id.substring is not a function
Not sure why it's different from the one I got in my complex application. But regardless, there is an error.
Also, I made another pen to check about the labels and I was able to see them, so that's fine.
Thanks.

After some more debugging I discovered that Keen v4.3.0 works perfect in my application if I load it with the

Thank your for digging into that further and helping figuring this out!
Require has issues with nested dependencies that also define Require modules. I just double-checked the version of D3 we're including, and it's module definition block looks like this:
// ...
if (typeof define === "function" && define.amd) this.d3 = d3, define(d3); else if (typeof module === "object" && module.exports) module.exports = d3; else this.d3 = d3;

If I'm reading this correctly, when RequireJS is present the D3 module just isn't loaded the way our library expects to reference it.. which in turn triggers the d3.select is not a function error you noted. I'll look into solutions for patching this up.. Sorry for the bumpy ride!

As for the original issue, I think this id.substring() error stems from an edge case with the type of data being passed in. Categorical data labels are passed in as a string, but in this case those labels are likely Date instances, since your query uses an interval but no groups.
Example:
new Date().substring(0, 10);
> Uncaught TypeError: (intermediate value).substring is not a function

Try changing the type to 'line' or 'area' and it should work as expected. I'll look into the error and see if type-enforcement can squash the issue.

Hi @alejandromagnorsky ,
We've just published new versions of our 3 core libs.

https://github.com/keen/keen-analysis.js
https://github.com/keen/keen-dataviz.js
https://github.com/keen/keen-tracking.js

Moving from keen-js main package to standalone packages will give you much more freedom and new opportunities. Especially if you are using js bundlers.
Thanks


Multiple basis sets vs. simplified parser

I came across a problem when using CP2KInputParserSimplified with multiple basis sets for an atomic kind (say, an ADMM calculation) and wanted to check if it is something that should be fixed, or if I need to use the full parser. Specifically, given the input snippet
&FORCE_EVAL
  &SUBSYS
    &KIND H
      POTENTIAL GTH-PBE-q1
      BASIS_SET TZV2P-MOLOPT-GTH
      BASIS_SET AUX_FIT pFIT3
    &END KIND
  &END SUBSYS
&END FORCE_EVAL

and the code
from cp2k_input_tools.parser import CP2KInputParserSimplified
tree = CP2KInputParserSimplified().parse(open('test-basis.inp'))
print(tree['force_eval']['subsys']['kind']['H'])

I get
{'potential': 'GTH-PBE-q1', 'basis_set': [['AUX_FIT', 'pFIT3'], ['AUX_FIT', 'pFIT3']]}

which is incorrect and also ends up with an incorrect input file when written using CP2KInputGenerator.
Adding an explicit ORB to the primary basis does not help, as it results in:
{'potential': 'GTH-PBE-q1', 'basis_set': ['ORB', 'TZV2P-MOLOPT-GTH', ['AUX_FIT', 'pFIT3']]}

Switching the order of the two lines changes the output to the still incorrect
{'potential': 'GTH-PBE-q1', 'basis_set': ['AUX_FIT', 'pFIT3', 'TZV2P-MOLOPT-GTH']}

On the other hand, CP2KInputParser processes it fine. Is this a bug or expected behavior for the simplified parser? If so, should it perhaps raise an exception instead? Thank you for looking at this.

Thanks for the bug report!
Well, it's definitely a bug: if something could not be parsed correctly it should have raised an exception at least, but the first one is wrong as it should give:
{'potential': 'GTH-PBE-q1', 'basis_set': [('ORB', 'TZV2P-MOLOPT-GTH'), ('AUX_FIT', 'pFIT3')]}

or
{'potential': 'GTH-PBE-q1', 'basis_set': ['TZV2P-MOLOPT-GTH', ('AUX_FIT', 'pFIT3')]}

Thanks for the confirmation. Let me know if I can provide more information or do some testing.

Thanks for the confirmation. Let me know if I can provide more information or do some testing.

Thanks :) updated v0.6.1 with a fix pushed to PyPI, but might take a couple of minutes more until it is distributed.

Thank you for the speedy fix! Unfortunately, it looks like it still does not work correctly if the lines are switched. This input:
&FORCE_EVAL
  &SUBSYS
    &KIND H
      POTENTIAL GTH-PBE-q1
      BASIS_SET AUX_FIT pFIT3
      BASIS_SET TZV2P-MOLOPT-GTH
    &END KIND
  &END SUBSYS
&END FORCE_EVAL

results in
{'potential': 'GTH-PBE-q1', 'basis_set': ['AUX_FIT', 'pFIT3', 'TZV2P-MOLOPT-GTH']}

while adding ORB gives
{'potential': 'GTH-PBE-q1', 'basis_set': ['AUX_FIT', 'pFIT3', ['ORB', 'TZV2P-MOLOPT-GTH']]}

Ok, I see.

Ok, another fix is out. Thanks!

Looks good, thank you!


Close #LGVISIUM-85: Not found features do now return a 404

Error+Detail instead of Success+Detail for extract_data if no data could be read out

@stijnvermeeren-swisstopo Thank you very much for the good code review. FastAPI is creating the 422 by default. I had to disable it manually by changing the OpenAPI Settings. Now the error code should only be the one that we can actually trigger.
I also cleaned up the code regarding how we raise the different validation errors.


Adds 3 new types of bottles to the medifab

About the PR

I added three new types of bottles, for visual variety. These sprites were already in the game, yet have gone unused.
Why / Balance

Visual variety mainly. Might be fun for RP, dunno.
Technical details

Media

Requirements

[X] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl: Boaz1111

add: Added three new bottle varieties to the medifab.

time to unlock chem and label all my meds as Minecraft potions :deranged:

meh

The maintainer team has come to a consensus that currently it's unnecessary bloat in the way it is implemented, but could still potentially have some use in the future (eg wizard hideout).

yeah no that's fair


Cannot call collection methods that return JobStatus

Methods like Ticket#destroy_many cannot be called from Collection because they return a single JobStatus instance.
I, [2013-06-03T10:42:24.254471 #70348]  INFO -- : delete https://abc123.zendesk.com/api/v2/tickets/destroy_many?ids=1%2C2%2C3%2C4
{"job_status"=>{"id"=>"6f05c8e0ae57013013ad782bcb36ca73", "url"=>"https://abc123.zendesk.com/api/v2/job_statuses/6f05c8e0ae57013013ad782bcb36ca73.json", "total"=>nil, "progress"=>nil, "status"=>"queued", "message"=>nil, "results"=>nil}}
/Users/stevendavidovitz/src/zendesk_api_client_rb/lib/zendesk_api/collection.rb:354:in `handle_response': undefined method `map' for nil:NilClass (NoMethodError)
        from /Users/stevendavidovitz/src/zendesk_api_client_rb/lib/zendesk_api/collection.rb:149:in `fetch!'
        from example.rb:42:in `<main>'

Implemented by #252


Revert "Merge pull request #418 from bbrks/configurable_maxDepth"

This reverts commit 44a7e7340d23d2e5d5d942966eb683436c027da0, reversing
changes made to dc11f49689fd1c9a6de20749def70bd889bf0d42.
This protects callers of the library by default. Given the golang parser is expected to set the same hard-coded limit in 1.15, I think more evidence is required before making this configurable and unsafe by default.
cc @taowen

I would strongly recommend waiting to tag a release until this is resolved. There is already an expectation from downstream consumers that this library is not vulnerable to stack overflows.

I'm not sure removing the configurable depth value altogether is the right approach either.
I can see perfectly valid use-cases where you'd want to be able to parse JSON deeper than 10,000 levels, especially given that the Go stdlib is currently perfectly capable of a couple of orders of magnitude more levels than 10,000.


Tab Type "auto" overrides Soft Tabs setting.

I should be able to make the tab button make tabs by disabling the Soft Tabs setting.
Tab Type "auto" should apply to "Auto Indent" when pressing enter after an indented line.

I think the only solution is to have a drop down for Soft Tabs, "Always", "Same as Tab Type" and "Never"
That would make Atom more usable with mixed language/mixed tab style files. Currently the best workaround is to Tab Type: "Hard" and Soft Tabs: "off" which will make Auto Indent create hard tabs on soft tabs documents.

Not to beat a dead horse evem more, but it would be nice if these settings were a littler clearer on what combinations of these do what. I have gotten into the habit of making a .editorconfig file in projects now since that makes it easier to understand and using https://atom.io/packages/editorconfig, however it makes working with other people's open source projects a nightmare when they don't have an .editorconfig. Atom seems to always set the tabLength: 4 regardless of what I set it in Settings.

Not to beat a dead horse evem more, but it would be nice if these settings were a littler clearer on what combinations of these do what.

That is being adressed in #9096.

I would love something like this next to LF... I'm sure Gedit wouldn't mind.


Added exposure parameter to some appleseed lights and latlong environment

An alternative way to specify intensity multipliers.
Mostly for Gaffer ImageEngine/gaffer#1590, but could be useful for other plugins.

Addressed comments and rebased.

I'm not sure the "exposure" word is the good one. "exposure has a real meaning in photography and can be disturbing as a light parameter. I think Guerilla name this "exponent" (search for "exponent" in this page).

Good point @Narann, I kind of agree. Exponent would probably be clearer.

I prefer exposure. It's a common term in other renderers, image viewers, ... and in my opinion
easier for users. I find the name exponent confusing. Exponent of what?

I've read your commit content more and realize we speak about many things. I will try to be more specific:
"Exposure" is good for:

Image viewer (Nuke, Rv, RenderView). It's often combined with "Gamma" parameter and "color space" choice. Finality is the visual feedback for screen display (user eyes).
Camera "exposition" (time or fstop) but it's more on "light simulators" like Maxwell.
Light's map (and this is the confusing part).

When you use a HDR map as an environment light (or even as an area square light) the word "exposure" actually refere to the map itself: You "expose" the image.
This mean have "exposure" for a directional or a point light without image doesn't make much sense as we don't expose anything and talk more about "intensity".
I try to resume:
Light:

Intensity
Exponent

Image:

Exposure (of the image)

This mean you can totally have:
EnvLight:

Itensity
Exponent
Exposure (of the image)

Directly from the Guerilla doc (because it's well explained):
Color * Intensity * pow(2, Exponent)
In the case of an environment light, Color is the "HDR image + its exposure". This would mean:
"Exposured" Image * Intensity * pow(2, Exponent)
Hope it's clearer. :)
PS: Guerilla choose to have a Exponent parameter to avoid to the user typing intensity with many zeroes (like "1000000") which doesn't mean anything when you talk to your mates. It's more user friendly to manipulate/talk with tiny numbers (try to have a conversation like "hey you should put your intensity to one hundred thousand, if it's not enough push to one hundred and fifty thousand. Still doesn't work, use hundred and fifty six thousand, just to try").

I understand what you mean. I agree, everyone does, that exposure is not a correct term for light emission. But it's a common term that it's easy to understand and users are familiar with.
If you check this https://github.com/ImageEngine/gaffer/pull/1590 (the origin of this PR) the param is called exposure. It has the same name for Arnold lights and I think it's also used in some Renderman area lights and probably more renderers.
I don't like exponent. It is a very generic name that does not make sense unless you know the formula used to compute final light intensities.

I personally prefer exponent over exposure because it's meaning is more clear to me: it's just an exponent (of the form 10^e), while I'm never sure about exposure functions, which could be way more complicated and custom. I'm not asking to change it in this context, either is fine really, but it's interesting to think about it.


merge subtitles dont work

I set the preferences to merge the subtitles into the video file but the subtitles are still downloaded next to the video file.

I did not quite understand why you closed it. Because the topic is incorrectly designed?


Lock down /rawscheduler endpoint

This PR provides the functionality necessary to lock down the /rawscheduler endpoint, as detailled in my previous emails.
Ordinary users can only view their own jobs. Admins can view any job.
Admins are specified as a set of usernames in the config file.
Various modifications were also made to allow for easier interactive development at the REPL so that web handlers can be modified without having to restart the whole system from scratch, and more log messages were added to make it easier to inspect internal system state.

I'm closing this PR pending the rework we discussed.


Pull request to enable display of barometric pressure

Modification of code and readme that permits display of the barometric pressure.

Attached is a screenshot

I'll create a new release after I test it on my environment.


First Test Case following document always got successful

Hi, I am trying to use kuttl , I'm following the document test case https://kuttl.dev/docs/kuttl-test-harness.html#writing-your-first-test on my local cluster and with the command kubectl kuttl test ${casedir}, but I got always successful even though I changed the 00-assert.yaml , so what am I missing?
the screenshot will like this:

Environment:

Kubernetes version (v1.17.2):
KUTTL version (0.5.1):
OS (ubuntu 18.04):
Kernel (5.3.0-40-generic):

@smarkm the issue here is the test is never run.   The testsuite directory is mtest and case1 is a test folder.  you can't point kuttl at a test folder... it must be pointed to a testsuite.  This would run correctly (crosses fingers)... if you kubectl kuttl test mtest.   if you have more than 1 test and only want to run 1.. you can kubectl kuttl test mtest --test case1


UpdateID doesn't mach embeded UpdateID

i am building release with CI and updateID never matches when i build and upload other time even tho there is 0 changes between them i wonder if expo updated updateID generation ?

Hello,
hot sure about that, maybe this can help?
https://github.com/expo/expo/issues/19473


add keywords for SEO

https://npms.io/search?q=error
verror is a very good package and it has pretty high score, but only appears much later in the list. Hopefully, adding some keywords will improve that.

This should be merged or closed.  It's a simple and reasonable change in my view but it's also nearly a year and half old now.


rm the redundant argument for list_sessions()

fix the issue: https://github.com/jupyter-server/synchronizer/issues/41

Codecov Report

Merging #42 (2f9a954) into main (eb8e3bb) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main      #42   +/-   ##
=======================================
  Coverage   60.39%   60.39%
=======================================
  Files           7        7
  Lines         356      356
  Branches       75       75
=======================================
  Hits          215      215
  Misses        124      124
  Partials       17       17

Impacted Files
Coverage Δ

jupyter_server_synchronizer/manager.py
28.12% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


provide accordance for viewing api in a browser

I'm open to any derivation of this clause that allows a user to view json-api documents in a standard browser without modification. This addresses issue #358.

Seems good as a non-normative note - thanks @tkellen!


"Not in Use" filter

Describe the solution you'd like
It would be nice to include "Not in Use" filter for media to be able to cleanup media from unused images.

Yes this would be great! Trying to cleanup images that aren't being referenced to decrease my assets footprint.

Hey @schellenbergk – I believe this is already possible by using the existing In Use filter and setting the value to False. This should show all assets that aren't being referenced elsewhere in your dataset.
Does this accomplish what you're after, or perhaps I'm misunderstanding the ask here?

@robinpyon this accomplishes what I wanted at least 😅

Wow that filter is more reliable than I am... Apparently I have uploaded duplicate photos for some reason/ some how...

In Use = false starts to fail / timeout when there are large asset libraries eg 25GB+

I'm looking for an "exclusion" option. For example tagging an asset as "Hidden" (generally this would be done when uploading an asset automatically using the Sanity API) and then have these assets hidden from the Media browser by default (after setting a config option).


[BUG] ImportError: cannot import name 'soft_unicode' from 'markupsafe'

Describe the bug
When following the setup steps, I'm getting this error:
ImportError: cannot import name 'soft_unicode' from 'markupsafe'

when I get this this step:
jupyter nbextension install --py --sys-prefix graph_notebook.widgets

To Reproduce
Steps to reproduce the behavior:

Go to a clean machine (without graph-notebook or its dependencies installed)
Follow steps one by one in setup documentation
Run the jupyter nbextension install --py --sys-prefix graph_notebook.widgets step
See error

Expected behavior
A simple, flawless installation, of course!
Screenshots
C:\Users\dave>jupyter nbextension install --py --sys-prefix graph_notebook.widgets
Traceback (most recent call last):
  File "c:\users\dave\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\dave\appdata\local\programs\python\python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\dave\AppData\Local\Programs\Python\Python39\Scripts\jupyter-nbextension.EXE\__main__.py", line 7, in <module>
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\jupyter_core\application.py", line 264, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\traitlets\config\application.py", line 846, in launch_instance
    app.start()
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\notebook\nbextensions.py", line 980, in start
    super().start()
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\jupyter_core\application.py", line 253, in start
    self.subapp.start()
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\notebook\nbextensions.py", line 708, in start
    self.install_extensions()
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\notebook\nbextensions.py", line 679, in install_extensions
    full_dests = install(self.extra_args[0],
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\notebook\nbextensions.py", line 203, in install_nbextension_python
    m, nbexts = _get_nbextension_metadata(module)
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\notebook\nbextensions.py", line 1114, in _get_nbextension_metadata
    m = import_item(module)
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\traitlets\utils\importstring.py", line 30, in import_item
    module = __import__(package, fromlist=[obj])
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\graph_notebook\widgets\__init__.py", line 9, in <module>
    from .force import Force  # noqa F401
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\graph_notebook\widgets\force\__init__.py", line 6, in <module>
    from .force_widget import Force  # noqa F401
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\graph_notebook\widgets\force\force_widget.py", line 6, in <module>
    from graph_notebook.network.EventfulNetwork import EventfulNetwork
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\graph_notebook\network\__init__.py", line 6, in <module>
    from .sparql import SPARQLNetwork  # noqa F401
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\graph_notebook\network\sparql\__init__.py", line 6, in <module>
    from .SPARQLNetwork import SPARQLNetwork  # noqa F401
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\graph_notebook\network\sparql\SPARQLNetwork.py", line 10, in <module>
    from graph_notebook.network.EventfulNetwork import EventfulNetwork, DEFAULT_GRP
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\graph_notebook\network\EventfulNetwork.py", line 13, in <module>
    from graph_notebook.decorators.decorators import check_if_dict_access_regex, get_variable_injection_dict_and_indices
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\graph_notebook\decorators\decorators.py", line 13, in <module>
    from graph_notebook.visualization.template_retriever import retrieve_template
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\graph_notebook\visualization\template_retriever.py", line 8, in <module>
    from jinja2 import Template
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\jinja2\__init__.py", line 12, in <module>
    from .environment import Environment
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\jinja2\environment.py", line 25, in <module>
    from .defaults import BLOCK_END_STRING
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\jinja2\defaults.py", line 3, in <module>
    from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F401
  File "c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\jinja2\filters.py", line 13, in <module>
    from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (c:\users\dave\appdata\local\programs\python\python39\lib\site-packages\markupsafe\__init__.py)

Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version 98.0.4758.102 (Official Build) (64-bit)

Additional context
This may be related to recent change(s) in dependent Python module(s) that has prompted issues in related AWS github projects:
https://github.com/aws/aws-sam-cli/issues/3661

Hi @bendinah, thank you for the bug report!
I was able to reproduce the same error on a fresh Python 3.9.7 environment with graph-notebook v3.1.1, following the installation steps in the README. As suggested, the root cause is a breaking change introduced with markupsafe==2.1.0.
We will pin markupsafe<2.1.0 in requirements.txt to ensure that a compatible version of the package is installed during setup; this change will go out with our next release. Until then, please run pip install markupsafe==2.0.1 prior to installing graph-notebook in the setup.


Can .vue refer to external js/css files placed on CDN?

Hi
Do this work if .vue refer to external js/css files placed on CDN?

Hi,
currently, only inline template, script and style sections are supported.
Can you give me an example of what you need exactly ?

ping!


Percy bug with the GitHub funding panel's heart icon

This does not affect any rendering in any real browser, but it's consistent in Percy. Logging here so I can move on with today's work.

FYI, this fails also on a iPad (Safari)
iPadOS 17.5 (21F79)

It's also bugged on iPhone 👀

Oh and now when I test it in Safari it's broken for me too! Must have been a caching issue with Safari.
Actually. Now I test it again, it's broken on Safari, Chrome, and Firefox! How was I not able to reproduce this?!


[13.0.x] ISPN-13499 Ickle fulltext query not working with query parameters

https://issues.redhat.com/browse/ISPN-13499
Backport of #10021

@fax4ever integrated, thanks!!

Great, thank you!


'DEBIAN7' for property vm_image_type is not an allowed choice" error on deploy

I just suddenly got this error this morning when I tried to deploy. I've been deploying successfully for months and this deploy contained a merely cosmetic change to my app so I think this is rather strange.
...
738c23a13a19: Layer already exists
31cb62ec9f95: Layer already exists
0a79470cd5e1: Pushed
dd6426b5d02d: Pushed
latest: digest: sha256:3438c3544a6144ee5890081bc4cab80dfcff9c9242e2573d85c7ac910dc2d2df size: 3460
DONE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Updating service [default] (this may take several minutes)...
.....................failed.
ERROR: (gcloud.app.deploy) Error Response: [13] Unexpected Error. (Value u'DEBIAN7' for property vm_image_type is not an allowed choice)

update: When I re-deployed, I did not experience the error, so this might be something rare/unstable
note: originally posted https://github.com/GoogleCloudPlatform/google-cloud-ruby/issues/1869

Note that, as described in https://github.com/GoogleCloudPlatform/google-cloud-ruby/issues/1869 this error seemed to be intermittent: on a retry, the deployment succeeded.

@sam0x17 An update: The App Engine team is investigating this now. We've rolled back a release that was in progress today, that may have been involved. If you see this error again, please let me know. (As you observed earlier, if a deployment does fail in this way, you may have success simply retrying it.) Otherwise, I'm tracking our internal issue, and will let you know if there are significant updates.

no problem! glad to help


Provide command args to main!

This provides the list of command line arguments to the main! function. I did this Roc-side instead of Rust-side because it's simpler and there doesn't seem to be a benefit to a fancier, FFI-based provision of args.

This is soft-blocked on implementing Str.from_utf8_lossy/Str.from_utf16_lossy for handling our new plan of a proper Arg type.

We could implement without, but it'd be better to just do things in the right order.


Do not create streams after a GOAWAY has been received

Do not create streams after a GOAWAY has been received.
Fixes #19969

Issues : #19819, #19422

Thanks for reviewing!


Clicking on linter links browses you away to the URL instead of new tab / window

Clicking on a rule link in eslint (and I assume others) opens it in the same window as code-server. Ideally this would open in a new tab (in browser) or open it in a browser window (PWA).

Web Browser: Chrome 84
Local OS: macOS
Remote OS: Ubuntu
Remote Architecture:
code-server --version: 3.5.0 de41646fc402b968ca6d555fdf2da7de9554d28a

Nice catch!

Yeah, same issue is with me ,
When I hit ,
Code-server ./path
It opens in new tab of vs-code.
How to open it in browser ?

@VinayChaudhari1996 If ./path is a directory it should open in a new browser tab. If it's a file it'll open in a VS Code tab. There's no way to override that behavior currently.

@VinayChaudhari1996 If ./path is a directory it should open in a new browser tab. If it's a file it'll open in a VS Code tab. There's no way to override that behavior currently.

Basically , I'm using code server inside docker container of npm app.

./path : is a directly containing files ,

Does it just never open at all? It might be getting blocked by the browser's popup blocker.
If that's not the case for you then could you be point me to the image or the Dockerfile so I can try it out?


Need a Documentation file

I've been trying to use the engine for a short time, but it's very confusing. I know it's been a while since the engine was updated, but I needed a documentation file to be able to continue using the engine. I even tried to access the discord link but it says the invitation is invalid

I have no idea if you're still looking for the invite link, but this link should work (I grabbed it from the itch page)
https://discord.gg/njvUdff

Documentation is required but missing for a very long time
But no one have free time to make it
We're happy to know if someone could spend their time to make one
But for now, this is not planned for us

ah. I found this on there and its helping me out a bit at least: https://docs.google.com/document/d/1Z3522rB_iudRIpaj6EOw9KFZJre4gA3ZzgC5G-CM8WQ/edit


fix: change how triggers are sent

This PR does a few changes on how triggerEvents are generated and sent.
The changes are made to allow for rate-limiting the sending of analog values without loosing values inbetween.
For example when moving a jog-weel, the delta-values we receive from the device are [1,1,1,1,1,-1,1,1], but we apply rate-limiting when senting the values, we should just send [1,4,1].
This is achieved by letting the devices themselvs handle accumulation of previous values, and then queried (by InputManagerHandler for the latest updated trigger at the time of sending, using device.getNextTrigger().

Thanks @jstarpl, I have refactored the implementation to not send getNextEvents() in the emitted event. It was a pretty wierd thing to do, now that you had mentioned it :)


Disable context menu

Description
Changes the context menu example for MenuAnchor so that it uses right-click, or (on macOS and iOS only) ctrl-left-click, for the context menu. Also disables the browser context menu on web platforms.
Tests

Updated test to reflect new triggers.

This is great, makes the demo work just like you'd expect. Should MenuAnchor take care of disabling web context menus (perhaps optionally) itself?

Should MenuAnchor take care of disabling web context menus (perhaps optionally) itself?

No, because we can't know what they will bind to opening the menu. It doesn't make sense to disable it unless it's using the same key/button binding as the browser menu.

Good point. Still, using the same event as the browser to trigger opening the menu is likely to be a common case, so we're making writing portable code a bit more tedious. What if MenuAnchor set up itself up as a right-button context menu - with the platform-specific triggering event tweaks from your example - and disabled the browser menu by default. And we allowed developers to easily defeat the default behavior?

We could make a constructor for MenuAnchor that did that for you, perhaps, but MenuAnchor is a general purpose menu class, not just for context menus.  Could be that you just want it to open a menu on a dropdown, and you don't want it disabling the browser context menu in that case.
I think including it in an example does at least help surface it, although it would be better in the docs, and maybe a special constructor for context menus.


Added 'view all' functionality.

View all should now display all users.
On click it becomes "View less", which reverts to the paged view.

looks great! you had accidently changed the main page and had a merge conflict so i resolved it leaving your name on the commit and merged it. Thanks on your first successful commit!


Move CertificateFactory code to the app

See https://github.com/theodi/open-data-certificate/pull/1164 for discussion

This is good to be merged into staging once the tests have passed. I'll then do a test run on the live box (BTW https://data.birmingham.gov.uk/ is CKAN powered)
@pkqk I'll open up some issues around the things you raised in the previous PR, and get them into next week's sprint


doubt

Hi,
Thank you for your work, but can you help me in resolving doubt about how do we get the threshold value????
    if data_model=='UCSD':
        threshold=0.00026
    elif data_model=='Avenue':
        threshold=0.00040

once again thank you for great work and everything with comments I really appreciate your efforts

@t-v-k-git you are welcome.
The threshold values were set after testing the respective models on the respective test sets. So after these values, we were able to spot the anomalies.

Let me know if that helps you and I'll close this issue.