Implement en-/decryption tool for config files

Fixes #982

Codecov Report
Base: 65.73% // Head: 65.56% // Decreases project coverage by -0.17% :warning:

Coverage data is based on head (08bcb30) compared to base (98e8667).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #984      +/-   ##
==========================================
- Coverage   65.73%   65.56%   -0.18%
==========================================
  Files         116      116
  Lines       17295    17336      +41
==========================================
- Hits        11369    11366       -3
- Misses       5926     5970      +44

Impacted Files
Coverage Δ

fedimintd/src/bin/distributedgen.rs
0.50% <0.00%> (-0.14%)
:arrow_down:

client/client-lib/src/query.rs
91.50% <0.00%> (-2.84%)
:arrow_down:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


DeCredit - Add Scoring and Matching modules

Grant Application Checklist

[x] The application-template.md has been copied, renamed ( "project_name.md") and updated.
[x] A BTC address for the payment of the milestones is provided inside the application.
[x] The software of the project will be released under the Apache license version 2.0 as specified in the terms and conditions.
[x] The total funding amount of the project is below CHF 30k at the time of submission.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@mmagician Thanks for the advice. Just added Scoring & Matching specification links in ### Project Details

Can you point me to the target market for a credit rating/matching platform where all financial information of users is strictly public?
Your website http://decredit.io/#/ claims privacy protection, but your grant application and specifications do not back up this assertion, nor in any way suggest that this is part of the delivery.
Also, https://github.com/Credit-chain-org/algorithm does not exist.

@Lederstrumpf Thank you for your response. We are an internet company and we’ve launched our credit business for some years. Now, we are switching our solution on the blockchain.
We want to implement our project in 3 stages.
In the 1st stage, we are building ‘Scoring’ and ‘Matching’ modules and user data is off-chain - We store the data in DB and cloud system. We just upload hash onto the chain. This grant application is according to this stage specifically.
In the 2nd stage, we will keep all user data on-chain. And we will implement Privacy and Distributed storage solution in this stage.
In the 3rd stage, we will implement smart contracts. Thus, users can customize the Matching module so that demands and supplies could meet each other according their own requirements.
So back to the questions,

Can you point me to the target market for a credit rating/matching platform where all financial information of users is strictly public?

All financial information of users is not public. In the 1st stage, the information is stored in DB/Cloud. And in the 2nd stage, all information is on-chain and the privacy is protected.

Your website http://decredit.io/#/ claims privacy protection, but your grant application and specifications do not back up this assertion, nor in any way suggest that this is part of the delivery.

The privacy protection is in the future plan while not in this application scope.

Also, https://github.com/Credit-chain-org/algorithm does not exist.

Some configuration error, please try again.

@Maedamoto Thanks for answering @Lederstrumpf 's questions.
Just so that you're aware, it might be difficult to get approval for your grant at the current stage, as it relies heavily on centralised service to function and mostly serves only your specific purpose, rather than a community as a whole (at this point at least)
Since this is just my own point of view, I will leave the "ready for review" label so that other members are free to approve / comment - in the end, other Grant Committee members might have different priorities and might want to proceed with your application.

Hi @Maedamoto, thank you for your response.

The privacy protection is in the 2nd stage while not in this application scope.

Without the privacy protection features, your proposal is not compelling in the slightest: your first stage's solution does not require a blockchain: the hashes you store on-chain are worthless to anyone without access to the data, which is only your company, which does not benefit from these hashes either. Unless this data you store "on the cloud" is accessible to all users, which, again, is not a viable solution.
However: My primary concern is that, since there is no indication how you plan to add privacy protection features (even on your website), I'm assuming you have not worked out a solution for this either.

Also, https://github.com/Credit-chain-org/algorithm does not exist.

Some configuration error, please try again.

Thank you, but this repository only contains binary .class files.

Thanks for the application and all the effort you put into this. I also agree that stage 1 (according to your website) doesn’t provide a lot of value on it’s own. I therefore suggest reapplying with stage 2, once you specified the implementation. Let me know if this sounds good to you or you have any questions.

I’m closing the grant application for now, since it doesn’t seem like we get the necessary approval for it. As I said above, feel free to reapply with an update proposal.

Thanks @Noc2 , will do some update and apply later.


Failed to reslove adding in gradle

I have tried to add the library in gradle
compile 'com.layer.atlas:layer-atlas:0.2.10'
And I get this error
Error:(42, 13) Failed to resolve: com.layer.atlas:layer-atlas:0.2.10

Hi @adilp ,
did you add the repository?
allprojects {
    repositories {
        maven { url "https://raw.githubusercontent.com/layerhq/releases-android/master/releases/" }
        maven { url "https://raw.githubusercontent.com/layerhq/Atlas-Android/master/releases/" }
        jcenter()
        mavenCentral()
    }
}

That should fix the problem

Thanks @josealfonsomora


PDF export breaks placeholders

In the online version (11.1.2) I have created a plugin that uses a lot of placeholders. In the browser window these look and work fine and content is replaced. When I export the flow to PDF the export contains all placeholders (%placeholder%) and not the expected text. Exporting to PNG does show the expected text.
This can also be seen using the p1.js plugin. Steps to reproduce:

load new diagram with p1.js active (https://www.draw.io/?splash=0&p=p1)
type '%filename%'
text is replaced by 'Untitled Diagram'
export to PDF
PDF shows single field '%filename%'
export to PNG
PNG shows 'Untitled Diagram'

Note: This needs a hook to collect global vars to send with pdf export request via extras URL parameter which we can then be injected via urlParams['vars'] to render. (This will not solve the problem for MS office and google docs with server-side PNG creation.)

Please note that I went the plugin route as I got errors trying to load via vars in url (header or cookie too large). I’m using about 70 placeholders with text content loaded from a google sheet.

Fixed, it will be available with next release
For plugins, you can add your variables to ui.editor.graph.globalUrlVars = JSON Object


Table of Contents i18n

Follow-on to https://github.com/metanorma/metanorma-iso/issues/300:
For the heading of tables of contents:
@Intelligent2013, please use //localized-strings to look up the localised versions of "CONTENTS" and "Page":
<localized-string key="table_of_contents" language="fr">SOMMAIRE</localized-string>
<localized-string key="locality.page" language="fr">Page</localized-string>

Done.
@opoudjis  original ISO PDFs contain 'Contents', 'Sommaire', but not 'CONTENTS' 'SOMMAIRE'.

Done.
@opoudjis  original ISO PDFs contain 'Contents', 'Sommaire', but not 'CONTENTS' 'SOMMAIRE'.

The Word template also has lowercase. Not sure what happened, but fixing.

The Word template also has lowercase. Not sure what happened, but fixing.


[Error]:Cannot convert MulticlassLabels to binary labels:

It can run successfully when i test the example (cross_validation_support_vector_machine.py), which is an official example about binary classification using SVM  and cross validation.
However, when i replace the input feature and label with my own data, which is multilabel.
The error comes as :
result = cross.evaluate()
Traceback (most recent call last):
File "/home/zzz/pycharm-community-2019.1.1/helpers/pydev/pydevd.py", line 1741, in
main()
File "/home/zzz/pycharm-community-2019.1.1/helpers/pydev/pydevd.py", line 1735, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "/home/zzz/pycharm-community-2019.1.1/helpers/pydev/pydevd.py", line 1135, in run
pydev_imports.execfile(file, globals, locals)  # execute the script
File "/home/zzz/pycharm-community-2019.1.1/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/zzz/Desktop/test/cross_validation_support_vector_machine.py", line 22, in
result = cross.evaluate()
SystemError: [ERROR] In file /home/zzz/shogun/src/shogun/labels/BinaryLabels.cpp line 161: Cannot convert MulticlassLabels to binary labels: [ERROR] In file /home/zzz/shogun/src/shogun/labels/BinaryLabels.cpp line 154: Sorry, not yet implemented .
I've uploaded the my data, python file and the official example in the form of zip.
official example.zip
my_code.zip
Any advice can be very helpful. Thanks.

SMVs are for binary label problems. If you want to run SVMs for multiple classes you need to use that corresponsing interface, see e.g. here

Or you can also use native multiclass SVM implementations. In any case, check out this as well:
http://shogun.ml/api/latest/classshogun_1_1CMulticlassSVM.html

Thank you for helping me in solving this error. It runs successfully when i rewrite the code, replacing the svm = machine("LibLinear", liblinear_solver_type="L2R_L2LOSS_SVC")   with svm = machine("MulticlassLibSVM", C=C, kernel=gauss_kernel, labels=labs), then svm.train(feats).
However ,the same error still comes when using crossvalidation.
strategy = splitting_strategy("StratifiedCrossValidationSplitting", labels=labs, num_subsets=2)
evaluation_criterion = evaluation("AccuracyMeasure")
cross = machine_evaluation("CrossValidation", machine=svm, features=feats, labels=labs, splitting_strategy=strategy, evaluation_criterion=evaluation_criterion, num_runs=2)
result = cross.evaluate()
The error comes when the program runs to the " result = cross.evaluate() "
Still, "Cannot convert MulticlassLabels to binary labels"
Here is the full code.
cross_validation_support_vector_machine.zip
Again, thanks for your help.

That is a bug then.
Could you post your code as a github gist or via pastebin instead of a zip file please?

OK, no problem.
gist

I reproduced the error locally, will check what is going on and then get back to you

Thanks man, hoping to receive the solution.


PothosSchemaError: Ref Query has not been implemented

I'm using Prisma as the ORM and @pothos/plugin-prisma as the plugin. When I start the graphql-yoga server, I get the error below.
file:///C:/Users/user/Documents/Projects/project1/node_modules/@pothos/core/src/config-store.ts:391
    }
     ^
