Visual Studio Designer doesn't render properly

Hello team,
I've created the "Avalonia MVVM Application" template project from visual studio. I have not modified any code yet, but the MainWindow seems doesn't render properly.
It only renders the text element, but I think it should render a whole window(including title, icon, close button...).

However, when I build and run the project, it renders correctly.

Is there anything I am missing?
Visual Studio Version: Microsoft Visual Studio Professional 2019 Version 16.8.3
OS: Windows 10 Enterprise
Runtime: netcoreapp3.1

Should be fixed by https://github.com/AvaloniaUI/Avalonia/pull/4433
0.10.0-rc1 comes this week, so you should be able to safely use 0.10.0-preview6

@kekekeks I updated all related Avalonia packages to 0.10.0-rc1, but the designer exited unexpectedly. Below is the output from Avalonia Diagnostics.

10:20:10.109 [Verbose]  Started AvaloniaDesigner.StartProcessAsync()
10:20:10.109 [Verbose]  Started PreviewerProcess.StartAsync()
10:20:10.109 [Information]  Starting previewer process for '"C:\Users\alanyu\source\repos\AvaloniaApplication1\AvaloniaApplication1\bin\Debug\netcoreapp3.1\AvaloniaApplication1.dll"'
10:20:10.110 [Debug]  > dotnet.exe "exec --runtimeconfig "C:\Users\alanyu\source\repos\AvaloniaApplication1\AvaloniaApplication1\bin\Debug\netcoreapp3.1\AvaloniaApplication1.runtimeconfig.json" --depsfile "C:\Users\alanyu\source\repos\AvaloniaApplication1\AvaloniaApplication1\bin\Debug\netcoreapp3.1\AvaloniaApplication1.deps.json" "C:\Users\alanyu.nuget\packages\avalonia\0.10.0-rc1\build\..\tools\netcoreapp2.0\designer\Avalonia.Designer.HostApp.dll" --transport tcp-bson://<IP_ADDRESS>:64483/ "C:\Users\alanyu\source\repos\AvaloniaApplication1\AvaloniaApplication1\bin\Debug\netcoreapp3.1\AvaloniaApplication1.dll""
10:20:10.613 [Information] 24608 Started previewer process for '"C:\Users\alanyu\source\repos\AvaloniaApplication1\AvaloniaApplication1\bin\Debug\netcoreapp3.1\AvaloniaApplication1.dll"'. Waiting for connection to be initialized.
10:20:11.213 [Error] 24608 <= "Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'Avalonia.Base, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c8d484a7012f9a8b'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)"
10:20:11.214 [Error] 24608 <= "File name: 'Avalonia.Base, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c8d484a7012f9a8b'"
10:20:11.215 [Error] 24608 <= "   at Avalonia.Designer.HostApp.Program.Main(String[] args)"
10:20:12.673 [Information]  Process exited while waiting for connection to be initialized.
10:20:12.674 [Debug]  Process.StartAsync exited with error
System.ApplicationException: The previewer process exited unexpectedly with code -532462766.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at AvaloniaVS.Services.PreviewerProcess.d__30.MoveNext() in D:\a\1\s\AvaloniaVS\Services\PreviewerProcess.cs:line 232
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at AvaloniaVS.Views.AvaloniaDesigner.d__55.MoveNext() in D:\a\1\s\AvaloniaVS\Views\AvaloniaDesigner.xaml.cs:line 441
10:20:12.674 [Verbose]  Finished AvaloniaDesigner.StartProcessAsync()
10:20:12.674 [Information]  Process exited
10:20:12.675 [Verbose]  Started PreviewerProcess.Stop()
10:20:12.676 [Information]  Stopping previewer process
10:20:12.677 [Verbose]  Finished PreviewerProcess.Stop()
Below is my project setting.
  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>netcoreapp3.1</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <Folder Include="Models\" />
    <AvaloniaResource Include="Assets\**" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Avalonia" Version="0.10.0-rc1" />
    <PackageReference Include="Avalonia.Desktop" Version="0.10.0-rc1" />
    <PackageReference Include="Avalonia.ReactiveUI" Version="0.10.0-rc1" />
  </ItemGroup>
</Project>

Delete bin/obj and rebuild

Thanks for the reply! The designer works as expected now 👍
However, I have to remove using Avalonia.Logging.Serilog; in Program.cs and modify LogToDebug() to LogToTrace() to make it successfully compiled. And I also need to remove this.AttachDevTools() in MainWindow.axaml.cs. Is this the correct syntax in 0.10.0 releases?
My program.cs :
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.ReactiveUI;
using System;

namespace AvaloniaApplication1
{
    class Program
    {
        // Initialization code. Don't use any Avalonia, third-party APIs or any
        // SynchronizationContext-reliant code before AppMain is called: things aren't initialized
        // yet and stuff might break.
        public static void Main(string[] args) => BuildAvaloniaApp()
            .StartWithClassicDesktopLifetime(args);

        // Avalonia configuration, don't remove; also used by visual designer.
        public static AppBuilder BuildAvaloniaApp()
            => AppBuilder.Configure<App>()
                .UsePlatformDetect()
                .LogToTrace()
                .UseReactiveUI();
    }
}

Take a look
https://github.com/AvaloniaUI/Avalonia/wiki/Breaking-Changes

Awesome! I was trying to find that link LOL
Everything works smoothly now, thanks for the help!


Repeatable migration executed multiple times randomly at first migrate

What version of Flyway are you using?
4.2.0
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
Command-line
What database are you using (type & version)?
Sqlserver2012 11.0
What operating system are you using?
Windows 7 (64 Bit)
What did you do?
(Please include the content causing the issue, any relevant configuration settings, and the command you ran)
Call flyway migrate task on database to execute repeatable migrations
What did you expect to see?
Because this is first time flyway run on database so each R_XX.sql should be executed on correspond schema only one time.
What did you see instead?
Some of the scripts turned to execute multiple times during migrate, each time of duplicate execution has same checksum. There are around 300 files need to execute and if pick these duplicate execute scripts out, clean schema_version and run them only with flyway, they can be executed only once.

Currently we didn't find why this happened and not issues caused of that neither, but it seems to be a weird result though.

Yesterday I find what may cause this issue, our scripts are for different database, at first line they will clarify which db it uses like [use xxx], but I use flyway url to connect only one db. So as I connect to A to run flyway, there a script 1 writes [use B] , a script 2 writes [use A], after run 1,2, 1 will execute each time I run flyway no matter script 1 is changed, and script 2 will run duplicate time like a hundred times at one run.(These databases are under same server.)
So I change to use different url to do related migrations, everything goes fine now. Hope this may help someone.


Update to README.md

Added "Sequence" and "Image" examples to the Building Objects section.  Also the "sequence" step was skipped in the original and didn't produce a valid manifest.  This fills in that blank.

Coverage remained the same at 99.891% when pulling 2eb0752a19c21ee0b7334d4ca21ef062d9139538 on sdellis:development into 756b59bb99e541b0ff936925c4bb7c6d2ac183c8 on IIIF:development.

Coverage remained the same at 99.891% when pulling 2eb0752a19c21ee0b7334d4ca21ef062d9139538 on sdellis:development into 756b59bb99e541b0ff936925c4bb7c6d2ac183c8 on IIIF:development.


RPP Warp Perspective on HOST and HIP

Updates version to RPP 1.9.6
Adds tensor implementation for Warp Perspective on HOST and HIP
Adds support for U8/F16/F32/I8 bit-depths with NHWC/NCHW and layout toggle support
Adds relevant unit/perf tests

@r-abishek - needs conflicts resolved


auto assign window to workspace by title or class

After a search on the web, i still haven't found how to auto assign an application to a specific workspace in conf files (even if i launch it in command Line interface, like i3 or sway)
For example, I d like firefox to be assigned to workspace number 2 even when i write firefox in a terminal
Is there a proper way to do it?

https://wiki.hyprland.org/Configuring/Window-Rules/

i tried with this rule and it still doesn't work, what's wrong with it:
windowrule = workspace 2,class:^(firefox)(.)$,title:^(firefox)(.)$

Wrong regex, if you meant to match firefox, use ^firefox& [^1].
Also, don't match title, it's not fixed and usually changes to the title of the website in the current tab.
[^1]: (^(firefox)(.)& matches something like firefoxa firefoxb, firefox/)

Sorry for late answer, a string like term works as well for terminator 👍


Unable to sync with a private subrepo

I'm trying to sync with a simple private submodule. The submodule1 exists in the upper repo and the submodule1 has not been changed yet. I get this error:
token is a personal access token I've create
Run mheap/submodule-sync-action@v1
  with:
    token: ***
    path: submodule1
    ref: main
    pr_branch: automated-submodule-update
    target_branch: main
(node:1504) UnhandledPromiseRejectionWarning: HttpError: Not Found
    at /home/runner/work/_actions/mheap/submodule-sync-action/v1/dist/index.js:3773:23
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async action (/home/runner/work/_actions/mheap/submodule-sync-action/v1/dist/index.js:48:25)
(node:1504) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1504) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

What I'm doing wrong?

Are you using ${{ secrets.GITHUB_TOKEN }} in token, or a Personal Access Token?

A Personal Access token

Am 11.01.2022 um 21:36 schrieb Michael Heap @.***>:

Are you using ${{ secrets.GITHUB_TOKEN }} in token, or a Personal Access Token?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Hrm, that's odd. Does the PAT have the all repos scope, or just public repos?
The action should work fine with private submodules when provided with a PAT

Yes: Here are the serttings of my token:

Another strange this is: Although I get the exception mentioned in my first message, the action is marked as "succeeded" (green)

Here is the workflow file:
name: Submodule Sync
on:
  schedule:
    - cron: "15 */4 * * *"
  workflow_dispatch: ~

jobs:
  submodule-sync:
    name: Submodule Sync
    runs-on: ubuntu-latest
    steps:
      - name: Submodule1 Sync
        uses: mheap/submodule-sync-action@v1
        with:
          token: ${{ secrets.PAT_TOKEN }}
          path: submodule1
          ref: main
          pr_branch: automated-submodule-update
          target_branch: main
      - name: Submodule2 Sync
        uses: mheap/submodule-sync-action@v1
        with:
          token: ${{ secrets.PAT_TOKEN }}
          path: submodule2
          ref: main
          pr_branch: automated-submodule-update
          target_branch: main

The problem seems not to be related to repo visibility. I get the same error after changing both the master and the sub-module repos to public:
Have a look here https://github.com/KlausPopp/submodule_user2
What is wrong?

