undefined method 'track_ga_event'

ref: issue #16
I am still facing this problem
please help me

Oh well, same bug is happening here, many years after the report.
I prefer using this gem instead of rack-tracker as I'm only looking for GA and this one is much simpler.
I tried setting the gem up both following the README instructions and using the Padrino plugin "googleanalytics". Both work fine, but they don't enable the additional methods on my controllers.
Fiddling around, I stumbled upon another set of helpers and got the idea of adding helpers GoogleAnalytics::InstanceMethods to my app/app.rb. Voilà, Padrino got to know GA and they're happy working together.
To help my app not send calls during development, here's the final code I'm using:
helpers GoogleAnalytics::InstanceMethods
configure :production do
  use Rack::GoogleAnalytics, :tracker => 'UA-12345678-9'
end

I'm using Padrino 0.10.6 (yep, old, gonna update it later). Maybe this could be of help to anyone :)


error

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

Looks to be opened accidentally; closing


.\Build.ps1 -ResolveDependency, integration tests fail

Executing script C:\Git\commontasks\commontasks\Tests\Integration\33 JeaEndpoints.Tests.ps1

  Describing JeaEndpoints DSC Resource compiles
PSDesiredStateConfiguration\Configuration : The term 'ConvertTo-Expression' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At C:\Git\commontasks\BuildOutput\Modules\commontasks\DSCResources\JeaEndpoints\JeaEndpoints.schema.psm1:1 char:1
+ configuration JeaEndpoints {
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (ConvertTo-Expression:String) [Configuration], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : CommandNotFoundException,Configuration

    [-] JeaEndpoints Compiles 2.83s
      Expected no exception to be thrown, but an exception "Compilation errors occurred while processing configuration 'Config_JeaEndpoints'. Please review the errors reported in error stream and modify your configuration code appropriately." was thrown from C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1:3917 char:5
          +     throw $ErrorRecord
          +     ~~~~~~~~~~~~~~~~~~.
      19:         { Config_JeaEndpoints -ConfigurationData $configurationData -OutputPath $env:BHBuildOutput -ErrorAction Stop } | Should -Not -Throw
      at <ScriptBlock>, C:\Git\commontasks\commontasks\Tests\Integration\33 JeaEndpoints.Tests.ps1: line 19
    [-] JeaEndpoints should have created a mof file 25ms
      Expected the value to have type [System.IO.FileInfo] or any of its subtypes, but got $null with type $null.
      24:         $mofFile | Should -BeOfType System.IO.FileInfo
      at <ScriptBlock>, C:\Git\commontasks\commontasks\Tests\Integration\33 JeaEndpoints.Tests.ps1: line 24

Executing script C:\Git\commontasks\commontasks\Tests\Integration\34 JeaRole.Tests.ps1

  Describing JeaRoles DSC Resource compiles
Get-Content : Cannot find path 'D:\Untitled3 - Copy.ps1' because it does not exist.
At C:\Git\commontasks\BuildOutput\Modules\commontasks\DSCResources\JeaRoles\JeaRoles.schema.psm1:29 char:48
+ ... block]::Create((Get-Content -Path $functionDefinition.FilePath -Raw))
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (D:\Untitled3 - Copy.ps1:String) [Get-Content], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

PSDesiredStateConfiguration\Configuration : Exception calling "Create" with "1" argument(s): "Object reference not set to an instance of an object."
At C:\Git\commontasks\BuildOutput\Modules\commontasks\DSCResources\JeaRoles\JeaRoles.schema.psm1:1 char:1
+ configuration JeaRoles {
+ ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Configuration], MethodInvocationException
    + FullyQualifiedErrorId : NullReferenceException,Configuration

    [-] JeaRoles Compiles 2.79s
      Expected no exception to be thrown, but an exception "Compilation errors occurred while processing configuration 'Config_JeaRoles'. Please review the errors reported in error stream and modify your configuration code appropriately." was thrown from C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1:3917 char:5
          +     throw $ErrorRecord
          +     ~~~~~~~~~~~~~~~~~~.

 Loading default CIM keywords Processing
 Getting module list
    Processing
 Creating resource list
    Processing

Executing script C:\Git\commontasks\commontasks\Tests\Integration\99 Final.Tests.ps1

  Describing Final tests
Number of composite resources: 34
Number of compiled MOF files: 31
    [-] Every composite resource has compiled 3.18s
      Expected 31, but got 34.
      10:         $compositeResouces.Count | Should -Be $mofFiles.Count
      at <ScriptBlock>, C:\Git\commontasks\commontasks\Tests\Integration\99 Final.Tests.ps1: line 10
Tests completed in 199.93s
Tests Passed: 64, Failed: 5, Skipped: 0, Pending: 0, Inconclusive: 0
ERROR: Assertion failed.

 Loading default CIM keywords Processing
 Getting module list
    Processing
 Creating resource list
    Processing

      19:         { Config_JeaRoles -ConfigurationData $configurationData -OutputPath $env:BHBuildOutput -ErrorAction Stop } | Should -Not -Throw
      at <ScriptBlock>, C:\Git\commontasks\commontasks\Tests\Integration\34 JeaRole.Tests.ps1: line 19
    [-] JeaRoles should have created a mof file 15ms
      Expected the value to have type [System.IO.FileInfo] or any of its subtypes, but got $null with type $null.
      24:         $mofFile | Should -BeOfType System.IO.FileInfo
      at <ScriptBlock>, C:\Git\commontasks\commontasks\Tests\Integration\34 JeaRole.Tests.ps1: line 24

    + CategoryInfo          : InvalidOperation: (:) [Assert-Build], Exception
    + FullyQualifiedErrorId : Assert-Build

A bit late, but this should be all fixed by now.

A bit late, but this should be all fixed by now.


Update linux and windows packaging in collector get started page

fixes https://github.com/open-telemetry/opentelemetry.io/issues/741 (perhaps Collector releases can change back to including MSI packaging and/or archive with .zip but I think it's better to just be accurate for now)and gets an up to date version number.

@chalin should be good to go


Quorum App API: Implement PUT /api/v1/container/{trackingID}

Description
As a developer I want to use API to get update parameters of a container on Quorum network so that I can integrate with frontend.
Accepts an container id as a url parameter and a JSON body with the below format:
{
"health":"String",
"misc": {"name":"Pharma Insulin Container"},
"trackingID": "17219ad9-3e8b-4c79-ab55-79f6ada4a2d6",
"counterparties": ["PartyB","PartyC","PartyD"]
}

and calls the UpdateContainer transaction with the supplied JSON.
It should return an HTTP 400 error if health, or misc are not supplied.
It should return any errors received from the Fabric SDK.
Otherwise it should return the id of the updated product in the below format:
"17219ad9-3e8b-4c79-ab55-79f6ada4a2d6"

Acceptance Criteria

Update should only happen when caller is the custodian

This issue is wontfix as Update Container is not implemented. This is so that the supplychain APIs are consistent across different platforms.


Fix null pointer exception if the helper method is null.

Switch around the null check to prevent this NPE:
2015-05-14 15:05:22.055+1200 [id=64]    WARNING hudson.triggers.Trigger#checkTriggers: org.jenkinsci.plugins.ghprb.GhprbTrigger.run() failed for hudson.model.FreeStyleProject@####[JOBNAME]
java.lang.NullPointerException
        at org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:155)
......

@reviewbybees

:+1:

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

Funny thing is I thought this had already been fixed.


Plugin incompatible with pedantic? abort

If I add the plugin in a new project that uses
:pedantic? :abort

the dependency resolution will fail even if the project itself doesn't have dependencies:
Possibly confusing dependencies found:
[com.github.clojure-lsp/lein-clojure-lsp "1.3.24"] -> [com.github.clojure-lsp/clojure-lsp-server "2023.07.01-22.35.41"] -> [org.clojure/tools.cli "1.0.214"]
 overrides
[com.github.clojure-lsp/lein-clojure-lsp "1.3.24"] -> [com.github.clojure-lsp/clojure-lsp-server "2023.07.01-22.35.41"] -> [dev.weavejester/cljfmt "0.10.6" :exclusions [rewrite-cljs com.googlecode.java-diff-utils/diffutils]] -> [org.clojure/tools.cli "1.0.219"]

Consider using these exclusions:
[com.github.clojure-lsp/lein-clojure-lsp "1.3.24" :exclusions [org.clojure/tools.cli]]

[com.github.clojure-lsp/lein-clojure-lsp "1.3.24"] -> [com.github.clojure-lsp/clojure-lsp-server "2023.07.01-22.35.41"] -> [com.github.clojure-lsp/lsp4clj "1.8.0" :exclusions [funcool/promesa]] -> [cheshire "5.11.0"] -> [com.fasterxml.jackson.core/jackson-core "2.13.3"]
 overrides
[com.github.clojure-lsp/lein-clojure-lsp "1.3.24"] -> [com.github.clojure-lsp/clojure-lsp-server "2023.07.01-22.35.41"] -> [clj-kondo "2023.06.02-20230630.144012-16"] -> [com.cognitect/transit-clj "1.0.333"] -> [com.cognitect/transit-java "1.0.371"] -> [com.fasterxml.jackson.core/jackson-core "2.14.2"]
 and
[com.github.clojure-lsp/lein-clojure-lsp "1.3.24"] -> [com.github.clojure-lsp/clojure-lsp-server "2023.07.01-22.35.41"] -> [com.cognitect/transit-clj "1.0.333"] -> [com.cognitect/transit-java "1.0.371"] -> [com.fasterxml.jackson.core/jackson-core "2.14.2"]

Consider using these exclusions:
[com.github.clojure-lsp/lein-clojure-lsp "1.3.24" :exclusions [com.fasterxml.jackson.core/jackson-core]]

Aborting due to :pedantic? :abort

Ideally com.github.clojure-lsp/lein-clojure-lsp would not pull any possibly conflicting transitive dependency.

@marcobiscaro2112 looks good, willing to open a PR with those changes?

@ericdallo done in #8.

Thanks, released as 1.4.0


[BEAM-5364] Check if validation is disabled when validating BigtableSource

Check if validation is disabled when validating BigtableSource.
In populateDisplayData, if a runtime parameter is not yet  populated, use a dummy text.

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---
---

@chamikaramj, could you take a loook?

Going to break this PR into 2.


use config from inside operations for determing allowAdministratorManualLinking