PothosSchemaError: Ref Query has not been implemented
    at ConfigStore.onTypeConfig (file:///C:/Users/user/Documents/Projects/project1/node_modules/@pothos/core/src/config-store.ts:391:6)
    at cb (file:///C:/Users/user/Documents/Projects/project1/node_modules/@pothos/core/src/config-store.ts:474:3)
    at pendingActions (file:///C:/Users/user/Documents/Projects/project1/node_modules/@pothos/core/src/config-store.ts:446:32)
    at Array.forEach (<anonymous>)
    at ConfigStore.typeConfigs [as prepareForBuild] (file:///C:/Users/user/Documents/Projects/project1/node_modules/@pothos/core/src/config-store.ts:446:12)
    at BuildCache.builtTypes [as buildAll] (file:///C:/Users/user/Documents/Projects/project1/node_modules/@pothos/core/src/build-cache.ts:172:22)
    at SchemaBuilder.toSchema (file:///C:/Users/user/Documents/Projects/project1/node_modules/@pothos/core/src/builder.ts:597:11)
    at file:///C:/Users/user/Documents/Projects/project1/server/schema.ts:5:31
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
[nodemon] app crashed - waiting for file changes before starting...

Creating this as an issue because the error seems to be coming from the config-store.ts file inside the package.
Supporting code:
builder.ts
import PrismaPlugin from "@pothos/plugin-prisma";
import type PrismaTypes from '@pothos/plugin-prisma/generated';
import { prisma } from "./db.js";
import SchemaBuilder from "@pothos/core";
import {DateResolver} from "graphql-scalars";

export const builder = new SchemaBuilder<{
    Scalars: {
        Date: { Input: Date; Output: Date };
    };
    PrismaTypes: PrismaTypes;
}>({
    plugins: [PrismaPlugin],
    prisma: {
        client: prisma,
    },
});

builder.addScalarType("Date",DateResolver,{});

schema.ts
import { builder } from "./builder.js";
import "./models/Job.js";
import "./models/JobCostCode.js";

export const schema = builder.toSchema({});

index.ts
import { createYoga } from 'graphql-yoga'
import { createServer } from 'node:http'
import { schema } from "./schema.js";

const yoga = createYoga({ schema });

const server = createServer(yoga);

server.listen(4000, () => {
    console.log(' 🚀 Server is running on http://localhost:4000');
});

Have you implemented the Query type somewhere? (builder.queryType({}))

I have implemented queryField in my models but not queryType. I'm following the tutorial from Prisma
Job.ts
import { builder } from "../builder.js";
import { prisma } from "../db.js";

builder.prismaObject("heavyjob_jm_job", {
    fields: (t) => ({
        id: t.exposeID("ID"),
        businessUnitCode: t.exposeString("BusinessUnitCode"),
        businessUnitDescription: t.exposeString("BusinessUnitDescription")
    })
});

builder.queryField("jobs", (t) =>
    t.prismaField({
        type: ["heavyjob_jm_job"],
        resolve: async (query, args, ctx) => {
            return await prisma.heavyjob_jm_job.findMany({...query});
        }
    }))

You need to add the definition for the query type as shown above


Version 1.5.2 there is no management of the devices

It is not possible to control devices on the plan.
the statuses are displayed correctly, but it is impossible to turn on/off on the plan with the mouse.
Now only display and no control.

Logger: frontend.js.latest.202304061
Source: components/system_log/init.py:257
First occurred: 05:10:21 (1 occurrences)
Last logged: 05:10:21
http://<IP_ADDRESS>:8123/hacsfiles/floor3d-card/floor3d-card.js?hacstag=361776538152:2288:20659 Uncaught TypeError: Cannot read properties of null (reading 'editMode')

It seems that you jumped directly from 1.5.0 to 1.5.2. Enter once in the editor and save your config. It should work better

It seems that you jumped directly from 1.5.0 to 1.5.2. Enter once in the editor and save your config. It should work better

No, I used version 1.5.1 and updated it yesterday to 1.5.2.
I am creating a new card with a plan, but it is also impossible to manage devices on it.

Ok, and box the uncaught error is ?

I dont understand you, sorry...

I was asking you what was the error in the console, but you already wrote it in the comment, you have still the editMode error

here same error , i try come back older version of both ha and floor3dcard , but no image loaded

on version HA_2023.3.6 and 1.5.1 all worked.
Then I upgraded to HA_2023.4.1 and 1.5.2 and now the plan is displayed in Loelace, the devices change their status on the plan only if they are turned on from native cards.
On the plan itself, you can't control the devices, only mono to see them.
The cash tap on the plan gives an error in the HA logs.

I think I know the root cause, but I cannot fix it before tomorrow, please be patient, ha changed ui objects in 2023.4 and unfortunately they do not have stable API for all needed functions and they make the life of the custom card developers harder and harder

here np. i just revert oldest version cause im in setting up the card right now , so i can have the time to do my card perfect. Ty for the awesome work

Thank you very much!
Of course, as soon as you have time, we will wait.
Your card is the best, there are no analogues!

today i  enjoy with vr-glasses and my home project ... awesome walking in my real home but in vr

i was thinking : theres a way to pair a lovelace in a 3d object ? example . i want open both cctv cams when i click on a monitor in the 3d model , i already have a button in main view that do it and i think if is possible and how

THX!
1.5.3. works!!!

@zzaal, you are fast, my HACS is not yet showing the new release

here too confirm that work well ty


MVC: SimpleActionButton, add catch undefined TypeError

Add condition for data existing before others
catches Uncaught TypeError: data.status is undefined

I encountered this when I was using SimpleActionButton with a custom API that doesn't have 'status' in the response.
Adding a condition that requires status key existing in data appears to mitigate the error. I assume that it doesn't evaluate the rest of the conditions with this one failing. Since data['status'] is used later on, this will require that it exists first.

@agh1467 thanks!


 Even _docker pull i_s failing with the same error.

Sending build context to Docker daemon 12.14 MB
Step 1/8 : FROM registry.ng.bluemix.net/ibmnode:latest
Pulling repository registry.ng.bluemix.net/ibmnode
Error: image ibmnode:latest not found

@VidyasagarMSC you still having issues?
Please close the issue if you are sorted.


Clarify use of shared oasis

Clarify how to choose between shared oasis and separate repo, and exactly how to enable shared oasis.

The failing check appears unrelated.

CI failures unrelated. Merging


bitcoin syncer: GetTransaction(txid) rpc returning Transaction

How about just extending the TransactionConfirmations with a tx field and submit a WatchTransaction with a confirmation_bound=0?


Add test for column level constraint for LIKE for AI collations

Description
This commit adds JDBC tests for column level constrains using CHECK while inserting value into a table. If the CHECK condition is not met, user won't be able to insert data into table
Upgrade test for 15_latest to 16_latest has also been added.
Issues Resolved
BABEL-4791
Signed-off-by: Shameem Ahmed<EMAIL_ADDRESS>Test Scenarios Covered

Use case based -

Boundary conditions -

Arbitrary inputs -

Negative test cases -

Minor version upgrade tests -

Major version upgrade tests -

Performance tests -

Tooling impact -

Client tests -

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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.632%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
41578

Relevant Lines:
57245

💛  - Coveralls


MulticastSocket.setNetworkInterface  issue

import java.io.IOException;
import java.net.DatagramPacket;
import java.net.InetAddress;
import java.net.MulticastSocket;
import java.net.NetworkInterface;
import java.util.Enumeration;
public class UDPMulticastClient  {
public static void main(String[] args) throws IOException{
System.out.println("in main");
receiveUDPMessage("<IP_ADDRESS>", 4321);   }
public static void receiveUDPMessage(String ip, int port) throws
IOException {
System.setProperty("java.net.preferIPv4Stack", "true");
System.out.println("in function");
byte[] buffer=new byte[1024];
MulticastSocket socket=new MulticastSocket(4321);
InetAddress group=InetAddress.getByName("<IP_ADDRESS>");
Enumeration networkInterfaces = NetworkInterface.getNetworkInterfaces();
while (networkInterfaces.hasMoreElements()) {
NetworkInterface networkInterface = networkInterfaces.nextElement();
Enumeration addressesFromNetworkInterface = networkInterface.getInetAddresses();
while (addressesFromNetworkInterface.hasMoreElements()) {
InetAddress inetAddress = addressesFromNetworkInterface.nextElement();
if (inetAddress.isSiteLocalAddress()
&& !inetAddress.isAnyLocalAddress()
&& !inetAddress.isLinkLocalAddress()
&& !inetAddress.isLoopbackAddress()
&& !inetAddress.isMulticastAddress()) {
socket.setNetworkInterface(NetworkInterface.getByName(networkInterface.getName()));
}
}
}
System.out.println("before joining group");
socket.joinGroup(group);
System.out.println("after joining group");
while(true){
System.out.println("Waiting for multicast message...");
DatagramPacket packet=new DatagramPacket(buffer,
buffer.length);
socket.receive(packet);
String msg=new String(packet.getData(),
packet.getOffset(),packet.getLength());
System.out.println("[Multicast UDP message received] >> "+msg);
if("OK".equals(msg)) {
System.out.println("No more message. Exiting : "+msg);
break;
}
}
socket.leaveGroup(group);
socket.close();
}
}
By Compiling and Running through javac it is working fine.
But by using,
j2objcc -g -o UDPMulticastClient UDPMulticastClient.m
./UDPMulticastClient UDPMulticastClient
It got terminated at socket.setNetworkInterface.

Please check if this is not a duplicate of #962

No, .class file is working fine.
But the executable file generated by j2objcc is not working good.

When I tried to reproduce the issue, I found that the socket is created with domain AF_INET6.
Can , someone please help me with the issue.

Android's source (which jre_emul is based on) doesn't have any references to the java.net.preferIPv4Stack property.


Test program does not work correctly on Windows 10 x86

Describe the bug
HelloWorld program works as expected everywhere (Linux, Windows) except Windows 10 x86 on Samsung tablet? The program window is drawn, but the text in the window is not.
Uwp programs on the same device work fine, test program on a similar framework - also works.
To Reproduce

Create a project in Visual Studio 2022 using the "Avalonia C# Project" template.
Publish the App.Desktop project in the "Release/net8.0/win-x86" configuration.
Copy the resulting folder with files to a device on which the .NET 8.0 runtime system is pre-installed.
Run the App.Desktop.exe.

Expected behavior
The program window with the expected title but without the text "Welcome to Avalonia!" will appear.
Avalonia version
11.0.10
OS
Windows
Additional context
No response

Font issue? Can you try to add a button or similar?

A screenshot would also probably help explain what it looks like.

Font issue? Can you try to add a button or similar?

Changed fonts, doesn't help.
The button is drawn, the text on the button is not.

A screenshot would also probably help explain what it looks like.
This is how it looks on Windows 10 x86

And this is how it looks on Ubuntu

And this is how it looks on Windows 11

I still feel like it cannot access that font for some reason (sandboxed maybe?). I'd say you may want to try InterFont which has an avalonia package. Also it may help to see your sample uploaded here in case someone has a similar device to test.

I still feel like it cannot access that font for some reason (sandboxed maybe?). I'd say you may want to try InterFont which has an avalonia package. Also it may help to see your sample uploaded here in case someone has a similar device to test.

There's no sandboxing, just a normal Windows 10 installation on a Samsung tablet. So yeah, it's old, but that's no reason not to work on it. UWP and WinUI programs work quite well. Fonts are all in place, the latest build, which is in the screenshot, uses Courier New, which is everywhere.
The InterFont font doesn't save the day.

UWP is sandboxed iirc. Question would more be if WPF works.
I don't say it should not work but I can't try on my own so I can only guess. Something must be how we handle fonts or text processing.

Also it may help to see your sample uploaded here in case someone has a similar device to test.

AvaHello solution.7z.zip

Question would more be if WPF works.

WPF on .NET 8 works fine.

Out of curiosity, is the Samsung tablet's display fairly small? I am thinking (albeit this is a somewhat baseless guess) this might be scaling/font size related. The fonts are also noticeably different in your screenshot. EG the Linux one is missing serifs.
Are you also using actual 32 bit windows? If so this might also be a dependency issue in a native library. I doubt many people test 32bit windows these days.

Out of curiosity, is the Samsung tablet's display fairly small

He has a normal monitor, 10", 1366*768, 125% scaling enabled (my eyesight is no longer eagle-eyed).
Parameters:
Processor	Intel(R) Atom(TM) CPU Z2760  @ 1.80GHz   1.80 GHz
Installed RAM	2,00 GB
System type	32-bit operating system, x86-based processor
Pen and touch	Pen and touch support with 5 touch points
Edition	Windows 10 Pro
Version	22H2
OS build	19045.4123
Experience	Windows Feature Experience Pack 120.2212.3030.0
There are no programs that can affect the text display in any way:


View visibility visible description could be improved

Testing #103833
Current text is confusing.

Maybe:
"The view will be visible and expanded (default). The expanded behavior may depend on the view container hosting the view."

Or maybe I'm not reading this correctly, so:
"The view will be visible and expanded (default). The expanded behavior may depend on whether the view container is provided by an extension or by VS Code."

Late to the party again. Text in https://github.com/microsoft/vscode/issues/104065 looks good.


ROMs directory constantly giving me errors.

I'm not sure what's going on, but setting the ROM directory for each individual emulator doesn't work. Neither does setting the global ROMs directory to a folder and restoring the consoles.txt back to default.
[04/10/16 11:46:08] ####################################
[04/10/16 11:47:04] =========================Starting Ice
[04/10/16 11:47:04] ####################################
[04/10/16 11:47:04] An Error has occurred:
[04/10/16 11:47:04] 'roms directory'
Traceback (most recent call last):
File "", line 45, in
File "", line 20, in main
File "c:\Users\Scott.Scott-PC\Development\Projects\Ice\build\ice\out00-PYZ.pyz\ice.filesystem_helper", line 64, in roms_directory
KeyError: 'roms directory'
[04/10/16 11:47:04] ####################################

Never mind, trying a different config file worked. Closing.


Fixed GuiSpinner defines

GuiSpinner and ValueBox were being disabled when the  RAYGUI_TEXTBOX_EXTENDED was set.
This PR moves GuiSpinner and GuiValueBox outside of the else statement for RAYGUI_TEXTBOX_EXTENDED and moves the GuiTextBox into it.

@Lachee thanks for the review!


fix(bridge): Use continuous-delivery.enabled flag

Signed-off-by: ermin.muratovic<EMAIL_ADDRESS>This PR

uses the continuous-delivery.enabled flag to determine if continuous delivery use case is enabled instead of the bridge.installationType

Fixes #7356

Bridge and api-service are implemented to use the CONTINUOUS_DELIVERY_ENABLED environment variable and provide it via the /metadata endpoint.
But this issue depends on some refactoring by @mowies (see https://github.com/keptn/keptn/issues/6042). With the current situation the api-service is part of a helm subchart and can't read the value. The refactoring will get rid of the subcharts and allow us to read that value.

@ermin-muratovic is this still relevant?

Closing this since the continuousDelivery.enabled flag doesn't exist anymore.


Provide versions of extensions in 'About' window

Issue Type: Feature Request
I was trying to report a bug for an extension and wanted to give information about VS Code version as well as the version of the extension that I am using, but I noticed that only VS Code information is present in 'About' window. It would be nice if the 'About' window gives information of all extensions being used too.
VS Code version: Code 1.39.2 (6ab598523be7a800d7f3eb4d92d7ab9a66069390, 2019-10-15T15:35:18.241Z)
OS version: Windows_NT x64 10.0.18362

Use the extension view to get version info, such search @installed
Many users have quite a few extension installed and it would not be practical or helpful to shove all the information for these into the about window


Improved abstraction in test code for tag feature

I have merged in changes from a previous PR #132. Do review and merge that PR before this.
Closes #157

LGTM! Well done YuCong!


_typst compdef file for zsh autocompletion doesn't allow for path completion

After running nix build I put _typst from result/share/zsh/site-functions/_typst into ~/.local/share/zsh/site-functions/_typst. Then after typing typst query I invoke autocompletion for the Typst file path but all I get is:
--  input -- Path to input Typst file, use `-` to read input from stdin --

I suspect that the file is missing some switch that allows for path autocompletion in that place. Since this file is being generated (I think), then the library that puts it together has an bug or the use of that library is incorrect.

Bisect points to 70b354e887cf735db070f766e4812357dddb8a40


Fix RubyGems publish script

Motivation

It didn't run last night, because turns out we blanket skip publish.sh
whenever the $BUILDKITE_SOURCE is schedule. Presumably for other kinds of
builds like commits or PRs the $BUILDKITE_SOURCE is different. Instead, I
just worked around it by making an additional, non-blocking publish step for
RubyGems specifically.
Test plan

Once again, we'll Test In Prod tonight.

It looks like you need a chmod but otherwise looks good.


OnNavigationBlocked called for all clients

I have 3 slides which got a OnNavigationBlocked-listener in each slide fragment class.
However, if I am in a slide and it is blocked all 3 slide fragment classes gets a call to OnNavigationBlocked.
I could use position to filter out the correct listener but in the end it is a little bit annoying as I also need to tell each slide which item position it is to be able to do this.
Got any tips? Anything that can be improved or do I have to learn to live with it :-)

Basically we can add a separate callback to the SlideFragment that will eliminate the position parameter and only fire if the slide at the position is the slide that created the listener. I'll look into this at Thursday when I'm at home again.

Now you can set up a OnPositionNavigationBlockedListener where you only have to set up the position once at initialization.

Excellent. Thanks for your work!


Legitimate round with 0 kills removed

remove_excess_kill_rounds is bugged.
https://www.hltv.org/stats/matches/mapstatsid/129551/gambit-vs-nip has no kills (it's a full save) and thus gets removed

Fixed in #162


ARTEMIS-4113 Fix NPE for backup brokers with connection routers

The nodeID on backup brokers is available only after they become live.

@brusdev, any news on this one? Do you want this in 2.28.0?

@jbertram the fix is completed but I would like to add other tests, I'll try on Monday.


SASS code improvement

I know this is a very ugly code:
https://github.com/Nircek/nircek.github.io/blob/f004b40596193cf117555bb7e12c77563dc888c4/css/common.scss#L3-L44
but I can't achieve any other doing the same functionality with SASS.
I can't use string concatenation and @media together. Can anyone help me?

It is much better:
https://github.com/Nircek/nircek.github.io/blob/69eebd11ca393cbb4c52c3303aea88dc13a63e89/css/common.scss#L3-L9
Closing.


Contribute to WMF Annual Planning with Hypothesis statement

“If the BHL-Wikimedia Working Group adds standardised descriptive metadata to their images from Sub Saharan Africa, they will increase utilization of underrepresented biodiversity.”

In the September 2024 BHL-Wiki Working group meeting the first hypothesis statement was amended to:
“If the BHL-Wikimedia Working Group adds standardised descriptive metadata to their images sourced from publications describing South American or Sub Sahara African species, they will increase the utilisation of images of underrepresented
Biodiversity.”
This amended hypothesis was seen as being Hmore connected to the BHL-Wiki working groups work.

The following amendments to this hypothesis statement was proposed. New option, split into two:
Q2: If the BHL-Wikimedia Working Group creates Commons categories and descriptive guidelines for the South American and/or Sub-Saharan African species depicted in publications, they will make 5,000 images more accessible to biodiversity communities.
Q2: OCT-DEC
(WiR + BHL-WIKI WG would be the owner of Q2)
Q3: If 5,000 well-described images of South American and/or Sub-Saharan African species are released to the wider biodiversity community through 2-3 editing events and an on-wiki worklist, 500* new images will be utilized on Spanish and French Wikimedia projects.
(Gio would be the organizer of the Q3 event(s).
How to measure?
We need to track the state before and the state afterwards. Using categories
Deliverables
Commons categories
Descriptive guidelines
2-3 events
Worklist
500 images used in Wikimedia projects
Reporting Process
It was agreed that the github board could be used to track the WMF hypothesis?
Categories and other thoughts
Further discussion was needed about how to track the outcomes of the WMF hypothesis including the possible creation of Wikimedia Commons categories.
The BHL-Wiki Working group agreed in the September meeting to broaden the hypothesis by changing "Sub-Saharan Africa" location to "Africa". This aligns with Flickr tags as well as category and location metadata within BHL thus making it easier for editors to find content from the appropriate location to work on in Wikimedia Commons.

Before log off to the holidays, I just want to document here that the last updates:
Q2 hypothesis: If the BHL-Wikimedia Working Group creates Commons categories and descriptive guidelines for the South American and/or African species depicted in publications, they will make 3,000 images more accessible to biodiversity communities.

Categories: done! ✅
Category:Files from the Biodiversity Heritage Library in South America
Category:Files from the Biodiversity Heritage Library in Africa
3,000 files: done! ✅
We are at 9,151 files now. We are keeping track of their amount here: BHL-WG - Categories (WMF hypothesis).
Descriptive guidelines: almost done!
They are ready and just need to be centralized. This will be ready by December 31st and available on the chosen place, which is the following page: https://commons.wikimedia.org/wiki/Commons:Biodiversity_Heritage_Library/Modeling.

For next quarter's hypothesis, which is the continuation of this current hypothesis, we will need metrics via Commons Impact Metrics.

For “pageview counts for a given category”, considering a “shallow” scope, all wikis, between November 1 and 30
South America: 2743
Africa: 230

For “time series of category metrics”
South America:
"media-file-count": 53,
"media-file-count-deep": 0,
"used-media-file-count": 7,
"used-media-file-count-deep": 0,
"leveraging-wiki-count": 14,
"leveraging-wiki-count-deep": 0,
"leveraging-page-count": 41,
"leveraging-page-count-deep": 0
Africa:
"media-file-count": 40,
"media-file-count-deep": 0,
"used-media-file-count": 9,
"used-media-file-count-deep": 0,
"leveraging-wiki-count": 8,
"leveraging-wiki-count-deep": 0,
"leveraging-page-count": 24,
"leveraging-page-count-deep": 0

Q3 hypothesis: "If 3,000 well-described images of South American and/or African species are released to the wider biodiversity community through 2-3 editing events and an on-wiki worklist, XX new images will be utilized on Spanish and French Wikimedia projects.”


Pgoapi import problem

Traceback (most recent call last):
File "pokecli.py", line 39, in
from pokemongo_bot import logger
File "/home/user/Poke/pokemongo_bot/init.py", line 13, in
from pgoapi import PGoApi
ImportError: cannot import name PGoApi
Other Information
OS: Linux 64-Bit Debian Based
6e99169d963bd8637dfb55426650f2fe15e694bd

pip install -r requirements.txt
please check the output of
pip freeze | grep -i pgoapi

I do installed one week ago

pip install -r requirements.txt --force-reinstall -U
the version changed since last week ;)

Okey I try and write here response

Same error after force-reinstall


Rust v1.70: Replace once_cell with std::sync::OnceLock

Honestly, I'd rather wait for LazyLock to finally get stabilized (probably going to be at least another year from now, given how slowly things move in std). It's a lot simpler to work with, and lofty has few dependencies anyway.
Unless, of course, there is some advantage to using OnceLock that I don't know about?

Unless, of course, there is some advantage to using OnceLock that I don't know about?

Just one less dependency, no other advantages.
I wasn't aware of the plans for the LazyLock wrapper. Sounds like it only adds a more convenient API that avoids some boilerplate for simple cases.

Using a local, static instance inside the functions doesn't add much boilerplate and keeps the namespace clean.
The migration to LazyLockwould be straightforward when it becomes available. Then you you also need to bump the MSRV again.

Thanks!


Is it possible to create model relationships by using the command?

Is it possible to create model relationships by using the command?

@DesmondPang it's in a roadmap.

Any status on this? Can you tell me how I  can add relationships to the Sentinel User model or when I  can find the one being used by catalyst?


(block) location flags

- flag <context.location> myspecialblock
- flag <player.location> trespassers:++
the input location would always be converted to the block location, as this flag system is really only for keeping block data
breaking the block would erase the flags, just like removing an entity erases their flags
not a necessity, but just like entity flags, despite being replacable by server flags, it would make things a whole lot easier for newer scripters

This will be added as part of #1970


[1pt] Update readme files once the app is ready for final review for the Frontend and Backend

Add a new section to the README file in your project. It should be titled "Kanban board" and it should contain:

[x] a link to your Kanban board.
[x] a link to the screenshot of the initial state of your Kanban board (you should have prepared it when you were setting up your Kanban board).
[x] a statement with the final number of team members.

Frontend
Backend


Feature Request: Support for Client-Side Only Mods Without Requiring Installation by All Participants

@lingongbing I was thinking about making another SellMyScrap mod that's only client-side but I feel like that would cause too much confusion and I'd rather have one sell mod for now. Also, making a client-side sell mod and using it while not being the host might have some complications.


nodes in testnet created via launcher are out of sync

We created and started two local nodes in testnet using launcher and created an account on one of them. But we can only query the account information on one of them even after the blocks catch up on both of them. Screen shot below:

Additionally we checked that they have different blocks:

Thank you for your report. This is an area that is rapidly improving. When whas the last time you updated your code? Just yesterday some relevant changes were merged into the master branch,
I just tested both scenarios here on a 4-node testnet I'm working with and the transactions were duplicated   just fine.
I will be pushing more changes later today as well.

It was built off today's fresh build, not syncing for us

ok. I should have some updates ready later today. Attached are a couple of test run results showing the expected synchronization:
dupe2.txt
dupe1.txt

Also can you show me the exact steps you used to launch and populate your failing test?

Hi,
We are running the test on ubuntu. These are the steps we followed:

Build eos
Launch testnet using launcher as ./programs/launcher/launcher -n2 -p2 -l local
Launch eos-walled on port 7777
Use eosc to create a wallet as ./eosc --wallet-port 7777 wallet create
Import private key of inita as ./eosc --wallet-port 7777 wallet import
Use eosc to create a currency account as ./eosc --wallet-port 7777 create account inita currency
Use eosc to query for the newly created account on a different eosd (not 8888) as
./esoc -p 8889 get account currency.

This fails.
Also in the stderr.txt I noticed the following lines:
1433705ms thread-0   net_plugin.cpp:337            connect              ] host: localhost port: 9877
1433705ms thread-0   net_plugin.cpp:1032           operator()           ] caught signal 0
1433708ms thread-0   net_plugin.cpp:138            connection           ] created connection from client
Apparently it catches a signal and exits the asio.

On a similar note, I noticed that in net_plugin.cpp, in the method net_plugin::plugin_startup(..) method the following lines:
boost::asio::signal_set signals (app().get_io_service(), SIGINT, SIGTERM);
signals.async_wait ([this](const boost::system::error_code &ec, int signum) {
dlog ("caught signal ${sn}", ("sn", signum) ) ;
});
My question is since signals is a local variable on the stack, wouldn't it be destroyed when this startup function returns?
Best regards,
Pravin

Corrected problems in the network code.  Waiting on Phil before merging and committing.

To Pravin's question, the signal handler is getting removed, there's already one in the app library that works. Also, Jonathan is going to put his fix in its own branch so it can be committed separate from mine.

This can be closed.  What it specifically addressed has been taken care of, and more general issues have their own tickets.


what is the meaning of attention_size?

In attention part, the attention_size is a Hyperparameter, when we calculate the alpha, the shape of alpha is not about of attention_size. So, the attention_size is to do what?

Attention size is an inner size of attention layer, alphas are just probabilities of tokens. Attention size allows to regulate 'capacity' of attention layer.

Thanks, does attention_size have any physical meaning? How to set this size?

It's a linear size of layer weights similar to size of fully-connected layer or hidden size of RNN. The value should be chosen accordingly by means grid search or something like that.

Thanks a lot. u_omgea represents context vector, so I think the attention_size should be set as hidden_size * 2.


Suppress "older version of the Android plugin API" warning when running "flutter build ios" or "flutter build ios-framework"

flutter build ios-framework and flutter build ios is printing an Android plugin versioning warning, even though it's specifically building nothing for Android.  Suppress this.
$ flutter build ios-framework  --no-universal --xcframework
Running "flutter pub get" in flutterapp...                          0.5s
The plugin `cloud_firestore` is built using an older version of the Android plugin API which assumes that it's running in a full-Flutter environment. It may have undefined behaviors when
Flutter is integrated into an existing app as a module.
The plugin can be updated to the v2 Android Plugin APIs by following https://flutter.dev/go/android-plugin-migration.
The plugin `firebase_analytics` is built using an older version of the Android plugin API which assumes that it's running in a full-Flutter environment. It may have undefined behaviors
when Flutter is integrated into an existing app as a module.
The plugin can be updated to the v2 Android Plugin APIs by following https://flutter.dev/go/android-plugin-migration.
The plugin `firebase_auth` is built using an older version of the Android plugin API which assumes that it's running in a full-Flutter environment. It may have undefined behaviors when
Flutter is integrated into an existing app as a module.
The plugin can be updated to the v2 Android Plugin APIs by following https://flutter.dev/go/android-plugin-migration.
The plugin `firebase_storage` is built using an older version of the Android plugin API which assumes that it's running in a full-Flutter environment. It may have undefined behaviors when
Flutter is integrated into an existing app as a module.
The plugin can be updated to the v2 Android Plugin APIs by following https://flutter.dev/go/android-plugin-migration.
The plugin `google_sign_in` is built using an older version of the Android plugin API which assumes that it's running in a full-Flutter environment. It may have undefined behaviors when
Flutter is integrated into an existing app as a module.
The plugin can be updated to the v2 Android Plugin APIs by following https://flutter.dev/go/android-plugin-migration.
The plugin `native_pdf_renderer` is built using an older version of the Android plugin API which assumes that it's running in a full-Flutter environment. It may have undefined behaviors
when Flutter is integrated into an existing app as a module.
The plugin can be updated to the v2 Android Plugin APIs by following https://flutter.dev/go/android-plugin-migration.
The plugin `sqflite` is built using an older version of the Android plugin API which assumes that it's running in a full-Flutter environment. It may have undefined behaviors when Flutter
is integrated into an existing app as a module.
The plugin can be updated to the v2 Android Plugin APIs by following https://flutter.dev/go/android-plugin-migration.
Building frameworks for com.m.flutterapp in debug mode...
 ├─Populating Flutter.framework...                                  0.1s
 ├─Creating Flutter.xcframework...                                  1.1s
 ├─Adding placeholder App.framework for debug...                   153ms
 ├─Assembling Flutter resources for App.framework...                6.0s
 ├─Creating App.xcframework...                                      0.6s
Running pod install...                                             40.8s
...

I think this was fixed with #86750 ? I haven't seen in awhile, closing.


Can't type or interact with zoom input

The zoom input on the toolbar don't allow to type or the value is not updating for some reason.
Probably caused by the getDerivatedStateFromProps implementation.
We should be able to change the zoom levels by typing the number.

Hey, can I take this issue ?

@cesar-cb sure :+1:

@cesar-cb are you still working on this ?

@btzr-io, I was going to look this issue today, but you can merge @jenniferharmon PR, I will look into another issue


Add the GridView

Description of Change
Add the GridView for providing the control with grid style and the fast scroll performance.

Scroll   Performance
FPS

TMDb
55~60

HorizontalTest for SampleApp
55~60

VerticalTest for SampleApp
55~60

Bugs Fixed
N/A
API Changes
Added:

GridView
GridViewItemFocusedEventArgs
GridViewSelectedItemChangedEventArgs

Behavioral Changes
N/A

GridView does not look normal when DP is applied.

When ItemSelected() is called, SelectedItemIndex is always -1.


Dataset download link are canceled.

Hello! Could u please re-upload ur dataset in the /data/readme? Both google and baidu drive are unavaliable.

Ok, Wait...

Updated dataset download link.

Updated dataset download link.

ty for ur timely response!

@AshJordanZhao The broken link has been fixed, do you have time to take a look?

@AshJordanZhao The broken link has been fixed, do you have time to take a look?

yeah ive check the data already. maybe it is better if u write the default image size(like 128x128, scale x4) in readme XD

Thank you for your suggestion, it is currently defined in the configuration file.

XD ty for ur nice code btw
谢谢兄弟 咱还是讲中文舒服点233

我没太多时间去同时维护五个项目，每个项目的写法基本上都比较简单


Currently we allow incremental execution of a proposal.

Currently we allow incremental execution of a proposal?

@Anna8016 Can you tell me what's your use case, why you need incremental execution?


doesn't find rows to iterate with default craigslist settings (error on line 19)

This seems to break for me due to craigslist defaulting to "thumbnails" layout and the script assuming a list. Unfortunately, it looks like switching to list layout can't be done via url parameter itself (looks like the list switch is done via JavaScript and then uses a cookie to track the preference).

Craigslist changed the default layout since this was written a while back. I don't intend on fixing this as this repo was meant for sharing the code with others, not necessarily turning into an on-going project.


[cloud_firestore_platform_interface] Fix Firestore pointer path normalization

Description
Equality checking of references is not user input safe as the internal Pointer check unnormalized paths.
Related Issues
#2928
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] If the pull request affects only one plugin, the PR title starts with the name of the plugin in brackets (e.g. [cloud_firestore])
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[ ] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

Thanks for that, really good catch!

Not sure if I should update the CHANGELOG or version as a version wasn't yet uploaded?

Should be ok (cc @Salakar) - we haven't cut a dev release yet and it's not a user facing change so should be good.

Not sure if I should update the CHANGELOG or version as a version wasn't yet uploaded?

Ye as above, no need to worry about those, though if the behaviour was also incorrect on the previous Firestore before the rework then feel free to add it to the existing change log for the rework.

@Salakar well, tested it on an older version, and it didn't work there either.
So I'll add it to the CHANGELOG. :)

Additional note:
With the implementation in the PR calling .path now always returns the path in the same format, which might be breaking for some users.
But I think is more in line with how the native libraries handle it. :)
print(Firestore.instance.collection('test').path);
print(Firestore.instance.collection('/test').path);

final snap = await Firestore.instance.document('/some/doc').get();
final ref = snap.data['referenceToOtherDoc'] as DocumentReference;
print(ref.path);

Printed originally:
test
/test
some/otherDoc

And now prints:
test
test
some/otherDoc

Web implementation:
I've checked how web handles it:
console.log(firebase.firestore().collection('test').path);
console.log(firebase.firestore().collection('/test').path);

prints out:
test
test

So I think we should be fine with the implementation of this PR.

@Salakar After doing some research of the current behavior I think there should definitely some entry in the CHANGELOG, as this

fixes the current behavior for equality checks and
might be a breaking change for some users if they do something like:

Firestore.instance.collection('/test').path == '/test'


[qtbase] build failure

Operating system
Fedora
Compiler
GCC
Steps to reproduce the behavior
Installing qt through CLion

Failure logs
Building qtbase[brotli,concurrent,core,dbus,default-features,doubleconversion,egl,fontconfig,freetype,gui,harfbuzz,icu,jpeg,network,opengl,openssl,pcre2,png,sql,sql-psql,sql-sqlite,testlib,thread,widgets,xcb,xcb-xlib,xkb,xkbcommon-x11,xlib,xrender,zstd]:x64-linux...
CMake Warning at ports/qtbase/portfile.cmake:40 (message):
qtbase currently requires packages from the system package manager.  They
can be installed on Ubuntu systems via sudo apt-get install '^libxcb.*-dev'
libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev
libxkbcommon-x11-dev.
Call Stack (most recent call first):
scripts/ports.cmake:147 (include)
-- Using cached qtbase-everywhere-src-6.5.2.tar.xz.
-- Cleaning sources at /home/gabry/.vcpkg-clion/vcpkg/buildtrees/qtbase/src/here-src-6-be7664eaef.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/gabry/.vcpkg-clion/vcpkg/downloads/qtbase-everywhere-src-6.5.2.tar.xz
-- Applying patch patches/CVE-2023-38197-qtbase-6.5.diff
-- Applying patch allow_outside_prefix.patch
-- Applying patch config_install.patch
-- Applying patch fix_cmake_build.patch
-- Applying patch harfbuzz.patch
-- Applying patch fix_egl.patch
-- Applying patch fix_egl_2.patch
-- Applying patch installed_dir.patch
-- Applying patch GLIB2-static.patch
-- Applying patch clang-cl_source_location.patch
-- Applying patch clang-cl_QGADGET_fix.diff
-- Applying patch dont_force_cmakecache_latest.patch
-- Using source at /home/gabry/.vcpkg-clion/vcpkg/buildtrees/qtbase/src/here-src-6-be7664eaef.clean
-- Found external ninja('1.10.2').
-- Configuring x64-linux
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: /home/gabry/.local/share/JetBrains/Toolbox/apps/clion/bin/ninja/linux/x64/ninja -v
Working Directory: /home/gabry/.vcpkg-clion/vcpkg/buildtrees/qtbase/x64-linux-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
/home/gabry/.vcpkg-clion/vcpkg/buildtrees/qtbase/config-x64-linux-dbg-CMakeCache.txt.log
/home/gabry/.vcpkg-clion/vcpkg/buildtrees/qtbase/config-x64-linux-rel-CMakeCache.txt.log
/home/gabry/.vcpkg-clion/vcpkg/buildtrees/qtbase/config-x64-linux-out.log
Additional context
I have installed all the required packages on Fedora (the name aren't the same but I checked everything), but still it doesn't work. Here the logs
config-x64-linux-dbg-CMakeCache.txt.log
config-x64-linux-out.log
config-x64-linux-rel-CMakeCache.txt.log

ERROR: Feature "xcb": Forcing to "ON" breaks its condition:
QT_FEATURE_thread AND TARGET XCB::XCB AND TEST_xcb_syslibs AND QT_FEATURE_xkbcommon_x11
Condition values dump:
QT_FEATURE_thread = "ON"
TARGET XCB::XCB found
TEST_xcb_syslibs = "FALSE"
QT_FEATURE_xkbcommon_x11 not evaluated

You probably miss some system libraries: https://github.com/microsoft/vcpkg/blob/8b04a7bd93bef991818fc372bb83ce00ec1c1c16/ports/qtbase/portfile.cmake#L40-L43

I have ALL of them installed on the "Fedora" version. libx11-xcb-dev looks like doesn't exist in Fedora, but libx11-xcb Bing Chat says is enough. Maybe it is the hassle

libx11-xcb-dev looks like doesn't exist in Fedora, but libx11-xcb Bing Chat says is enough

I would assume the latter is only runtime, but you need the corresponding development package.

This issue has been reproduced locally, I will try to fix it.

Try installing libX11-devel

Already installed and still not working. I'll try to follow @Osyotr hint to find the required packages

Got the same problem at first on Fedora 38. It looks like one need ALL *-devel packages containing xcb in their names:
sudo dnf search xcb | grep -i devel

For me the next devel-packages were missed:
sudo dnf install 'xcb-util-*-devel'

It finally works. Thank you so much


Add Seeed XIAO ESP32C6 board definition

Description:
Add Seeed XIAO ESP32C6 board definition
Checklist:

[x] The pull request is done against the latest develop branch
[x] Only relevant files were touched
[x] Only one feature/fix was added per PR, more changes are allowed when changing boards.json
[x] I accept the CLA.

thx

@sigmdel  Open boards PRs in repo Platformio have no impact here. If a new board is wanted to be seen in pioarduino a PR here needs to be made.

@sigmdel any luck with BLE after?

@alexbegoon : Yes see, sketch 07_ble_led in https://github.com/sigmdel/xiao_esp32c6_sketches. There a bit more info in the associated blog about testing using a smart phone app.
If you don't want to get the whole repo, just create an empty pio project, replace its main.cpp with main.cpp and use this platformio.ini:
[env:seeed_xiao_esp32c6]
platform = https://github.com/pioarduino/platform-espressif32.git#develop
board = seeed_xiao_esp32c6
framework = arduino
monitor_speed = 460800
;upload_port = /dev/ttyACM0
;monitor_port = /dev/ttyACM0

Good luck

@sigmdel Thank you!
@Jason2866 Great job! :people_hugging:


Multivoice?

Are there any plans to extend this to a multi-voice setup?
I am trying to create a TTS for a very low resource language: https://github.com/CherokeeLanguage/cherokee-audio-data

I was trying to train a network from scratch with Cherokee, as a test, but
the CMU DICT has gotten in the way, and I'm clueless as to what to do. My
skill set is primarily reformatting data to fit the requirements for input.
On Mon, Oct 18, 2021 at 8:13 AM Benjamin van Niekerk <
@.***> wrote:

Hi @michael-conrad https://github.com/michael-conrad,
I don't have any current plans to extent this project. Its mostly meant to
be reproduction of the dynamic convolutional attention mechanism that can
be copied/extended by others. I'd be happy to offer any guidance or
feedback if you want to adapt this code to a different language or
multispeaker setup.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bshall/Tacotron/issues/6#issuecomment-945702946, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABH4XNBERLDMGWAUUEDUWMTUHQFNHANCNFSM5GE3HAFA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I'm training using a special pronunciation orthography. The Cherokee Syllabary unfortunately doesn't reflect vowel length and tones. A description of the orthography is at: https://github.com/CherokeeLanguage/cherokee-audio-data/blob/main/pronunciation-key.md
I'm currently experimenting with a fork of "Tomiinek Multilingual Text to Speech" at repo: https://github.com/CherokeeLanguage/Cherokee-TTS
Because the language is low resource, and composed mostly of very short utterances, my results have been poor. I'm having issues with "early termination of sequence", "extra utterances at end of sequence", and other things. I'm kinda of hoping the different attention mechanism would help, especially with longer sequences.
I'm sure it doesn't help much that part of my training data is originally sourced from tape.
I'm also looking at https://github.com/mutiann/few-shot-transformer-tts to see if it might work better, but the amount of audio data to download that is needed for adaptation is astronomical.


Extends Piano Genie API with various conditioning signals

Refactors Piano Genie API creating new subclasses PianoGenieChord, PianoGenieKeysig, PianoGenieChordKeysig which add various types of musical context as conditioning signals for the RNN. The original API for class PianoGenie is preserved without modification in this refactor.

@notwaldorf I've kept PitchClass instead of NoteSequence.PitchName for now because I couldn't find any easy way to convert the latter enum into a number 1-12 indicating (indicating pitch classes C-B).
Also, I will update the demo with chord conditioning once all of the models are finished training. I would appreciate a review on these standalone API changes for now as my contract is expiring soon :)

Reviewing right now!

@notwaldorf I've addressed your comments. I appreciate the quick review!

Do you need me to merge and cut a release?

A new release is not necessary. Merging is optional. I can also just update this PR with the demo code when it is ready. Up to you.

Without a release you can't really use it, but that sounds ok with me. Just let me know when you want me to look again

Hi Monica. I added an example demo using the new conditioned models and API. The model switching and conditioning controls complicated the demo substantially. As such, I made it a separate demo called piano_genie_conditioned and preserved the original (simpler) piano_genie demo. Ready for your eyes when you have a minute :)

