fastcdr: 2.2.0 -> 2.2.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/eProsima/Fast-CDR/releases.
meta.description for fastcdr is: Serialization library for OMG's Common Data Representation (CDR)
meta.homepage for fastcdr is: https://github.com/eProsima/Fast-CDR
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.2.1 with grep in /nix/store/cmbs9vjq2k8n4i46gr0lpli71zc68n4q-fastcdr-2.2.1
found 2.2.1 in filename of file in /nix/store/cmbs9vjq2k8n4i46gr0lpli71zc68n4q-fastcdr-2.2.1

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
fastcdr

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/cmbs9vjq2k8n4i46gr0lpli71zc68n4q-fastcdr-2.2.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A fastcdr https://github.com/r-ryantm/nixpkgs/archive/c8c6c0c494df225b019df4bc95f3c13b2615acb0.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/c8c6c0c494df225b019df4bc95f3c13b2615acb0#fastcdr

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/cmbs9vjq2k8n4i46gr0lpli71zc68n4q-fastcdr-2.2.1
ls -la /nix/store/cmbs9vjq2k8n4i46gr0lpli71zc68n4q-fastcdr-2.2.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages built:

fastcdr
fastcdr.doc

Maintainer pings
cc @panicgh for testing.

Something doesn't add up here. When I run nixpkgs-review I get:
error: hash mismatch in fixed-output derivation '/nix/store/iinc7ybshd79j10p42iwbbqnjnj0w37g-source.drv':
         specified: sha256-A0tBlbTWcFHuaFWlU9Co1z8oiQBwWjH5/ONaxwfa3CA=
            got:    sha256-9eIPGGrDBsxLbX+oR++jg8ddUYKOC3nLnqg0q1bxPZU=

The activity log indicates that the original v2.2.1 tag was deleted and a new one was force-pushed. Our bot probably uses the older tag's sources.


[dart:ffi] sizeOf with wrong result

Reproduce
2.12.0-259.8.beta without NullSafety
class BITMAPFILEHEADER extends ffi.Struct {
  @ffi.Uint16()
  int bfType;

  @ffi.Uint32()
  int bfSize;

  @ffi.Uint16()
  int bfReserved1;

  @ffi.Uint16()
  int bfReserved2;

  @ffi.Uint32()
  int bfOffBits;
}

2.13.0-30.0.dev with NullSafety
class BITMAPFILEHEADER extends ffi.Struct {
  @ffi.Uint16()
  external int bfType;

  @ffi.Uint32()
  external int bfSize;

  @ffi.Uint16()
  external int bfReserved1;

  @ffi.Uint16()
  external int bfReserved2;

  @ffi.Uint32()
  external int bfOffBits;
}

print(sizeOf<BITMAPFILEHEADER >()) results in 16, while it is 14

It turns out to be struct aligment: bfType is aligned to bfSize with 4 bytes
class BITMAPFILEHEADER extends ffi.Struct {
  @ffi.Uint16()
  external int bfType;