I tested today the feature flag for the allowAdministratorManualLinking and noticed that it skips the operations attribute when trying to access the config.
This PR updates that accesses the configuration of the operations attribute. As we need the operations later in the method anyway it will be only once defined and then reused.
Part of #189

I really need to start a base for tests again.


Fixing Emoji.UploadLeaseImage, adding missing async methods

Fixes #2.
Adds some missing async Emoji methods.
Moves ImageUploadInput to Inputs.Emoji namespace.

If you're curious what was wrong, it turned out that the "content-type" parameter is needed, so this line got removed:
if (!s3Field.Name.Equals("content-type", StringComparison.OrdinalIgnoreCase))

And also I think AddFileBytes might have been an issue, switched to AddFile, not sure specifically what the difference is.

Example of how to use it: https://github.com/ChampionMains/Pyrobot/blob/5a89751bb1eebedbf61f9a9c9ff526f2feae9356/ChampionMains.Pyrobot.Infrastructure/Services/Reddit/EmojiService.cs#L38-L40
I wanted to support sync vs async, and also byte[] vs inputstream, so the actual implementation has a few layers. I also ended up taking ImageUploadInput as input, which is convenient, but it would also be possible to take the mime type from the s3 lease like the old code does. Would still need to provide file name separately though


Last_Updated_Time still stuck at 13/08 in state_wise.csv

Related to covid19india/api#508, except now the delta data is being shown/updated correctly, but the date isn't updated.

Because they have updated their json data, json format, and hosted on different URL instead of https://api.covid19india.org/data.json
& https://data.covid19india.org/data.json .
here are the new URL for new data 👍
https://data.covid19india.org/v4/min/timeseries.min.json --> Daily numbers across C,R,D and Tested per state (historical data).
https://data.covid19india.org/v4/min/data.min.json --> Current day numbers across districts and states.

Please look at the issue. This is about the CSV endpoint listed in README, not about JSON timeseries and subdomain change.
The CSV is from the latest endpoint, hence the issue here.

Hey
The Last_Updated_Time field in the CSVs is deprecated. The website uses the last_updated field from https://data.covid19india.org/v4/data.json


[feature request] export default trait functions in a swift_bridge module?

Hi there,
Is there a supported way to export a default trait function via swift_bridge?  Like this,
struct Example;
trait ExampleTrait {
    fn example(&self) -> &'static str {
        "hello, world"
    }
}
impl ExampleTrait for Example {}

#[swift_bridge::bridge]
mod example {
    extern "Rust" {
        type Example;
        fn example(&self) -> &str;
    }
}

"ExampleTrait" is not in scope in the generated rust module (not surprising), so you get a compile error:
no method named `example` found for reference `&Example` in the current scope
items from traits can only be used if the trait is in scope

I've been looking for a way to trick swift_bridge into producing a "use" item for the trait, but so far no luck.  The workarounds I've found all require adding a dummy "impl" block for the struct, which redefines default functions so the bridge can find them.  That can be automated with macros.
A more general feature, which would cover the same behavior, would be something like reusable trait bridge definitions. Something like this:
#[swift_bridge::bridge]
mod example {
   extern "Rust" {
      trait ExampleTrait;
      fn example(&self) -> &str;
   }

   extern "Rust" {
      struct ExampleA;
      impl ExampleTrait for ExampleA;
   }

   extern "Rust" {
      struct ExampleB;
      impl ExampleTrait for ExampleB;
   }
}

Do you think either of these features would be a good fit for swift_bridge (default trait functions; reusable trait definitions)? Or is there a better approach?

Thanks for the detailed report.
Can you describe your real-world use case? My thoughts on the right solution will depend on that.


Cross-Origin Request error on account login using a Pixelfed.fr account

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

Which site: [e.g. dev.phanpy.social OR phanpy.social]
Which site version: [On Phanpy, go to Settings -> About]
Which instance: [e.g. mastodon.social]

When login from the instance Pixelfed.fr on both dev.phanpy.social and phanpy.social [2024.04.17.b6cf53c], there is a Cross-Origin Request error in the console and the interface does not load.
To Reproduce
Steps to reproduce the behavior:

On the onboarding screen, select login
Enter the instance adress 'pixelfed.fr'
On pixelfed.fr, enter with a user
See error in console

Expected behavior
Phanpy should allow the connection to any Pixelfed instance.
Screenshots

Desktop (please complete the following information):

OS: Windows
Browser : Edge
Version : Edge 123.0.2420.65

Additional context
Add any other context about the problem here.

I see, thanks for reporting. It seems like there's no new Pixelfed version release with the fix for this yet. The latest release was v0.11.13 (March 5) and the fix was added on March 18. This probably means that pixelfed.social (the instance I'm testing on) is running on the latest changes instead of stable releases.
CORS issue (Cross-Origin Request error) is something that client-side web apps can't fix, so will need to wait for a new Pixelfed release for pixelfed.fr to upgrade to, then the login should work.
Sorry for prematurely announcing Pixelfed support on Phanpy 🙇♂

Don't be sorry, that's absolutely the fault of the Pixelfed server for not being up date. 🙏 Thanks for your work on this excellent client!

I can now report that I was able to add my pixelfed.fr account in Phanpy! Congrats and thanks for the good software!


Test RUN

Need to see if we can test run.py.
It's too slow. Less then 30 minutes is acceptable.

The test is running at this commit
06eb4bb4648e8b0d3fec5f9447051c451fa87c38


python310Packages.google-resumable-media: 2.3.3 -> 2.4.0

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

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

41 packages built:

barman
baserow
dvc-with-remotes
mycli
python310Packages.django-storages
python310Packages.duckdb
python310Packages.duckdb-engine
python310Packages.gcsfs
python310Packages.gensim
python310Packages.google-cloud-automl
python310Packages.google-cloud-bigquery
python310Packages.google-cloud-storage
python310Packages.google-resumable-media
python310Packages.ibis-framework
python310Packages.pathy
python310Packages.ray
python310Packages.smart-open
python310Packages.spacy
python310Packages.spacy-transformers
python310Packages.sqlglot
python310Packages.textacy
python39Packages.django-storages
python39Packages.duckdb
python39Packages.duckdb-engine
python39Packages.gcsfs
python39Packages.gensim
python39Packages.google-cloud-automl
python39Packages.google-cloud-bigquery
python39Packages.google-cloud-storage
python39Packages.google-resumable-media
python39Packages.ibis-framework
python39Packages.pathy
python39Packages.ray
python39Packages.smart-open
python39Packages.spacy
python39Packages.spacy-transformers
python39Packages.sqlglot
python39Packages.textacy
snakemake
tandoor-recipes
wal_e


Assorted fixes for testing matrix comparisons