The new demo can be previewed at: https://chrisdonahue.com/magentajs_private/music/demos/piano_genie_conditioned.html

Thanks for pointing out my lack of any documentation about the various checkpoints. I have filtered the checkpoint list down to recommend ones for each conditioning configuration, and added a verbose comment about the other checkpoints for devs who want to venture off the beaten path.
Updated live preview: https://chrisdonahue.com/magentajs_private/music/demos/piano_genie_conditioned.html


change wrld map

Can you replace the world map with the map of China?

I already answered you in #1410. The answer is no.


Grid coloured Bands

Hi,
Just wonder the best way to go about creating, Color bands within the Gridlayer i.e. for a yscale of 0 to 200, a yellow background for ranges between 100 and 150 then red for 150 to 200.  Thanks

@lewo this is not possible with the current SwiftChart, but it could by done by changing this code to print an area between the axis. I'd love to see a PR for it :-)

Cool thanks will give it a go.


Enable JSON extension.

Connects to mapzen/vector-datasource#778.
@rmarianski could you review, please?

:+1:


Use prominent color for "Release notes" link

The color used for the "Release notes" link in home page has poor contrast
with its background making it hard to notice.
So, use a more prominent color for the link.

I agree it's not very noticeable. The CSS change here looks reasonable, as it will only affect links inside the monitor section (and this is the only such link). The new color is basically off-white, which looks OK to me, but it no longer obviously stands out as a link. Iwonder if there's a way we can make it more clear that it's a link. Maybe text-decoration: underline?

