Enable Source-Whitelisting per service

Do you want to request a feature or report a bug?
FEATURE
What did you do?
I already opened a question on SO but there's no answer. Maybe it's not even implemented:
I'm trying to restrict access to dedicated containers on dedicated client IPs.
For this I add a label to my docker-container:
labels:
   - "traefik.enable": "true",
   - "traefik.frontend.whitelistSourceRange": "<IP_ADDRESS>/24"

What did you expect to see?
Only clients with IP <IP_ADDRESS>/24 can browse to the container. All other client IPs receive a 404.
Every other service is not restricted by this option.
What did you see instead?
The docker container is reachable from the WWW like every other service.
Output of traefik version: (What version of Traefik are you using?)

Running docker-image traefik:latest. Running with arguments:
"Cmd": [
                "--web",
                "--docker",
                "--docker.watch",
                "--docker.exposedbydefault=false",
                "--acme",
                "--acme.storage=/etc/traefik/acme/acme.json",
<EMAIL_ADDRESS>                "--acme.domains=example.com,example2.com",
                "--acme.entryPoint=https",
                "--acme.onDemand=true",
                "--acme.OnHostRule=true",
                "--entryPoints=Name:http Address::80 Redirect.EntryPoint:https",
                "--entryPoints=Name:https Address::443 TLS",
                "--defaultEntryPoints=http,https",
                "--traefikLogsFile=/var/log/traefik/traefik.log",
                "--accessLogsFile=/var/log/traefik/access.log",
                "--logLevel=DEBUG"
            ],