  @ffi.Uint32()
  external int bfSize;

Related: https://github.com/dart-lang/sdk/issues/38158, https://github.com/dart-lang/sdk/issues/43257

This is expected behavior. C also rounds up the size to alignment. See this example.
We're already tracking packed structs, closing this issue.

This is expected behavior. C also rounds up the size to alignment. See this example.
We're already tracking packed structs, closing this issue.

I have no idea why godbot.org have a 16 result. Maybe related to msvc(WINE). When running with real MSVC, it is 14 by default

BITMAPFILEHEADER is from wingdi.h: https://docs.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-bitmapfileheader
typedef struct tagBITMAPFILEHEADER {
        WORD    bfType;
        DWORD   bfSize;
        WORD    bfReserved1;
        WORD    bfReserved2;
        DWORD   bfOffBits;
} BITMAPFILEHEADER, FAR *LPBITMAPFILEHEADER, *PBITMAPFILEHEADER;

@dcharkes @mannprerak2 This is NOT expected behavior with MSVC. Could you re-open it?


System.TypeLoadException on Linux (Linux Mint 19)

Environment data
dotnet --info output:
SDK .NET Core (reflétant tous les global.json) :
 Version:   2.1.402
 Commit:    3599f217f4

Environnement d'exécution :
 OS Name:     linuxmint
 OS Version:  19
 OS Platform: Linux
 RID:         linuxmint.19-x64
 Base Path:   /usr/share/dotnet/sdk/2.1.402/

Host (useful for support):
  Version: 2.1.4
  Commit:  85255dde3e

.NET Core SDKs installed:
  2.1.402 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.4 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.4 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.4 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

VS Code version:
(I guess this is code --version?)
1.27.2
f46c4c469d6e6d8c46f268d1553c5dc4b475840f
x64

C# Extension version:
1.16.1
Steps to reproduce

Launch VSCode in an Unity project (using Unity)
Watch the console open and immediately crash the OmniSharp server

Expected behavior
I expect to have IntelliSense and everything that comes with the extension.
Actual behavior
As the server crashes, nothing is added to the standard VSCode.
Additional informations
Here is the full log, using trace logging level:
Starting OmniSharp server at 2018-9-16 21:40:01
    Target: /home/$USER/Sources/Unity/Space Shooter/Space Shooter.sln

OmniSharp server started with Mono 5.14.0.
    Path: /home/$USER/.vscode/extensions/ms-vscode.csharp-1.16.1/.omnisharp/1.32.5/omnisharp/OmniSharp.exe
    PID: 25648

System.TypeLoadException: Could not load type of field 'McMaster.Extensions.CommandLineUtils.CommandLineApplication:_validationErrorHandler' (36) due to: Could not load file or assembly 'System.ComponentModel.DataAnnotations, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
  at OmniSharp.Stdio.StdioCommandLineApplication..ctor () [0x00000] in <e2653a02ab1f423abb805f2353ec9507>:0
  at OmniSharp.Stdio.Driver.Program+<>c__DisplayClass0_0.<Main>b__0 () [0x00006] in <9671bf457f144c419fb0cdee3ca10088>:0
  at OmniSharp.HostHelpers.Start (System.Func`1[TResult] action) [0x0001c] in <48aa3fb56cea4bd5ab9bfdf1170dd033>:0
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

I am using the latest Mono and .NET Core, and everything is up-to-date. I also tried reinstalling the .NET Core.
I also tried moving the ~/.vscode folder to an other name and deleting the ~/.omnisharp folder too (as suggested in #2489).
I tried looking into the other issues, but no solution worked for me.

@rajdakin Can you share the output of mono --version? What have you set the option omnisharp.useGlobalMono to?

Here is mono --version:
Mono JIT compiler version <IP_ADDRESS> (tarball Mon Aug  6 09:07:45 UTC 2018)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug
	Interpreter:   yes
	LLVM:          yes(3.6.0svn-mono-/)
	GC:            sgen (concurrent by default)

I didn't change anything in the config, so omnisharp.useGlobalMono is currently set to auto. By changing it to always, nothing changes.
By changing it to never, however, I get a different result, probably because it didn't find Mono. This is the last lines in information logging level:
/home/$USER/.vscode/extensions/ms-vscode.csharp-1.16.1/.omnisharp/1.32.5/omnisharp/msbuild/15.0/Bin/Microsoft.Common.CurrentVersion.targets(1195,5): Error: The reference assemblies for framework ".NETFramework,Version=v3.5" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.

[fail]: OmniSharp.MSBuild.ProjectManager
        Attemped to update project that is not loaded: /home/$USER/Sources/Unity/Space Shooter/Assembly-CSharp.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
        Attemped to update project that is not loaded: /home/$USER/Sources/Unity/Space Shooter/Assembly-CSharp-Editor.csproj

@rajdakin: Could you share your full OmniSharp Log for that last case?

Here it is, in trace logging level:
Starting OmniSharp server at 2018-9-19 11:51:33
    Target: /home/$USER/Sources/Unity/Space Shooter/Space Shooter.sln

OmniSharp server started.
    Path: /home/$USER/.vscode/extensions/ms-vscode.csharp-1.16.1/.omnisharp/1.32.5/run
    PID: 30210

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on linuxmint 19.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 1 MSBuild instance(s)
            1: StandAlone 15.0 - "/home/$USER/.vscode/extensions/ms-vscode.csharp-1.16.1/.omnisharp/1.32.5/omnisharp/msbuild/15.0/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        MSBUILD_EXE_PATH environment variable set to '/home/$USER/.vscode/extensions/ms-vscode.csharp-1.16.1/.omnisharp/1.32.5/omnisharp/msbuild/15.0/Bin/MSBuild.dll'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: StandAlone 15.0 - "/home/$USER/.vscode/extensions/ms-vscode.csharp-1.16.1/.omnisharp/1.32.5/omnisharp/msbuild/15.0/Bin"
            MSBuildExtensionsPath = /home/$USER/.vscode/extensions/ms-vscode.csharp-1.16.1/.omnisharp/1.32.5/omnisharp/msbuild
            BypassFrameworkInstallChecks = true
            CscToolPath = /home/$USER/.vscode/extensions/ms-vscode.csharp-1.16.1/.omnisharp/1.32.5/omnisharp/msbuild/15.0/Bin/Roslyn
            CscToolExe = csc.exe
            MSBuildToolsPath = /home/$USER/.vscode/extensions/ms-vscode.csharp-1.16.1/.omnisharp/1.32.5/omnisharp/msbuild/15.0/Bin
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in '/home/$USER/Sources/Unity/Space Shooter'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.WorkspaceInitializer
        Project system 'OmniSharp.DotNet.DotNetProjectSystem' is disabled in the configuration.
[info]: OmniSharp.MSBuild.ProjectSystem
        Detecting projects in '/home/$USER/Sources/Unity/Space Shooter/Space Shooter.sln'.
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/home/$USER/Sources/Unity/Space Shooter/Assembly-CSharp.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/home/$USER/Sources/Unity/Space Shooter/Assembly-CSharp-Editor.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in '/home/$USER/Sources/Unity/Space Shooter'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /home/$USER/Sources/Unity/Space Shooter/Assembly-CSharp.csproj
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location '/home/$USER/Sources/Unity/Space Shooter' on host 24589.
[fail]: OmniSharp.MSBuild.ProjectLoader
        The reference assemblies for framework ".NETFramework,Version=v3.5" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file '/home/$USER/Sources/Unity/Space Shooter/Assembly-CSharp.csproj'.
/home/$USER/Sources/Unity/Space Shooter/Assembly-CSharp.csproj
/home/$USER/.vscode/extensions/ms-vscode.csharp-1.16.1/.omnisharp/1.32.5/omnisharp/msbuild/15.0/Bin/Microsoft.Common.CurrentVersion.targets(1195,5): Error: The reference assemblies for framework ".NETFramework,Version=v3.5" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.

[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /home/$USER/Sources/Unity/Space Shooter/Assembly-CSharp-Editor.csproj
[fail]: OmniSharp.MSBuild.ProjectLoader
        The reference assemblies for framework ".NETFramework,Version=v3.5" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file '/home/$USER/Sources/Unity/Space Shooter/Assembly-CSharp-Editor.csproj'.
/home/$USER/Sources/Unity/Space Shooter/Assembly-CSharp-Editor.csproj
/home/$USER/.vscode/extensions/ms-vscode.csharp-1.16.1/.omnisharp/1.32.5/omnisharp/msbuild/15.0/Bin/Microsoft.Common.CurrentVersion.targets(1195,5): Error: The reference assemblies for framework ".NETFramework,Version=v3.5" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.

[fail]: OmniSharp.MSBuild.ProjectManager
        Attemped to update project that is not loaded: /home/$USER/Sources/Unity/Space Shooter/Assembly-CSharp.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
        Attemped to update project that is not loaded: /home/$USER/Sources/Unity/Space Shooter/Assembly-CSharp-Editor.csproj

https://github.com/OmniSharp/omnisharp-vscode/issues/2509#issuecomment-420318250
Ghostbird's solution worked for me!
Running Linux Mint (Cinnamon)

Well, at least the extension's status icon switched to green... Before exiting as the server timeout (crash).
It still doesn't work.
I've also tried version 1.17.0-beta3 with the same result as v1.16.1.
(By the way, Linux Mint 19's codename is Tara.)
Here is the full log in trace log level, version 1.15.1:
Starting OmniSharp server at 2018-10-3 10:37:27
    Target: /home/$USER/Sources/Unity/First game project/First game project.sln

OmniSharp server started with Mono 5.14.0
    Path: /home/$USER/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.30.1/omnisharp/OmniSharp.exe
    PID: 901

System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
File name: 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
  at OmniSharp.CommandLineApplication+<>c__DisplayClass11_0.<OnExecute>b__0 () [0x0000b] in <c01404811b784b23ba2b531f165478f7>:0
  at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute (System.String[] args) [0x0035b] in <e56ebbc3ed87488b8e26736bbadaa5d3>:0
  at OmniSharp.CommandLineApplication.Execute (System.Collections.Generic.IEnumerable`1[T] args) [0x00042] in <c01404811b784b23ba2b531f165478f7>:0
  at OmniSharp.Stdio.Driver.Program+<>c__DisplayClass0_1.<Main>b__0 () [0x00028] in <93ea459c1f92407098a355199aa33d94>:0
  at OmniSharp.HostHelpers.Start (System.Func`1[TResult] action) [0x0001c] in <c01404811b784b23ba2b531f165478f7>:0

And here it is with version 1.17.0-beta3:
Starting OmniSharp server at 2018-10-3 10:41:12
    Target: /home/$USER/Sources/Unity/First game project/First game project.sln

OmniSharp server started with Mono 5.14.0.
    Path: /home/$USER/.vscode/extensions/ms-vscode.csharp-1.17.0-beta3/.omnisharp/1.32.5/omnisharp/OmniSharp.exe
    PID: 1130

System.TypeLoadException: Could not load type of field 'McMaster.Extensions.CommandLineUtils.CommandLineApplication:_validationErrorHandler' (36) due to: Could not load file or assembly 'System.ComponentModel.DataAnnotations, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
  at OmniSharp.Stdio.StdioCommandLineApplication..ctor () [0x00000] in <e2653a02ab1f423abb805f2353ec9507>:0
  at OmniSharp.Stdio.Driver.Program+<>c__DisplayClass0_0.<Main>b__0 () [0x00006] in <9671bf457f144c419fb0cdee3ca10088>:0
  at OmniSharp.HostHelpers.Start (System.Func`1[TResult] action) [0x0001c] in <48aa3fb56cea4bd5ab9bfdf1170dd033>:0
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

OK, so apparently just installing msbuild did the trick.
Thanks gzmp!

For me installing the mono-complete package following this fixed the error for me.

Thanks a lot! Now it truly works (I maybe should have mentioned that even though this first specific error was corrected, I required the .NET 3 framework or something like that, so I just abandoned as I couldn't find any Linux .NET package...).
Although I just needed to install the mono-devel package as told in that link you sent.


Appsource Spelling Issue

🛑 IMPORTANT: You can get your feedback addressed faster if you use the comment section for the article in which you encountered a problem (if available).
Link to article:
https://appsource.microsoft.com/en-us/marketplace/apps?page=1&src=office&industry=government
Problem:
More apps for government is spelled wrong at the bottom of the page.

Thank you for the feedback! Because this is not related to docs.microsoft.com, we cannot address the issue in this forum.


Add top-level menu bar

Feedback from a potential community member:

Quick feedback on https://www.developerexperience.us/ - when he scrolled through this it was a bit annoying that there is now top level menu bar that allows him to jump to the individual resources (feels more like dictate not integrate).

@chrifro Can we add links to the top for each section? WDYT design-wise?

I added this style for the navigation bar

@pawlean could you specify which navigation items you'd like to have? So far I thought about these links
Devx -> "What is developer experience"
Community -> "What is community"
Resources -> "Learn more about developer experience"
I don't think the founding members require a navigation item. WDYT?
Regarding the implementation:

the nav bar should be fixed while scrolling, the bg has 80% opacity and 10px blur (similar to gitpod.io)
on hover the navigation item turns black and bold

These links and implementation is spot-on, @chrifro! 👾 Agreed with the founding members not being needed there!


Add Swagger

Go to tools > Nuget Packege Manager > Package Manager Console
Install-Package Swashbuckle.AspNetCore -Version 5.5.0 (choose version according to your runtime)
Add the Swagger generator to the services collection in the Startup.ConfigureServices method:
public void ConfigureServices(IServiceCollection services)
{
   services.AddControllers();

    // Register the Swagger generator, defining 1 or more Swagger documents
    services.AddSwaggerGen( c => {
       c.SwaggerDoc("v1", new OpenApiInfo { Title = "YourTitle", Version = "v1" });
  });
}

In the Startup.Configure method, enable the middleware for serving the generated JSON document and the Swagger UI:
 public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
 {
      if (env.IsDevelopment())
      {
           app.UseDeveloperExceptionPage();
           app.UseSwagger();
           app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "API v1"));
      }
}

Thanks for your illustrative comment, @git-amw
I suggest you

Add extension methods in a static class SwaggerConfigExtensions in Configurations folder

    public static class SwaggerConfigExtensions
    {
        public static IServiceCollection AddSwagger(this IServiceCollection services)
        {
            // your code
            return services;
        }

        public static IApplicationBuilder UseSwaggerConfig(this IApplicationBuilder app)
        {
            // your code
            return app;
        }
    }