This is work from the ANIb and fastANI matrix testing (issues #102 and #104).
The helper function will now test all available matrices (which we want to do generally), but this currently breaks with fastANI - so that is disabled in the short term.

Codacy is just grumbling about asserts in test code 😞
I'd like to merge this afternoon, and then I think I can have the fastANI and ANIb matrix testing PRs ready.

Thank you


Pickle Pyro object for calibrate

This PR simply adds parameters.pickle to S3 when running a calibrate

im out of the loop whats parameters.pickle?

im out of the loop whats parameters.pickle?

It's the calibrated parameters from Pyro serialized and saved to a file. I don't know exactly this will consumed without Python on the frontend though. @liunelson @brandomr might have more context


Stitching The name authorize was already registered by another type. (HotChocolate.Types.DirectiveType)

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Gateway.GraphQL/program.cs
`
var builder = WebApplication.CreateBuilder(args);
var Auth = "auth";
builder.Services.Configure(builder.Configuration.GetSection("TokenSettings"));
builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
.AddJwtBearer(options =>
{
options.TokenValidationParameters = new TokenValidationParameters
{
ValidIssuer = builder.Configuration.GetSection("TokenSettings").GetValue("Issuer"),
ValidateIssuer = true,
ValidAudience = builder.Configuration.GetSection("TokenSettings").GetValue("Audience"),
ValidateAudience = true,
IssuerSigningKey = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(builder.Configuration.GetSection("TokenSettings").GetValue("Key"))),
ValidateIssuerSigningKey = true
};
});
builder.Services.AddHttpClient(Auth, c => c.BaseAddress = new Uri("https://localhost:7132/graphql"));
builder.Services.AddAuthorization();
builder.Services.AddGraphQLServer()
.AddRemoteSchema(Auth)
.AddAuthorization();
var app = builder.Build();
app.MapGraphQL();
app.UseAuthentication();
app.UseAuthorization();
app.Run();`
Steps to reproduce

I use .NET 6 in Windows
Create Project Gateway.GraphQL and write code for authorize with JWT
Create Project Auth.GraphQL  and write code for authorize with JWT
Run Auth.Graphql Works and Gateway.GraphQL Fail Error

Relevant log output
HotChocolate.SchemaException: For more details look at the `Errors` property.

1. The name `authorize` was already registered by another type. (HotChocolate.Types.DirectiveType)

   at HotChocolate.Configuration.TypeRegistry.Register(NameString typeName, RegisteredType registeredType)
   at HotChocolate.Configuration.TypeInitializer.<>c__DisplayClass20_0.<CompleteNames>g__CompleteName|0(RegisteredType registeredType)
   at HotChocolate.Configuration.TypeInitializer.ProcessTypes(TypeDependencyKind kind, Func`2 action)
   at HotChocolate.Configuration.TypeInitializer.CompleteNames(Func`1 schemaResolver)
   at HotChocolate.Configuration.TypeInitializer.Initialize(Func`1 schemaResolver, IReadOnlySchemaOptions options)
   at HotChocolate.SchemaBuilder.Setup.InitializeTypes(SchemaBuilder builder, IDescriptorContext context, IReadOnlyList`1 types, LazySchema lazySchema)
   at HotChocolate.SchemaBuilder.Setup.Create(SchemaBuilder builder, LazySchema lazySchema, IDescriptorContext context)
   at HotChocolate.SchemaBuilder.Create(IDescriptorContext context)
   at HotChocolate.SchemaBuilder.HotChocolate.ISchemaBuilder.Create(IDescriptorContext context)
   at HotChocolate.Execution.RequestExecutorResolver.CreateSchemaAsync(NameString schemaName, RequestExecutorSetup options, RequestExecutorOptions executorOptions, IServiceProvider serviceProvider, TypeModuleChangeMonitor typeModuleChangeMonitor, CancellationToken cancellationToken)
   at HotChocolate.Execution.RequestExecutorResolver.CreateSchemaServicesAsync(NameString schemaName, RequestExecutorSetup options, CancellationToken cancellationToken)
   at HotChocolate.Execution.RequestExecutorResolver.GetRequestExecutorNoLockAsync(NameString schemaName, CancellationToken cancellationToken)
   at HotChocolate.Execution.RequestExecutorResolver.GetRequestExecutorAsync(NameString schemaName, CancellationToken cancellationToken)
   at HotChocolate.Execution.RequestExecutorProxy.GetRequestExecutorAsync(CancellationToken cancellationToken)
   at HotChocolate.AspNetCore.HttpPostMiddleware.HandleRequestAsync(HttpContext context, AllowedContentType contentType)
   at HotChocolate.AspNetCore.HttpPostMiddleware.InvokeAsync(HttpContext context)
   at HotChocolate.AspNetCore.WebSocketSubscriptionMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Additional Context?
No response
Product
Hot Chocolate
Version
12.3.0

Finally he is working but commenting on the line AddAuthorization(); After AddGraphQLServer().
Already run the gateway, but now when executing a query, it does not recognize the past headers with Authorization but if you pass directly to microservice but not by the gateway, sorry but not existing a guide of how to implement Authorization with Federation I do not know where to ask help

Ask this question please on slack.chillicream.com
You need to give people time to answer on slack and might also need to repost your question.


Make '_events' 'readonly'.

https://app.codacy.com/manual/Tektronix/initialstate.NET/issues?&filters=W3siaWQiOiJMYW5ndWFnZSIsInZhbHVlcyI6WyJDU2hhcnAiXX0seyJpZCI6IkNhdGVnb3J5IiwidmFsdWVzIjpbIkVycm9yUHJvbmUiXX0seyJpZCI6IkxldmVsIiwidmFsdWVzIjpbbnVsbF19LHsiaWQiOiJQYXR0ZXJuIiwidmFsdWVzIjpbbnVsbF19LHsiaWQiOiJBdXRob3IiLCJ2YWx1ZXMiOltudWxsXX1d

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@kreghek Thanks so much for contributing!! Can you go to this link and sign the CLA so that we can accept the changes? Thanks!
https://cla-assistant.io/tektronix/initialstate.NET?pullRequest=16


Add ability to disable notification showWhen

Performance boost because system is not running a chronometer behind the scenes (why it is disabled by default in API 28+)

This should actually be the default.


How to set Heap size

By default the memory limit in Node js is 512 mb. This will cause FATAL ERROR- JS Allocation failed – process out of memory when processing large data files. How do i fixed it in Visual studio code
ported from https://github.com/Microsoft/vscode-docs/issues/489

As far as I know you cannot set the heap size.

I found that you can use the --max-old-space-size=<max-heap> node argument. You can add it to the runtimeArgs property of your config in launch.json.
See example below.
{
    "version": "0.2.0",
    "configurations": [{
            "type": "node",
            "request": "launch",
            "name": "Launch Program",
            "program": "${workspaceRoot}\\server.js"
        },
        {
            "type": "node",
            "request": "launch",
            "name": "Launch Training Script",
            "program": "${workspaceRoot}\\training-script.js",
            "runtimeArgs": [
                "--max-old-space-size=4096"
            ]
        }
    ]
}

Can anyone please guide how to increase max-old-space-size when using Visual Studio 2017? I am using Angular template in VS 2017 and having memory errors when publishing.

@naveedahmed1 If you open the .csproj file in a text editor you will find the following section, there you can add the --max-old-space-size as I have done:
<Target Name="PublishRunWebpack" AfterTargets="ComputeFilesToPublish">
<!-- As part of publishing, ensure the JS resources are freshly built in production mode -->
<Exec Command="npm install" />
<Exec Command="node --max-old-space-size=4096 node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js --env.prod" />
<Exec Command="node --max-old-space-size=4096 node_modules/webpack/bin/webpack.js --env.prod" />

<!-- Include the newly-built files in the publish output -->
<ItemGroup>
  <DistFiles Include="wwwroot\dist\**; ClientApp\dist\**" />
  <ResolvedFileToPublish Include="@(DistFiles->'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
    <RelativePath>%(DistFiles.Identity)</RelativePath>
    <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
  </ResolvedFileToPublish>
</ItemGroup>

Thanks for sharing this @matthewwren  , just found it recently :)


JS/TS version

Would love to use this in my product, but can't until it has a JS/TS implementation (and async). Interestingly, neither MSFT Guidance nor LMQL offer it either, so it could be a huge differentiator for adoption. Tons of LLM-based systems are now being built in JS/TS since they don't need the AI/ML capabilities that pre-LLM projects needed from Python.
Barring a JS/TS version, if it had async and retry/timeout logic, I'd consider using an interface in a Lambda function or something.

Hi @clharman, that is an interesting proposition - I don't think a JS/TS implementation is in scope for us, but could you say more about what "async and retry/timeout logic" might look like?

I think running python as typescript may work.
https://github.com/pyodide/pyodide
Any approaches?

A Lambda function means all iit start a vrm-like that returns the result of the outlines computation.

@zaqqwerty sure here's what I meant by asnyc and retry/timeout. For context, I use Azure OpenAI service in production with customers and these issues are really important to most production use cases.
Async: OpenAI calls are slow and IO intensive. Many use cases need to make calls simultaneously, for example any branching logic (like tree of thought, I don't use that but I do similar things). I often make 10-20 calls at the same, you can imagine how slow that would be if it all happened sequentially. So I had to build my own async API wrapper so that those calls wouldn't block while waiting for responses.
Retry/timeout: There's a small percentage of OpenAI calls that simply hang until they time out, which takes a really long time. Obviously, that provides a horrid user experience, so I configure a timeout that kills the request after a certain amount of time (usually by 4 seconds it will have succeded, or else you know it's either going to hang). Then, if the timeout was hit, the request gets retried. Strangely, the failure behavior is only semi-random: certain words/contexts seem to raise the likelihood of failure, like "viscosity". As you can imagine, pretty important to have a good mitigation pattern for production usage.
A big challenge I think you folks will deal with on this project is supporting all the "OpenAI wrapper API" features that there are 1000 repos for, figuring out which to integrate into your system. I can confirm from my background as an enterprise implementer that these features would be very helpful, but I'm sure you're already getting spammed with all the other ones... good luck, great project!


How to post image on linkedin profile

Hello
I used your code to post a text on my profile
But the problem is how can I post an image ?
I couldn't do that.
Please Help Me.
Thanks

How come you cannot post an image?

Closing due inactivity.

The picture will post on wall as a preview link not an image

Creating a rich media share is done in two steps. First, the media is uploaded to LinkedIn's media platform. Then, a personal or organization share referencing that media is created.
This URL might be help you.
Rich Media share documentation link


result logging confusion

[x] I'm up-to-date with the latest release (i.e. v.0.4.9 and all upcoming possibly):
[x] I've confirmed that my Keras model works outside of Talos.

I found a crucial issue in the result logging (i.e. results.py for all current an upcoming versions). All results, as well as the headers are stored in a single list, which is the member object self.result, or temporary variable _rr_out respectively. However, to store the values, the dictionary keys are traversed and concatenated into the list. And here comes the issue: Python does not guarantee the order of keys in a dictionary! Therefore, it is possible that values like acc may become acc_val, or the loss value becomes a parameter, and so on.
It might be the case that this issue hardly happens for only a few metrics and parameters. But it definitely happens in my exhaustive evaluations with dozens of metrics and parameters.
However, this issue can be very easily fixed by using a dictionary instead of a list for storing the results. I already implemented this feature in my fork: https://github.com/tik0/talos/commit/8db906f0ca8498de963b0e3c787e58a721e9e395
(Please notice that this commit is a forked branch, which comes with disabled stringification (#271), user defined history (#272) and fixed entropy (#268))
This is a major issue from my point of view and I will elaborate on a patch for a PR if desired.

Thanks, that's great. This is related with #267.
Do I understand correct, if we are using an ordered dictionary, and we take the keys from there once and then always refer to that wherever it might be required, the issue is resolved?

This could be the case for your parameters which needs to be cast if a user hasn't defined it as an ordered dict. But you also have to cast the keras history object as well. I think this isn't a very elegant solution just for making your list approach work. As you can see in my commit, I just replaced the self.result list with the dictionary and just match the keys during the result update which is definitely the intended python way for what you want to do.

Thanks, that's great. This is related with #267.
Do I understand correct, if we are using an ordered dictionary, and we take the keys from there once and then always refer to that wherever it might be required, the issue is resolved?

Yes, my approach is a direct solution to issue #267. I haven't found it earlier, sorry.

Can you make a PR (to daily-dev) with just this the issue in #267 fixed. The stringification takes us to deeper topics, where it might be more meaningful to address the underlying problem all together. I could start working on a rebuild of logging as soon as we establish a clear picture of what would be the important criteria there. More on that in #271.

I proposed a PR: #274. However, it comes naturally with disabled stringification, since there is really no need to stringify all objects inside a dictionary. As of version v.0.5.0, this might be a logical step.

Thanks. This part is handled now in a much improved matter as part of the move to the next LTS version which starts from v.0.6. You can start using it with:
pip install git+https://github.com/autonomio/talos
Closing here.

Thanks. This part is handled now in a much improved matter as part of the move to the next LTS version which starts from v.0.6. You can start using it with:
pip install git+https://github.com/autonomio/talos
Closing here.

Could you briefly describe how and where you have fixed the issue wrt. stringification and confusion of dictionaries?

I was also encountering this issue, including with a daily-dev branch that included this fix.  If I look at that commit, the results are still stored in an unordered dictionary...
def _round_parameters_todict(self, values):

    round_parameters = {}

    for i, key in enumerate(self.param_keys):
        round_parameters[key] = values[i]

    return round_parameters

...that is then traversed to add a row
def run_round_results(self, out):
    ...
    # record the last epoch result
    for key in out.history.keys():
        _round_result_out.append(out.history[key][-1])

    # record the round hyper-parameters
    for key in self.round_params.keys():
        _round_result_out.append(self.round_params[key])

I went a different route in my own branch and put protections into place to ensure the right order and also catch any dropped keys: https://github.com/mikepm35/talos/commit/46e4787790882e93a247e1fcc0b323a69a73c068


Add steps for indexing troubleshooting

Closes https://github.com/Shopify/ruby-lsp/issues/2296

Since the new docs have been moved around, I'll close this and open a seperate PR.


getWorkItemRelations refresh issue

Hi, I've an extension that add, delete and show "HyperLinks" that there are in the "Links" tab of the Work item.
When I tested the removeWorkItemRelations() i noticed that my function that pickup the getWorkItemRelations retrieves the HyperLinks I just removed. If I see the Link's tab, its ok.
I implement a refresh button, but the result is the same.
Here is my code:
function refreshDataSource() {
    getWorkItemFormService().then(function (service) {
        service.getWorkItemRelations().then(function (relations) {
            var dataSource = relations.filter(function (relation) { return relation.rel === "Hyperlink"; });

            debugger;
            console.debug('RelationShips returned: ' + dataSource.length);
        })
    });
}

There is a way I can force to get the updated list of relations?
Thanks!

Could you look at the properties of the link returned?  We keep track of added vs deleted so that we don't re-add the same link again if the end user adds/deletes a link.  The link should have a deleted property on it.

I have looked at attribute property in relations and can't see the deleted property.


[SUGGESTION] Season 1 Rewards

Suggesting Season 1 Rewards as different chopper skins (color) or player-title.

Yes, we should figure out seasonal rewards. When used on conferences and events, those rewards could be physical but it would be nice to highlight the current seasons leader(s) when they do runs too. Fun idea :)


Supply a helm chart

Is your feature request related to a problem? Please describe.
I'm setting up a local kubernetes cluster and need a local Nuget feed. I came acros this repo and see it's very active. There also is a docker image on Docker Hub already. So a helm chart is the logical expansion to that.
Describe the solution you'd like
Create a helm chart to deploy BeGetter on kubernetes.
Describe alternatives you've considered
I could write the yaml files to define the kubernetes resources myself, but I prefer helm to do it for me.
Additional context
I can prepare a PR if you want this, too

No I don't. That would be nice

That sounds interesting. Never worked with Helm, this is new to me. What other tools would you compare it with? Is Ansible on a too abstract level? Or a Nomad deployment config file (not sure what those are called)? Or docker compose? I wonder how to store these cleanly in our directory structure. Top level "deloy[ment[s]]" folder maybe?

I quickly removed the company info from the helm chart I wrote for bagetter and pushed it in a new branch here:
https://github.com/Hechamon/BaGetter/tree/feature/add_helm_chart/helm
I ran Helm lint on it and it passes, but the version that I have deployed myself looks a bit different because it contains more stuff that is company specific, so make sure you test it beforehand :-)
Also I would suggest adding some more variables to the values file, like resource requests and pvc size.