I wonder if there's a way we can make it more clear that it's a link. Maybe text-decoration: underline?

Yeah, that makes sense. I've used it and also ensured that it doesn't apply to the "Download" button which also turns out to be a link.

@sivaraam Thanks, that looks great!


Fix gemmini legalize funcname.

@MbjYjbpivj  Hello, please resubmit this PR. Because merging this PR caused build problems before, I Revert this PR. I think this PR is meaningful, and I hope everyone can participate in the community.


mlpmixer

MLPMIXER

Hi @fanjinfucool Currently, this example does not support main features in Colossal-AI, eg. data/tensor/pipeline parallel, ZeRO, etc. Could you please try to support them, provide the configs, and update expected results in README? Thanks.


Updates Karma.Server constructor

Updates the syntax of the Karma constructor, as the previous one was deprecated.

Thanks for the pull request @sanjeetsuhag!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Great, thanks @sanjeetsuhag!


Rtmps support for facebook

I tried all possible means to use this library to relay my live stream to Facebook live. But nothing works as Facebook only accepts rtmps protocol. Any update or working snippet on the same is much appreciated. I really love the ease of this library to create live streams.
I have tried using relay in config and adding a task with edge attribute having full Facebook RTMPS url.
Something like
rtmps://live-api-s.facebook.com/
But this does invoke a connection event to the live unfortunately doesn't play my live video.
Any help pleaseeeee..

