Add file reference adds name attribute but not name

Context 🕵♀
I am using your library and already created a UI App to add targets with scheme etc .. The aim is to let product managers to add new products to the project and pushing it using an interface. Then they gonna run a bitrise workflow to build it and upload a store build. (All Done perfectly except 1 thing)
I add a file reference for the app bundle to the Products PBXGroup:
**product** = addFile(at: Path(targetName + ".app"), sourceTree: .buildProductsDir, sourceRoot: Path(projectFolder), override: true, validatePresence: false)
Then I add the Target giving the reference product:
let target = PBXNativeTarget(name: targetName, buildConfigurationList: configurationList, buildPhases: buildPhases, buildRules: [], dependencies: [], productInstallPath: nil, productName: "StoreFront-App", product: **product**, productType: .application)
All good.
What 🌱
The element on question here is:
XXXXXXX /* Test App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; lastKnownFileType = wrapper.application; name = "Test App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
It runs perfectly in Xcode. The problem is in Bitrise which have a step to Analyze the project.
Bitrise expects to find the path attribute while your library sets the name attribute instead.
On adding targets from Xcode. Xcode adds a path attribute not name:
XXXXXXX /*Test App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; path = "Test App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
Even that Xcode can fix that. Bitrise checks the path attribute.
I opened project file as text and made that change manually without opening project in Xcode and it passed Bitrise.
Bitrise Error:
Analyzing project
failed to find build project: could not get scheme with name "Scheme Name" from path App.xcworkspace
Proposal 🎉
Insert both path and name attributes maybe.
Thanks a lot amazing library.

In the addFile function path is set to nil for the .buildProductsDir source tree value. That make sense. But, I am pretty sure that Xcode default behavior sets it.
```
@discardableResult
func addFile(
    at filePath: Path,
    sourceTree: PBXSourceTree = .group,
    sourceRoot: Path,
    override: Bool = true,
    validatePresence: Bool = true
) throws -> PBXFileReference {
    let projectObjects = try objects()
    if validatePresence, !filePath.exists {
        throw XcodeprojEditingError.unexistingFile(filePath)
    }
    let groupPath = try fullPath(sourceRoot: sourceRoot)

    if override, let existingFileReference = try projectObjects.fileReferences.first(where: {
        // Optimization: compare lastComponent before fullPath compare
        guard let fileRefPath = $0.value.path else {
            return try filePath == $0.value.fullPath(sourceRoot: sourceRoot)
        }
        let fileRefLastPathComponent = fileRefPath.split(separator: "/").last!
        if filePath.lastComponent == fileRefLastPathComponent {
            return try filePath == $0.value.fullPath(sourceRoot: sourceRoot)
        }
        return false
    }) {
        if !childrenReferences.contains(existingFileReference.key) {
            existingFileReference.value.path = groupPath.flatMap { filePath.relative(to: $0) }?.string
            childrenReferences.append(existingFileReference.key)
        }
        return existingFileReference.value
    }

    let path: String?
    switch sourceTree {
    case .group:
        path = groupPath.map { filePath.relative(to: $0) }?.string
    case .sourceRoot:
        path = filePath.relative(to: sourceRoot).string
    case .absolute,
         .sdkRoot,
         .developerDir:
        path = filePath.string
    default:
        path = nil **// <-- HERE**
    }
    let fileReference = PBXFileReference(
        sourceTree: sourceTree,
        name: filePath.lastComponent,
        explicitFileType: filePath.extension.flatMap(Xcode.filetype),
        lastKnownFileType: filePath.extension.flatMap(Xcode.filetype),
        path: path
    )
    projectObjects.add(object: fileReference)
    fileReference.parent = self
    if !childrenReferences.contains(fileReference.reference) {
        childrenReferences.append(fileReference.reference)
    }
    return fileReference
}


Library Use

Please what can I use this library for in real life scenario.
I know I can use it to get distance of coordinate from a point... But I need to know more I can use it for...
Thanks...

The documentation has plenty of examples for using phpgeo: https://phpgeo.marcusjaschen.de/


fix: Question panel dark mode color

What

Fixes question panel color for dark mode.

Impacted files

summary_card.dart

Screenshot

Before

After

Fixes bug

#1040

Part of

https://github.com/openfoodfacts/smooth-app/issues/684

Actually @GowthamGoush, what does it look like in darkmode

Actually @GowthamGoush, what does it look like in darkmode

Oops.. let me add a screenshot of that.

Fixed in #1323


Default target framework and mock framework

Hi
Just want to start by saying that this extension is the best thing since sliced cheeeeszzee.
Installed product versions

Visual Studio: 2017
This extension: newest

Description
Is it possible that the tools->options can get a "IsDefault" for the test framework and the mock framework. So i don't need to change to NUnit and NSubstritute, which is my companies weapon of choice...
Regards, Rik

The extension has logic to try and set those automatically by checking the .csproj for assembly and nuget references. Can you share the .csproj for the project you're using, so I can find out why the auto-detect logic isn't working for you?

@RandomEngy so that is why it sometimes finds the right stuff.
Our issue is that the test projects are old, and even though we use NUnit and NSub now, have used others in the past.
So unfortunately finds the wrong ones :-/
Strange thing is, we do not have VS test framework in tests but always finds that first.
I will see what I can find :-)
So this issues should be to assign a default, when more than one framework is present :-)
Br Rik

It should be finding VS Test framework as a "last resort" if it doesn't find another framework. Would still be handy to see the .csproj file as there might be something more going wrong. Still, it's a good idea; I'll add a "preferred framework" feature to the backlog, to use when multiple frameworks or no frameworks are found.

Hi @RandomEngy  I found an example. The Test framework is incorrect, the mock framework is correct.

I have provided the csproj using email.

Released 1.8.0, which does several things to help:

Fixes an issue you were running into where framework references weren't getting detected if they were PackageReferences in a .csproj that uses the msbuild namespace.
Adds an option to set the "preferred" mock and test framework that it will pick if it detects 0 or multiple frameworks.
Adds display for the list of detected frameworks on the "create" dialog.


CRUD generator

The project should have the ability to generate schema, resolvers and database for specific graphql type. Specifying plain type should generate crud based queries.
Features

Fragments
Filtering
Pagination
Single edits
Relationship queries
Selecting what elements from CRUD can be generated

@ankitjena This is really low on details as it describes what projects has already.
Some of the new things will be included as separate issue. Feel free to extend that issue over the time. Some of this can land in documentation as well.


Feature request: "-use-advanced-config" flag for binary distribution

Since you've added self-update for binary distribution - thanks! - could you please add the CLI option to use advanced config - same as used by docker image ghcr.io/arriven/db1000n-advanced mentioned in the docs.
It's preferrable to add kind of -use-advanced-config flag instead of specifying exact config path, because when running the tool like
./db1000n -enable-self-update -с https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.adv.json

the binary eventually updates to 0.8, and config version 0.7 may become incompatible.
So, it would be awesome to be able to run the binary as:
./db1000n -enable-self-update -use-advanced-config

Hi folks, thank you for your feedback!
Lemme see what we can do with this :)


[NEMO-436] (WIP) Dynamic re-configuration based on the Sampled Metric Data

JIRA: NEMO-436: Dynamic re-configuration based on the Sampled Metric Data
Major changes:

New Policy and Runtime Pass for DTS
New Prophet interface to gather data needed in RunTime pass

ParallelismProphet launches simulation scheduler and gathers stage duration per task size

Added RunTimePassType in Control Message and changed information sending logic to include this.

Minor changes to note:

updated PlanRewriter for DTS

Tests for the changes:

New test cases for DTS (WordCount, ALS)

Other comments:

This PR is based on #292 , therefore, it needs to be merged after #292 .
This is a work-in-process PR. Some issues will have to be solved before being merged.

Closes #293

@polarcoke2 Can you update the branch to meet with the master branch? I'll take a look afterwards. 😄

I've addressed the problems you've pointed out. Can you please check again?

@wonook @johnyangk I've handled change requests from @johnyangk . Please take a look! Thanks :)


Changes to "How to use" wiki page

Just a couple quick suggestions for the how to use wiki page.

I think it would be useful to mention SMF's bone scaling limitation in the wiki.
The armature modifier in Blender can be changed to better reflect SMF's dual quaternion approach by checking the "Preserve Volume" option in the armature modifier: https://files.slack.com/files-pri/T0QDQGJQG-F02MS5XQW6R/image.png

Added some information on the "Preserve Volume" option here: https://github.com/blender-to-gmstudio/blender-to-smf/wiki/How-To-Use#armature-modifier-settings