@Hechamon  Thank you for your chart. It inspired my PR.
I used the common-library to create this chart, so the k8s resources are definined correctly.
This is only the chart itself. In a next step it can be privided through a helm repository.
Meanwhile you need to clone this repo and install the chart from it sources
git cone https://github.com/bagetter/BaGetter.git
helm install bagetter ./chart/bagetter/

You may modify the deployment parameters by creating a custom myvalues.yaml which overrides or extends the default values.yaml.
helm install bagetter ./chart/bagetter/ -f myvalues.yaml

Btw. this is my ansible playbook to deply this chart
---
- name: Create a bagetter namespace
  kubernetes.core.k8s:
    name: bagetter
    api_version: v1
    kind: Namespace
    state: present

- name: Clone bagetter git repo
  git:
    repo: "{{ bagetter_git_repo }}"
    dest: /tmp/bagetter

- name: Build helm dependencies
  shell: helm dependency build /tmp/bagetter/chart/bagetter
  args:
    creates: /tmp/bagetter/chart/bagetter/Chart.lock

- name: Deploy bagetter helm chart
  kubernetes.core.helm:
    name: bagetter
    chart_ref: /tmp/bagetter/chart/bagetter
    release_namespace: bagetter
    state: present
    values:
      configMaps:
        bagetter-env:
          data:
            ApiKey: "{{ bagetter_apikey }}"
            Mirror__Enabled: "true"
            Mirror__PackageSource: "https://api.nuget.org/v3/index.json"
      defaultPodOptions:
        nodeSelector:
          kubernetes.io/os: linux
      controllers:
        bagetter:
          containers:
            bagetter:
              probes:
                liveness:
                  enabled: true
                  type: HTTP
                  path: /
                  initialDelaySeconds: 10
                  periodSeconds: 10
      ingress:
        bagetter-ingress:
          enabled: true
          className: nginx
          annotations:
            cert-manager.io/cluster-issuer: "{{our_cluster_issuer}}"
            kubernetes.io/ingress.class: nginx
          hosts:
            - host: "{{bagetter_host}}"
              paths:
              - path: /
                pathType: ImplementationSpecific
                service:
                  name: bagetter
                  port: 8080
          tls:
            - secretName: tls-bagetter
              hosts:
                - "{{bagetter_host}}"
      persistence:
        bagetter-data:
          size: 100Gi

Anyone know how to add a helm chart linter to our workflow? Would be nice that when a pull request changes something in deployment templates, the helm chart gets linted before a PR can continue.

This looks promising
https://github.com/helm/chart-testing-action


no DPP.framework in newest edsdk

Thanks for this. I can't seem to find the DPP.framework in the most recent sdk (3.2). Any idea where I can find version 2.14?