Second step use them in Program.cs
Last step supmit a pull request
Thanks for your help.


Switch to clang-format-6 and apply style

If there is anything you don't like let me know and we can perhaps tweak it
MLIR has a separate .clang-format file so it's format is different than ngraph

general-ci MLIR prebuilt lacks clang-format-6.0


remove gpl gif implementation

to avoid depending on pillow just for our loading animation, created a
zip alternative, and replaced it for usage in all places.

Is this the only implementation for gif (other than ffpyplayer)? If so, don't we need to go through a deprecation cycle?

We also have the Pillow implementation, this is the only one we have without third party dependencies though.

It's quite buggy
It's GPL, which is a violation to distribute in an MIT package, nobody complained yet, but this is bad.

If we think we need to support gif out of the box, we should either make a dependency like Pillow or ffpyplayer mandatory, or shop/build a better implementation to include in kivy.


Table Widget

Is your feature request related to a problem? Please describe.
I see no Table widget in your previews or in the docs, something like this.
Describe the solution you'd like
Is there a table widget currently, if not are there any plans for one.

@Prn-Ice Hey, currently we don't have Table widget. We are not planning to release Table Widget any time soon. Thank you


[Draft] PR to track changes in SDXL.

CLA check is complaining about a commit from @kuhar , fyi: https://github.com/openxla/iree/pull/16854/checks?check_run_id=22897648244 (check which email address you use as your default / to commit changes)

CLA check is complaining about a commit from @kuhar , fyi: https://github.com/openxla/iree/pull/16854/checks?check_run_id=22897648244 (check which email address you use as your default / to commit changes)

Thanks for the heads up, I have to move across machines frequently and this was a one-off. Feel free to update it before landing on main. My main commit email is<EMAIL_ADDRESS>

Not planning to land this. Just a place to see all the commits in the branch w.r.t main


Cherry-pick 'Use PyTorch RC for unittest in release branch (#953)'

This is necessary/useful for the future release too.

thanks!


Cannot suppress "Module not found: Can't resolve" warning

Bug report
Describe the bug
Hello everyone,
in the project I'm working on we require on a file which might exist or not:
try {
  projectFonts = require('../../config/colors')
} catch (ex) {
  // we dont need a catch handler here as the projectFonts are optional
}

This causes a lot of Module not found: Can't resolve '../../config/colors' in... warnings on the console.
I tried to suppress these warnings by adding this line of code to the next.config.js
config.stats = {warning: false}:
// imports...

module.exports = withStylus({
  webpack: config => {
    config.plugins = config.plugins || []
    config.stats = {warning: false}

    config.plugins = [
      ...config.plugins,

      // Read the .env file
      new Dotenv({
        path: path.join(__dirname, '.env'),
        systemvars: true,
      }),
    ]

    return config
  },
})