For the first suggestion: do you mean the limitation on armatures where there is a difference in scale (#22)? The fact that SMF uses dual quaternions and so cannot store a scale factor? Or something else?

I was referring to the fact that SMF uses dual quaternions so it doesn't store the scale factor. I didn't tell my animator about the bone scaling limitations, so when he scaled the bones in blender and wasn't seeing results in the game he thought it was a glitch.

Also added a paragraph on bone scaling limitations now over here: https://github.com/blender-to-gmstudio/blender-to-smf/wiki/How-To-Use#bone-scale.


Fix for Issue #93: Collection associations can be overwritten if made while release branch is opened

Github Issue: #93
Overview of work done
Removed code from build pipeline that causes this issue.
Overview of verification done
Executed build
PR checklist:

[ ] Linted
[ ] Updated unit tests
[x] Updated changelog
[ ] Integration testing

See Pull Request Review Checklist for pointers on reviewing this pull request

@skorper
I removed that step, because it's only executed when the PR name contains "release" and targeting the main branch. It updates the cmr association with the local data, which was the cause of the related issue.
If you think it should not be removed, I do not see any way to fix the related issue where an update on release happens and overwrites the data.
If we expect that update on release, then the related issue is not an issue anymore but an expected behavior.

We need to be able to do both. We need to be able to update the umm-s record in UAT when there is a release branch open and we also need to be able to update cmr association data. What we want to avoid is if a new association happens while a release is open, merging the release should not discard that new association that was made.
Probably the easiest fix is a process change where the individual managing the release checks and makes sure no new associations were added during the time the release was open and if there were, to pull those in to the release before merging to master.

@frankinspace  If you can point out what counts as a newer association (higher version or other factors too?), then I can make changes to the updater to ignore those situations


Invalid json output:

Describe the bug
I believe output parser is not wokring correctşy with newset version and the following versions (1.31.0b1, 1.28.0b4, 1.27.0), even a simple inference ends up with Invalid json output. I have my own json output parser is there any way to disable parsing in lib.
Thnx in advance for the great repo.
To Reproduce
Steps to reproduce the behavior:
1.I just use smartscrapegraph
Expected behavior
Invalid json output error will be thrown

ok show me the conf

graph_config = {
"llm": {
"api_key": "MyKey",
"model": "openai/mymodel",
"base_url": inference_endpoint
},
"verbose": True,
"headless": False
}
I keep verbose True and headless False for debugging purposes. For temporary solution I am getting the error message and parsing it myself.
| scrape_graph_inference | CONTENT | Invalid json output: Here is the output in JSON format:
{
"desired_json_key": "........."
} | TYPE: <class 'langchain_core.exceptions.OutputParserException'>

I check the json response is coming actually. I am not using guided decoding etc.
I am not using openai, I am using vLLM openai compatible server.


Differing behavior of extend type and @extends on a type

Currently (from what I can tell) codegen treats extend type and @extends differently when generating constants. If a type is declared with @extends then it is included in the DgsConstants generated file but then dgs can't construct a proper schema because two types annotated with @extends are marked as a type being redefined. If we use just extend type, then schema construction works but codegen does not generate the type in constants.
This issue only really comes up in a multi-module project where you use extend type for all shared types. Using @extend allows the module to work but not the composite app. Using extend type allows the app to work, but not the module using the generated constants

Thanks for opening the issue. Currently, codegen ignores @extends completely. It also avoid generating constants for fields extend types which I imagine was done to workaround some conflicts, but has resulted in this bug. Will fix this in the next release.

@srinivasankavitha yep that is spot on! We have a work around by creating stubbed types that are ignored in the final schema.

It turns out we do support generation of constants in defined in extend type Z. But rereading your issue, I think I see the confusion better. In the DGS framework and codegen @extends is just a federation concept and is not processed by the codegen. Codegen only recognizes extend type. So the result is that you will need to use extend type TypeA @extends for any type that is an extension (extend for codegen and @extends if it's federated).
This I admit is a bit confusing, but we do treat them differently as codegen since our basic assumption is that @extends is a federation specific directive.

@srinivasankavitha It did end up working as you described! I needed to split out duplicated types from modules for the final schema generation, but this unblocked me 🎉 thank you!


Support for TM1 v12

Version 12 introduces a number new concepts that are important for managing both cloud and cp4d installations. v12 changes the base URL for accessing TM1 and adds new authentication requirements. Overall the patterns for accessing and managing v12 instances will require considerable work to support in TM1py
New manage endpoint requires root credentials to interact
domain/manage/v1/Instances
Instances contain databases
domain/manage/v1/Instances('Instance Name')/Databases
Databases are what we normally understand as a TM1 instances, CRUD operations are available from the manage API
POST domain/manage/v1/Instances('instance')/Databases {     "Name": "{{databaseName}}",     "Replicas": 2,     "ProductVersion": "12.0.0-alpha.1",     "Resources": {         "Replica": {             "CPU": {                 "Requests": "1000m",                 "Limits": "2000m"             },             "Memory": {                 "Requests": "1G",                 "Limits": "2G"             }         },         "Storage": {             "Size": "20Gi"         }     } }
Applications are unique pools of users that can connect to a TM1 database (maybe instances?). From the manage endpoint you need to create and application. Upon creation a client secret is returned for storage and reuse
Connecting to TM1 Databases
To connect to a TM1 database the application credentials created above are required to connect. Use the new Auth endpoint to create a session
domain/instance/auth/v1/session
capture the TM1SessionID and using that session you can query the database root as normal
domain/instance/api/v1/Databases('Database Name')/

tm1-v12.http.txt

Thanks for opening the issue and providing context and samples.
I think we can aim for the next release (version 1.12 in roughly 3 months) with this feature.

Status Update for v12 Support
Changes Complete for Alpha Release Support

Changes to all service URL definitions
New methods to define the service root url
Support for service-to-service auth model
Expanded support for new endpoints like setting default members
Updates to all unit tests to ensure backwards compatibility
Added error checking for poorly configured OpenShift Networking domains which can lead to mal formed cookies and an invalid session
Updates to the FileService to support new resource path standards, new methods to get lists of items
New ManagerService to wrap the control plane API
New Util functions to test for version support in tests and services
New Exceptions for version deprecations
New Methods to update server logging levels
Fixed testing instantiation and tear-down issues

Changes Complete for GA Release Support

Small changes to URL construction to prevent trailing &
Significant changes to correct support for get_elements_datafram function

Level naming conflicts
Attribute property references

Changes to MDX construction to ensure the use of PROPERTIES
Fixed issues with ELISANC method to check for missing elements before execution
New method to extract session ID to bypass issues with domain definitions in CP4D
Fixed issue with getting servers from admin host
Updated the methods to used to turn version numbers into integers and related tests
Fixed problems introduced by new Compact JSON format
Fixed trace and check tests to use the new odata tag
Fixed issues with clear via MDX methods
Changed NativeViews to use MDXpy in tests.

Open Items for All Releases

Blob based interactions fail due to TS013587321
Search string tests and methods fail due to TS013610286
Execute MDX dataframe with attributes fails due to TS013764899
Views stored in applications return as Null, IBM aware
ServerService and MonitorService still need alot of work, many of the enpoints used have been deprecated. We may want to introduce new versions of these with ServerService12 and MonitorService12 or something similar

Tickets with IBM

TS013611120 -  TM1 Rest API returns incorrect cell cardinality when mdx query only has 1 axis - Closed No Issue

According to the OData standard, the response should contain the key property and/or the id control information. In v11 we choose to inject the id control information (the relative canonical URL to the entity) if the key (ordinal) property was not requested. In v12 we switched to including the key property instead (which makes the response less verbose).

TS013764899 - MDX query returning more properties than expected

It looks like this problem has been resolved in version 12.3.1 of the server. I've ran the testcase and the output is below. Please take a look and confirm the same to ensure I'm not missing something.

TS013610286 - [TM1-740] TM1 REST API, odata based string searches fails to find processes

this problem has been confirmed as a defect and has been logged accordingly. We will let you know of any meaningful updates, otherwise we will keep you informed about targets/fix expectations when we know more.

TS013587321 - TI NVALUE/SVALUE variable values set incorrectly during [MDX] view extract

Confirmed defect

We have PA version 12 environment, where we would like to use tm1py. This v12 feature is not yet in master branch, but is there development branch that we could use? I didn't find what I was looking for based on branch names, since best matching branch feature/tm1-12 was closed.
We could help with testing and further development, since we would anyway need these functionalities.

Hi @janus-t you can certainly test with my fork where I am doing the development. All of our work and testing so far has been focused on v12 On-Premises (aka Cloud Pak for Data). I have not tested it with v12 on Cloud.
https://github.com/rclapp/TM1py/tree/tm1-v12-ga-release-testing

Thank you for this. It seems that authentication differs a little bit for Cloud Pak for Data local compared to both Cloud Pak for Data on IBM Cloud and PAaaS on AWS. There is differences in both authentication url and payload contents. It could be that I have missed something with these two environments, but I have gotten rest api work on these with different approach.
This means I might have to modify whole authentication part on RestService to get this working with PAaaS on AWS for example. Then I can use everything else.

We likely need cloud specific methods as the SaaS version uses CloudPak as the authN provider. I imagine that over the long term we may need to offer a way to bring your own authN support.
From: janus-t @.>
Reply-To: cubewise-code/tm1py @.>
Date: Wednesday, November 15, 2023 at 7:00 AM
To: cubewise-code/tm1py @.>
Cc: "Clapp, Ryan" @.>, Author @.***>
Subject: Re: [cubewise-code/tm1py] Support for TM1 v12 (Issue #889)
Thank you for this. It seems that authentication differs a little bit for Cloud Pak for Data local compared to both Cloud Pak for Data on IBM Cloud and PAaaS on AWS. There is differences in both authentication url and payload contents. It could be that I have missed something with these two environments, but I have gotten rest api work on these with different approach.
This means I might have to modify whole authentication part on RestService to get this working with PAaaS on AWS for example. Then I can use everything else.
—
Reply to this email directly, view it on GitHubhttps://github.com/cubewise-code/tm1py/issues/889#issuecomment-1812413097, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEK7GZWEULP4T5NTVDTK3P3YESVFPAVCNFSM6AAAAAAWVT7HDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJSGQYTGMBZG4.
You are receiving this because you authored the thread.Message ID: @.***>

Hello all,
I don't know if  its the right place to  talk about it but I'm using PA as a Service hosted on AWS for a client and I did some work with postman  to update the data base and authenticate me to PA. The way to authenticate has changed with the V12 as said before. It use IAM with API keys and bearer token. With it, you can retrieve an access token in the response body. Does the futur version of TM1py will suppport it. If it's needed I could help to implement it.

Yes. The future version of TM1py must support this.
Your contribution would be very much appreciated. Please feel free to open a PR.

We can use all the help we can get. My hope is to have a public pull request for v12 support by the end of the year. Once that is done adding more auth methods will be much easier.
From: Wuzardor @.>
Reply-To: cubewise-code/tm1py @.>
Date: Friday, November 24, 2023 at 4:23 AM
To: cubewise-code/tm1py @.>
Cc: "Clapp, Ryan" @.>, Author @.***>
Subject: Re: [cubewise-code/tm1py] Support for TM1 v12 (Issue #889)
Hello all,
I don't know if its the right place to talk about it but I'm using PA as a Service hosted on AWS for a client and I did some work with postman to update the data base and authenticate me to PA. The way to authenticate has changed with the V12 as said before. It use IAM with API keys and bearer token. With it, you can retrieve an access token in the response body. Does the futur version of TM1py will suppport it. If it's needed I could help to implement it.
—
Reply to this email directly, view it on GitHubhttps://github.com/cubewise-code/tm1py/issues/889#issuecomment-1825371400, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEK7GZXZBMBEOFGLBAZZTVLYGBRQ7AVCNFSM6AAAAAAWVT7HDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRVGM3TCNBQGA.
You are receiving this because you authored the thread.Message ID: @.***>

Solved with #1000


Bug Report: Errors using front end to edit some values in Neptune backend.

Metadata service errors when I use the frontend to add owner or bookmark to Neptune backend
I currently have our Amundsen system running against an AWS Neptune back end. Databuilder ingestion seems to work ok. I can use the front end to make edits to things like column descriptions but when I try to use the front end to add a dataset owner I get the following from the metadata service:

2021-05-19T18:10:08+0000.667 [INFO] shared.retrying:63 (132:Thread-5) - exception  is not retryable
2021-05-19T18:10:08+0000.668 [WARNING] gremlin_proxy.call:229 (132:Thread-5) - got exception executing query=[['V'<EMAIL_ADDRESS>get=<bound method FromResultSet.getOnly of <class 'metadata_service.proxy.gremlin_proxy.FromResultSet'>>, bindings=None
Traceback (most recent call last):
File "/app/amundsenmetadatalibrary/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/gremlin_proxy.py", line 227, in call
return retrying(callable, is_retryable=self.is_retryable)
File "/app/amundsenmetadatalibrary/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/shared.py", line 58, in retrying
return callable()
File "/app/amundsenmetadatalibrary/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/gremlin_proxy.py", line 225, in callable
return ClientQueryExecutor.call(self, query, get, bindings=bindings)
File "/app/amundsenmetadatalibrary/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/gremlin_proxy.py", line 205, in call
return get(result_set)
File "/app/amundsenmetadatalibrary/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/gremlin_proxy.py", line 162, in getOnly
value = next(i)
StopIteration

The added owner ID does not subsequently show up in the front end
I also get similar behaviour when trying to bookmark a dataset:

2021-05-24T18:01:36+0000.773 [INFO] shared.retrying:63 (27:Thread-11) - exception  is not retryable
2021-05-24T18:01:36+0000.773 [WARNING] gremlin_proxy.call:231 (27:Thread-11) - got exception executing query=[['V', 'User:test_user_id']], get=<bound method FromResultSet.getOnly of <class 'metadata_service.proxy.gremlin_proxy.FromResultSet'>>, bindings=None
Traceback (most recent call last):
File "/app/amundsen/metadata/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/gremlin_proxy.py", line 229, in call
return retrying(callable, is_retryable=self.is_retryable)
File "/app/amundsen/metadata/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/shared.py", line 58, in retrying
return callable()
File "/app/amundsen/metadata/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/gremlin_proxy.py", line 227, in callable
return ClientQueryExecutor.call(self, query, get, bindings=bindings)
File "/app/amundsen/metadata/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/gremlin_proxy.py", line 207, in call
return get(result_set)
File "/app/amundsen/metadata/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/gremlin_proxy.py", line 164, in getOnly
value = next(i)
StopIteration
2021-05-24T18:01:36+0000.774 [ERROR] user.put:154 (27:Thread-11) - UserFollowAPI PUT Failed
Traceback (most recent call last):
File "/app/amundsen/metadata/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/api/user.py", line 147, in put
resource_type=to_resource_type(label=resource_type))
File "/app/amundsen/metadata/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/statsd_utilities.py", line 38, in wrapper
return f(*args, **kwargs)
File "/app/amundsen/metadata/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/gremlin_proxy.py", line 1575, in add_resource_relation_by_user
vertex2_label=vertex_type, vertex2_key=id)
File "/app/amundsen/metadata/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/gremlin_proxy.py", line 584, in _link
executor(query=g.V(vertex1_id), get=FromResultSet.getOnly)
File "/app/amundsen/metadata/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/gremlin_proxy.py", line 229, in call
return retrying(callable, is_retryable=self.is_retryable)
File "/app/amundsen/metadata/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/shared.py", line 58, in retrying
return callable()
File "/app/amundsen/metadata/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/gremlin_proxy.py", line 227, in callable
return ClientQueryExecutor.call(self, query, get, bindings=bindings)
File "/app/amundsen/metadata/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/gremlin_proxy.py", line 207, in call
return get(result_set)
File "/app/amundsen/metadata/venv/lib/python3.7/site-packages/amundsen_metadata-3.5.0-py3.7.egg/metadata_service/proxy/gremlin_proxy.py", line 164, in getOnly
value = next(i)
StopIteration
2021-05-24T18:01:36+0000.775 [INFO] _internal._log:122 (27:Thread-11) - <IP_ADDRESS> - - [24/May/2021 18:01:36] "PUT /user/test_user_id/follow/table/Table:oracle://t01edw.bi_edw/wc_trading_activity_summary HTTP/1.1" 500 -

Steps to Reproduce

Establish Amundsen with Neptune back-end
Populate with test data using the sample data
Attempt to add/modify the owner of an existing dataset using the frontend

Your Environment

We are using the 3.3.0 front end but the latest (3.7.0?) version of the metadata service.
Neptune instance on AWS - latest version on db.t3.medium
Elasticsearch running on AWS also - version 6.7
Amundsen microservices running on docker containers on WSL2

I did some further investigation here and it would appear that the proxy in its current state will only add the ownership relationship if the user to be added already exists as a vertex in the database.
Comparing with the Neo4j proxy this does a pre-emptive MERGE so that, if the user does not already exist, one is created. No such checking or handling is done in the gremlin proxy.
From my limited research there does not appear to be an equivalent to MERGE in Gremlin. There seems to be a preferred workaround (described here: https://stackoverflow.com/questions/49758417/cosmosdb-graph-upsert-query-pattern). We could maybe incorporate this with something like:
g.V().has('User','key','fred@cmc.com').
fold().
coalesce(unfold(),
       addV('User').
       property(id, 'User:fred@cmc.com').
       property('key','fred@cmc.com').
<EMAIL_ADDRESS>)

Obviously replacing the literal email with the supplied string. I've tested this in a Gremlin console and it appears to work.

Further to this - I noticed, from the way Tags are handled, that there is an _upsert method that can do what we want.
I modified the _add_owner method as follows:
def _add_owner(self, *, table_uri: str, owner: str, executor: ExecuteQuery) -> None:
        _upsert(executor=executor, g=self.g, label=VertexTypes.User, key=owner,
         key_property_name=self.key_property_name, email=owner, is_active="true")
        _link(executor=executor, g=self.g, edge_label=EdgeTypes.Owner, key_property_name=self.key_property_name,
              vertex1_label=VertexTypes.Table, vertex1_key=table_uri,
              vertex2_label=VertexTypes.User, vertex2_key=owner)

Note there is now a call to _upsert.
This has the desired effect of creating the User node if it does not exist. The method proceeds to add the relationship.
However - there is a slight glitch in the way the front end works here and the owner field is not visible immediately. Instead we get "There was a problem with the request, please reload the page". I can see from chrome tools that we are getting an error:

POST http://localhost:5000/api/mail/v0/notification 501 (NOT IMPLEMENTED)

This happens even if the user already exists beforehand. The error does go away when the page is refreshed and the new owner is displayed.
Some other concerns I have are:

Are there other properties we should be setting here?
The relationship appears to be only created in one direction (same as for Tags). They are bi-directional when loaded with databuilder.

This is still unresolved

This is still unresolved, thanks

This is still unresolved, thanks


Let prow run make generate instead of travis

What this PR does / why we need it:
Travis takes too long, move the generate step to prow.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

/lgtm
/approve

Taking in some trivial PRs to help prow a little recovering.


Pr/slaac utility

Fixes #651

Current coverage is 69.89% (diff: 46.22%)

Merging #698 into master will decrease coverage by 0.29%

@@             master       #698   diff @@
==========================================
  Files            97         98     +1
  Lines         13680      13744    +64
  Methods        1883       1893    +10
  Messages          0          0
  Branches       1604       1611     +7
==========================================
+ Hits           9601       9606     +5
- Misses         3591       3646    +55
- Partials        488        492     +4

Powered by Codecov. Last update fc20a0f...b6ad61c

LGTM 👍 Really cool!


Add Podcast section and first entry

Found a cool podcasts which explains the basics for newbies (like myself) and wanted to contribute that.
I didn't know where to put, thus the new subsection. Cheers.

greate idea. Can you please also add the OPC UA Podcast:
https://opcfoundation.org/resources/podcast/

thank you


Use touch-action: none

fixes #126726
I tried this out on my iPad and does not seem to break anything.
I am not sure if the touch is more snappy, that is debatable.
I played it safe and am only doing this for the web. Not sure if this might break some touch laptops, though it should not and I do not mind doing this always, not only for web.
Adding @rebornix as a reviewer since he touched that line last

Given this was introduced via https://github.com/microsoft/vscode/commit/5d0fd48922b0e97e5c6df80d40398211e819b86d from Pung, I feel he should comment on this change.


Don't have edit profile think that the SM is ready for a move if they haven't any backup contacts

Description
is_profile_complete was returning true when backup_contacts were empty. This checks that case.
Code Review Verification Steps

[ ] All tests pass.
[ ] Code follows the guidelines for Logging
[ ] The requirements listed in
Querying the Database Safely
have been satisfied.
[ ] Any migrations/schema changes also update the diagram in docs/schema/dp3.sqs
[ ] There are no aXe warnings for UI.
[ ] This works in IE.
Any new client dependencies (Google Analytics, hosted libraries, CDNs, etc) have been:

[ ] Communicated to @willowbl00
[ ] Added to the list of network dependencies

[ ] Request review from a member of a different team.
[ ] (TRIAL) Have the Pivotal acceptance criteria been met for this change?

References

Pivotal story for this change

@macrael the backup contacts were always coming back as an empty array--removing the pointer fixed that.


Add CMake target for every remaining library

This should, in principle, enable a full Au installation via CMake!
I took a more expansive view of which libraries are "for public
consumption" relative to bazel.  The old division was based on a strong
expectation that users would always want to include one or at most a
very few files, before we fully appreciated the benefits of file-by-file
inclusion for build speed.  I'll bring bazel in line in a follow up PR.
In making these CMake targets, I discovered two small irregularities in
their bazel counterparts --- namely, a missing dependency, and a bizarre
copts line that I think came from a stray default vim snippet.  I
fixed them in this same PR.
Helps #215.  In order to resolve it fully, we'll need to tidy up our
documentation posture w.r.t. CMake.

Did we want to support no_wconversion_test.cc in CMake?

Did we want to support no_wconversion_test.cc in CMake?

Sorry, I should have mentioned: I decided to skip that one, as well as error_examples.cc.  I think we get all the value we need from those out of bazel.  If I'm wrong about that, we can add them later.


Update sbt-scoverage to 1.6.1

Updates org.scoverage:sbt-scoverage from 1.6.0 to 1.6.1.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scoverage", artifactId = "sbt-scoverage" } ]

labels: semver-patch

Pull Request Test Coverage Report for Build 60

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 5 files lost coverage.
Overall coverage remained the same at 75.658%

Files with Coverage Reduction
New Missed Lines
%

sequentially/src/main/scala/com/evolutiongaming/concurrent/sequentially/AsyncHandlerMap.scala
1
87.5%

sequentially/src/main/scala/com/evolutiongaming/concurrent/sequentially/AsyncMap.scala
1
83.33%

sequentially/src/main/scala/com/evolutiongaming/concurrent/sequentially/SequentiallyHandler.scala
1
95.45%

sequentially/src/main/scala/com/evolutiongaming/concurrent/sequentially/Sequentially.scala
1
88.1%

sequentially/src/main/scala/com/evolutiongaming/concurrent/sequentially/SequentialMap.scala
1
95.45%

Totals

Change from base Build 58:
0.0%

Covered Lines:
115

Relevant Lines:
152

💛  - Coveralls


[DAF-3940] [iOS] Auto pip not run when video is loading (when seeking, bufferring..)

Description
Auto pip is not run when video is loading
Problem

AutoPiP doesn't work if video is pause

Current logic code:

Pause video when seeking
Set flag automaticallyWaitsToMinimizeStalling = false -> video will pause when buffer is empty (ref)

If the value of this property is false, playback will start immediately when requested as long as the playback buffer is not empty. If the playback buffer becomes empty and playback stalls, the player’s timeControlStatus will switch to AVPlayer.TimeControlStatus.paused and the playback rate will change to 0.0.

Note: There is a bug when play and pausing video on PIP mode (cannot play video after press multi times play pause button), I will resolve it on next PR

Solution

Prevent pause when seeking video
Remove statement automaticallyWaitsToMinimizeStalling = false

What was done (Please be a little bit specific)

Change rate of player when seeking instead of pause

Handle case seekbar jump by another way

Reference
JIRA
https://dw-ml-nfc.atlassian.net/browse/DAF-3940

@noboru-i
I added comments. Thank you.
https://github.com/dwango-nfc/betterplayer/pull/23/commits/305e57e40fbbf6eb6c7c43cced57a24cf6ce9db9


Move deepEquals and deferences from extensions to Expression class

close: #1928

Move deepEquals and deferences to Expression class
Move accessProperty, SetProperty, accessIndex to expressionFunctions class
Rename TemplateParser to TemplatesParser

Pull Request Test Coverage Report for Build 114327

99 of 125 (79.2%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 81.498%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/adaptive-expressions/src/memory/simpleObjectMemory.ts
5
6
83.33%

libraries/adaptive-expressions/src/expressionFunctions.ts
29
31
93.55%

libraries/adaptive-expressions/src/constant.ts
0
5
0.0%

libraries/adaptive-expressions/src/expression.ts
51
69
73.91%

Totals

Change from base Build 114205:
-0.2%

Covered Lines:
9315

Relevant Lines:
11009

💛  - Coveralls


[admin] merge to live

Docs Build status updates of commit 2d8bb79:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/how-to-open-a-spreadsheet-document-from-a-stream.md
:white_check_mark:Succeeded

docs/how-to-open-a-word-processing-document-for-read-only-access.md
:white_check_mark:Succeeded

docs/how-to-open-a-word-processing-document-from-a-stream.md
:white_check_mark:Succeeded

docs/how-to-open-and-add-text-to-a-word-processing-document.md
:white_check_mark:Succeeded

docs/how-to-parse-and-read-a-large-spreadsheet.md
:white_check_mark:Succeeded

docs/how-to-retrieve-the-values-of-cells-in-a-spreadsheet.md
:white_check_mark:Succeeded

docs/how-to-search-and-replace-text-in-a-document-part.md
:white_check_mark:Succeeded

docs/how-to-set-a-custom-property-in-a-word-processing-document.md
:white_check_mark:Succeeded

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


_posts/0000-01-02-lakshmi-sahithi.md

created a branch
created a file and made a commit
and opened a pull request

add new file


Document ignore

Ref https://github.com/client9/misspell/issues/88#issuecomment-255312689

Sorry the delay here.  I'm not sure how I missed this.
thanks so much.
n


Disable hwaccels in libMpeg2Transcoder/ffmpeg

This fixes a compile time error, caused by hwaccels in ffmpeg being dependant on h264 encoders. Since hwaccels aren't being used, they should be turned off along with all the other unused parts anyway.

What was the compile time error you were getting? No one else has run into this issue yet and many people have compiled it without issue.

/home/barberio/Developer/sagetv/third_party/ffmpeg/libavcodec/libavcodec-minimal.so: undefined reference to `ff_h264_get_slice_type'
collect2: error: ld returned 1 exit status

Caused because --disable-decoders doesn't imply --disable-hwaccels, despite hwaccels having dependancies on various decoders. This will only show up if your build environment has the correct dev headers for ffmpeg's configure script to try and enable hwaccels. (ie, nvdec/libva...)


Use haproxy_extra_services for ES and Kibana

This commit also removes the haproxy playbook and role.
Kibana and Elasticsearch HAProxy settings will now be
configured using the OSA haproxy role, via the
haproxy_extra_services variable implemented in this PS:
https://review.openstack.org/#/c/329665/2
Connects https://github.com/rcbops/rpc-openstack/issues/1663
(cherry picked from commit 391b11efc5a17778f787b581fa466b228667f691)
Signed-off-by: Matthew Thode<EMAIL_ADDRESS>

recheck_ceph
recheck_xenial

recheck_ceph

recheck_ceph

recheck_ceph

recheck_ceph


2.x Apply refactor work to dashboard server + binding some components as eagerSingletons

NetflixOSS » eureka » eureka-pull-requests #362 SUCCESS
This pull request looks good


Add release drafter

This will include all merged PRs in the release template for better bookkeeping.
Reference: https://github.com/release-drafter/release-drafter
Closes #44

nice! how can you test if this is working before merging it?

nice! how can you test if this is working before merging it?

I think it can be tested with a different branch name or in a downstream fork.

Not sure if it's possible, or if it's worth checking. This can be merged straightaway already, CI does not matter for this. Once merged the draft should appear in the releases section.


Using version 1.10 and above of p5.js breaks any sketch that involves the fill feature

For some reason, using the more recent versions of p5.js beyond 1.9.4 causes any sketch with a fill feature to break, in that the buffers get shifted around. Things shift from the center of the screen to the origin, don't blend properly, don't draw at all, wrap oddly across the upper left and lower right quadrants, etc. I tested example sketches with the current version of p5.brush and back to v1.0.4 and it's the same behavior as far as I can tell.
Here you can see the example sketch with just the p5 version changed.

I think it has to do with the updates to how shaders are handled in p5 that started in 1.10, related to matrix operations and such.

By changing the values in this portion:
trans(){return this.translation=[s._renderer.uMVMatrix.mat4[12],s._renderer.uMVMatrix.mat4[13]],this.translation}
to
trans(){return this.translation=[s._renderer.uMVMatrix.mat4[13],s._renderer.uMVMatrix.mat4[14]],this.translation},
It brings it back somewhat.

But the hatching is screwy. Maybe where are more places where updates are required. But this seems to be a key line regarding the bug.
When using a sketch with only fill, it seems that using 12 and 13 makes things work.

It turns out the actual solution is to replace uMVMatrix with uModelMatrix, since in 1.10 uMVMatrix got split up into the model and view matrices. That seems to fix all the various issues.


Create experiment dialog does not display already existed subscriptions

Model Builder Version: In which Model Builder version was the bug encountered?
Visual Studion Version: In which Visual Studio version was the bug encountered?
Bug description
Steps to Reproduce

Select Image classification  from scenario page
Select Azure  training
Click cancel button on create new experiment dialog
4.Again select Azure training
Click on subscription drop down in create new experiment dialo

Expected Experience
List of already existed subscriptions should be populated
Actual Experience
_
Additional Context
The bug is in our  latest branch not in our  February release

@zewditu can you sync with Becca? Is this something with the new environment tab ... or is this a regression in Master?

I think this is a dup of https://github.com/dotnet/machinelearning-modelbuilder/issues/539.  Its happening on the reload of the dialog right? Good find!

@JakeRadMSFT  , @beccamc  is right I am sure that it  is not because of environment tab.

Closing as duplicate of #539


[WIP] Guild bases

Category

Other

Feature description

As part of #144, player made guild bases should be added, to give players in a guild a place to call home.
These would be special maps that are like sub-sections of the main overworld that players can build guild structures inside of.
The entrances to these maps would be portals around the overworld that any player can enter through to reach the map.
No mobs would spawn in these guild maps.
Each guild map would have its own core geographic layout and natural features, and some resource nodes, depending on location relative to the overworld portal.
The guild base would serve various functions for the guild, allowing them to craft structures that can then be placed down with the base map they have claimed, giving them easier access to many facilities.
Guild structures can only be placed by a member of the guild that owns the base map
Guild structures can be placed down anywhere by any member of the guild that owns the base map
Guild structures cannot be placed outside of the guild base map. i.e. on the overworld/in a dungeon
Structures
Defensive
Wood wall
A basic obstacle to deny access to an area.
Metal wall
Like a wood wall but stronger.
Wood door
Like any door around the game world. Can be opened to move through. Blocks projectiles.
Metal door
Like the wood door, but stronger.
Locked wood door
A door that can only be opened when the correct code is entered. When placed, it starts with no code set. The first person to interact with it is able to set the code. When unlocked, it can be interacted with to set a new code.
Locked metal door
Like the locked wood door, but stronger.
Summoner (?)
Allow recruiting NPC mobs that the guild has unlocked.
Generator
Allows players to convert their glory into power for the guild. While a generator is active, prevents all other base structures from being damaged (generators are not protected and can still be damaged/destroyed). Any damage taken by structures is taken from the guild's stored power instead.
Facilities
Bank
Access to a player's personal bank. Can be used by anyone.
Chest
A shared storage space that any player can access. Can be used by anyone. Place behind a locked door for access control.
Crafting stations
All of the basic crafting stations can be added to a base. Can be used by anyone.
Workbench
Anvil
Furnace
Laboratory
NPC merchants
Various kinds of merchants that players can buy items from. Can be used by anyone.
Utility
Charter
Bought from a Ruler NPC merchant. Allows players to join the guild. Allows guild members to craft base structures like a crafting station.
Respawner
Allows guild members to respawn at the guild base. Adds another spawn option to the respawn panel while they are dead.
Register
Allows players to change their display name. Can be used by anyone.
Embroidery stand
Allows any guild member to change the guild banner. Can only be used by guild members.
Bookshelf
Increases the max level of a guild stat. There would be a bookshelf type for each stat.
Wind altar
Allows converting gems to wind gems.
Fire altar
Allows converting gems to fire gems.
Blood altar
Allows converting gems to blood gems.
Notes

The state of the guild base will need to be saved to the database ever time a structure is added or removed.

From further analysis and feedback, some problems with guild bases seem like they might be present:

Bases can get raided by other players when there is nobody around to defend it (i.e. in the middle of the night). Mobs (even if massively buffed) can be easily tricked into being lured away or killed with certain cheese tactics.
Bases can get griefed quite easily using low tier items to be annoying, without any major risk or investment from the attacker.
Guilds with fewer members would be at a huge disadvantage vs any larger guild if there were a limited number of maps for guild bases.

Alternate idea for how guild bases could work:

Guild base maps become instanced. Each base map portal around the overworld would show a list of all of the guilds with a base in an instance of that map (like how you can see a list of parties in the dungeon panel).
Anyone can enter the base of any guild at that location from that portal interface as a guest, but cannot attack things there.
Anyone can choose to raid a base by paying a large amount of glory (e.g. 5,000+) to enter the base with the ability to attack things.
Something like an "opening hours" mechanic could be added that the guild could set which would prevent the base from being raided outside of that time window.


Create a favicon for the project

Is your feature request related to a problem? Please describe. A clear and
concise description of what the problem is. Ex. I'm always frustrated when [...]
SvelteKit ships with a default favicon.png located at static/favicon.png. It's currently the SvelteKit logo. There are no designs for this, but a favicon related to the game of Connect Four would be great to have. Maybe the coin piece, but we leave it up to you to come up with a fun icon.
Describe the solution you'd like A clear and concise description of what you
want to happen.
A fun icon representative of the Connect Four game. Dimensions must be 128px x 128px
Describe alternatives you've considered A clear and concise description of
any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature
request here.

I can take a crack at this

Assigned it to you @LoganArnett!

2 quick options but can work on something more if needed
More dynamic like the game

Simple and clean

Will create a PR with the file once confirmed

I love this one @LoganArnett!

Thoughts @Narigo @sadiejay?

Agreed @nickytonline 🙌🏾

I like the board style more as well. I'd love to have a board that could actually be played, though 😅
Maybe something like this? (If the 4 is still visible in the small scales...)

Actually one suggestion for my choice. Since there are only two game piece colours, could you make the yellow ones blue? Or maybe make them all blue and the current red ones could be yellow. Thoughts?

Yea when I did the full 6x7 board it wasnt very visible as an actual favicon. I used the color layout I did for visibility and aesthetic but I can go to a full board if you want. And what are the 2 colors? I tried to have blue represent an empty square and red and yellow being pieces.

@Narigo it is very difficult to see at 128x128 and true favicon display will be even smaller like:

I'm okay with whatever you choose 👍
For the example, I used blue for empty spots as well. Red began and won in the example ;)

@Narigo it is very difficult to see at 128x128 and true favicon display will be even smaller like:

Actually, it still looks good in @Narigo's example good even at 128 x 128, and I just noticed the red makes a 4. Just wondering how we could make the 4 pop more. I think from the classic game, the board was blue, so wondering if it could be a blue background, white for empty slots and keep the rest as is?
I also want to be mindful of your time, so if this is too much, just let us know.

Maybe with a bit different colors and less space between them, it could pop out more? I don't feel it that much though.

Here would be an SVG to change colors etc. I've put it into square format:

I tried to update for the favicon with colors that would make the 4 pop a little more by fading the white and yellow slightly, keeping the darker blue, and adding minimal shadow to the red pieces

Love it @LoganArnett! Thanks so much for doing this. I'll just let @sadiejay and @Narigo chime in again. Looking forward to seeing the new icon rolled out. 😎

I created the PR but can update as needed


haxelib not reachable from github actions

All builds are continuously failing with errors like:
Downloading hxjava-3,2,0.zip...
Download complete : 0 bytes in 10s (0KB/s)
Http connection timeout. Try running haxelib -notimeout <command> to disable timeout

May I know your haxe and haxelib versions?
Also, could you try running curl -vLI  https://lib.haxe.org/p/hxjava/3.2.0/download/ in the CI job?
If your project is public, I can also take a look at that.

This is one of the jobs https://github.com/vegardit/haxe-reusable-workflows/actions/runs/4167044721
It apparently only fails for Haxe 3.4.7 apparently.
I thought the other jobs are green because they already had all libs in github cache.

This is the curl output
curl -vLI https://lib.haxe.org/p/hxjava/3.2.0/download/
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying <IP_ADDRESS>:443...
* Connected to lib.haxe.org (<IP_ADDRESS>) port 443 (#0)

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS header, Certificate Status (22):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.2 (IN), TLS header, Finished (20):
{ [5 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [19 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [4023 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.2 (OUT), TLS header, Finished (20):
} [5 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=lib.haxe.org
*  start date: Feb 12 20:39:46 2023 GMT
*  expire date: May 13 20:39:45 2023 GMT
*  subjectAltName: host "lib.haxe.org" matched cert's "lib.haxe.org"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x55cd9eec7df0)
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
> HEAD /p/hxjava/3.2.0/download/ HTTP/2
> Host: lib.haxe.org
> user-agent: curl/7.81.0
> accept: */*
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [57 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [57 bytes data]
* old SSL session ID is stale, removing
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
< HTTP/2 301
< date: Mon, 13 Feb 2023 20:08:28 GMT
< content-type: text/html
< content-length: 0
< location: /files/3.0/hxjava-3,2,0.zip
< strict-transport-security: max-age=15724800; includeSubDomains
< x-cache-status: MISS
<

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Connection #0 to host lib.haxe.org left intact
* Issue another request to this URL: 'https://lib.haxe.org/files/3.0/hxjava-3,2,0.zip'
* Found bundle for host lib.haxe.org: 0x55cd9eebfd50 [can multiplex]
* Re-using existing connection! (#0) with host lib.haxe.org
* Connected to lib.haxe.org (<IP_ADDRESS>) port 443 (#0)
* Using Stream ID: 3 (easy handle 0x55cd9eec7df0)
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
> HEAD /files/3.0/hxjava-3,2,0.zip HTTP/2
> Host: lib.haxe.org
> user-agent: curl/7.81.0
> accept: */*
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
< HTTP/2 302
< date: Mon, 13 Feb 2023 20:08:28 GMT
< content-type: text/html
< location: https://haxelib-files.haxe.org/files/3.0/hxjava-3,2,0.zip
< strict-transport-security: max-age=15724800; includeSubDomains
<

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Connection #0 to host lib.haxe.org left intact
* Issue another request to this URL: 'https://haxelib-files.haxe.org/files/3.0/hxjava-3,2,0.zip'
*   Trying <IP_ADDRESS>:443...
* Connected to haxelib-files.haxe.org (<IP_ADDRESS>) port 443 (#1)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS header, Certificate Status (22):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.2 (IN), TLS header, Finished (20):
{ [5 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [25 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [2306 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [79 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.2 (OUT), TLS header, Finished (20):
} [5 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=haxelib-files.haxe.org
*  start date: Feb 13 00:00:00 2023 GMT
*  expire date: Feb 12 23:59:59 2024 GMT
*  subjectAltName: host "haxelib-files.haxe.org" matched cert's "haxelib-files.haxe.org"
*  issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
*  SSL certificate verify ok.
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
> HEAD /files/3.0/hxjava-3,2,0.zip HTTP/1.1
> Host: haxelib-files.haxe.org
> User-Agent: curl/7.81.0
> Accept: */*
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
HTTP/2 301
{ [5 bytes data]
date: Mon, 13 Feb 2023 20:08:28 GMT
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
content-type: text/html
{ [230 bytes data]
content-length: 0
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
location: /files/3.0/hxjava-3,2,0.zip
{ [230 bytes data]
strict-transport-security: max-age=15724800; includeSubDomains
x-cache-status: MISS
* old SSL session ID is stale, removing
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Mon, 13 Feb 2023 20:08:29 GMT
< Content-Type: application/zip
< Content-Length: 4798202
< Connection: keep-alive
< ETag: "2764a3acbd6ef6a857226d6ba96b2196"
< Last-Modified: Mon, 13 Feb 2023 11:19:03 GMT
< Vary: Accept-Encoding
< Cache-Control: max-age=14400
< CF-Cache-Status: REVALIDATED
< Accept-Ranges: bytes
< Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=6Ug4ehZFrlLCC1H30rX462lLYYN9zvKGku0q6gf6boLHB5I35qpV0jJm%2FyyzsX0E%2FFXDjos4AzXcAKv%2F3j8yMAYtxhCWyL2joWVb6W%2FAUUUlmWnUavuQylmWYVqsPHeemh0Mo8mKzr2R"}],"group":"cf-nel","max_age":604800}
< NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< Server: cloudflare
< CF-RAY: 7990323d6c837c62-LAX
< alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400
<

  0 4685k    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Connection #1 to host haxelib-files.haxe.org left intact

HTTP/2 302
date: Mon, 13 Feb 2023 20:08:28 GMT
content-type: text/html
location: https://haxelib-files.haxe.org/files/3.0/hxjava-3,2,0.zip
strict-transport-security: max-age=15724800; includeSubDomains

HTTP/1.1 200 OK
Date: Mon, 13 Feb 2023 20:08:29 GMT
Content-Type: application/zip
Content-Length: 4798202
Connection: keep-alive
ETag: "2764a3acbd6ef6a857226d6ba96b2196"
Last-Modified: Mon, 13 Feb 2023 11:19:03 GMT
Vary: Accept-Encoding
Cache-Control: max-age=14400
CF-Cache-Status: REVALIDATED
Accept-Ranges: bytes
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=6Ug4ehZFrlLCC1H30rX462lLYYN9zvKGku0q6gf6boLHB5I35qpV0jJm%2FyyzsX0E%2FFXDjos4AzXcAKv%2F3j8yMAYtxhCWyL2joWVb6W%2FAUUUlmWnUavuQylmWYVqsPHeemh0Mo8mKzr2R"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 7990323d6c837c62-LAX
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400

I just tried it locally with haxe 3.4.7 there it also fails. So I guess it has issues doing the TLS handshake?

Thanks for the info. Looking into it now. Will take some time.

I tried to convince haxelib to disable HTTPS using the magic env variable HAXELIB_NO_SSL=1 but it does not have any effect.

Have just fixed it in 0d4a02561d17e2f2eec15da9b1225ece16901c49 and deployed to production. Please confirm the fix.
The problem:
Older versions of haxelib clients have no support of redirection and https. The haxelib server uses Apache to reverse proxy the file content to those older clients.
The file CDN we were using (Digital Ocean) was configured to allow http and https transfers. The haxelib server Apache was using http to talk to the CDN.
The new file CDN (Cloudflare R2) only uses https, but our Apache config didn't support that, thus the transmission failed.

Works, thanks a lot!


Add GitHub workflows for test and codecov

Adds some simple github workflows for running the tests on PRs and uploading code coverage reports to CodeCov.

Hi @johnmcollier , LGTM.  You should have write permissions now, right?

@keithchong Yup, I can merge


[Incremental] When tracing uses, include the implicit use of implementation when interface changes

Dependency graphs contain an implicit link from a given interface to its implementation. Take that into account when tracing uses of defs.

@swift-ci please test

Fixes rdar://71998246

Thanks, @CodaFi !


✨ Blinking Terminal Cursor

Describe the solution you'd like
CodeEdit does not have support for a blinking cursor, some people prefer having a blinking terminal cursor.
Describe alternatives you've considered
N/A
Additional context
https://user-images.githubusercontent.com/98705626/222502169-0bc45194-54bc-4328-9b3a-3dee6ac5e924.mov

Duplicate of #789


eslint autofix and beautify task has been run through the code to mak…

Let's make the Telegram group happy :)

Thank you for your help and support! We will iterate on this in the following weeks and refactor it, so any help is much appreciated ;)


DeepSeek API Error: 422 Failed to deserialize the JSON

Hi there. I'm using DeepSeek API with the new update, which is OpenAI compatible, but I keep getting the following error:

API Request Failed
422 Failed to deserialize the JSON body into the target type: messages[1]: invalid type: >sequence, expected a string at line 17 column 3

With the following code snippet shown:
{   "model": "deepseek-coder",   "system": "(see SYSTEM_PROMPT in src/ClaudeDev.ts)",   "messages": [     {       "conversation_history": "..."     },     {       "role": "user",       "content": [         {           "type": "text",           "text": "<task>\ntest\n</task>\n\n<potentially_relevant_details>(see getPotentiallyRelevantDetails in src/ClaudeDev.ts)</potentially_relevant_details>"         }       ]     }   ],   "tools": "(see tools in src/ClaudeDev.ts)",   "tool_choice": "auto" }

This doesn't appear to be a connection error but an issue with the json. See my configuration below:

same here

I have this bug too.
422 Failed to deserialize the JSON body into the target type: messages[1]: invalid type: sequence, expected a string at line 17 column 3
It would be great to see this work. I tried deepseek-coder (api) with aider and it's awesome and dirt cheap.

here as well

Same question, how to solve it

same here

This error message may be an array passed in the message, which is not supported yet.

same here

It seems that DeekSeek LLM does not support the format like this
  {
     "role":"user",
     "content":[
        {
           "type":"text",
           "text":"prompt"
        }
     ]
  }

It only accepts this "content":"prompt"
However, after I revised this, DeepSeek LLM did't call any functions.
Maybe this is a issue of DeepSeek API?

I'm having the same problem. I'd love to use Deepseek!

I have already reported this to the Deepseek official team. They replied that the message currently does not support arrays, but it is in their plans

great

@xlfish233 thanks for looking into this!

I came across the same issue.

use: https://openrouter.ai/docs/models

When will claude dev support Deepseek?

I have already reported this to the Deepseek official team. They replied that the message currently does not support arrays, but it is in their plans
they say

It seems that DeekSeek LLM does not support the format like this
  {
     "role":"user",
     "content":[
        {
           "type":"text",
           "text":"prompt"
        }
     ]
  }

It only accepts this "content":"prompt" However, after I revised this, DeepSeek LLM did't call any functions. Maybe this is a issue of DeepSeek API?

It looks like this is due to a limitation in deepseek's api not being able to accept arrays of user content.

deepseek now seems to be compatible with cline now ！
Not sure deepseek fix it or cline work around with it 👍


FEATURE: Topic summarization

Summarize topics using the TopicView's "summary" filter. The UI is similar to what we do for chat, but we don't allow the user to select a timeframe.

nice one!


Adds support for Really Old Clients

Hello!
I open this PR to add support for really old versions, such as KMS 1.21. These versions have what I call "HardCodedStrings", which contain the Map, Character, Mobs, etc etc strings inside the info folder in the .img item.
Apart from that, there's less items, so I had to remove the shoe to an item available in all versions. Also, the cursor is named differently from other versions and the minimap doesn't have the map name and information, so it looks a bit weird.
The PR also solves some issues when opening clients that don't have the Map0~Map9 layout on Map/Data.wz. That was being correctly detected with the WzUtils' HasMap9Dir set in false, but it wasn't being used.
There's a built binary in case you want to test it out!
MapleNecrocerWithOldSupport.zip
And in case you want a reaaally old KMS client, check 1.21 which is one of the oldest available clients: https://mega.nz/file/9p1xWKRT#V8TodI8Y2cBNnH2yQs9fQOPUkIFyD2kjdi5tU25lflE

I've never tried  KMS 1.21 before. It work fine. Now almost support all version.
Thanks for the contribution.


Up2 merge

This set of patches add support for UP Squared board from AAEON ( http://www.up-board.org/upsquared) and contain also a couple of fixes for the UP Board and mraa.

Changed the commit titles around a little but apart from that all merged! Thanks!


Styles that need shorthands are not being errored when they are inside of selectors

Styles like padding and margin which need the use of a shorthand to be expanded into their left, right, top, bottom equivalents error when you try to use them in a makeStyles call. However, if they are used inside of a selector that's not part of CSS.Pseudos then they do not error out and the styles are ultimately ignored.
We should fix the types so that these styles always error out to indicate the user that they need to change them to shorthands.
Example:
const useStyles = makeStyles({
  base: {
    ':hover': {
      // will error out
      padding: "1px"
    },

    [`& .${testClassName}`]': {
      // will not error out
      padding: "1px"
    }
  }
});

Unfortunately we have not found a way how to avoid this in Typescript.
Currently Griffel already warns on the padding in development mode and never adds it to DOM (see #47).
We plan to add Lint rules to improve the build time check in #76.

We cannot do anything against it unfortunately. But the ESLint plugin with a matching rule was implemented in #99, you can find an example how it could be consumed in docs or in the real PR (microsoft/fluentui#22961).


Install and configure chocolatey

Chocolatey will be useful to automate calibre installation (pending #5), but it's still kind of unstable as PackageProvider in OneGet.

Install choco directly from source on 1b66b874


Huge image size for a simple PHP App

Hi,
I'm deploying a simple PHP App (it's the php-getting-started example of Heroku), and it runs perfectly. My doubt is when I check the image size, 1.516GB , wow it's really huge for this simple App.
I deployed another PHP applications and I get exactly the same size.
I saw that the Application is builded from deis/slugrunner that has a size of 833MB (https://imagelayers.io/?images=deis%2Fslugrunner:latest).
I want to deploy a lot of apps, I will have at least this image size for all my apps? Could I reduce it?

Aye the cedar stack is huge, it pretty much installs everything despite you only wanting to run PHP: https://github.com/heroku/stack-images/blob/master/bin/cedar-14.sh
When I asked about this, I was recommended to push Docker images rather than rely on the php-buildpack from cedar.

My understanding is that almost all of this 1.5GB is shared over all deployed apps.
only a limited amount (100MB for my typical rails app which has rather a lot of assets), is used per deployment

@nathansamson I've two similar PHP apps deployed in the same node and have two images of 1.516GB eachone.
REPOSITORY                         TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
<IP_ADDRESS>:5000/skiing-bookworm   v2                  ac13af058387        3 hours ago         1.516 GB
<IP_ADDRESS>:5000/trendy-seedcake   v2                  04c1e48efce1        3 days ago          1.516 GB

@arkkanoid in total the images are that large, but what @nathansamson is saying is that the cedar stack is a common layer shared between them, so it only exists on disk once.

@arkkanoid if you're using the buildpack workflow, you'll get the entire Heroku cedar stack + whatever the buildpack installs onto the image. It's a very generic build image, so it's not going to be optimized for disk space. You can slim the image down yourself by supplying your own Dockerfile, though.

@arkkanoid Note the virtual in "virtual size", the actual size on disk for these to images combined will probably be around 1.6-1.75GB (depending on your app). I don't know a method to actually check my theory for this particular case, which is a shame...
My understanding is that moving onto a Dockerfile workflow will actually be worse if you have multiple apps. Yes you can optimize each app and maybe get the size down to 500MB / app, but there will be less/nothing shared, so in the end you will end up in more storage in registry (which gets amplified by factor 3), and more diskspace on actual nodes when pulling the image to run, and resutling in slower pulls as there will be more network traffic...
If one of the maintainers can confirm my logic that would be nice, just reassuring to me I still have a decent understanding of how Deis / docker works...

Warning, wall of text incoming...
@nathansamson I have to agree but also disagree with you here. I do agree with you that optimizing each app individually will net larger disk space utilization (unless the optimization is dramatic, see below on static Go binary workflow). What I disagree with is the actual size on disk you mentioned. Note that the original cedar stack size is roughly 500MB in size but the final image size is 1.5GB. That means that each build has about 1GB of unshared libraries between each build. The total disk space utilization for any given app will be 500MB + x * 1GB, where x is the number of releases that contain a Build. Typically this is x - 1 (v2 is typically the first release with a build). If @arkkanoid wanted to improve upon this, the best way would be to ensure that the apps and each apps releases share as much resources as possible.
To give a mathematical equation to this, let's assume one app with 3 builds. We'll make calculations for the total disk usage for this app with two different builds (Heroku vs Dockerfile). Let's assume the following:

the final image size will be 1.5GB for BOTH types
the Heroku build image is 512MB for the cedar stack, and the buildpack installs the other 1GB of dependencies
the Dockerfile image is 1280MB in size, then at the last minute statically compiles assets and copies configuration + the app into the image (256MB is a very generous assumption)

In both cases, the total disk space utilization will be (in megabytes)
Heroku: 512 + 3 * 1024 = 3584MB
Dockerfile: 1280 + 3 * 256 = 2048MB
To answer your original question, @nathansamson...

the actual size on disk for these to images combined will probably be around 1.6-1.75GB

Using the above calculations, it'll actually be about 2.5GB of disk usage since each build only shares ~500MB. If they shared (nearly) everything, then the actual disk size would be closer to your assumption.
TL;DR: the best way to reduce disk usage is to ensure that your application builds share as many layers together as possible, and that the delta between each build is kept to a minimum.
As an aside, I'd also like to point out that workflows can come in different shapes and sizes, depending on the capabilities of the language. In particular, one workflow that has become semi-standard with Go apps is to compile the application as a static binary, inject it into a Docker scratch image through their CI pipeline (resulting in a ~5MB image) then using deis pull to import the image into Deis. This is a dramatic improvement from 1.5GB or even 247MB for the 1.5.1 image, weighing in at about 2.5% of the latter's image size.

@arkkanoid does this information help you at all?  We should consider closing this since there isn't anything actionable here-- unless as @bacongobbler mentioned you feel docs should address image size.  That should probably be a separate issue.

Sure, we can close this issue. Thanks all for your comments!


typo fix

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you @MatejStraka for your contribution and congratulations on your first PR merge to this repo! 🎉
Hope to see more contributions from you in the future.


Archival: Create Integration test for Archival Interface

As we move to the new Archiver interface, we also need a set of integration tests for that interface.

This should be done as part of #2093


Menu bar not switching bug

When switching to circumference window, the menu bar doesn't actually change to the circumference window menu bar.
I added a menu bar element to main.ui but not circumference.ui, yet that GUI element showed up on circumference window. See commit 9a41430.
Also, I am 100% certain that exporting as PNG in circumference window should export the contoured slice since that's what self.image currently is. However, it exports the slice without a contour.
Therefore, the menu bar of the circumference window must be the main window's menu bar.
This might be caused by how I set up the stacked widget in main, not in QtDesigner? Also should test on Windows.

tl;dr in src/GUI/main.py, the two windows definitely have distinct menu bars and distinct items in their menu bars. The problem must be that switching to a different window does not render the menu bar? Will test on Windows.
From within the STACKED_WIDGET,
        MAIN_WINDOW's QMenuBar: <PyQt6.QtWidgets.QMenuBar object at 0x13433d5a0>
        Number of QAction children in MAIN_WINDOW's QMenuBar: 4
        MAIN_WINDOW's QMenuBar's QAction children: [<PyQt6.QtGui.QAction object at 0x13433fa30>, <PyQt6.QtGui.QAction object at 0x13433fac0>, <PyQt6.QtGui.QAction object at 0x13433df30>, <PyQt6.QtGui.QAction object at 0x13433fb50>]

        Just switched to CIRCUMFERENCE_WINDOW
        CIRCUMFERENCE_WINDOW's QMenuBar: <PyQt6.QtWidgets.QMenuBar object at 0x13433ed40>
        Number of QAction children in CIRCUMFERENCE_WINDOW's QMenuBar: 5
        CIRCUMFERENCE_WINDOW's QMenuBar's QAction children: [<PyQt6.QtGui.QAction object at 0x13433fbe0>, <PyQt6.QtGui.QAction object at 0x13433fc70>, <PyQt6.QtGui.QAction object at 0x13433f760>, <PyQt6.QtGui.QAction object at 0x13433fd00>, <PyQt6.QtGui.QAction object at 0x13433fd90>]
        No duplicated MenuBar QAction items

    if settings.DEBUG:
        print(f"From within the STACKED_WIDGET,")
        curr_widget: QtWidgets.QWidget = STACKED_WIDGET.currentWidget()
        curr_widget_menubar = curr_widget.findChildren(QtWidgets.QMenuBar)[0]
        curr_widget_menubar_qactions = curr_widget_menubar.findChildren(QtGui.QAction)
        main_window_menubar_qactions = set(curr_widget_menubar_qactions)
        print(f"\tMAIN_WINDOW's QMenuBar: {curr_widget_menubar}")
        print(f"\tNumber of QAction children in MAIN_WINDOW's QMenuBar: {len(curr_widget_menubar_qactions)}")
        print(f"\tMAIN_WINDOW's QMenuBar's QAction children: {curr_widget_menubar_qactions}")

        STACKED_WIDGET.setCurrentWidget(CIRCUMFERENCE_WINDOW)
        print("\n\tJust switched to CIRCUMFERENCE_WINDOW")

        curr_widget: QtWidgets.QWidget = STACKED_WIDGET.currentWidget()
        curr_widget_menubar = curr_widget.findChildren(QtWidgets.QMenuBar)[0]
        curr_widget_menubar_qactions = curr_widget_menubar.findChildren(QtGui.QAction)
        print(f"\tCIRCUMFERENCE_WINDOW's QMenuBar: {curr_widget_menubar}")
        print(f"\tNumber of QAction children in CIRCUMFERENCE_WINDOW's QMenuBar: {len(curr_widget_menubar_qactions)}")
        print(f"\tCIRCUMFERENCE_WINDOW's QMenuBar's QAction children: {curr_widget_menubar_qactions}")

        for circumference_qaction in curr_widget_menubar_qactions:
            if circumference_qaction in main_window_menubar_qactions:
                print("\tDuplicated MenuBar QAction items")
        else:
            print("\tNo duplicated MenuBar QAction items")

Fixed by setting native menu bar to False in the .ui files.
The menu bar worked as expected on Windows but not macOS. It's a macOS quirk💀.
This doesn't affect Windows since Windows uses a non-native menu bar anyway. But it makes the macOS menu bar look like a Windows menu bar.
It's probably possible to work around this while maintaining a native menu bar on macOS. Some methods in src/GUI/main.py would need to change to functions that take MainWindow or CircumferenceWindow as an argument (frankly, this would be better design anyway since render_curr_slice and export_slice_as_img is duplicated code in both classes and should be functions).


It seems that bin_str0 is not needed in libspdm_generate_session_handshake_key

The bin_str0 is not needed in libspdm_generate_session_handshake_key.
In  libspdm_generate_session_handshake_key, the bin_str0  is just dumped.
https://github.com/DMTF/libspdm/blob/702be53a73bd1cf962bf89ede58a16607e289a1b/library/spdm_secured_message_lib/libspdm_secmes_session.c#L176-L201
Reference: In SPDM 1.2.1 spec Figure 27 — Key schedule

we can move bin_str0 dump to libspdm_generate_session_data_key().

I will check it.


Feature/#6 move mini twit to gin

Moved parts of the MiniTwit application to Go, using the Gin framework

looks good


After copy windows fonts, microsoft-edge (and any chromium) doesn't work

Windows build number:
22621.0
Your Distribution version:
Debian Sid
Your WSL versions:
WSL version： <IP_ADDRESS>
Core version： <IP_ADDRESS>
WSLg version： 1.0.51
MSRDC version： 1.2.3770
Direct3D version： 1.608.2-61064218
DXCore version： 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version： 10.0.22621.1555
Steps to reproduce:

Install WSL
Install Microsoft-edge-stable for linux (It should works well in this step)

sudo vim /etc/fonts/local.conf

/etc/fonts/local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
    <dir>/mnt/c/Windows/Fonts</dir>
</fontconfig>

fc-cache -fv

microsoft-edge can't start and show

[0505/122954.316230:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0505/122954.316312:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)

WSL logs:
pulseaudio.log
weston.log
stderr.log
WSL dumps:
No response
Expected behavior:
microsoft-edge works well
Actual behavior:
microsoft-edge can't start and show
[0505/122954.316230:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0505/122954.316312:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)

@LeenHawk, I tried it on Ubuntu 20.04 with Google-chrome, it works fine for me. And I also verified those Windows fonts are available in Linux applications. So, it's possible this is distro specific and not due to WSLg, thanks!


Fix required env docs

There is no CONFIG_PATH, only BACKUP_CONFIG. :ghost:

👍

Thanks for this fix!


Consider using ExternalName vs. hardcoding Pod IPs in endpoints

I saw we were using our controller's pod ip as part of the endpoints for the service here:
https://github.com/knative-sandbox/net-http01/blob/2c5d5bb5277d8432f18d61284421a1d1c5f28131/pkg/reconciler/certificate/resources/service.go#L46-L49
I haven't done some digging but I'm wondering why we can't just use ExternalName set to the k8s service that we install as part of our config/ files
ie. https://kubernetes.io/docs/concepts/services-networking/service/#externalname
My guess is the controller has some 'state' associated with it

We could also drop the extra services completely and just use the single one we install

note: we shouldn't use external name in the K8s Service but instead we should use EndpointsSlices when they support the FQDN address type - which is K8s 1.22 I believe
/lifecycle frozen

context: https://github.com/knative/serving/issues/11821


spring-cloud create issue

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az spring-cloud create
Errors:
No module named 'azure.storage.blob'
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 553, in execute
    self.commands_loader.load_arguments(command)
azure/cli/core/__init__.py, ln 470, in load_arguments
    self.command_table[command].load_arguments()  # this loads the arguments via reflection
...
cliextensions/spring-cloud/azext_spring_cloud/custom.py, ln 10, in <module>
    from ._stream_utils import stream_logs
cliextensions/spring-cloud/azext_spring_cloud/_stream_utils.py, ln 12, in <module>
    from azure.storage.blob import AppendBlobService
ModuleNotFoundError: No module named 'azure.storage.blob'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az spring-cloud create -g {} -n {} --sku {}

Expected Behavior
Environment Summary
Linux-4.15.0-1091-azure-x86_64-with-debian-stretch-sid (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.9.0 *

Extensions:
spring-cloud 0.1.0

Additional Context

please update to the latest version of spring-cloud: az extension update -n spring-cloud

Resolved in https://github.com/Azure/azure-cli-extensions/pull/1995


[BUG] quicktime antics

Describe the bug
I have several older Quicktime files that checkrr not recognizing Quicktime files as valid videos. The logs show Type=Unknown:
time="2024-10-07T02:47:32Z" level=info msg="\"/dvdtv/TableTop/Season 01/TableTop - S01E01 - Small World.m4v\"" Hash Match=true
time="2024-10-07T02:47:32Z" level=info msg="File \"/dvdtv/TableTop/Season 01/TableTop - S01E01 - Small World.mov\" is not a recognized file type" FFProbe=false Type=Unknown

In this case, these are files that were downloaded via. Steam from the long-ago Kickstarter for Will Wheaton's TableTop videos.
But ffprobe run from in the container has no trouble with the files:
/ # ffprobe /dvdtv/TableTop/Season\ 01/TableTop\ -\ S01E01\ -\ Small\ World.m
TableTop - S01E01 - Small World.m4v  TableTop - S01E01 - Small World.mov
/ # ffprobe /dvdtv/TableTop/Season\ 01/TableTop\ -\ S01E01\ -\ Small\ World.mov
ffprobe version 6.1.1 Copyright (c) 2007-2023 the FFmpeg developers
  built with gcc 13.2.1 (Alpine 13.2.1_git20231014) 20231014
  configuration: --prefix=/usr --disable-librtmp --disable-lzma --disable-static --disable-stripping --enable-avfilter --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libmp3lame --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librist --enable-libsoxr --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-lto=auto --enable-lv2 --enable-openssl --enable-pic --enable-postproc --enable-pthreads --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-vulkan --optflags=-O3 --enable-libjxl --enable-libsvtav1 --enable-libvpl
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   5.  0.100 /  5.  0.100
  libpostproc    57.  3.100 / 57.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/dvdtv/TableTop/Season 01/TableTop - S01E01 - Small World.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2014-08-08T09:39:00.000000Z
    com.apple.finalcutstudio.media.uuid: 9208E54E-3C8B-44C8-BF04-E752613CF436
    com.apple.finalcutstudio.media.history.uuid: A8F05D7B-B23E-48C9-83B2-7823DB46D7AF
    timecode        : 00:00:00;00
  Duration: 00:29:55.70, start: 0.000000, bitrate: 9326 kb/s
  Stream #0:0[0x1](eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 960x720, 9153 kb/s, SAR 4:3 DAR 16:9, 29.97 fps, 29.97 tbr, 2997 tbn (default)
    Metadata:
      creation_time   : 2014-08-08T09:39:00.000000Z
      handler_name    : Apple Video Media Handler
      vendor_id       : appl
      encoder         : H.264
  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 168 kb/s (default)
    Metadata:
      creation_time   : 2014-08-08T09:39:00.000000Z
      handler_name    : Apple Sound Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2014-08-08T09:59:09.000000Z
      handler_name    : Time Code Media Handler
      timecode        : 00:00:00;00
Unsupported codec with id 0 for input stream 2

To Reproduce
Steps to reproduce the behavior:

Find an older QuickTime file and add it to your library
Run a scan
See the errors in the log and the file show up in Bad Files

Expected behavior
I would expect checkrr to scan these files just like any other video files.
Screenshots
N/A
Desktop (please complete the following information):

OS: MacOS, Docker on Linux
Browser: Chrome and Safari
checkrr 3.3.0

It looks like this is likely to be a magic number issue, not an ffprobe issue. checkrr uses h2non/filetype to check if a file is video/audio before passing to ffprobe blindly. That library uses magic numbers to match the file and checks that the extension matches [1]. Honestly, it might make sense to just swap the container type and extension using ffmpeg in this case. Otherwise, h2non/filetype needs to be patched and I've been waiting on them for 2 years on h2non/filetype#120.
[1] https://github.com/h2non/filetype/blob/master/matchers/video.go#L53-L62

Ugh, looks like it downloaded new mp4 versions of the files and now I don't have the .mov files in my library any more. File sees it as a Movie file on my Mac, let me dig up my archives of the .mov files and I will see what it does in the container.
Interesting that file also sees it as an ISO though...
❯ file /media/video/DVDs/TV_Shows/TableTop/Season\ 01/TableTop\ -\ S01E01\ -\ Small\ World.mov
/media/video/DVDs/TV_Shows/TableTop/Season 01/TableTop - S01E01 - Small World.mov: ISO Media, Apple QuickTime movie, Apple QuickTime (.MOV/QT)

If it sees it as ISO media, I suspect it might be directly related to the magic number used.

@sjthespian did you ever get the original copy of this file? I'm curious to see what ffprobe says about it too


Install fails due to missing torch.version.cuda, even though it is set

During vllm install I get the following error:
        File "C:\Users\tomas\AppData\Local\Temp\pip-build-env-dl9xeg5d\overlay\Lib\site-packages\torch\utils\cpp_extension.py", line 383, in _check_cuda_version
          torch_cuda_version = packaging.version.parse(torch.version.cuda)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\tomas\AppData\Local\Temp\pip-build-env-dl9xeg5d\overlay\Lib\site-packages\pkg_resources\_vendor\packaging\version.py", line 52, in parse
          return Version(version)
                 ^^^^^^^^^^^^^^^^
        File "C:\Users\tomas\AppData\Local\Temp\pip-build-env-dl9xeg5d\overlay\Lib\site-packages\pkg_resources\_vendor\packaging\version.py", line 196, in __init__
          match = self._regex.search(version)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      TypeError: expected string or bytes-like object, got 'NoneType'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for vllm
Failed to build vllm
ERROR: Could not build wheels for vllm, which is required to install pyproject.toml-based projects

However, I already re-installed and configured torch, and it looks as expected in the same terminal:
>>> import torch
>>>
>>> print(torch.version.cuda)
11.8
>>>
>>> print(torch.cuda.is_available())
True

OS: Windows 11

I have that same issue, have you found the solution?

same issue here.

vllm doesn't support Windows. Use WSL.

Closing this issue as stale as there has been no discussion in the past 3 months.
If you are still experiencing the issue you describe, feel free to re-open this issue.


Added None check to synologydsm component

Description:
Added None check + refactoring
Related issue (if applicable): fixes #17344
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

This PR seems to have gone stale. Closing it.


1997 m associate trainees with subject specialism

Context
Changes proposed in this pull request
Guidance to review

 [M] Associate trainees with subject specialism

Closing as not needed right now


Drag and Drop for configuration entries

Drag and Drop for configuration entries.

[x] Autoscroll implemented
[x] Changed cursor more prominently on drag
[x] Highlight current drag target

@DocMoebiuz any issues to link?

Hello, very nice improvement.  This is a very much anticipated and long awaited feature.
Just a few comments, if I may:

I find that simply click and drag is way too easy to do accidentally.  One can really subtly and without really noticing, wreak havoc in the order of config lines, just clicking and dragging without knowing.  I think it would be much better to do shift-click and drag.
Can you change the cursor to another icon, so that we can visually see the mode has changed?
Can you move the selected line (highlighted) as you drag it?  It is not very clear where it will land.  It takes some practice.
This is for extra credit: Can you select and move with multiple lines being selected (block move)?
Thank you very much.

Hello, very nice improvement. This is a very much anticipated and long awaited feature. Just a few comments, if I may:

I find that simply click and drag is way too easy to do accidentally.  One can really subtly and without really noticing, wreak havoc in the order of config lines, just clicking and dragging without knowing.  I think it would be much better to do shift-click and drag.
Can you change the cursor to another icon, so that we can visually see the mode has changed?
Can you move the selected line (highlighted) as you drag it?  It is not very clear where it will land.  It takes some practice.
This is for extra credit: Can you select and move with multiple lines being selected (block move)?
Thank you very much.

Hi,

I increased the distance to start the dragging when holding the mouse down a bit. If it still leads to too many accidental drags, we need to think about some under stuff. For example only start drag on certain column.
Cursor already was changed but pretty subtle. In default behavior a small rectangle is added to the cursor. Now cursor is changed to "Hand".
The current drop target is now highlighted.
Maybe at some time in the future.

Super cool that you took this on. Are you sure the underlying order in the datatable is really changed? I haven't checked yet, but when you save after modifying, then will it be loaded in the same re-ordered sequence?

Super cool that you took this on. Are you sure the underlying order in the datatable is really changed? I haven't checked yet, but when you save after modifying, then will it be loaded in the same re-ordered sequence?

Yes and yes.
And please try the latest build in the PR and play around a bit. We need to decide which UX concept to use. Behavior A (currently implemented in Output config) or Behavior B (currently implemented in Input config). We think both ways are fine now and also need your vote.


maxPool

Current maxpool have some problem if run kernel with next params:
-when size_x and size_y is odd
-and stride = 1;
Then maxpool unload less data then need.

Can you provide more detailed information ? So that I fix it.