if anyone has a copy of SDK 2.14 (canon rep says they won't provide older SDKs) please private message me.


Add the displayName static property to the Provider component

The Provider component has lost its descriptive name in React Dev Tools in the 6.x version of mobx-react:

This PR adds it back:

@FredyC CI checks were not passed :(


[Discussion] Minimum Python 3 version required for next release

For the next release of devlib Python 2 support will be dropped and we will be completely switching to Python 3. This seems like a good time to define what the minimum version of Python 3 will be used going forward.
Our initial thoughts were to set this as Python 3.6 as this seemed to have a large adoption however comments from https://github.com/ARM-software/devlib/pull/387 indicate this could cause issues for those using still using Python 3.5 and therefore this may be a better option.
Therefore opening this issue to discuss the pros and cons of each.

All in all, we might be able to require Python >=3.6 but that means asking people to use PPA. Do you have some kind of informal list of things that are desirable in 3.6 and not in 3.5 ? (formatted literals are definitely desirable :-) but may not be big enough to warrant dropping native xenial support :-( ).

Release notes for 3.6 are here: https://docs.python.org/3/whatsnew/3.6.html
Having looked through those again, the summary is that there is quite a lot there that we would like to be able to use in WA, but there is nothing that is "essential". So if dropping support for version 3.5 means that a lot of infrastructure would require to be updated, I think we can live without the 3.6 features for now.
Specifically, I see the following new features and improvements to existing features being useful for WA:

PEP487:"Simpler customization of class creation" and "Descriptor Protocol Enhancements" would allow some plugin code to be a lot simpler.
PEP519: "FS path protocol" -- given how much path manipulation and tracking happens inside devlib and WA, if would be nice to be able to encapsulate some of it inside path objects.
PEP498 and PEP515: while these are basically just syntactic sugar, I can see them making code significantly more readable in some cases. (PEP498 is what triggered this whole discussion).
Other things, such as PEP525, PEP530, and PEP526, are not immediately relevant to the current code, but I can see them being useful in the future.

PEP519: "FS path protocol" -- given how much path manipulation and tracking happens inside devlib and WA, if would be nice to be able to encapsulate some of it inside path objects.

Some tools (exekall) in LISA use pathlib.Path objects extensively. The main annoyance with <3.6 is that str() needs to be called all the time before feeding them to most of the library, but these str() can be cleaned up very easily the day 3.5 support is dropped.

PEP487:"Simpler customization of class creation"

Would be also useful in LISA to get rid of some metaclasses, and the potential (trivial) metaclass conflicts that can appear.
Other useful additions to Python 3.6:

"Two new enumeration base classes have been added to the enum module: Flag and IntFlags. Both are used to define constants that can be combined using the bitwise operators."
https://docs.python.org/3/whatsnew/3.6.html#enum

A point was made that this discussion was never concluded; so I'm going to make the following call: We're going to continue supporting Python 3.5 for at least the next release in order to avoid migration hassle for infrastructure running on Ubuntu 16.04 (which still appears to be fairly wide-spread).  This decision will be revisited for future releases.
Please feel free to re-open the issue if you strongly disagree with this.


chore(sync): :hammer: synced file(s) with seedcase-project/template-python-project

synced local file(s) with seedcase-project/template-python-project.

Changed files

synced local directory .vscode/ with remote directory .vscode/

This PR was created automatically by the repo-file-sync-action workflow run #10831842293

Woops, I accidentally did a squash instead of rebase. Sorry about that


Update default value for AllowEngagementReport in meeting-policies-in-teams-general.md

Closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/7610.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@CarolynRowe PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Allow specifying silence duration, not just end time

If I go to /silences and add a silence by entering "45h" in the "Ends At" textbox the textbox updates with a time - however when I hit "Create Silence" it silently fails to create the silence. Using the date picker works.

@brian-brazil @juliusv This is now possible in the new UI. Please reopen if I am misunderstanding something.


Add default exclusion to .iso, .bin, & .cue

My system will BSOD when using this program on disk images and it will mess up the disk images (thankfully I just tried using it on images meant for DOSBox but anyways) add a default exclusion to .iso, .bin, & .cue files to prevent this behavor.

That's weird, they should be fine, and they DEFINITELY shouldn't cause a STOP. The worst that should happen is that Windows's native ISO mounting wont work because it doesn't understand WOFCompressed ADS streams, and VHD/VHDX/other virtual HDD images will usually not end well due to complications in how they work.


Adding rcurve, rsphere, auxiliary latitudes, loxodrome_inverse, meanm, depature, meridianarc

Adding rcurve.py containing several functions that compute the radii  of curvature for an ellipsoid.
Adding rsphere.py containing several functions that compute the radii of auxiliary spheres. Adding latitude.py containing several functions that compute auxiliary latitudes and their inverse functions.
Adding 'loxodrome_direct' to compute the end point of a loxodromic curve from a start lat/lon, azimuth, and distance.
Fixing 'loxodrome_inverse', it previously failed on the degenerate case of east/west azimuth. Adding 'meanm' which computes the geographic mean of points on a spheroid.
Adding 'departure' which computes the distance between two longitudes at a specified latitude. Adding 'meridianarc' which computes the distance between two latitudes along a specified longitude.
Added 'thirdflattening' and 'eccentricty' attributes to ellipsoid definitions.
Removed all instances of '%%' in comments.

This pull request introduces 17 alerts when merging 01daf11740928e01510615f55f9024d992dc4219 into 5a0ca7b6964917b954edbd50844c36c54b5e7c73 - view on LGTM.com
new alerts:

11 for Unused import
5 for Unused local variable
1 for Explicit export is not defined

This project has automated code review enabled, but doesn't use the LGTM GitHub App. Migrate over by installing the app. Read about the benefits of migrating to GitHub Apps in the blog.

Comment posted by LGTM.com

This pull request introduces 6 alerts when merging 65ef88f46884227046cca851d14fa97f1bd8506d into 5a0ca7b6964917b954edbd50844c36c54b5e7c73 - view on LGTM.com
new alerts:

4 for Unused local variable
2 for Unused import

This project has automated code review enabled, but doesn't use the LGTM GitHub App. Migrate over by installing the app. Read about the benefits of migrating to GitHub Apps in the blog.

Comment posted by LGTM.com

This pull request introduces 1 alert when merging 982b946e501443c3e18a3a745ef226cfff0c1cf1 into 5a0ca7b6964917b954edbd50844c36c54b5e7c73 - view on LGTM.com
new alerts:

1 for Unused import

This project has automated code review enabled, but doesn't use the LGTM GitHub App. Migrate over by installing the app. Read about the benefits of migrating to GitHub Apps in the blog.

Comment posted by LGTM.com

Thank you. The # %% are for IDEs such as
PyCharm
and
Spyder
that use # %% as a "code cell" analogous to IPython and Matlab.

I was working on this before the API internal change to make PyMap3D much more non-Numpy friendly, while still being Numpy, Pandas, Xarray friendly.
I was working through numerical accuracy bugs in the PR in the rcurve branch. I am a little short of time at the moment, but I intent to integrate your features along with the numerical fixes. Thanks for your contribution and patience

I think I will integrate these function by function. A lot of these are clearly working, but I had some questions over numerical stability of others.   So I only add a function as I add tests for that function. You and/or others had recently pointed out numerical stability issues in older pymap3d functions so I don't want to add more issues.

all the auxilary latitude.py have been added. I think this will make the others go easier, as I fixed some trivial singularity stuff in them.

These have been incorporated in master branch. There were several errors in the code corrected along the way, as each function had a mini test suite created before adding.
We are putting the finishing touches on better numpy vs. No numpy compatibility before making a v2.1 release.

Thank you very much!


[fix] included typescript 3 in peerDependency version range (closes #332)

This should close #332
It updates the package-json to allow ts 3.0 as a peer dependency, preventing the following warning:

warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>
   "peerDependencies": {
     "tslint": "^5.0.0",
-    "typescript": "^2.2.0"
+    "typescript": "^2.2.0 || ^3.0.0"
   },

(this PR duplicates #338. oops)

@buzinas ping... any chance we can get this merged?

Sorry about that guys, I'll start getting this back on npm.

Thanks!


Conda environment failing

Describe the bug
I have an error when installing the conda environment with the usual steps. This is caused for an update in the Anaconda version that drops the support for Python 3.8.2 and other dependencies.
Steps To Reproduce
Make a fresh install of the latest anaconda distribution and follow the installation steps.

#6421 address this issue


C# Plugin: Add configuration for JSON attributes

Is your feature request related to a problem? Please describe.
C# plugin has hardcoded behavior when dealing with JSON attributes. It always uses Newtonsoft.Json. This flow is unacceptable for such scenarios:

Use plugin without generating JSON attributes.
Use JSON attributes of another library (like standardized System.Text.Json).

I would like to use this plugin and library in general to generate POCO classes for my GraphQL schema in the Schema-first HotChocolate project, but I am not using Newtonsoft.Json and don't want to embed it in my project for fixing such a case.
Describe the solution you'd like
Add 2 additional options for configuration:

emitJsonAttributes: boolean (default: true, to keep compatibility)
jsonAttributesSource: 'Newtonsoft.Json' | 'System.Text.Json' | ... (default: 'Newtonsoft.Json' to keep compatibility)

The second option will be ignored when the first one is undefined or false.
I already have a solution in my fork, will create PR for that.

Available in
<EMAIL_ADDRESS><EMAIL_ADDRESS>


Fixed a typo in ncu-config.md

Fixed a typo when I read through this tool's documentations. Hope you don't mind. :)

Thanks @GithubGoldMiner for fixing the typo.

@priyank-p Thank you for merging this change! : ) Have a good day!


PLACEHOLDER - TASK-3407 - Add gzip and allow contentt-ype to be defined

Not sure if this is required

Task linked: TASK-3407 Populate results cache for specific organisms and tools


Options: new option ShowBilledChars

This will let the users see how many characters they've used when using the TranslateMany function.
I would add the same field to Translate as well, but the API is not very extensible there.

Thanks! I merged #13 and added a new Client.Translation() method that returns the Translation with the billed characters for a single translation 👍🏼


Add Introducing ASP.NET Web API book by M Reza Faisal

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

In general, we do not link to file sharing sites, or file hosting sites such as google docs. or dropbox.
Please read docs/CONTRIBUTING.md guidelines!


Removed a console.log from fetchEmbed

Hi, I've removed a console.log line. Please publish a new version with this fix. Thank you.

@aletorrado thank your for your contribution.


Github tags

It would be very helpful if new tags were created for each new crate version.
https://github.com/georust/geos/tags atm only has 2.0.2

Ah right. Do you want tags for geos only or for geos-sys and geos-src too?

Both would be good.


Internal Codable conformances prevent custom implementations

I was attempting to decode a network response that contains an array directly to NonEmpty. However, the synthesized decodable init does not work with an array as the input. I attempted to override the synthesized init via an extension, but it's ignored at runtime.
I'm wondering if we could remove that conformance from the library and let clients add the conformance as needed to allow for more flexible decoding. The other option is that I'm doing something wrong, of course :)

I think this is addressed in master.


Added cms_path to plugin / placeholder operations

this should be fine @czpython

Coverage increased (+0.1%) to 82.642% when pulling 6560bbbeda24633eefcac9b3330e37c9e644bc58 on vxsx:feature/pathname-for-undo-redo into a63a6e378fedd2757bb760897154575fdf2202d5 on divio:release/3.4.x.

Coverage increased (+0.02%) to 82.537% when pulling da5d90bb3f1a351c5954bc42e27bd508ed2966b2 on vxsx:feature/pathname-for-undo-redo into a63a6e378fedd2757bb760897154575fdf2202d5 on divio:release/3.4.x.

Coverage increased (+0.02%) to 82.537% when pulling da5d90bb3f1a351c5954bc42e27bd508ed2966b2 on vxsx:feature/pathname-for-undo-redo into a63a6e378fedd2757bb760897154575fdf2202d5 on divio:release/3.4.x.

Coverage increased (+0.02%) to 82.537% when pulling<PHONE_NUMBER>b758a25684d5f0ce3819d5e0db4388 on vxsx:feature/pathname-for-undo-redo into a63a6e378fedd2757bb760897154575fdf2202d5 on divio:release/3.4.x.

Coverage increased (+0.02%) to 82.537% when pulling 6f4988746d118758e2b0c06dc5c1e43612927435 on vxsx:feature/pathname-for-undo-redo into a63a6e378fedd2757bb760897154575fdf2202d5 on divio:release/3.4.x.

Coverage decreased (-0.03%) to 82.489% when pulling 10f71431979eaa0b3f4f7afdbc3312a24912ebe8 on vxsx:feature/pathname-for-undo-redo into a63a6e378fedd2757bb760897154575fdf2202d5 on divio:release/3.4.x.

Coverage decreased (-0.03%) to 82.489% when pulling 10f71431979eaa0b3f4f7afdbc3312a24912ebe8 on vxsx:feature/pathname-for-undo-redo into a63a6e378fedd2757bb760897154575fdf2202d5 on divio:release/3.4.x.

Coverage decreased (-0.1%) to 82.489% when pulling 044a1eee77dd1846cae054691cdeaf9ec34423a9 on vxsx:feature/pathname-for-undo-redo into 7e2e4995740d9e8cf3c6061c3bea9a12cfbbface on divio:release/3.4.x.

Coverage decreased (-0.1%) to 82.489% when pulling a51a0eefc52d65cf5de0e69692596fbda3e5c318 on vxsx:feature/pathname-for-undo-redo into f0ca708e66f24bf54f5f345e36b447134e50d59f on divio:release/3.4.x.


Downloading blobs not working

Setup using the docker image oittaa/gcp-storage-emulator (docker-compose).
...
storage:
    image: oittaa/gcp-storage-emulator
    volumes:
      - ./.cloudstorage:/storage
    ports:
      - 9023:9023
    environment:
      - PORT=9023

and tests:
@pytest.fixture(scope="session", autouse=True)
def setup_local_storage_emulator():
  client = storage.Client(
          credentials=AnonymousCredentials(),
          project="test",
      )
  # fill buckets with test data
  try:
      bucket = client.create_bucket(TEST_BUCKET)
  except Conflict:
      bucket = client.get_bucket(TEST_BUCKET)

  blob = bucket.blob("blob1")
  blob.upload_from_string("test1")
  blob = bucket.blob("blob2")
  blob.upload_from_string("test2")
  # up to here everything runs
  for blob in bucket.list_blobs():
      content = blob.download_as_bytes()
      # this step fails
      print("Blob [{}]: {}".format(blob.name, content))

The error I get after a while is the following:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='<IP_ADDRESS>', port=9023): Max retries exceeded with url: /download/storage/v1/b/TEST_BUCKET/o/blob1?generation=1640043791&alt=media (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2434a7460>: Failed to establish a new connection: [Errno 111] Connection refused'))

Is there something

I don't use Docker Compose, so I don't really know what's going on. If you'll provide a minimal test case, I could try to reproduce it at some point.

Ran into the same issue. Did you find anything later? @JeffryCA

I ran into the same issue recently, and after some investigation I believe I've discovered the cause.
The download process first resolves the blob to an object resource and then uses the mediaLink property to determine where to download the resource from.
Unfortunately, the mediaLink is constructed from the base_url of the server, which is usually <IP_ADDRESS> when running the emulator inside of a docker-compose.  Since docker containers in docker-compose are generally addressed via DNS, its likely that you have your STORAGE_EMULATOR_HOST set to the name of the service where the emulator is running.
This in turn means that when you try to download the blob in the container different from the one where the emulator is running, you end up making the download request to <IP_ADDRESS> rather than the hostname of the container where the emulator service is running.
I think a relatively straightforward solution to this might be to allow for a STORAGE_HOST environment variable that defaults to DEFAULT_HOST if not provided. The mediaLink can then be constructed from STORAGE_HOST allowing it to work inside of the docker network.
I'd be happy to set this up if PR's are welcome on the project?

I was able to get things working with a combination of https://github.com/oittaa/gcp-storage-emulator/issues/82#issue-990990857 and https://github.com/oittaa/gcp-storage-emulator/issues/82#issuecomment-915135545. looks like this works around the issue @Gradecak mentioned?


[App Service] az webapp config ssl import: Fix #25876: local variable 'cert_name' referenced before assignment

Related command

az webapp config ssl import
Description

Fixes #25876
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

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

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

App Service


List all accounts in the service

As a Learner
I need access to the service
So that I be able to list all accounts in the service
Details and Assumptions
* List all accounts in the service

Acceptance Criteria
gherkin
Given abc
When def
Then chi


Remove Cython as a setup dependency for Mac

The package cython was added as a dependency in pyOCD to fix a missing
dependency in hidpi.  This dependency has been properly added to
hidapi so this workaround can be removed.
This patch reverts the following commit:
712ad33d780bc41a02ee67a8b49d4829b4b74ac8 -
"Adding Cython as a setup dependency for Mac"

+1


Consider immutable classes for generic fields

Given a class with a generic type parameter T, where T is guaranteed to be an instance of U. If the class has a final field of type T and U has been guaranteed to be immutable, then the class will also be considered immutable.
This implementation modifies the "allowing" Matcher only. It uses reflection to determine if the field type being assigned had previously been specified immutable. In #104, it is suggested that generic information can be captured and stored for later use. However, I did not follow this approach as it seemed more invasive (would require capturing that in FieldLocation) and the generic information was available via Reflection. I can, however, change this if desired.

Sure thing, @Grundlefleck . I'll look into that over the weekend.

@Grundlefleck #145 shows how this would work with the type information in FieldLocation.


automatically upload images to docker hub

pushing images from travisci works. Here are some: https://hub.docker.com/r/trustlines/py-eth-index/tags/


Recordreplay net-monitor stream events support

Support for sending network request data events to network monitor interface in linker.
See #RUN-709

Testing this in cloud-dev causes the linker process to abort somewhere during handling getPossibleBreakpoints.  However, I'm not convinced it's due to my changes.  Might just be because I'm using an older driver/linker combo with my build.
I'll try a clean build without my changes and see if the issue still persists.

Built a reference build on cloud-dev and made a similar recording and ran into similar crashes, so I'm gonna chalk this up as not related.
Putting up for review.

Final testing locally with fresh driver is clean.  This is landable yay :)