Hello @BirgerK ,
I had a same problem.
I am not expert in traefik, but if i could help why not. I think the problem is your traefik's version.
I saw you are using version v1.3.4, but  since version v1.4.0-rc1 commited 16 days ago, they added whitelist configuration option (https://github.com/containous/traefik/releases/tag/v1.4.0-rc1).
I update my traefik and it is working.
Could you  update your traefik and try again ?
Regards.

please update to https://github.com/containous/traefik/releases/tag/v1.4.0-rc2

I have a similar issue but basically the reverse problem, we have whitelisted our IP address, but it's returning 403 FORBIDDEN for us. I suspect it might be because we have an external load balancer infront of traefik, but that load balancer is setting the X-Forwarded-For header and when I look through the access logs I can see that the correct remote IP is being printed.

@OverlyExcessive - there is already a PR open for this functionality: https://github.com/containous/traefik/pull/1915


Circular geofences in modern app

Is your feature request related to a problem? Please describe.
Problem: The modern app lacks the circular geofence present in legacy app.
Describe the solution you'd like
Solution: Implement circular geofence in modern app;
Additional context
The circular geofence is, in my opinion the most used, the easiest for the end-user (just need 2 clicks, 1 for the center another for the radius) and the most useful, because it sets a perimeter around an interest point.

The map library doesn't support it, so it's not possible to implement it currently.

If i add a record to the data base area field "CIRCLE (50.348031 -4.798375, 200)"
This displays on the map as a circle geofence.

I think you misunderstood something. We're talking about drawing library. As in user controls to draw a new circle. We're not talking about rendering circles, which we already support.


License Typo?

Hi @takayabe0505, I am going through the JOSS review checklist and noticed that the LICENSE file says "MinEarth", rather than "MindEarth". Is this a typo?
https://github.com/openjournals/joss-reviews/issues/5201

Hi @ifthompson , thanks for spotting it, fixed in 6d7102c.


MGMT-18313: Replace golang base image as it is based on Centos Linux 7

/cc @adriengentil @eifrach @pastequo

/uncc @romfreiman

/lgtm

/retest

/retest


[ MB-16029 ] Allow editing SIT for future SIT

Jira ticket
Summary
This patch fixes sitStatus values returned by the server so that TOOs can edit
both active and inactive SIT service items. With this change, SIT status is returned in the MTO Shipment payload even when SIT start date is in the future. There were some small tweaks that needed to get made to the ShipmentSITDisplay, SubmitSITExtensionModal, and ReviewSITExtensionModal to help calculate the SIT end date to take into account the start of the SIT when it's in the future.
Verification Steps for Reviewers
Please use the SITFUT move code to verify this functionality, but also check PENDNG and SITEXT to ensure that there are no regressions in functionality.
Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

This code is deployed in our ephemeral environment and can be accessed via this Slack link 🔒 https://trussworks.slack.com/archives/C01T40WC4G1/p1683912581352379

Thanks for the feedback @michaelvaldes-truss. I'll address the concerns in some commits today.

Closing this as the work has been transferred over to #10916.


Move v1 endpoints over to v2.

We've got a bunch that should be moved over. Here's a list:

[ ] address (#208)
[ ] bus
[ ] car
[ ] cinema
[ ] company
[ ] concerts
[ ] currency
[ ] cyclecounter
[ ] declension
[ ] earthquake
[ ] flight
[ ] golf
[ ] hospital
[ ] lottery (#207)
[ ] names
[ ] particulates
[ ] price
[ ] rides
[ ] sarschool
[ ] sports
[ ] tv
[ ] weather

I've added the beginner friendly label to indicate that this issue is good for people new to the project looking for some way to contribute.

Can I read somewhere about what exactly needs to be done?
What differes V1 from V2? :smile:

The original plan was to port all the endpoints to the new platorm. We have abandoned that plan and we are now planning on update each endpoint if needed.

@alexanderbsig after this commit 6049ec23cd103c2fe58a75143c0876e269791de9 we have es6 support project wide!

I don't think we have a notion of v1 and v2 any more since v2 has stalled.


store 'StakeDistribution' in the database, implement put & read ops

Issue Number

#713
Overview

[x] I have added a StakeDistribution table
[x] I have added two operations for reading and putting stake distributions to DB
[x] I have added two basic properties for the operations above.

Comments

  Sqlite
    Stake Pool properties
      readStakeDistribution . putStakeDistribution == pure
        +++ OK, passed 100 tests (4% Empty distributions).
      readStake . putStake a1 . putStake s0 == pure a1
        +++ OK, passed 100 tests:
         6% b is empty
         4% a is empty
         3% a & b are empty

bors r+

bors r+

bors r+


ToolWindow / Shift + klick

i want to use the Tool Window (Visual chatGBP Studio) in combination with SHIFT for Commands, but i get the error
"Please, open the tool window first".
But the "Visual chatGPT Studio" is open.
I even closed it and opened it again... no change.
Visual Studio 2022
Version 17.12.2
Extension Version 3.2.0

@mpagler, I will check this and I will say something later.

@mpagler, I already published a new version with the fix.
Thanks to alert me about this issue.


jQuery.easing[jQuery.easing.def] is not a function

When I do
$(".dropdown-button").dropdown();

the dropdown opens fine, but when I click somewhere else and it's time for the dropdown to close it says
jQuery.easing[jQuery.easing.def] is not a function

I'm using these versions:
https://code.jquery.com/jquery-2.1.1.min.js
https://cdnjs.cloudflare.com/ajax/libs/materialize/0.96.1/js/materialize.min.js

I described a workaround in #1472

I'm seeing this same issue but with: $("select").material_select();

@derekdowling same problem here, Materialize 0.97.1. Were you able to fix it?
@ktmn can you please explain your workaround? I don't think I understand it, sorry.

@tomicakorac Install hammerjs and pickadate with npm, import with webpack or similar.

For now I reverted to using browser-default which seems to work fine but isn't quite as nice looking. Also on 0.97.1

Still not working as of 0.97.5. Attempted to do as @tomicakorac outlined, didn't seem to solve it for me.

Still experiencing issues with this on v0.97.5 as well. Any options?

It turned out one of the dependencies in my project was using 2.1.3. This version of JQuery no longer seems to set JQuery.easing.def to easeOutQuad by default, thus there will be an undefined error.
I solved this by forcing materialize to use JQuery 2.1.1 in the following way:
``

Inside materialize.js:
if (typeof(jQuery) === 'undefined') {   var jQuery;   // Check if require is a defined function.   if (typeof(require) === 'function') {     jQuery = $materialize = require('jQuery');   // Else use the dollar sign alias.   } else {     jQuery = $materialize;   } };
However now it is no longer possible to use the CDN version and to update without making changes to the materialize file. People working on the project after me will likely run into issues with the way I am currently solving it.
It would be great to get an official statement from @Dogfalo on how you should use materialize while you you have external modules which are using other versions of JQuery. (I don't have access to those extrernal modules)

Above solution from @m-gv works great..

@m-gv  works for me too 👍

@m-gv Great solution. Thanks!

Hello guys,
I've the same issue but i don't have the easing plugin, do you know how to solve it ?
Thank you ;)

I got this error how to fix it
Uncaught TypeError: jQuery.easing[jQuery.easing.def] is not a function
at Object.swing (materialize.js:62)
at init.run (jquery-2.1.1.min.js:3)
at i (jquery-2.1.1.min.js:3)
at Function.n.fx.timer (jquery-2.1.1.min.js:3)
at Xb (jquery-2.1.1.min.js:3)
at HTMLUListElement.g (jquery-2.1.1.min.js:3)
at Function.dequeue (jquery-2.1.1.min.js:3)
at HTMLUListElement. (jquery-2.1.1.min.js:3)
at Function.each (jquery-2.1.1.min.js:2)
at n.fn.init.each (jquery-2.1.1.min.js:2

I've got the same error when upgrading to 0.99, b/c in my custom build of Materialize, I didn't update jquery.easing version
https://github.com/Dogfalo/materialize/blob/e6576cc6308efd301d2de57279173bb89332f5bb/Gruntfile.js#L132

-          "js/jquery.easing.1.3.js",
+          "js/jquery.easing.1.4.js",

@kmmbvnr I created a full changelog here

This is happening to me with<EMAIL_ADDRESS>and 0.99.0 (it wasn't happening before)
Adding jqueryUI <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> seems to fix the problem, however I don't understand why or if there is a better fix.
I'm using materialize as part of an electron app, and I prefer to use only npm based packages


Component Destructor Called Twice

Hi,
Basically what the tittle says, maybe is my implementation problem or its a bug or a feature that im not aware of how it works.
I have made a simple program to check this with an output on destructors of components.
#include "entt.hpp"
#include <iostream>

class someComponent
{
public:
	someComponent() {printf("Constructor\n");}
	~someComponent() {printf("Destructor\n")}
};
int main()
{
	{
		entt::registry registry;
		entt::entity someEntity;
		someEntity = registry.create();
		registry.emplace<someComponent>(someEntity);
		registry.remove<someComponent>(someEntity);
		registry.emplace<someComponent>(someEntity);
	}

	std::cin.get();
	return 0;
}

output:
Constructor
Destructor
Destructor
Constructor
Destructor

I tested it online and I can't reproduce what you're observing.
Can you help me in order to investigate and give you a proper answer?
As a rule of thumb, you can assume it works as expected. My guess is that there would be tons of people saying that everything is crashing down otherwise. :wink:

I suspect this is because you're not printing copy and move constructors.

ok, try this one. whats going on under the hood?
#include <https://raw.githubusercontent.com/skypjack/entt/master/single_include/entt/entt.hpp>
#include <iostream>

class Acomp final
{
public:
	Acomp(int data) : _data(data){printf("Acomp Constructor\n");}
	~Acomp() {printf("Acomp Destructor\n");}
	int _data;
};
class Bcomp final
{
public:
	Bcomp(int* data) : _data(data){ printf("Bcomp Constructor\n"); }
	~Bcomp() { printf("Bcomp Destructor\n"); }
	int* _data;
};

int main()
{
	{
		int bdata = 1;
		int* Bptrdata = new int;
		Bptrdata = &bdata;

		entt::registry registry;
		entt::entity someEntity;
		someEntity = registry.create();
		registry.emplace<Acomp>(someEntity, 1);
		registry.remove<Acomp>(someEntity);
		registry.emplace<Bcomp>(someEntity, Bptrdata);
	}
	std::cin.get();
	return 0;
}

if you debug step by step before the call to
registry.emplace<Bcomp>(someEntity, Bptrdata);
AComp got removed twice

Not exactly. There is an instance that the value is moved from and this instance gets destroyed as well. At least, the way I understand it.

Your issue boils down to this function.
The remove performs a sort of swap-and-pop between the instance assigned to the entity and the last one in the storage, so as to keep the internal array packed.
To avoid nasty issues with the types from the standard library (I won't go in details to be short), this function has a form that is slightly different from what one would expect but you can approximate it with a swap for what matters here.
That said, as you can see there are two instances of your first type. If that type was moveable (minimum requirement) you would have a proper half-swap. Since it's not though, you've literally a copy.
In both cases, the destructor is invoked twice because you've two objects to destroy. There is no issue here.

ok, thanks for the help.

You're welcome. I invite you to join the gitter channel for this kind of questions. You can often receive more details and get your answer quickly. :wink:

I'm closing this as invalid. Let me know if you've still doubts. :+1:


Lite: Fix CMake Build Issue for Metal Delegate

This is to support building tensorflow lite metal delegate with CMAKE.
Currently, building with cmake for metal delegate seems to be broken.

Hi @jongkweh Can you please sign CLA. Thank you!


weird alphabetical ignore error

So I've been wrangling this problem a lot today, but I think I got it nailed down now.
The steps to reproduce are as follows:

add a index.vue file that has <route> block that sets a custom name that is the same(?!!) as the filename.
add files that come before 'index' (so starting with a etc.)
add files that come after 'index' (like starting with z)
only the files that come before 'index' get generated routes.

Things to note:

This also triggers some sort of cache thing, HMR caches older version sometimes
once you remove the name attribute from the <route> block everything works again
the file gets recognized so it's not an globbing issue

I don't think this issue is particularly devastating but it's sooooo weird and so perplexing that I had to share it! 🤣

Can't repro, can you provide a example? and also the version you are using and OS info, thanks.

To be honest I couldn't, and besides, the issue is so niche and weird that it's alright to close it for now i think 👍🏻


feat: display rw version with pg version in version()

Signed-off-by: tabVersion<EMAIL_ADDRESS>I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
This section will be used as the commit message. Please do not leave this empty!
behavior:

display rw version with psql version

Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

SQL commands, functions, and operators

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
as described above
updating src/common/src/lib.rs should be part of release process
Refer to a related PR or issue link (optional)
None

Recommend to include in the version()
https://github.com/risingwavelabs/risingwave/blob/226578364540e2c43406505550204e8a1c130dd4/src/frontend/src/binder/expr/function.rs#L335
e.g. "PostgreSQL 13.9-RW-0.1.15"

behavior:

When building in debug mode, return the latest git commit hash
When building in release mode, return the latest version num (v0.1.15 for now)

Seems not matched.

behavior:

When building in debug mode, return the latest git commit hash
When building in release mode, return the latest version num (v0.1.15 for now)

Seems not matched.

fixed

Does it help that we always get a 0.1.15 constant for each nightly build? Not to mention that the actual version is 0.2.0-alpha. Imagine that someone reports an issue with rw_version() = 0.1.15, and we can't even be sure whether it's caused by some issues that are before 0.1.15 releasing, or after that.


[Accessibility][Usability]A11y_VSCode_ActivityBar_Screenreader: Jaws is reading actionable control as readonly button.

Environment Details:
VSCode Version : 1.24.0
OS Version : Win10
Additional Details:
Screenreader,JAWS[18.0.5038],Usability
Repro Steps:

Launch VS Code while JAWS is ON.
2.Navigate to "Activity Bar" at left side of the screen after login.
3.Navigate to "SettingsButton".
4.Observed that jaws is reading actionable control as read only button.

Actual:
Here, jaws is reading actionable control "Setting" as read only button.
Expected:
Readonly is come for the noneditable text/control here "Setting" is the actionable control so jaws should not read it as read only button.
Recommendations:
Refer below link which is repository of bug fixes code snippets.
https://microsoft.sharepoint.com/teams/msenable/mas/Pages/browse-fixes.aspx
User Impact:
If jaws read it as read only then user will not know that it is nothing but the actionable control.
Attachment For Reference:
[Accessibility][Usability]A11y_VSCode_ActivityBar_Screenreader.pptx
Does this issue occur when all extensions are disabled?: Yes

It reads properly on NVDA not sure if we support jaws

Closing this issue as it's only observed in JAWS, and this isn't strictly needed to meet MAS C compliance.

We did execution on both NVDA and Jaws too so this issue is observed in jaws.If nvda is reading it correctly then jaws should read it correctly.


[REGRESSION]: - task: CmdLine@2 script: 'dotnet workload install maui maui-ios' installs old versions of SDKs using vmImage: macos-13

New issue checklist

[X] I searched for existing GitHub issues
[X] I read pipeline troubleshooting guide
[X] I checked how to collect logs

Task name
CmdLine@2
Breaking task version
???
Last working task version
???
Regression Description
A regression happened!
Here is the Task I'm using,
- task: CmdLine@2
  displayName: 'Install Maui & iOS'
  inputs:
    script: 'dotnet workload install maui maui-ios'

On Monday 2/12/24, the Task was installing the following:
Installing workload manifest microsoft.net.sdk.ios version 17.2.8004
Installing pack Microsoft.Maui.Sdk version 8.0.3
Starting on 2/13/24, the Task was installing the following:
Installing pack Microsoft.iOS.Sdk version 16.4.8825-net8-rc1
Installing pack Microsoft.Maui.Sdk version 8.0.0-rc.1.9171
As a result, I'm getting this error when trying to Publish.
error NETSDK1140: 17.0 is not a valid TargetPlatformVersion for iOS.
Environment type (Please select at least one enviroment where you face this issue)

[ ] Self-Hosted
[X] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
macos-13
Relevant log output
MSBuild version 17.9.4+90725d08d for .NET
Determining projects to restore...
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.Maui.Sdk/8.0.0-rc.1.9171/Sdk/BundledVersions.targets(74,5): warning MA002: Starting with .NET 8, setting <UseMaui>true</UseMaui> does not automatically include NuGet package references in your project. Update your project by including this item: <PackageReference Include="Microsoft.Maui.Controls" Version="8.0.3" />. You can skip this warning by setting <SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences> in your project file. [/Users/runner/work/1/s/MyAppName.csproj::TargetFramework=net8.0-android34.0]
Restored /Users/runner/work/1/s/MyAppName.csproj (in 1.48 sec).
/Users/runner/hostedtoolcache/dotnet/sdk/8.0.200/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(243,5): error NETSDK1140: 17.0 is not a valid TargetPlatformVersion for iOS.  Are you sure that the issue is related to the CmdLine task? As far as I see, the task just executes dontet CLI. Probably, there's some problem with the project settings/configuration or with .NET on the current pull. Could you please double-check?

@DenisNikulin5 I'm really not sure. It is failing in the CmdLine task. I guess I will create an issue over here. https://github.com/dotnet/sdk

It started working again. I didn't change anything. It is now installing the correct versions of the SDK.


Allow multiple promises at a time??

I want to use angular-busy loader for a time of 5 successive requests , can i use it ?? then how??
(or)
can i include multiple promises at a time?

@cgross could you give an example of how to use $q.all()? I am in a situation where I have a dynamic number of calls being made and would like the loading icon to be displayed until they are all complete. Thanks in advance.

@naysayer example:
// controller
$scope.allDonePromise = $q.all([promise1, promise2, ...]);

// template
<div cg-busy="allDonePromise">

The spinner will be shown until all the promises will be resolved. Note the promises are run in parallel.
From Angular docs:
"$q.all(): Combines multiple promises into a single promise that is resolved when all of the input promises are resolved."


Trezor/Ledger - No off-chain signatures when 2 or more owners are required to sign.

Env: https://pr1220--safereact.review.gnosisdev.com/app/#/safes/0x9913B9180C20C6b0F21B6480c84422F6ebc4B808/transactions
This PR is a copy of the dev env with small changes.
Issue:
In safes where 2 or people are needed to sign at tx.
While signing with a Ledger or Trezor the first signature is NOT an off-chain transaction. Can be tested with a "Send Funds" type of tx
Note; you can sign all the tx as non-off-chain and it will work fine, this issue won't block the safe or not allow the Ledger/Trezor to sign in any way
I tested this in stg rinkeby and there it works fine there, so is only in the dev Env

Fixed as part of #1220


Fix an issue where MLD requests are silently dropped

This PR resolves problems with handling MLD requests and the corresponding test case as both were not working as expected.

Should we change the commit ordering, so first the change, and then the test?
I just kept them in a sequence I was resolving the issue, to me both options sound good.

The ordering could affect bisectability, so usually with other PRs we introduce first the change, and then the tests for it.

@jukkar I have swapped the commits and fixed issue where tests with CONFIG_NET_TC_THREAD_PREEMPTIVE=y were failing.


resolve Rhea mapping for 'phospholactate guanylyltransferase activity' GO:0043814

GTP + H(+) + phosphoenolpyruvate = diphosphate + enolpyruvoyl-2-diphospho-5'-guanosine EquivalentTo EC:<IP_ADDRESS>	(most probable)	0.75
GTP + H(+) + phosphoenolpyruvate => diphosphate + enolpyruvoyl-2-diphospho-5'-guanosine ProperSubClassOf METACYC:RXN-8077		0.1
(2S)-2-phospholactate + GTP + H(+) => (2S)-lactyl-2-diphospho-5'-guanosine + diphosphate EquivalentTo METACYC:RXN-8077	(most probable)	0.75
phospholactate guanylyltransferase activity EquivalentTo METACYC:RXN-8077	(most probable)	0.8
(2S)-2-phospholactate + GTP + H(+) = (2S)-lactyl-2-diphospho-5'-guanosine + diphosphate EquivalentTo EC:<IP_ADDRESS>	(most probable)	0.75
phospholactate guanylyltransferase activity EquivalentTo EC:<IP_ADDRESS>	(most probable)	0.8
phospholactate guanylyltransferase activity ProperSuperClassOf GTP + H(+) + phosphoenolpyruvate = diphosphate + enolpyruvoyl-2-diphospho-5'-guanosine		0.15

RHEA: 30519 GTP + H+ + phosphoenolpyruvate = diphosphate + enolpyruvoyl-2-diphospho-5'-guanosine is a totally different reaction; remove
Replace with RHEA: 63424 (2S)-2-phospholactate + GTP + H+ = (2S)-lactyl-2-diphospho-5'-guanosine + diphosphate; this in line with EC <IP_ADDRESS>
Metacyc:RXN-8077 is an entirely different reaction belonging with 30519 (The PEP); remove


Remove unnecessary -Dvscode.workspace argument.

The logs are emitted in <working directory>/.metaserver/metaserver.log
I didn't use the directories project to get the path because it
assumes you want a different location for config/cache and there is no
log-specific option. I personally want all metaserver files to be
bundled in the same directory so I can rm -rf .metaserver.
Fixes #112
I'm itching to start using the plugin for my development but I found this issue made it awkward to start the server from neovim.

I'm not sure that depending on cwd just for writing logs before initialization is a good solution (but I can't offer a better one at the moment).
Anyway, you may want to narrow down the patterns in https://github.com/scalameta/language-server/pull/129/files#diff-d01b1790714b19523f254714b9b1210bR60


whitelist

support

has any progress been made on this?

I'd love to see this as something built in, but since ctx is passed to the id function, you could conditionally send back a random id (e.g. from uuid) for certain routes or IPs.  I'm about to have to implement this myself.


Handle enums containing different types

{
	"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
	"description": "Schema for a AWS CloudFront web distribution access log event. Version released 01 Jul 2014",
	"self": {
		"vendor": "com.amazon.aws.cloudfront",
		"name": "wd_access_log",
		"format": "jsonschema",
		"version": "1-0-4"
	},

	"type": "object",
	"properties": {
		"csProtocol": {
			"enum": ["http", "https", null]
		}
	},
	"additionalProperties": false
}

results in
Error: Function - 'processList' - Invalid JValue: JNull in list

If I change the enum to [77, "http", "https"] then the cs_protocol column is defined like this:
...
"cs_protocol"                 VARCHAR(5),
...

I think this is by design - see the section on --split-product-types in the blog post...

Sorry ignore me I skipped the middle bit.

@fblundun how to define [42, "http"]?

I just ran schema-ddl version 0.1.0 on this schema:
{
  "type" : "object",
  "properties" : {
    "a" : {
      "type" : [ "string", "integer" ],
      "minimum" : 0,
      "maximum" : 32767,
    }
  },
  "additionalProperties" : false
}

and got this:
CREATE TABLE IF NOT EXISTS out (
    "a" VARCHAR(4096)
);

It looks like for a type which can be either a string or a number, we just use a VARCHAR. That seems pretty sensible to me.
So how about just making the column a VARCHAR(4), where 4 is the maximum of 42.toString.length and "http".length?

Sounds good to me - @chuwy ?

Makes sense. Same for all other types.


Possible improvement to docs

https://github.com/lumeland/lume.land/blob/ce296c28276f005e2e9faf8d05a7c47058008688/docs/core/multiple-pages.md?plain=1#L14
Is it necessary for pages that export multiple pages to have .page in the filename?
When I tried out the basic example, putting the yield function in a file named generator.ts did not work, but generator.page.ts worked. I figured out the .page part after looking at the Multiple pages with layouts example which conveniently shows the filename.
If the .page is required in the filename, perhaps it would be good to mention it in the docs.

.page sub extension is used to identify .js files that Lume has to process as pages from these files that must be treated as JavaScript files to front-end. For example, main.js can be a JS file that Lume must bundle with the esbuild plugin, for example, and main.page.js is a file that generates the /main/ URL, (or multiple pages like in your example).


[bug] ci failed: APIContainerKillSuite.TestKillOk failed

Ⅰ. Issue Description
----------------------------------------------------------------------
FAIL: /go/src/github.com/alibaba/pouch/test/api_container_kill_test.go:27: APIContainerKillSuite.TestKillOk
/go/src/github.com/alibaba/pouch/test/api_container_kill_test.go:51:
    c.Assert(string(got.State.Status), check.Equals, "exited")
... obtained string = "running"
... expected string = "exited"

ci:  https://travis-ci.org/alibaba/pouch/jobs/392268252
Ⅱ. Describe what happened
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

pouch version (use pouch version):
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

the ci daemon logs:
time="2018-06-15T01:58:47.931370836Z" level=info msg="End of Calling POST /v1.24/containers/TestKillOk/start, costs 3258 ms. client @"
time="2018-06-15T01:58:47.933349995Z" level=info msg="Calling POST /v1.24/containers/TestKillOk/kill?signal=SIGKILL, client @"
time="2018-06-15T01:58:47.933670567Z" level=debug msg="Get a grpc client" elapsed=38.954µs
time="2018-06-15T01:58:47.962727776Z" level=debug msg="Calling GET /v1.24/containers/TestKillOk/json, client @"
time="2018-06-15T01:58:47.965954789Z" level=debug msg="Calling GET /v1.24/images/registry.hub.docker.com/library/busybox:1.28/json, client @"
time="2018-06-15T01:58:47.966254381Z" level=debug msg="Get a grpc client" elapsed=42.01µs
time="2018-06-15T01:58:47.976330561Z" level=info msg="the task has quit, id: 8ba10e2bd9a75c077e05e52553f26af6814be02a1a65f8213c5df9d5ad59b7d6, err: <nil>, exitcode: 137, time: 2018-06-15 01:58:47.975809008 +0000 UTC"

when we kill a container, it's status may not change to exited immediately, so maybe we should check the container status multi times to verify it status. WDYT ??? @xiechengsheng

I think you are right.

What is the status of this? @HusterWan @xiechengsheng

After discussing with @fuweid offline, we think the kill command can't be added into pouch right now, because the kill process in containerd is non-blocking, while we need to know the pouch container's status after using containerd kill process.


User Communities authorization at the project level

Utilize existing user tags to configure key(s) that will represent user communities that will provide another way to authorize users access at the project-level, both for administrative project views as well as progress&ranking views

Note: may need to consider adding a special user community based skills.config.ui.paragraphValidationRegex as well as user community based custom header/footer.

PR: #2186

:+1:


Add streams into yieldable list

Hi,
I think it will be nice to be able yielding the streams (it will be waiting the stream "end" event) as well.

@andreytkachenko Can you elaborate more ?

Current yieldable list are:

promises
thunks (functions)
array (parallel execution)
objects (parallel execution)
generators (delegation)
generator functions (delegation)
I am suggesting add streams in that list as well. It is possible to promisify stream like that:

const promisify = (readable) => {
  const result = []
  const w = new Writable({
    write(chunk, encoding, callback) {·
      result.push(chunk)
      callback()
    }
  })
  readable.pipe(w)
  return new Promise((resolve, reject) => {
    w.on('finish', resolve)
    w.on('error', reject)
  }).then(() => result.join(''))
}

and then yield them, but it would be great to just yield them


Rabbits in Forest

There is a forest with an unknown number of rabbits. We asked n rabbits "How many rabbits have the same color as you?" and collected the answers in an integer array answers where answers[i] is the answer of the ith rabbit.
Given the array answers, return the minimum number of rabbits that could be in the forest.
Example 1:
Input: answers = [1,1,2]
Output: 5
Explanation:
The two rabbits that answered "1" could both be the same color, say red.
The rabbit that answered "2" can't be red or the answers would be inconsistent.
Say the rabbit that answered "2" was blue.
Then there should be 2 other blue rabbits in the forest that didn't answer into the array.
The smallest possible number of rabbits in the forest is therefore 5: 3 that answered plus 2 that didn't.
Example 2:
Input: answers = [10,10,10]
Output: 11
Constraints:
1 <= answers.length <= 1000
0 <= answers[i] < 1000

Garima Kodkani
SY ENTC
I would like to work on this issue.

@Garima-Kodkani
Yes you can work on this issue. Pls upload your solution in the folder named "Solutions". Your deadline 1 April'23 11:59pm.


Installed handlebars

:hand: :bar_chart: :

Project idea -- glossary to convert @mapsam emoji to english

Hand, bar!

@creade what additional test cases are needed?

@mapsam @creade @phiden @ErnieAtLYD
I think that we should go ahead and think about merging this sucker. Thinking more about the engine/ui functionality, these are super related. The thinking now is more along the following:
UI: @phiden will be leading the charge on wireframing, and taking the super basic pickOne functionality as moving it to a really nice thing.
Engine: I want to take a crack at implementing the external API. @ErnieAtLYD if you want to work on this too, this would be fun fun fun. The realization here, though, is that triggers need to have both (super simple) templates and functionality handling.
This changes the work around a bit, but not overmuch. I think that the workflow (for now) should be:

A trigger is added
The trigger is fixed up with styling

This basically requires the changes that we are making in this branch. NOTE: we can always drop the handlebar dependency at a later date.
Thoughts?

Sounds good. Here's what I'm thinking on the UI end:

classes should all carry the prefix Wand- to avoid conflicts
we could offer skins that have various color stories and fonts
eventually, the editor will need to be considered as well
wireframes and such can provide guidelines

...Triggers need to have both (super simple) templates and functionality handling. This changes the work around a bit, but not overmuch. I think that the workflow (for now) should be: 1) A trigger is added and 2) The trigger is fixed up with styling.

@bsmithgall: I'm okay with this, but I may want to follow your lead as it sounds like you have a definite thought process for laying out the module structures. Is that correct? Does it make sense to commit the beginnings of a framework to the engine branch?

Oh hey it looks like wand.engine has already been implemented! I should have checked the code first. Looks good to me :+1:

YES @TiffanyAndrews I would love to see some CSS testing! :facepunch:


python packages not matching the esp-idf release

I recently ran into a problem that was cause by the python packages not matching the versions included in the esp-idf release.
I also looked into the esp-idf.constraints files. I think the limits are too lax to get the same versions as the idf release.
Do you think it would be better to match the python packages with a requirements.txt from the esp-idf docker containers?

Having a quick poke around the Dockerfile and what it does in esp-idf, it doesn't seem to have its own requirements.txt, it just calls $IDF_PATH/tools/idf_tools.py --non-interactive install-python-env, which seems to use the constraints file to resolve dependency versions. Did you find something more concrete?

I'm updating the Python packages again based on running pip install -r esp-idf/tools/requirements/requirements.core.txt --constraint=espidf.constraints.v5.3.txt --dry-run. But that still depends on the state of packages on PyPI.
If we could download a prebuilt docker container and query what versions it has, maybe that would work? Ideally Espressif would publish an exact requirements file, but even then we would still need to get the hashes for Nix, but it might make it easier?

Also see #25.

Actually, maybe we should move the conversation there - both issues are about matching Python packages to ESP-IDF versions.


Move lengthy SystemJS description from QuickStart into "Module Bundler Alternatives"

The 5 min QuickStart for TypeScript contains a lengthy explanation of SystemJS.
Now that we have an Introduction to Webpack, we might consider factoring out the QuickStart SystemJS prose so as to keep the 5 min QuickStart to 5 min :).
How about creating a chapter, possibly with a title like "Module Bundler Alternatives", having two subsections:

SystemJS
Webpack

@Foxandxss, @filipesilva, @wardbell : thoughts?

Intriguing. Maybe we should. But it isn't all that long ... not as long as the Webpack chapter ... and we're about to revisit the QS yet again when we move toward the CLI QS.
Putting this on ice for a while.

We don't have SystemJS Stuff on quickstart right now, but what about SystemJS explanations?

Will likely be addressed by #2762.


Create Plunker of declarative syntax

Please create a Plunker of the new declarative syntax. The current demo shows the older syntax, and when trying to use the new syntax, verbatim from your README.md, I get Can't bind to 'contextMenu' since it isn't a known property of 'li'.
My shared.module.ts (which is imported into the module/component where I'm trying to use contextmenu):
...
import { ContextMenuComponent } from 'angular2-contextmenu/src/contextMenu.component';
import { ContextMenuService } from 'angular2-contextmenu/src/contextMenu.service';
...

@NgModule({
    imports: [
        CommonModule
    ],
    declarations: [
        ...
        ContextMenuComponent
    ],
    exports: [
        ...
    ],
    providers: [
        ...
        ContextMenuService
    ],
    entryComponents: [
        ...
    ]
})

export class SharedModule { }```

You should be importing the ContextMenuModule in your @NgModule imports array, instead of importing ContextMenuComponent and ContextMenuService directly.  For an example, you can look at the demo in source.  FYI, the project has moved to ngx-contextmenu for angular 4+ support.

Importing ContextMenuModule fixed the first error.
I am now getting a Expression has changed after it was checked. Previous value: 'undefined'. Current value: '[object Object]'. error with the code below:
  + Add Name Field
  <context-menu>
      <template contextMenuItem (execute)="showMessage('Hi, ' + $event.item.name)">
          Say hi!
      </template>
      <template contextMenuItem divider="true"></template>
      <template contextMenuItem let-item (execute)="showMessage($event.item.name + ' said: ' + $event.item.otherProperty)">
          Bye, {{item?.name}}
      </template>
      <template contextMenuItem passive="true">
          Input something: <input type="text">
      </template>
  </context-menu>

Since the declarative syntax is the preferred one, and using the old syntax throws 'deprecated' warnings, the Plunkr demo should be using the new syntax. I think this would be very helpful to people just getting started with contextMenu.
Thanks

Update: The Expression has changed after it was checked error is a ngModal issue (https://github.com/angular/angular/issues/6005) for which I've implemented a workaround.
The context menu is now appearing, but there are still positioning/styling issues, and I would still say a Plunkr of the declarative syntax is warranted.
Thanks


Documentation website crashed by a js exception

Bug Report
Steps
The documentation website is crashed by an js exception
Actual Result

Version
x.y.z
Testcase

Please try to clean your local cache, might be a CDN issue. Cannot repro it 🐱


Add Backend Directory and Implement Search API for books by Title, Author, Prefix Keyword, or Category.

There is no Backend Directory yet, so I want to add Backend Stuff with Package file.
Please assign me! @rohansx

@madhur87 someone is working on backend part.
right @rohansx ?


MDTab flashes while switching

Hi. I have issue with switching between MDTabsBase. the problem is while i try to switch between tabs, MDTabsBase icons mess and flashes for a moment. this happens in kitchen_sink example too. on windows and android both. Thanks for any help
code.zip

https://github.com/HeaTTheatR/KivyMD/wiki/MDTabs


update release?

hey buddy, super happy that you liked my patch 😄  feels awesome for a learner like me.
but i noticed that you did not update the release in your repo, with my changes it's important to have the Scripts folder and the EXE on the same folder or the program won't work. I did draft a release on my fork as a 7z file w/ both of those things.

I am definitely planning on updating it. Some features are still in the works on my side, but after I made some modifications and tested it for a while I will package it up into a release!

Cool, I've also been working on my side as well, I want to add a config file to save stuff like paths, N# of processes, but I'm struggling a bit to find a method I understand 😐

Update
I DID find a way using the standard app.confg, see my "setting_file" fork

Man, the amount of things you are adding to this repository is huge! :)
I mean, that cool README that you have on your fork, the ability to manually pick blender and ffmpeg instead of using PATH, etc...
I'm starting to feel like this program is closer to being yours than being mine. If you are fine with that I could pull your changes, obviously credit you in the README and publish a release here as well.

RedRaptor93: It looks like we are synchroniously working on the same things :) Can you please look to my modifications to your older version? I think there are some really important changes but I don't think it would be mergeable to your current source.
I noticed you added nice readme but you didnt commit any changes 15 days so I could not try to keep it in sync with you.
The most important changes in my version are:

segments are splitted by user selected "chunk length", all frames steppers should be very fool-proof and there should never occur any non-sense settings (it automatically adapts to loaded .blend timeline etc.)
rearanged UI to make it more simple and straightforward
progressbar is displaying the progress by single frame accuraccy (by parsing Blender process output)
stopping kills rendering processes, it stops them also on app close
mixdown audio now starts / ends as the video, it now auto-detects the file and is used by ffmpeg accordingly (it replaces original audio if mixdown exists)
some confirmation dialogs (stopping render, overwriting already rendered chunks etc)
it works with relative paths, user doesnt have to care about what he set in Blender
huge code refactoring (not done yet)

Today I have finished storing the settings and tommorow I will have configurable paths to executables, then it will become quite usable. But I am not sure what now, when we will have similarily functional 2 different versions :) We can just let users to decide which one they want to use?
I don't think we could try to merge our versions even partially :(
Sorry, I thought you are not working too much because didnt see any commits last weeks :(

I'll take a look at it, I did something similar to your "chunck length" on my end... You seem to have some interesting work done, so have I... I'd be a shame to leave them separated.
I didn't post commits last few weeks cause:
A: I was super paranoid about the error checking for user defined paths.
And B: Doing my Xamarin course, it's great, super good teacher, if a tad intimidating at times for some one like me
I should have been more communicative, sorry 😖 but the last commit you did before I stepped in was in September, so I just assumed that you'd take some time to come up with a new version...
Tomorrow I'll look at it, them we'll try and come up with a plan
Enviado por BlueMail
Em 25 de fev de 2017 00:00, em 00:00, jendabek<EMAIL_ADDRESS>escreveu:

RedRaptor93: It looks like we are synchroniously working on the same
things :) Can you please look to my modifications to your older
version? I think there are some really important changes but I don't
think it would be mergeable to your current source.
I noticed you added nice readme but you didnt commit any changes 15
days so I could not try to keep it in sync with you.
The most important changes in my version are:

segments are splitted by user selected "chunk length", all frames
steppers should be very fool-proof and there should never occur any
non-sense settings (it automatically adapts to loaded .blend timeline
etc.)
rearanged UI to make it more simple and straightforward
progressbar is displaying the progress by single frame accuraccy (by
parsing Blender process output)
stopping kills rendering processes, it stops them also on app close
mixdown audio now starts / ends as the video, it now auto-detects the
file and is used by ffmpeg accordingly (it replaces original audio if
mixdown exists)
some confirmation dialogs (stopping render, overwriting already
rendered chunks etc)
it works with relative paths, user doesnt have to care about what he
set in Blender
huge code refactoring (not done yet)

Today I have finished storing the settings and tommorow I will have
configurable paths to executables, then it will become quite usable.
But I am not sure what now, when we will have similarily functional 2
different versions :) We can just let users to decide which one they
want to use?
I don't think we could try to merge our versions even partially :(
Sorry, I thought you are not working too much because didnt see any
commits last weeks :(
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/Isti115/BlenderRenderController/issues/4#issuecomment-282454971

That Xamarin course could be very interesting, it is certainly nice tool to know :) I have never coded in C# before but I have some experience with Adobe AIR (ActionScript 3), which is some kind of multiplatform tool too. The language syntax is very similar, fortunately!
No shame please! I think we will find a way how to get the best from both projects :)
Now I am working on startup detection of missing Blender & FFmpeg paths, test it properly and release it maybe as some beta / alpha / whatever version, is it ok? Of course names of you both will be included in that GitHub menu.

@RedRaptor93 You might be confusing something, because the first commit of @jendabek was on Feb 22, 2017. ;)
Anyway, I tried out your settings_file branch, and there seems to be some problem with empty paths being read and thus exceptions being thrown. I didn't have any time to tinker with it yet, so I have no idea what causes it, but if you could give me some clues I might be able to figure it out for the release.

On my tests, declaring values in hard code, I don't recall getting that exception...
But the way I did the checking for invalid paths is, well... Sub-Optimum to say the least (I was at my wits end, frustrated, just wanted it to work god dammit 😠 ) I'll explain how I did it.
FindExePath checks Env. PATH or working dir. for the file EXE/path supplied, if it exists in either, it return the FULL path for that EXE, else it throws FileNotFoundException, however it would throw this even if the user defined path was correct... So:
reCheck(str) runs FindExePath  for the the supplied string, if FileNotFoundException is thrown it checks AGAIN to see if the file it self exists. If the EXE is neither in Env. PATH or the added check fails, returns FALSE, else it returns TRUE
checkEXE() then runs reCheck(str) for both EXEs (blender and ffmpeg) and returns a string depending on the conditions of reCheck(str) ( if reCheck(set.blender_path) is true and reCheck(set.ffmpeg_path) is false, return FFMPEG_NOT_FOUND
FINALLY the following code checks the above string and points to errorMsgs to return the error and block the buttons if necessary (this code is present on MainForm_Load and DoReadBlenderData)
            //settings check
            var chk = checkEXE();
            if (chk == "FFMPEG_NOT_FOUND")
            {
                errorMsgs(-24);
                return;
            }
            else if ((chk == "BLENDER_NOT_FOUND") || (chk == "BOTH_NOT_FOUND"))
            {
                errorMsgs(-99);
                return;
            }
            else
            {
                // both execs found
                errorMsgs(0);
            }

So yea, kinda of a (total 😞 ) mess, right now I'm seeing ways to improve it, but we should find a way to merge our code first, otherwise if I go and try to fix it I might make the merge job even harder.
@Isti115 I've used App.config for storing settings, but I don't know how to make the program check for a "first time run", if I did we could prompt the user to enter paths before using it.

Sadly I won't have much time to spend on this in the near future, so I made a release for v0.4 including the latest sources I could get to work for me. (Bumping one minor version for the additions of @RedRaptor93 and one for my modifications.)

If @jendabek plans on keeping developing for this, and by the frequency he's committing it looks like he does, I'd gladly help him where I can.
I was planning on redoing my "settings_file" branch anyway, I would like to merge some of my changes to his project to see how it does.


[WIP] Use .gitattributes to correct EOL chars for bash scripts not having .sh extension

Use .gitattributes to correct EOL chars for bash scripts not having .sh extension

@dubeejw - Ready for review.  Thanks!

IPG 283

IPG 299 (prior failure due to other build break)

close/reopen to re-trigger Travis... weird failure..

If you click on the Travis build there is a circle with an arrow - click it it will rebuild.

IPG 312 finally passed!

@mdeuser @dubeejw Before merging this, please make sure that someone independently checks out this change. The last time .gitattributes was updated to change line endings, it caused quite a headache.
Fine... I'll do it 😉

LGTM. I checked out mdeuser/fixgitattr and didn't see any unstaged changes from files having their line endings updated. 👍

@bjustin-ibm - Thanks!  What environment did you use for your test?

I tried on mac - no issues after rebase.

@mdeuser Mac as well.  It is probably worth getting someone to try on Windows.

I have windows/vagrant, and I needed the gradlew files with LF EOL, not CRLF.  My vagrant build environment works with this setting.


Scam Thread Submission

Duplicate Submissions

[X] Yes, I checked that the name is not currently in the list
[X] I read the wiki explaining each different categories and examples before submitting

(Required) Spam Comment Direct Link
https://www.youtube.com/watch?v=NoncyOWIteY&lc=Ugx9-x7OWvQRRfRzWvN4AaABAg
https://www.youtube.com/watch?v=aK9GNpkVlKo&lc=Ugw0ESw-Qp7rqxLZZNB4AaABAg
https://www.youtube.com/watch?v=RQKQNxLeq1c&lc=UgwwK9EwblTpbPSLrWl4AaABAg
(Optional) Screenshot of comments referencing the scammer names

(Required) List of the scammer names
expert david sacks
mr david sacks
katherine rae lobe
alexandera davis

added


Issues with ActiveJob (+Sidekiq) reporting errors in jobs with serialized records

I'm having issues with Raven reporting errors that happen inside of ActiveJob jobs when Raven is configured to send events in the background. When a job runs that triggers an exception, the background Raven job fires and eventually dies with this message:

ERROR: !!! ERROR HANDLER THREW AN ERROR !!!
ERROR: Can't serialize a Hash with reserved key "_aj_globalid"
ERROR: [edit]/activejob-4.2.4/lib/active_job/arguments.rb:126:in `serialize_hash_key'

I successfully reproduced this issues consistently in this test repository I created. It's a vanilla Rails 4.2.4 app, and all of the gems are up-to-date. I then added Raven and configured it to report in development and to report via background job. I also added Sidekiq. To exhibit the issue, perform the following steps:

Clone the repo
Migrate and seed the database
Boot Sidekiq: bundle exec sidekiq
Open up Rails console and run:

ExceptionJob.perform_later — successfully reports to Sentry
ExceptionJob.perform_later([]) — successfully reports to Sentry
ExceptionJob.perform_later(Post.first) — failure

My assumption is that it fails because of the ActiveJob serialization. When the Sentry reporter job gets run, it serializes a hash that includes the parameters sent to ActiveJob. You can see in ActiveJob's source that they have a RESERVED_KEYS hash. Since the parameters sent to ActiveJob would contain a hash that has these keys, it would make sense that that is causing the issue.
I also tested this against the ActiveJob inline adapter, but it didn't seem to have the same issues. I only tested it against Sidekiq, which is what I was using when I noticed the issue.

Hey @lleger, just wanted to follow up and let you know that I'm going to be diving into this this week.
I'm not familiar with Rails or Sidekick personally, so I highly appreciate the steps to reproduce.
I'll report back with findings. :)

Thanks for the update. Happy to help diagnose if I can. I only tried with Sidekiq, but I would think the problem would exhibit itself in any of the adapters that serialize to a data store.

Alright, I've reproduced the bug. :)
2015-11-06T21:24:55.360Z 31 TID-ovl819mrw ERROR: !!! ERROR HANDLER THREW AN ERROR !!!
2015-11-06T21:24:55.360Z 31 TID-ovl819mrw ERROR: Can't serialize a Hash with reserved key "_aj_globalid"
2015-11-06T21:24:55.361Z 31 TID-ovl819mrw ERROR: /usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:126:in `serialize_hash_key'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:102:in `block in serialize_hash'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:101:in `each'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:101:in `each_with_object'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:101:in `serialize_hash'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:65:in `serialize_argument'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:58:in `block in serialize_argument'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:58:in `map'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:58:in `serialize_argument'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:102:in `block in serialize_hash'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:101:in `each'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:101:in `each_with_object'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:101:in `serialize_hash'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:65:in `serialize_argument'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:58:in `block in serialize_argument'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:58:in `map'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:58:in `serialize_argument'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:102:in `block in serialize_hash'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:101:in `each'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:101:in `each_with_object'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:101:in `serialize_hash'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:65:in `serialize_argument'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:102:in `block in serialize_hash'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:101:in `each'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:101:in `each_with_object'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:101:in `serialize_hash'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:65:in `serialize_argument'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:102:in `block in serialize_hash'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:101:in `each'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:101:in `each_with_object'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:101:in `serialize_hash'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:65:in `serialize_argument'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:33:in `block in serialize'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:33:in `map'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/arguments.rb:33:in `serialize'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/core.rb:86:in `serialize_arguments'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/core.rb:72:in `serialize'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/queue_adapters/sidekiq_adapter.rb:25:in `enqueue'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/enqueuing.rb:71:in `block in enqueue'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `call'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/logging.rb:14:in `call'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/logging.rb:14:in `block (3 levels) in <module:Logging>'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/logging.rb:13:in `block (2 levels) in <module:Logging>'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_enqueue_callbacks'
/usr/local/bundle/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/enqueuing.rb:67:in `enqueue'
/usr/local/bundle/gems/activejob-4.2.4/lib/active_job/enqueuing.rb:17:in `perform_later'
/usr/src/app/config/initializers/sentry.rb:6:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/sentry-raven-0.15.2/lib/raven/base.rb:122:in `call'
/usr/local/bundle/gems/sentry-raven-0.15.2/lib/raven/base.rb:122:in `capture_type'
/usr/local/bundle/gems/sentry-raven-0.15.2/lib/raven/integrations/sidekiq.rb:26:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/sidekiq-3.5.3/lib/sidekiq/exception_handler.rb:20:in `call'
/usr/local/bundle/gems/sidekiq-3.5.3/lib/sidekiq/exception_handler.rb:20:in `block in handle_exception'
/usr/local/bundle/gems/sidekiq-3.5.3/lib/sidekiq/exception_handler.rb:18:in `each'
/usr/local/bundle/gems/sidekiq-3.5.3/lib/sidekiq/exception_handler.rb:18:in `handle_exception'
/usr/local/bundle/gems/sidekiq-3.5.3/lib/sidekiq/processor.rb:66:in `rescue in process'
/usr/local/bundle/gems/sidekiq-3.5.3/lib/sidekiq/processor.rb:70:in `process'
/usr/local/bundle/gems/celluloid-0.17.2/lib/celluloid/calls.rb:28:in `public_send'
/usr/local/bundle/gems/celluloid-0.17.2/lib/celluloid/calls.rb:28:in `dispatch'
/usr/local/bundle/gems/celluloid-0.17.2/lib/celluloid/call/async.rb:7:in `dispatch'
/usr/local/bundle/gems/celluloid-0.17.2/lib/celluloid/cell.rb:50:in `block in dispatch'
/usr/local/bundle/gems/celluloid-0.17.2/lib/celluloid/cell.rb:76:in `block in task'
/usr/local/bundle/gems/celluloid-0.17.2/lib/celluloid/actor.rb:339:in `block in task'
/usr/local/bundle/gems/celluloid-0.17.2/lib/celluloid/task.rb:44:in `block in initialize'
/usr/local/bundle/gems/celluloid-0.17.2/lib/celluloid/task/fibered.rb:14:in `block in create'
2015-11-06T21:24:56.797Z 31 TID-ovl7ww9v8 ReportSentryJob JID-6da6e7ef4242067ab531e516 INFO: done: 2.654 sec

Now I can try to debug this and see what's going on. Thanks again, this repository has been super useful.

:clap:


fedimint-cli dev api usability is meh.

Took more forever to get config from the server for debugging purposes.
First #3192 , so I had to get the invite code from $FM_DATA_DIR.
But then I couldn't figure out what is the syntax for aguments, and Justin had to tell me it should be:
fedimint-cli dev api config '"fed114znk7uk7ppugdjuytr8venqf2tkywd65cqvg3u93um64tu5cw4yr0n3fvn7qmwvm4g48cpndgnm4gqq4waen5te0xyerwt3s9cczuvf6xyurzde597s7crdvsk2vmyarjw9gwyqjdzj"'

but that fails with:
> fedimint-cli dev api config '"fed114znk7uk7ppugdjuytr8venqf2tkywd65cqvg3u93um64tu5cw4yr0n3fvn7qmwvm4g48cpndgnm4gqq4waen5te0xyerwt3s9cczuvf6xyurzde597s7crdvsk2vmyarjw9gwyqjdzj"'
2023-09-14T21:32:32.288091Z  INFO fedimint_client: Last client reference dropped, shutting down client task group
2023-09-14T21:32:32.288097Z  INFO fedimint_client::sm::executor: Starting state machine executor task
2023-09-14T21:32:32.288633Z  INFO fedimint_client::sm::executor: Shutting down state machine executor runner due to shutdown signal
{
  "error": "CliError",
  "kind": "GeneralFailure",
  "message": "Federation rpc error {general => Received errors from 1 peers: peer-1: Rpc error: ErrorObject { code: ServerError(400), message: \"Download token not found\", data: None }), 1 => Rpc error: ErrorObject { code: ServerError(400), message: \"Download token not found\", data: None }), }",
  "raw_error": "Federation rpc error {general => Received errors from 1 peers: peer-1: Rpc error: ErrorObject { code: ServerError(400), message: \"Download token not found\", data: None }), 1 => Rpc error: ErrorObject { code: ServerError(400), message: \"Download token not found\", data: None }), }"
}

which Justin explained to me is because invite-code is per-peer. So the right invocation is actually:
fedimint-cli dev api --peer-id 0 config '"fed114znk7uk7ppugdjuytr8venqf2tkywd65cqvg3u93um64tu5cw4yr0n3fvn7qmwvm4g48cpndgnm4gqq4waen5te0xyerwt3s9cczuvf6xyurzde597s7crdvsk2vmyarjw9gwyqjdzj"'

At very least we should add some examples to fedimint-cli dev api --help
In addition, if the invite-codes are per-guardian, then maybe we should check it somewhere for better usability.
E.g. we could embed the PeerId in InviteCode as a field, or url could be a map/list. Just so we can return a better error ("this invite code is for a different peer).
BTW. It seems to me like the server side is not checking InviteCode::id at all, which probably is not a best way to handle it. We should return incorrect federation id, possibly preventing some weird confusion attacks etc. Created #3195 for that.

It's very difficult to pass auth to fedimint-cli dev api <rpc> as well. I've been trying to do this for about 15 minutes and can't figure it out ...

https://github.com/fedimint/fedimint/pull/3749 should help with ^^

dev call: we could attempt to parse as json, if that fails then just transform it into a json string.


feat: generic identifier

closes #24

This approach where the identifier needs to be unique among its item siblings basically screams for a Map<Identifier, TreeItem>.
Both HashMap and BTreeMap are not ordered (see https://stackoverflow.com/questions/30243100/how-do-i-sort-a-map-by-order-of-insertion). To keep some sort of order with the items this would require either PartialOrd on Identifier or some thing like this: items: HashMap<Identifier, TreeItem>, order: Vec<Identifier>.
Both approaches don't seem easy to use to me.

I think going this route for now is the best approach. There might be better options which other people can suggest after playing around with this new release. (Feel free to open a new issue discussing your idea!)


Creating multiple matrix of versions for testing CI framework.

Is your feature request related to a problem?
Currently, the CI framework is being tested on a single version. We need to enhance our CI framework's testing across multiple version matrixes.

This is obsolete since we did #189.


Look into if stellar-etl doesn't need to create a file when exporting data

Part of the stellar-etl-airflow process is the stellar-etl exports data to a file on the pod's local storage, and then a shell script checks for data in the file before moving to a gcp folder. It's a little buggy where the gcp pods check to see if the file has data before moving it to another folder (here), and sometimes because of timing of when data is uploaded to the file the scripts incorrectly says the file is empty so doesn't move it.
I'm not sure if this is the best process we can do, to me it feels pretty convoluted, but if so then this ticket can be closed. But if we can not rely on uploading dat to an intermediary file or checking file sizes then I think we should.
Probably this is a better refactoring ticket, but adding this to track.

This implementation is partly due to limitations in Google Cloud Composer. The airflow-worker is technically its own Docker image, so when we use our own Docker image in the DockerOperator, we are effectively executing a Docker image inside of a Docker image.
One of the side effects of this implementation is we can only mount storage to a new volume instead of mounting to an existing volume. Cloud composer has a gcsfuse mount that is shared across all airflow-worker pods (location is /home/airflow/gcs/data). This mount cannot be remounted in the stellar-etl Docker because it is already used, thus we have to write the file to a separate mount and then move it.
It would be nice if we allowed stellar-etl to connect and write directly to Cloud Storage instead of a local file to circumvent this process. Feature request to be prioritized; closing this issue


Apps not centered, missing from 2nd monitor and gradually repositioning themselves

Describe the bug

Taskbar apps not centered on monitor 1 (pushed to the right of center).
No app on taskbar on monitor (initialization animation has them move from left to right of taskbar and then disappear).
As the computer is used, the taskbar on monitor 1 gradually reposition more and more to the right until they disappear.

To Reproduce
Steps to reproduce the behavior:
I'm using a default settings, unchanged for quite some time, so not much to say here. These are the basic screens though:

Expected behavior
Taskbar apps to be centered on both monitors and to not reposition themselves over time.
Screenshots
Monitor 1 - apps appearing, but not centered:

Monitor 2 - no apps:

Monitor 1 - apps gradually moving more and more to the right and out of sight:

Desktop (please complete the following information):

OS: Windows 10 Home
Version: 21H1

Additional context
I had been on version 1.6, so paid for the upgrade to <IP_ADDRESS>, but still seeing this issue after installing latest version and restarting PC.

I am having the same issue too. It crashes is very buggy.

The icons also randomly disappear for me. This thing crashes on me and just does random glitches on the taskbar.


use vars to select eos_validate_state tests

Change Summary
eos_validation_state role enhancement.
This role runs many tests.
we were already able to use tags to select/skip them.
Adding now vars to select the tests
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes)
[ ] Documentation content changes
[ ] Other (please describe):

Related Issue(s)
Fixes #664
Component(s) name
arista.avd.eos_validate_state
Proposed changes
Added vars to select the tests in the default dir of the role.
# Tests to include
eos_validate_state_bgp_check: true
eos_validate_state_hardware: true
eos_validate_state_interfaces_state: true
eos_validate_state_ip_reachability: true
eos_validate_state_lldp_topology: true
eos_validate_state_loopback0_reachability: true
eos_validate_state_mlag: true
eos_validate_state_ntp: true
eos_validate_state_routing_table: true
eos_validate_state_reload_cause: false

The tasks main.yml includes now a condition to load tests.
How to test
define in host_vars or group_vars or extra_vars how do we want to override the default:
eos_validate_state_hardware: true
eos_validate_state_interfaces_state: true
eos_validate_state_ip_reachability: false
eos_validate_state_lldp_topology: false
eos_validate_state_loopback0_reachability: true
eos_validate_state_mlag: true
eos_validate_state_reload_cause: true

execute a playbook that has this role.
and check the report output.
ansible-playbook playbooks/playbook_validate_states.yml -i inventories/ebgp\ avd/inventory.yml
ansible-playbook playbooks/playbook_validate_states.yml -i inventories/ebgp\ avd/inventory.yml --skip mlag

Checklist:

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have updated molecule CI testing accordingly
[ ] All new and existing tests passed (pre-commit, make linting and make sanity-lint).

Will be re-opened later


Placeholders get not replaced if the variable is used more than one time

Version: 1.40.0-insider
Commit: c58aaab8a1cc22a7139b761166a0d4f37d41e998
Date: 2019-10-22T05:27:42.088Z
Electron: 6.0.12
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Linux x64 4.19.0-6-amd64-
Steps to Reproduce:

use a snippet with a variable (placeholder used in two places)
when you type it should replace the placeholder text, which works as long as the variable is used only once, but not if it is used more than that.

You can try it with https://marketplace.visualstudio.com/items?itemName=Derico.plone-vs-snippets by adding a "plonechoicefield"

    "Choice Field (plone.schema)": {
        "body": [
            "# Make sure to import: plone.app.vocabularies as vocabs",
            "${1:name} = ${2:schema.Choice}(",
            "    title=_(",
            "        u'${3}',",
            "    ),",
            "    description=_(",
            "        u'${4}',",
            "    ),",
            "    vocabulary=${5:u'vocabs.PortalTypes'},",
            "    default=u'${6}',",
            "    # defaultFactory=${7:get_default_${1}},",
            "    required=${8|False,True|},",
            "    readonly=${9|False,True|},",
            ")"
        ],
        "prefix": "PloneChoiceField"
    },

Assuming you mean 🔝 that snippet and placeholder $1 than I have to say that I cannot reproduce. Please clarify what you expect, tho a confusion might be that the second occurrence of placeholder 1 is enclosed by placeholder 7 and therefore typing 7 will overtype 1

I have a simple version where i can see the same issue. It only occurs when you use a placeholder.


Duplicated year in page header document identifier

https://github.com/metanorma/iso-10303/blob/master/sources/iso-10303-104/document.adoc
Using git gems:
gem "metanorma-cli", git: "https://github.com/metanorma/metanorma-cli"
gem "metanorma-standoc", git: "https://github.com/metanorma/metanorma-standoc"
gem "metanorma-iso", git: "https://github.com/metanorma/metanorma-iso"
gem "isodoc", git: "https://github.com/metanorma/isodoc"
gem "metanorma", git: "https://github.com/metanorma/metanorma"

Generates this erroneous document identifier in the page header (the cover is correct).
Source:
= Product data representation and exchange: Integrated application resource: Finite element analysis
:docnumber: 10303
:partnumber: 104
:copyright-year: 2000
:language: en
:publish-date: 2000-12-15
:edition: 1
...

Page header:

Page cover:

The docidentifier includes the year in ISO, so any specification of them as separate in the templates is incorrect.

Introduced docnumber_lang as the full "ISO number:year(X)" identifier in metadata.


3.0.0-rc0 Encoding Property Object style field description

Currently has the text:

See (#parameterContent)

Should be:

See Parameter Object

Closed as fix is merged.


md-ink-ripple

It'd be great if we could configure md-ink-ripple to be disabled globally, instead of having to add md-no-ink everywhere like it's the case in angular-material 1

Status: ripple has been implemented, it now needs to be applied to other components.


[UR009] Iterate over commands until 'exit' or 'quit'

Done with goto, but in a unclear way... Because it is not known the control over declaration and initialization of the following data
char input[MAX_STRING_LENGH];
char *word[MAX_NUMBER_OF_WORDD];


Publish on jCenter / Maven Repository

Is this library being published anywhere?

Yes, it's available on Central - http://search.maven.org/#artifactdetails|com.beowulfe.hap|hap|1.0.0|jar


Scheduled Task - Course Git Repo Syncing

Create a scheduled task that treats a course dir as a git repo and updates at regular intervals.
This issue is dependent on #4, since we don't want to run into conflicts.
For example, someone incorrectly pushes a users.json file.
Once the dependencies are clear, this is pretty easy.

#7 should be implemented before this.

Implemented in becb2867206cc91a7c9b3a7ddf48ee2d5b68f075.


Look into using jsonable_encode for test comparisons

See src/backend_api/app/tests/crud/crud_test_user.py line 89 for example

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx


form assets error fix

Hello,
Thanks to #245 @minusf, I was able to find my faults that I made two widgets mangled.
I changed the code as follows:

SummernoteInplaceWidget uses static definition as before.
SummernoteWidget renders static path of assets in django_summernote/views.py.

I really appreciate @minusf PR, but I also agree that static definition could be better than dynamic property.
Therefore, @minusf PR could be turned down if this PR is accepted.
Thank you.

Codecov Report

Merging #253 into master will increase coverage by 1.44%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #253      +/-   ##
==========================================
+ Coverage    96.2%   97.65%   +1.44%
==========================================
  Files          11       11
  Lines         211      213       +2
==========================================
+ Hits          203      208       +5
+ Misses          8        5       -3

Impacted Files
Coverage Δ

django_summernote/views.py
100% <100%> (ø)
:arrow_up:

django_summernote/widgets.py
98.38% <100%> (+4.73%)
:arrow_up:

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 4a08b93...548bc52. Read the comment docs.


Detect Indentation doesn't work on pasted text

VSCode Version: 1.41.1
OS Version: 4.19.97-gentoo

Steps to Reproduce:

set editor.detectIndentation: true
open a .js file and create an object with template literals, like this:

		body: `
		asdasd
		asd
    		`,

paste multiline input that has no indentation, for example:

   txtUserId = getRequestString("password");
txtSQL = "SELECT * FROM Pass WHERE Pass ="+pass;

result would look like this:

		body: `
		asdasd
		asd
		txtUserId = getRequestString("password");
txtSQL = "SELECT * FROM Pass WHERE Pass ="+pass;

There seems to be no way to auto ident it based on the text around it \ context.

Does this issue occur when all extensions are disabled?: Yes

Just to make things a bit clearer, while this case happened inside template literals which you probably don't want to format (and for good reason), maybe it's possible to format the pasted input before inserting?


spec: example in specification for struct tags not valid tags or not representative of tag usage

The example given in the spec is this:
// A struct corresponding to the TimeStamp protocol buffer.
// The tag strings define the protocol buffer field numbers.
struct {
	microsec  uint64 "field 1"
	serverIP6 uint64 "field 2"
	process   string "field 3"
}

However, the reflect packages will not accept these tags when performing queries on them:
// A StructTag is the tag string in a struct field.
//
// By convention, tag strings are a concatenation of
// optionally space-separated key:"value" pairs.
// Each key is a non-empty string consisting of non-control
// characters other than space (U+0020 ' '), quote (U+0022 '"'),
// and colon (U+003A ':').  Each value is quoted using U+0022 '"'
// characters and Go string literal syntax.

Not explicitly mentioned is that there cannot a space before or after the colon.
Suggest change to something similar to
// A struct corresponding to the TimeStamp protocol buffer.
// The tag strings define the protocol buffer field numbers.
struct {
	microsec  uint64 "field:\"1\""
	serverIP6 uint64 "field:\"2\" desc:\"holds servers IPv6 address as integer\""
	process   string `field:"3"`
}

The spec is about the language, not the libraries. I agree that it makes sense for one of the examples to honor the library, but it is important that others do not.


New Features in Package, 2.0 Version

This was thought out in the best possible way, adding some features and removing others.
Enhancement

CLI added
Webpack added
.vue file support
Create component in file seperated

We add some plugins for vuejs:

Vue Router
Vuex
Vuelidate
Axios
Also removed some utitilies.

Removed

Scripts block for jinja
{{user_component}} helper
Support the js file as vue component. Now use .vue file in frontend/components

Others features has been added as: Cli commands, look:
Now possible run commands as:
flask vue init for create a new instance for vue and configure your application.
flask vue compile for compile files
flask vue watch This a function, leave webpack listening, your modification components...
flask vue install for install all packages for vue

👏👏👏


not able to select multiple images from gallery

not able to select Multiple images from gallery, can anyone give some sample code? currently only one image is selected

The same thing is happening to me.

We are building new library and UI for Android. This will be added in that release.

where is the new library


Any reason why the 0.3.15 release is not marked as "latest"?

I assume it is just an oversight.
Also any update when we can expect a (pre-)release of 0.4.x (to get #350 into an "official" release, even if just a pre-release)?

@nwneisen

https://github.com/Mirantis/cri-dockerd/issues/395

0.3.15 was not marked as the latest since the 0.3.x branch is now only for legacy support. This is also the branch that Mirantis will continue to use and support.
I left 0.4.x for those wanting to update the libraries and get the latest changes into cri-dockerd

I think the original question was why 0.3.14 is the latest, and not 0.3.15
Once 0.4.0 is out, it would probably become the latest (as you mention)


per-thread reverse call tree

Is there a way to do an HTML per-thread reverse call tree ?
The only way I found to do it is via jdr // JMC.
Anyway thanks, this tool is a lifesave since I understood the safepoints issue in most profilers.
Edit to explain : I'm profiling a complex application doing network I/O. I need :

-e wall to see the I/O time in the graphs
--reverse because there is a LOT of different call trees so i'm more interested in the cpu-consuming leafs
per-thread view because there are many other idle threads that I don't care about

Currently with "-e wall -t --reverse", the part of code I'm interested in is "squashed" by (and mixed within) all other idle threads (executors, server sockets).

Per-thread reverse trees / flamegraphs indeed worked counterintuitively.
I've fixed that.

Thanks a lot, I'll use it as soon as a build will be released.
On a side note : do you think it would be interesting for you to have a lightweigth swing viewer with thread selection, hotspots, forward and backward call tree, that would use the collapsed format as a source ?
I'm thinking about trying myself at it.

BTW, you may use '-I'/'-X' options to filter out irrelevant threads.
Also, in wall clock mode, you may specify --filter <thread IDs> to profile only selected threads.

do you think it would be interesting for you to have a lightweigth swing viewer with thread selection, hotspots, forward and backward call tree, that would use the collapsed format as a source ?

Isn't JMC good enough? It can open .jfr profiles produced by async-profiler, too.
Alternatively, it's relatively easy to write a tool to convert collapsed format to the format supported by NetBeans/VisualVM, which already have the above features. I find their viewer pretty handy.

Thanks for the type.
About the viewer ... You're probably right, yeah. I also agree with you about VisualVM's viewer, I find it more user-friendly than JMC.
Althought I'm not user it will be able to properly display your memory profiling (I didn't test it), theirs only display a snapshot of the heap. No hierarchy.

@egwepas have a look at https://www.speedscope.app/ for viewing the collapsed stacks format(with threads). In addition, current IDEA supports loading collapsed stacks as profiles to be navigated in their profiler flame graph view. Either one (or JMC/VisualVM) makes a good place for feature requests and contibutions.

FYI, I made a simple converter to transform .collapsed format to .nps profile snapshots supported by NetBeans and VisualVM: https://gist.github.com/apangin/0f2ec45af901a05cbb3862106a957ebf


Can't Enable GPU Plugin

Type
GPU
Operating System
Linux
OS Version
Linux 6.11.10-2-MANJARO
Bug description
When attempting to enable the GPU plugin, the slider flicks on and then back off instantly.
Error is:
2024-12-04 00:21:36 MST [Client] ERROR n.r.client.plugins.gpu.GpuPlugin - Error starting GPU plugin
java.lang.RuntimeException: unable to find a fb config
at net.runelite.rlawt.AWTContext.createGLContext(Native Method)
at net.runelite.client.plugins.gpu.GpuPlugin.lambda$startUp$1(GpuPlugin.java:312)
at net.runelite.client.callback.ClientThread.invokeList(ClientThread.java:119)
at net.runelite.client.callback.ClientThread.invoke(ClientThread.java:101)
at net.runelite.client.callback.Hooks.tick(Hooks.java:226)
at client.ke(client.java:19485)
at client.bu(client.java)
at bo.am(bo.java:391)
at bo.iz(bo.java)
at bo.run(bo.java:9213)
at java.base/java.lang.Thread.run(Thread.java:1583)
Screenshots or videos
No response
RuneLite version
Runelite version: 1.10.45
Launcher version 1.10.45
Logs
client.log
launcher.log

What is the output of glxinfo -B?

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 6144 MB
Total available memory: 6144 MB
Currently available dedicated video memory: 5241 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 565.57.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6.0 NVIDIA 565.57.01
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 565.57.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

@AliceWilliamson did you get it working?
Im also now having this issue after a recent arch system update. similar glxinfo -B output.
the error log for the 117HD plugin seems to have more hints
2024-12-17 19:38:21 EST [Client] ERROR rs117.hd.HdPlugin - Error while starting 117HD
java.lang.RuntimeException: unable to find a fb config
        at net.runelite.rlawt.AWTContext.createGLContext(Native Method)
        at rs117.hd.HdPlugin.lambda$startUp$1(HdPlugin.java:518)
        at net.runelite.client.callback.ClientThread.invokeList(ClientThread.java:119)
        at net.runelite.client.callback.ClientThread.invoke(ClientThread.java:101)
        at net.runelite.client.callback.Hooks.tick(Hooks.java:226)
        at client.gj(client.java:30423)
        at client.bu(client.java)
        at bo.qn(bo.java:391)
        at bo.on(bo.java)
        at bo.run(bo.java:60039)
        at java.base/java.lang.Thread.run(Thread.java:840)
2024-12-17 19:38:22 EST [Client] ERROR n.r.client.callback.ClientThread - Exception in invoke
java.lang.ExceptionInInitializerError: null
        at org.lwjgl.opengl.GL$ICDStatic.get(GL.java:722)
        at org.lwjgl.opengl.GL.getICD(GL.java:689)
        at org.lwjgl.opengl.GL15C.glDeleteQueries(GL15C.java:1288)
        at rs117.hd.overlays.FrameTimer.lambda$destroy$2(FrameTimer.java:52)
        at net.runelite.client.callback.ClientThread.lambda$invokeLater$1(ClientThread.java:80)
        at net.runelite.client.callback.ClientThread.invokeList(ClientThread.java:119)
        at net.runelite.client.callback.ClientThread.invoke(ClientThread.java:101)
        at net.runelite.client.callback.Hooks.tick(Hooks.java:226)
        at client.gj(client.java:30423)
        at client.bu(client.java)
        at bo.qn(bo.java:391)
        at bo.on(bo.java)
        at bo.run(bo.java:60039)
        at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.IllegalStateException: No GLCapabilities instance has been set
        at org.lwjgl.opengl.GL$ICDStatic$WriteOnce.<clinit>(GL.java:732)
        ... 14 common frames omitted
2024-12-17 19:38:22 EST [Client] ERROR n.r.client.callback.ClientThread - Exception in invoke
java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.opengl.GL$ICDStatic$WriteOnce
        at org.lwjgl.opengl.GL$ICDStatic.get(GL.java:722)
        at org.lwjgl.opengl.GL.getICD(GL.java:689)
        at org.lwjgl.opengl.GL15C.glDeleteQueries(GL15C.java:1288)
        at rs117.hd.overlays.FrameTimer.lambda$destroy$2(FrameTimer.java:52)
        at net.runelite.client.callback.ClientThread.lambda$invokeLater$1(ClientThread.java:80)
        at net.runelite.client.callback.ClientThread.invokeList(ClientThread.java:119)
        at net.runelite.client.callback.ClientThread.invoke(ClientThread.java:101)
        at net.runelite.client.callback.Hooks.tick(Hooks.java:226)
        at client.gj(client.java:30423)
        at client.bu(client.java)
        at bo.qn(bo.java:391)
        at bo.on(bo.java)
        at bo.run(bo.java:60039)
        at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: No GLCapabilities instance has been set [in thread "Client"]
        at org.lwjgl.opengl.GL$ICDStatic$WriteOnce.<clinit>(GL.java:732)
        ... 14 common frames omitted

tried downgrading my jdk just in case but that doesn't seem to make a difference.

Which wm / wayland compositor do you use?

I just figured it out for my specific issue thanks to this discord comment
flatpak update fixed it for me. I had no idea flatpak had its own set of drivers

I just figured it out for my specific issue thanks to this discord comment
flatpak update fixed it for me. I had no idea flatpak had its own set of drivers

I actually just came here to post this. This worked for me as well.


Substitute equazione with espressione in italian translation

The bot show an mathematical expression (format 2+3) instead of a mathematical equation (format 2+3=x), this MR correct the term for the italian transaltion.

Thank you!


[Frontend][Onnx] Simplify onnx input since name accesses are not reliable.

A while back @mbrookhart and I implemented the onnx_input class to support accessing inputs by index or name. However, it turned out that onnx node names are inconsistent and shouldnt be used. Although all tests have been updated to access inputs only by index, the onnx_input class maintained support for names which could allow errors to slip in if used. This PR removes that capability. Instead onnx_input is now a simple wrapper around list that returns None when indices are out of range. This is useful since Onnx often does not provide inputs in lieu of using a None value.
I also snuck in a change to where the Celu converter is since it was placed in the wrong region of the importer file.

Onnx has strict conventions around input ordering. Any optional input that isnt used, but has other inputs after it that are used, must explicitly be set to None. If this convention isnt followed it would be impossible to tell which input is which. This is the key point that @mbrookhart and I weren't aware of when we tried to use input names.


Link to the bootstrap script doesn't exist

curl -L https://github.com/com-lihaoyi/mill/releases/download/0.12.0-M0/0.12.0-M0 > mill && chmod +x mill
echo 0.12.0-M0 > .mill-version

https://mill-build.org/mill/Scala_Installation_IDE_Support.html#_bootstrap_scripts
The link to the bootstrap script doesn't exist. This is because there's no release 0.12.0-M0, only a tag.

Should be fixed by https://github.com/com-lihaoyi/mill/commit/0e9b7cd0b952e89cd619636a6f16657202a2eed4 I think, should go live on the website in the next hour or so

Thanks for the report!


Downgrade Microsoft.Diagnostics.Runtime back to avoid AOT issues with iOS

Resolves https://github.com/ppy/osu/issues/13302
Resolves the first point mentioned in https://github.com/ppy/osu-framework/issues/4677
Works around https://github.com/mono/mono/issues/21188.

This is the simplest solution for the time being. Ideally we wouldn't want this package to be included in Xamarin projects to begin with, but not really sure if there's a simple way to do that without using #if directives (not sure we want that).

Please add an inline comment mentioning this so we don't accidentally upgrade it in the future.


CI: Suite-k8s-1.20.K8sFQDNTest Validate that FQDN policy continues to work after being updated: Cannot install fqdn proxy policy (Race detection pipeline)

The race detection pipeline in the master CI run below hit a data race in FQDN selectorcache handling:
https://jenkins.cilium.io/job/cilium-master-gke-race-detection/232/testReport/junit/Suite-k8s-1/20/K8sFQDNTest_Validate_that_FQDN_policy_continues_to_work_after_being_updated/
326b434b_K8sFQDNTest_Validate_that_FQDN_policy_continues_to_work_after_being_updated.zip
2021-12-10T03:01:32.364853340Z level=debug msg="getting identities for IPs associated with FQDNSelector" fqdnSelector="{ jenkins.cilium.io}" ips="[<IP_ADDRESS>]" subsys=policy
2021-12-10T03:01:32.367702292Z POTENTIAL DEADLOCK: Inconsistent locking. saw this ordering in one goroutine:
2021-12-10T03:01:32.368247653Z happened before
2021-12-10T03:01:32.368469751Z level=debug msg="Finished writing ELF" error="<nil>" new-elf-path=162_next/bpf_lxc.o subsys=elf template-path=/var/run/cilium/state/templates/19c6f9a6547a6490c400baec0351575eae8c10c1a0a1312aea694b1769eac69b/bpf_lxc.o
2021-12-10T03:01:32.368797722Z /go/src/github.com/cilium/cilium/pkg/lock/lock_debug.go:52 lock.(*internalRWMutex).Lock ??? <<<<<
2021-12-10T03:01:32.368920020Z /go/src/github.com/cilium/cilium/pkg/lock/lock_debug.go:51 lock.(*internalRWMutex).Lock ???
2021-12-10T03:01:32.368937525Z /go/src/github.com/cilium/cilium/pkg/ipcache/metadata.go:102 ipcache.InjectLabels ???
2021-12-10T03:01:32.369002016Z /go/src/github.com/cilium/cilium/pkg/ipcache/metadata.go:428 ipcache.(*IPCache).TriggerLabelInjection.func1 ???
2021-12-10T03:01:32.369011714Z /go/src/github.com/cilium/cilium/pkg/controller/controller.go:212 controller.(*Controller).runController ???
2021-12-10T03:01:32.369063739Z
2021-12-10T03:01:32.369086883Z happened after
2021-12-10T03:01:32.369167813Z /go/src/github.com/cilium/cilium/pkg/lock/lock_debug.go:52 lock.(*internalRWMutex).Lock ??? <<<<<
2021-12-10T03:01:32.369179567Z /go/src/github.com/cilium/cilium/pkg/lock/lock_debug.go:51 lock.(*internalRWMutex).Lock ???
2021-12-10T03:01:32.369234731Z /go/src/github.com/cilium/cilium/pkg/policy/selectorcache.go:949 policy.(*SelectorCache).UpdateIdentities ???
2021-12-10T03:01:32.369267988Z /go/src/github.com/cilium/cilium/pkg/ipcache/metadata.go:157 ipcache.InjectLabels ???
2021-12-10T03:01:32.369338656Z /go/src/github.com/cilium/cilium/pkg/ipcache/metadata.go:428 ipcache.(*IPCache).TriggerLabelInjection.func1 ???
2021-12-10T03:01:32.369398093Z /go/src/github.com/cilium/cilium/pkg/controller/controller.go:212 controller.(*Controller).runController ???
2021-12-10T03:01:32.369429192Z
2021-12-10T03:01:32.369437693Z in another goroutine: happened before
2021-12-10T03:01:32.369497565Z /go/src/github.com/cilium/cilium/pkg/lock/lock_debug.go:52 lock.(*internalRWMutex).Lock ??? <<<<<
2021-12-10T03:01:32.369562405Z /go/src/github.com/cilium/cilium/pkg/lock/lock_debug.go:51 lock.(*internalRWMutex).Lock ???
2021-12-10T03:01:32.369594340Z /go/src/github.com/cilium/cilium/pkg/policy/selectorcache.go:803 policy.(*SelectorCache).AddFQDNSelector ???
2021-12-10T03:01:32.369685210Z /go/src/github.com/cilium/cilium/pkg/policy/l4.go:483 policy.(*L4Filter).cacheFQDNSelector ???
2021-12-10T03:01:32.369772465Z /go/src/github.com/cilium/cilium/pkg/policy/l4.go:472 policy.(*L4Filter).cacheFQDNSelectors ???
2021-12-10T03:01:32.369807150Z /go/src/github.com/cilium/cilium/pkg/policy/l4.go:576 policy.createL4Filter ???
2021-12-10T03:01:32.369881705Z /go/src/github.com/cilium/cilium/pkg/policy/rule.go:773 policy.mergeEgressPortProto ???
2021-12-10T03:01:32.369921049Z /go/src/github.com/cilium/cilium/pkg/policy/l4.go:696 policy.createL4EgressFilter ???
2021-12-10T03:01:32.369951689Z /go/src/github.com/cilium/cilium/pkg/policy/rule.go:678 policy.mergeEgress ???
2021-12-10T03:01:32.370024143Z /go/src/github.com/cilium/cilium/pkg/policy/rule.go:808 policy.(*rule).resolveEgressPolicy ???
2021-12-10T03:01:32.370097929Z /go/src/github.com/cilium/cilium/pkg/policy/rules.go:102 policy.ruleSlice.resolveL4EgressPolicy ???
2021-12-10T03:01:32.370164512Z /go/src/github.com/cilium/cilium/pkg/policy/repository.go:704 policy.(*Repository).resolvePolicyLocked ???
2021-12-10T03:01:32.370193675Z /go/src/github.com/cilium/cilium/pkg/policy/distillery.go:119 policy.(*PolicyCache).updateSelectorPolicy ???
2021-12-10T03:01:32.370249204Z /go/src/github.com/cilium/cilium/pkg/endpoint/policy.go:229 endpoint.(*Endpoint).regeneratePolicy ???
2021-12-10T03:01:32.370279602Z /go/src/github.com/cilium/cilium/pkg/endpoint/policy.go:229 endpoint.(*Endpoint).regeneratePolicy ???
2021-12-10T03:01:32.370325444Z /go/src/github.com/cilium/cilium/pkg/endpoint/bpf.go:816 endpoint.(*Endpoint).runPreCompilationSteps ???
2021-12-10T03:01:32.370354485Z /go/src/github.com/cilium/cilium/pkg/endpoint/bpf.go:583 endpoint.(*Endpoint).regenerateBPF ???
2021-12-10T03:01:32.370381522Z /go/src/github.com/cilium/cilium/pkg/endpoint/policy.go:405 endpoint.(*Endpoint).regenerate ???
2021-12-10T03:01:32.370427749Z /go/src/github.com/cilium/cilium/pkg/endpoint/events.go:65 endpoint.(*EndpointRegenerationEvent).Handle ???
2021-12-10T03:01:32.370493296Z /go/src/github.com/cilium/cilium/pkg/eventqueue/eventqueue.go:246 eventqueue.(*EventQueue).run.func1 ???
2021-12-10T03:01:32.370524594Z /usr/local/go/src/sync/once.go:69 sync.(*Once).doSlow ???
2021-12-10T03:01:32.370552045Z /usr/local/go/src/sync/once.go:60 sync.(*Once).Do ???
2021-12-10T03:01:32.370580163Z /go/src/github.com/cilium/cilium/pkg/eventqueue/eventqueue.go:254 eventqueue.(*EventQueue).run ???

...

Haven't confirmed (can't see the logs) but this may also be the cause for the following failure in Suite-k8s-1.16.K8sUpdates Tests upgrade and downgrade from a Cilium stable image to master, as this is also a race detection pipeline:
https://jenkins.cilium.io/job/cilium-master-k8s-1.16-kernel-4.9-race-detection/243/testReport/junit/Suite-k8s-1/16/K8sUpdates_Tests_upgrade_and_downgrade_from_a_Cilium_stable_image_to_master/

CC @christarazi due to label injector link.

I believe this should be fixed by https://github.com/cilium/cilium/pull/18343.


Avatar tests should verify resized avatar has right size, not the actual bytes

Fixes: #1414

Automated message from Dropbox CLA bot
@TigorC, it looks like you've already signed the Dropbox CLA. Thanks!

@TigorC note that the Fixes item should be on its own line, not in the first line of the commit message.
Check out the Zulip commit message guidelines for more details: https://zulip.readthedocs.io/en/latest/version-control.html#commit-messages
Also, there's no need to read in the file; we can just check that the size is (100, 100).  I'll just tweak those things and merge this, thanks @TigorC!

Merged as d0f37b4c882241ea1619d10166f66418b5302f6d


Support for COLLECT(node) in the return clause

When I attempt to use COLLECT on a return node, the Transformer class currently returns null.  I would like to get the array of transformed values - or alternatively specify a custom transformer with the connection initializer.
Thanks for all the great work!

This is probably caused by the same issue as #22. The transformer needs some improvements and it's probably going to be the next thing I work on.
I've thought beforehand about allowing a custom transformer but I think there are other problems which should probably be prioritised first.