Thanks for perservering with me. You found an excellent bug!
It turns out that when using a submodule that ends in git (like this) the action would fail.
This is due to splitting the submodule URL on / and removing https://github.com/ from the beginning.
This was then passed directly in to getRef which was looking for a repo named submodule1.git rather than submodule1, hence the Not Found
I've just released an update which resolves this. The v1 tag was updated to point to the latest release, so try re-running your workflow and let me know if it was successful
PS: I realised you don't need a PAT_TOKEN. The default GITHUB_TOKEN is enough for this action

Sorry for my late response. Seems to work now! I will test further as soon as I have more time


CI fix

Fixes CI after docker related changes  in #415

@madninja apologies, I derped on this as I misread the builder as using alpine3.17 image, which has armv6 and armv7 variants.
But the rust:alpine3.17 doesn't https://hub.docker.com/layers/library/rust/alpine3.17/images/sha256-ac075f925a687642fe4281ab97b5c017b69c84d62e79345a06dc5371628c7481?context=explore
Shall I submit a new PR backing out this change and just leaving the rest?
I'll fix this separately and then submit a new, working PR.
Apologies again

I think #419 should fix this


Ability to compare build from different buildDefinition

Azure DevOps Extensions
Generate Release Notes (Node Cross Platform)
Is your feature request related to a problem? Please describe.
Yes,
We use multiple YAML pipeline to build/release. Today, I don't think we are able to compare 2 build that come from a different pipeline definition
Describe the solution you'd like
Be able to generate release note between 2 build id, no matter from what pipeline they come
Describe alternatives you've considered
Use custom powershell code in the pipeline to answer this specific case
Additional context
Also, is the parameter in the documentation is "checkStage" or "checkStages"

vs

This enhancement would require a complete rewrite of the task as the underlying API calls it uses to get the changes between builds use the template ID.

Thanks for the clarification @rfennell !
Today we use git tag each time we generate a version for from our release or hotfix pipeline. Can we imagine having this delta between 2 version from this and not from build api ?
Thanks

Thanks for your answer @rfennell

This is a huge limitation on our side.
Do you think creating the Release note from Pull Request mechanism would be a good option to concider ?
The idea is to compare 2 release branch. For exemple, merging branch 1.24 to 1.25 would get all the PR and associated WI...
Thanks

The way the task finds associated WI/Commit for a PR is bespoke logic (looking for merge commits), so it may work for you, or you may need to write your own logic if you wish it to do something else
It is always worth a try, the command line tester can be really useful to explore what is possible

Closing as labelled as WONTFIX


Can't Enable Remote Control?

All I'm trying to accomplish is the ability to run unbound-control flush domain.com
I tried adding the following both before and after "server" in unbound.conf
remote-control:
	control-enable: yes

I get the following error
[1723670746] unbound[1:0] error: and additionally crypto error:10080002:BIO routines::system lib
[1723670746] unbound[1:0] error: and additionally crypto error:0A080002:SSL routines::system lib
[1723670746] unbound[1:0] fatal error: could not set up remote-control
[1723670750] unbound[1:0] error: Error for server-cert-file: /var/unbound/unbound_server.pem
[1723670750] unbound[1:0] error: Error in SSL_CTX use_certificate_chain_file crypto error:80000002:system library::No such file or directory
[1723670750] unbound[1:0] error: and additionally crypto error:10080002:BIO routines::system lib
[1723670750] unbound[1:0] error: and additionally crypto error:0A080002:SSL routines::system lib
[1723670750] unbound[1:0] fatal error: could not set up remote-control

Am I going to need to mess with SSL certs? I don't want to do all that, all I want to do is flush the cache for a specific domain and also have the ability use unbound-control in the future.

I tested it myself and it looks like you need to include control-use-cert: no with your control-enable: yes setting.
Otherwise Unbound sees that we are binding to a non-local interface and expects certs to exist.
I've added an example configuration here: https://github.com/klutchell/unbound-docker/pull/484


SARAALERT-1520: Isolation auto close

Description
Jira Ticket: SARAALERT-1520
Implement auto-close logic on Non-reporting line list in the Isolation workflow. Auto-close if it's been at least 30 days since last record update**. The reason for record closure should be: "No record activity for 30 days (system)".
**This does not include an update made to a record as a result of the system sending the monitoree a symptom report notification.
Important Changes
Please list important files (meaning substantial or integral to the PR) along with a list of the general changes that should be highlighted for reviewers.
patient_mailer.rb

Do not touch patient updated_at when sending daily report reminders

history.rb

Do not touch patient updated_at when sending daily report reminders

patient.rb

Do not filter on isolation: true in no_recent_activity close eligble criteria

patient_test.rb

update no_recent_activity test to include new criteria

Checklists
Submitter:

[x] This PR describes why these changes were made.
[x] This PR is into the correct branch.
[x] This PR includes the correct JIRA ticket reference.
[x] Code diff has been reviewed (it does not contain: additional white space, not applicable code changes, debug statements, etc.)
[x] If UI changes have been made, Chrome Dev Tools Lighthouse accessibility test has been executed to ensure no 508 issues were introduced.
[x] Tests are included and test edge cases
[x] Tests have been run locally and pass (remember to update Gemfile when applicable)
[x] Test fixtures updated and documented as necessary

@holmesie  :

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code
[ ] If applicable, you have tested changes against a large database, and considered possible performance regressions

@Bialogs  :

[x] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[x] The tests appropriately test the new code, including edge cases
[x] You have tried to break the code
[x] If applicable, you have tested changes against a large database, and considered possible performance regressions

@tstrass  :

[x] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[x] The tests appropriately test the new code, including edge cases
[x] You have tried to break the code
[ ] If applicable, you have tested changes against a large database, and considered possible performance regressions

I'm planning on reviewing the tests around close eligible and adding any that are necessary, as well as testing that report reminders no longer touch updated_at

Make sure to update the base branch


python310Packages.command_runner: 1.5.0 -> 1.5.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.command_runner is: Platform agnostic command execution, timed background jobs with live
stdout/stderr output capture, and UAC/sudo elevation
meta.homepage for python310Packages.command_runner is: https://github.com/netinvent/command_runner
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.5.1 with grep in /nix/store/xv23id415d3mcwjangr170hfksj6cs63-python3.10-command_runner-1.5.1
found 1.5.1 in filename of file in /nix/store/xv23id415d3mcwjangr170hfksj6cs63-python3.10-command_runner-1.5.1

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

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
librenms
python310Packages.command_runner
python311Packages.command_runner

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xv23id415d3mcwjangr170hfksj6cs63-python3.10-command_runner-1.5.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 python310Packages.command_runner https://github.com/r-ryantm/nixpkgs/archive/1154357b0f107ba150d86f31b5ede78b918b7f4e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/1154357b0f107ba150d86f31b5ede78b918b7f4e#python310Packages.command_runner

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xv23id415d3mcwjangr170hfksj6cs63-python3.10-command_runner-1.5.1
ls -la /nix/store/xv23id415d3mcwjangr170hfksj6cs63-python3.10-command_runner-1.5.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 run on x86_64-linux 1

3 packages built:

librenms
python310Packages.command_runner
python311Packages.command_runner

Maintainer pings
cc @n0emis @vidister @johannwagner @yu-re-ka for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.command_runner is: Platform agnostic command execution, timed background jobs with live
stdout/stderr output capture, and UAC/sudo elevation
meta.homepage for python310Packages.command_runner is: https://github.com/netinvent/command_runner
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.5.2 with grep in /nix/store/0hvv19qh2cxnryh0v3vjhzpgq6rv3mba-python3.10-command_runner-1.5.2
found 1.5.2 in filename of file in /nix/store/0hvv19qh2cxnryh0v3vjhzpgq6rv3mba-python3.10-command_runner-1.5.2

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

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
librenms
python310Packages.command_runner
python311Packages.command_runner

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0hvv19qh2cxnryh0v3vjhzpgq6rv3mba-python3.10-command_runner-1.5.2 \
  --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 python310Packages.command_runner https://github.com/r-ryantm/nixpkgs/archive/b67e7af00c302213281cf7db44639b06528546dc.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/b67e7af00c302213281cf7db44639b06528546dc#python310Packages.command_runner

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0hvv19qh2cxnryh0v3vjhzpgq6rv3mba-python3.10-command_runner-1.5.2
ls -la /nix/store/0hvv19qh2cxnryh0v3vjhzpgq6rv3mba-python3.10-command_runner-1.5.2/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 run on x86_64-linux 1

3 packages built:

librenms
python310Packages.command_runner
python311Packages.command_runner

Maintainer pings
cc @n0emis @vidister @johannwagner @yu-re-ka for testing.


Support multi-plugin project

There is a workaround for that: use the same sandbox directory in each module and make :prepareSandbox tasks depend on each other. But this way requires a lot of non-obvious configuration. There should be a way to do it easier.

Hi Alexander,
How do you think this should work?  I've found it's a bit tricky to use the proposed strategy because prepareSandbox from multiple plugins pointed at the same folder seems to blow away the depended on plugin (I am no gradle expert so maybe I configure the dependency wrong).
I was looking into how we could define it in the context of this plugin and was wondering what the best model might be.  At first I thought allowing project(':dep-plugin') as one of the inputs to intellij.plugins would be the obvious solution, but I'm starting to think a ideaPlugin 'dependencies' configuration might fit the Gradle model a little better.
e.g.
intellij {
   pluginName = 'my-plugin'
}