ETTH result cannot be reproduced

Hi, I wonder the result on ETTH dataset in paper, are they  Normed or Denormed?
If they were denormed, the difference between my result and the paper is too large.
This is my result, is this correct?  (I used the latest version code)
Final mean normed mse:0.3660,mae:0.3998
denormed mse:8.2375,mae:1.5608

Hi, in the paper, we use normed mse. Your result is correct.

Thanks!


PocketItem Equals method is broken

It is broken here: https://github.com/ceee/PocketSharp/blob/master/PocketSharp/Models/PocketItem.cs#L414

Hi. Thanks for your PR.
I will add a failing unit test which checks the equality operator + equals and merge your changes afterwards.

I can't reproduce the fail. I have added the equality tests and they pass with the current implementation. See here: https://github.com/ceee/PocketSharp/commit/49436e0aaaff5dd045ca71fe37d944a5c7266329
Could you please provide more information on how and where it is broken and how to reproduce it?

You need to pass a diferent type of object to Equals as argument, so the cast will fail

Thanks, confirmed.

Merged #34 and will update the NuGet package soon. Thanks for your contribution :)


add support for custom env variables during build

is this a needed feature?

Yeah, makes sense.
Thanks

Yeah, makes sense.
Thanks


'localhost:3000 says Project with name "" does not exist'

I have the simple viewer app running on localhost. Once I have clicked on 'Open Sample iModel', I get message 'localhost:3000 says Project with name "" does not exist'. I believe its me not setting imjs_test_imodel and imjs_test_project correctly. I've tried a number of times trying different syntax and then rebuilding the app, only to get the same stumbling block. No doubt its me but any advice greatly appreciated. Copy of .env.local below:
-----------------------------------------------------------------------------------------------------------
Project and iModel (REQUIRED)
Must un-comment the lines below and set these variables before testing - create a new project and
iModel with the developer registration procedure here - https://git.io/fx8YP
-----------------------------------------------------------------------------------------------------------
Set this to the name of the sample iModel
imjs_test_imodel="via-model"
(Optional) Set this to the name of the sample project.  Defaults to name of the iModel.
imjs_test_project="via-model"
(Optional) Un-comment to use general-purpose-backend. Default value is 0 = local backend
imjs_backend=1
-----------------------------------------------------------------------------------------------------------
Client registration (RECOMMENDED but OPTIONAL)
Must set these variables before deployment, but the supplied defaults can be used for testing on localhost.
Create a client registration using the procedure here - https://git.io/fx8YP (Developer registration). For the purpose
of running this sample on localhost, ensure your registration includes http://localhost:3000/signin-oidc as a
valid redirect URI.
-----------------------------------------------------------------------------------------------------------
Set this to the registered clientId
Note: "imodeljs-spa-samples-2686" is setup to work with the (default) localhost redirect URI below
imjs_browser_test_client_id="imodeljs-spa-samples-2686"
Use this client id when running electron app
imjs_electron_test_client_id="imodeljs-electron-samples"
Set this to be the registered redirect URI
Note: "http://localhost:3000/signin-callback" is setup to work with the (default) web clientId above
imjs_browser_test_redirect_uri="http://localhost:3000/signin-callback.html"
Set this to be the registered post signout redirect URI
imjs_browser_test_post_signout_redirect_uri="http://localhost:3000/"
This redirect uri is set up to be used with the electron clientId above
imjs_electron_test_redirect_uri="http://localhost:3000/signin-callback"
Set this to be the scopes of services the application needs to access
Note: The default value set above ensures the minimal working of the application
imjs_browser_test_scope="openid email profile organization imodelhub context-registry-service:read-only product-settings-service general-purpose-imodeljs-backend imodeljs-router urlps-third-party"

Hey,
I have a few suggestions:

Make sure you are editing interactive-app/simple-viewer-app/.env.local
You shouldn't need the quotes around the name of your iModel
You shouldn't need to set imjs_test_project
When changing .env.local, you do not have to build again; you can just run npm run start


Bump T1 dependencies

Updated: nix/t1/_sources/generated.json
nix/t1/_sources/generated.nix

chipsalliance/chisel#4178 will improve performance significantly


WIP: Link to a basic guide on OpenShift release types

https://issues.redhat.com/browse/FDN-166

lgtm


Check for floating point typed columns

Hello,
Would it be welcome to have a new service to check for floating point typed columns ?
I had the bad pleasure to detect some float8 columns to handle financial datas. Would it be interesting at some point to provide such service ? Otherwise, I can handle this in a custom query.
Thanks for your feedback.
Thomas

Slippery slope. There are many things of this kind to detect. That will end with a service called "audit_schema" that will always detect some things. A worthy goal and that would be fun to do, but maybe not in this project?

You are right, it's a bad idea as there are so many common mistakes to detect.
Thanks, closing this issue.


Classes won't work

Two of the classes won't work. The PanoramaImageView and GyroscopeObserver. They can't resolve the ImageView in public class [classname] extends ImageView and they both have an error that says
'addPanoramaImageView(com.gjiazhe.panoramaimageview.PanoramaImageView)' is not public in 'com.gjiazhe.panoramaimageview.GyroscopeObserver'. Cannot be accessed from outside package

Why do you use this function "addPanoramaImageView"


[BUG] Unable to use AuthorizationManagementClient due to preview api use

Library name and version
Microsoft.Azure.Management.Authorization 2.0.13.preview
Describe the bug
Trying to add a role assignment but unable to use AuthorizationManagementClient to do anything.
The library has been in preview for the last 5 years and each preview release used a release of the Azure preview API which subsequently got dropped in lieu of a properly dated library version.
If I drop to 2.0.1 which is the last stable release from 2017 I can't use with .net core.
Can you let me know when there will be another stable release of this library? For now I'm dropping back to the REST API.
Expected behavior
Adds role assignment to an Azure object
Actual behavior
Response produces:
{"error":{"code":"InvalidApiVersionParameter","message":"The api-version '2020-08-01-preview' is invalid. The supported versions are '2022-05-01,2022-03-01-preview,2022-01-01,2021-04-01,2021-01-01,2020-10-01,2020-09-01,2020-08-01,2020-07-01,2020-06-01,2020-05-01,2020-01-01,2019-11-01,2019-10-01,2019-09-01,2019-08-01,2019-07-01,2019-06-01,2019-05-10,2019-05-01,2019-03-01,2018-11-01,2018-09-01,2018-08-01,2018-07-01,2018-06-01,2018-05-01,2018-02-01,2018-01-01,2017-12-01,2017-08-01,2017-06-01,2017-05-10,2017-05-01,2017-03-01,2016-09-01,2016-07-01,2016-06-01,2016-02-01,2015-11-01,2015-01-01,2014-04-01-preview,2014-04-01,2014-01-01,2013-03-01,2014-02-26,2014-04'."}}
Reproduction Steps
Something like this.

Generate a bearer token
Use the AuthorizationManagementClient
Assign a role definition (contributor used below)
Watch is blow up with: "code":"InvalidApiVersionParameter","message":"The api-version '2020-08-01-preview' is invalid

var credentials = new TokenCredentials(await GetAccessTokenFor(resourceUriAzure,_tenantName, _tenantId, _clientId, _clientSecret));
var client = new AuthorizationManagementClient(credentials);
var assignment = await client.RoleAssignments.CreateByIdAsync(resourceId, new Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateParameters()
{
PrincipalId = userName,
PrincipalType = "User",
RoleDefinitionId = "b24988ac-6180-42a0-ab88-20f7382dd24c"
});
Environment
.net 6
windows 11
Visual Studio 2022

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'ARM:0.18391359,Resource Authorization:0.08880011,Storage:0.04429862'

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

