text:
Issue building Swagger during build-time on non-Windows platform

In the wiki you describe how to wire up the generation to occur during build, which is of great value. However, when I run this on a Mac, I see that it's specifically calling a tool from the Win folder, that's an .exe. This fails on a Mac with the following error output at build-time.
Task "Exec"          Environment Variables passed to tool:            ASPNETCORE_ENVIRONMENT=Development          "/Users/bradygaster/.nuget/packages/nswag.msbuild/13.3.0/build/../tools/Win/NSwag.exe" aspnetcore2openapi /assembly:/Users/bradygaster/source/Weather/bin/Debug/netcoreapp3.1/Weather.dll /output:swagger.json          /var/folders/yd/yx7g3rbn1rn9n5x_pr65m0980000gn/T/tmp4180e802dbe54195a9ca0ca149253efb.exec.cmd: line 2: /Users/bradygaster/.nuget/packages/nswag.msbuild/13.3.0/build/../tools/Win/NSwag.exe: cannot execute binary file    1:7>/Users/bradygaster/source/Weather/Weather.csproj(15,5): error MSB3073: The command ""/Users/bradygaster/.nuget/packages/nswag.msbuild/13.3.0/build/../tools/Win/NSwag.exe" aspnetcore2openapi /assembly:/Users/bradygaster/source/Weather/bin/Debug/netcoreapp3.1/Weather.dll /output:swagger.json" exited with code 126.        Done executing task "Exec" -- FAILED.    1:7>Done building target "NSwag" in project "Weather.csproj" -- FAILED.    1:7>Done Building Project "/Users/bradygaster/source/Weather/Weather.csproj" (default targets) -- FAILED.
Is there an upcoming fix for this? It seems limiting that this is only available on Windows, when .NET Core and MSBuild are available on on other platforms.
Would love to sync up on some ideas I have for using this, but they'd require it work on non-Windows as well, given the use-case.

You're probably using $(NSwagExe) in your csproj which is the full .net binary, for .NET Core you need to use eg. $(NSwagExe_Core31)
see https://github.com/RicoSuter/NSwag/wiki/NSwag.MSBuild

Thanks @RicoSuter - saw that shortly after posting the issue. Will make sure this works as expected with some changes and close if so. Thanks so much.
Any opportunities for a Teams sync next week?

@RicoSuter - tried this and out-of-the-box with a 3.1 Web App that doesn't have a Newtonsoft.JSON dependency, it doesn't work. Error below. Will peruse the docs and figure out what to do to resolve, but "as little as possible" would be optimal given the use-case scenario I'm thinking of.
System.InvalidOperationException: No service for type 'NSwag.Generation.IOpenApiDocumentGenerator' has been registered.

Never mind - got it working. I was under the impression that there'd be no need for the inclusion of nswag.aspnetcore, but once I added it and wired up the middleware it works. Thanks for the help. Again, let me know if you have time to sync up soon, looking forward to talking about some new ideas here.

The main problem without Newtonsoft is that System.Text.Json does not expose metadat/reflection api, see https://github.com/RicoSuter/NSwag/issues/2243
Sure I’m working from home and often available... 🙂

source: gharchive/issue

authors: RicoSuter bradygaster

license: MIT

license_type: permissive

license_source: github-api


text:
Bug in Class Extensions: unidentified classes when adding suffix or prefix to the class name

Hi @RicoSuter
I am reporting a bug in the classes' extending operation.
It works perfectly when the app uses the default class name i.e. {controller}
If I use pure auto-generated classes' names the extended codes don't appear in the target classes. and when I use the class name as it will be in the generated file (e.g. {controller}Service => securityService) an exception says that the target class not found.
I tried to substitute pure controller names by the class output names and vice versa in different locations with no success! (e.g. extension ts file, declaring the protected methods and so on)

Maybe you can create a PR in NJS/NSwag to repro this?
Maybe better in NJsonSchema as this is where the root cause is probably.

Sorry for the delay, Please let me know if I am correct
Finally, the correct convention to extend the auto-generated classes with prefixes and/or suffixes is to use the class
  { prefixIfExists} + {classname} + {suffixIfExists} extends generated.{classnameOnly} {

}

Example:

class FilesApplicationsManagerService extends generated.FilesApplicationsManager {
}

authors: AbuDawood RicoSuter

repo: RicoSuter/NSwag


text:
c# client. OneOf on request types with derived abstract base class generates a method but not with the base class as parameter but the first of the derived classes

When having a request class defined by
public abstract class BaseClass
{
    [Required]
    public string BaseProp { get; set; }
}

public class DerivedA : BaseClass
{
    [Required]
    public string DerivedAProp { get; set; }
}

public class DerivedB : BaseClass
{
    [Required]
    public string DerivedBProp { get; set; }
}

and a controller taking the BaseClass as a param
[HttpPost("doSomething", Name = "DoSomething")]
[ProducesResponseType<string>(StatusCodes.Status200OK)]
public IActionResult DoSomething(BaseClass request)
{
    return Ok();
}

with configuration
builder.Services.AddSwaggerGen(swaggerGenOptions =>
{
    swaggerGenOptions.UseAllOfForInheritance();
    swaggerGenOptions.UseOneOfForPolymorphism();
    swaggerGenOptions.SelectSubTypesUsing(baseType =>
        typeof(Program).Assembly.GetTypes().Where(type => type.IsSubclassOf(baseType))
    );
});

