Show ROT13 paths in readable form

When uninstalling Python 3.7.3 installed through Scoop, some paths show up as ROT13. (Related to #29, dee9452) In order to review them before deletion, it would be great if they were displayed in the non-ROT13 form. (But just nice-to-have, I don't suppose those registry entries are very important.)

These entries are just a recently opened file list, they can be safely removed. BCU actually does decode ROT13 internally but doesn't show the result. I'll see if it's easy to fix.


Custom portal file referred as / appended, and not found

Welcome 👋
Please keep in mind that GitHub is our office. We invite you to share any bug reports here 🐛..
For anything else please use https://forum.ghost.org 👫
Issue Summary
For Ghost instance built from source, portal file that is referred from in config..json is not found, because of extra "/" character appended to the search path.
To Reproduce
Using Ghost built from source,

Clone Portal repository and make umd/portal.min.js
From Ghost root directory, copy the previous Portal/umd/portal.min.js to content/themes/<theme_name>/assets/built/portal.min.js
modify config..json as written in Portal repo's README and refer to the newly copied portal.min.js

Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
When you start the ghost server and load the url, you notice that you get an error loading the portal file
INFO "GET /assets/built/portal.min.js/" 404 69ms

of course, because there is an extra "/" attached at the end.  The server needs to try to load /assets/built/portal.min.js (no end slash)
Technical details:

Ghost Version: 4.3.2
Node Version:  14.15.0
Browser/OS: ubuntu
Database: sqlite3

BTW this lookup of custom portal was working as of commit 90f5a97c15fa390066d42fb8cabffae43d673fd4 April 21st.

I don't know what's going on, from Safari it didnt work, but from Chrome the portal file is referred to correctly without the ending "/".

BTW, for those of you who might be having the same problem, the problem had nothing to do with Ghost, I was using nginx to serve https contents and nginx was appending / after portal js file.  The problem went away after restarting nginx.


Delete application spring-petclinic from this environment

The command jx delete application was run by david and it generated this Pull Request

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dcanadillas: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

promotion-build
e7534a0ce8ebb21fb8d31263c6ea4f17288a07d1
link
/test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Implementing a saturation/lightness picker with useMove

📝 Feedback
Hey, I'm having a blast implementing components with the library, amazing work! I'm trying to make a simple saturation/lightness picker, trying to stick as closely as possible to react-aria.

🔦 Context
In the usual color picker UX, the user can click anywhere on the element to set the sl value, or they can click + drag to move the cursor around. I hacked this together by following the useMove example but putting the moveProps on the element instead of the cursors, allowing me to click anywhere and drag.
Which brings me to 2 problems:

now the focus would be on the element, not the cursor (which is a minor problem in this case)
I don't have a way to know where the user initially clicked, since the hook only returns the movement delta

The solution here could be adding additional info like the position of the pointerDown event ( or even the whole event, and let details be implemented in userland )
Thanks for your time, cheers!
💻 Code Sample
https://codesandbox.io/s/react-aria-color-lvvzo?file=/src/App.js

@gsimone, is your issue related to the fact that there is not any listener on the "click" or "pointerDown" event?

And also that the user has to move 1px before the onMoveStart event is called

Take a look at how it's done in useSlider, useColorSlider, and useColorWheel. You'll need to put an additional useMove handler on the background in addition to the thumb.

@gsimone would you be interested in contributing this component? We have a ticket for it already (#1118) but if you're already working on it, seems silly to duplicate efforts. Let me know if the API defined there makes sense to you.

Going to close this issue in favor of the existing one (#1118). Hopefully the original question is answered. 😄


Question: About Proxy

Do we need to add proxy or hianime.to does not ban any ip ?

This API has been active since 1 year and haven't faced any IP ban issues since. So it's safe to assume that hianime doesn't ban IPs.

can you share your traffic count ? thank you.

okay, thanks for sharing this much, i guess i will have to check on production can you tell me , if i have to implement proxy i will just have to implement it in the client.ts only  ?

Since this is just a library do it however you want. It isn't opinionated. Also you can use this https://github.com/itzzzme/m3u8proxy for streaming links i.e. m3u8 proxy.

Thanks for sharing this but i use this in my other project : https://github.com/warren-bank/HLS-Proxy

Thanks for sharing that too.


[Snyk] Fix for 5 vulnerabilities

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

pkg/new-ui/v1beta1/frontend/package.json
pkg/new-ui/v1beta1/frontend/package-lock.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

484/1000  Why? Has a fix available, CVSS 5.4
Open Redirect SNYK-JS-KARMA-2396325
No
No Known Exploit

731/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 8.2
Prototype Pollution SNYK-JS-LODASHES-2434283
No
Proof of Concept

681/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.2
Command Injection SNYK-JS-LODASHES-2434284
No
Proof of Concept

686/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.3
Prototype Pollution SNYK-JS-LODASHES-2434285
No
Proof of Concept

586/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS) SNYK-JS-LODASHES-2434289
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages

Package name: karma
    The new version differs by 5 commits.

ab4b328 chore(release): 6.3.16 [skip ci]
ff7edbb fix(security): mitigate the "Open Redirect Vulnerability"
c1befa0 chore(release): 6.3.15 [skip ci]
d9dade2 fix(helper): make mkdirIfNotExists helper resilient to concurrent calls
653c762 ci: prevent duplicate CI tasks on creating a PR

See the full diff

Package name: lodash-es
    The new version differs by 6 commits.

11eb817 Bump to v4.17.21
42e2585 Bump to v4.17.20.
4d5fdc4 Bump to v4.17.15.
15421d1 Bump to v4.17.14.
0786641 Bump to v4.17.13.
51c827f Bump to v4.17.12.

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Open Redirect
🦉 Prototype Pollution
🦉 Regular Expression Denial of Service (ReDoS)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.857%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3111

Relevant Lines:
4270

💛  - Coveralls


System.Threading.SynchronizationLockException: Cannot wait on monitors on this runtime.

This is in a Blazor WebAssembly app. Trying to load DynamoDB items with the object persistence model, I receive a SynchronizationLockException on LoadAsync(). However, the same operation works fine with the low-level API.
Expected Behavior
I should receive a "Book" object.
Current Behavior
Doing:
Book book = await dynamoDBContext.LoadAsync<Book>(1);

Throws:
System.Threading.SynchronizationLockException: Cannot wait on monitors on this runtime.

See details below.
Steps to Reproduce (for bugs)
Create a test DynamoDB table called Book with an index called "Id" (number).
Create a new Blazor WebAssembly project in Visual Studio (client side template). This will create the default Blazor app for you. Then replace/create the following files. Don't forget to replace "XXX" by your own credentials to access the table of course.
Replace Program.cs with:
using Amazon;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.DataModel;
using Amazon.DynamoDBv2.Model;
using Amazon.Runtime;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;

namespace AWSTest1
{
    class HttpInjectorFactory : HttpClientFactory
    {
        private readonly HttpClient _injectedClient;

        public HttpInjectorFactory(HttpClient injectedClient)
        {
            _injectedClient = injectedClient;
        }

        public override HttpClient CreateHttpClient(IClientConfig clientConfig)
        {
            return _injectedClient;
        }

        public override bool DisposeHttpClientsAfterUse(IClientConfig clientConfig)
        {
            return false;
        }

        public override bool UseSDKHttpClientCaching(IClientConfig clientConfig)
        {
            return false;
        }
    }

    public class Program
    {
        public static async Task Main(string[] args)
        {
            var builder = WebAssemblyHostBuilder.CreateDefault(args);
            builder.RootComponents.Add<App>("app");
            builder.Services.AddSingleton(new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
            var host = builder.Build();

            AWSConfigs.RegionEndpoint = RegionEndpoint.USEast2;
            AWSConfigs.HttpClientFactory = new HttpInjectorFactory(host.Services.GetRequiredService<HttpClient>());
            AWSConfigs.UseAlternateUserAgentHeader = true;

            // Request Book id 1 using low-level API, no error

            var dynamoDBClient = new AmazonDynamoDBClient("XXX", "XXX");

            Dictionary<string, AttributeValue> key = new Dictionary<string, AttributeValue>
            {
                { "Id", new AttributeValue { N = "1" } }
            };

            GetItemRequest request = new GetItemRequest
            {
                TableName = "Book",
                Key = key,
            };

            var result = await dynamoDBClient.GetItemAsync(request);

            // Request Book id 1 using object persistence model, throws SynchronizationLockException
            var dynamoDBContext = new DynamoDBContext(dynamoDBClient);
            Book book = await dynamoDBContext.LoadAsync<Book>(1);

            await host.RunAsync();
        }
    }
}

Create Book.cs:
using Amazon.DynamoDBv2.DataModel;

namespace AWSTest1
{
    [DynamoDBTable("Book")]
    public class Book
    {
        [DynamoDBHashKey]
        public int Id { get; set; }
    }
}

Your Environment

AWSSDK.Core version used: <IP_ADDRESS>
Service assembly and version used: AWSSDK.DynamoDBv2 <IP_ADDRESS>
Operating System and version: Windows 10.0.18363
Visual Studio version: 16.6.0 Preview 5.0
Targeted .NET platform: .NET Standard 2.1

I've edited my OP with more details for easier reproduction.

Yes, unfortunately the object persistence layer isn't going to work in Blazor WebAssembly. It uses an internal synchronous to load table metadata which causes the SynchronizationLockException exception.
We are hoping to do some major work to the object persistence layer to remove that synchronous load call but that work isn't scheduled yet.
Sorry for the inconvenience but thank you for pointing this out, it helps me push to get this work prioritized.

Bummer, but I'm glad it's on your radar. Hopefully it can be prioritized soon enough! I think Blazor WebAssembly is a game changer for web app development and about to blow up! Obviously well-supported at Azure, but some of us would like to use it on AWS 👍

@gb1337 Totally agree and I'm very excited for Blazor WebAssembly. We have been doing work on the SDK to get it ready for Blazor but in the case of the DynamoDB object persistence layer getting rid of the sync call is going to cause a significant redesign of the library. We need to do that work because it affects other things besides Blazor but we just got to get the dedicated time for it.
I would appreciate any other feedback you have with Blazor WebAssembly.

I will make sure to provide feedback as I experiment more. One trouble spot has been the lack of documentation and the fact that things don't seem to be in sync between the docs and the libs. I've had to rely on outside blogs a lot.

@normj can you please confirm that the Document models suffers from the same issue as well? I thought I could use it but I'm getting the same error... Ouch

Also, should I expect to have the same experience if I try to load static files in Blazor using Http.GetStreamAsync?


Screenshot and CSV downloads added.

Details

This PR aims to resolve #74 .
It provides two buttons in the UI component just before the timetable, that allows the users to download the PNG image of timetable, and a CSV record of the selected courses.

Updated UI

CSV file

Screenshots Captured

Desktop version:

Mobile version:

@namsnath please have a look, and do tell me if something needs to be updated : )

@namsnath should I keep the base of PR as dev or master?

Keep the base as dev please
I'll add comments after a bit, the screenshots look good tho

Hi @brij1999, you seem to have branched off from master.
Could you open a new PR branched off from dev like I mentioned in #74?
There are more changes required that I'll add in the new PR.
Also, please commit the updated package.json and package-lock.json files in the new PR

Omg I totally forgot about the local dev.

Insert giant face-palm here *😅
On it bro.

Yeah, a re-fork and copy-paste should do the job. There are some commits on master that are not on dev, which will be fixed in the next merge.
And dev has changes which will break your code, so check those out too before the PR.


handle null ComputerName

Type of Change

[x] Bug fix (non-breaking change, fixes #6632 )
[ ] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
[Microsoft.SqlServer.Management.Smo.Server may return null computername ,so Resolve-NetBiosName、Resolve-SqlIpAddress will return null too, and cause other function fails.

PS C:\> [Microsoft.SqlServer.Management.Smo.Server]"mydb"|fl *name*

ClusterName                 :
ComputerNamePhysicalNetBIOS : MYDB
FilestreamShareName         : MSSQLSERVER
InstanceName                :
NamedPipesEnabled           : False
NetName                     : MYDB
ServiceName                 : MSSQLSERVER
SqlCharSetName              : cp936
SqlSortOrderName            : bin_ascii_8
Name                        : mydb
DomainName                  : SMO
DomainInstanceName          : MYDB

Approach
modify Resolve-NetBiosName and Resolve-SqlIpAddress to handle null computername .
Commands to test

Screenshots

Learning

I'm closing this PR as this change and the error provided are not reproducible by our test or manual testing I've done in my lab.
Discussion can continue in your issue.


Readme: Setup: Clarify rqst token path on windows platforms

'~' is not standard on windows, may cause confusion

Could not confirm working on system


change to behaviour of the ec2facts process

If you add this module to a control repo. the fact will fire on all machines even if the class is not declared.  at this point tje resources have not already been deployed.. example awscli and creds
this module will break nodes that are

on aws but do not have creds
on aws already using default creds (default profile collision)
not on aws (longer facter runs) (well sort of because of http lookup failure)

what this pull request hopes to achieve is to

if using creds file do not use [default] profile instead use --profile=puppet_ec2tags and move the creds into that section of the config
tell facter to use --profile=puppet_ec2tags if file /root/.aws/.ectags_use_credentials_file exists
adds an ability to disable facter from being fired. ( via /root/.aws/.ec2tags_enabled file) meaning it will not run unless this class has been declared or the admin has declared they want it.

The downside to this is that facter will not get ec2_tags the first time around.
The upside is that it will deploy faster first time and no prfile cred collisons

If you want a faster deploy time check out the branch in #21. It explicitly checks for permission and if it isn't granted does not bother retrying the query.


[WIP] Document Consistent Reads from Cache

Empty PR for https://github.com/kubernetes/enhancements/issues/2340
Don't expect there is a need to document KEP 2340. It introduces just feature gate that changes internal kube-apiserver logic. No user facing effects aside of chaning performance characteristics.
cc @jpbetz @deads2k @wojtek-t @mborsz

/retitle [WIP] Document Consistent Reads from Cache
Empty PRs are not required; we'll drop this unless there is a change to make. For example, if the feature gate WatchCacheConsistentReads that the KEP mentions is indeed used, then we'll need to document that.

/sig api-machinery

Empty PRs are not required; we'll drop this unless there is a change to make. For example, if the feature gate WatchCacheConsistentReads that the KEP mentions is indeed used, then we'll need to document that.

It's actually used (as Alpha), but there shouldn't be any change from users POV - it's an implementation detail that changes here. So I'm not sure if we need documentation or not here...

I'm very sure you'll need to update https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/ -  however, the docs team from SIG Release can provide a confirmation if you're sure I'm wrong @serathius.

Hey @serathius! I'm from the Docs team for v1.28. The deadline for Docs PR ready for review is tomorrow (July 25th). It is my understanding that if this feature gate is touched, even if its an implementation detail, that needs to be documented by updating what @sftim linked above.

@wojtek-t / @serathius - could you update this PR?

Done.

LGTM for docs
Even though the change looks small, this should get a tech review from SIG API Machinery (to confirm there is nothing else that end users need to know, or might reasonably need to know).
For example, if some cluster operators might benefit from enabling the alpha feature, right now we're not explaining that anywhere. If this moves to disabled-but-now-beta, we'll definitely need docs.

/approve
/lgtm
For technical content

This isn't passing Netlify's tests. That may well be a Netlify thing; anyway the easiest way to deal with that is to rebase against upstream's dev-1.28 branch and force-push.

I pushed a punctuation fix to try to nudge Netlify.

I pushed a punctuation fix to try to nudge Netlify.

That seems to have fixed it: https://deploy-preview-42083--kubernetes-io-vnext-staging.netlify.app/ . IMO this looks good to merge?

/lgtm


Sum aggregate query return null instead of 0

Laravel Version: 5.2.0
PHP Version:5.6.4
Database Driver & Version:
"jenssegers/mongodb": "^2.2"

Description:
$qty= $this->makeModel()
->where('type', '1')
->sum('qty');
returns $qty = null in 5.2
and return 0 in 5.1  please tell how to solve this issue.
I want 0 in value
Steps To Reproduce:

That's a known issue in 5.2 but it was fixed in 5.3, you can cast it to integer or double to get the same result.

@themsaid i have already casted qty to double but same result

(double) null == 0.0 Same result how?

@themsaid not that way i had casted in model double..that way i m getting..I am using many time i don't want to change everywhere

The thing is 5.2 is technically closed for fixes, are you willing to upgrade to 5.3 ?

@themsaid ok will update 5.3

Thanks, or at least upgrade to 5.2 latest, 5.2.0 is too out of date :)

@themsaid ok sure..


soften edges of wall/ceiling/floor planes when entity.plane.opacity = false

As discussed, I'd like to soften the edges of the plane anchors when opacity is disabled, such that it is a slow transition from seeing the physical environment to seeing the virtual environment behind it.
This when 2 connected planes have opacity disabled there should be not gradient where they connect, such the connected edge is not visible.
Here's a video illustrating the gradient I'm thinking of:
https://www.youtube.com/watch?v=scBY3cVyeyA

And some images. The red is indicates the virtual content, not the expected color. Tried to illustrate a gradient.

Maybe start with rounding the edges and then jump to the gradient.


Double clicking on a folder anywhere opens the home page in Windows Explorer after uninstalling the app!

Description
There are too many bugs in the app for me to use it in my work laptop so i uninstalled it. After uninstalling, double clicking on a folder anywhere just opens the home page in Windows explorer.
Steps To Reproduce

Uninstall the Files Application
Double click on any folder

Expected behavior
Double clicking the folder should open that folder, not the home page.
Files Version
<IP_ADDRESS>
Windows Version
Windows 11 21H2 22000.469
Relevant Assets/Logs
I can't open the log location in the settings of the app because clicking on the option opens the home page!

@razzlesama can you clarify what the home page is?

@razzlesama can you clarify what the home page is?

It's the windows explorer default page. - The page that opens when you press the Windows key + E.

@razzlesama can you try running this script to see if it helps? https://raw.githubusercontent.com/files-community/Files/main/src/Files.Launcher/Assets/FilesOpenDialog/UnsetFilesAsDefault.reg

@razzlesama can you try running this script to see if it helps? https://raw.githubusercontent.com/files-community/Files/main/src/Files.Launcher/Assets/FilesOpenDialog/UnsetFilesAsDefault.reg

This fixed it. I don't have admin privileges in my own account but i was able to log into the admin account and run the script and it worked for my account too.
Now i have files installed again because it's more convenient, but i hope "set as default" for the Files app is fixed in the future.
Thanks for the help :)


Persisting data

The tutorial.pdf says,

But the most important function of them all, the function without which all the other functions would be useless and nothing except error messages would ever persist to disk, is this:

Greeting:save().
{ok,{greeting,"greeting-1","Hello, world!"}}

However, that does NOT persists any data to disk: if I quit the server, then restart the server, all the data is gone. Furthermore, the tutorial does not provide any instructions on how to persist the data.  How do you connect to mysql? Does ChicagoBoss create a db in mysql for me?  Or, do I have to create the db in mysql by hand?
In my opinion, all those things should be addressed in the tutorial.
This is what I got to mostly work** (see end of my comment).  In the root of the project, there is a file called boss.config.  I made these changes:
%%%%%%%%%%%%%%
%% Database %%
%%%%%%%%%%%%%%

%% db_host - The hostname of the database. Defaults to "localhost".
%% db_port - The port of the database. Defaults to 1978.
%% db_adapter - The database adapter to use. Valid values are:
%%     mock - In-memory (non-persistent) database, useful for testing
%%     mnesia - Mnesia
%%     mongodb- MongoDB
%%     mysql - MySQL
%%     pgsql - PostgreSQL
%%     riak - Riak
%%     tyrant - Tokyo Tyrant
%% db_username - The username used for connecting to the database (if
%%   needed).
%% db_password - The password used for connecting to the database (if
%%   needed).
%% db_database - The name of the database to connect to (if needed).
%% db_cache_enable - Whether to enable the cache in boss_db. Defaults
%%   to false. Requires cache_enable to be set to true.
%% db_configure - Database adapter specific configuration options. Defaults to [].

    {db_host, "localhost"},
%   {db_port, 1978}, I commented this out
%   {db_adapter, mock},  I commented this out
%
%   {db_username, "boss"},
%   {db_password, "boss"},
%   {db_database, "boss"},
%   {db_configure, []},
%
% I added these:
   {db_port, 3306},  %defaut mysql port
   {db_adapter, mysql},
   {db_username, "root"},
   {db_password, ""},
   {db_database, "mydb"},  %I created mydb in mysql.

I'm actually using mariadb, but it is supposed to be a drop in replacement for mysql.  I start mariadb like this:
~$ mysql.server start
then I log into mysql like this:
~$ mysql -u root
which gets me to a mysql prompt:
mysql>
At the mysql prompt, I did the following:
mysql> show databases;
mysql> CREATE DATABASE mydb CHARACTER SET utf8
mysql> show databases;
mysql> use mydb;
mysql> show tables;

mysql> CREATE TABLE greetings (
    -> id INT(12) not null auto_increment primary key,
    -> greeting_text VARCHAR(100)
    -> );
Query OK, 0 rows affected (0.02 sec)

mysql> describe greetings;
+---------------+--------------+------+-----+---------+----------------+
| Field         | Type         | Null | Key | Default | Extra          |
+---------------+--------------+------+-----+---------+----------------+
| id            | int(12)      | NO   | PRI | NULL    | auto_increment |
| greeting_text | varchar(100) | YES  |     | NULL    |                |
+---------------+--------------+------+-----+---------+----------------+
2 rows in set (0.01 sec)

If things weren't working correctly, when I entered http://localhost:8001/greeting/list in my browser, I  saw output like the following in the terminal window where I started the server:
18:58:08.243 [notice] Module "greeting" Parameters ['Id','GreetingText'] Attributes[{compile,export_all}]
18:58:08.275 [info] Query SELECT * FROM greetings WHERE  TRUE ORDER BY id ASC
18:58:08.275 [error] SQL Error: "Table 'mydb.greetings' doesn't exist"  <#### HERE *****
18:58:08.331 [info] GET /greeting/list [cb_tutorial] 200 106ms

Look for a line that starts with [error].
After hooking up mysql, I could do this (by the way, I have to hit return to see the server prompt):
...
...
include"]},{compiler_options,[{parse_transform,lager_transform},return_errors]}]
19:28:57.763 [notice] Compile file "/Users/7stud/chicago_boss_apps/cb_tutorial/priv/init/cb_tutorial_01_news.erl" with options [{include_dirs,["/Users/7stud/chicago_boss_apps/cb_tutorial/include"]}]

(cb_tutorial@Me)1> Greeting1 = greeting:new(id, "Hello, world.").
{greeting,id,"Hello, world."}

(cb_tutorial@Me)2> Greeting1:save().
19:29:46.469 [info] Query INSERT INTO greetings (`greeting_text`) values ('Hello, world.')
19:29:46.471 [info] Query SELECT last_insert_id()
{ok,{greeting,"greeting-1","Hello, world."}}

(cb_tutorial@Me)3> Greeting2 = greeting:new(id, "Goodbye, mars.").
{greeting,id,"Goodbye, mars."}

(cb_tutorial@Me)4> Greeting2:save().
19:30:35.131 [info] Query INSERT INTO greetings (`greeting_text`) values ('Goodbye, mars.')
19:30:35.133 [info] Query SELECT last_insert_id()
{ok,{greeting,"greeting-2","Goodbye, mars."}}

(cb_tutorial@Me)5> boss_db:find(greeting, []).
19:31:08.949 [info] Query SELECT * FROM greetings WHERE  TRUE ORDER BY id ASC
[{greeting,"greeting-1",<<"Hello, world.">>},
 {greeting,"greeting-2",<<"Goodbye, mars.">>}]

Then when I hit Ctrl+C, then type a to abort, I can start up the server again, and my data is still there:
(cb_tutorial@Me)6>
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
       (v)ersion (k)ill (D)b-tables (d)istribution
a

~/chicago_boss_apps/cb_tutorial$ ./init-dev.sh
...
...
...

(cb_tutorial@Me)1> boss_db:find(greeting, []).
19:31:41.837 [info] Query SELECT * FROM greetings WHERE  TRUE ORDER BY id ASC
[{greeting,"greeting-1",<<"Hello, world.">>},
 {greeting,"greeting-2",<<"Goodbye, mars.">>}]

(cb_tutorial@Me)2>

**However, something isn't quite working correctly because when I delete a greeting I get an error:
cb_tutorial@Me)7> boss_db:delete("greeting-4").
19:47:55.196 [info] Query SELECT * FROM greetings WHERE id = 4
19:47:55.198 [info] Query DELETE FROM greetings WHERE id = 4
19:47:55.213 [info] Query DELETE FROM counters WHERE name = 'greeting-4'
ok
(cb_tutorial@Me)8> 19:47:55.213 [error] SQL Error: "Table 'mydb.counters' doesn't exist"

You can see in the [info] output that after ChicagoBoss deletes the greeting from the greetings table, ChicagoBoss then tries to delete the greeting from a table called counters.  I notice when I added a greeting, there was no output showing an attempt to add something to the counters table.  The error doesn't affect how the web page works, though.
Okay, I found some info on the counters table and setting up a persistent db in general.  It looks like you can ignore that error.

it's better to use mailing list for such issues


When clicking on Exchange menu the default is btc-to-usdt, how to change this to btc-to-eth or other default one?

When clicking on Exchange menu the default is btc-to-usdt, how to change this to btc-to-eth or other default one?

https://github.com/swaponline/MultiCurrencyWallet/issues/2868

现在一般的交易所项目方都直接接入支持全token的优盾钱包就好啦，API一键对接，还可以24小时免审代付


Installation Error: sudo make -j2 The Eigen/Array header does no longer exist in Eigen3. All that functionality has moved to Eigen/Core.

Issue summary
[  0%] Built target libmolgrid
[  1%] Generating _version.cpp
[  1%] Generating version.cpp
[  1%] Generating _version.cpp
[  2%] Building CXX object gninasrc/CMakeFiles/gninalibobj.dir/lib/atom_constants.cpp.o
[  3%] Building CUDA object gninasrc/CMakeFiles/gninalibobj.dir/lib/bfgs.cu.o
In file included from /usr/include/c++/11/tuple:39,
from /usr/include/c++/11/functional:54,
from /usr/include/c++/11/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/11/algorithm:74,
from /mnt/d/Z/gnina/gninasrc/lib/common.h:30,
from /mnt/d/Z/gnina/gninasrc/lib/atom_constants.h:26,
from /mnt/d/Z/gnina/gninasrc/lib/atom_constants.cpp:1:
/mnt/d/Z/gnina/gninasrc/../Eigen/array:8:4: error: #error The Eigen/Array header does no longer exist in Eigen3. All that functionality has moved to Eigen/Core.
8 |   #error The Eigen/Array header does no longer exist in Eigen3. All that functionality has moved to Eigen/Core.
|    ^~~~~
In file included from /usr/include/c++/11/tuple:39,
from /usr/include/c++/11/functional:54,
from /usr/local/cuda-12/include/cuda_runtime.h:122,
from :
/mnt/d/Z/gnina/gninasrc/../Eigen/array:8:4: error: #error The Eigen/Array header does no longer exist in Eigen3. All that functionality has moved to Eigen/Core.
8 |   #error The Eigen/Array header does no longer exist in Eigen3. All that functionality has moved to Eigen/Core.
|    ^~~~~
In file included from /usr/include/c++/11/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/11/algorithm:74,
from /mnt/d/Z/gnina/gninasrc/lib/common.h:30,
from /mnt/d/Z/gnina/gninasrc/lib/atom_constants.h:26,
from /mnt/d/Z/gnina/gninasrc/lib/atom_constants.cpp:1:
/usr/include/c++/11/functional:1097:13: error: ‘array’ was not declared in this scope; did you mean ‘valarray’?
1097 |       tuple<array<_Tp, _Len>, _Pred> _M_bad_char;
|             ^~~~~
|             valarray
/usr/include/c++/11/functional:1097:28: error: template argument 1 is invalid
1097 |       tuple<array<_Tp, _Len>, _Pred> _M_bad_char;
|                            ^
/usr/include/c++/11/functional:1097:28: error: template argument 2 is invalid
/usr/include/c++/11/functional:1097:29: error: expected unqualified-id before ‘,’ token
1097 |       tuple<array<_Tp, _Len>, _Pred> _M_bad_char;
|                             ^
/usr/include/c++/11/functional: In constructor ‘std::__boyer_moore_array_base<_Tp, _Len, _Pred>::__boyer_moore_array_base(_RAIter, std::size_t, _Unused&&, _Pred&&)’:
/usr/include/c++/11/functional:1069:11: error: class ‘std::__boyer_moore_array_base<_Tp, _Len, _Pred>’ does not have any field named ‘_M_bad_char’
1069 |         : _M_bad_char{ array<_Tp, _Len>{}, std::move(__pred) }
|           ^~~~~~~~~~~
/usr/include/c++/11/functional:1069:24: error: ‘array’ was not declared in this scope; did you mean ‘valarray’?
1069 |         : _M_bad_char{ array<_Tp, _Len>{}, std::move(__pred) }
|                        ^~~~~
|                        valarray
/usr/include/c++/11/functional:1069:33: error: expected primary-expression before ‘,’ token
1069 |         : _M_bad_char{ array<_Tp, _Len>{}, std::move(__pred) }
|                                 ^
/usr/include/c++/11/functional:1069:40: error: expected primary-expression before ‘{’ token
1069 |         : _M_bad_char{ array<_Tp, _Len>{}, std::move(__pred) }
|                                        ^
/usr/include/c++/11/functional:1069:40: error: expected ‘}’ before ‘{’ token
/usr/include/c++/11/functional:1069:22: note: to match this ‘{’
1069 |         : _M_bad_char{ array<_Tp, _Len>{}, std::move(__pred) }
|                      ^
/usr/include/c++/11/functional: In member function ‘std::__boyer_moore_array_base<_Tp, _Len, _Pred>::__diff_type std::__boyer_moore_array_base<_Tp, _Len, _Pred>::_M_lookup(_Key, std::__boyer_moore_array_base<_Tp, _Len, _Pred>::__diff_type) const’:
/usr/include/c++/11/functional:1091:30: error: ‘_M_bad_char’ was not declared in this scope; did you mean ‘__is_char’?
1091 |           return std::get<0>(_M_bad_char)[__ukey];
|                              ^~~~~~~~~~~
|                              __is_char
/usr/include/c++/11/functional: In member function ‘const _Pred& std::__boyer_moore_array_base<_Tp, _Len, _Pred>::_M_pred() const’:
/usr/include/c++/11/functional:1095:44: error: ‘_M_bad_char’ was not declared in this scope; did you mean ‘__is_char’?
1095 |       _M_pred() const { return std::get<1>(_M_bad_char); }
|                                            ^~~~~~~~~~~
|                                            __is_char
make[2]: * [gninasrc/CMakeFiles/gninalibobj.dir/build.make:424: gninasrc/CMakeFiles/gninalibobj.dir/lib/atom_constants.cpp.o] Error 1
make[2]: * Waiting for unfinished jobs....
make[2]: * [gninasrc/CMakeFiles/gninalibobj.dir/build.make:439: gninasrc/CMakeFiles/gninalibobj.dir/lib/bfgs.cu.o] Error 1
make[1]: * [CMakeFiles/Makefile2:965: gninasrc/CMakeFiles/gninalibobj.dir/all] Error 2
make: * [Makefile:146: all] Error 2
Steps to reproduce

Create conda env: conda create -c conda-forge -c gnina -n gnina python=3.10 zlib rdkit pytest numpy
Install cmake version 3.29 as this guide
Install openbabel and libmolgrid as README. (with sudo make)
cd gnina/build
cmake ..
sudo make -j2

Your system configuration
Operating system: WSL2 Ubuntu 22.04
Compiler: gcc 11.4.0
CUDA version (if applicable): 12.4
CUDNN version (if applicable): 9.0.0
Python version: 3.10.14

Duplicate #215

@dkoes please help me to solve it. Thank you very much.

If you provide a self-contained, reproducible example (e.g., a Docker container) I can look into it.

@dkoes What do you mean about self-contained? Is it docker image? I installed in WSL2 Ubuntu 22.04 from Windows 11. I think if it fail, there is no docker image built.

WSL is a virtual machine and the Ubuntu runs on it. The problems may are related to the version of cmake... The current version of cmake 3.28 does not give any errors, provided that prerequisites are satisfied.


Editing of already existing references

Codecov Report

Merging #26 (9561d81) into main (ce268e4) will increase coverage by 11.08%.
The diff coverage is 93.75%.

@@             Coverage Diff             @@
##             main      #26       +/-   ##
===========================================
+ Coverage   65.38%   76.47%   +11.08%
===========================================
  Files           1        1
  Lines          52       68       +16
  Branches        5        5
===========================================
+ Hits           34       52       +18
+ Misses         17       15        -2
  Partials        1        1

Impacted Files
Coverage Δ

src/services.py
76.47% <93.75%> (+11.08%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Filters

Hi,
I can't display filters on List.
my xxx-generator.yml :
builders:
    list:
        params:
            title: List for TestBundle
            display: [ mail, username, enabled ]
            filters:
                display: [ mail ]
            actions:
                new: ~
            object_actions:
                edit: ~
                delete: ~

composer.json :
"symfony2admingenerator/generator-bundle": "^2.0@beta",
 "symfony/symfony": "^2.7",

This issue is for GeneratorBundle


Sort by popular on explore

- would be nice if there would be also sort by popular available - not only unpopular

would be nice if there would be also sort by popular available - not only unpopular

The option [Recently Interacted] is what you need. It means sort by popular : )

ref #3507 & #842

@Jarsen136 Ic :D that does not make sense imo, or does it? My understanding is that it's the nfts that I've interacted with, wdyt?

I understand your concern any idea ow would you name it?
Sorting options are not related to your acount, everyon has the same results/options

The option [Recently Interacted] is what you need. It means sort by popular : )

Popular would mean to me "most interacted" which isn't the same has recently interacted but i may be wrong.

@roiLeo  ic, yeah, it's difficult to come up with a name - how is popularity currently defined - most interacted? I think we can phrase it as most interacted within a specific time frame? So, what should recently interacted items really show? Items that people click a lot? That could be popular too, right? Maybe "hot"?
It is obvious that "recently interacted" is not a great descriptive name, as it can be interpreted differently every time.
Wdyt?

So I wanted to open the same issue. 🫠
Recently interacted is in this case the opposite of Popular? I think this is very confusing.
I would go for the same naming - Unpopular/Popular. Least activity/Most activity. Recent activity/Least activity

Least activity/Most activity. Recent activity/Least activity

Hmm so what would be the difference between Least activity and Least activity 🤔

Those are only three different options for unpopular and recently interacted that we have. Only one of those three options will be :D


How to delete from Recents?

Hi,
Isn't really a shame that one can not delete anything from Recents ? Even deleted reports keep showing here.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 61e1e445-7f15-0f2a-f71a-1cc2bdd97fca
Version Independent ID: a96c4c4e-0d4f-060e-1b67-5b60c2652259
Content: Favorites in the Power BI service (dashboards, reports, apps) - Power BI
Content Source: powerbi-docs/consumer/end-user-favorite.md
Service: powerbi
Sub-service: pbi-explore
GitHub Login: @mihart
Microsoft Alias: mihart

Thanks for your comment, @gvggvg. This looks more like product rather than documentation feedback. You can submit product feedback or ideas for features by going to Power BI Ideas. You can also engage with the Power BI engineering team by being active in the Power BI Community.


JS data object class (in src/main/javascript/) should support both parse and serialise

data object can be instansiated by a dictionary object
once data object is instansiated, you can call dataobj.serialize() to get a DER-encoded ArrayBuffer.
the test cases be updated so that it instansiat a data object from a DEF file, then another data object is created from this one, then the result is serialized and produce an identical file. That is:

dataobj = new SignedDevconTciket(bufferFromFile)
bufferToFile = (new SignedDevconTicket(dataobj)).serialize()

The from and to files should end up identical.

This seems super easy to do since I already implemented an interface for objects that supports DER encoding; ASNEncodable. So this should just be a matter of renaming an interface and its method.

Hi Weiwu,
I have implemented the serialize method and updated the test cases in ParserSerializerTest.js. I am pushing my changes in branch - asn1js-parser-serializer
what I have tried is get Object from the existing der file and serialize it to new file. It creates exactly same DER data.
//get DER from object
let filePath="build/test-results/signed-devcon-ticket-new.der";
let finalDER;
finalDER = (new SignedDevconTicket(dataobj3)).serialize();
writeFileSync(filePath,  finalDER);
console.log("DER data is written to file"+filePath);

Now next goal is to instantiate dictionary object to be serialized.
// instantiate by a dictionary object and ENCODE it
let dataobj4;
dataobj4 = new SignedDevconTicket({
    ticket: {
        devconId:Uint8Array.from('6').buffer,
        ticketId: Uint8Array.from('48646').buffer,
        ticketClass:Uint8Array.from('0').buffer
    },

    commitment: new Uint8Array([4, 65, 4, 32, 100, 48, -54, -30, 2, -27, -6, -76, 28, -27, 75, 116, 114, 94, 69, 79, -8, 8, 114, 10, 3, -112, 55, -40, 64, 61, -107, -2, -3, -64, 53, 18, 44, -107, -65, -46, -82, 26, 72, -93, -12, 47, 11, -114, 120, -5, 121, 35, 81, -83, -30, 10, 34, 9, -93, 31, 78, -112, -36, 97, -92, -43, 15]).buffer,

    signatureValue: new Uint8Array([48, 68, 2, 32, 56, -37, 33, -74, -75, -73, -58, -110, -38, -83, -94, -74, 46, -69, -119, -27, -93, 110, 58, 60, -50, 102, 30, 56, 83, 43, -55, -84, -56, 92, 52, 27, 2, 32, 112, 70, 115, 33, -113, 119, -78, 71, -75, 81, -85, 60, 61, 116, -31, -17, -113, 79, 126, 58, -32, 64, 29, 83, 84, 38, 101, 58, -86, 94, -62, -94]).buffer

});
let finalDER2 = dataobj4.serialize();
writeFileSync('build/test-results/signed-devcon-ticket-new-2.der',  finalDER2);

I know value of the commitment and signatureValue is wrong here and needs to be calculated using PKI.js crypto stuff.
I am studying the Java code and found that computation of commitment and signatureValue is complex.
this.commitment = AttestationCrypto.makeCommitment(mail, AttestationType.EMAIL, secret);
this.signature = SignatureUtility.signDeterministic(asn1Tic.getEncoded(), keys.getPrivate());

My question is do we need to implement everything in JS same as what we are doing in Java, like shown above?
i.e. Using the email and the secret compute the commitment and signatureValue ?
Thanks!

Hi Weiwu,
I have implemented the serialize method and updated the test cases in ParserSerializerTest.js. I am pushing my changes in branch - asn1js-parser-serializer
what I have tried is get Object from the existing der file and serialize it to new file. It creates exactly same DER data.
//get DER from object
let filePath="build/test-results/signed-devcon-ticket-new.der";
let finalDER;
finalDER = (new SignedDevconTicket(dataobj3)).serialize();
writeFileSync(filePath,  finalDER);
console.log("DER data is written to file"+filePath);

Now next goal is to instantiate dictionary object to be serialized.
// instantiate by a dictionary object and ENCODE it
let dataobj4;
dataobj4 = new SignedDevconTicket({
    ticket: {
        devconId:Uint8Array.from('6').buffer,
        ticketId: Uint8Array.from('48646').buffer,
        ticketClass:Uint8Array.from('0').buffer
    },

    commitment: new Uint8Array([4, 65, 4, 32, 100, 48, -54, -30, 2, -27, -6, -76, 28, -27, 75, 116, 114, 94, 69, 79, -8, 8, 114, 10, 3, -112, 55, -40, 64, 61, -107, -2, -3, -64, 53, 18, 44, -107, -65, -46, -82, 26, 72, -93, -12, 47, 11, -114, 120, -5, 121, 35, 81, -83, -30, 10, 34, 9, -93, 31, 78, -112, -36, 97, -92, -43, 15]).buffer,

    signatureValue: new Uint8Array([48, 68, 2, 32, 56, -37, 33, -74, -75, -73, -58, -110, -38, -83, -94, -74, 46, -69, -119, -27, -93, 110, 58, 60, -50, 102, 30, 56, 83, 43, -55, -84, -56, 92, 52, 27, 2, 32, 112, 70, 115, 33, -113, 119, -78, 71, -75, 81, -85, 60, 61, 116, -31, -17, -113, 79, 126, 58, -32, 64, 29, 83, 84, 38, 101, 58, -86, 94, -62, -94]).buffer

});
let finalDER2 = dataobj4.serialize();
writeFileSync('build/test-results/signed-devcon-ticket-new-2.der',  finalDER2);

I know value of the commitment and signatureValue is wrong here and needs to be calculated using PKI.js crypto stuff.
I am studying the Java code and found that computation of commitment and signatureValue is complex.
this.commitment = AttestationCrypto.makeCommitment(mail, AttestationType.EMAIL, secret);
this.signature = SignatureUtility.signDeterministic(asn1Tic.getEncoded(), keys.getPrivate());

My question is do we need to implement everything in JS same as what we are doing in Java, like shown above?
i.e. Using the email and the secret compute the commitment and signatureValue ?
Thanks!

Hi @darakhbharat, sorry if I am misunderstanding the specific problem/assignment, but @oleggrib already implemented the  AttetsationCrypto in javascript, so you can use his code to compute these aspects and then your code to (de)serialise.
I think what you are specifically looking for is this https://github.com/TokenScript/attestation/blob/javascript-crypto/src/main/javascript/crypto/src/libs/AttestationCrypto.ts

Hi @darakhbharat, sorry if I am misunderstanding the specific problem/assignment, but @oleggrib already implemented the  AttetsationCrypto in javascript, so you can use his code to compute these aspects and then your code to (de)serialise.
I think what you are specifically looking for is this https://github.com/TokenScript/attestation/blob/javascript-crypto/src/main/javascript/crypto/src/libs/AttestationCrypto.ts

Hi @darakhbharat, sorry if I am misunderstanding the specific problem/assignment, but @oleggrib already implemented the AttetsationCrypto in javascript, so you can use his code to compute these aspects and then your code to (de)serialise.
I think what you are specifically looking for is this https://github.com/TokenScript/attestation/blob/javascript-crypto/src/main/javascript/crypto/src/libs/AttestationCrypto.ts

Great! Thanks! I will check this out and see how can I integrate it with my code.

Hi @darakhbharat, sorry if I am misunderstanding the specific problem/assignment, but @oleggrib already implemented the AttetsationCrypto in javascript, so you can use his code to compute these aspects and then your code to (de)serialise.
I think what you are specifically looking for is this https://github.com/TokenScript/attestation/blob/javascript-crypto/src/main/javascript/crypto/src/libs/AttestationCrypto.ts

Great! Thanks! I will check this out and see how can I integrate it with my code.

Hi Weiwu, Oleh,
The current status of the signedDevconTicket is almost near to completion except dictionary object initilization for commitment and signatureValue.
commitment:
I have tried port the Oleh's code and use it for the same but here are the issues I am facing for makeCommitment.
alphawallet\attestation\src\main\javascript\crypto_js\lib\AttestationCrypto.js
makeSecret(bytes = 48) {
	var array = new Uint8Array(bytes);
	if(typeof(window) !== 'undefined')
		window.crypto.getRandomValues(array);
	else
		getRandomValues(array);
	let output = '0x';
...

TypeError: getRandomValues is not a function. I have imported this as constant and added "get-random-values": "^1.2.2" dependency in package.json.
As we are not testing it on browser we don't have a window object hence we will need a else part for the same as shown in above piece of code.
signatureValue: I have not worked on it yet.
Oleh may have a quick suggestion / solution for this.
Weiwu, If we need JS version of implemeting all these data module( not TypeScript ) then yes we have to convert TypeScript to JavaScript.

Very good news and I'll check this morning

Hi, Bharat, can you chech last version of the code?
https://github.com/TokenScript/attestation/blob/javascript-crypto/src/main/javascript/crypto/src/libs/AttestationCrypto.ts#L193-L213
it should work for you.


[BUG] Scale Border Feature doesn't work.

Module Version: v0.3.1
I don't know how to copy the console log, but the bug is pretty simple to riproduce: just activating the scale border option on foundry vanilla makes the border disappear.
Chrome
Foundry  V10
DnD 5e

Should be fixed


The Quick Access item is not highlighted when clicking 'Reveal in Explorer' next to the activity log

Storage Explorer Version: 1.26.0-dev
Build Number: 20221006.3
Branch: feature branch
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Monterey 12.6 (Apple M1 Pro)
Architecture: ia32/x64
How Found: From running test cases
Regression From: Previous release (1.26.0)
Steps to Reproduce

Launch Storage Explorer -> Select one item. Like one storage account.
Pin it to the Quick Access node.
There is a successful activity log -> Click 'Reveal in Explorer' next to the activity log.
Check whether the Quick Access item is highlighted.

Expected Experience
The Quick Access item is highlighted.

Actual Experience
The Quick Access item is not highlighted.

Verified this issue on the build 20221102.12. Fixed. So, we are going to close it.


demo mode crashes

after a short time demo mode crashes
ID | Name       | Description          | Updated      || Kills | Deaths | Lives
--- | ---------- | -------------------- | ------------ || ----- | ------ | ------
A1 | ALICE      | fake fake fake fake  | 09:11:28.302 ||     0 |      5 |     0
B1 | BARTOLOMEO | fake fake fake fake  | 09:11:29.302 ||     5 |      0 |   255
fatal error: all goroutines are asleep - deadlock!
goroutine 1 [chan receive]:
main.commentAction(0xc000054540)
/home/runner/work/fpvc-lady/fpvc-lady/cmd/lady/comment.go:63 +0x3ad
github.com/urfave/cli/v2.(*Command).Run(0xc000172160, 0xc000054540, {0xc00002c3e0, 0x2, 0x2})
/home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.27.2/command.go:276 +0x97d
github.com/urfave/cli/v2.(*App).RunContext(0xc000160200, {0xe2c660, 0x112c100}, {0xc00002c3e0, 0x2, 0x2})
/home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.27.2/app.go:333 +0x58b
github.com/urfave/cli/v2.(*App).Run(...)
/home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.27.2/app.go:307
main.main()
/home/runner/work/fpvc-lady/fpvc-lady/cmd/lady/main.go:21 +0x419
goroutine 6 [chan receive]:
github.com/ysoldak/fpvc-lady/internal/tts.(*Tts).Run(...)
/home/runner/work/fpvc-lady/fpvc-lady/internal/tts/tts.go:51
created by main.commentAction in goroutine 1
/home/runner/work/fpvc-lady/fpvc-lady/cmd/lady/comment.go:26 +0xac
goroutine 8 [chan receive]:
main.trace()
/home/runner/work/fpvc-lady/fpvc-lady/cmd/lady/trace.go:22 +0x12c
created by main.commentAction in goroutine 1
/home/runner/work/fpvc-lady/fpvc-lady/cmd/lady/comment.go:51 +0x259

Shall be working now, with 0.4.0


Add tooly composer script

With the tooly composer-script aka hook you can manage needed PHAR files, such as phpunit, in your project composer.json. Every PHAR file will be saved in the composer binary directory. Optional with GPG verification.

+1

+1
Mesut ASLAN
8 Eyl 2016 tarihinde 09:54 saatinde, Holger Woltersdorf<EMAIL_ADDRESS>şunları yazdı:

+1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

+1

In case you weren't aware, there's an emoji 👍 button that I highly recommend you all use.


Pin unittest-future on latest Wagtail 2.10 release candidate

This task is to pin unittest-future tox environment on Wagtail 2.10rc2 and ensure all tests pass.
There do not appear to be any upgrade considerations that we should be particularly concerned about with 2.10.
Additions

wagtail 2.10rc2 in tox.ini

Changes

Modified tests in:

ask_cfpb.tests.test_blocks.SchemaBlocksTestCase
ask_cfpb.tests.test_blocks.AskBlocksTestCase

How to test this PR

tox and cypress

Notes and todos

release versions of the following to support Wagtail 2.10:

wagtail-flags
wagtail-inventory
wagtail-sharing
wagtail-treemodeladmin

Checklist

[x] PR has an informative and human-readable title

PR titles are used to generate the change log in releases; good ones make that easier to scan.
Consider prefixing, e.g., "Mega Menu: fix layout bug", or "Docs: Update Docker installation instructions".

[x] Changes are limited to a single goal (no scope creep)
[x] Code follows the standards laid out in the CFPB development guidelines
[x] Future todos are captured in comments and/or tickets
[ ] Project documentation has been updated, potentially one or more of:

This repo’s docs (edit the files in the /docs folder) – for basic, close-to-the-code docs on working with this repo
CFGOV/platform wiki on GHE – for internal CFPB developer guidance
CFPB/hubcap wiki on GHE – for internal CFPB design and content guidance

Front-end testing

Browser testing
Visually tested in the following supported browsers:

[ ] Firefox
[ ] Chrome
[ ] Safari
[ ] Edge 18 (the last Edge prior to it switching to Chromium)
[ ] Internet Explorer 11 and 8 (via emulation in 11's dev tools)
[ ] Safari on iOS
[ ] Chrome on Android

Accessibility

[ ] Keyboard friendly (navigable with tab, space, enter, arrow keys, etc.)
[ ] Screen reader friendly
[ ] Does not introduce new errors or warnings in WAVE

Other

[ ] Is useable without CSS
[ ] Is useable without JS
[ ] Does not introduce new lint warnings
[ ] Flexible from small to large screens

This looks great, and future tests pass.
One question: Does this mean we'll always be importing the CFPB Wagtail libraries via git+https?

@higs4281 No, I do not believe we will always import the CFPB Wagtail libraries using git+https.
There would be newer versions of Wagtail libraries used for unittest-future to those used by unittest-current

One question: Does this mean we'll always be importing the CFPB Wagtail libraries via git+https?

No. They'll be released with 2.10 support once 2.10 is released.

Adding Mattermost messages from @willbarton
I think I was thinking about wrong — deploying to UCP should not be in the same PR. So, if we can keep the requirements for 2.10 in tox.ini, that PR could be merged, RC or not. Testing all PRs against future changes is the point, so that’s why we want it merged.
And we could pin2.10 in another branch and deploy that branch to UCP, which would run the cypress tests. And we can run them locally too. And THAT branch is the upgrade branch
I just want to make sure we’re separating the concerns of “can we test against a future version” from “can we run a future version”.

Thanks, @cwdavies!


docs: fix typo in enrollment document

Proposed Changes
Just fixing a small typo I noticed while reading through the docs.

@xtian thank you for sending the PR ❤
Before we can merge, could you accept our CLA
Read the CLA at
https://www.ockam.io/learn/how-to-guides/contributing/cla/
To accept the CLA please send a different PR to our contributors repo indicating that you accept the CLA by adding your Git/Github details in a row at the end of the CONTRIBUTORS.csv file:
https://github.com/ockam-network/contributors/blob/master/CONTRIBUTORS.csv
Looking forward to merging your first contribution!!

@xtian thank you for sending the PR ❤
Before we can merge, could you accept our CLA
Read the CLA at
https://www.ockam.io/learn/how-to-guides/contributing/cla/
To accept the CLA please send a different PR to our contributors repo indicating that you accept the CLA by adding your Git/Github details in a row at the end of the CONTRIBUTORS.csv file:
https://github.com/ockam-network/contributors/blob/master/CONTRIBUTORS.csv
Looking forward to merging your first contribution!!

@mrinalwadhwa Sure thing! https://github.com/ockam-network/contributors/pull/2

@mrinalwadhwa Sure thing! https://github.com/ockam-network/contributors/pull/2

Thank you 🎉

Thank you 🎉

Welcome to the Ockam community @xtian

Welcome to the Ockam community @xtian


Fix methods in screencap-linux.js

While using screencap, I encountered an error when I tried to use the capturePipe function. This is because when streaming, ffmpeg needs a format, but in the implementation, the format was not provided. I have added the format

The lib core of screencap has changed. The format fix you applied was already applied in our changed code base and has been updated.

Ok


Some small issues

Hey,
First off let me say, excellent job with this army builder! I've been using it since I started playing about 3 months ago and it's been a great help.
I've noticed a couple of problems with some of the options and xeno rules, as noted below;
Elite options;
Super heavy armour (SHA) - lowers movement by 2", however, when you then take Mobile it jumps back up to 12" (base 8+4). If you take Mobile first then SHA it drops the stats down to 6" (base 8-2).
Same issue as above but with the Slow Xeno rule. Slow ends up having no effect after SHA has been selected.
Xeno rule;
Psychic Resistance adds the information of psychic hazards.
Thank you for taking the time to look at my message.
Luke

Just an additional issue, when you select swarm upgrade for lesser xenomorphs it doesn't apply the strength point upgrade.
I hope you don't mind me bringing these little things to your attention.
Thanks again,
Luke

Thanks for the kind words. The issues should be fixed now. If you load the app the next time, it should update. After you close it and reopen it, the issues should be gone.


west: rimage support in west sign poorly documented

Describe the bug
With: https://github.com/zephyrproject-rtos/zephyr/commit/d44d986a0326f775a3a4b29bfd209ac58dc62e8a
from PR #21241 support for rimage as signing tool were added to west sign.
However, the help text to west sign still describes only imgtool, and was not updated to describe support for rimage.
$ west help sign
...

tool control options:
  -t {imgtool,rimage}, --tool {imgtool,rimage}
                        image signing tool name; imgtool and rimage are
                        currently supported
  -p TOOL_PATH, --tool-path TOOL_PATH
                        path to the tool itself, if needed
  tool_opt              extra option(s) to pass to the signing tool

binary (.bin) file options:
  --bin, --no-bin       produce a signed .bin file? (default: yes, if
                        supported and unsigned bin exists)
  -B BIN, --sbin BIN    signed .bin file name (default: zephyr.signed.bin in
                        the build directory, next to zephyr.bin)

Intel HEX (.hex) file options:
  --hex, --no-hex       produce a signed .hex file? (default: yes, if
                        supported and unsigned hex exists)
  -H HEX, --shex HEX    signed .hex file name (default: zephyr.signed.hex in
                        the build directory, next to zephyr.hex)

imgtool
-------

Currently, MCUboot's 'imgtool' tool is supported. To build a signed
binary you can load with MCUboot using imgtool, run this from your
build directory:

   west sign -t imgtool -- --key YOUR_SIGNING_KEY.pem

For this to work, either imgtool must be installed (e.g. using pip3),
or you must pass the path to imgtool.py using the -p option.

To Reproduce
$ west help sign

Expected behavior
Description of rimage similar to imgtool, imgtool is described as:
imgtool
-------

Currently, MCUboot's 'imgtool' tool is supported. To build a signed
binary you can load with MCUboot using imgtool, run this from your
build directory:

   west sign -t imgtool -- --key YOUR_SIGNING_KEY.pem

For this to work, either imgtool must be installed (e.g. using pip3),
or you must pass the path to imgtool.py using the -p option.

as well as updates to:
  -B BIN, --sbin BIN    signed .bin file name (default: zephyr.signed.bin in
                        the build directory, next to zephyr.bin)

  -H HEX, --shex HEX    signed .hex file name (default: zephyr.signed.hex in
                        the build directory, next to zephyr.hex)

to reflect that rimage produces files with different default names.
Impact
Bad user experience, as user must look into the source code to understand the behavior of west sign.

Also noticed this in the code:
https://github.com/zephyrproject-rtos/zephyr/blob/b244dccad693e998cb10c43f8fc820ea48be3370/scripts/west_commands/sign.py#L378-L379
Such limitation should also be part of the help text.


Release

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

v0.114.0
v0.114.0
GitHub release

Your semantic-release bot :package::rocket:


Backend Add Mentors/Mentor Managers To A New Program Page - Self-Sprint 4

Link the Mentors/MM to New Program Page

@Munalula-Sikazwe is this already implemented?


⚠ ClamAV has degraded performance

In dd87f81, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 78 ms

Resolved: ClamAV performance has improved in c019477.


[PE-D][Tester E] Fields should allow for spaces in between

Steps to reproduce
Add a person whose phone number has spaces: e.g. add n/john p/999 999e/john@mail a/road
Expected
Accepts the phone number and trims the space. Spaces are mostly for readability.
Actual
It returns an error message(see below)

Labels: severity.Low type.FunctionalityBug
original: xiaorui-ui/ped#19

Dont change, as it falls under Q1
https://nus-cs2103-ay2324s2.github.io/website/admin/tp-w12.html#2-start-fixing-ped-bugs-before-the-tutorial

The restriction in the input field is documented in the user guide


Removed tools.md file as content has been split among other files.

Also updated link in landing page, added appropriate redirect

@DavidCBerry13 LGTM! Ready to merge?

@DavidCBerry13 LGTM! Ready to merge?


Eshell reports error with Emacs 25.3.1 and CentOS 7

I tried to run eshell on Mac with Emacs 26.2, and everything is fine.
But, when I running eshell on CentOS 7 with Emacs 25.3.1, any command I tried in eshell will report error:
Symbol's function definition is void: eshell-input-filter-initial-space.

Could you produce a backtrace for this error? i.e. M-x toggle-debug-on-error, then reproduce the error.

Looks like eshell-input-filter-initial-space was introduced in Emacs 26. I've inlined it in a583d69 which should resolve your issue. If that isn't the case, let me know and I will reopen the issue. Thanks for bringing it to my attention!


Add support for different color on below x-axis

we want to have ability to show the line in a different color when it is under 0 in chart

like this
but now thee whole part of line goes to red color
we want if in next labels we have positive data, show it in different color

Has been suggested before. Currently, not possible, but may come in the future.
Related to #585

Would be amazing if possible :D

no way to do it yet ?

Any news about that ?

Don't stale


Use PROJECT_ID instead of PROJECT_PATH in Gitlab urls

This PR fixes a bug where danger would not work with (some?) self-hosted instances.
Before this patch, I got a 404 from our self-hosted Gitlab CE API. Now it works as expected.
It also fixes issues like https://github.com/danger/danger/issues/968 because the problem is deriving a valid URL for the project. Since PROJECT_ID is unique on a gitlab instance, you can always just use that instead of the PROJECT_PATH.
I tested this and it works. I'm not sure how to run tests in ruby locally, so CI will probably fail.

I have the same patch ready for danger-js, if this one is acceptable.

Any updates on this change? I'm experiencing this same issue right now while trying to setup DangerJS on a self-hosted Gitlab Instance!


Investigate resource loading potential optimization

Currently loading the same file from two different objects won't share resources, there is also no way to change the image other than creating a new object

prototype: https://github.com/ntut-rick/ptsd/commit/48f8a05ee4e91bf7adb26e378883b9b5807f68db

added in #102

#102 seems can't saving memory like https://github.com/ntut-rick/ptsd/commit/48f8a05ee4e91bf7adb26e378883b9b5807f68db.

In a test with 5k giraffes (same testing as #162), it used 5GB of RAM. https://github.com/ntut-rick/ptsd/commit/48f8a05ee4e91bf7adb26e378883b9b5807f68db used only 400MB.
Could you consider whether Core::Texture could be optimized using unordered_map?

Asset Manager #102 seems can't saving memory like ntut-rick@48f8a05.

In a test with 5k giraffes (same testing as #162, on my windows laptop), it used 5GB of RAM. ntut-rick@48f8a05 used only 400MB.
Could you consider whether Core::Texture could be optimized using unordered_map?

Update: It's only happen in #162, I will move the discussion to there

Asset Manager #102 seems can't saving memory like ntut-rick@48f8a05.

In a test with 5k giraffes (same testing as #162, on my windows laptop), it used 5GB of RAM. ntut-rick@48f8a05 used only 400MB.
Could you consider whether Core::Texture could be optimized using unordered_map?

Won't happen on my desktop, BTW
 [info] OpenGL Info
 [info]   Vendor: NVIDIA Corporation
 [info]   Renderer: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
 [info]   Version: 4.1.0 NVIDIA 551.61
 [info]   GLSL Version: 4.10 NVIDIA via Cg compiler


Change environment variables

It turns out that using OAUTH_CALLBACK_URI as an environment variable was prone to mistakes; I kept setting OAUTH_REDIRECT_URI instead and then scratching my head when I got an NPE
There will probably be other things in the app that depend on the domain where the app is running, so now a DOMAIN env variable is used instead
Secrets are stored in Google Secret Manager now instead of environment variables

This means that you have to be signed into gcloud in order for this to work correctly. Instructions are in server README

Thanks for README instructions! I'm able to get access tokens for both spotify and youtube 👍


We may need to set the clair update interval to 12 hours or more.

See this bug in clair:
https://github.com/coreos/clair/issues/419

Thanks!
And btw it seems to me a bug for the RHEL updater

Keep it short for now for testing, will update it to 12h before releasing.

fixed in #3092


Use spf13/cobra to manage command line

Currently the project uses the Go flag package to the command line
arguments, but it should use spf13/cobra like other OpenShift projects.

This is fixed by #13.


update Go documentation link

Problem
Existing link was moved https://github.com/golang/go/wiki/Modules

Solution
Changed to current link
Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Infrastructure change (CI configs, etc)
[X] Non-code change (docs, etc)
[ ] None of the above: (explain here)

Test Plan
N/A

redo of https://github.com/pinecone-io/go-pinecone/pull/28


Bump Golang to v1.19.6 in v0.11.x line

Bumping Golang to v1.19.6 in v0.11.x line

You are not changing it in release.yml. That file still points to go 1.18. Maybe you want to cherrypick this PR?

+1 to what @rohitagg2020 mention. We should cherry pick this commit.

Cherry-picked the mentioned commit. Thanks, @rohitagg2020 @praveenrewar for pointing it out.


When selecting a range programmatically, some reused cells can't be selected

(Required) Version Number:
7.1.7 and 8.0.0
Description
One of the main features of the app I'm currently working on is to select a whole week when selecting any of its days between Monday and Friday. If one week has been selected previously, it should be deselect after selecting the new week. It works as expected on the current displayed month, but issues start to appear when scrolling to the next months and going back to the first one.
For some reason, there are some specific reused cells (or dates) that can't be selected. They are like two or three per month (different every time) and this occurs only when scrolling. When debugging, I noticed that delegate methods

func calendar:shouldSelectDate:cell:cellState:indexPath: -> Bool
func calendar:didSelectDate:cell:cellState:indexPath:

are not being called nor those of the UICollectionView.
Is there a way to "reset" the cell's state or something like? reloadData doesn't solve this issue.
Steps To Reproduce

Select any date (its related week should be selected automatically)
Scroll to next months
Select any date of the next months
A few dates can't be selected

Expected Behavior
When scrolling to other months, user should be able to select any date and its related week automatically.
Additional Context

Hi, one thing, when ever showing code, try to paste text instead of a screen shot.
This helps me copy and paste. Right now I can't paste any code from your example to refer to.

For some reason, there are some specific reused cells (or dates) that can't be selected. They are like two or three per month (different every time) and this occurs only when scrolling. When debugging, I noticed that delegate methods
func calendar:shouldSelectDate:cell:cellState:indexPath: -> Bool
func calendar:didSelectDate:cell:cellState:indexPath:

are not being called nor those of the UICollectionView.

Then i think there is some bigger problem at play here.
Is it possible you can provide an empty sample project (without companycode) which recreates this problem? or is your project sharable?

Sure. Sorry for that. I'll work on a sample project. Give a couple or hours. Thank you!

Hi. Here is the sample project. As I'm changing the font for selected cells, I'm forcing not to reset them to have regular font. This way can you identify some specific cells which don't respond when tapping it. This usually replicates the issue mentioned above.
Let me know if you need something else.
JTAppleCalendarSample.zip

Please, also notice the calendar has a weird behavior when changing the value for numberOfRows to 5.

ok will check this out today after work

I think you might have had some logical errors.
I fixed.
Just replace your files with these.
I would have given you the whole zipped project. but I use Xcode 11 Beta, and it may not have opened on your system.
Let me know how it goes.
files.zip

Also, setting it to 5 rows is expected. If you unhide your hidden cells, you'll see that there are cells there.
It looks like what you wanted is not 5 rows. You want adjustable rows.
You want 6 rows when the month requires 6, and 5 rows when the month requires 5.
Did you take a look at the tutorials before you began? https://patchthecode.com

If your issue is resolved. you can close this

Hey, can you please give more details about this I think you might have had some logical errors? I would like to know what logical you are referring to. Thank you for your time.

First,
Is your issue resolved with the files i gave you?

Hey, I have been testing your fix and it looks like it's working fine now. Thank you for your time, I appreciate it. By the way, I would like to know the difference between what you did and what I did. Not so easy to notice it.

Well, i didn't go through all your logic, but i saw you were using the flag to check  to see if a tap was userInitiated. And i also saw the you were deselecting in the didDeselect and selecting in the didSelect function without the triggerSelectionDelegate being set to false. This made tracking the logic of the code difficult and i had to set many break points every where just to follow the code flow.
Therefore i suspect that there was an error in logic in there.
So instead of debugging the code, i just made it simpler. That way, it is easy to see where the logic breakdown. But after making it simpler, the issue went away, which leads me to believe that it was in-fact an error in logic.
In order to 100% confirm that, however, i'd have to go through your unmodified code entirely, and that would be too time consuming for me.


Error Attempting LOAD DATA LOCAL INFILE statement (cell output references streamFactory option)

I can run LOAD DATA LOCAL INFILE MySQL statements using the SQLTools extension, but when I have attempted running the same statement via SQL Notebook extension, I receive the following error message in Cell Output:
As a result of LOCAL INFILE command server wants to read <fully-qualified-file-name> file, but as of v2.0 you must provide streamFactory option returning ReadStream.
Not a big deal, since I have an alternate way to run successfully.  But doing so does not provide any result message in VSCode after the activity indicator stops spinning, and I prefer the satisfying server response messages in the cell output typical when running other types of non-query statements in MySQL via SQL Notebook (ex. CREATE TABLE), so I thought it was worth mentioning in case it was an easy tweak.   Regardless, still a big fan.  Thanks

Hm, I'll take a look. Thanks for this report. Seems to be a quirk with the mysql node driver.


LDAP authentication

Hello!
I don't know if this is the right place for this question, sorry if it isn't.
I need to find detailed documentation on how to integrate Analyze 4.3.5 with LDAP
Unfortunately the documentation available on the i2Group site is not helping me much.
I'd appreciate any hint on that.

Hi Jormagonse
No this isn't really the place for LDAP related questions this is for discussing problems when working with our developer essentials related example code.
However, as you have asked:
i2 Analyze does not actually authenticate users itself and does not use LDAP  to look up  user and group information from user registry's such as Active Directory.
The Liberty application server does this for us and we then ask  the application server whether someone is authenticated and what groups they are members of for example.
The Liberty documentation gives examples of how to set up to use LDAP to query several different systems as can be found here:
Liberty and LDAP
How exactly you specify the configuration will depend on what  user registry/management  system you are trying to use and how the administrators for that have set things up.
If that documentation does not help to point you in the right direction then if you have a support contract you can open a case with support here:
Support Form
Cheers

Thanks for your guide!!!
El lun, 22 ago 2022 a la(s) 04:08, Tony Johnson @.***)
escribió:

Hi Jormagonse
No this isn't really the place for LDAP related questions this is for
discussing problems when working with our developer essentials related
example code.
However, as you have asked:
i2 Analyze does not actually authenticate users itself and does not use
LDAP to look up user and group information from user registry's such as
Active Directory.
The Liberty application server does this for us and we then ask the
application server whether someone is authenticated and what groups they
are members of for example.
The Liberty documentation gives examples of how to set up to use LDAP to
query several different systems as can be found here:
Liberty and LDAP
https://www.ibm.com/docs/en/was-liberty/base?topic=liberty-configuring-ldap-user-registries-in
How exactly you specify the configuration will depend on what user
registry/management system you are trying to use and how the administrators
for that have set things up.
If that documentation does not help to point you in the right direction
then if you have a support contract you can open a case with support here:
Support Form https://i2group.com/support#form
Cheers
—
Reply to this email directly, view it on GitHub
https://github.com/i2group/analyze/issues/66#issuecomment-1222000022,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXRNEKKKGEWX6CGWIDEDMB3V2MYPBANCNFSM56563BBQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Jorge "Murray" González

Thank you, we have achieved it with the help of the support
El jue, 1 sept 2022 a la(s) 10:45, Tony Johnson @.***)
escribió:

Closed #66 https://github.com/i2group/analyze/issues/66 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/i2group/analyze/issues/66#event-7305999196, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AXRNEKJ6CTP7J5KVRE5P2P3V4C6RDANCNFSM56563BBQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Jorge "Murray" González

Thanks for letting us know.


Java 21

https://blogs.oracle.com/java/post/the-arrival-of-java-21

For temurin jdk21 release see: https://adoptium.net/blog/2023/09/temurin21-delay/
Temurin is used because it was included by default so it would avoid having to download a JDK in some of the builds (#1045). We would need to move to something like Azul if we don't want to wait on Temurin to release their version of JDK 21.

I pulled in these changes and switched back to zulu in #1081


update mavlink common.xml to work with the latest firmware . The old …

…common.xml is so far behind the firmware .Make the HIL Follow Me simulation works .

@bkueng Did we do this update?

Yes


3390/allow disabling of setautopipmode

chore: update readme
feat(setAutoPipMode): pass in autoEnter as a param

 Allow disabling of setAutoPipMode


ARTEMIS-2002 Proton transport objects leaked if client disconnects abruptly

Remove scheduled tasks when a client disconnects to allow garbage
collector to delete the unused proton objects. Add a the unity test
AMQPConnectionContextTest to check leaks after close.

there's a legitimate test failrue after your change. can you look before we can merge please?

In ActiveMQDefaultConfiguration there is DEFAULT_SCHEDULED_THREAD_POOL_MAX_SIZE:
// Maximum number of threads to use for the scheduled thread pool private static int DEFAULT_SCHEDULED_THREAD_POOL_MAX_SIZE = 5;

In ActiveMQDefaultConfiguration there is DEFAULT_SCHEDULED_THREAD_POOL_MAX_SIZE:
// Maximum number of threads to use for the scheduled thread pool private static int DEFAULT_SCHEDULED_THREAD_POOL_MAX_SIZE = 5;

Why not use the constant then?

@clebertsuconic I wrote the failing test AMQPConnectionContextTest.testLeakAfterClose to check the leaks but I can't get that failure on my machine. Let me to make a double check.

@clebertsuconic I fix the test failure.

Just a reminded this got merged with outstanding comments, can we ensure we progress with 2727 to address those comments.


Feature: rehydrated callback

Do you want to request a feature or report a bug? feature
What is the current behavior? currently it is hard to tell when a store was rehydrated. This makes re-initilisations of stateful JS libraries and classes very hard.
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior? rehydrated () { /* do something */ }
If this is a feature request, what is motivation or use case for changing the behavior?
A good example for this is axios. Axios allows to set default headers, like Authorization during development or page refresh a user would expect that header to be rehydrated. Which is hard to achieve or inherently racy for components. The rehydrate callback could take an implementation for that.
Thanks for considering.

That! I was surprized when found that vuex-persistedstate rehydrates asyncronously. That's thing makes this lib useless at all to store application options.

@imShara if you use the fetchBeforeUse option, doesn't that make your app options available ASAP?

@rfox12 fetchBeforeUse: true makes no difference as it doesn't affect load time, just load order. In fact, load times are completely relying on Nuxt's async store initialization which can be slow. Regarding the feature request at hand, I see the rehydrated callback was added a year ago though so @robinvdvleuten can probably close this issue.

Thank you for figuring this out @jaythomas


When start download print out the dataset

Currently you get "Setting up GRID Envriionment - when it the printout occurs. Would be nice to have something before that when running in the library.
Finding the files
 -> Setting up GRID Environment
 -> Getting list of files in Dataset
 -> Checking the dataset exists
 -> Getting the complete list of files from the dataset
 -> Starting GRID download...
 -> user.gwatts:user.gwatts.7002027._000001.hist-output.root

Had to finish this off a while back...


--oem 2 doesnot work with eng.traineddata

Environment

Tesseract Version:
Commit Number:
Platform:

Current Behavior:
D:\OCR\demo_images>tesseract --psm 7 --oem 2 05_02_2019_16_09_0015.jpg 15
Failed loading language 'eng'
Tesseract couldn't load any languages!
Could not initialize tesseract.

Maybe we can improve the error message.

@QuickLearner171998  found the solution in forum. Check out this discussion https://groups.google.com/g/tesseract-ocr/c/KKTiag0VCFE/m/A4jpS6i6CwAJ
Let me know whether it solves your issue or not.


rewrite webpack config

I think the original webpack config is terribly written and most of them is unnecessary. I rewrite the webpack config to a single file and merge build manifest, popup and background to single command in pacakge.json.

background.html is unnecessary too. I forget to delete it.

Nice! I will check/merge it tomorrow


Upgrade dependencies

tested ok
it was broken when upgraded otelhttp to 0.44.0.
when otelhttp is reverted to 0.22.0, it is working


make the method show() print the results

for a compatibility with spark and Duckdb , can you please make ctx.sql('select 42').show() print the results please.
btw, version 8 is a very solid improvement !!!

Thanks for the hint & additional context @djouallah, I was able to reproduce this in Jupyter notebooks now. I will take a look at how duckdb & PySpark are implementing the method In the meantime you can just drop .show() to preview the dataframe until the root cause of the issue is found:


TST/CI: cover tests

Codecov Report

Merging #11 into master will decrease coverage by 2.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
- Coverage   93.75%   91.66%   -2.09%
==========================================
  Files           2        5       +3
  Lines          48      324     +276
==========================================
+ Hits           45      297     +252
- Misses          3       27      +24

Impacted Files
Coverage Δ

redsky/tests/test_streamer.py
88.82% <0%> (ø)

redsky/tests/conftest.py
100% <0%> (ø)

redsky/tests/utils.py
94.44% <0%> (ø)

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 2706098...2cc9444. Read the comment docs.


[FEATURE]

Hey @Sas2k i want to make your footer more designer. So please assign me this issue.

hello @tejus0 what do you mean "footer" please clarify.
also was this issue meant for https://github.com/Sas2k/Lemon-CLI ?

@tejus0 please respond, if you do not respond or clarify on what you meant, I might have to close this issue since of inactivity

@Sas2k i misunderstood the layout. The design is good. You can close the issue

@tejus0 ok?


Error when first time acquire access token for resource

Hello, when I am trying to fetch access Token in my Angular 5 application for the first time after user is logged in, with following method:
adalService.acquireToken(resource)
and I am getting this error:
AuthCallbackComponent_Host.ngfactory.js? [sm]:1 ERROR TypeError: Cannot read property '12345678-abcd-efgh-9876-1fa334df7c72|87654321-asdf-48b2-b9ca-111222333444' of undefined
at Adal5Service.handleWindowCallback (adal-angular5.js:77)
at LoginService.completeAuthentication (login.service.ts:80)
at AuthCallbackComponent.ngOnInit (callback.component.ts:17)
Resource is an API defined on AAD. Login.service is my angular service which calls Adal5Service.handleWindowCallback function in this code, during standard, complete authentication, action:
...
public completeAuthentication(): void {
this.adalService.handleWindowCallback();
}
...
Second time Token is received without errors, but I don't want to implement retries. I would rather understand what is going wrong here. Any similar problem faced by anyone?
Thanks a lot. Vedran

Error explained in a post above was raised when using latest adal-angular5 and adal-angular versions, but I played with versions in a meantime. When I use following combination:
"adal-angular": "^1.0.15",
"adal-angular5": "^1.0.36",
nothing happens, I only see warning:
WebSocket connection to 'ws://localhost:4200/sockjs-node/571/zpdard4p/websocket' failed: WebSocket is closed before the connection is established.
Also, instances of my global providers are multiplied, what is strange. Somehow application bootstrap is done multiple times.
Thanks, Vedran

Hi,
I am also facing the same issue with few more issues.
The app loads 2-3 times. After that I see two errors in console

ERROR TypeError: Cannot read property '4730d8bd-c126-49b3-9714-e7c2c3f56b09|427757c9-9aeb-488c-b149-db1d54c2c3c4' of undefined
at Adal5Service.push../node_modules/adal-angular5/esm5/adal-angular5.js.Adal5Service.handleWindowCallback (adal-angular5.js:77)

ERROR Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'access_token'
Error: Cannot match any routes. URL Segment: 'access_token'.

Now if I reload the page, the erros are gone.
3. I am using a version 2.1.1.  In node_modules\adal-angular5\esm5\adal-angular5.js the Observable is imported as "import { Observable as Observable$1 } from 'rxjs/Rx';" but in function below 'Observable ' is used instead of 'Observable$1) which is throwing error.

In sendRequest method, the token is appended twice and API authorization is failed.


Nail down activerecord and amqp versions

This at least allows me to run ActiveRecord integration specs to completion.

Can we drop the AMQP change here? :)

Okay, I'm lost now. :) Is the point that you want to be able to revert either of them quickly?

Yes, isolated changes make it much easier to review code and to revert if needed.

Okay then. Force-pushed.

@igrigorik Ping?

Thanks for the reminder :)


Binary file RDPharm3D.chm without source(?) in repo

Description:
Debian currently has to repack RDKit sources due to the Docs/Programs/RDPharm3D/RDPharm3D.chm file which is a binary blob (I think?) without source and/or a way to recreate it.
In case that .chm file is no longer relevant or needed, maybe it can be purged from the repository, or  (if it is needed) generated during the build?
To be clear, it is not a big deal for us to repack RDKit, so if it problematic for you to remove the file, nevermind.

RDKit Version: 2018.9
Platform: Debian

Resolved in #2213


Create chromium-chronicle-4.md

This is the md file for the Chromium Chronicle episode 4, to be published on Tuesday July 30.
What's changed, or what was fixed?

Added entire new article

Fixes: #issue
Target Live Date: 2019-07-30

[ ] This has been reviewed and approved by (NAME)
[ ] I have run npm test locally and all tests pass.
[ ] I have added the appropriate type-something label.
[ ] I've staged the site and manually verified that my content displays correctly.

CC: @petele

Whoops!
There were 2 critical errors that broke the build and prevented it from being automatically deployed.
There were 3 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
ERRORS
src/content/en/updates/2019/07/chromium-chronicle-4.md#L82 - Template tags ('{{'') should be escaped to '{{'
src/content/en/updates/2019/07/chromium-chronicle-4.md#L82 - Template tags ('{{'') should be escaped to '{{'
WARNINGS
src/content/en/updates/2019/07/chromium-chronicle-4.md#L47 - '

Whoops!
There were 2 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/updates/2019/07/chromium-chronicle-4.md#L86 - Common typo found: 'behaviours' Should it be 'behaviors'? Please use American spellings. See: https://developers.google.com/style/spelling
src/content/en/updates/2019/07/chromium-chronicle-4.md#L80 - Line must be at most 100 characters

Whoops!
There were 1 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/updates/2019/07/chromium-chronicle-4.md#L80 - Line must be at most 100 characters

:tada: This has been pushed live to https://developers.google.com/web/


examples/tutorial: update yarn.lock

anchor version is 0.24.2
superstruct was added in b18b7f73932a0ab58d0b2325360d7399a914174e

Closing as stale, but please re-open if you'd like to update it.


failing to install from HEAD

hi there, I was attempting to install this project by running: cargo install --locked --git https://github.com/mipmip/mip.rs
I ran into this error during installation:
   Compiling mip v0.1.1 (/Users/aljohri/.cargo/git/checkouts/mip.rs-47880692e69b80af/4781f3b)
error[E0433]: failed to resolve: use of undeclared crate or module `process`
  --> src/main.rs:78:9
   |
78 |         process::exit(1);
   |         ^^^^^^^ use of undeclared crate or module `process`

For more information about this error, try `rustc --explain E0433`.
error: could not compile `mip` (bin "mip") due to previous error
error: failed to compile `mip v0.1.1 (https://github.com/mipmip/mip.rs#4781f3b9)`, intermediate artifacts can be found at `/var/folders/5c/jfx9vgnn149gzctb246q1ty40000gs/T/cargo-installMs8CEM`

Thanks! I fixed a missing use


Not Able to UseInMemoryDatabase with WebApplicationFactory

This is related, I think, to the confusion expressed in aspnet/EntityFrameworkCore#17224. No matter what I try, I cannot get an InMemoryDatabase into the service collection for an ASP.NET Core app. This was a scenario that was working by following the docs, but isn't working since I moved to 3.0.
Steps to reproduce
I'm using the code from this directory in my repository: https://github.com/OdeToCode/explore-aspnetcore/tree/master/All/test/TestTheTest
You should be able to download the folder and dotnet build / dotnet test the solution.
The idea is to run integration tests against an ASP.NET Core application by swapping out a DbContext configured to use SQL Server with a DbContext configured for in-memory. The web app configures services like so:
public void ConfigureServices(IServiceCollection services)
{
    services.AddDbContext<SomeDbContext>(options =>
    {
        options.UseSqlServer("fail");
    });
}

The tests use a custom WebApplicationFactory in an attempt to override the DbContext options.
public class CustomWebFactory : WebApplicationFactory<Startup>
{
    protected override IHostBuilder CreateHostBuilder()
    {
        return Host.CreateDefaultBuilder()
                   .ConfigureWebHostDefaults(c =>
                   {
                       c.UseStartup<Startup>();
                   });
    }

    protected override void ConfigureWebHost(IWebHostBuilder builder)
    {
        builder.ConfigureServices(services =>
        {
            services.AddDbContext<SomeDbContext>(options =>
            {
                options.UseInMemoryDatabase("DB");
            });
        });
    }
}

The test in the project uses a simple piece of middleware to look at the configured provider for the DbContext at runtime.
public async Task Invoke(HttpContext ctx, SomeDbContext db)
{
    if (ctx.Request.Path.StartsWithSegments("/db"))
    {
        await ctx.Response.WriteAsync(db.Database.ProviderName);
    }
    else
    {
        await next(ctx);
    }
}

I am able to override and change other services in the WebApplicationFactory, except for the DbContext options. The only technique that seems to work is to remove the call to  options.UseSqlServer in the web app - then the factory override does take hold. From what I can tell, execution never reaches the options builder of the test factory, so no combination of service caching and UseInternalProvider work.
Further technical details
EF Core version: 3.0.0
Database provider: Microsoft.EntityFrameworkCore.SqlServer and InMemory
Target framework: .NET Core 3.0
Operating system: Win10-x64
IDE: VS2019

@OdeToCode Thanks for contacting us.
This is a result of the move to generic web host, where the order of the ConfigureServices callbacks is different. We have a docs issue tracking the documentation update here.
I believe your solution is identical to the one I provided here
I'm going to go ahead and close this issue, as it's not really a WAF issue but an issue with the docs.
I'll see if I can get this doc prioritized given the number of people that are running into this.

I have ended up doing the following in the Startup.cs file and setting the enviroment in the WebApplicationFactory to IntegrationTests. I hate this i feel like im polluting production code with test code...
public void ConfigureServices(IServiceCollection services)
{
//HACK
IServiceProvider serviceProvider = services.BuildServiceProvider();
var env = serviceProvider.GetService();
//logic in here to configure correct DB
if (env.IsEnvironment("IntegrationTests"))
{
services.AddEntityFrameworkInMemoryDatabase();
            services.AddDbContext<ApplicationDbContext>(options =>
            {
                options.UseInMemoryDatabase("InMemoryDbForTesting");
            });
        }
        else
        {
            services.AddDbContext<ApplicationDbContext>
                (options => options.UseSqlServer(Configuration.GetConnectionString("CrystalProcessDatabase")));

        }

        services.AddControllers();
    }


Bug: useVbenForm: 操作按钮隐藏导致回车提交失效

Version
Vben Admin V5
Describe the bug?
props.showDefaultActions设置为false后,submitOnEnter设置为true将不起作用,change事件正常
Reproduction
const [Form, formApi] = useTableForm({
handleSubmit: () => {
console.log('onSubmit');
},
showDefaultActions: false,
submitOnEnter: true,
});
System Info
window
NODE: '20.14.0'

Relevant log output
No response
Validations

[X] Read the docs
[X] Ensure the code is up to date. (Some issues have been fixed in the latest version)
[X] I have searched the existing issues and checked that my issue does not duplicate any existing issues.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

这也不算bug吧。你是想在不使用操作按钮的情况下。也能按回车触发提交？


rs40 vial firmware

Hi Andy,
I reverse engineered the qmk firmware for the rs40 keyboard and thought you also might be interested.
I tested it on my rs40 without RGB so unfortunately i do not have a working configuration for the backlight.
i added a vial folder with a readme.md on how to compile it.
Kind regards
Ronnie

if you have any questions don't hesitate to ask.


feat!: no setters for enums in interfaces for java when allowInheritance is used

Description

In Java, when a class implements an interface, it must implement all the methods of that interface. Because of that, Modelina now doesn't render the setter for enums in interfaces when allowInheritance is true because the classes that implement the interface might use a constant value.
Related Issue

Checklist

[x] The code follows the project's coding standards and is properly linted (npm run lint).
[x] Tests have been added or updated to cover the changes.
[x] Documentation has been updated to reflect the changes.
[x] All tests pass successfully locally.(npm run test).

Additional Notes

@jonaslagoni, please check. Can we instead check if the classes that implement interfaces have const set in them, or is this the only way?


suggested hyper parameter - LightGBM

I have 4,200,000 pieces of data with 20 features each.
The models trained on this data all have a training accuracy of 0.99. However, when testing on other data, the accuracy drops to around 0.3 or 0.5. There's an overfitting issue.
How should I configure my hyperparameters?
I've looked into the suggested recommendations below, but I'm still unable to achieve improvements.
Deal with Over-fitting

Use small max_bin

Use small num_leaves

Use min_data_in_leaf and min_sum_hessian_in_leaf

Use bagging by set bagging_fraction and bagging_freq

Use feature sub-sampling by set feature_fraction

Use bigger training data

Try lambda_l1, lambda_l2 and min_gain_to_split for regularization

Try max_depth to avoid growing deep tree

Try extra_trees

Try increasing path_smooth

Thanks for using LightGBM.
With just the information you've provided, it's not possible to answer "How should I configure my hyperparameters?". The best hyperparameters for training a supervised learning model are highly dependent on details you haven't shared here, like the task (i.e. loss function), distribution of the target and distributions of the features.
Try comparing the effect of different sets of hyperparameters using cross-validation. This guide from scikit-learn is very good, even if you aren't using scikit-learn specifically: https://scikit-learn.org/stable/modules/cross_validation.html.
You might also find this useful: https://github.com/microsoft/LightGBM/issues/6044#issuecomment-1683052078

I've looked into the suggested recommendations below

Looks like you got this list from https://lightgbm.readthedocs.io/en/latest/Parameters-Tuning.html#deal-with-over-fitting. That's a great place to start! In the future, when you report things copied from documentation here, please do link to that documentation. That'll help people to understand where the things you're saying came from.

Understood, I will pay attention in the future.
I would like to know what are the typical ranges for the hyperparameters of LightGBM

I would like to know what are the typical ranges for the hyperparameters of LightGBM

As I said, that's "highly dependent on details you haven't shared here, like the task (i.e. loss function), distribution of the target and distributions of the features".

My loss function is defined by the following formula, with the target variables and feature distribution being continuous.
1-sum((Obs-Pred)^2)/sum((Obs-mean(Obs))^2)

That is just not enough information for us to suggest ranges for you. Please use cross validation to explore ranges of hyperparameters for your application. The links I provided above should be sufficient to get you started if you're using Python (you have yet to say how you're using LightGBM). Similar approaches are available in other languages as well.