@azurecoder please try with our new generation of .NET SDK: https://www.nuget.org/packages/Azure.ResourceManager.Authorization/1.0.0
Here is a quick start guide: https://github.com/Azure/azure-sdk-for-net/blob/main/doc/dev/mgmt_quickstart.md


Wrong behavior of new_profile action of oneview_server_profile_template when using API500

Scenario/Intent
When we are using API500 to apply action :new_profile of oneview_server_profile_template, the resource is trying create a new Server Profile Template based on server_profile_name property, but the Server Profile is not created yet, throwing the exception. Even that Server Profile is created, the action :new_profile should create a new Server Profile and not a Server Profile Template, because the action :new_profile is about create a new Server Profile based on the template.
After exchange ideas with @fgbulsoni, he raised an idea of to remove the action :new_profile, and I think that is good idea, because with the ability to create recipes of oneview_server_profile associating it to a Server Profile Template, the :new_profile action make less sense now.
Expected Result
Remove the :new_profile action of oneview_server_profile_template resource OR fix the bug.
I votes to remove the :new_profile action. What do you think about it? =)
Actual Result
When ServerProfileTemplateProvider API200 call the new_profile method to create a new ServerProfile, it execute a processing and it calls the create_if_missing  method that calls the create method of ServerProfileTemplateProvider of API500 is called, that try load_resource ServerProfile and throw a error because the ServerProfile was not found (it was not created yet).
This behavior is wrong, the new_profile method should just create a new Server Profile.

This issue is fixed if #336 is done.


Advisory improvement for GHSA-j9cf-pr2x-5273

Updates

Summary

Hi @RDIL! Thank you so much for being one of the first folks to submit a community contribution! We value you making our database better.
I'd love to learn more about your use case.
Would be interested in chatting with me for 30 minutes in the next month via Zoom? If so, please follow the link below to schedule a time that works best for us both. In recognition of your time, we’ll send you a $60 gift card/cash card/credit for the GitHub Swag store.
https://calendly.com/security-advisories-ux-calls/25min?back=1&month=2021-10

Sure @KateCatlin, I'll look into finding a time that works for me.


docker container ls should point to docker ps

All the details about the options and the examples are under engine/reference/commandline/ps.md. Since they are aliases there should be a link to the one with all the details.
File: engine/reference/commandline/container_ls.md

Hi @usha-mandya could you direct me on how to fix this?
I want to write a note that refers users where to go to for examples as found in /commandline/ps#usage:


SyntaxError on Mac OS X 10.9.5

On going to Scribus > Scrips > Execute script... and opening scribusgenerator.py I get the following error:
Traceback (most recent call last):
  File "<string>", line 8, in <module>
  File "/Users/guillem/.scribus/scripts/ScribusGenerator-master/ScribusGenerator.py", line 153
     except IOError as e:   #except FileNotFoundError as e:
                     ^
 SyntaxError: invalid syntax

python --version says Python 2.7.11

I cannot find ~/.scribusGenerator.log
And (sorry) now I see that the error also says
If you are running and official script report it at bugs.scribus.net please.
Should I go there instead?

Hello @gbuendia
This is the right place to report this problem, as this script is not an "official" one from the scribus core team.
What OS and version of Scribus are you using?
From your first report it looks like you're using some windows, in this case the log file should be located in C:\Users\guillem.scribusGenerator.log    it is indeed there?, and if yes can you paste the end of it to get more information on that particular error.

Hi! Thanks for answering so quickly.
I'm on a Mac running OS X 10.9.5 (Mavericks). My Scribus version is 1.4.5.
I can confirm there's no log in ~/ after the error in Scribus. But it is created after running the CLI version (which works nice: 2016-09-23 08:30:38 - INFO - <module>:149 - Scribus Generation completed. Congrats!).
Trying to run the script again from Scribus and getting the error does not add any lines to that log.

Could you please then try to remove the end of the faulty code line, in ScribusGenerator.py line 153? removing everything after the double dots:    #except FileNotFoundError as e:
saving, and then trying again?
If that results in another syntax error on line 234 simply repeat the same modification to get rid of  # ⟲ ⟳ ↻ ↺ ⌂ ⌘ ⎗ and you should be good to go.
That being said I don't get why you'd get a syntax error in that place... so this might need more investigations. Since the script runs fine in Ubuntu and Windows I suspect a problem with some version of the python interpreter.
Could you please check which version of python is embedded in your Scribus flavour?  You can get that info by going to Script > show Console, then paste the following lines in the top box (commands):
import sys
print(sys.version)

running it via Script > run and pasting the output (bottom box) here.
My result for Scribus 1.4.5 in Windows is 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)]

Hi. Unfortunately, removing the #except FileNotFoundError as e: part does not change the result.
What I get running the console command is:
2.5.6 (r256:Unversioned directory, Mar  9 2014, 22:15:03)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]

I guess that shouldn't be like that, should it?

Well there's not much we can do to update the embedded python version (it has been defined by the guy who packaged it for Mac)... but it may be a reason for failure as 2.5.6 is quite old.
Would it be possible for you to update your Scribus to the more recent 1.5.2? It's announced by the developers as stable enough in production, and I confirm using it satisfactorily in both Windows and Ubuntu. You get added bonus of more functionnalities, but gotta be cautious as the format is not backwards compatible, so making a backup of your current sla is advised.

Just updated both things. Now I get:
2.7.5 (default, Mar  9 2014, 22:15:05)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]