Got it working now! Thanks ! It was due to SSL !


Christoph/fix/typehints

This is mostly #1404 by @Bhargavasomu with some minimal fine tuning on top.
What was wrong?
The eth module was not type hinted till now. This needs to be fixed and also the tox.ini file needs to be updated.
Issue : #1398
How was it fixed?
Adding type hints to the arguments and the function. The phase of adding the type hints is as follows

eth.utils (Started previously and hence wanted to finish it)
eth.tools
eth.vm
Everything else which is leftover

Cute Animal Picture

@Bhargavasomu thanks again for doing the bulk of the work! You may want to check out the few extra commits on top just to get a feel what kind of changes were made.

@cburgdorf I noticed that you have moved some type definitions to eth.typing and importing from there, which is fancy BTW. I haven't known we could do this, definitely will use this method for frequently invoking type definitions

Yep, and in the long run we might move some if not all to https://github.com/ethereum/eth-typing


[improve][broker] Avoid unnecessary creation of BitSetRecyclable objects

Motivation
Avoid unnecessary creation of BitSetRecyclable objects.
https://github.com/apache/pulsar/blob/5c31c9af04176f81d1616dde64567d0e0ce1f2c8/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java#L2190-L2196
When batchDeletedIndexes does not contain the given position, the same BitSetRecyclable will be created twice, and the following logic does not need to be executed at this time:
bitSet.and(givenBitSet);
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:  https://github.com/lordcheng10/pulsar/pull/25