The schema gets to be
{
  "openapi": "3.0.1",
  "info": {
    "title": "PocDemo.WebApi2",
    "version": "1.0"
  },
  "paths": {
    "/api/MyController/doSomething": {
      "post": {
        "tags": [
          "Policies"
        ],
        "operationId": "DoSomething",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DerivedA"
                  },
                  {
                    "$ref": "#/components/schemas/DerivedB"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DerivedA"
                  },
                  {
                    "$ref": "#/components/schemas/DerivedB"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DerivedA"
                  },
                  {
                    "$ref": "#/components/schemas/DerivedB"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BaseClass": {
        "required": [
          "baseProp"
        ],
        "type": "object",
        "properties": {
          "baseProp": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DerivedA": {
        "required": [
          "derivedAProp"
        ],
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseClass"
          }
        ],
        "properties": {
          "derivedAProp": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DerivedB": {
        "required": [
          "derivedBProp"
        ],
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseClass"
          }
        ],
        "properties": {
          "derivedBProp": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}

The generated c# client does not take the BaseClass as a param but instead the first of the derived types / oneOf´s and hence cannot be called with all possible derived request types.
public virtual System.Threading.Tasks.Task<string> DoSomethingAsync(DerivedA body)
{
    return DoSomethingAsync(body, System.Threading.CancellationToken.None);
}

Is it not suppose to figure out that it should pick the base type, so the operation can be called with either DerivedA or DerivedB?
It has figured out the both DerivedA and DerivedB derives from BaseClass and hence the base class should be the method argumenT?
    [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public partial class DerivedA : BaseClass
    {
        [Newtonsoft.Json.JsonProperty("derivedAProp", Required = Newtonsoft.Json.Required.Always)]
        [System.ComponentModel.DataAnnotations.Required]
        public string DerivedAProp { get; set; }

    }

    [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public partial class DerivedB : BaseClass
    {
        [Newtonsoft.Json.JsonProperty("derivedAProp", Required = Newtonsoft.Json.Required.Always)]
        [System.ComponentModel.DataAnnotations.Required]
        public string DerivedAProp { get; set; }

    }

this also got me confused... it looks like the Types are created correctly, but using the wrong type for the Api Model?


text:
Update README.md

correction of typos in readme.md
thank you :)

@ObsidianMaximus Thanks for the minor corrections!

No problem ma'am 😄

source: gharchive/pull-request


text:
Allow provider configuration in LWRP

You can now use the attribute repo_provider for hosted, proxy and
group repositories. This will default to maven2 but you can use

rubygems-hosted
rubygems-group
rubygems-proxy
nuget-proxy
...etc

Fixes #97

@brugidou, I'm a :+1: on this addition. I think it might make sense to add these as constants to the library code and to document and validate the input.
Maybe something like Chef::Nexus::PROVIDER_HOSTED. What do you think?

Why not, but we should still let any string as input since any Nexus plugin could potentially add new providers so it's not as useful to have constants.

repo: RiotGamesCookbooks/nexus-cookbook

license_source: bigquery


text:
Erome ripper ignores SD videos

Ripme version: 1.7.60
Java version: 1.8.0_181
Operating system: Windows 10.0.17134.165
Exact URL you were trying to rip when the problem occurred: https://www.erome.com/a/FlVLaUqF (NSFW)
Please include any additional information about how to reproduce the problem: Enter the above URL into ripme

Expected Behavior
All videos are ripped
Actual Behavior
Only HD videos are ripped, the above URL only contains 1 SD video and the ripper reports that the album does not contain any images.
More info
Instead of only selecting HD videos like it currently does, it should pick the highest resolution available based on the "res" attribute of the source files.

Needs new example.  Original was removed.

@cyian-1756
Recommend Closing:

URL no longer exists
Stale Issue

authors: Sepherane rephormat

repo: RipMeApp/ripme


text:
Account banned using Rettiwt

I'm working on a fairly small project and already have seen accounts get suspended while using rettiwt.tweet.search via node. I've now created 6 burner accounts and generated tokens for each but after a few days of use they get suspended.
I'm not using a proxy or anything like that, which might be causing the issue? It's not at a crazy scale or anything right now, and I haven't been rate limited yet (only banned).

Burner accounts, for some reason, are prone to getting suspended easily. I've tested it. But one weird thing is, my permanent accounts work fine, even after all this time. By permanent, I mean the accounts which is intermittently use to access Twitter from a browser. Maybe it's because of the fact that burner account are easy to detect based on the HTTP requests they make.
I'm trying to find a way to bypass or atleast mask their activity. Any insights will be valuable.

Ahh gotcha, thanks! That makes a ton of sense-- I'll switch over to permanent account and see if that helps. I saw some Reddit posts about fresh accounts getting flagged for ban more often than old accounts, so that's potentially the root cause?
Another quick q-- are you able to sign in via phone number via npx rettiwt auth login or is that method for email only?
Love this project btw, thanks for all the work you're doing

I saw some Reddit posts about fresh accounts getting flagged for ban more often than old accounts, so that's potentially the root cause?

I guess yes, atleast that's what has been happening to me throughout my testing. I've been using this with my primary Twitter account with my own name on it, and it's been working consistently without any issues, since the conception of this library.

are you able to sign in via phone number via npx rettiwt auth login or is that method for email only?

Phone number in place of email should work (assuming 2FA isn't required).

Ahh gotcha, thanks! That makes a ton of sense-- I'll switch over to permanent account and see if that helps. I saw some Reddit posts about fresh accounts getting flagged for ban more often than old accounts, so that's potentially the root cause?
Another quick q-- are you able to sign in via phone number via npx rettiwt auth login or is that method for email only?
Love this project btw, thanks for all the work you're doing

I know this issue is closed but I wanted to ask if using a permanent account helped for you?
Currently using it in a program that searches for tweets every 60 seconds and it works for 30 minutes but after that the account gets suspended.
I do have 2 other permanent accounts but I don't know if it's worth the risk.

@Timtendo12 I have been running a notification polling script using a permanent account, and it seems to be working for quite some time. However, I would still not pass any judgement if it will work for you. All I can say is, I use the account for Rettiwt-API and I also use the same account on a regular basis on Twitter Web and App. So I guess that might have been the reason why Twitter couldn't flag my account as a scraper, since I'm also using it on a regular basis (as a human lol). If the accounts are important to you, it isn't worth the risk.

@Timtendo12 I have been running a notification polling script using a permanent account, and it seems to be working for quite some time. However, I would still not pass any judgement if it will work for you. All I can say is, I use the account for Rettiwt-API and I also use the same account on a regular basis on Twitter Web and App. So I guess that might have been the reason why Twitter couldn't flag my account as a scraper, since I'm also using it on a regular basis (as a human lol). If the accounts are important to you, it isn't worth the risk.

Nice, I think it might work on my own account too. I do have some questions.

What is your notification polling interval? Is it every 60 seconds or longer?
Do you host it on your home network or in the cloud? I raised an issue today about the possibility of my home IP getting banned. My script is also a notification polling script.

What is your notification polling interval? Is it every 60 seconds or longer?

I was polling with an interval of 30 seconds and it crashed out after around 6-7 hours.

Do you host it on your home network or in the cloud?

It was being polled on a Replit deployement.

I raised an issue today about the possibility of my home IP getting banned

I don't usually face IP bans since I'm on a dynamic IP connection, with a double NAT.


text:
Set flex for .form-group__field

.form-group__field {   flex: 1; }

This is now implemented in v0.4.3

authors: JaZo RoachMech

repo: RoachMech/flexform

license: mit


text:
Scrollbar looks ugly on blur

https://user-images.githubusercontent.com/97551133/196073900-c1ea5677-d2d1-4839-a865-f4f89264a71a.mov
If you blur the scrolled element before the scrollbar fades away, you see the old ugly scroll bar flash in for a moment. This happens on my site and the demo as well. (MacOS/Chrome)

just realized it's the hover stlying

I realized this was a flash of the hover state, but I don't see how I can change that styling in the documentation. Is there an example of how to do that?

@jared3000 how did you fix it?

@jared3000 how did you fix it?

I ended up using a different plugin: https://www.npmjs.com/package/react-indiana-drag-scroll
However, that plugin isn't a 1-for-1 replacement so it might not work for you.


text:
jquery.val returns empty value

Chrome's version is 53.0.2785.143
When I call input.val() in firefox I get the value, but that doesn't well in Chrome. I tried the 'hack' of disable > get the value > and enable the mask, but that didn't seemed to work, either.
The mask is a date one:
$('#birthday').inputmask('dd/mm/yyyy',{ "placeholder": "dd/mm/aaaa" });

@urielasecas ,
Can you create a jsfiddle for it

Thanks, Robin. You can see it here: http://empleofacil.mx/completar-registro.php
Put a brakepoint in file validate.js line 283. The focus on date field, fill it and blur. That function is called and gets an empty value in chrome, but not in firefox.
Have a nice day.

@urielasecas ,
This is because the rgen extends on the valhook without taking other valhooks into account.
This is not a problem when your browsers support patching the native value property.  It seems that Chrome is using the valhook fallback.  I will see why the native value patch doesn't work on chrome anymore.
But for your problem, try by loading the rgen script first (before the inputmask)  The inputmask respects other valhooks.

I tried the valuepatching with CHrome 53.0.2785.143 and that seems to work as expected.
Just looked a bit deeper, ... the value is called, but the inputmask does not contain data.  I guess the datepicker prevents some events, so the inputmask is anaware of the input changes.

Thanks for your time, Robin. So, this will be fixed in the next version? How is that valuepatching that worked for you in order to implement it meanwhile?

@urielasecas ,
Euh I don't know if this will be fixed for the next release.  The valuepatching was my first guess as you said it worked in firefox.  But after looking into it, the valuepatching has nothing todo with it.
It is more a problem with the datepicker blocking events.  Creating a jsfiddle with the datepicker and the inputmask would help in investigating.

Thankyou, Robbin. Here is a simplified example on jsfiddle that works in firefox but not in Chrome 53.0.2785.143:
https://jsfiddle.net/3xa3ztkn/2/

I have the same problem.

@urielasecas , @MehdiSaeedifar ,
The jsfiddle showed me the problem.  type="date"
Which is supported on chrome and not on ff (ff uses fallback => text)
The inputmask does not mask when the native type=date implementaion is used, but was patching the value anyway which causes the empty value.

authors: MehdiSaeedifar RobinHerbots urielasecas

repo: RobinHerbots/Inputmask


text:
Add auto-links to laser-traps-with-beams.md

Changes
Added missing auto-links.
Checks
By submitting your pull request for review, you agree to the following:

[X] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses.
[X] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses.
[X] To the best of my knowledge, all proposed changes are accurate.

Thanks as always for the help here @Katrist!

authors: Katrist aetter

repo: Roblox/creator-docs


text:
Add the ability to access state from other scripts

I would like the ability to access state from other scripts

Rodux has no global state that can be accessed from the library itself; you'd have to pass a Store instance around. Can you provide more details for this?

Oh, ok.  That’s a thing.  I’ll close this.

authors: AmaranthineCodices kieranz

repo: Roblox/rodux


text:
Use luau-lsp for analysis

luau-analyze was deprecated in favor of using luau-lsp analyze

Coverage remained the same at 99.237% when pulling 36526876988e1e983771c5cf912929fef6aaac1b on luau-lsp into ce63e3d57b55c6af9805a92cc04691e98c8027a8 on master.

authors: coveralls ghostnaps


text:
SDF affordance unit test

Added SDF affordance unit test routine
Simplified affordance naming

Cool, I just loaded tabledemo.sdf in drake-designer.  This is a really nice new feature!

By the way, I see you're creating an individual affordance for each link element.  In the future, would you rather have one affordance for each model element?  I'd like to add a "PrimitiveCollectionAffordanceItem" to support this.  In the meantime, the only option might be the MeshAffordanceItem.

The PrimitiveCollectionAffordanceItem sounds good.
I would like to avoid using meshes because I want to work on heavily utilising basic shapes for collision detection in our planners.

repo: RobotLocomotion/director


text:
Unable to compile v2.6.0

Which version of Kotlin.SDK should i use?
It seems to me, tag for v2.6.0 is missing...

Just tagged the SDK.


text:
[NEW] Disable autoupdate on windows installer

[NEW] Allow setup to disable autoupdate
Closes #849
you can run the installer with the option "/disableAutoUpdates" to disable the update function in rocket.chat (like the windows App Store version)

/disableAutoUpdates does not seem to work for me on Windows 10, "Check updates on Start is still checked". Did uninstall and reinstall, same problem.

I have installed it on a W10 1809 VM over the existing 2.13.3 and it worked. No checkbox for updated.

I'm facing the same problem, rocket.chat is still offering to check for updates. I tried several ways but all ended up the same:
Updated an existing 2.13.3

Quit rocket.chat Client
rocketchat-setup-2.14.0.exe /S /allusers /disableAutoUpdates
Open rocket.chat Client
AutoUpdate still enabled

Fresh installation

Uninstalled 2.14.0
Removed %appdata%\Rocket.Chat
rocketchat-setup-2.14.0.exe /S /allusers /disableAutoUpdates
Open rocket.chat Client
AutoUpdate still enabled

It seems that the update.json file at %appdata%\Rocket.Chat is not created.
I created it manually with
{
	"canUpdate":false,
	"autoUpdate":false
}

and this removed the Update options in the about dialog.

I will check that, i think we need an other installer option to copy the settings to all users.

My command is without /allusers. Only /s /disableAutoUpdates
Maybe the /allusers command are the problem?

I think so

Copying the settings to "all users" during install does not work in an enterprise deployment since it would only apply to existing users on the machine. The application should honor update.json in the installation directory like servers.json, overriding what may be found in %appdata%\Rocket.Chat.

authors: Anguel HappyTobi havx josephbadow nexidus


text:
How to label the fragment type of NIST20?

Hi,
Thanks for the great work! When I tried to implement it on my server, I met some problems with splitting the data of 'HCD' and 'CID'.
Following the instructor in README, I exported lr_msms_nist and hr_msms_nist of NIST20. However, after parse_and_export.py, the fragment type (frag_mode) of them is NaN. So how do you label the fragment type of them?
Thanks,
Josie

Hi Josie,
Sorry for the super (super) late reply, I somehow missed this issue.
When we processed the data, we only used spectra from the hr_nist_msms (high resolution) partition. I haven't test the lr_nist_msms (low resolution) partition recently, so our preprocessing script might not work properly on those data.
However, looking at the lr_nist_msms.MSP file that I have, it seems to me like they do not include the "Frag_mode" metadata entries, which would explain your NaNs. Based on the context of this data, I think it's safe to assume they are all "CID". However, I do think there is a high degree of overlap between the low resolution and high resolution libraries, so I'm not sure how useful it will be to include these spectra in the training data.

I see. I will try hr_nist_msms first. Thanks a lot! ; )

authors: JosieHong adamoyoung

repo: Roestlab/massformer


text:
No LICENSE found.

I might have just missed it, but I can't seem to find a license for this. Any chance you could add one?

Hey there! I've just added an Apache license. Do you see it now?
On Fri, Aug 26, 2022 at 10:17 PM Chris Griffing @.***>
wrote:

I might have just missed it, but I can't seem to find a license for this.
Any chance you could add one?
—
Reply to this email directly, view it on GitHub
https://github.com/Roey-Shap/FontLerp/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATOO3VD7WNOK4FXKKNJHBGTV3EJ4TANCNFSM57XXV7EA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Awesome. THANKS!!!

authors: Roey-Shap cmgriffing

repo: Roey-Shap/FontLerp


text:
Problems getting Discord.Net with nuget

When trying to get Discord.Net v0.7.3 (or the latest) it throws an error about not being able to resolve the dependency WebSocketSharp.
Error log:
Install-Package Discord.Net -Version 0.7.3
Attempting to resolve dependency 'Newtonsoft.Json (≥ 7.0.1)'.
Attempting to resolve dependency 'RestSharp (≥ 105.2.3)'.
Attempting to resolve dependency 'WebSocketSharp (≥ 1.0.3-rc9)'.
Install-Package : Unable to resolve dependency 'WebSocketSharp (≥ 1.0.3-rc9)'.
At line:1 char:16

Install-Package <<<<  Discord.Net -Version 0.7.3

CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

Using "Install-Package WebSocketSharp -Pre" and then adding Discord.Net does work however.


text:
Star Trek Adventures 2d20 Version 1.1

Changed around CSS to better match offical sheet, added starship section, advanced settings, challenge dice images.
Added README.md and changelog.md to better track sheet changes

That was my mistake. Will fix

Looks like branch has some conflicts. If you could resolve those, I'll go ahead and merge. Thanks!

@GrumpyOldDM regarding those conflicts, I think that's what caused my css breakage this weekend, so its a tricky merge.

Agreed, its around the old background image, vs the new css background - resolved the conflict so it should be good now.

authors: GrumpyOldDM RandallBurt wing-it


text:
🛑 STEP is down

In 0040e68, STEP (https://step.polymtl.ca/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: STEP is back up in fc60f63.


text:
Swagger settings default configuration doesn't override server configuration and missing properties

Informations

Type
Version

Bug
4.30.1

Description
When I launch my server with the configuration
swagger: [{
        path: "/api-docs",
        outFile: "${rootDir}/spec/swagger.json",
        showExplorer: true,
        spec: {
            swagger: "2.0",
            schemes: ["http", "https"],
            info: {
                version: "1.0.1",
                title: "xxxxxx"
            } as Info,
            externalDocs: {
                url: "xxxxxxxx",
                description: "xxxxx"
            },
            paths: undefined,
            security: [{
                Bearer: []
            }],
            securityDefinitions: {
                Bearer: {
                    description: "Sécurité requise dans toute l'API afin de pouvoir accéder à ces fonctions",
                    type: "apiKey",
                    name: "authorization",
                    in: "header"
                } as ApiKeySecurity
            },
            consumes: [
                "application/json",
                "multipart/form-data"
            ],
            produces: [
                "application/json",
                "application/octet-stream",
                "application/xml"
            ],
        } as Spec,
        options: {
            supportedSubmitMethods: ['get', 'post', 'put', 'delete']
        } as SwaggerUIOptions
    } as ISwaggerSettings]

I have 2 problems :

My produces is always ["application/json"]
I have no security object

So I've try to find the problem and it's on the file SwaggerService on function getDefaultSpec.
Produce is always set to application/json and deepExtends dosn't exdend all swagger configuration.
I fix it with this code
  public getDefaultSpec(conf: ISwaggerSettings): Spec {
    const {version} = this.serverSettingsService;
    const consumes = this.serverSettingsService.acceptMimes;
    const {
      spec = {
        info: {},
        securityDefinitions: {}
      },
      specPath
    } =
      conf || ({} as any);

    const produces = spec.produces || ["application/json"]; // HERE : need to take the produce of configuration
    let specPathContent = {};

    if (specPath) {
      specPathContent = this.readSpecPath(specPath);
    }

    /* istanbul ignore next */
    const {title = "Api documentation", description = "", version: versionInfo, termsOfService = "", contact, license} =
      spec.info || ({} as any);

    return deepExtends(
      {
        swagger: "2.0",
        info: {
          version: versionInfo || version,
          title,
          description,
          termsOfService,
          contact,
          license
        },
        consumes,
        produces,
        securityDefinitions: spec.securityDefinitions || {},
        security: spec.security || []    // HERE
      },
      specPathContent,
      getReducers()
    );
  }

I have another one problem with securityDefinitions api_key but I need to inspect more.
Thanks.

I looked a little more the issue, I think it's swagger-ui-dist need to bind the auth input
See :

https://github.com/swagger-api/swagger-ui/issues/1714
https://github.com/swagger-api/swagger-ui/issues/2913

Hi @Tlahey
Currently @Security cannot be set on the base controller. But if you give an example of the swagger documentation expected we can add this feature to the backlog.

:tada: This issue has been resolved in version 4.31.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

Hi @Romakita
I take an export of the default swagger example. On the base example, all routes have specific security but if we delete all security on routes and we put it on the global configuration, it is set on all routes.
Go to https://editor.swagger.io/ and paste the follow code :
swagger: "2.0"
info:
  description: "This is a test for TS.ED."
  version: "1.0.0"
  title: "Swagger TS.ED test"
  termsOfService: "http://swagger.io/terms/"
  contact:
    email: "apiteam@swagger.io"
  license:
    name: "Apache 2.0"
    url: "http://www.apache.org/licenses/LICENSE-2.0.html"
host: "petstore.swagger.io"
basePath: "/v2"
tags:
- name: "pet"
  description: "Everything about your Pets"
  externalDocs:
    description: "Find out more"
    url: "http://swagger.io"
- name: "store"
  description: "Access to Petstore orders"
- name: "user"
  description: "Operations about user"
  externalDocs:
    description: "Find out more about our store"
    url: "http://swagger.io"
schemes:
- "http"
paths:
  /pet:
    post:
      tags:
      - "pet"
      summary: "Add a new pet to the store"
      description: ""
      operationId: "addPet"
      consumes:
      - "application/json"
      - "application/xml"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - in: "body"
        name: "body"
        description: "Pet object that needs to be added to the store"
        required: true
        schema:
          $ref: "#/definitions/Pet"
      responses:
        405:
          description: "Invalid input"
  /pet/findByStatus:
    get:
      tags:
      - "pet"
      summary: "Finds Pets by status"
      description: "Multiple status values can be provided with comma separated strings"
      operationId: "findPetsByStatus"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - name: "status"
        in: "query"
        description: "Status values that need to be considered for filter"
        required: true
        type: "array"
        items:
          type: "string"
          enum:
          - "available"
          - "pending"
          - "sold"
          default: "available"
        collectionFormat: "multi"
      responses:
        200:
          description: "successful operation"
          schema:
            type: "array"
            items:
              $ref: "#/definitions/Pet"
        400:
          description: "Invalid status value"
  /pet/findByTags:
    get:
      tags:
      - "pet"
      summary: "Finds Pets by tags"
      description: "Muliple tags can be provided with comma separated strings. Use         tag1, tag2, tag3 for testing."
      operationId: "findPetsByTags"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - name: "tags"
        in: "query"
        description: "Tags to filter by"
        required: true
        type: "array"
        items:
          type: "string"
        collectionFormat: "multi"
      responses:
        200:
          description: "successful operation"
          schema:
            type: "array"
            items:
              $ref: "#/definitions/Pet"
        400:
          description: "Invalid tag value"
      deprecated: true
  /pet/{petId}:
    get:
      tags:
      - "pet"
      summary: "Find pet by ID"
      description: "Returns a single pet"
      operationId: "getPetById"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - name: "petId"
        in: "path"
        description: "ID of pet to return"
        required: true
        type: "integer"
        format: "int64"
      responses:
        200:
          description: "successful operation"
          schema:
            $ref: "#/definitions/Pet"
        400:
          description: "Invalid ID supplied"
        404:
          description: "Pet not found"
    post:
      tags:
      - "pet"
      summary: "Updates a pet in the store with form data"
      description: ""
      operationId: "updatePetWithForm"
      consumes:
      - "application/x-www-form-urlencoded"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - name: "petId"
        in: "path"
        description: "ID of pet that needs to be updated"
        required: true
        type: "integer"
        format: "int64"
      - name: "name"
        in: "formData"
        description: "Updated name of the pet"
        required: false
        type: "string"
      - name: "status"
        in: "formData"
        description: "Updated status of the pet"
        required: false
        type: "string"
      responses:
        405:
          description: "Invalid input"
    delete:
      tags:
      - "pet"
      summary: "Deletes a pet"
      description: ""
      operationId: "deletePet"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - name: "api_key"
        in: "header"
        required: false
        type: "string"
      - name: "petId"
        in: "path"
        description: "Pet id to delete"
        required: true
        type: "integer"
        format: "int64"
      responses:
        400:
          description: "Invalid ID supplied"
        404:
          description: "Pet not found"
  /pet/{petId}/uploadImage:
    post:
      tags:
      - "pet"
      summary: "uploads an image"
      description: ""
      operationId: "uploadFile"
      consumes:
      - "multipart/form-data"
      produces:
      - "application/json"
      parameters:
      - name: "petId"
        in: "path"
        description: "ID of pet to update"
        required: true
        type: "integer"
        format: "int64"
      - name: "additionalMetadata"
        in: "formData"
        description: "Additional data to pass to server"
        required: false
        type: "string"
      - name: "file"
        in: "formData"
        description: "file to upload"
        required: false
        type: "file"
      responses:
        200:
          description: "successful operation"
          schema:
            $ref: "#/definitions/ApiResponse"
  /store/inventory:
    get:
      tags:
      - "store"
      summary: "Returns pet inventories by status"
      description: "Returns a map of status codes to quantities"
      operationId: "getInventory"
      produces:
      - "application/json"
      parameters: []
      responses:
        200:
          description: "successful operation"
          schema:
            type: "object"
            additionalProperties:
              type: "integer"
              format: "int32"
  /store/order:
    post:
      tags:
      - "store"
      summary: "Place an order for a pet"
      description: ""
      operationId: "placeOrder"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - in: "body"
        name: "body"
        description: "order placed for purchasing the pet"
        required: true
        schema:
          $ref: "#/definitions/Order"
      responses:
        200:
          description: "successful operation"
          schema:
            $ref: "#/definitions/Order"
        400:
          description: "Invalid Order"
  /store/order/{orderId}:
    get:
      tags:
      - "store"
      summary: "Find purchase order by ID"
      description: "For valid response try integer IDs with value >= 1 and <= 10.         Other values will generated exceptions"
      operationId: "getOrderById"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - name: "orderId"
        in: "path"
        description: "ID of pet that needs to be fetched"
        required: true
        type: "integer"
        maximum: 10.0
        minimum: 1.0
        format: "int64"
      responses:
        200:
          description: "successful operation"
          schema:
            $ref: "#/definitions/Order"
        400:
          description: "Invalid ID supplied"
        404:
          description: "Order not found"
    delete:
      tags:
      - "store"
      summary: "Delete purchase order by ID"
      description: "For valid response try integer IDs with positive integer value.         Negative or non-integer values will generate API errors"
      operationId: "deleteOrder"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - name: "orderId"
        in: "path"
        description: "ID of the order that needs to be deleted"
        required: true
        type: "integer"
        minimum: 1.0
        format: "int64"
      responses:
        400:
          description: "Invalid ID supplied"
        404:
          description: "Order not found"
  /user:
    post:
      tags:
      - "user"
      summary: "Create user"
      description: "This can only be done by the logged in user."
      operationId: "createUser"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - in: "body"
        name: "body"
        description: "Created user object"
        required: true
        schema:
          $ref: "#/definitions/User"
      responses:
        default:
          description: "successful operation"
  /user/createWithArray:
    post:
      tags:
      - "user"
      summary: "Creates list of users with given input array"
      description: ""
      operationId: "createUsersWithArrayInput"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - in: "body"
        name: "body"
        description: "List of user object"
        required: true
        schema:
          type: "array"
          items:
            $ref: "#/definitions/User"
      responses:
        default:
          description: "successful operation"
  /user/createWithList:
    post:
      tags:
      - "user"
      summary: "Creates list of users with given input array"
      description: ""
      operationId: "createUsersWithListInput"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - in: "body"
        name: "body"
        description: "List of user object"
        required: true
        schema:
          type: "array"
          items:
            $ref: "#/definitions/User"
      responses:
        default:
          description: "successful operation"
  /user/login:
    get:
      tags:
      - "user"
      summary: "Logs user into the system"
      description: ""
      operationId: "loginUser"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - name: "username"
        in: "query"
        description: "The user name for login"
        required: true
        type: "string"
      - name: "password"
        in: "query"
        description: "The password for login in clear text"
        required: true
        type: "string"
      responses:
        200:
          description: "successful operation"
          schema:
            type: "string"
          headers:
            X-Rate-Limit:
              type: "integer"
              format: "int32"
              description: "calls per hour allowed by the user"
            X-Expires-After:
              type: "string"
              format: "date-time"
              description: "date in UTC when token expires"
        400:
          description: "Invalid username/password supplied"
  /user/logout:
    get:
      tags:
      - "user"
      summary: "Logs out current logged in user session"
      description: ""
      operationId: "logoutUser"
      produces:
      - "application/xml"
      - "application/json"
      parameters: []
      responses:
        default:
          description: "successful operation"
  /user/{username}:
    get:
      tags:
      - "user"
      summary: "Get user by user name"
      description: ""
      operationId: "getUserByName"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - name: "username"
        in: "path"
        description: "The name that needs to be fetched. Use user1 for testing. "
        required: true
        type: "string"
      responses:
        200:
          description: "successful operation"
          schema:
            $ref: "#/definitions/User"
        400:
          description: "Invalid username supplied"
        404:
          description: "User not found"
    put:
      tags:
      - "user"
      summary: "Updated user"
      description: "This can only be done by the logged in user."
      operationId: "updateUser"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - name: "username"
        in: "path"
        description: "name that need to be updated"
        required: true
        type: "string"
      - in: "body"
        name: "body"
        description: "Updated user object"
        required: true
        schema:
          $ref: "#/definitions/User"
      responses:
        400:
          description: "Invalid user supplied"
        404:
          description: "User not found"
    delete:
      tags:
      - "user"
      summary: "Delete user"
      description: "This can only be done by the logged in user."
      operationId: "deleteUser"
      produces:
      - "application/xml"
      - "application/json"
      parameters:
      - name: "username"
        in: "path"
        description: "The name that needs to be deleted"
        required: true
        type: "string"
      responses:
        400:
          description: "Invalid username supplied"
        404:
          description: "User not found"
securityDefinitions:
  petstore_auth:
    type: "oauth2"
    authorizationUrl: "http://petstore.swagger.io/oauth/dialog"
    flow: "implicit"
    scopes:
      write:pets: "modify pets in your account"
      read:pets: "read your pets"
  api_key:
    type: "apiKey"
    name: "api_key"
    in: "header"
security:
  - api_key: []
definitions:
  Order:
    type: "object"
    properties:
      id:
        type: "integer"
        format: "int64"
      petId:
        type: "integer"
        format: "int64"
      quantity:
        type: "integer"
        format: "int32"
      shipDate:
        type: "string"
        format: "date-time"
      status:
        type: "string"
        description: "Order Status"
        enum:
        - "placed"
        - "approved"
        - "delivered"
      complete:
        type: "boolean"
        default: false
    xml:
      name: "Order"
  Category:
    type: "object"
    properties:
      id:
        type: "integer"
        format: "int64"
      name:
        type: "string"
    xml:
      name: "Category"
  User:
    type: "object"
    properties:
      id:
        type: "integer"
        format: "int64"
      username:
        type: "string"
      firstName:
        type: "string"
      lastName:
        type: "string"
      email:
        type: "string"
      password:
        type: "string"
      phone:
        type: "string"
      userStatus:
        type: "integer"
        format: "int32"
        description: "User Status"
    xml:
      name: "User"
  Tag:
    type: "object"
    properties:
      id:
        type: "integer"
        format: "int64"
      name:
        type: "string"
    xml:
      name: "Tag"
  Pet:
    type: "object"
    required:
    - "name"
    - "photoUrls"
    properties:
      id:
        type: "integer"
        format: "int64"
      category:
        $ref: "#/definitions/Category"
      name:
        type: "string"
        example: "doggie"
      photoUrls:
        type: "array"
        xml:
          name: "photoUrl"
          wrapped: true
        items:
          type: "string"
      tags:
        type: "array"
        xml:
          name: "tag"
          wrapped: true
        items:
          $ref: "#/definitions/Tag"
      status:
        type: "string"
        description: "pet status in the store"
        enum:
        - "available"
        - "pending"
        - "sold"
    xml:
      name: "Pet"
  ApiResponse:
    type: "object"
    properties:
      code:
        type: "integer"
        format: "int32"
      type:
        type: "string"
      message:
        type: "string"
externalDocs:
  description: "Find out more about Swagger"
  url: "http://swagger.io"

Thanks

Ok I see. The OpenAPIEndpointBuilder add an empty array on Operation level. If I remove that, the default security applied is that of the global level. Right?

Yes ! Tested on https://editor.swagger.io/

ok no problem, quick fix :p

Yeah ! Thanks 😸

authors: Romakita Tlahey

repo: Romakita/ts-express-decorators


text:
Pass bind interface to http server

Allow create server on specific interface ex: server.createHttpServer('127.0.0.1:49080')
Http.listen is not expanding by default hostname:port. It has a first parameter string but is the path for a local socket connection. If we want to pass a local interface we should call Http.listen(port, interface)

Coverage decreased (-0.7%) to 98.242% when pulling 2973ec5f7a4e71aeb68c571d6db028020d876582 on add-hostname into 3a21b9f9eab348308fb006a6064830ed9ce37588 on master.

Coverage decreased (-0.2%) to 98.707% when pulling 403719383a801df237bdd6821b0257dd139ac75e on add-hostname into 3a21b9f9eab348308fb006a6064830ed9ce37588 on master.

authors: alexproca coveralls


text:
Way to use a proxy (code inside)

I tried to make a pull request but I have no permission. All I did was add a way to use a proxy, it doesn't affect anything else. To use it just pass this object to the constructors:
proxies = {
  'http': 'http://10.10.1.10:3128', # Examples
  'https': 'http://10.10.1.10:1080',
}
ts = TimeSeries(key=key, proxies=proxies)

http://docs.python-requests.org/en/latest/user/advanced/#proxies
git diff:
diff --git a/alpha_vantage/alphavantage.py b/alpha_vantage/alphavantage.py
index 925156f..7ff006a 100644
--- a/alpha_vantage/alphavantage.py
+++ b/alpha_vantage/alphavantage.py
@@ -28,7 +28,7 @@ class AlphaVantage(object):
         "https://www.alphavantage.co/digital_currency_list/"

     def __init__(self, key=None, retries=5, output_format='json',
-                 treat_info_as_error=True, indexing_type='date'):
+                 treat_info_as_error=True, indexing_type='date', proxies={}):
         """ Initialize the class

         Keyword Arguments:
@@ -58,6 +58,7 @@ class AlphaVantage(object):
         # variable will be overriden by those functions not needing it.
         self._append_type = True
         self.indexing_type = indexing_type
+        self.proxies = proxies

     def _retry(func):
         """ Decorator for retrying api calls (in case of errors from the api
@@ -254,7 +255,7 @@ class AlphaVantage(object):
             meta_data_key:  The key for getting the meta data information out
             of the json object
         """
-        response = requests.get(url)
+        response = requests.get(url, proxies=self.proxies)
         if 'json' in self.output_format.lower() or 'pandas' in \
                 self.output_format.lower():
             json_response = response.json()

If you add this, can you also add a function setProxy(proxy), please? I'm finding it useful.

Hi @jmcneves, thanks for your issue. How come you don't have permissions? It would be awesome if you could do the PR it is your feature and it would be cool if it showed in the library that way (I've got some pull request already and they worked well). Give it another try and if not I'll update the library and generate another release.
Saludos,
Romel

You're right, I forgot about forks and I was trying to make a branch.
https://github.com/RomelTorres/alpha_vantage/pull/59

merged

authors: RomelTorres jmcneves


text:
About the pre-training model

First of all, thank you for your work. I would like to ask if it is possible to provide a pre-trained model to test the optimal performance of this algorithm.

As mentioned in the README, the pre-trained checkpoint can be obtained from checkpoint.
For more details about usage, please also check README carefully.

As mentioned in the README, the pre-trained checkpoint can be obtained from checkpoint. For more details about usage, please also check README carefully.

Thank you for your reply. Because there is no VPN, I cannot access that web page, so I would like to ask again if there is another storage checkpoint address.
If not，it doesn't matter.

Could you offer me your email? I can also send the ckpt to you by email.

Could you offer me your email? I can also send the ckpt to you by email.
407621834@qq.com
Thank You！

authors: KarmaYan RookieJunChen

repo: RookieJunChen/Inter-SubNet


text:
🛑 SAP Concur is down

In 9b2f00b, SAP Concur (https://us2.concursolutions.com/home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SAP Concur is back up in 98dcd30 after 15 minutes.

repo: RosalindFranklinUniv/up


text:
IndexError in Notebook 06.07 - Denovo Protein Design

Hi team,
Thanks for a great resource. I've been struggling for a few days to troubleshoot this issue. I'm getting a very cryptic index error when trying to run the redesign Chain A in this notebook.
I have tried running with 2022 (python 3.9) and 2019 (python 3.6) releases of PyRosetta installed via conda, but the error persists.
I'd be grateful for any suggestions.
All the best,
Konrad.
Denovo Protein Design Notebook Output.pdf

Hi Konrad,
I meet the same error. Do you have any idea?
Thank you!

I think is the virtual root problem.
I comment out the virtual_root.apply(pose) in design part, and change the pose_chBC.chain_end(3)-1 part to pose_chBC.chain_end(3) and it works for me.

authors: hklz konradpaszkiewicz


text:
Update predict_complex README

When I first ran the complex structure prediction (step 4), it was outputting a model where the break between the two subunits was in the totally wrong place.
After a lot of digging through the predict_complex.py file, I realized that the numbers after the "-Ls" argument needed to be changed to represent the lengths of the individual protein subunits being modeled. I finally figured this out when I saw that the lengths of the two example subunits are 218 aa and 310 aa. I imagine other people will run into this same issue until it's clarified in the README.

@neilfleckSCRI With the help of you, I understand the mean of -Ls.
Do you know how to generate the  "paired.a3m"  for filter? Because I want to study the interaction of two subunits.

@neilfleckSCRI   Thank you!!!  Now I understand the mean of -Ls.
Could you tell me how to generate the "paired.a3m" for filter? Because I want to study the interaction of two subunits. Many thanks

@neilfleckSCRI Thank you!!! Now I understand the mean of -Ls.
Could you tell me how to generate the "paired.a3m" for filter? Because I want to study the interaction of two subunits. Many thanks

First make the individual .a3m files by using the main pipeline on the individual proteins (as described in the main README). Technically you only need to perform the run_pyrosetta_ver.sh script up to the end of the "1. generate MSAs" section (line 38). You can do this by deleting everything in the run_pyrosetta_ver.sh script file after line 38 and run that truncated script. Or you can just run the whole pipeline, but that'll take longer and do much more than just make .a3m files.
Then for both the proteins that were just analyzed, you should have files named something like t000_x.msa0.a3m. Take those and rename them to something unique like protein1.a3m and protein2.a3m.  Then run the "make_joint_MSA_bacterial.py" script on those two proteins. This would be done by running a command such as
 python make_joint_MSA_bacterial.py protein1.a3m protein2.a3m
That particular step apparently only works for bacterial proteins. If you're doing eukaryotic proteins, I have no clue what needs to be done.
Anyways, that'll spit out a paired.a3m file, which you run via the predict_complex.py script, as described on step 4. Pay attention to the order that you inputted the proteins into the make_joint_MSA_bacterial.py, because you'll need to put the lengths after the -Ls argument in the same order. I.e., you need to do:
python network/predict_complex.py -i PE_dimercomplex/filtered.a3m -o PE_dimercomplex/complex -Ls [length of protein1] [length of protein2]
If you swap the order of protein1 and protein2 it'll give bad results.

Thank you. Or I can not understand the pipeline without your careful instruction.
The eukaryotic proteins is really a problem, because the README file say less thing about that. Any way, I will try
make_joint_MSA_bacterial.py to deal with eukaryotic protein.

authors: endlessbeloved neilfleckSCRI

repo: RosettaCommons/RoseTTAFold


text:
Add Mario Campo to Contributors list

Added new Contributor to list

I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added Facebook share and tweet feature to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

authors: Roshanjossey plextoriano

repo: Roshanjossey/first-contributions


text:
"Store" not possible when using html-code in div/li-element

Hello,
I have the following problem: When trying to use links in a sortable element, it messes up the whole order of the elements when reloading. It seems, that the store-function doesn't work with links. I used the same code as in the Readme with a few elements like this:

Google

I already tried to use div-elements instead, but this didn't work either.
Everything else works perfectly fine!
Best regards and thanks for your help.
Pfahli

@RubaXa I'm creating my
's using ng-repeat I'm setting a data-id but store isn't saving after refresh like in your example. Please help!
var theApp = angular.module('lineupApp', ['ng-sortable']);

    theApp.controller('lineup', ['$scope', '$http', function($scope,$http) {
        $scope.player = [
            { "name": "Jack", "number": "17", "defSpot": "1" },
            { "name": "Noah", "number": "6", "defSpot": "2" },
            { "name": "Blake", "number": "7", "defSpot": "3" },
            { "name": "Quartaze", "number": "24", "defSpot": "4" },
            { "name": "Robbie", "number": "19", "defSpot": "5" },
            { "name": "Nik", "number": "2", "defSpot": "6" },
            { "name": "Evan", "number": "41", "defSpot": "7" },
            { "name": "Donovan", "number": "3", "defSpot": "8" },
            { "name": "Bryce", "number": "9", "defSpot": "9" },
            { "name": "Jordan", "number": "28", "defSpot": "10" },
            { "name": "Wil", "number": "18", "defSpot": "11" }
        ];
        $scope.playerConfig = {
            group: "thisLineup",
            animation: 150,
            store: {
                get: function (sortable) {
                    var order = localStorage.getItem(sortable.options.group);
                    return order ? order.split('|') : [];
                },

                set: function (sortable) {
                    var order = sortable.toArray();
                    localStorage.setItem(sortable.options.group, order.join('|'));
                }
            }
        };

    }]);

        	{{item.number}}
        	{{item.name}}

authors: Pfahli hudsonperalta

repo: RubaXa/Sortable


text:
🛑 Website (rubenfixit.com) is down

In c98907a, Website (rubenfixit.com) (https://rubenfixit.com) was down:

HTTP code: 503
Response time: 489 ms

Resolved: Website (rubenfixit.com) is back up in 114aef0 after 2 hours, 43 minutes.

repo: RubenFixit/upptime


text:
🛑 Website (rubenfixit.com) is down

In eb60e4f, Website (rubenfixit.com) (https://rubenfixit.com) was down:

HTTP code: 503
Response time: 469 ms

Resolved: Website (rubenfixit.com) is back up in b1e6da5.


text:
Hash password before save

As it is, the password is saved without hashing and when logging in, the form password is compared with the password hash that was never saved, thus failing to login.

And by the way, congratulations on the book, really good!

repo: Runnerly/monolith


text:
Downloading Using Authentication Current Version

The version 2.2.5 does not have engine.ResourceProvider.CreateRequest function. How can I utilize my authentication cookies to download files in this version. Access to the cookie container is also not available. If there is another way to make these download file requests please let me know.
Thanks.

Have you tried the approach suggested in the "Download the file by url using ResourceProvider" section of the document ?
Alternatively, you can get cookies through a 'document.cookies' property and create own CookieContainer.
Please let me know if this doesn't work out and describe your scenario in more detail.

What I'm referring to is the approach in the "Download the file by url using ResourceProvider" section does not work with the current version of the DLL as it is missing the CreateRequest function, nor does it have the CookieContainer property. I can build my own CookieContainer from the document.cookies, but I figure I'd try to use built in functionality of the library.

Somehow breaking changes leaked into the minor build.
Now, I changed Engine's CookieContainer property access from internal to public. You can check it using the dev build nuget feed

authors: RusKnyaz mstoffel-infraserv

repo: RusKnyaz/Optimus


text:
Optimize check_signals

swap seems to be pretty slow, it took 5.66% of the time in my microbenchmarks. After the optimization, check_signals would only take 0.29% of the time. (from flamegraph).

Huh, nice! Do you think you could leave in the if !swap(false) { return } as a second sorta backup condition, just to ensure that's it's always atomic?

Huh, nice! Do you think you could leave in the if !swap(false) { return } as a second sorta backup condition, just to ensure that's it's always fully atomic?

But I think signals can't be canceled? Even if it can, it would be a race condition as it depends on whether the canceling occurs between the two if statements or after the last if statement, and the current implementation should match the original one. So I'm not sure why we should ensure the swap operation is fully atomic.

I suppose so; I guess a signal could even happen while we're in the signal handler. This LGTM then, thank you for contributing!

repo: RustPython/RustPython


text:
StackOverflowError with simple condition

Simple example below causes StackOverflowError. Looks like somewhere in the underlaying tree implementation some nodes link back to parent nodes causing infinite loop when trying to traverse the tree.
import com.github.rutledgepaulv.qbuilders.builders.QBuilder;
import com.github.rutledgepaulv.qbuilders.conditions.Condition;
import com.github.rutledgepaulv.qbuilders.properties.concrete.StringProperty;
import com.github.rutledgepaulv.qbuilders.visitors.RSQLVisitor;

public class QBuilderTest {

    public static class TestQuery extends QBuilder<TestQuery> {
        public StringProperty<TestQuery> fieldA() {
            return string("a");
        }

        public StringProperty<TestQuery> fieldB() {
            return string("b");
        }

        public StringProperty<TestQuery> fieldC() {
            return string("c");
        }
    }

    public static void main(String[] args) {
        TestQuery testQuery = new TestQuery();
        Condition<TestQuery> condition = testQuery.and(
                testQuery.fieldA().eq("test"),
                testQuery.or(
                        testQuery.fieldB().doesNotExist(),
                        testQuery.fieldC().doesNotExist()
                ));
        System.out.println(condition.query(new RSQLVisitor()));
    }

}

Hi,
Yes this is because you're using the same instance throughout the whole thing. Instances of a qbuilder are mutable and therefore you're putting pointers to the entire tree at various places within the tree itself.
Instead, please create new instances for composition.
TestQuery testQuery = new TestQuery();
        Condition<TestQuery> condition = new TestQuery().and(
                new TestQuery().fieldA().eq("test"),
                new TestQuery().or(
                        new TestQuery().fieldB().doesNotExist(),
                        new TestQuery().fieldC().doesNotExist()
                ));

If I ever get around to https://github.com/RutledgePaulV/q-builders/issues/19 that would let you do it the way you are, but I think the above is totally reasonable to do :)

Hmm.. I think its too verbose. Static approach works better:
package test;

import com.github.rutledgepaulv.qbuilders.builders.QBuilder;
import com.github.rutledgepaulv.qbuilders.conditions.Condition;
import com.github.rutledgepaulv.qbuilders.properties.concrete.StringProperty;
import com.github.rutledgepaulv.qbuilders.visitors.RSQLVisitor;

import static test.QBuilderTest.QueryHelper.and;
import static test.QBuilderTest.QueryHelper.or;
import static test.QBuilderTest.TestQuery.fieldA;
import static test.QBuilderTest.TestQuery.fieldB;
import static test.QBuilderTest.TestQuery.fieldC;

public class QBuilderTest {

    public static class TestQuery extends QBuilder<TestQuery> {
        public static StringProperty<TestQuery> fieldA() {
            return new TestQuery().string("a");
        }

        public static StringProperty<TestQuery> fieldB() {
            return new TestQuery().string("b");
        }

        public static StringProperty<TestQuery> fieldC() {
            return new TestQuery().string("c");
        }
    }

    public static class QueryHelper {
        public static Condition<TestQuery> and(Condition<TestQuery> c1, Condition<TestQuery> c2, Condition<TestQuery>... cn) {
            return new TestQuery().and(c1, c2, cn);
        }

        public static Condition<TestQuery> or(Condition<TestQuery> c1, Condition<TestQuery> c2, Condition<TestQuery>... cn) {
            return new TestQuery().or(c1, c2, cn);
        }
    }

    public static void main(String[] args) {
        Condition<TestQuery> condition = and(
                fieldA().eq("test"),
                or(
                        fieldB().doesNotExist(),
                        fieldC().doesNotExist()
                ));
        System.out.println(condition.query(new RSQLVisitor()));
    }

}

However, I wish and() and or() methods weren't final in QBuilder so that I didn't need additional class  to create static versions of them.

Yeah. I wish I was able to provide static and() and or() out of box.. the issue is that I can't create builders that return instances of your own class without asking what the class is somewhere. I could do something like this:
public static <T extends QBuilder<T>> and(Class<T> clazz, Condition<T> c1, Condition<T> cn...)
 {
...
}

Yeah, I am aware of that annoying problem with generics. Instead of passing class each time maybe require to overwrite abstract method getClass()?

authors: RutledgePaulV lanusau

repo: RutledgePaulV/q-builders


text:
iOS：分享多媒体已经弃用 请不要用相关api

感觉您的开源，请问一下。这个是ios上面 微博不支持 分享链接了吗？

iOS SDK文档上是这么写的


text:
Dependency on ReachabilitySwift 4.3.1

RxReachability works fine with ReachabilitySwift 4.3.0
On the other hand, 4.3.1 introduces dependency on Swift5,
see comment in https://github.com/awslabs/aws-mobile-appsync-sdk-ios/blob/master/Podfile

@brennobemoura When will this be implemented? Because I am using 1.0.0 and it still depends on ReachabilitySwift 4.3.1

The latest commit no develop is using ReachabilitySwift at version 5.0. As soon as possible, it will be a release to RxReachability

Updated in 1.2.0

authors: FouadAstitou JoeMatt brennobemoura pokryfka

repo: RxSwiftCommunity/RxReachability


text:
Feature/add drf docs

Adds DRF-docs to the REST api.
http://demo.drfdocs.com/

Seeing the docs this produces, there is something bad in some urls.py
http://i.imgur.com/G1fFcc5.jpg
It is probably related to DefaultRouter, used in list/urls.py, ingredients/urls.py, etc, which makes a root url everytime it is used.
http://www.django-rest-framework.org/api-guide/routers/#defaultrouter
Can we use SimpleRouter instead of DefaultRouter without breaking the UI? Do you need the root and .json formatting for UI?

The UI URLs are super easy for me to manage. I have all the API end points in a common file here. So don't worry about changing the URL structure.
Using a SimpleRouter seems to be the best way to go. I tried it out on ingredient and it worked fine. There seem to be two issues though

The URLs aren't grouped by the app that they are associated with. Like in the demo.
the whole URL isn't present. In the docs, right now its says /ingredient/when it should be api/v1/ingredient/ingredient/. I would have no problem changing the URL to api/v1/ingredient/ but we need the api/v1/ there.

Once you get this working, we should also make the doc strings a bit better for the viewsets. Doesn't seem super helpful if the docs for those aren't good. :)
-Ryan

I'm on it.

BTW I also merged in my doc change branch. So you may want to sync your branch with dev.

Displaying separate app labels should be fixed soon.
https://github.com/manosim/django-rest-framework-docs/issues/144

That issue is a big blocker for us. Not only does it generate the wrong URLs but also doesn't allow proper grouping.
Lets hold off on this till that is resolved. We may even just fork/create our own doc page. Its a really cool idea.

I agree.

authors: RyanNoelk lpasselin

repo: RyanNoelk/OpenEats


text:
Replacing Cloud Portal for Launchpad

SAP Cloud Portal is no longer a service offered, the service that replaces it (in a way) is SAP Launchpad.

Hi @ajmaradiaga !
Thank you for the valuable feedback!
Because the SAP Cloud Portal is still available for customers that already purchased a license for it, we want to change the text to:
Finally, to consume the applications, you can create a site using SAP Cloud Portal service or SAP Launchpad service, build the URL, and define custom domains.
Kind regards!

That's a good idea as it is still available to customers. Thanks for pointing that out.

authors: SarahErdmann ajmaradiaga

repo: SAP-docs/btp-cloud-platform


text:
IS(Integration Suite) JDBC adapter related inquiry

Issue description
Hi team,
I am writing to you with regards to inquiries about the IS (Integration Suite) JDBC adapter.

Background of the inquiry:

Upon reviewing the SAP help document "JDBC Receiver Adapter," it appears that UPSERT operations are currently not supported in XML SQL format.
Note:
UPSERT operation is currently not supported for XML SQL format. It’s recommended to use stored procedure to update an existing record. If the record doesn’t exist, then use INSERT.
https://help.sap.com/docs/cloud-integration/sap-cloud-integration/jdbc-receiver-adapter

However, in the "Payload and Operation" section, there is a guide on how to create UPDATE INSERT operations in XML format, and through actual testing, we have confirmed that JDBC UPDATE INSERT (UPSERT) operations can be performed using IS development as shown below.
https://help.sap.com/docs/cloud-integration/sap-cloud-integration/payload-and-operation

Inquiry:

We would like to inquire if it is possible to develop UPDATE INSERT operations in XML format in IS (Integration Suite), as stated in the content of the following link, similar to the existing PO product.
https://help.sap.com/docs/cloud-integration/sap-cloud-integration/payload-and-operation
We would like to inquire about the content of the following note, whether it refers to a different development method for the UPDATE INSERT operation mentioned above, or if it is an outdated or incorrectly stated information.
Note:
UPSERT operation is currently not supported for XML SQL format. It’s recommended to use stored procedure to update an existing record. If the record doesn’t exist, then use INSERT.
https://help.sap.com/docs/cloud-integration/sap-cloud-integration/jdbc-receiver-adapter

Feedback Type (Optional)
content gaps
Page Title on SAP Help Portal (prefilled)
JDBC Receiver Adapter
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/cloud-integration/sap-cloud-integration/jdbc-receiver-adapter

Hey @I345642! Thanks for your feedback. We'll look into it and get back to you!

Hi @I345642,
Your feedback is right. UPSERT operation is not supported.
At the same time, the note in the documentation is valid too. The UPDATE_INSERT operation is developed as a custom operation.
The reason why the UPSERT operation is not supported is that not all database vendors straightforwardly support this operation. We didn't want to introduce UPSERT operation only for a certain database. Hence, the note in the documentation.
Could you please tell me which database do you use?
If your database supports UPSERT operation, you can continue to use the UPDATE_INSERT operation as an alternative.
Hope this helps!
Regards,
Karuna

Hi Karuna,
Thanks for your response!
"Could you please tell me which database do you use?"
The database vendors used in our project is as follows.

ORACLE 12c
MS SQL Server 2014 / MS SQL Server 2016
Could I inquire whether UPDATE_INSERT function can be used?

I would appreciate your support.
BR,
Chloe
VCSP

authors: I345642 Karunaharan SrutiSagaram

repo: SAP-docs/btp-integration-suite


text:
[FIX] Replace em dash with two hyphens in snippets

Some code snippets (inline or code blocks) were containing the syntactically invalid em dash (—) characters.
This change replaces — with two hyphens -- to correct the code syntax.

Hi @boghyon, thanks for your contribution. We appreciate it and will look into this.

Thank you for the comments.
This will be fixed with version 1.111.

https://people.sap.com/boghyon.hoffmann

authors: KvM2 boghyon simonarangelova


text:
Installation error with Eclipse Version: 2023-12 (4.30.0)

Getting error while installing ABAP clearner in Eclipse Version: 2023-12 (4.30.0) :
Unable to read repository at https://sap.github.io/abap-cleaner/updatesite/content.xml.
Unable to read repository at https://sap.github.io/abap-cleaner/updatesite/content.xml.
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Hi gurmukha,
this sounds like one of the Known Installation Issues – does the solution work on your system?
Kind regards,
Jörg-Michael

Yes, thanks a lot it resolve the issue - I did maintain this earlier but it was older folder of older eclipse version which was my mistake and now i pointed to correct file.
Solution: Open the file eclipse.ini from your Eclipse installation path. Right after the line -vmargs, add the following two lines:
-Djavax.net.ssl.trustStore=NONE
-Djavax.net.ssl.trustStoreType=Windows-ROOT
Now save eclipse.ini, restart Eclipse and try menu 'Help / Install New Software' again.

HI gurmukha,
perfect, then I hope you will enjoy using ABAP cleaner!
Kind regards,
Jörg-Michael

authors: gurmukha jmgrassau

repo: SAP/abap-cleaner


text:
Alternations ambiguity may not be detected with short repetitions

    $.RULE("A", () => {
      $.OR([
        // both these alternatives start with ("@")*
        { ALT: () => $.SUBRULE($.B) },
        { ALT: () => $.SUBRULE($.C) }
      ]);
    });

    $.RULE("B", () => {
      $.MANY(() => {
        $.SUBRULE($.D)
      })
      $.CONSUME(t.Class)
    });

    $.RULE("C", () => {
      $.MANY(() => {
        $.SUBRULE($.D)
      })
      $.CONSUME(t.Interface)
    });

    $.RULE("D", () => {
      $.CONSUME(t.At);
    });

The repetitions Tokens were only counted once in a possible lookahead path.
This means that inputs such as : "@@ Interface" or "@@ Class" would not be identified at all
as there was more than a single repetition present.

repo: SAP/chevrotain


text:
Fix the http interceptor chain.

TL/DR
Let's remove the http interceptor providers from each individual modules and centralize them in the StorefrontModule.
The problem
The http interceptor chain is broken.  What's happening is that we have http interceptors present multiple times in the interceptor chain.

This kind of configuration issue is not obvious to diagnose and can result in very hard to troubleshoot issues.  In recent history, the client token refresh functionality was broken because of that.
The root cause of the issue was that the Auth module was imported twice, which has the side effect to provide the http interceptors defined in the Auth module twice.  This is most likely due to the very nature of multi-providers.
The temporary fix
A quick fix of removing the AuthModule import from the CartModule will be merged with GH-470.  We can see that the interceptors are not duplicated anymore when we do that.

This is ok short term but, since a simple import is sufficient to break the interceptor chain, a more durable solution is required.
The proposed solution
The Angular HttpClient guide suggests to use a centralized array in the app module to configure an application's http interceptors. ( as opposed to spread the interceptor providers in multiple module ).

Consider creating a "barrel" file that gathers all the interceptor providers into an httpInterceptorProviders array

I see two advantages in centralizing the interceptor providers:

Avoid to accidentally create duplicate interceptors by importing a module more than once.
Gain control on the order each interceptor will have in the interceptor chain.  Interceptor declared in the same module keep their relative position within the interceptor chain.

More precisely:
While it doesn't make sense for us to declare the interceptors in the app module, the StorefrontModule is perhaps the next best place to provide the interceptors.  A downside to this is that the StorefrontModule is not in the same library as the interceptors themselves.  We could mitigate this by defining the httpInterceptorProviders array in the core lib and then import  the httpInterceptorProviders array from the StorefrontModule.  This way, http interceptor provider configuration will stay in the core lib.  It will only be read and applied in the StorefrontModule from the storefront lib.

To test:

Add console.log to i.e. auth interceptors' constructors.
Import AuthModule to app.module.ts like so:

  imports: [
     ...
    AuthModule
  ],

Monitor console log. You should see only one console log per interceptor. If you import the AuthModule by calling AuthModule.forRoot() you will see them twice.
You can repeat this for other interceptors
Test MainModule with special care, because it's a "collector" module that groups all UI-related modules.
It also groups two modules that have interceptors registered: GlobalMessageComponentModule and HeaderModule. Those two modules have forRoot() method defined in case a customer only wants to import them.
I tested by importing MainModule in app.module.ts and observing the browser's console (you should see one console log per interceptor). Then I imported GlobalMessageComponentModule next to MainModule and the result was the same: one console log per interceptor.

Passed QA

authors: LTiger14 plabadie znikola

repo: SAP/cloud-commerce-spartacus-storefront


text:
Reject all doesn't withdraw the 3rd consent in the ui

Environment Details
Spartacus: epic/anonymous-consents branch
Browser: chrome
Device: mac
Happens on: http://dev-com-14.accdemo.b2c.ydev.hybris.com:4200/electronics-spa/en/USD/
Steps to Reproduce

Login, go to Consent Management page
Click on Allow All.
Click on Reject All.
Click on Allow All.
Click on Reject All.

Actual Result

The 3rd consent looks like it didn't get withdrawn.
But if you either toggle off or do a rejectAll again, you'll get this error message:

Please test again, I deployed a fix.

I manage to reproduce something similar, but not consistently. It's hard to reproduce.
I think it might have to do with the fact that I'm logged in on different browsers, and have different consents selected.

authors: KateChuen znikola


text:
feat: Restore checkout state from API

Closes #1770

Old PR and this feature were finished differently.


text:
BUG - EXT - Accessibility on Sharing feedback

Related Feature
Feature request: issue number
Description
When user has entered feedback the Send button should have focus before the cancel button when tabbing through using keyboard navigation.
Steps to Reproduce
Steps to reproduce the behavior:

Open GA
Navigate through tree using keyboard
Open provide feedback using keyboard
Tab through feedback form ( enter feedback)

Expected results
Send button is given focus when text has been inputed
Actual results
Cancel button is given focus
Screenshots
If applicable, add screenshots to help explain the problem.
Version/Components/Environment
Add any other context about the problem here
OS:

[ ] Mac OS
[ ] Windows
[ ] Other

Root Cause Analysis
Problem
{describe the problem}
Fix
{describe the fix}
Why was it missed
{Some explanation why this issue might have been missed during normal development/testing cycle}
How can we avoid this
{if we don’t want to see this type of issues anymore what we should do to prevent}

@ritarora @carwelsh fixed & merged

authors: carwelsh oliversberzs

repo: SAP/guided-answers-extension


text:
Temporary admin rights can be prolonged undefinitly with sudoers.d/ entry

Description
After using the Privileges app once, the status of the app (locked/unlocked) can be bypassed using a entry in sudoers.d/ directory.
Prerequisites
/etc/sudoers contains a line to include the sudoers.d directory (default in MacOS Sonoma and below)
#include /etc/sudoers.d
Bypass Example

Enable Admin mode

PrivilegesCLI --add
User user1 has now admin rights

Create an entry in /etc/sudoers.d:

sudo cat << EOF > /etc/sudoers.d/user1
user1 ALL = (ALL) NOPASSWD:ALL
EOF

Remove Admin mode

PrivilegesCLI --remove
User user1 has now standard user rights

Check sudo permissions

sudo -l
[...]
User user1 may run the following commands on machine1:
(ALL) NOPASSWD: ALL

Check root access (without password)

sudo whoami
root

The user user1 has now unlimited administrative access.
Possible solution
Config option to allow/disallow sudoers.d entries, or a list of configured entries

There are a thousand ways how a user get privilege persistence once admin rights are available (LaunchDaemons, cron entries, Privileged Helper Tools, specialized apps), so this would be an endless game of cat and mouse...
That problem would be better handled by "Service Configuration Files" coming from your MDM (see https://support.apple.com/en-ca/guide/deployment/depdac2c8d89/web), as well as automated monitoring of privilege escalations with another tool.

authors: angrox cvgs

repo: SAP/macOS-enterprise-privileges


text:
[JsDoc] sap.m.NavContainer.back()  has only optional parameters

Jsdoc for sap.m.NavContainer.back(oBackData, oTransitionParameters) should be
sap.m.NavContainer.back(oBackData?, oTransitionParameters?)
Jsdoc for to(sPageId, sTransitionName, oData, oTransitionParameters) should be
to(sPageId, sTransitionName?, oData?, oTransitionParameters?)
That is just what i currently use, but other methods probably have undeclared optional parameters as well.

Thanks for pointing this out. Seems to be correct, according to the parameter description. Contribution welcome.

Nitpicking, I know.
If I ever get a minute to learn how to do pull requests and sign the Contribution Agreement,..

Should be possible just within GitHub :relaxed:

Go to the code: https://github.com/SAP/openui5/blob/master/src/sap.m/src/sap/m/NavContainer.js
Click on the "edit" button which will fork the repository and let's you commit the change and create a pull request
CLA should be just a few clicks (there will be a comment in your PR which let's you sign the CLA).


text:
Techne CDN

Goal: Setup a CDN for the Techne
The CDN will contain all versions of Techne under a unique URL and it will be product independent.
Taks

[x] Get a proposed Solution from the Infra team
[ ] Talks with the Infra team to see their requirements

Define a stable endpoint and URL schema
Get access to S3
Define how the updating of S3 will go
Define the cache invalidation policy

[ ] Prepare all legacy Techne Versions, from v0.1.2 to v1.5.7. To deploy in the CDN
[ ] Incorporate process for adding new versions to S3 in the build toolchain
[ ] Incorporate the deploy to S3 into the deployment process

Proposed solution
Have all versions of the library in a AWS S3 Bucket.

Endpoint (to be agreed)
https://cdn.yaas.io/libraries/techne/vX.Y.Z/

We got the S3 buckets:

techne2.yaas.io for staging purposes
techne.yaas.io for the CDN

We have a temp solution for this one.

repo: SAP/techne


text:
Feature/1271

#1271
may need to update the update the support links (have a design request? and ask a question.) base on feedback from the design comp on zeplin.

Let's try to center the main content later on. It is fine for now.

authors: joseegm saadmhybris


text:
Could not find any Service Instance for the selected Space message

Could not find any Service Instance for the selected Space message is given in Eclipse for ABAP cloud project. API endpoint is https://api.cf.eu10.hana.ondemand.com and region is Europe (Frankfurt). Is there any available fix for this?
Trying to do this tutorial. There is no available information on creating service instance.

@no-glue You need a SAP Cloud Platform ABAP Environment user + password to create a ABAP Cloud Project.

repo: SAPDocuments/Tutorials


text:
Add pipeline skeleton chapter

add skeleton pipeline chapter
adaptation of pipeline chapter
spelling corrections in intro and build
minor changes in build: Jenkins configuration

authors: review-ninja wolframK


text:
Upgrade to vanilla CSS

Loose SASS-dependency and build CSS from vanilla CSS source.
Fix some inheritance issues in styles.
Fixes #12

En enkelt kommentar, ellers ser det fint ud.

Det var en bug. Har fixet.

repo: SDFIdk/designsystem


text:
Standardisation/Comparison - Means of implementation - investment/tech sharing/collaboration

We should compare our strings for these aspects. In a lot of SDGs for a/b/c.
For SDG3 it is a much more specific formulation but can be compared.

Notes to self:

2.a - currently no action terms

2.a Increase investment, including through enhanced international cooperation, in rural infrastructure, agricultural research and extension services, technology development and plant and livestock gene banks in order to enhance agricultural productive capacity in developing countries, in particular least developed countries.

Perhaps we can broadly group these methods/actions into two themes:

Transfer of money - this covers "investing", "resources", and "financial assistance"
Transfer/sharing of knowledge and technology - this covers "transfer of technology", "international cooperation", "development cooperation", and "technical assistance"

A couple don't fall under these themes: 1) increasing research capacity and scientific knowledge (14.b), and 2) operationalisation/ capitalisation of the green climate fund (13.a)

After discussion - I will try and create a standard list of terms for each of these themes.
Each person can then check their relevant target against this list. We may not be able to use identical strings - these targets cover similar themes but are not as identical as e.g. "ensure access".

Working draft of possible terms
Transfer of money:
#International aid
"ODA" OR "official development assistance" // "development assistance"
"official development aid" // "development aid"
"foreign aid" OR "international aid"
"cooperation fund"
"development spending"
#Investing or economic support
"investing" OR "invest"
"investment$"
"financing"
("government" OR "public") NEAR/3 ("expenditure" OR "invest*" OR "financ*" OR "spending")
"economic support"
"economic incentive$"
"subsidy" OR "subsidies" OR "subsidi?ing" OR "subsidi?e"
"government* subsid*" OR "economic subsid*"
"tax break$"
UNSURE:  "price support$" OR "price control$"
International coop/transfer of tech
#Cooperation (use/remove international as appropriate)
"international cooperation" OR "international collaboration" // "development cooperation"
"international network$" // "development network$"
#Technology transfer
"technical knowledge transfer*"
"transfer of technical knowledge"
"transfer of technolog*"
"technolog* transfer"?
+++?
General
#Capacity terms
"framework$"
"capacity" OR "capacity building" OR "capacity development"
"capabilit*"
"infrastructure"
"facilities"
"resources" - VERY general
"initiative$"
#Research and technology terms
"technolog*"
"biotech*"
"research"
"science$"
"innovation"
"R&D"

[ ] SDG1
[ ] SDG2
[ ] SDG3
[ ] SDG4
[ ] SDG7
[ ] SDG11
[ ] SDG13
[ ] SDG14


text:
Lack of Navigation Options for Locations

Currently, our project includes photos of various places, but it lacks an integrated map feature for easy navigation. Implementing a map integration would greatly enhance the user experience by allowing users to click on a photo and be directed to the corresponding geographical location on Google Maps.

working on it

Updated the code for maps

Great work!


text:
Chat page

Describe the task that needs to be done.
Need to create a chat list page for users to chat with each others
Describe how a solution to your proposed task might look like (and any alternatives considered).
create a page component which consist of the chat list component and a search bar
Notes
Block by the creation of the chat list component and search bar component

LGTM

authors: DanilLinkov KirstyGong


text:
Module 3 exercises [Mary Amponsah]

Land Condition Map.pdf
Market proximity Map.pdf

Please "drag & drop" exercise 1 pdf file below.

Please "drag & drop" exercise 2 pdf file below.

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to Module 3 and make sure to take
the post-training survey. Participating in surveys is required for receiving
the "GALUP Certificate" by the University of Florida.

Hello,
Please, am I supposed to send the models? If yes, how do send it.
Thank you

Hi Mary, I don't believe you have to submit the models. The maps you've submitted look great, and seem to show that you've built the model correctly. However, if you aren't sure or want feedback, I suppose you could submit a screenshot of your models rather than the model file itself.

You seem to have a clear understanding of this module. Let me know if you have questions, and thank you for participating!

authors: iMarykye muribasterra

repo: SERVIR-WA/GALUP


text:
Update BDI_npsp.recipe.yml

Changes
updated first name and last name and added comments
Issues Closed
Fixed #93

Changed email syntax per @samanthashain  above and also updated cci command syntax and added random batch number name format.

authors: jcpsim jesslopez-sf


text:
Remove remaining use of this->

Description
This PR removes the remaining instances of this-> in the codebase. They were recently added in https://github.com/SFML/SFML/pull/1979/commits/b7ee84c06a8c733525e960153324426cca7ab1d8.
Tasks

[ ] Tested on Linux
[ ] Tested on Windows
[x] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

Here, this was on purpose to highlight the left-side operand

Sorry! I wasn't aware this was on purpose. You're welcome to close this PR if you want to keep it.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

Thank you for this clean up!

repo: SFML/SFML

license: Zlib


text:
Create Check Whether Number is Even or Odd using if else

Pull Request Template
What have you Changed(must)
Write here what you have changed in the codebase
Issue no.(must) -
Pr will be close and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[ ] This issue was assigned to me if not it will be marked as spam.
[ ] My file is in the proper folder
[ ] I am following clean code and Documentation.
[ ] I have added the title and what program will do first in the file
[ ] I have named the file as (Problem #). (Problem Title(in Camel Case)).(extension)
ex. 2. AddToNumbers.py

README - How to Contribute

@pratham-web you have to mention the issue number in the PR Body.

repo: SHY-Corp/LeetCode-Solutions


text:
🛑 Website is down

In 8acb9f1, Website (ELTeam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Website is back up in e53e475 after 8 minutes.

repo: SIRMaxis/uptime-robot


text:
🛑 DNS2.electro is down

In e043a5a, DNS2.electro (ns2.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in c4c6fdc after 1 hour.


text:
🛑 DE Server is down

In eb72aee, DE Server (de1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DE Server is back up in 0c7d75b after 12 minutes.


text:
🛑 DNS2.electro is down

In 18e2fee, DNS2.electro (ns2.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in 16775cf after 47 minutes.


text:
🛑 Website is down

In b77b287, Website (ELTeam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Website is back up in a4d1192 after 9 minutes.


text:
🛑 DE Server is down

In 01440c3, DE Server (de1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DE Server is back up in 2ae69e6 after 7 minutes.


text:
Update README.md

"RP API endpoint authentication" hashtag link changed in: https://github.com/SK-EID/smart-id-documentation/commit/a86024d56716464b9279a35a5798f22b9038c1bb

Thank you!

authors: alvar-sk rkaalma

repo: SK-EID/smart-id-php-client


text:
Issue While rendering inside a Array.map()

im having troubles calling the component inside a map function. the problem is that effects only happends to the first card, so if i move the mouse in the frist one all is right, but when i do the same to the second card for example, the effects affect to the first card. great Job! and thanks

im having troubles calling the component inside a map function. the problem is that effects only happends to the first card, so if i move the mouse in the frist one all is right, but when i do the same to the second card for example, the effects affect to the first card. great Job! and thanks

ah ok i'll check it and confirm when i fixed it.

I am having the same issue as Javier

I am having the same issue as Javier

thanks for your reply. I'll look at on this matter as soon as possible


text:
Support web configuration

Removes cmd and CLI interface if window is defined
Allows users to statically set the repository token if they have one via logging into CT or mPulse
Bumps schema version to 2.0.0

Looks like you'll need to run the linter first (grunt lint).
(It's possible some old code isn't linted, please fix if you can)

authors: bobbykritzer nicjansma


text:
🛑 CAOSBI is down

In a719395, CAOSBI (https://caosbi.ayi-asociados.com/) was down:

HTTP code: 502
Response time: 19078 ms

Resolved: CAOSBI is back up in 111ee76 after 11 minutes.

repo: SOPORTEAYIGROUP/AYIGROUP


text:
Video playback stops when locking the device

Probably starting with a recent iOS 12 version (yet to be determined), playback stops when on the lock screen, which was not enforced by SRG Media Player.
We should detach the video layer to achieve proper behavior again. Disabling visual tracks does not work for streamed medias and is therefore not a good strategy.

Works fine with iOS 12.2, not anymore with iOS 12.3.1. The change probably was made in iOS 12.3.

What changed in iOS 12.3 is how the system handles the player state when bound to a player layer:

iOS 12.2 and below: If a player is attached to a player layer and the app is sent to the background while playing a video, the player is paused. No pause occurs if the device is simply locked.
iOS 12.3 and above: If a player is attached to a player layer and the app is sent to the background or the device locked when playing a video, the player is paused.

As mentioned above, the correct way to have video playback continue in background is to detach the player layer in background. Note that background includes lock screen playback as well (this is considered background, but was treated differently in earlier iOS versions from an AVPlayer perspective).
I initially intended to provide an API with the following modes:

Background playback.
Background playback on the lock screen only.
No background playback.

This API is tightly bound to the iOS behavior, though, and would lead to different implementations based on iOS versions. The system behavior might change in the future as well.
To avoid such issues and provide for a more consistent behavior, I finally decided to provide an API with the following modes:

Layer kept attached in background.
Layer detached in background.
Layer detached in background, but only if the device is locked.

No strong guarantees are made about those modes (as the result might vary between iOS versions depending on what the system enforces), but the general rule is to detach layers to maximize the chances for background playback. Note that audio playback is never affected and works in background.
Using this new API, we therefore have:

Prior to iOS 12.3:

Kept attached / detached when locked: Video playback is paused in background, but continues if the device is locked.
Detached: Video playback continues in background and if the device is locked.

iOS 12.3 and above:

Kept attached: Video playback is paused in background and if the device is locked.
Detached: Video playback continues in background and if the device is locked.
Detached when locked: Video playback is paused in background, but continues if the device is locked.

Available for review on the feature/background-playback branch.

What remains to be done:

Investigate if for streams with audio-only the detached player only plays the audio.
If not: Probably reattach the view just after moved to the background, so that the layer is immediately visible when returning to foreground.

Answers:

Using Apple basic stream (which has a single audio variant), it appears the player does not switch to this variant when detached from the layer.
Done, see 1906a32edb615ff17e12302e050bb2f227095d39.

Testing is a bit cumbersome and can only be manual.
The main idea can be summarised as follows: If a view is attached to the player and installed in the view hierarchy, playback will continue or be paused depending on the viewBackgroundBehavior controller setting.
Here is the expected result for all possible settings:

repo: SRGSSR/srgmediaplayer-apple


text:
Add NfSen session availability check

Also, check how to establish a new session in NfSen source code.

SSHCure does not depend on NfSen sessions anymore.

repo: SSHCure/SSHCure


text:
Feature - Organisation specific content e.g SSW Only

TO: @bradystroud @christianmorfordwaitessw
CC: @adamcogan @wicksipedia
(checked by Christian)
As per our conversation, we need to implement the SSW - only text feature in SSW.Rules v2.
The user should be able to login and view internal content related to their organisation.

Add a feature to allow for internal content within rules pages

AB#59361

To: @bradystroud
Cc: @adamcogan @wicksipedia

Add a feature to allow for internal content within rules pages

Done - Organisation specific content can be added to the markdown
::: organisation-specific-content
e7d15b01-2a21-4e0f-bc71-c09e5d356cbc-7947936
:::

Figure: Organisation specific content in markdown

Figure: Organisation specific content rendered on page

Hi Christian,
Could we have a more intuitive Markdown? E.g.
::: internal-content
xxx yyy zzz
:::