Expected behavior
I expected, that config.stats = {warning: false} will prevent the warning from being displayed (as mentioned here https://github.com/webpack/webpack.js.org/issues/147#issuecomment-253736058)
System information

OS: Ubuntu
Version of Next.js: 9.3.2

Thanks for your help!

Disabling all compilation warnings doesn't seem like the correct approach. You should probably not use require and use import() instead.


Problem with color rendering

Bug reports:
I know it's a Firefox related thing but maybe someone here does yet have met the issue.
The generated image (saved as) from the canvas does not have the same colors in Firefox than in Chrome. Chrome is in the right colors.

I need help with this if there's a solution.
Thanks a lot
Specifications:

html2canvas version tested with:
Browser & version: Firefox 62 & Chrome 70
Operating system: Mac OS 10.12.6

Firefox has default color management set. And it should remain as is.
Background color has now embed ICC profile (sRGB). The result give differences again.
As you can see, the background is an image and the ring around the picture of the guy is a pure CSS colored border, and the final rendered image does have differences for the background image.

Well, subject closed. I won't take time to investigate and it's a recurrent issue in many posts and forums. The main issue is probably due the lack of color space definition (as there's no properties yet) in canvas AND the way the browsers convert these data.

I've had a similar problem while trying to render heat map data. The saved PNG is noticeably different in colour saturation levels than the original image, producing the same result in Firefox and Chrome.


Random Battle: Prevent Sucker Punch as only STAB

Also sorted the no-STAB list.
@TheImmortal when you get back I'd appreciate if you could discuss this. However, from my glance at the list of Dark mons that have the move, I don't think any of them really appreciate it being their only STAB, not even Honchkrow.

I sorted it as Physical/Special. Also, this is a bad idea. I agree they wouldn't want it as their ONLY STAB, but they don't want to lose this. Ideally they want both. Definitely not going to accept this.

Also, pretty sure I prevented it as only STAB. Check the Adaptability/etc section.

if ( ...
    (hasType['Dark'] && hasMove['suckerpunch'] && counter.stab < template.types.length) ||
    ... )

This check works for dual-typed Pokemon like Honchkrow, but not pure Dark-types.
The pure Dark-types with it are Absol, Mightyena, Liepard, and Zoroark. I'm not sure about the first three (especially not Liepard, which has Prankster to annoy you to death) but Zoroark definitely doesn't want it as its only STAB because it's item-locked into Choice Scarf.

Still waiting for an answer on this. I think that all Dark-type Pokemon with Sucker Punch should get a secondary STAB, which simply means changing the line mentioned in the last comment from template.types.length to a flat 2.

Does this affect anything other than Zoroark

Do Pokémon really often carry two STABs when one is Sucker Punch? I was under the impression that coverage was more important than more reliability (same reason why no one runs both Flamethrower and Fire Blast).

Hmmm, maybe you're right. Although Mega Absol might care too since Knock Off is fun.

Zarel is right. I looked back at the post regarding this and the issue is Scarf Sucker Punch, not lack of second Dark move. Fixed in 7b2c60c53606684b68f6d1683c28a25e40114c18.


Alternative Note Off method not supported

PROBLEM
The alternate midi Note Off command (Note On + Velocity 0) isn't recognized by the performer and a previously played note stays on.
"The MIDI Specification says:
"A receiver must be capable of recognizing either method of turning off a note, and should treat them identically." "
https://www.midi.org/forum/228-writing-midi-software-send-note-off,-or-zero-velocity-note-on
I tested this with my Yamaha Montage.
EXPECTED BEHAVIOUR
Sending midi "Note On + Velocity >0" followed by "Note On + Velocity 0" should turn the note/gate off.

Ok, didnt know there are devices not sending note off events. Should be easy to fix.

I confirm this fix works. Thank you!


To int eq broken

Test if the CI fails in case of broken proofs

Close as this should have gone to my personal fork.


aboutresult  A few questions ？

For .obj how to increase the number of vertices and faces, now the number of vertices and faces are relatively low？
about  renderer.html    How to display my output？

@zhanghongyong123456 Hi,

you can increase decimate_target here.
just paste the output mesh folder to your url, such as localhost:5500:/renderer.html?scene=xxx/mesh_stage1/

@zhanghongyong123456 Hi,

you can increase decimate_target here.
just paste the output mesh folder to your url, such as localhost:5500:/renderer.html?scene=xxx/mesh_stage1/

Thank you very much for your prompt reply!
Regarding the rendering of my own dataset, my results are very poor, any special tips (video shooting, parameter adjustment)  Here are my results

My video revolves around a central character and a monument, and below are two data images

My  cmd  is ：
python scripts/colmap2nerf.py --video ./data/custom/video.mp4 --run_colmap # if use video
recommended options for forward-facing captures
python main.py data/custom/ --workspace trial_custom -O --data_format colmap --bound 4 --scale 0.3 --stage 0 --clean_min_f 16 --clean_min_d 10 --lambda_tv 2e-8 --visibility_mask_dilation 50
python main.py data/custom/ --workspace trial_custom -O --data_format colmap --bound 4 --scale 0.3 --stage 1 --iters 10000 --lambda_normal 1e-3

You may need a larger lambda_normal like 1e-2 to make the mesh more smooth, and a larger scale so the interested region is zoomed in.
As the background seems to lack texture (mono-green), dense depth supervision may be helpful too.

You may need a larger lambda_normal like 1e-2 to make the mesh more smooth, and a larger scale so the interested region is zoomed in. As the background seems to lack texture (mono-green), dense depth supervision may be helpful too.

Did my command switch to 360 CMD settings, because I rotated around the character？
python main.py data/custom/ --workspace trial_custom -O --data_format colmap --bound 16 --enable_cam_center --enable_cam_near_far --scale 0.3 --stage 0 --lambda_entropy 1e-3 --clean_min_f 16 --clean_min_d 10 --lambda_tv 2e-8 --visibility_mask_dilation 50
What is the main difference（outdoor 360-inwarding captures  and  forward-facing captures  ）, and how is the video data tricky when shooting myself as I've found my own data to be very poorly reconstructed
2. i have a error,but  don't serror,but  don't sololver  when use: --enable_dense_depth


bluetooth client example

Let's say if I have 6 char in one service, with below code in the example, I should be able to create a capacity to store 6 set of char elem result, and then use esp_ble gattc_get_char_by uuid to search the uuid one by one. Is it the correct way for me to read and store the result for the second char like below code "(char_elem_result+1)" ? my esp crash and restart.....
char_elem_result = (esp_gattc_char_elem_t *)malloc(sizeof(char_elem_result) * count); . . status = esp_ble_gattc_get_char_by_uuid( gattc_if, 							p_data->search_cmpl.conn_id, 							gl_profile_tab[PROFILE_A_APP_ID].service_start_handle, 							gl_profile_tab[PROFILE_A_APP_ID].service_end_handle, 							first_char_uuid, 							(char_elem_result), 							&count); . . status = esp_ble_gattc_get_char_by_uuid( gattc_if, 							p_data->search_cmpl.conn_id, 							gl_profile_tab[PROFILE_A_APP_ID].service_start_handle, 							gl_profile_tab[PROFILE_A_APP_ID].service_end_handle, 							second_char_uuid, 							(char_elem_result+1), 							&count);

I use the latest version IDF, with the module from brand A, when I use the function esp_ble_gattc_get_all char, it will trigger the heap corruption.
However, when I use the module from another brand B, this problem doesn't appear, anyone can help?
CORRUPT HEAP: multi_heap.c:173 detected at 0x3ffcf03c
abort() was called at PC 0x400882fa on core 0

@denyip I found that if your code is wrong, it should be written as follows:
char_elem_result = (esp_gattc_char_elem_t *) malloc (sizeof (esp_gattc_char_elem_t) * count);
Any other question, please let me know, thanks.

then it's the wrong code in the IDF example, in the example, it  wrote sizeof(char_elem_result)....
https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/gatt_client/main/gattc_demo.c

@denyip Thank you very much, it is really a bug in the IDF bt excample. We will change it in the last few days and thank you again.

@denyip Can you update the master now, the issue is fixed in the new version of the master. Thanks,


[9.0] Making throw() callback function argument explicit.

Breaking changes in Response class.

Cleanup implicit argument in method toException() and more helpfull exceptions if fails
Make toException always return an exception, seems much more logical otherwise i would call method:toExceptionIfFailed()

Why
To me this feature was not clear because not all IDE's show you the option for this parameter. ie: PHPstorm:

Hmm, I'm not sure I wanted all the behavior changes. The callback doesn't receive the exception anymore either. If you want to make just the signature change that is fine.


Dependency refresh and addressing an important corner case

Greetings! Two years later, Chatty is still in use with us. This PR addresses some major and minor issues:

socket.io version bump to major version 4 to bring the server up to compatibility with recent socket.io clients: 282fe7a3.
Use Yarn instead of NPM for package management: 0610013.
Address the faulty assumption that users could have only one socket: 8f47e86. The previous mapping socketConnections, was a user-to-socket hash. The new data structure, userIdsToSocketArrays is a user-to-sockets hash, in the event that the user is multitasking over multiple browser windows. The previous behavior caused some very strange and undesirable behavior with reactivity not triggering in our apps.

Thanks!


Choose the technologies to be used for the app

Should we use simply Html page or should we add some JS scripts?

both


tensorflow implementation of autoclip

I believe this is a tensorflow implementation of autoclip. I had to make the gradient history a fixed size due to limitations in the tensorflow autograph. It needs tensorflow >- 2.4.0

Hi there, for some reason I didn't see this. It looks pretty reasonable but I don't use Tensorflow so I can't test it. Is it working for you, if you're still using it? It looks right to me, though 10k steps may be too small.

Works for me although I don't use it much. What's a good size if 10k is too small?

You could fix it to the number of iterations. Anyway don’t think it matters much. I’ll try it out and then merge it. Sorry for the late response, I just didn’t see the PR for some reason!


JSON parsing error

Plugin was working well on first few tries but is now returning this error after processing, with "chatgpt-4o" set as model.  No tags are generated. I'm not using any custom prompt or other settings.

(It works OK with "chatgpt-3.5-turbo" set as model.)

same issue gpt-4o-mini


Windows support

Hi. Tried to install it on Windows - no luck so far. When do you intend to add Windows support?

Sure. Thanks, Jess. Will check out on how to implement.Thanks


Is there any ways to block the UI while progress bar loads

Is there any option to block the UI while an http call is being made through axios?

Try adding this to your css file:

/***** Loading Bar *****/
#nprogress {
pointer-events: all;
z-index: 99999;
border: none;
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
cursor: wait;
position: fixed;
background-color: rgba(0, 0, 0, 0.6);
}


[SPARK-26908][SQL] Fix DateTimeUtils.toMillis and millisToDays

What changes were proposed in this pull request?
The DateTimeUtils.toMillis can produce inaccurate result for some negative values (timestamps before epoch). The error can be around 1ms. In the PR, I propose to use Math.floorDiv in casting microseconds to milliseconds, and milliseconds to days since epoch.
How was this patch tested?
Added new test to DateTimeUtilsSuite, and tested by CastSuite as well.

Can one of the admins verify this patch?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/8011/
Test PASSed.

Test build #102430 has started for PR 23815 at commit 5139b79.

Test build #102430 has finished for PR 23815 at commit 5139b79.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/102430/
Test PASSed.

TODO: Another place https://github.com/apache/spark/blob/0df29bfbdc6ec7f3ba7d7b54e024059b3894da16/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Cast.scala#L399

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/8206/
Test PASSed.

Test build #102666 has started for PR 23815 at commit 47ea4fb.

Looking good. Did you want to change the place noted in https://github.com/apache/spark/pull/23815#issuecomment-464901838 or is that separate?

Did you want to change the place noted in #23815 (comment) or is that separate?

@srowen Thank you for the reminder. I changed the place as well.

Test build #102676 has started for PR 23815 at commit 4b303bc.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/8216/
Test PASSed.

Test build #102666 has finished for PR 23815 at commit 47ea4fb.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/102666/
Test FAILed.

Test build #102676 has finished for PR 23815 at commit 4b303bc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/102676/
Test PASSed.

Merged build finished. Test PASSed.

Merged to master

I think it would be nice to backport the bug fix to 2.4. @holdenk @cloud-fan @srowen @kiszk WDYT?

I’m ok with that. I cut RC1 last nights so this might not make it to 2.4.6, but if RC1 doesn’t pass this could be a nice to have. I’m going to do some JIRA cleanup after my meetings and send the vote thread.


Migrating to FCM v1 API causes dependency issues with apns2

When I try to install the firebase-admin package in order to migrate to FCM v1 API (https://github.com/jazzband/django-push-notifications/blob/master/docs/FCM.rst), I get this error (I am using Poetry to handle dependencies)
Because no versions of pyjwt match >2.5.0,<2.6.0 || >2.6.0,<2.7.0 || >2.7.0,<2.8.0 || >2.8.0
 and pyjwt (2.5.0) depends on pyjwt (2.5.0), pyjwt (>=2.5.0,<2.6.0 || >2.6.0,<2.7.0 || >2.7.0,<2.8.0 || >2.8.0) requires pyjwt (2.5.0).
And because pyjwt (2.6.0) depends on pyjwt (2.6.0), pyjwt (>=2.5.0,<2.7.0 || >2.7.0,<2.8.0 || >2.8.0) requires pyjwt (2.5.0 || 2.6.0).
And because pyjwt (2.7.0) depends on pyjwt (2.7.0)
 and pyjwt (2.8.0) depends on pyjwt (2.8.0), pyjwt (>=2.5.0) requires pyjwt (2.5.0 || 2.6.0 || 2.7.0 || 2.8.0).
Because no versions of firebase-admin match >6.5.0,<7.0.0
 and firebase-admin (6.5.0) depends on pyjwt (>=2.5.0), firebase-admin (>=6.5.0,<7.0.0) requires pyjwt (>=2.5.0).
Thus, firebase-admin (>=6.5.0,<7.0.0) requires pyjwt (2.5.0 || 2.6.0 || 2.7.0 || 2.8.0).
So, because doter-server depends on both PyJWT (1.7.1) and firebase-admin (^6.5.0), version solving failed.

It looks like the apns2 package (which is used for APNS service in this package) requires pyjwt that's less than v2.5.0 but firebase-admin requires one that is >=2.5.0
FWIW, it looks like this is actually an issue with apns2 referencing the wrong version: https://github.com/Pr0Ger/PyAPNs2/issues/133
Does anyone know how to get around this? Am I doing something wrong?

We seem to run into the same issue, just that poetry never finishes/hangs when creating the lock file.

@martinrlilja how are you guys going about updating the package to account for FCM's move to the new API? is there an older version that supports the new FCM API but doesn't conflict with apns2?

For those trying to get this to work, I had to remove apns2 and then re-add the package to use the github version (not the pypi version). The github version uses the correct version of pyjwt, but it was never released to pypi.
Using poetry:
poetry remove apn2
poetry add "git+https://github.com/Pr0Ger/PyAPNs2@master"

After that, upgrading this package works.

Hi guys, I am facing the same thing but with apns2 and djangorestframework-jwt. any tip?


Error with Vue 3 Composition API

I'm trying to get vue-apollo up and running using:
vue: 3
apollo/client: "^3.3.7"
vue/apollo-composable: "^4.0.0-alpha.12"
vue/composition-api: "^1.0.0-rc.1"
graphql: "^15.5.0"
graphql-tag: "^2.11.0"

Using the following simple Vue app (CompositionAPI) that follows the guide for composable API:
import { provide } from '@vue/composition-api'
import { DefaultApolloClient } from '@vue/apollo-composable'
import { ApolloClient, createHttpLink, InMemoryCache } from '@apollo/client/core'

const httpLink = createHttpLink({
  uri: 'https://countries.trevorblades.com/',
})
const cache = new InMemoryCache()
const apolloClient = new ApolloClient({
  link: httpLink,
  cache,
})

export default {
    name: 'App',
    setup () {
        provide(DefaultApolloClient, apolloClient)
    },
}

But this throws:
Uncaught TypeError: Cannot read property 'util' of undefined
    at warn (vue-composition-api.esm.js?a6f4:67)
    at currentVMInFn (vue-composition-api.esm.js?a6f4:211)
    at provide (vue-composition-api.esm.js?a6f4:1212)
    at setup (VM50944 App.vue:21)
    at callWithErrorHandling (runtime-core.esm-bundler.js?5c40:154)
    at setupStatefulComponent (runtime-core.esm-bundler.js?5c40:6419)
    at setupComponent (runtime-core.esm-bundler.js?5c40:6380)
    at mountComponent (runtime-core.esm-bundler.js?5c40:4118)
    at processComponent (runtime-core.esm-bundler.js?5c40:4094)
    at patch (runtime-core.esm-bundler.js?5c40:3712)

Same problem when installing @vue/apollo-composable package.

Same problem when installing @vue/apollo-composable package.

Don't need import { provide } from '@vue/composition-api'
import { provide } from 'vue'

Don't need import { provide } from '@vue/composition-api'
import { provide } from 'vue'

That's actually also what I have. I import provide from vue. That also makes me think why I would need to install vue/composition-api.
I have the following code, which works for me:
`import<EMAIL_ADDRESS>import {
ApolloClient,
createHttpLink,
InMemoryCache
} from "@apollo/client/core";
import { ApolloClients } from "@vue/apollo-composable";
import { createApp, h, provide } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
const cache = new InMemoryCache();
const apolloPrivateClient = new ApolloClient({
link: createHttpLink({ uri: "/internal/api/graphql" }),
cache
});
const apolloPublicClient = new ApolloClient({
link: createHttpLink({ uri: "/api/graphql" }),
cache
});
createApp({
setup() {
provide(ApolloClients, {
default: apolloPublicClient,
private: apolloPrivateClient
});
},
render() {
return h(App);
}
})
.use(store)
.use(router)
.mount("#app");
`

I don't remember tthe specifics but getting Vue Apollo to work is kind of hacky. As suggested in this video at somee poiint you'd have to npm install react to get it working. I don't know if this is still required.

If you import from @apollo/client/core, you should be fine not installing react.

True that, react is not needed but are there any fixes to get rid of the errors?

@Manubi if you type in like npm install --save @vue/apollo-composable  --force, or --legacy-peer-deps;
that will ignore peer-deps.

If you import from @apollo/client/core, you should be fine not installing react.

Not that it is the way to go, but perhaps when you attempt to catch some errors during the link.
Using ApolloLink class and try to make an ApolloClient using an error handler and an httplink with ApolloLink like:
const client = new ApolloClient({ 	link: ApolloLink.from([linkError, link]), 	cache, })

Not that vue does but apollo requires react as dependency, sadly it relies on it at some ends.

The docs need to be updated. @vue/composition-api is a package for Vue 2.

The whole docs are a mess. You even don’t really know on what version you are…

how is this issue resolved? I have the same issue
error  in<EMAIL_ADDRESS>Module parse failed: Unexpected token (19:103)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| var ApolloClients = Symbol("apollo-clients");
| function resolveDefaultClient(providedApolloClients, providedApolloClient) {

const resolvedClient = providedApolloClients ? providedApolloClients.default : providedApolloClient ?? void 0;
|   return resolvedClient;
| }

@ ./src/main.ts 6:0-55 15:12-25
@ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.ts
main.ts
import { createApp, provide, h } from 'vue';
import { ApolloClients } from '@vue/apollo-composable';
import App from './App.vue';
import router from './router';
import store from './store';
import '../node_modules/bootstrap/dist/css/bootstrap.min.css';
import * as apolloClient from './apollo-client';
const app = createApp({
setup() {
provide(ApolloClients, {
default: apolloClient,
});
},
render: () => h(App),
});
app.use(store).use(router).mount('#app');

@engeman2008 You seem to be describing another issue. Are you perhaps using @vue/apollo-composable version 4.0.0-alpha.13, which was released two days before your comment? If so, I think your issue is already being discussed: #1217.

@engeman2008 You seem to be describing another issue. Are you perhaps using @vue/apollo-composable version 4.0.0-alpha.13, which was released two days before your comment? If so, I think your issue is already being discussed: #1217.

Yes, Thank you. This solved my issue


Use the local $server variable instead global $_SERVER

Fix a little mistake in ServerRequestFactory class about createServerRequestFromGlobals() function.

You are very much correct. Thank you for finding this bug!
👍


fix: Expo Current Update Id and Update Id check

In the code we are doing equality check on currentUpdateId & id in line #122. Which fails everytime because we are passing a hash in the manifest API request from the android mobile application. Due to this we are always responding with the manifest to the mobile application.
This PR will fix this issue.

Fixed by https://github.com/expo/custom-expo-updates-server/pull/58.

Thanks man! This took me way too long to debug, all our production apps, because of below code, continuously refreshed with no end.
Leaving this here for anyone else using this.
const checkAndUpdateAppSilent = async () => {
  try {
    const update = await Updates.checkForUpdateAsync();
    if (update.isAvailable) {
      const fetchedUpdate = await Updates.fetchUpdateAsync();
      if (fetchedUpdate.isNew) {
        Updates.reloadAsync();
      }
    }
  } catch {}
};


Endpoint to register users in golang service

We do not have an endpoint to register new users , we are directly providing functionality to login users
It would be good to have a register endpoint which takes in users username/email and password and stores it in a database
Related to #17

Hello there,
I would like to take up this if it is okay.

please go ahead @aks3213

Hello @DiptoChakrabarty ,
I am trying to set up the project in my local.
I getting this error when running docker.
Which IP address do I have to configure in the kong yaml file? I am specifying IP4 address got from ipconfig command.

you have to replace it here
https://github.com/DiptoChakrabarty/api-gateway-kong-golang/blob/de44c10cdeccd8f12186726e30c4944994e895f3/kong-gateway/docker-compose.yaml#L72

for the golang development part you can just run the golang file
go run main.go

this will start the golang api in which development can be done , kong is just for redirection for which config has to be edited post that


Expose jib classpath and mainClass as environment variable

Hi,
would it be possible to make the jib classpath and mainClass, that is created as ENTRYPOINT (ENTRYPOINT ["java", jib.container.jvmFlags, "-cp", "/app/resources:/app/classes:/app/libs/*", jib.container.mainClass]) available as environment variables in the created container image?
I would like to run a custom shell script before I jump into java. the injected shell script would be a generic script for several different apps/container images.
On the end of the script I would like to jump into java with something like this:
java $CUSTOM_JAVA_OPTS_FROM_SCRIPT -cp $JIB_CLASSPATH $JIB_MAIN_CLASS
or is that already possible somehow?

Hey @thomasmey, I think what you're looking for is similar to #894. As described there, this issue had proven to be tricky to support within Jib in the past and we decided that writing a Jib Extension for it would be the best course of action. If you would like write a small extension to resolve this issue, we would be happy to receive your contribution!

@thomasmey I just realized a problem with the extension. To identify the classpath and main class, the extension works by parsing the entrypoint already set in the image (i.e., assumes that you didn't set a custom entrypoint). That is, even though you have the environment variables, you cannot set a custom entrypoint based on them (sort of a chick-and-egg problem). What would you say?
So, in order to be usable, maybe the extension should really do keyword substitution as I hinted in https://github.com/GoogleContainerTools/jib-extensions/pull/82#pullrequestreview-617696866?

Hi,
My use case is to set a custom entrypoint to a shell script, in that script i want to use those variables.
And i didnt find any time yet to test, sorry.
Maybe i find some time next week.
But your description sounds if it cannot work, besides when the custom entry point is set after the plugin did already run, not sure when the plugin is called.

@thomasmey as I said in https://github.com/GoogleContainerTools/jib/issues/3147#issuecomment-819065992, I think the extension you wrote has an issue to use in practice.
We just released Jib 3.1.0, which creates two new JVM argument files inside an image, where they hold the computed classpath and the main class respectively. It will be trivial to retrieve these values from a shell. See the doc for more details.


GNSS UBLOX PARSER OFFICIAL SUPPORT/ Failed to create parser help

Apollo 5.0
Ubuntu 20.04
GNSS UBLOX PARSER
I have a GNSS device that has a ublox GPS and nmea format. I modified my configuration files, however, if I change binary to UBLOX (which I need) from NOVATEL_BINARY it says failed to create the parser. I tried implementing the UBLOX parser by following these instructions however, the instructions lack detail and are confusing. Parts of the parser are integrated into config.proto. https://github.com/ApolloAuto/apollo/blob/master/docs/howto/how_to_add_a_gps_receiver.md Here are some screenshots of the errors I recieve. I do get raw data in cyber_monitor but nothing else. Any help or parser that is provided would be greatly appreciated. Thank you

(With current configuration file)

The document is only part of the example, you still need to implement the specific data analysis process

Generally speaking, yes, because I do not represent the official reply, if you want to support, you can wait for the official reply whether to support

@jp12AI I am also working on the integration of the ublox parser in apollo and i have the same issue. Did you manage to find the implemented file for ublox class?

@wijdim Hi, unfortunately I've shifted my work focus on a different level 2 software and I'm no actively developing Apollo any more. For the ublox parser you'll need a lot of experience. Apollo doesn't provide the parser so you'll have to code your own C++ paser following the format of the other parsers and then compile the code.

@jp12AI Thank you for your answer, do you still have the new conf file for UBX_BINARY format?

@wijdim  Don't @ me across multiple issues. No, I don't have the config file for Ublox which is why I told you you'll have to code it yourself following the other parsers. Thanks

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.

Although it seems a bit late, I made it clear that to support ublox, you only need to implement a parser class with reference to modules/drivers/gnss/parser/novatel_parser.cc


Fix check commit GitHub Action

Fix check commit GitHub Action as it's clearly not working since we were able to create a commit with no proper prefix.

Fixed


Add a functional test for file uploads

This PR adds a functional test which performs a POST with a file upload.

The test now appears on the "slow" list - this test takes ~1.2 seconds - I wonder what the slow part is?

Probably the fact that this is invoking the entire upload view, which is pretty heavy, plus doing a file upload.


http2: add hooks

fixes #1561

We should do something with HTTP2 frames that's sympathetic with whatever we end up doing for websockets. I wonder if a more flexible scheme here might not be an interface like this:
http2_frame(f, frame, sender)
Here f is the associated flow, which will have the HTTP response/request attributes, frame is the HTTP2 frame, and sender is "server" or "client". The scripter can then look at the frame type and decide how to handle it, and we don't need a different event for each frame type (or worse, events for some frame types but not others). I think it's pretty important to be able to associate frames with flows, if possible. If we can't, the frame argument can be None.
We can do something similar for websockets:
websocket_frame(f, frame, sender)
Within the websocket flow, we'll accumulate all text messages (like TCP and like HTTP).
Thoughts?

superseded by #1686


Render FarmBot on the garden map

Render according to the device's actual current position.

Closing inactive issue.


main: handle termination signals

This PR fixes #150 with the following:

Uses signal_hook to process SIGTERM and SIGINT signals, tying them to the triggered LifecycleSignals we had in place already.
Also uses the serve_with_shutdown tonic so the server shuts down more gracefully. Maybe it'd be worth looking to see if we can do more for a graceful shutdown later on. With this change, the server seems to work normally. But I'm realizing we don't have any quick integration tests of the server in place. This doesn't necessarily need to go in this PR... but if I have time I'll add something quick.

@tnull Good point, thank you!


[ENH] Added translations

[ENH] Added translations
[BRCH] Breaking Change in ZugferdVisualizerMarkupRendererContract
Description
An option has been added that allows texts, codes to be translated into readable text
Type of change

[X] New feature (non-breaking change which adds functionality)

[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
ZugferdVisualizerMarkupRendererContractgot a new parameter translator

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[X] Several unit tests

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

Hi @mokraemer,
Please review this PR... Thank you very much. Documentation is following
Kind regards

I guess you like to use this class for generating a pdf, which then can be merged with the xml file (zugferd).
But as said, there are some essential fields missing in the output. And this class could be used to view incomming invoices.
My suggestion was, to have a default template, which will show almost everything which could be relevant for common invoices and have e.g. another class which will remove some fields for outgoing invoices as the content is preprinted on the paper it is put to (e.g. seller address).

Hi @mokraemer,
Okay. Then unfortunately the work was for nothing....

the "new" template misses many fields that are required in invoices! Please review some common available invoices and try to read it - comments, packing information, seller (in case of incomming invoices), payment terms (sepa) is missing.

Okay. I'll take another look at your template.

My suggestion was, to have a default template.

Why not using different template files... This is already possible...

I don't see why array's should work better in translations, than decicated methods, which don't give any structure.

I find such hard-coded things as you have suggested simply awful - that's how software was developed 30 years ago... :-) This always means additional effort to update these things. You must also not forget that a new release would be due every time

Hi @mokraemer,
Okay. Then unfortunately the work was for nothing....

the "new" template misses many fields that are required in invoices! Please review some common available invoices and try to read it - comments, packing information, seller (in case of incomming invoices), payment terms (sepa) is missing.

Okay. I'll take another look at your template.

My suggestion was, to have a default template.

Why not using different template files... This is already possible...
Sure, I know - I just said, we should have a general file which inlcudes most of the fields and, if th8is matches more your needs and you want to include it as well, have a more differentiated file for that.

I don't see why array's should work better in translations, than decicated methods, which don't give any structure.

I find such hard-coded things as you have suggested simply awful - that's how software was developed 30 years ago... :-) This always means additional effort to update these things. You must also not forget that a new release would be due every time
I think it depends on what to translate. I preferred having dedicated methods for fixed fields from the xml, and translating regular text the other way around. By using inheritance you can override single translations without doing the whole effort. But I guess there is no "right way" to do it. You could at least define/use constants/enums for typo issues.

another thing is, having functions and backed-enums (in a later release) prevents you looking up the key in the wrong context, e.g. invoice types in units.

Hi @mokraemer,
Okay. How do we stay now? Would it be better for you to implement your own template that contains the logic you need? Or can you be satisfied with that?


tty: should not return 2 when --help is used

This is impacting
gnu/tests/misc/usage_vs_getopt.sh

Interesting, it looks like tty is one of the exceptions to this issue: https://github.com/uutils/coreutils/issues/3331 and therefore actually benefited from claps change of exit code.


[Issue]: OpenApiV2 introspection shows compilation issue for wunderctl up when components schema contains the name Time

Description
When introspecting a yaml file of OpenAPI 3.0 using openApiV2 of introspect from @wundergraph/sdk, it throws an error using wunderctl up when the yaml (OAS 3) contains the components schema named "Time".

it does not complain when using wunderctl generate

For example:
components:
     schemas:
            SomeSchema:
               type: object
               properties:
                   opening:
                       $ref: '#/components/schemas/Time'
                   closing:
                       $ref: '#/components/schemas/Time'
                       ...
                ....
            Time:
               type: object
               properties:
                   hour:
                       type: string
                   minute:
                       type: string

Important note:

This thrown error does not occur for openApi (v1) of introspect from @wundergraph/sdk
No errors related to this found using swagger-editor
schemas were validated and generated using the openapi generator from openapi tools
changing time name of Time component schema to something other than Time, such as TimeAbc will make wundergraph generation work.

Reproduction

running wunderctl up with the details below

Version:
<EMAIL_ADDRESS>wundergraph.config.ts:
const someNameSpace = introspect.openApiV2({
  apiNamespace: 'someNamespace',
  source: {
    kind: 'file',
    filePath: '../shared-bff/specs/aopenapiv3specification.yaml',
  },
  baseURL: 'https://someUrl.com/',
  headers: (builder) =>
    builder.addClientRequestHeader('Authorization', 'Authorization'),
});

aopenapiv3specification.yaml:
For example:
components:
     schemas:
            SomeSchema:
               type: object
               properties:
                   opening:
                       $ref: '#/components/schemas/Time'
                   closing:
                       $ref: '#/components/schemas/Time'
                       ...
                ....
            Time:
               type: object
               properties:
                   hour:
                       type: string
                   minute:
                       type: string

To be clear, when you run wunderctl generate it generates your operations correctly?
Can you share the error that's thrown?

To be clear, when you run wunderctl generate it generates your operations correctly?

yes

Can you share the error that's thrown?

Just to re-iterate, once we change the component's schema name from Time to anything but Time like TimeAbc, it will work
{"level":"error","time":1694409074897,"caller":"node/node.go:601","msg":"BuildAndMountApiHandler","hostname":"C02FQ2ZEMD6R","pid":53763,"component":"@wundergraph/node","error":"operation planning failed: internal: validation failed: external: non scalar field: closing on type: SomeSchema must have selections,
...


home: featured texts

Extracted from https://github.com/iterative/mlem.ai/pull/51#pullrequestreview-974549878

From home page: https://mlem.ai/
First, the idea is to show a basic workflow and main features, right? Keeping that in mind...

Save your model with a single command

What command? The slide shows a Python call (model.api.save())

Use simple YAML file to save model metadata

Not sure the YAML format is simple or whether that matters much. Maybe "Model metadata is captured automatically" (mention "YAML format" in subtext if needed).

Switch between deployment providers with a single command

Minor: Is "deployment provider" a common term? Production environments? Cloud providers? Servers? Hosting?

What command? The slide shows a Python call (model.api.save())

If that sounds incorrect to you, let's name the section Save your model with a single Python call or something. WDYT?

Not sure the YAML format is simple or whether that matters much. Maybe "Model metadata is captured automatically" (mention "YAML format" in subtext if needed).

For me, "YAML" conveys the point that it is some readable text. Which explains how it works a bit, and that's good. But I see your point. "Model metadata is captured automatically" looks good to me also.

Minor: Is "deployment provider" a common term? Production environments? Cloud providers? Servers? Hosting?

Thanks. "deployment platform" should be better I think, taking into account the meaning and the number of pages found in google.


EFS creation can fail if same volume name is used with different tag

Tested in AWS environment:
15:25:08 {efs_name *} ~/Workspace/go/src/github.com/emccode/libstorage » ./drivers/storage/efs/tests/test-env-up.sh acquia-grid
Environment launch started. It will take couple minutes to create whole environment...

15:35:31 {efs_name *} ~/Workspace/go/src/github.com/emccode/libstorage » GOOS=linux go test -cover -coverpkg 'github.com/emccode/libstorage/drivers/storage/efs,github.com/emccode/libstorage/drivers/storage/efs/executor,github.com/emccode/libstorage/drivers/storage/efs/sto
rage' -c -o drivers/storage/efs/tests/efs.test ./drivers/storage/efs/tests
warning: no packages being tested depend on github.com/emccode/libstorage/drivers/storage/efs
warning: no packages being tested depend on github.com/emccode/libstorage/drivers/storage/efs/executor
warning: no packages being tested depend on github.com/emccode/libstorage/drivers/storage/efs/storage

15:36:03 {efs_name *} ~/Workspace/go/src/github.com/emccode/libstorage » ./drivers/storage/efs/tests/test-run.sh ./drivers/storage/efs/tests/efs.test
Waiting for CF stack to come up ...
efs.test                                                                                100%   33MB   6.7MB/s   00:05
time="2016-09-08T13:36:20Z" level=info msg="making libStorage directory" mustPerm=false path="/home/ec2-user/.libstorage" perms=-rwxr-xr-x
time="2016-09-08T13:36:20Z" level=info msg="making libStorage directory" mustPerm=true path="/home/ec2-user/.libstorage/etc/libstorage" perms=-rwxr-xr-x
time="2016-09-08T13:36:20Z" level=info msg="making libStorage directory" mustPerm=true path="/home/ec2-user/.libstorage/var/lib/libstorage" perms=-rwxr-xr-x
time="2016-09-08T13:36:20Z" level=info msg="making libStorage directory" mustPerm=true path="/home/ec2-user/.libstorage/var/log/libstorage" perms=-rwxr-xr-x
time="2016-09-08T13:36:20Z" level=info msg="making libStorage directory" mustPerm=true path="/home/ec2-user/.libstorage/var/run/libstorage" perms=-rwxr-xr-x
PASS
coverage: 63.2% of statements in github.com/emccode/libstorage/drivers/storage/efs, github.com/emccode/libstorage/drivers/storage/efs/executor, github.com/emccode/libstorage/drivers/storage/efs/storage
efs.test.out                                                                                100%   16KB  16.3KB/s   00:00
Tests passed and coverge results are available at ./drivers/storage/efs/tests/efs.test.out

Current coverage is 26.03% (diff: 0.00%)

Merging #261 into master will decrease coverage by 0.05%

@@             master       #261   diff @@
==========================================
  Files            39         39
  Lines          2419       2420     +1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            631        630     -1
- Misses         1720       1722     +2
  Partials         68         68

Powered by Codecov. Last update c23090e...8873987


Is a double-spend transaction (already mined) detected?

Hello, I was trying to resend a transaction of mine, already present in the blockchain (testnet) - a double-spending test.
I'd expected that either builder.Verify(signedTx, out errors); or client.Broadcast(signedTx).Result; would give me back an error, such as "transaction already in block chain". On the contrary, I got no errors and both methods returned true. Is that behaviour correct? Where is a double-spend detected?
If I push the same transaction on https://testnet.smartbit.com.au/txs/pushtx, I get the message: PUSH TRANSACTION ERROR: TRANSACTION ALREADY IN BLOCK CHAIN

The builder does not have enough information to know if your transaction is on the blockchain. For this you need a block explorer or your own bitcoin node.

@NicolasDorier
Do I have to use a raw RPC Client, right? The following code fails as expected.

        try
        {
            RPCClient rc = new RPCClient(Network.TestNet);
            rc.SendRawTransaction(transaction);
        }
        catch (Exception e)
        {
            String msg = e.Message;

            Console.WriteLine("error: " + msg); //error code: -27, msg: transaction already in block chain
        }

Yes, you have to use this; TransactionBuilder can only check if you signed right, with right amount of fees along some other rules, but it can't verify any rule that require a full node. For this you can use SendRawTransaction


Support horizontal splits for focus_max_or_equal

At present it only checks for window width, which works for vertical splits. However, horizontal splits will not properly maximise since they will always have the max width, so attempts to focus_max_or_equal will always lead to focus_equalise.
Minimal repro setup:
-- minimal_init.lua
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
    spec = {
        { 'nvim-focus/focus.nvim', version = false, lazy = false, opts = true }
    },
})

Repro:

nvim -u minimal_init.lua
Open a horizontal split (e.g. :split and :help lua)
Try running :FocusMaxOrEqual, it doesn't toggle the window sizing

https://github.com/user-attachments/assets/259980ed-d9a1-401a-888d-f915811e41f5
https://github.com/user-attachments/assets/fa6eda7c-ebbc-45dd-9a31-b0927bafccf4

Thank you very much for your contribution.
Could you please add tests for it? Take a look at https://github.com/nvim-focus/focus.nvim/blob/master/tests/test_splits.lua
make test will run the tests.

@cryptomilk I'd like to write a test for even vs odd row/col count window sizes, but I'm not super familiar with MiniTest and if there's a way to do that. What do you think about opening a floating window or something with fixed dimensions to do some split testing?

That's all possible. See the new_set() function in the tests, it calls child.set_size(50, 180) which sets the size of nvim in rows and columns.


Resolve Warnings about intialization of xcube plugin

Describe the bug
Warnings about intialization of xcube plugin
To Reproduce
Steps to reproduce the behavior:
from xcube.core.store import new_data_store
store = new_data_store("ccizarr")

Expected behavior
No ugly warning when new_data_store is called.
Additional context
UserWarning: Initializing xcube plugin 'xcube_cmems' took 116 ms, consider code optimization.
 (For example, avoid eager import of packages, consider lazy loading of resources, etc.)
  warnings.warn(

And have you considered code optimization? ;-)

No not yet. I can take up this task next week.


Ideas for extra fields (please add to)

The user should be able to specify what fields they would like, as well as the side of the card on which each of these should be. We should also add support for some additional fields, for example:

Simplified Hanzi
Traditional Hanzi
Meaning - English
Other languages
Pinyin
Other Romanisation systems (I think these could be generated programatically from the pinyin)
Cantonese pronunciation
Measure words
.....

We can come back to this when we get feedback/requests from users


Stack 128bits - Dict implementation

Implemented a 128bits Dict for Stack based on the 128bits Dict model from memory.
Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

What remains to be "done" before I can merge your PR?
Since other PRs use the Stack and its signature changed, it's quite important to merge this PR asap (granted it is OK to go)

What remains to be "done" before I can merge your PR? Since other PRs use the Stack and its signature changed, it's quite important to merge this PR asap (granted it is OK to go)

I think that there are still some unresolved comments, though not critical, apart from the LOG maybe. I still don't understand why there is a change in these tests

Okay cool:)! @danilowhk if you need anything, don't hesitate to reach out


UI: On update, we see "update anyway" disabled while it's checking for dependencies, which is weird, if the check comes back empty

I looked into this a little bit as it seemed like a good opportunity for me to learn more about how components are constructed and pieced together in Angular/Ionic.
I agree with @afg419 that it is strange to see “Update Anyways” text on a disabled button before knowing if the “Update Anyways” text is relevant or not.
It looks like while the cancelButton can have an afterLoading or whileLoading value specified, the nextButton is typed to only have one string value, independent of loading state.
I see at least two possible solutions. The quickest solution would be to add a check to the ngIf for the nextButton that would hide the button entirely if something is loading (*ngIf="!($anythingLoading$ | async) && currentSlideDef.nextButton as nextButton" ).
A possible problem is this is it would hide all nextButton’s on all slides if something is loading. I don’t have enough experience with the install wizard to know if that would be an issue or a desired outcome. We do use that same loading logic to disable the nextButton though so it wouldn’t be hiding anything that a user could actually click anyways.
The other solution I see would be to update all nextButton’s to be similar to cancelButton’s and have whileLoading and afterLoading values instead of just the one string value. This seems like it would be more involved of a solution as I see 11 additional nextButton’s used throughout prebaked-wizards.ts that would need to be updated aside from the “Update Anyways” button.
@afg419 @MattDHill  Hopefully I interpreted this correctly and that all makes sense. Happy to work on a solution for this depending on what approach you think is best.

Heyo this *ngIf="!($anythingLoading$ | async) && currentSlideDef.nextButton as nextButton" is exactly the approach I took in 0.2.9. I believe this ticket is in the user acceptance testing slot of the board. In playing around with it, hiding the buttons altogether seems aok.
Now I should say, the wizard stuff is not 'angular' in any traditional sense, it's all my hackery and it's a mess complete with dead code hanging around, deep ion-slide bugs and hacks on top of them, and major issues with extensibility (e.g. say I want the data loaded in one slide to be used in a subsequent slide, or conditionally render a slide based on that date... would be difficult.) The whole thing needs a good rearchitecting.

Oh nice, happy to hear that particular approach did the trick. I also appreciate the background context on the wizard stuff.
When you say “the board”, is that an internal board or something public that I’d be able to view somewhere?


Change license to Apache once approved by contributors

closed https://github.com/opennars/opennars/pull/420


Offer to subscribe to post comment feeds?

I am honestly not sure if this is even feasible, but I thought I'd ask.
I subscribe to https://www.nakedcapitalism.com/feed
As a result, Twine shows posts like
https://www.nakedcapitalism.com/2024/03/links-3-9-2024.html which it allows me to read.
That post also has its own comment feed, a link to which appears right before the comments start:
https://www.nakedcapitalism.com/2024/03/links-3-9-2024.html/feed
Is it possible for Twine to offer to subscribe to that comment feed at the bottom when it shows the post?

No, we show a comments icon when there are comments in the actual feed. In order to subscribe to a comments feed, you would have to add that feed link.

I figured as much.
Thank you for the quick response, @msasikanth! 🙏


Error when build prod

What is the expected behavior?
success
What is the current behavior?
ERROR in ./node_modules/angular-bootstrap-datetimepicker/fesm5/angular-bootstrap-datetimepicker.js
Module build failed (from ./node_modules/@angular-devkit/build-optimizer/src/build-optimizer/webpack-loader.js):
TypeError: Cannot read property 'kind' of undefined
What are the steps to reproduce?
npm run ng build -- --prod
Which versions of angular-bootstrap-datetimepicker, OS, TypeScript, browsers are affected?
4.0.2
Is there anything else we should know?
on version 3.1.0 it works

Hey, there isn't enough information for me to determine what the issue is. Please post a stackblitz

Looks like this issue - https://stackoverflow.com/questions/53827570/typeerror-cannot-read-property-kind-of-undefined-at-getassignmenttargetkind

A bit of googling links this issue to a mismatch of typescript and angular and maybe a few other things. Closing now. Reopen if you can for sure link it to this project.


Newlines in self-texts and comments do not render

As we can see in the screenshot above, it seems as if newlines are not rendered, causing the text to appear as a single paragraph. The post in the example above is https://www.reddit.com/r/Python/comments/2xrhq9/what_should_i_download_on_my_laptop_to_learn/.
I am using the git version as of revision 97d72a0 on Cygwin/Windows 8.1 with Python 3.2.5.

I'm guessing this has something to do with the fact that it takes to newlines on reddit to display a single newline.

This is because wrap removes newlines. @michael-lazar if you want I can send you a pull request modifying this.

@nicko thanks for the detailed bug report. @snahor a pull request would be great.


Broken: e.newsletters.cnn.com

Website you would like added. Include multiple URLs if needed

https://e.newsletters.cnn.com

Bad parameters. Leave blank if you don't know.

click

Additional context
Hi @DrKain 👋 I had this issue filed on Browserosaurus, and it looks like this:
https://e.newsletters.cnn.com/click?EcGF1bC5oZXR6ZWxAZ21haWwuY29t/CeyJtaWQiOiIxNjU3NzA5MDUzOTU5ODMzOGNiOGU0Y2E2IiwiY3QiOiJjbm4tYWExNmNkODJiMWViOTY3M2M2ZTYwOTNkZTYyOGE0MGEtMSIsInJkIjoiZ21haWwuY29tIn0/HWkhfQ05OX2lfTmV3c19OREJBTjA3MTMyMDIyNjQ4NTExMSxjbjEsaHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g/qP3Y9YlRJY1FNd1lDMW8/stfbfa11358

is turned into this:
https://e.newsletters.cnn.com/click?EcGF1bC5oZXR6ZWxAZ21haWwuY29t%2FCeyJtaWQiOiIxNjU3NzA5MDUzOTU5ODMzOGNiOGU0Y2E2IiwiY3QiOiJjbm4tYWExNmNkODJiMWViOTY3M2M2ZTYwOTNkZTYyOGE0MGEtMSIsInJkIjoiZ21haWwuY29tIn0%2FHWkhfQ05OX2lfTmV3c19OREJBTjA3MTMyMDIyNjQ4NTExMSxjbjEsaHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g%2FqP3Y9YlRJY1FNd1lDMW8%2Fstfbfa11358=

resulting in the website not loading correctly.

Hi Will, thanks for reporting.
This one was tricky to solve because any manipulation of URLSearchParams would encode characters like /, even though it probably shouldn't. CNN using url-unsafe b64 probably doesn't help.
For now I can resolve the issue by using URL.search, however this is still encoded when a parameter from URLSearchParams is modified. I'll work on a better solution in another update.

Fixed in 1.5.3

Thanks @DrKain! 🙂 I'll include it in the next update of Browserosaurus.


Initiate adding docstrings to each macro

This PR works on adding docstrings in the source code of Tidier.jl.

Brief explanation of the usage for each macro
explanations for the arguments
One or two examples for each macro

We may also want to implement jldoctest for example block.

Thank you so much! I will take a look, add jldoctests, and will merge.


Exclusion support for SQS?

I created an config/exclusion file to for SQS, so that I can keep SQS during a nuke session of my sandbox account.
  include:
  exclude:
    names_regex:
      - Sandbox

When I run cloud-nuke aws --resource-type sis --region us-east-2 --config sandbox_exclusion.yml --dry-run it still identifies SQS that are to be nuked. Are SNS topics supported for config files?
I'm on cloud-nuke version v0.19.0

Hi @chrisswanda,
We don't currently support config file exclusion or inclusion for SQS. You can check by looking at the table in the cloud-nuke README under the "What's supported?" header - SQS is unfortunately current supported.
One of the reasons is that, for SQS, retrieving the attributes for a given queue is a separate operation from listing the queues themselves.
This means that we'd need to potentially make double the API calls in order to be able to support this functionality for SQS, which needs to be balanced against the likelihood that AWS will rate limit cloud-nuke for making too many requests simultaneously. This would likely get worse the more resources you were running cloud-nuke against.
All that said, pull requests to deal with these issues are very welcome!

hey @zackproser i am interested in working on this understood the problem
in order contribute do i need to raise RFC or is it fine since the issue has been already raised

No longer relevant. It supports exclusion with config file.