CI ALL passed: https://github.com/lordcheng10/pulsar/pull/25
PTAL,thanks! @codelipenghui @Technoboy- @eolivelli @Jason918

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


Tuple field_flags are deprecated

WTForms has deprecated the use of tuples for field flags.
https://github.com/wtforms/wtforms/blob/master/src/wtforms/fields/core.py#L131

Thank you 🙏


*ngIf not taken into account when rendering ionic components (atleast content and header)

Ionic version:  (check one with "x")
[x ] 2.0.0
I'm submitting a ...  (check one with "x")
[x ] bug report
Current behavior:
When adding *ngIf="boolean"
To <ion-header> or <ion-content>
Expected behavior:
The ion components appear correctly rendered when the ngIf is evaluated tru.
But they are not.
Steps to reproduce:
http://plnkr.co/edit/btuqNZRRVqdB1VYFsBUX?p=preview

@AMetnik Thanks for the issue. loaded is not getting set to true in your plunker because this is a reference to the Window object. If you add a console.log(this); right before setting it you will see. If you change it to use an arrow function it will work properly, but you will have to call content.resize() afterwards because you are dynamically showing the header:
  ionViewDidEnter() {
    setTimeout(() => {
      this.loaded = true;
      this.content.resize();
    }, 2000);
  }

Note: I also moved it to the ionViewDidEnter in order to make sure the ViewChild content was set. Updated plunker: http://plnkr.co/edit/7rXGAxMKZ7XnvwJW3Bu2?p=preview

Is there an equivialent to content.resize(). To rerender the navbar/header as well?
Also I've updated the plunkr (http://plnkr.co/edit/Tf0AlDlIkyPsZh1zqEKF?p=preview)
But I guess this is just bad practice, and I could encapsulate the content with an inner div and set loaded on that.


No document found for how to install and use it

I want to use this, but don't know how to use it.

Same


Warn on entry.layer not in locale

The layer entry as a replacement for the mvt_clone will have an entry.layer property used to lookup a layer in the mapview.locale.
The [layer] entry method must return and should warn if the entry.layer property is defined but the layer is not found in the mapview.locale.
I also noticed that the [entry] layer.tables zoom restriction is not respected on first execution of the method but only once the changeEnd event is executed. This has been fixed in this patch PR as well.

Hello, I tried to fix the issue
This is what I did:
Modified the layer entry method to warn and return if the entry.layer is defined but not found in mapview.locale. Also fixed the zoom restriction issue for layer.tables.
I also created pull request: https://github.com/GEOLYTIX/xyz/pull/1693

[!CAUTION]
Disclaimer: This fix was created by Latta AI and you should never merge before you check the correctness of generated code!
The fix provided by Latta AI might not be complete and it can serve as an inspiration.

This bug was fixed for free by Latta AI - https://latta.ai/ourmission
If you no longer want Latta AI to attempt fixing issues on your repository, you can block this account.

I notice another bug testing this with a featureSet clone. A [layer] entry may have a featureSet or featureLookup object but not both. Otherwise the featureSet will be ignored.

The open_library function receives argument e, documented as param event which is never used.

What is the icon param for the icon_click method?

I just don't understand the method.


Console message subscriber

Summary
Add an event subscriber on console messages to capture messages within the primary interface.
Solution
Electron's webContents emits an event when messages are sent the browser console. Since we have a logging console for system messages we should try to subscribe to those events and log those messages in the UI.

Outmoded by other changes.


Public attendance list

We want to prove that no corruption can thrive on the meetings so could it be possible to provide a public attendance list?

Probably - what exactly should be public?

The names and their attendance history.

@navro What do you think about this? :)

It would probably be a good idea to only show this to those who are logged in, in case people don't want their information public.


removed nonHCAP and interested sanitization

We confirmed that Massive will store a blank value here as simply not creating a key on the jsonb object. If we need this to be present later (for querying, reporting, or for editing purposes) then we can write a migration to add this key with a null value for any records that don't have it.


Repository.writeFile not working

When attempting to use Repository.writeFile, this error occurs:
(node:8240) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'status' of undefined
    at handler (C:\Program Files\nodejs\node_modules\github-api\dist\components\Requestable.js:372:40)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:8240) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:8240) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Here is the code used:
GitHub = require("github-api");

github = new GitHub(username, password);
repo = github.getRepo(user, repo) // actual values are "kyllta", "urlshortener"

repo.writeFile(
  "main",
  "test_file.txt",
  "test contents",
  "test commit"
);

Any attempts to use in HTML code (Chrome) result in this error:
xhr.js:177 PUT https://api.github.com/repos/kyllta/urlshortener/contents/saved_urls.json 404
  | (anonymous) | @ | xhr.js:177
-- | -- | -- | --
  | t.exports | @ | xhr.js:13
  | t.exports | @ | dispatchRequest.js:50
  | Promise.then (async) |   |
  | n.request | @ | Axios.js:61
  | (anonymous) | @ | bind.js:9
  | value | @ | Requestable.js:183
  | (anonymous) | @ | Repository.js:787
  | Promise.then (async) |   |
  | value | @ | Repository.js:785
  | submit | @ | (index):54
  | async function (async) |   |
  | submit | @ | (index):32
  | onclick | @ | (index):73