... But now trying to open the script gets me either a spinning cursor. I can still use Scribus but the three first elements of the Script menu are greyed out. After a while, all the contents —texts, graphics, etc— of the document appear transparent (it's just a test card like in your video tutorial, nothing important to lose) until I close and reopen it. The script menu remains grey, though.
I tried downloading your release 2.3 of august, too, but Scribus crashes. No new lines in the log.
I don't know what other info can help.

Prefer the current code rather than the 2.3 release (I'll make a new release when we find a fix to your problem).
I've had previous reports of the Mac version of python not always including tK interface (it's the GUI library I use).. but don't know how to check and/or fix this.
We could at least test it quickly to rule this problem in or out: could you please try to run the few scripts below from scribus (either from the console or by saving them to a standalone file and running them using Script > Run and see if you get indeed a set of 3 dialogs that displays allright?
guitest1.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import tkMessageBox
tkMessageBox.showinfo('box', message='this is a message box')

guitest2.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import tkFileDialog
file = tkFileDialog.askopenfilename(title='Choose...', defaultextension='.csv', filetypes=[('CSV - comma separated values', '*.csv *.CSV'),('TSV - tab separated values', '*.tsv *.TSV'),('TXT - text', '*.txt *.TXT'),('all','*.*')])
if file:
    print("file is %s"%file)
else:
    print("no file was selected")

guitest3.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import Tkinter
from Tkinter import Frame, LabelFrame, Label, Entry, Button, StringVar, OptionMenu, Checkbutton, IntVar, DISABLED, NORMAL, PhotoImage
Tkinter._test() # a small windows with 2 buttons should pop up. It may be located under the current application.

I did this first, both in Scribus console and in Terminal, both successfully:
>>> import Tkinter
>>> print Tkinter.TkVersion
8.5

The first test (messageBox) worked on Terminal, but caused Scribus to crash the first time, and do nothing the second (but the normal Script menu is greyed out, and trying to run the test again from the console Script menu yields: Another script is already running... Please let it finish its task...
I too can use the CLI version, I think it works fine; and I will need a single file output, so exporting the PDF manually will not be painful for me.

I'm getting a similar issue, running MAC OS 10.11 and Scribus 1.5.2, every time I try and run the sript I get a loading cursor and nothing else happens. Have we found a fix for this?

Hello.
This problem is known on Mac OSX, and due to the fact it does not ship with
some library (TKinter) needed to display the graphical interface of Scribus
Generator.
So far I found no GUI alternative available on all OSes. If you know of one
kindly let me know.
Meanwhile the command line interface of Scribus Generator works just fine.
You can find all needed information on the project homepage, readme, and in
our wiki.
Hope this helps.
Better.
Le mer. 11 avr. 2018 11:18, Jamcob<EMAIL_ADDRESS>a écrit :

I'm getting a similar issue, running MAC OS 10.11 and Scribus 1.5.2, every
time I try and run the sript I get a loading cursor and nothing else
happens. Have we found a fix for this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/berteh/ScribusGenerator/issues/63#issuecomment-380385601,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACQVgvKX5aMuRO4C4M3AAqbEb5PiNKmks5tncp9gaJpZM4KEP9C
.

I'm no longer on MacOS so I can't try more things to help.


Downloading to local machine broken

Server Log:

[08/Dec/2022 10:20:47] "GET /socket.io/?EIO=4&transport=polling&t=OJn2PDN&sid=CNvvrpeRb3FzBV_sAAAC HTTP/1.1" 200 -
download file from host to client:[s ETA 00:01]
download path: /home/passihd/webui-yt-dlp/download

[08/Dec/2022 10:20:53] "GET /download/s%20ETA%2000:01 HTTP/1.1" 404 -

The downloaded file is in the downloads folder, but cant be downloaded from the server to my pc.

[08/Dec/2022 10:20:53] "GET /download/s%20ETA%2000:01 HTTP/1.1" 404

could you share the youtube link you used ? ... may be it's related to a special character in the video title


docs: replace elasticsearch with opensearch for magento 2 quickstart

The Issue
Regarding https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/system-requirements.html only opensearch is supported going forward. The current quickstart for Magento 2 still uses elasticsearch.
How This PR Solves The Issue

Elasticsearch has been replaced by opensearch.
The rm -f app/etc/env.php is not needed because of --disable-settings-management.

Manual Testing Instructions
Simply follow the new quickstart instructions.
Automated Testing Overview
I could not find anything related to documentation testing, so I think it's not needed.
Release/Deployment Notes
Only related to the documentation. (markdown)

Thanks for this. I'm concerned that ddev-opensearch is lightly maintained and doesn't have tests. I opened

https://github.com/netz98/ddev-opensearch/issues/1

Your assertion

only opensearch is supported going forward

is hard to find in the link you give. I see elasticsearch supported all the way across for on-premise.

Your assertion

only opensearch is supported going forward

is hard to find in the link you give. I see elasticsearch supported all the way across for on-premise.

You're right, I misunderstood. Better described here: https://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/configure/service/elasticsearch.html (Wondering what will happen with 2.5.x)

WARNING
Elasticsearch 7.11 and later is not supported for Adobe Commerce on cloud infrastructure. Adobe Commerce versions 2.3.7-p3, 2.4.3-p2, and 2.4.4 and later support the OpenSearch service. The on-premises installations continue to support Elasticsearch.

There was a huge shift in the community as elasticsearch changed the license from APLv2 to SSPL. That's probably the case why cloud does not support it anymore. (Many managed hosters switched as well)
But I assume since we don't have any official opensearch addon it's not a clever idea to promote the installation that way.

Thanks for tracking this, and please do keep us up-to-date. Unfortunately we haven't figured out a way to test the quickstarts, so we count on kind contributors like you to keep them working.

@Morgy93 @rfay That's not so easy here.
ElasticSearch ist not supported anymore for the new Adobe Commerce Cloud projects.
Thats, because of the changed ElasticSearch license for hosters.
Local installations or self-hosted installations are not affected by the license change.
Technically ElasticSearch is still supported for On-Premises installations.
See here:
https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/system-requirements.html?mt=false&lang=en
There is a tab for both installation versions.
For ddev we have to decide if we want to have Open Search or ElasticSearch in the quickstart example or maybe both.

I managed to get one of the two unofficial add-ons (netz98/ddev-opensearch, sebastian-ehrling/ddev-opensearch, I do not recall which one for sure but I believe it was sebastian-ehrling/ddev-opensearch) to work yesterday, but today https://.ddev.site:9200 returns either a 404 page not found or a Bad Request error. I have tried everything I can think of (removing, re-getting, restarting, reviewing logs, etc) to resolve this issue.
How can use opensearch with DDEV for Magento?

I managed to get one of the two unofficial add-ons (netz98/ddev-opensearch, sebastian-ehrling/ddev-opensearch, I do not recall which one for sure but I believe it was sebastian-ehrling/ddev-opensearch) to work yesterday, but today https://.ddev.site:9200 returns either a 404 page not found or a Bad Request error. I have tried everything I can think of (removing, re-getting, restarting, reviewing logs, etc) to resolve this issue.
How can we use opensearch with DDEV for Magento?

Did you follow the instructions provided by this PR?

ddev get --installed will show you what you installed.

Thank you both for such quick responses!

I managed to get one of the two unofficial add-ons (netz98/ddev-opensearch, sebastian-ehrling/ddev-opensearch, I do not recall which one for sure but I believe it was sebastian-ehrling/ddev-opensearch) to work yesterday, but today https://.ddev.site:9200 returns either a 404 page not found or a Bad Request error. I have tried everything I can think of (removing, re-getting, restarting, reviewing logs, etc) to resolve this issue.
How can we use opensearch with DDEV for Magento?

Did you follow the instructions provided by this PR?

Yes...to a degree...
I already have Magento Enterprise (for Magento Cloud) installed with an existing project. I'm currently in the process of updating 2.4.3 to 2.4.6 (which requires a switch from ElasticSearch to OpenSearch). So I installed OpenSearch by running ddev get netz98/ddev-opensearch. Then I ran ddev get --remove ddev-elasticsearch. The only other difference in the PR is setting configs in the database, which I also did.

Network ddev-actionis2_default  Created
Container ddev-<project>-opensearch  Created
Container ddev-<project>-db  Created
Container ddev-<project>-opensearch-dashboards  Created
Container ddev-<project>-web  Created
Container ddev-<project>-opensearch  Started
Container ddev-<project>-db  Started
Container ddev-<project>-opensearch-dashboards  Started
Container ddev-<project>-web  Started
$ ddev get --installed

I did spot the attached error with ddev logs -s opensearch
opensearch-error.txt

You can use elasticsearch with magento2, see https://ddev.readthedocs.io/en/latest/users/quickstart/#magento
ddev magento setup:install --base-url='https://ddev-magento2.ddev.site/' --cleanup-database --db-host=db --db-name=db --db-user=db --db-password=db --elasticsearch-host=elasticsearch --search-engine=elasticsearch7 --elasticsearch-port=9200 --admin-firstname=Magento --admin-lastname=User<EMAIL_ADDRESS>--admin-user=admin --admin-password=Password123 --language=en_US

You can use elasticsearch with magento2, see https://ddev.readthedocs.io/en/latest/users/quickstart/#magento
ddev magento setup:install --base-url='https://ddev-magento2.ddev.site/' --cleanup-database --db-host=db --db-name=db --db-user=db --db-password=db --elasticsearch-host=elasticsearch --search-engine=elasticsearch7 --elasticsearch-port=9200 --admin-firstname=Magento --admin-lastname=User<EMAIL_ADDRESS>--admin-user=admin --admin-password=Password123 --language=en_US

Yes, I referred to the configuration updates command in my last reply.
As pointed out in this thread, you can use ElasticSearch for Magento Community Edition and for Adobe Commerce On-premises (self-hosted enterprise), but not for Adobe Commerce on Magento Cloud. For obvious reasons, my development environment should be configured with the same software as my production environment.

Hi @amcguireweb - This closed PR is not the place to pursue your support request. You can open a new issue with the details (and don't forget ddev debug test)  You can join us in Discord. Other options at https://ddev.readthedocs.io/en/latest/users/support/?h=support

I did spot the attached error with ddev logs -s opensearch opensearch-error.txt

If you search for your error Could not load codec 'Lucene95' you get many results.
It has nothing to do with DDEV specifically.
I assume that OpenSearch tries to use your old Elasticsearch data which is not compatible.
You should remove Elasticsearch and all its data first.
Only then you can install OpenSearch and index fresh data.
If that does not work right away, then please open a new issue or join us in Discord as rfray stated.
https://ddev.readthedocs.io/en/latest/users/support/?h=support

If you search for your error Could not load codec 'Lucene95' you get many results. It has nothing to do with DDEV specifically.

Thank you. I have not implied that it had anything to do with DDEV. I merely asked how we can use OpenSearch with DDEV, as the only two options that I find available do not work. Just wondered if there was a workaround.'

You should remove Elasticsearch and all its data first.
Only then you can install OpenSearch and index fresh data.

Yes, I have removed ElasticSearch and it's data entirely and arrived at the same results.

Hi @amcguireweb - This closed PR is not the place to pursue your support request. You can open a new issue with the details (and don't forget ddev debug test) You can join us in Discord. Other options at https://ddev.readthedocs.io/en/latest/users/support/?h=support

I am in Discord and have been for most of the afternoon. Would you be able to help if I posted a new issue? There are several other issues already posted that receive any solutions; I didn't see the need for yet another one asking about the same thing.

If you're in discord, then post a clear question in #support there. That's the way you'll get help. You need to state very specifically what you situation is. Just being there won't get an answer for you.

@rfay sorry, I missed that. I will try to update our netz98 demo to work with opensearch to check this.

@rfay I updated the demo https://github.com/netz98/ddev-magento-demo to run with opensearch as default.


Sanitize input for attacks

Sanitize input and/or encode rendered content to prevent attacks.  We can start with looking at HTML injection attacks:
https://www.hackingarticles.in/beginner-guide-html-injection/

Good thing to consider, as we want users to feel comfortable what they are sharing is going to the appropriate group / private website they intend.  Thank you for the informative link!


how to create Custom full screen buttons for Leaflet

can any one suggest me how to create Custom full screen using button for Leaflet
(Button navigate out side Leaflet Map).
Thanks.

@AnilKumaRLotla Can you provide a bit more context on what you are trying to achieve?


NullPointerException: null

forge-1.12.2-<IP_ADDRESS>6-universal.jar
spongeforge-1.12.2-2486-7.0.0-BETA-2645.jar
CatClearLag-0.8.1.jar
https://gist.github.com/ziceptor/9fb4456ca9e2bf5cdf695c6d081460e0

http://jenkins.timethecat.pw:8080/job/CatClearLag/lastSuccessfulBuild/artifact/build/libs/CatClearLag-0.8.1.jar

The same.
https://gist.github.com/ziceptor/b3d6a3afab45b7c6690fbc15df8bc6c6

http://jenkins.timethecat.pw:8080/job/CatClearLag/14/

Thank you!


adds combine

how do you like this guys?
//cc @tomekwi @hemanth

Hmm, I have mixed feelings. I don’t know if it’s not too specific for such a general-purpose library.
And apart from that – understanding the source took me a good minute or two – while with the other functions I grip it in seconds.

Hmm... maybe you are right. I thought it is general enough ( I wouldn't add camelize and stuff)... I will think about moving it to its own module.

:+1: it’s definitely a useful thing :)

I will keep this open until I moved it to its own module

@stoeffel  move it to fp-js ;)

Closed in favor of https://github.com/stoeffel/reassemble-string

@hemanth I think this is best fitted as its own module

Yup, all I was trying to do there was bring up back to fp-js ;)


Server Client doesn't set Content-Type header

I'm intercepting requests made by the server client to a TSI Environment so I can use the same environment in a multi-tenant way.
When the client makes a request to the server (i.e. to the 'environment'), it puts JSON in the body but doesn't set the "Content-Type" to application/json. This means intercepting and validating the JSON is hard, because in my case ASP .NET Core framework returns 415 unsupported media type.
Currently working around by reading the body, but this is not ideal.
Expected Result:

Requests containing JSON should have the Content-Type = application/json

Actual Result

Content-Type header is "text/plain;charset=UTF-8"

ahh yeah this is good feedback, thanks!  gimme a day or two to take a look, we are working on settling the 1.3.0 release right now so things are a bit swamped...appreciate the feedback!

For anyone having the same issue, I'm using a custom resource filter to fix the content type before it hits the controller.
public class AddJsonContentType : Attribute, IResourceFilter
{
        public void OnResourceExecuting(ResourceExecutingContext context)
        {
            context.HttpContext.Request.Headers["Content-Type"] = "application/json";

        }

        public void OnResourceExecuted(ResourceExecutedContext context)
        {
        }
}

[AddJsonContentType]
public async Task<IActionResult> QueryTimeSeries(QueryRequest query)
{
...
}

haven't forgot about you i promise, @niusoff  should be adding this in a PR this week

this has been merged to master, see here
It's been published in a beta release, 1.3.6-beta.0
This will be included in the next non-beta release...feel free to pull it down and give us feedback.  Thanks!