dependencies {
   ideaPlugin 'junit'
   ideaPlugin 'Groovy'
   ideaPlugin(project(':my-dep-plugin')
}

Thoughts?

Hi Patrick,
The point of suggested strategy is that if you have several plugin sub-project, then prepareSandbox tasks will populate shared sandbox directory with plugins from each module. And I think it should work in 0.0.29 version (I've published it a moment ago)
I don't think it will work for projects that depend on other plugin-subprojects. Do you really need this?
As for 'junit' and 'Groovy' plugin dependencies, please take a look at readme, you can attach it with intellij.plugins ['junit', 'Groovy']

Hey Alexander,
Thanks for getting back to me.  The 0.0.29 update does fix the issue of the plugin sub-projects cleaning out the full sandbox directory so that you couldn't effectively share the same directory across dependent plugin sub-projects for running. Thanks!
I did see you can declare the intellij sdk packaged plugins as deps using intellij.plugins, which is how we've tried to configure  out plugin here:
https://github.com/GoogleCloudPlatform/gcloud-intellij/blob/move_to_gradle_intellij_plugin/core-plugin/build.gradle
This works fine. I was just wondering, if you eventually support multiple plugin sub-projects with dependencies between them, how you would declare those dependencies in the build.gradle.  We've used the normal Java deps way of dependencies { compile(project('dep-plugin') }, but that has the unfortunate consequence of including the dependent plugin as a jar in the plugins lib during packaging, which breaks things in the class loader when you runIdea. (It's a shame Gradle doesn't have an included 'provided' scope!)
My initial snippet (from my first comment) is a suggestion to add a special intellij plugin dep configuration, and if you did so you could also move your intellij.plugins declaration to use the same mechanism.  But really any way to fix the problem including being able to declare sub-project deps in the intellij extension would be welcome.
Thanks again for working on this plugin! It's exactly what we needed.

We've used the normal Java deps way of dependencies { compile(project('dep-plugin') }, but that has the unfortunate consequence of including the dependent plugin as a jar in the plugins lib during packaging, which breaks things in the class loader when you runIdea.

I see. Well, I think I can handle it too. And if I fail, I'll try to implement the custom syntax you suggested. Give me couple more days and I'll return to this.
Thank you for feedback. I'm very glad that you're using this plugin. Actually I didn't expect that someone will use it until its "official" announcement or until documentation is published :)

Ha! Sorry about that. If you build it, they will come. :)
You're addressing a pressing need for us.

FYI one thing to keep in mind is how to deal with the third party classes exported in a Plugin API. Without an explicit Gradle provided scope it's tricky not to accidentally package those jars with the client plugin, which would cause the same classloader issues as bundling the dependent plugin jar in the client plugin package.

Please try 0.0.31. Now all dependency projects that looks like intellij plugins and its dependencies won't be included in target distribution

@patflynn hi! How is it going? Does 0.0.31 version works for you?

@zolotov I've tried this on our project, and it does look as though our plugin dep is no longer bundled into the lib, however the shared dependencies are still there.   Without an explicit way to declare which third party libraries are exported as part of the dependent plugin API, it's not clear to me how you would know what not to package.

@patflynn And who provides this libraries in runtime? A 'parent' plugin? Please describe a simple project layout to recreate the issue and I'll try to handle it.

@patflynn I see that you worked it around with following code:
project.configurations.provided.each {
        intellij.intellijFiles.add(it)
}

It seems that I can do the same in plugin. Let's say that we use only runtime and compile dependencies for distribution. What do you think?

Makes sense to me. It's a shame that gradle doesn't have provided as a
first class concept.
On Mon, Nov 30, 2015 at 5:52 PM, Alexander Zolotov<EMAIL_ADDRESS>
wrote:

@patflynn https://github.com/patflynn I see that you worked it around
with following code:
project.configurations.provided.each {
intellij.intellijFiles.add(it)
}
It seems that I can do the same in plugin. Let's say that we use only
runtime and compile dependencies for distribution. What do you think?
—
Reply to this email directly or view it on GitHub
https://github.com/JetBrains/gradle-intellij-plugin/issues/17#issuecomment-160787349
.

@patflynn but the question is still open. How user's IDE will get google.gdt.eclipse.login.common.jar and google-api-java-client-min-repackaged-1.20.0.jar in runtime?

The simplified scenario is this:
Plugin B:
includes C.jar
C.jar includes a class C
Plugin B has a public class B which includes a public method getC() which
returns an object of type C
Plugin A:
Depends on Plugin B
Plugin A has a class A which calls Plugin B's B.getC() and uses the
returned C object for whatever.
For Plugin A to compile it needs to include C.jar on it's compile
classpath. However if C.jar is included in its lib at runtime on the
IntelliJ platform, IntelliJ will complain that the type returned by
B.getC() is not the same as the type of the C it is assigning to (class
cast exception I think).  I believe this is because Plugin A and Plugin B
are using two different classloaders.
The way we addressed this is by removing C.jar from Plugin A's library and
relying on the fact that IntelliJ will look for classes in Plugin B if
they're not found in Plugin A since Plugin A 'depends on' Plugin B.
This is not a robust solution but it works, and I'm not aware of any
support in IntelliJ for anything better (but you may know better!).
On Tue, Dec 1, 2015 at 10:33 AM, Alexander Zolotov<EMAIL_ADDRESS>
wrote:

@patflynn https://github.com/patflynn but the question is still open.
How user's IDE will get google.gdt.eclipse.login.common.jar and
google-api-java-client-min-repackaged-1.20.0.jar in runtime?
—
Reply to this email directly or view it on GitHub
https://github.com/JetBrains/gradle-intellij-plugin/issues/17#issuecomment-161002754
.

I believe this is because Plugin A and Plugin B are using two different classloaders.

That's right.

The way we addressed this is by removing C.jar from Plugin A's library and relying on the fact that IntelliJ will look for classes in Plugin B if they're not found in Plugin A since Plugin A 'depends on' Plugin B.

Sure, if B plugin has C.jar in its /lib directory and A depends on B, then classes from C.jar will be available in A. Actually IDEA uses exactly the same classloader for B classes and classes from /lib/*.jars.
So there is no needed to explicitly add C.jar as a dependency for project A. I believe you can just  do something like:
runtime project(':google-account-plugin')

Offtopic:
I've looked at gcloud intellij plugin and found some issues. First of all, AppEngineUpdateDialog has unicode symbols, but source encoding is ASCII, I think you should to add to build.gradle something like
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' }

Also, the plugin is depends on Git4Idea and this is quite strange for gcloud plugin. I think it could be better to have Git4Idea as an optional dependency. To do that just replace <depends>Git4Idea</depends> with <depends optional="true" config-file="my-git-features.xml">Git4Idea</depends> and create my-git-features.xml file with describing git-specific extensions.
In the third. IDEA provides junit, commons-io and guava dependencies, no need to explicitly depend on them.

Thank you for taking a look at our project, and sorry for the slow
response!
On Tue, Dec 1, 2015 at 1:25 PM, Alexander Zolotov<EMAIL_ADDRESS>wrote:

I believe this is because Plugin A and Plugin B are using two different
classloaders.
That's right.
The way we addressed this is by removing C.jar from Plugin A's library and
relying on the fact that IntelliJ will look for classes in Plugin B if
they're not found in Plugin A since Plugin A 'depends on' Plugin B.
Sure, if B plugin has C.jar in its /lib directory and A depends on B, then
classes from C.jar will be available in A. Actually IDEA uses exactly the
same classloader for B classes and classes from /lib/*.jars.
So there is no needed to explicitly add C.jar as a dependency for project
A. I believe you can just do something like:
runtime project(':google-account-plugin')
runtime did not work, but I guess that makes sense as I think that
precludes it from being on the classpath at compile time.  But you were
right that it works if I turn off transitive deps for the modules.

Offtopic:
I've looked at gcloud intellij plugin and found some issues. First of all,
AppEngineUpdateDialog has unicode symbols, but source encoding is ASCII,
I think you should to add to build.gradle something like
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' }
Good to know. I kind of assumed UTF-8 was the default.

Also, the plugin is depends on Git4Idea and this is quite strange for
gcloud plugin. I think it could be better to have Git4Idea as an optional
dependency. To do that just replace Git4Idea with
<depends

optional="true" config-file="my-git-features.xml">Git4Idea and

create my-git-features.xml file with describing git-specific extensions.
This we're aware of. I think we'll eventually tease out our dependencies
so that we can target a wider set of plugins. For now we're focused on CE
and UE and I believe they both have Git4Idea.  I did not add this dep
myself so I'll probably need to take a look at some point and see why it's
there.

In the third. IDEA provides junit, commons-io and guava dependencies, no
need to explicitly depend on them.

Yeah we were aware, but hadn't cleaned things up, this actually ended up
biting us today because of conflicting versions between our deps and IDEA
SDKS apache HttpClient.

—
Reply to this email directly or view it on GitHub
https://github.com/JetBrains/gradle-intellij-plugin/issues/17#issuecomment-161054761
.

@patflynn btw, gradle-intellij-plugin is able to add version to plugin.xml file (https://github.com/GoogleCloudPlatform/gcloud-intellij/blob/master/build.gradle#L57)

Nice!

It appears that @patflynn 's earlier issue - that prepareSandbox blows away the entire sandbox directory when building multiple dependant plugins - exists once again in version 0.1.9. This is preventing us from updating the Google Cloud Platform's build to the latest version of this plugin.
@zolotov Any advice would be much appreciated, thanks!

@aslo thanks, I'm sure I had a test for this, I'll take a look anyway. How exactly can I recreate this on Google Cloud Platform plugin?

You can recreate by pulling the upgrade-ij-gradleplugin branch in the GoogleCloudPlatform/gcloud-intellij repo. See also this pull request. This project builds two plugins, and if you run the prepareSandbox task, you'll notice that during the second plugin's build, the prior plugin is removed from the build/idea-sandbox/plugins/ dir.
Thanks for taking a look!  Let me know if you think there's something on our end that needs to change.

@aslo cannot recreate, that's what I got on prepareSandbox task:
tree -L 3 ./plugins
./plugins
`-- google-cloud-tools
    |-- META-INF
    |   `-- plugin.xml
    |-- classes
    |   |-- com
    |   |-- config.properties
    |   |-- generation
    |   |-- icons
    |   `-- messages
    `-- lib
        |-- GoogleFeedback.jar
        |-- annotations-2.0.3.jar
        |-- appengine-plugins-core-0.1.0.jar
        |-- common-lib-0.9.7-beta-SNAPSHOT.jar
        |-- google-api-services-clouddebugger-v2-rev7-1.21.0.jar
        |-- google-api-services-cloudresourcemanager-v1beta1-rev12-1.21.0.jar
        |-- google-api-services-source.jar
        |-- hamcrest-core-1.3.jar
        |-- joda-time-2.9.2.jar
        |-- jsr305-3.0.1.jar
        `-- junit-4.12.jar

Or, I see, both of them should be available in sandbox. Recreated then

Temporary fix was implemented in 0.1.10. The proper solution will come up with 0.2.0

Thanks for your help! I really appreciate it.

Since 0.2-SNAPSHOT it's possible to include other plugin in runtime via intellij { plugins = [project('mySecondPlugin')] }.
Also you can patch prepareSandbox task like this (I didn't test it though):
dependencies {
    compile project('mySecondPlugin') // if needed
}

prepareSandbox {
    def task = project.tasks.getByPath(':mySecondPlugin:prepareSandbox')
    from(new File(task.destinationDir, task.pluginName)) {
        into task.pluginName
    }
    dependsOn task
}


samples: sockets: echo_client/server: Build for minimal libc

With recent changes, sockets no longer depend on Newlib libc, so
let's have actual samples which demonstrate this. echo_client/
echo_server, which were ported from net_app samples, are converted.
The rest of socket samples are intended to be buildable on a
POSIX system (e.g. Linux), so they rather stay with more
full-fledged libc.
Signed-off-by: Paul Sokolovsky<EMAIL_ADDRESS>

Codecov Report

Merging #10238 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #10238   +/-   ##
=======================================
  Coverage   53.04%   53.04%
=======================================
  Files         214      214
  Lines       26184    26184
  Branches     5644     5644
=======================================
  Hits        13889    13889
  Misses      10024    10024
  Partials     2271     2271

Continue to review full report at Codecov.

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


fix: getValidated() when validation multiple asterisk

Description
Fixed #9219
Checklist:

[x] Securely signed commits
[x] Component(s) with PHPDoc blocks, only if necessary or adds value
[x] Unit testing, with >80% coverage
[x] User guide updated
[x] Conforms to style guide

@ddevsr Can you rebase?


milestone 3

Branch for milestone 3

Milestone 3 will be an Aiken 1.0.26+ and Stdlib 1.8.0+ only. Data structures have changed drastically and all dictionary types should now be avoided.

This milestone is blocked. Waiting on Aiken 1.0.27 to come out.

Rev 0 of the internal audit doc is now available in the docs folder.

Rev 1 of the internal audit doc 1 and rev 0 of the internal audit doc 2 are now available in the docs folder.

Documentation review required then milestone 3 is complete

Milestone 3 is ready for completion.


building from source

building from source
Description
I've been trying to build from source but failing dismally, my node.js version is v18.16.0
on Windows 11
It shows a lot of warning but I do get to the "npm run build" part then it it all goes wrong and fails
Is there any chance of a updated release? I prefer offline editors if possible but I'm very green (newbie) with js

I tried downgrading nodejs and I got the pages to work although it links to studio on here lol
I got all excited then noticed the address path
I'll stick with the pre build one and get some learning done, really nice btw


chore(main): release 1.8.0

:robot: I have created a release beep boop
1.8.0 (2023-09-19)
Features

add usage docs (#65) (a0b38d3)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/aidanaden/canvas-sync/releases/tag/v1.8.0 :sunflower:


fix: agnoster_short with <1 depth

Prerequisites

[x] I have read and understand the CONTRIBUTING guide
[x] The commit message follows the conventional commits guidelines
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Description
the agnoster_short style was behaving strangely on both Windows and Linux.


HTML is rendered in text fields in item listings

If a text field contains any HTML special characters (< > &) then if that text field is displayed as a column (i.e. in the item listings) then those HTML special characters are not escaped/encoded.
So a person named "Bobby <strong> Strong" will be displayed as:

Bobby Strong

That's a bit dangerous. The listings should never display raw HTML straight from the database, expecting that data to display as simple strings and for there to be no formatting issues.
Is there a workaround for this, maybe an option to add to the columns to pass it through a filter like {{...}} does in blade?

Obviously whatever fixes this should not affect custom formatting such as in the "output" option, where you may well be adding your own HTML that you do want rendered as HTML.

A workaround is to do this on the columns entry:
'output' => function($value) {return htmlentities($value, ENT_QUOTES, 'UTF-8', false);};

or if you have the HTML module installed:
'output' => function($value) {return HTML::entities($value);};

you have full control over your data with Administartor, and can use the output to manipulate it as needed.  that is not a workaround but is as intended to not box any one situation in, but give you the freedom to do as you see fit.

Flexibility is great, sure. It just seem crazy to me that by default including a field that could contain HTML tags (which is effectively any text field) in the listing, will be passed straight through to the browser without any kind of escaping or encoding. So developers need to manually override the rendering of every single text field to apply some protection.
I think that needs to be documented with a big warning, so people are aware of this.


[BP-1.12][FLINK-21833][table-runtime-blink] Fix state of TemporalRowTimeJoinOperator increase unlimitedly even state ttl is enabled

This is a cherry pick back to release-1.12 branch.

The failed test is not related to this PR. Will merge this.


Highlight tips Option

Hey Guys - so s.th. which is not really an issue but drives me crazy  is that i cant find the Highlight tips option in the "Options" section? So is it planned to be implemented in 1.11.2 or am i just very blind?
Hope u can help me with that - cheers

Not sure what you mean. Can you provide some more info as to what issue you are experiencing please? maybe some screenshots.

Closing outdated, no response for information.


Cannot use semistandard because of missing dependencies

semistandard used to work fine for me, but I recently switched to a new machine with updated npm, and whenever I try to use it, I keep getting dependency errors.
This is an example error:
semistandard: Unexpected linter output:

Error: Failed to load plugin react: Cannot find module 'eslint-plugin-react'

If I install all the dependencies of semistandard as devDependencies for my project, I simply get new error related to other internal dependencies.
I tried with downgraded npm, reinstalled npm, and other methods but nothing works.
npm -v -> 5.2.0
node -v -> v6.11.3

I installed nodejs and npm again. npm -v 3.10.10 seems to work.
Leaving this open because npm 5.x.x is still broken.

I'd say this is the same issue as I reported in https://github.com/Flet/semistandard/issues/228

this would be a great improvement.

Yes this was a duplicate of #228.
Hey sorry for leaving you hanging on this. I'm going to close this issue because I don't believe this is an problem with modern versions of node/npm. Feel free to reply if this is still a problem!


Support schema inspect for Mysql table with column "Timestamp/Datetime default on update"

We have a column that is in Datetime type and has the default on update definition. For example:
CREATE TABLE `foo` (
 `id`			INT,
 `update_time`	DATETIME(6)  NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6)

  PRIMARY KEY (`id`),
)

When I try to inspect the schema, I got the following error:
atlas schema inspect -d "mysql://root:secret@tcp(localhost:12334)/my_database"
Error: mysql: unknown attribute "on update current_timestamp(6)"

Mysql version: 5.7.35
Atlas version:
atlas CLI version v0.3.1
https://github.com/ariga/atlas/releases/tag/v0.3.1

Hey @mindbergh, thank you for reaching out to us and reporting this. I will have a look at this :-)

@mindbergh Please try the latest master and let me know if there still is an issue.

Thanks for the quick fix, it works now. I'm able to inspect the column for the default current_timestamp(6). But it still doesn't give the on update current_timestamp(6) attribute. I guess it will be addressed together in #472?

@masseelch Thanks for the quick fix, it works now. I'm able to inspect the column for the default current_timestamp(6). But it still doesn't give the on update current_timestamp(6) attribute. I guess it will be addressed together in #472?

@mindbergh An oversight on my sight. I'll add the field to the rendered HCL.

@mindbergh I just added the on_update field to the column definition in HCL. Closing again, but please let me know if there are more issues.


Doesn't show anything ingame

Russian localisation.
So I decided to get myself a tcc and for some reason it doesn't show anything in game. I have created a rule for it and tried setting winpcap to false in a "windows.xml" file, tried doing otherwise, still nothing. For ex. when I JUST turn on tcc I can see transparent hp bar and some stuff appearing in left upper corner and then quickly disappearing, I thought that's ok since the program was turned on without the game. Ahem, so.. Ui stuff appears without the game for a millisecond but doesn't show anything ingame, pretty much sure I runner the game in a needed windowed ugh...format, I guess. Can I run tcc somehow?
Btw red other "issues" and found someone saying things like "tcc icon turning green" in tray, I also don't remember mine turning into anything but red, is it the problem too?

Yes, if icon stays red it means that TCC didn't detect your connection to game server. That's probably caused by incorrect configuration.

Can I do anything to fix it? I really want to use TCC :/ Pretty much that's why I was so sad it didn't run properly, I'm just not really good at handling programs by myself, so if something doesn't work I don't know what to do or what did I do wrong.

Try following setup guide here: https://github.com/neowutran/ShinraMeter/wiki#prerequisite

Thank you very much, I'll try some things from here, I hope I want too much of a nuisance.


User-friendly way of making assets

There should be a ribbon below the 3D viewer that ones selects one asset from the predefined ones.
Downloading a zip folder is not a good solution because the users get lost. We should finally remove it. Also it causes legal issues with the 3D models in it.
Uploading should remain however for several reasons.
[x] Scrolling bar visuals
[ ] Make a sample game with assets: Stathi I want a game-joker per template (undeletable)
[x] Load from asset id
[ ] Save by coping other assets

Pull!

I found this piece of code that can be used to monitor which hooks are executed. I will test it and let you know ....
$debug_tags = array();
add_action( 'all', function ( $tag ) {
    global $debug_tags;
    if ( in_array( $tag, $debug_tags ) ) {
        return;
    }
    echo "<pre>" . $tag . "</pre>";
    $debug_tags[] = $tag;
} );

Stathi I have fixed the connection of the joker games with the actual games. You had denoted your own slug "joker-arch" whereas the tax of the assets took the automatic one ("archaelogy-joker"). I fixed them in order to be the same. Now the assets of the joker games appear as assets in the normal games. Make a pull.
However, there are a lot of WARNINGS if you activate wordpress "Debug" mode. (define('WP_DEBUG', true);).  I do not know if it they are old or new but they have to be fixed because they are miss-leading when I try to solve ERRORS.
For example the most annoying the undefined $tt_id variable :
Notice: Undefined variable: tt_id in C:\xampp\htdocs\digiart-project_Jan17\wp-content\plugins\wordpressunity3deditor\includes\default_game_project_settings\wpunity-default-energy-settings.php on line 152
Notice: Undefined variable: tt_id in C:\xampp\htdocs\digiart-project_Jan17\wp-content\plugins\wordpressunity3deditor\includes\default_game_project_settings\wpunity-default-archaeology-settings.php on line 164
Notice: Undefined variable: tt_id in C:\xampp\htdocs\digiart-project_Jan17\wp-content\plugins\wordpressunity3deditor\includes\default_game_project_settings\wpunity-default-chemistry-settings.php on line 165
Notice: Undefined variable: post in C:\xampp\htdocs\digiart-project_Jan17\wp-content\plugins\wordpressunity3deditor\includes\wpunity-types-assets-data.php on line 46
Notice: Trying to get property of non-object in C:\xampp\htdocs\digiart-project_Jan17\wp-content\plugins\wordpressunity3deditor\includes\wpunity-types-assets-data.php on line 46
Notice: Undefined variable: post in C:\xampp\htdocs\digiart-project_Jan17\wp-content\plugins\wordpressunity3deditor\includes\wpunity-types-assets-data.php on line 47
Notice: Trying to get property of non-object in C:\xampp\htdocs\digiart-project_Jan17\wp-content\plugins\wordpressunity3deditor\includes\wpunity-types-assets-data.php on line 47


New db test

Test comment to get Jenkins to build the PR

build

build

build

build

build

build

build

build

build

Test comment from Jenkins

build


is there any plan for serde derive

it is nice to have Serialize and Deserialize trait for patricia tree. it can save the cost of disk for storing and updating(merging patricia tree) .

Sounds interesting. I'll think about how easy (or difficult) implementing the feature is (this or next weekend).

Added the feature in #20.


Make Babel registration a little less intrusive

Just in case there was a loader before, especially with .jsx (which is already primarily associated with a different loader).

Woot, we can just update babel and remove this whole ordeal thanks to @sebmck

Okay. Thanks!

I removed the deletes and published as 0.5.2

:+1: thanks!  Just FYI, I am out of the country until the end of March.


Issue generating vega lite visualisation

nl4dv_instance = NL4DV(data_url = os.path.join(".", "Detailed Exp. of each MP 16th LS.csv"))
dependency_parser_config = {"name": "spacy", "model": "en_core_web_sm", "parser": None}
query = "visualize a barchart showing average Expenditure across State"
vega_lite_spec = nl4dv_instance.render_vis(query)
st.vega_lite_chart(vega_lite_spec)

The above code causes following error:
File "C:\Users\tih_desktop_2\Documents\Superset\nl4dv\lib\site-packages\nltk\corpus\util.py", line 95, in __load
args, kwargs = self.__args, self.__kwargs
AttributeError: 'WordNetCorpusReader' object has no attribute '_LazyCorpusLoader__args'. Did you mean: 'synset'?
2023-12-07 17:16:53.515 Uncaught app exception
However, the following code does not generate any error but only produces screen with no visualisation in the browser
query = "create a barchart showing average Expenditure across State"
output = nl4dv_instance.analyze_query(query)
st.vega_lite_chart(output["visList"][0]["vlSpec"])

Following is the vlSpec output
{
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
        "format": {
            "type": "csv"
        },
        "url": ".\\Detailed Exp. of each MP 16th LS.csv"
    },
    "encoding": {
        "x": {
            "field": "State",
            "type": "nominal"
        },
        "y": {
            "aggregate": "mean",
            "axis": {
                "format": "s"
            },
            "field": "Expenditure",
            "type": "quantitative"
        }
    },
    "mark": {
        "tooltip": true,
        "type": "bar"
    },
    "transform": []
}

Data indeed appears to be the issue since by replacing the URL with inline data in the online Vega editor I am seeing the output

Please find attached the CSV file. It is publicly available data.
Detailed Exp. of each MP 16th LS.csv

Thanks for sharing. I suggest two potential solutions:

Follow the Vega-Lite docs on how data URL works. I am worried it doesn't like the ".\" prefix. Can you try with different variations, e.g., just "Detailed Exp. of each MP 16th LS.csv", or "./Detailed Exp. of each MP 16th LS.csv". Looks like you are using Windows? I am not used to back slashes.

If data is public and has a HTTP URL, you could replace the ".\<data." with that URL either when you pass it as input to NL4DV or in the vlSpec directly. You could also delete the "url" property in the "vlSpec" and instead add a new property "values" and supply the array of objects (the inline data) solution.

Let me know what works best for you.

I tried the following:
df = pd.read_csv ('Detailed Exp. of each MP 16th LS.csv')
print(df)
nl4dv_instance = NL4DV(data_value = df)

and also
nl4dv_instance.set_data(data_value=df)
and the dataframe content is printed correctly

                                MPName      Constituency           State  Entitlement  FundReceivedGOI  ...  Cummulative amt for MPLAD works  Amt Sanc  Expenditure  % UtilizationOverRelease  UnspentBalance
0                       Tabassum Hasan           KAIRANA   UTTAR PRADESH          5.0              2.5  ...                           5.1121    5.0438       4.9787                197.148000          0.3569
1                        Sarfaraz Alam            ARARIA           BIHAR          5.0              5.0  ...                           9.9550    9.4817       9.0717                181.434000          0.4100
2                    Rajiv Pratap Rudy             SARAN           BIHAR         32.5             15.0  ...                          42.0000   31.0179      23.0726                153.317333          0.7835
3    Maganti Venkateswara Rao Magantti             ELURU  ANDHRA PRADESH         27.5             17.5  ...                          33.9361   29.9008      23.6092                132.909714          2.5743
4                Rajendra Dhedya Gavit       PALGHAR(ST)      MAHARASTRA          5.0              5.0  ...                          12.0365    6.8301       6.7016                132.032000          0.6363
..                                 ...               ...             ...          ...              ...  ...                              ...       ...          ...                       ...             ...
564                       Raghu Sharma             AJMER       RAJASTHAN          5.0              5.0  ...                           8.9551    2.7540       1.3038                 25.076000          3.7276
565        Nagendra Pratap Singh Patel           PHULPUR   UTTAR PRADESH          5.0              5.0  ...                           5.4363    2.4363       0.7666                 14.332000          4.2741
566                         Chand Nath             ALWAR       RAJASTHAN          2.5              2.5  ...                           0.3400    0.3400       0.3852                 13.408000          2.6350
567                  Karan Singh Yadav             ALWAR       RAJASTHAN         20.0             17.5  ...                           0.3400    0.3400       0.3852                  2.201143         17.6350
568          Nanabhau Falgunrao Patole  BHANDARA-GONDIYA      MAHARASTRA         17.5             17.5  ...                           0.0000    0.0000       0.0000                  0.000000         17.5000

[569 rows x 11 columns]

But in both cases the generated Vega lite spec has no data:
{
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
        "format": {
            "type": null
        },
        "url": null
    },
    "encoding": {
        "x": {
            "field": "State",
            "type": "nominal"
        },
        "y": {
            "aggregate": "mean",
            "axis": {
                "format": "s"
            },
            "field": "Expenditure",
            "type": "quantitative"
        }
    },
    "mark": {
        "tooltip": true,
        "type": "bar"
    },
    "transform": []
}

As an interim solution, I have got it working with the following code
df = pd.read_csv ('Detailed Exp. of each MP 16th LS.csv')
nl4dv_instance = NL4DV(data_value = df)
dependency_parser_config = {"name": "spacy", "model": "en_core_web_sm", "parser": None}
nl4dv_instance.set_dependency_parser(config=dependency_parser_config)
query = "create a barchart showing average Expenditure across State"
output = nl4dv_instance.analyze_query(query)
vega_lite_spec = output["visList"][0]["vlSpec"]
del vega_lite_spec['data']
st.vega_lite_chart(df, vega_lite_spec)

Oh I see.
So, if you pass the "url" of the data, then nl4dv does not drop the "url"'s value in the vlSpec. However, because you tried passing the "value" (and this could be pandas dataframe or list of dictionaries), it drops the "data" property from the output vlSpec object, expecting the developer to supply it back at the end.
This design choice is because nl4dv recommends a list of visualizations (not just one) in the visList. If all of the vlSpecs have the raw data (values or dataframe), then the output becomes very big, a somewhat concern if someone has to transfer it back from backend to frontend. Hence, we drop the "data" from the output spec. The developer can always supply it back, right? We let the "url"s stay because it's just a string. What do you think?
In any case, we will check if this note is in the current documentation (probably not), if not I'll add it. Thanks.


Added unit tests + Travis & Coveralls integrations

Changes Unknown when pulling 2aad6755cc53010101f00e8497aa79b28985bc1d on test-support into ** on master**.


Fix sqlsrv transactions attempts

woops, sorry selected wrong pr base, will correct asap. Please delete this PR.


chore : Update bbs-interop.yml

chore(deps): bump actions/setup-node from 2.4.0 to 3

upgraded node version in https://github.com/hyperledger/aries-framework-go/pull/3278


gLabel TypeError: 'NoneType' object is not callable

Hello,
I am trying to generate annotated MS2s after a successful pGlyco search. However, I'm getting an error when trying to load the .raw file:
Traceback (most recent call last):   File "gLabel-GP.py", line 1417, in OnMGFButton   File "gLabel-GP.py", line 471, in ReadMGF TypeError: 'NoneType' object is not callable
This seems to trip up the program and doesn't allow the annotation to proceed after loading the pGlycoRes file and hitting 'Batch plot':
[START] 1th GPSM: BG505_tryp.1067.1067.2.2.dta Traceback (most recent call last):   File "gLabel-GP.py", line 1407, in OnBatchPlotButton   File "gLabel-GP.py", line 1203, in save_plot AttributeError: 'NoneType' object has no attribute 'Has_Spec'
I've tested it on old .raw files that have worked fine previously and get the same output. Is anyone else able to reproduce this?
Best,
Trevor

ReadMGF() gets a None, this must be the raw access issue..., can you share the raw data?


ARROW-10063: [Archery][CI] Fetch main branch in archery build only when it is a pull request

Arrow's git data for the main branch is required to test the release curation scripts.
While the build properly works from pull requests it is failing on the main branch since the requested branch already exists: https://github.com/apache/arrow/runs/1148584775

Merging this to my fork's main branch to test it works properly.

It has passed on my fork so it should be good to go: https://github.com/kszucs/arrow/runs/1149604242


NullPointerException in AssertNull Message when Assertion Passes

When you use Assert.AssertNull() and reference the object being asserted on in the error message, such as:
String testString = null;
Assert.assertNull(testString, "String " + testString.charAt(0) + " is null");
It throws a nullPointerException pre-generating the error message, instead of just passing the test! In production, this message is being used to pull the non-null error message from an error object (the object is null when there is no error) and TestNG throws a NullPointerException when the test passes.
I have attached the Eclipse TestNG project on Google Code (awaiting moderation).

Closing this issue based on above comments.


GPL and RSA-MD license conflict

We're getting really close to having Feather Wallet ready for inclusion in Debian, but we ran up against a license conflict.
src/qrcode/QrCode.cpp
src/qrcode/QrCode.h
src/qrcode/QrCode_p.h
src/utils/AsyncTask.h
are licensed under the GPL.
monero/contrib/epee/include/md5_l.h
monero/contrib/epee/include/md5_l.inl
are licensed under a combination of BDS-3-clause and RSA-MD.
https://github.com/feather-wallet/monero/blob/84d813f5ee54d269f1ced8f495924e00fc40bb0d/contrib/epee/include/md5_l.inl#L33-L58
The RSA-MD, sometimes known as the RSA-MD5, is incompatible with the GPL.
This is obviously not only a problem in Debian, but for any distribution of the Feather Wallet binary.  Before looking into it more deeply, do you as upstream have an indication as to be the best way to resolve the conflict?

I am not certain how important epee is to Feather Wallet, or if any of its code even gets compiled into the feather binary.  I did confirm that if these files aren't present Feather Wallet doesn't build, but that doesn't automatically mean any of their object code is used.  I haven't yet spent the time to see how easy it would be to excise or replace this code.  Brief searches on the internet indicate that there are replacements for these two RSA-MD files that some projects use, possibly as drop-in replacements.  Also, there is some indication that, in response to licensing compatibility concerns, upstream relicensed some of these files into something akin to the public domain.  But several of the links relating to relicensing issues are dead, and I haven't done enough research to know if specific code that was included in these files was relicensed.

Please see https://github.com/dinhvh/libetpan/pull/450 for a possible fix.

The fix is not usable as-is because Monero has changed the code to be namespaced in C++.
I have filed a different solution upstream.

Applied upstream patch via 117c6b976342d91c8c98da8ea08290b6dbc806d8. I will tag a new release next week.


Support 'merge' parameter in updateEmail API call

🔹 Jira Ticket(s)

None: is support for an endpoint parameter based on ongoing Iterable implementation

✏ Description

Add support for the "merge" parameter in the https://api.iterable.com/api/docs#users_updateEmail API endpoint
This parameter is not mentioned in the documentation link above, but is available on the endpoint upon activation
Retain support for func calls without "merge" parameter for both backwards compatibility and Obj-C interoperability
Relevant unit tests added

On the code climate issues, all appear to be false positives? As comparing protocols and their implementations unless I'm reading incorrectly


Add Profile: Sid

Profile Submission
Please paste a screenshot of your GitHub profile here.

Profile Category
Please select one or more categories for your profile:

[ ] Badge 🎖
[ ] Minimalistic ✨
[ ] Dynamic 🔄
[ ] Icons 🎯
[ ] Backgrounds 😎
[ ] GIFS 🖼
[ ] Game Mode 🚀
[X] Code 👨💻

Next Steps
Once you've filled out the information, please comment below:
@all-contributors please add @Asymtode712  for review

@all-contributors add @Asymtode712 for review


easyinstall: Remove hardcoded clang v11 in preparation of Buster deprecation

@rdmark I removed the hard-coded version in the issue_1179 branch. I guess this means that this PR can be closed.

Yes, I will discard it now


[Machine Learning] Building a Reinforcement Learning Environment using OpenAI Gym

Proposal Submission
Proposed title of article
Your title should be descriptive of the article/tutorial. Be Specific.
Building a Reinforcement Learning (RL) Environment using OpenAI Gym
Proposed article introduction
We're looking for the first 2-3 paragraphs of your article that appropriately summarize what your article will be about.
We will use this writing snippet to help us assess the overall quality before approval so ensure it has been proofread, spellchecked and grammarchecked.
Gym is a toolkit for developing and comparing reinforcement learning algorithms. It supports teaching agents everything from walking to playing games like Pong or Pinball. In this tutorial, we will give you a high-level overview of the toolkit and show you how you can build a custom RL environment which you can use in your project.
Key takeaways
What are the 3-5 most important things the reader should understand or be able to do after reading this article?
Use this area to get your ideas down on the bulk of your article or tutorial.
By the end of this tutorial, a reader should be able to understand:

An overview of OpenAI's Gym
Implement an example to demonstrate how we can build a custom environment
Test an RL agent on the built custom environment

Article quality
How is your article unique? Tell us what makes your approach different from similar articles that have published on the same topic?
Is yours more in-depth? Does it cover additional topics? Do you provide handy tips or anecdotal advice?
Learning about a Reinforcement Learning toolkit and using the standard OpenAI environments is not enough. A reader ought to understand how they can build their own custom environments. We'll use Python to help us accomplish this task.
References
Please list links to any published content/research that you intend to use to support/guide this article.

OpenAI Gym

Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it. 🚀

Sounds like a helpful topic - let's please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it). @splashtonia
Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting it for final approval. (There are some great free tools that we reference in EngEd resources.)
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.
Please be sure to double-check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved

Closed #5894 via #5966


[Enhancement] CycloneDX SBOM Generation Modification

When we get Mend Generated CycloneDX Formatted SBOM, we come across a field email: "NO ASSERTION" in the components part, When we try to validate these SBOMs, it causes trouble. Can we fix this No Assertion Issue? Opinions?

Hi @kashishtopi ! Please, provide me with more details. Can you send me your command line? Please, correct me if I'm wrong: the "components" section contains data for libraries and has not tag "email".
Thanks in advance,
Dima

Hello @DimarrWS, Sure thing.
When we convert the SPDX formatted SBOM to CycloneDX format, field email: "NO ASSERTION" was found in the components part.
But, originally it came from the (Packages -> supplier/orgranization) section of SPDX-2.2 SBOM which is created by default using the WhiteSource /mend agent. WhiteSource SBOM Report Generator tool was used to create SPDX-2.2 formatted SBOM. Thank you.

Hello @DimarrWS, I created SPDX Format with the tool and then converted it to cycloneDX. Also, I thought Mend didn't had the capability to generate CycloneDX formats, but it seems that it can. Thank you.


When Plex is deployed in a container with a network mode other than host, Worldmap details are inaccurate

Describe the bug
With Plex deployed in a container, and the Plex container's network mode is anything other than host, the stream location data provided by Varken is inaccurate.
To Reproduce
Steps to reproduce the behavior:

Deploy Plex in a container in some way (I chose Ansible), with network mode host
Deploy varken dependencies and varken with MaxMind API key.
Confirm stream location is accurate
Stop Plex container
Re-deploy Plex container w/ network mode other than host (bridge for example)
Refresh Varken, confirm stream location is inaccurate.

Expected behavior
Expect stream location data to be accurate regardless.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: Raspbian 10 (varken container host), boerderij/varken container image (sha256:c981ee2793b03be7f43b0581f117de1ff8194133ffa21bc8f606b5edaadf7cd6)
Version -- unsure where to find varken container version.

Happy to provide additional detail, screenshots, config if they'd be useful.

This commit has Ansible config that exhibited the issue.
This commit converts network mode to host to workaround.

This commit has Ansible config that exhibited the issue.
This commit converts network mode to host to workaround.

This is not an issue with varken. You need to solve this issue on the Plex side. We only report with plex tells us. You will see this same behavior in tautulli.

This is not an issue with varken. You need to solve this issue on the Plex side. We only report with plex tells us. You will see this same behavior in tautulli.

I have solved it, but laying out your requirements (eg. "Network mode must be host”) or defining supported configurations seems prudent.

On Jan 29, 2021, at 9:32 AM, samwiseg0<EMAIL_ADDRESS>wrote:
Closed #193 https://github.com/Boerderij/Varken/issues/193.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Boerderij/Varken/issues/193#event-4267259278, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS3V4IUXKGAM27B6DIJYCLS4LWKVANCNFSM4WYJZ5EA.

I have solved it, but laying out your requirements (eg. "Network mode must be host”) or defining supported configurations seems prudent.

On Jan 29, 2021, at 9:32 AM, samwiseg0<EMAIL_ADDRESS>wrote:
Closed #193 https://github.com/Boerderij/Varken/issues/193.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Boerderij/Varken/issues/193#event-4267259278, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS3V4IUXKGAM27B6DIJYCLS4LWKVANCNFSM4WYJZ5EA.

That is not the only solution. If someone has a reverse proxy in from of Plex and they are in bridge mode it would work just fine as the proxy can pass the correct IP using headers. So making a blanket statement saying it should be X way would be incorrect. It is not the responsibility of this project to ensure someones Plex server is setup correctly.

That is not the only solution. If someone has a reverse proxy in from of Plex and they are in bridge mode it would work just fine as the proxy can pass the correct IP using headers. So making a blanket statement saying it should be X way would be incorrect. It is not the responsibility of this project to ensure someones Plex server is setup correctly.


Add Theme Support

iced has built in support for theming widgets in it now. It would be good to stop hardcoding the colors of Jolly entries and allow customization of the theme.
onagre may be a good reference example on how to handle theming.
Originally mentioned in #6

Now that #10 is merged, we have rudimentary theming support in Jolly. You can switch from dark to light theme, and set an accent color.
Full theme support is missing still, but it is a start.

#11 has additional updates, to allow setting text and background color. I will leave this issue open though in case there are other improvements.

Closing since themes have been working for a while.


WIP: Update deps 20220822

Fixes #

Proposed Changes

Release Note

Docs

/close
was only a test....


Unicode chars broken

In recent atom releases I have massive problems with unicode chars. Here is a screenshot of atom, below the same file in gedit. I also tried greek letters, they don't work as well. IIRC this regression appeared in 0.190.
$ atom --version
0.192.0

Duplicate of #6214, please subscribe there for updates.


Default Terminal Python is 2.7.16

Using Python out of the box in the terminal gets you version 2.7.16.
python --version
Python 2.7.16

python3 is not a recognized command, either.
python3
bash: python3: command not found

A resolution for now is to use /opt/conda/bin/python:
/opt/conda/bin/python --version
Python 3.8.5

Ideal behavior (i.e., behavior I'd expect!) would probably be 3.*.* by default, or at least python3 as a functional command to use 3.*.*

@mat-adamec thanks for reporting! It is fixed in https://github.com/CoffeaTeam/coffea-casa/commit/4489270ad5ce9612a927579ff0b8220946bf5e44


Make Volcano a No Hint Zone™🙅⛔⚔

Too many people are getting past 3.4 on volcano base. This scares me. I propose we make volcano as a whole a No Hint Zone™🙅⛔⚔, so I have time to catch up to the 5.6 chads in peace.

I completely agree on this being unfair, but unfortunately people will still give away solutions and hints in DMs and that's something out of our jurisdiction. Do you have an idea as to how to accomplish this on the server? :D

I do! Making #volcano a discussion only channel would be a start, and warning people who ask for help there, but I feel we could also extend this to people who flagbeg in DMs if screenshots are provided. Sadly there will never be a way to prevent willing people from giving out answers, but this is as close as we can reasonably get.

I think one of the biggest problems is how many hints there are in the channel history, personally I don't think deleting it and recreating would necessarily be a bad thing.

Yeah sure, let me go extract all of those first, of course ;)

Jokes aside, searching for the challenge number essentially gives you the answer for the vast majority. 4.4, for example, had the exact technique mentioned until I pointed it out to Linus and it got removed. Wouldn't be surprised if that became a bottleneck now.

Weekly purge of all game channels?

Why not. Or perhaps a similar thing to quotes where everyone can react with a specific emoji if they find it a spoiler and it gets removed.

Given that there is less than a week left on Game and Essentials, this issue feels like it has run its course. Obviously, if there is an extension and people still feel strongly about this, then we are happy to raise it again.

I think that the weekly purge of Cyberstart channels would be a good idea for next week,  and would literally only take a few seconds of a mod's day.  Furthermore,  the spoiler down vote system from earlier would also be a good idea as it can remove and punish people who spoil challenges

@RealJammy I think considering that the intake for this year is pretty much over, purging for the last few days probably wouldn't be worth it, since, before a new year with assess begins, the old channels will be retired and new ones will be created as Game 2021 comes around.

Revive

if we are making volcano only talk channel why dont we scan each message for two numbers in a row eg: 3 4 and if the message has the numbers in it referring to a level on volcano instead of being general then we delete the message stopping people getting advice on a certain level making it very hard to beg, furthermore we can also detect "l 3 c 4" or anything referring to a level. it is easy to do and makes it hard to beg or hint

Not as if people will find a way around that. Purging the channels is probably the better option. Spoiler votes would be good too, I hate pinging mods for spoilers because it's so trivial yet there's no other way.


Find out how to run the application from a server

Use foodfornomads server for it, probably connected to the issue of the json database

related to (#3)

helpful links:

https://create-react-app.dev/docs/deployment/#static-server

for now we will try to follow this tutorial:
https://www.freecodecamp.org/news/how-to-create-a-react-app-with-a-node-backend-the-complete-guide/

new dependency
npm i express

the issue seems greater than I thought, i will return to this issue later
this article also helped understand things:
https://medium.com/bb-tutorials-and-thoughts/how-to-develop-and-build-react-app-with-nodejs-backend-typescript-version-27a6a283a7c5

also see (closed #3) for further information


Cannot launch PyQ with 32bit kdb+ on OSX

Questions

OSX 64-bit
PyQ version 4.1.3
kdb+ 32-bit
Used virtualenv
QHOME = /home/user/q/.
Conda version 4.3.30

Steps to reproduce the issue
I was able to install PyQ by cloning the repository and using the workaround in this issue
#https://github.com/KxSystems/pyq/issues/32#issuecomment-346160696. I ran
 git clone https://github.com/kxsystems/pyq.git
added a setup.cfg file in root
[config] python_dll=libpython2.7m.so
It built fine:
Successfully built pyq
Installing collected packages: pyq
Successfully installed pyq-4.1.3

However when launching I get the error
$:~/q$ pyq
'2018.05.14T00:01:11.050 dlopen(/Users/q/m32/p.so, 2): no suitable image found.  Did find:
	/Users/q/m32/p.so: mach-o, but wrong architecture
  [4]  /Users/q/p.k:3: (`p 2:(`p_init;1))python_dll

In order to install 32-bit pyq, you need to have a 32-bit (or universal) python.  For detailed instructions, please see Installing with 32-bit kdb+ on macOS.


Navigation refresh throws JsonReaderException

"Unexpected character encountered while parsing value: e. Path '', line 0, position 0."
I'm trying to refresh a view. Refreshing with no arguments gives me an empty view, but when passing the proper argument i get a JsonReaderException. The same object is fine when navigating to a new instance of the same view. The OnNavigatedToAsync is not reached before the exeption is thrown.
Running on .net core version 5.2.2
var nav = WindowWrapper.Current().NavigationServices.FirstOrDefault();
//Throws exception
nav.Refresh(someObject);
//Works fine
nav.Navigate(typeof(Views.myView), someObject);

Which json provider are you using? My guess is improper or malformed data

The exception is thrown by "Newtonsoft.Json.JsonTextReader.ParseValue()". I'm passing a normal object from C# (not json) so i don't know if i can prevent improper data.  I have no aphostrophes in any fields. Why isn't the navigate method throwing the same exception when provided with the same data?

The problem is that the NavigationService.Refresh() method doesn't serialize the given parameter, but the Navigate() does.
https://github.com/Windows-XAML/Template10/blob/master/Template10 (Library)/Services/NavigationService/NavigationService.cs#L340
https://github.com/Windows-XAML/Template10/blob/master/Template10 (Library)/Services/NavigationService/NavigationService.cs#L211
Currently you need to Serialize the parameter by hand like this:
NavigationService.Refresh(SerializationService.Json.Serialize(someObject));

I think we need to add serialization into the `Refresh() too.

Missed that little bit, hope that works, should be an overload then imo

In 1.1.13 NavigationService.SerializationService will be read/write so you can customize it. That being said, Refresh() will no longer require a serializable parameter since you will have already navigated with one. I have made the changes and updated the NavgationService in the branch and will merge next week, planning to push 1.1.13 next week to NuGet, too.

That being said, I think Refresh(param) is a mistake.


Remove nix

Why are the tests failing on this diff?

The addition of Nix accidentally removed the lint check. @JoshVanL Please, fix the lint in the code once you have the time for us to merge this change. Thanks.


fix(dw-chip-select): do not mutate on value change

:tada: This PR is included in version 1.1.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


hexens issue 3: permissionless tokenlockfactory

PERMISSIONLESS FACTORY
SEVERITY: Low
PATH: TokenLockFactory.sol:L66
REMEDIATION: consider restricting access or be especially careful in the design of any dashboard that displays TokenLocks, which might not be necessarily associated with vaults
STATUS:
DESCRIPTION:
Anyone is able to deploy a TokenLock contract from this factory with arbitrary values, potentially facilitating social engineering attacks.

This is by desing, wontfix


Added README updates

README updates to support links in the demo (sorry schoolboy error whereby I forgot to add the file to the commit).

:+1:


Support private Handler

Please (back)reference outstanding issues. Goal is to plug a private handler in an external (community) broker.

Currently, the account server is oblivious to handlers, so I do not see issues with using a different handler. Things to consider:

The namespace for app, gateway and component IDs will be shared with this handler as well, which might be counter-intuitive: "If it's my private handler, then why is the test app ID already taken?" It makes sense for us, but might not be what some people want/need.

Using the handler in dashboard is trickier currently: it uses the public discovery server to find public handler announcements and only let's a user pick from them.
We could build a field that also let's people use a private handler (eg. it's a dropdown/select, but people can add their own value https://private.handler.com). @htdvisser do you see other issue with using the private handler here (with certificates for example)?

App namespacing might be a good idea.
External handlers must publish themselves to the discovery server in order to interact with the rest of the community network. We can add a flag to indicate whether each handler should be displayed in the dashboard or not.

3801b6547c80151e6981ba527476e77111ecb862 adds a public bool to each discovery announcement. This can be used in the console to ignore non-public Handlers


python implementation

Hi, is it possible to get python implementation of NesNet2.

You can refer to https://github.com/microsoft/DNS-Challenge/tree/master/NSNet2-baseline.


Create wasmi_core crate and use it from within wasmi

Codecov Report

Merging #309 (51de82f) into master (da92f43) will decrease coverage by 0.05%.
The diff coverage is 70.91%.

:exclamation: Current head 51de82f differs from pull request most recent head f376cdc. Consider uploading reports for the commit f376cdc to get more accurate results

@@            Coverage Diff             @@
##           master     #309      +/-   ##
==========================================
- Coverage   79.41%   79.36%   -0.06%
==========================================
  Files          69       71       +2
  Lines        9159     9121      -38
==========================================
- Hits         7274     7239      -35
+ Misses       1885     1882       -3

Impacted Files
Coverage Δ

core/src/nan_preserving_float.rs
75.00% <ø> (ø)

core/src/vmem.rs
0.00% <0.00%> (ø)

src/global.rs
68.18% <ø> (ø)

src/memory/mmap_bytebuf.rs
0.00% <ø> (ø)

src/memory/mod.rs
76.32% <ø> (ø)

src/module.rs
73.96% <ø> (ø)

src/types.rs
60.00% <ø> (-0.42%)
:arrow_down:

src/v1/func/mod.rs
77.96% <ø> (ø)

tests/spec/v1/context.rs
76.99% <ø> (ø)

src/v1/engine/mod.rs
81.67% <16.66%> (ø)

... and 15 more

Continue to review full report at Codecov.

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


kustomize-sops: 2.5.5 -> 2.5.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/viaduct-ai/kustomize-sops/releases.
meta.description for kustomize-sops is: "A Flexible Kustomize Plugin for SOPS Encrypted Resource"
meta.homepage for kustomize-sops is: "https://github.com/viaduct-ai/kustomize-sops"
meta.changelog for kustomize-sops is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.5.6 with grep in /nix/store/df9gagrxnkwy9pifcnq3w09d1vyflfz2-kustomize-sops-2.5.6

found 2.5.6 in filename of file in /nix/store/df9gagrxnkwy9pifcnq3w09d1vyflfz2-kustomize-sops-2.5.6

directory tree listing: https://gist.github.com/75ae785fc7369ac689f5ece235b69e41

du listing: https://gist.github.com/4559ac89d51f93df4032e92beef9bfcc

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

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
kustomize-sops

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/df9gagrxnkwy9pifcnq3w09d1vyflfz2-kustomize-sops-2.5.6 \
  --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 kustomize-sops https://github.com/r-ryantm/nixpkgs/archive/68a113506f4b077b647b51d74b90c40e082ece0a.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/df9gagrxnkwy9pifcnq3w09d1vyflfz2-kustomize-sops-2.5.6
ls -la /nix/store/df9gagrxnkwy9pifcnq3w09d1vyflfz2-kustomize-sops-2.5.6/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 run on x86_64-linux 1

1 package built:

kustomize-sops

Maintainer pings
cc @starcraft66 @kalbasit for testing.

Result of nixpkgs-review pr 127322 at 68a11350 run on aarch64-linux 1

1 package built successfully:

kustomize-sops

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/development/go-modules/generic/default.nix:223:5:
    |
223 |     installPhase = args.installPhase or ''
    |     ^


Is database deleted when user clear data/cache?

Hi,
I would like to know if the database created by Paper is deleted when user clears data or cache.

All the paper db data stored in app's data folder (by default) and can be cleared when user clears data.


--no-ri and --no-rdoc are removed in ruby 2.6+

Ruby 2.6.0, https://www.ruby-lang.org/en/news/2018/12/25/ruby-2-6-0-released/ removes the --ri and --rdoc options and their --no- variants.

Please use the --document and --no-document options instead."

The gem install manifest needs to be updated to use --no-document when ruby is newer than version 2.5.

Unfortunately, this is dependent on the version of rubygems, not Ruby specifically (ruby 2.6 or greater just happens to come with rubygems 3.0.1 out of the gate).
I'm working on way to handle the if branching in shell to get around this issue.

Filed PR: https://github.com/jdowning/puppet-rbenv/pull/81

Thanks it helped


Add info to panel properties dialog

Basic info added in vzome-core

Based on my comments on the core PR, I suspect you'll be updating this one.  I'll wait and see.

Will do.
On Thu, Aug 11, 2016 at 3:22 AM, Scott Vorthmann<EMAIL_ADDRESS>wrote:

Based on my comments on the core PR, I suspect you'll be updating this
one. I'll wait and see.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vorth/vzome-desktop/pull/34#issuecomment-239090073,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKcyCrotIpvjWyG1ld7GxKFRu7rnbGTrks5qes25gaJpZM4Jh2cD
.

Should be ready to merge now.
On Thu, Aug 11, 2016 at 3:45 AM, David Hall<EMAIL_ADDRESS>wrote:

Will do.
On Thu, Aug 11, 2016 at 3:22 AM, Scott Vorthmann<EMAIL_ADDRESS>
wrote:

Based on my comments on the core PR, I suspect you'll be updating this
one. I'll wait and see.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vorth/vzome-desktop/pull/34#issuecomment-239090073,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKcyCrotIpvjWyG1ld7GxKFRu7rnbGTrks5qes25gaJpZM4Jh2cD
.


Bower install failing?

am having this message when im attempting to install with bower:
bower embed-js#*
EMALFORMED Failed to read /var/folders/xh/mzwpjt1d3bgg6wmsvkwsq9f40000gn/T/user/bower/264d16b7d819bc21408de67ee21d81bb-15037-5F7sQ7/bower.json
Additional error details:
Unexpected token ]
Any ideas?

fixed in v3.0.2

thanks!


test: experiment Jest with tests written in Javascript [POC]

This is a POC, so it is not intended to be merged
Status

It is completed.
It is going to serve as base for creating PR for a final integration.
Then this PR will be closed.

This continues my first POC done in #82.
Covers #65.
 For more details, see the "investigation..." paragraph below
[x] use cross-env for setting node options when calling jest
[x] dependabot configuration: add jest group
[x] jest config file:

[x] migrate to ESM
[x] tests file in the test directory
[x] ensure type completion/assist works
[x] clean commented config

Investigation to be able to import bpmn-visualization code while running Jest tests
Sources of inspiration

https://angularexperts.io/blog/total-guide-to-jest-esm-and-angular
https://dev.to/jakobjingleheimer/configuring-commonjs-es-modules-for-nodejs-12ed
https://jestjs.io/docs/ecmascript-modules
https://nodejs.org/docs/latest-v18.x/api/packages.html

Tips
While changing the dependencies manually, clear the jest cache to ensure the dependency is resolved again

jest --showConfig | grep cacheDirectory
npx jest --clearCache

First working solution
Problem: Node consider that bpmn-visualization is a CommonJS project (no type property in package.json), it provides no main property pointing to a CommonJS bundle
Solution:
In package.json
{
  "type": "module",
}

In jest config
moduleNameMapper: {
  // <rootDir> is the current folder, npm workspace stores package in the root directory of the project
  '^bpmn-visualization$': '<rootDir>/../../node_modules/bpmn-visualization/dist/bpmn-visualization.esm.js',
},

Final solution
package.json update only (1st manually). The final version will be available in https://github.com/process-analytics/bpmn-visualization-js/pull/2840
{
  "type": "module",
  "exports": {
    ".": "./dist/bpmn-visualization.esm.js",
    "./package.json": "./package.json"
  }
}

Closing as the POC is completed and the test infrastructure is introduced in the project with #100


Requires too many permissons from TB

When installing the AddOn I'm warned that PostGuard needs "full, unrestricted access to Thunderbird and your computer". Which obviously sounds scary.
Accoding to Thunderbird documentation this is fixable by upgrading to a more modern extension API.

We are currently waiting for some features to land before it is possible to perform encryption without experiment code.
These features include:

Adding UI elements to the UI (outside the e-mail), e..g, the bar we currently have.
Persistent e-mail storage on disk, see my latest comment in #5 .


Questions about nvim-cmp

Hello. Thanks for these themes. I'm using zenbones and have a few questions.

As seen in the image, the autocomplete list provided by nvim-cmp is showing the selected item (yes, the first item really is selected) using a darker highlight. It's terribly difficult to distinguish and I'm wondering how I could change that the background to any of the zenbones native colors (blue, green, pink, etc)?

Why are the background colors so different between the autocomplete list and the documentation window?

Thanks in advance for any assistance.

Hey, do you have a specific config for cmp? On mine it looks alright:


Key Disappearing from Encoded JSON String

Acton Version
0.15.1
Steps to Reproduce
Create dictionary and encode into JSON string
mtags = {"__name__": "fake_ping", "id": "foo"}
json_dict = { "tags": mtags, "value":20 }
json_dict["timestamp"] = str(time.time().second)
json_string = json.encode(json_dict)

Expected Behavior
Encoded JSON string reflects dictionary contents.
Actual Behavior
"value" key is missing.
print(json_dict)
print(json_string)

{'tags':{'__name__':'fake_ping', 'id':'foo'}, 'value':15, 'timestamp':'1686590619'}
{"tags":{"__name__":"fake_ping","id":"foo"},"timestamp":"1686590619"}

I can't seem to be able to reproduce this. Neither with v0.15.1 nor latest main...
The example is just a snippet from a program. Are there perhaps more things going on? Possible to write a simple reproduction that is a complete program to avoid any differences?

kll@Boxy:~/terastream/acton$ cat examples/jfoo.act
import json
import time

actor main(env):
    mtags = {"__name__": "fake_ping", "id": "foo"}
    json_dict = { "tags": mtags, "value":20 }
    json_dict["timestamp"] = str(time.time().second)
    json_string = json.encode(json_dict)
    print(json_dict)
    print(json_string)

    env.exit(0)
kll@Boxy:~/terastream/acton$ dist/bin/actonc examples/jfoo.act && examples/jfoo
Building file examples/jfoo.act
  Compiling jfoo.act for release
   Finished compilation in   0.020 s
  Final compilation step
   Finished final compilation step in   0.212 s
{'tags':{'__name__':'fake_ping', 'id':'foo'}, 'value':20, 'timestamp':'1686601656'}
{"tags":{"__name__":"fake_ping","id":"foo"},"value":20,"timestamp":"1686601656"}
kll@Boxy:~/terastream/acton$

The following replicates the issue on my side. It's so similar to yours that I think something must be wrong with my dev environment.
import json

actor main(env):
        mtags = {"__name__": "fake_ping", "id": "foo"}

        json_dict = { "tags": mtags, "value": 20.0 }

        json_dict["timestamp"] = "1686668385"
        json_string = json.encode(json_dict)

        print(json_dict)
        print(json_string)
        await async env.exit(0)


DRY in stratified and chrono splitters

Description

Perform Don't Repeat Yourself (DRY) on stratified and chrono splitters.
@loomlike:
Our stratified and chrono splitters share many similar codes. Does it make sense to define a private function, e.g. _prepare_stratification() and share them from both splitters? Maybe a bit tricky in the main splitting algorithm part but at least the column validity check and data preparation part look the same.
@anargyri:
Good point, they look very similar. The main difference between the two methods is sort_values(col_timestamp)
Probably the chrono split could be reduced to sorting the timestamps and then calling the stratified splitter. We could open a new issue for this.
In which platform does it happen?

Azure Data Science Virtual Machine.

I can also take a look at this one.

Fixed in #607


Remove closing php tags

Related tickets & documents
Link to JIRA ticket if there is one.
Description
Provide a meaningful description about the changes you've made.

These are not PHP closing tags, but markdown styling tags for "General Tips"


fix: add --no-color

This is insurance for users who have
[color]
	ui = always

set in ~/.gitconfig

Thanks!

woops, I didn't mean to delete flatten, it just got nuked on my branch somehow. one sec...


Update sql_schema.md

typo in query

It would be better to do git fetch origin; git rebase -i origin/master; git push -f. But we can also do it if you prefer.

done


Link broken by highlighted word

My Setup

Operating System: Windows 10
App Version: 2.14.7
Installation type: EXE

[x] I have tested with the latest version
[x] I can simulate the issue easily

Description
When a highlighted word (i.e. included in list Preferences > Highlights) occurs in an URL, it is only interpreted as a link up until before that word, which breaks the link. When I remove the word from the Highlights list, the same URL / link does work correctly.
BTW: The word in the URL is correctly highlighted.
BTW: This issue also occurs in the web frontend.
Current Behavior
The link is broken, because the URL is only interpreted as a link up until before a highlighted word.
Expected Behavior
I expect a valid URL to open correctly (and for words in the URL to be highlighted when included in the corresponding list in Preferences).
If I had to choose, I would prefer that links work, and words are not highlighted in a URL.

I no longer work at the company where I used this software. I see no easy way for me to test this fix.
Thanks anyway for giving this issue attention. I really liked the highlight feature and used it extensively.


New PR to test SignCLA at 2019-10-24 20:13:44.180498718 -0700 PDT m=+3.914789982

Body of PR

corp-pass-staging: test succeeded


Add support for Nvidia optimum

Add support for Nvidia optimum. Waiting for publication of the pip package: https://github.com/huggingface/optimum-nvidia
Resolves: https://github.com/Vaibhavs10/insanely-fast-whisper/issues/111

Hi @SKocur - just a wee heads-up this might be happening soon 🤗