My suspicion is incorrect headers, but I don't know much.
#577 and #520 are similar, but have different errors, and so don't seem to apply.

Also having this issue. Can this api be used from localhost?


Update French translations

I noticed some keys that were missing and some translations that were not up to date anymore. Leveraged (and modified) Deepl's amazing machine translations to make my life easier.
I'm also not up to speed re: inclusive writing in French. I wanted to change all é (and equivalent) to é(e) but I'm not sure if that is considered "correct" 🤔

Ah, maybe I was not supposed to bring in the missing keys and it's probably done by code before being translated?
That would make sense. Consider French as being ahead of the curve maybe? 😛

Are you fluent in French? We have had several rounds of translation and are moving away from machine translation.

I think LaShawn can vouch for me 😁 (we work together, hi LaShawn 👋 )
I was also a professional EN>FR translator in another life and yes, I am a French speaker! This is me - https://www.linkedin.com/in/jcrevits
Deepl is that good though and is used by professional translators for PEMT (post-editing machine translation). If you want to make localization easier/faster, I'd recommend it 🙂


Bug Fix: error syntax in schema definitions

Validate manifest list JSON object via schema.Validator.

To validate full fields;
To validate required fields only;
To validate customized reference manifest media type;
To validate invalid media type case;
To validate invalid field type case;

Signed-off-by: xiekeyang<EMAIL_ADDRESS>

It is undated in https://github.com/opencontainers/image-spec/pull/444/commits/a0e029099f2320418241951af824e293b538c624.
Drop some duplicated lines, and add some case missing required fields.

@wking
I drop my commit about media type, which is not really quite right.
I patch your commit https://github.com/opencontainers/image-spec/pull/444/commits/d05baa5f802c895669443191d6b973bf2e3d55f0 directly, for go pass the unit test(maybe we need more work about https://github.com/opencontainers/image-spec/pull/444/commits/d05baa5f802c895669443191d6b973bf2e3d55f0).
Our PRs seems conflict, which should be resolved after one landed.

On Sat, Nov 05, 2016 at 09:52:12PM -0700, xiekeyang wrote:

I patch your commit
https://github.com/opencontainers/image-spec/pull/444/commits/d05baa5f802c895669443191d6b973bf2e3d55f0
directly, for go pass the unit test…

To unpack that comment a bit:
You've cherry-picked that in in place of your previous 2da8885.  And
you need one or the other to cover application/octet-stream (from 1)
not fitting the current master's media type pattern 2.

Our PRs seems conflict, which should be resolved after one landed.

Sounds good.

@stevvooe @vbatts This PR is fixing definitions bug in schema. I think it to be ready, and PTAL.

@opencontainers/image-spec-maintainers
Rebased, PTAL.

@stevvooe We've discussed in some issues before, and finally think it is best to let json schema pattern just cover spec declaration, and check future more via strict controllable function.
Customized media type is self-defined. We should allow and can't use enum to involve it.
I pick @wking commit to use media type pattern. I review it, and sure it match rfc6838, which we had better to follow up now.

@stevvooe If the above comment https://github.com/opencontainers/image-spec/pull/444#issuecomment-262144283 and this patch is acceptable? Thanks a lot!

LGTM

Rebased, PTAL, thanks a lot!

LGTM

@opencontainers/image-spec-maintainers I think this is ready to me merged. PTAL, thanks.

LGTM

@opencontainers/image-spec-maintainers  rebased, PTAL.

I worried that schema bugs will exist in spec without this PR. That let schema work incorrectly.

LGTM
I do have a nit but you can PR that later.

LGTM

@stevvooe @vbatts Rebase again, please re-LGTM, thanks a lot!

LGTM

@vbatts Please re-LGTM, thanks.

@vbatts should be ready to merge.

LGTM


change: freeze dependency versions

Issue #, if available:
Description of changes:
Freeze dependencies
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


NuGetCommand@2: packagesDirectory/restoreDirectory doesn't work for repo root

Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Environment
Azure Pipelines (https://microsoft.visualstudio.com)
Private Agent - Windows 10.0.17134 (RS4) - Agent 2.142.1
Issue Description
I have tried the following:
      - task: NuGetCommand@2
        displayName: Restore Packages for tools.sln
        inputs:
          command: restore
          restoreSolution: tools\tools.sln
          restoreDirectory: '$(Build.SourcesDirectory)'

      - task: NuGetCommand@2
        displayName: Restore Packages for tools.sln
        inputs:
          command: restore
          restoreSolution: tools\tools.sln
          restoreDirectory: .

Task logs
2018-11-28T00:52:59.7524712Z ##[debug]packagesDirectory=D:\build\agent4\_work\2\s
2018-11-28T00:52:59.7529075Z ##[debug]Absolute path for pathSegments: D:\build\agent4\_work\2\s = D:\build\agent4\_work\2\s
2018-11-28T00:52:59.7529347Z ##[debug]build.sourcesDirectory=D:\build\agent4\_work\2\s
2018-11-28T00:52:59.7529553Z ##[debug]Absolute path for pathSegments: D:\build\agent4\_work\2\s = D:\build\agent4\_work\2\s
2018-11-28T00:52:59.7529758Z ##[debug]packagesDirectorypath supplied :false
2018-11-28T00:52:59.7687817Z ##[debug]Getting NuGet quirks

The packages are not restored at D:\build\agent4\_work\2\s\packages, even though the directory exists. filePathSupplied() seems to be returning false. It seems to be because filePathSupplied checks whether the path is equal to repoRoot.
What if I want my packages to be restored to the repo root?

I've realized that one would not want this in a sane configuration, and $(Build.SourcesDirectory)\packages makes far more sense.


Remove "no document assigned" notification

Remove "no document assigned" button and notification, it is not useful, and in many ways misleading (because not every R should have a full text).

We will be rewriting this UI most probably as the referencing in document fulltext will work a different way (no reference link needed for having an anchor in document). So yes, this will be removed.


Optax: Add AdaBelief optimizer description, reference, arg doc strings

This PR adds a short description, a paper reference, and arg doc strings to the AdaBelief optimizer in Optax, since it was not documented. AdaBelief seems like a very notable new optimizer we should be using.
  ...
  AdaBelief is an adaptive learning rate optimiser that focuses on fast
  convergence, generalisation, and stability. It adapts the step size depending
  on its "belief" in the gradient direction — the optimiser adaptively scales the
  step size by the difference between the predicted and observed gradients.
  AdaBelief is a modified version of Adam and contains the same number of
  parameters.
  ...

Used the recent NeurIPS paper to prepare the docs https://arxiv.org/abs/2010.07468
Note that the AdaBelief args are the same as in Adam (it's a "modified Adam")
Added dashes (-) to first- and second-order in Adam
Used British English in line with the rest of the docs (optimiser 🇬🇧)

Related to https://github.com/deepmind/optax/pull/71 by @mtthss
LMKWYT @mtthss Cheers 👍

Thanks! The lint fails because of a line too long error

Thanks @mtthss, fixed it I think, PTAL 👍


dynamic-layers/meta-mender-tegra: rename u-boot bbappend

to align with meta-tegra layer
Signed-off-by: Ilies CHERGUI<EMAIL_ADDRESS>

The issue was fixed by Matt, I'm going to close this PR


Use nix-store --realize instead of nix-build when we have a .drv

To be clear here, this is a bug we can fix by using nix-store internally, but because the original bug report in #179 seemed to have gone away, we didn’t prioritize this refactor.

Originally posted by @Profpatsch in https://github.com/target/lorri/issues/357#issuecomment-603815878
We are regularly hitting a bug in nix-build, where it interprets a .drv file as a .nix file and thus fails the build.
Internally, we already track .drv files with a strong struct wrapper everywhere:
https://github.com/target/lorri/blob/13354036ce2161d21da91e07337814e2a9fa734b/src/lib.rs#L78-L87
However, when we actually build the code
https://github.com/target/lorri/blob/13354036ce2161d21da91e07337814e2a9fa734b/src/builder.rs#L189-L194
we throw away that information (see as_path above) because our nix wrapping code
https://github.com/target/lorri/blob/13354036ce2161d21da91e07337814e2a9fa734b/src/nix.rs#L113-L120
does not make that distinction (yet) and always calls nix-build:
https://github.com/target/lorri/blob/13354036ce2161d21da91e07337814e2a9fa734b/src/nix.rs#L306-L312
We should extend that builder module in order to be able to distinguish between building .nix files (can still call nix-build for simplicity’s sake) and .drv files (should use nix-store --realize).
does not

Ran into #357 on MacOS Catalina, so I'll be taking a crack at this issue over the weekend. Thanks for the investigative work!

Usually I'm working from NixOS, but my work laptop is a Macbook with nix (Nix) 2.3.4. I get the error described in #357
I have a coworker who was also likely affected by this failure as well I was trying to get to adopt lorri/nix/ghcide 2.... will verify that it was this issue if I can.


Previewer

With the previous previewer we had issues when rotating the device that made the transition show briefly the previews for other images/videos until it was able to re-align the current preview, also that was forcing the video being played to stop and for narrow images the zoom functionality was just awful.
This PR uses the same swiper as the drawer to prevent the issue when rotating the device and also corrects the problem when zooming on narrow images.

Oh well I have to rebase this one so I might as well do that

@mkraft rebased and changed the regex to use your suggestion


tests: addition of test_example_app.py

Adds test_example_app.py. (closes #118)

Signed-off-by: Leonardo Rossi<EMAIL_ADDRESS>

@jirikuncar any clue about this error? :)
elasticsearch.exceptions.RequestError: TransportError(400, u'index_already_exists_exception', u'already exists')
See https://travis-ci.org/inveniosoftware/invenio-deposit/jobs/161941154
(note: If I run only test_examples_app.py, it works.)

@hachreak probably some test case is not cleaning after itself well.

@jirikuncar I think I found why.
It's is creating deposit but using the default schema and when the yield fixture try to delete all indices, it can't delete it, because actually is not registered anywhere the index.
WDYT?

@hachreak is es fixture used correctly? see https://github.com/inveniosoftware/invenio-deposit/blob/master/tests/conftest.py#L246-L256

done.
Could you please check now if it's ok?

@jirikuncar :shipit: ?

LGTM


Support for Init & Sidecar containers

Can there be an entry in Gate and Web deployment yamls to allow for additions of init containers and side car containers to be added as part of the values yaml.
For example, in GCP, we're required to have a gce-proxy container to securely speak to our cloudsql DB, using image: gcr.io/cloudsql-docker/gce-proxy:1.17 as a sidecar. This means we have to modify the helm charts leading us to get out of date pretty quickly without the risk of removing the sidecar.
In addition, when Vault injector isn't available, we would use the init containers to retrieve secrets/certs from Vault. Again, this means modifications to helm charts leading us to get out of date quickly.
You could have Values of gate.init.enabled or web.init.enabled and it dumps the config of gate.init.container to the gate deployment YAML. Same with Web & Sidecar containers.

@MalcolmCyber
Hi,
I'd appreciate hearing back from you if this solution would be suitable for you.
I will raise a PR and we will release a new version if it does
https://github.com/aquasecurity/aqua-helm/compare/2022.4...BaruchBilanski:aqua-helm-fork:2022.4-web-sidecar

Hi @BaruchBilanski  that would be great. I've modified my helm in a similar manner.


Added guess the number game

Description 📜

Added guessing game
It is a guessing game where the user guesses the number and it is checked further.

Fixes #503

Type of change 📝

[x] Add a new project

Domain of Contribution 📊

[x] Project using HTML, CSS & JS

Checklist ✅
Please delete options that are not relevant.And in order to tick the check box just but x inside them for example [x] like this

[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GSSoC'22 contributor

Screenshots / Gif (Optional) 📸

Added readme file do check


Update Bower.json line 11

Hello,
In line 11, a file that doesn't exist is called. Please change the line to this :
"dist/js/adminlte.js"
So that when using "bower install admin-lte", all will be good.
Thank you.

Thanks


Added My contributor details on the website

Added My profile pic and Name in the contributors

Good work. I am merging your PR.
Do give us a star by hitting the star button of this repo!


typo: should date should be data?

the defined model is conditioned to the date -> conditioned to the data

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 81.237%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1195

Relevant Lines:
1471

💛  - Coveralls


feat: Updated to latest versions of dependencies

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-examples/blob/master/.github/CONTRIBUTING.md.
What is the current behavior?
3rd part dependencies are now latest versions
Issue Number: #76
What is the new behavior?
3rd part dependencies are not latest versions
VAULT_VERSION=1.7.1
CONSUL_VERSION=1.9
POSTGRES_VERSION=12.3-alpine
REDIS_VERSION=6.2-alpine
KONG_VERSION=2.4-alpine
KUIPER_VERSION=1.1.2-alpine
MOSQUITTO_VERSION=2.0
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Specific Instructions
Are there any specific instructions or things that should be known prior to reviewing?
Other information

@lenny-intel Are you going to regenerate the docker-compose files?

@bnevis-i, opps :-o


Settings lost when disk is full

Describe your issue

When the disk is full (0 bytes), and you close and reopen Chatterino, it seems to attempt to write the settings.json and window-layout.json files, but fails to do so. It merely creates those files with length 0, truncating the previous versions of those files.
The settings file luckily has backup files (though they are also quickly overridden if you reopen Chatterino a few times), but the window-layout does not. For me, the window layout possibly takes more effort to configure than the settings.
This is a low priority issue, but perhaps you could add a backup routine to window-layout, or better, do a check on available disk space before attempting to write the files.
OS and Chatterino Version

Windows 10, Chatterino 2.3.4

The way I'd do this is:

write the settings into a temporary file
if the write failed, bail. Otherwise:
rename/move old settings.json to settings.json.bak.whatever
rename/move temp file to settings.json

Doing it this way would prevent getting half-written settings/window layouts/anything else. Is there something that doesn't allow us to use this kind of a trick?

Could setting the respective files as read-only in the file's properties help with this?

This just happend to me on Ubuntu 20.04, so it isn't Windows only.
Also maybe it would be better to store the settings in ~/.config/chatterino (XDG_CONFIG_HOME) instead of ~/.local/share/chatterino because ~/.config is more commonly backed up.

I'm gonna take a look at this.

Related: https://github.com/pajlada/settings/issues/76


Remote Code exploits

As per email from Alexander Cherapanov ... details not here for obvious reasons :)

partially mitigated (unintentionally) by 19e1e11caadc91cadb06ef223e7d7772b3864ee2

More details in an email from Vicki. Also not detailed here for obvious reasons.


No module named 'file_length' in py3.6

I am trying to run ddr in py3.6. I got the following error in jupyter notebook:
ModuleNotFoundError: No module named 'file_length'

I applied the following fix and it seems to be working fine in py3.6
in get_loadings.py
import file_length → from ddr import file_length
from simple_progress_bar import update_progress → from .simple_progress_bar import update_progress
from cosine_similarity import cos_similarity → from .cosine_similarity import cos_similarity
in get_vecs.py
from load_terms import get_files → from .load_terms import get_files
from file_length import file_len → from .file_length import file_len
from simple_progress_bar import update_progress → from .simple_progress_bar import update_progress

also changed dic_terms.iterkeys() to iter(dic_terms.keys())

I also made additional changes. The version that seems to be compatible with py3.6 is: https://github.com/weiaiwayne/DDR

thank you, this was incredibly helpful for replicating the DDR! Just for anyone trying to use this updated version, they'll also have to update "path_info.iterkeys()" to "iter(path_info.keys())" in the load_terms.py file


ReferenceError: contentType is not defined

When I'm trying to validate (invalid) oAPI 3.0 schema, this exception gets thrown.
Detailed Description
Log:
ReferenceError: contentType is not defined
    at checkResponse (/home/markov/Projects/tapeer-definitions/node_modules/swagger2openapi/validate.js:502:21)
    at checkPathItem (/home/markov/Projects/tapeer-definitions/node_modules/swagger2openapi/validate.js:720:21)
    at validateSync (/home/markov/Projects/tapeer-definitions/node_modules/swagger2openapi/validate.js:1025:13)
    at /home/markov/Projects/tapeer-definitions/node_modules/swagger2openapi/validate.js:1219:9
    at Generator.next (<anonymous>)
    at onFulfilled (/home/markov/Projects/tapeer-definitions/node_modules/co/index.js:65:19)
    at /home/markov/Projects/tapeer-definitions/node_modules/co/index.js:54:5
    at new Promise (<anonymous>)
    at co (/home/markov/Projects/tapeer-definitions/node_modules/co/index.js:50:10)
    at Object.validate (/home/markov/Projects/tapeer-definitions/node_modules/swagger2openapi/validate.js:1214:5)

And yea, if you take a look at the source, it really tries to do weird stuff:
checkSchema(contentType.schema,{},'schema',openapi,options);

Even my IDE complains. Have you thought about adding ESLint & Prettier to the project, to avoid such simple bugs?
Other stuff
I'm running version 2.11.16 from NPM. I've successfully fixed it and will submit PR in a minute.

That whole test was a remnant from an early draft of OAS 3.0. I've removed it now.
We have eslint set up on the project but that issue got lost in the noise.


Can we use this to generate pose from text?

Hello and thank you for you work, this looks really good.
I was able to download and install the repo but I was unsure on how to use it,
Can we create gestures from text using this model? if so, then how?

The model uses speech audio and text transcripts of the speech to generate motions. Do you mean generation from text prompts? For that, the text encoder module needs to be repurposed to work with the prompts rather than transcripts.

Interesting, thank you for taking the tine to answer.
I will try it using a text to speach generator.


rancher-compose create+start != up

Given this docker-compose.yml, rancher-compose up will create all the links correctly:

Whilst rancher-compose create (+ optionally start) will not:

Just a note to say that I am also losing circular linking when using rancher-compose upgrade. So in the example below I can build my V2 services with circular links using up. But then when I upgrade, if foo is upgraded first, it will not be linked to bar - but bar will be linked to foo.
fooV2:
  image: tutum/hello-world
  links:
    - barV2:bar

barV2:
  image: tutum/hello-world
  links:
    - fooV2:foo

fooV3:
  image: tutum/hello-world
  stdin_open: true
  links:
    - barV3:bar

barV3:
  restart: always
  tty: true
  image: tutum/hello-world
  links:
    - fooV3:foo

I believe this is an issue that was there with circular linking.  Circular links work in v0.2.5, but I just added another test https://github.com/rancher/rancher-compose/pull/86 to ensure that this specific compose file works.

Just to clarify.  The problem is that on circular dependencies create doesn't complete all the links.  An up or start from the CLI will complete the links.  We should probably fix this so that all links are created on create

@JamesBarwell For upgrade, you need to upgrade each individual service at a time. You can't do a generic upgrade and except all services to be upgraded.
The syntax is rancher-compose upgrade service1 service2
When you do them individually, the circular links are still in tact.

Thanks for the reply. I think the issue I've had comes from how I've scripted the upgrade process. We're auto-generating the *compose files and looping over each service, running rancher-compose upgrade. I'll provide an update when I've had a chance to rework these scripts, but please ignore for now. Cheers.

Confirmed that this was an error with our approach to scripting, and to the structure of our environment. The complication was that we had multiple versioned services linking to each other and our script wasn't clever enough. It would create a definition for the original state and the final state (as seen in my previous comment), but this meant that the first service to be upgraded from v1 to v2 couldn't see upgraded v2 services to link to, so it dropped the links.
We now do not link any two versioned services, i.e. we only connect through unversioned load-balancers. This avoids having to introduce a lot of complexity in our script, as the load-balancer links get auto-updated as part of the upgrade.

@sangeethah Merged in our forked branch of Libcompose.
https://github.com/docker/libcompose/pull/65

@ibuildthecloud Taking @vincent99 docker-compose.yml doesn't work when you do a rancher-compose create. Links are still not made in the UI.

Unable to use the docker-compose.yml file to do a rancher-compose create using rancher-compose-v0.4.3. The merged code in libcompose did not resolve the issue.

Verified with Master with version/commit 4cd0088.
Will be released in the next version of rancher-compose.


std.traits documentation update

moved nearly all examples from comments to unittests
** some few had error
marked existing unittest as examples
** splitted some in the process as they where to long
ditto for one pair of templates with the same name
deleted unused code from 2008

thanks

Auto-merge toggled on

thanks for reviewing


\LizardsAndPumpkins\Http\HttpUnknownMethodRequest::setMethodCode has protected access

\LizardsAndPumpkins\Http\HttpRequest::fromParameters
$unknownMethodRequest->setMethodCode($requestMethod);
Member has protected access -> if this line is hit, the code breaks

I know this looks weird but, no it doesn't. And yes, this code is executed multiple times by tests. This is another oddity of PHP which can call a protected method of a derivative from the statically called parent class method.