config.json error "accounts must be an array"

Describe the bug
When i run the docker img i get this error in log.
Screenshots or Logs
><EMAIL_ADDRESS>entrypoint-config
> node dist/src/entrypoint-config.js

Error: Invalid config
    at Object.<anonymous> (/usr/app/src/common/config/setup.ts:110:9)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/usr/app/src/common/config/index.ts:2:1)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
[2022-05-13 16:17:36.456 +0200] DEBUG:
    configPath: "/usr/app/config/config.json"
[2022-05-13 16:17:36.471 +0200] ERROR: Validation error(s)
    errors: [
      {
        "property": "accounts",
        "children": [],
        "constraints": {
          "arrayNotEmpty": "accounts should not be empty",
          "isArray": "accounts must be an array"
        }
      }
    ]

** Press ANY KEY to close this window **

Additional context
My config.json :
{
  "accounts": [
    {
      "email"<EMAIL_ADDRESS>      "password": "xyz",
      "totp": "xyz"
    }
  ],
  "searchStrategy": "promotion",
  "runOnStartup": true,
  "cronSchedule": "5 16 * * *",
  "logLevel": "info",
  "webPortalConfig": {
    "baseUrl": "https://epic.exmaple.com"
  },
  "hcaptchaAccessibilityUrl": "https://accounts.hcaptcha.com/verify_email/xyz"
}

I can't know for sure, but it's likely your volume just isn't mounted correctly, so the config file isn't being picked up and it's generating the default one.
You can set the environment variable LOG_LEVEL=trace to hopefully get some more idea of what's happening.


Documentation for kaiser commands

I tried to document all the commands that I was too busy to do so before. This will hopefully make the tool less mysterious.
You can review this here: https://tech.degica.com/kaiser/branches/documentation/0115-command-reference/

@showwin can you help us review this PR, please?


Adds TARDIS

Great list of codes! I'm self-nominating TARDIS as one of its developers. It's been an open-source code since inception, with a community focus on training and mentorship. The code is continuously developed, including interoperability with some of the codes already listed here.

Nice!


Where to get federation image

/sig multicluster
In step https://github.com/kubernetes-sigs/federation-v2/blob/master/docs/userguide.md#automated-deployment ,
Automated Deployment
If you would like to have the deployment of the cluster registry and federation-v2 control plane automated, then invoke the deployment script by running:
./scripts/deploy-federation.sh  cluster2
Where  is in the form //: e.g. docker.io//federation-v2:test.
Where to get the image of federation-v2:test?
Any steps for me to build this image?

@font ,sorry for the wrong repo, but which script shall I use? The deploy-federation.sh also do not specify where to get the docker image https://github.com/kubernetes-sigs/federation-v2/blob/master/scripts/deploy-federation.sh


Plans to port PersistentConnection

I'm entirely new to SignalR, so feel free to tell me I'm crazy.
Are there any plans to port PersistentConnection from .NET over to Core? Or is there a newer alternative I should look into for implementing a custom protocol (not Hubs)?
Specifically, I'd like to have a protocol that's more of an "event subscription" model, and I'd like it to integrate a little more fluently into a Web API, where all the real work happens.

@JakenVeina there's a lower layer that hubs are built on top of that we're currently calling Sockets. There's an example here:
https://github.com/aspnet/SignalR/blob/9786e28f52a870aa2ecd15d092d393c9de150442/samples/SocketsSample/Startup.cs#L21
https://github.com/aspnet/SignalR/blob/9786e28f52a870aa2ecd15d092d393c9de150442/samples/SocketsSample/Startup.cs#L67-L70
https://github.com/aspnet/SignalR/blob/9786e28f52a870aa2ecd15d092d393c9de150442/samples/SocketsSample/Startup.cs#L44
https://github.com/aspnet/SignalR/blob/9786e28f52a870aa2ecd15d092d393c9de150442/samples/SocketsSample/EndPoints/MessagesEndPoint.cs

Or is there a newer alternative I should look into for implementing a custom protocol (not Hubs)?

Hubs are implemented as a https://github.com/aspnet/SignalR/blob/9786e28f52a870aa2ecd15d092d393c9de150442/src/Microsoft.AspNetCore.SignalR.Core/HubEndPoint.cs

Specifically, I'd like to have a protocol that's more of an "event subscription" model, and I'd like it to integrate a little more fluently into a Web API, where all the real work happens.

I'm not entirely sure what you mean by this but hopefully that helps.
There's also a plan to provide something thin like this but there are some challenges https://github.com/aspnet/SignalR/issues/515

From a high-level, I was thinking something like this:
GET /api/newsposts
GET /api/newspost/{id}
PUT /api/newsposts
PUT/POST /api/newspost/{id}
DELETE /api/newspost/{id}
This is the structure of an API I'm working on, to support an SPA frontend client. I started down the whole WebSockets/SignalR road because I wanted the ability to have clients notified when a new NewsPost is created, so it can immediately show up on a "News" tab in the app's menu. In my mind (coming from WPF/UWP land) the construct I want is an event, which clients can subscribe to or not. And if I wanted to put that in the context of a Web API, what makes sense to me is something like this:
/api/events/ (WebSocket/SignalR connection endpoint)
POST /api/newsposts/events/subscribe/{eventName}
POST /api/newsposts/events/unsubscribe/{eventName}
I could implement a functional equivalent with a Hub...
`
public class EventsHub : Hub
{
public Task Subscribe(string eventName)
=> Groups.AddAsync(Context.ConnectionId, eventName);
public Task Subscribe(string eventName)
    => Groups.AddAsync(Context.ConnectionId, eventName);

public void RaiseEvent(string eventName, object eventData)
    => Clients.Group(eventName).RaiseEvent(eventName, eventData);

}
`
But I'd rather not wrap a layer around the RPC model, if it doesn't conceptually represent what I'm doing, and I like the idea of having each API Controller be responsible for managing the events it creates.
Also, at this point, I need to satisfy my curiosity.

If you're looking for REST and not looking to use a custom client then SignalR isn't for you (or the layer underneath). That looks more like this https://github.com/aspnet/Mvc/issues/6224.

Actually, now that I think about it, you might just want a hybrid of an API and a Hub for outgoing. How were you planning on handling the outgoing channel? This is a pretty typical pattern today with SignalR. Using MVC for incoming posts and using SignalR for the outgoing channel.

That's pretty much exactly it. In the above example, each client (if they want to receive events) must open a long-term connection at /api/events and then specify what events it wants to receive. Then, any regular API calls that modify resources will use a singleton service to instruct each active connection on /api/events to transmit the given event to anyone who has subscribed to it.

@JakenVeina what protocol do you want to use for outgoing data? What does the client look like? You need to establish a session id/connection id that the client needs to use to subscribe/unsubscribe and raise events right?
I have an idea kicking around in my head. You want to use SignalR to manage the hard things for you like the connection lifetime, groups,  scale out without exposing the hub protocol on the wire. It's doable but we'd need to think about the end to end with a few concrete examples.
You have a few options for your /api/events end point:

Do raw websockets and write the thing from scratch
Use the ASP.NET Core Sockets framework
Use SignalR for outgoing (RPC) to the client

In my mind, the outgoing data should be as close as possible to a regular API response, except it's server-initiated. Meaning, it's just a JSON data object, with an event name attached in some fashion. Maybe as part of the JSON, maybe in a header, maybe just by virtue of setting a source field to /api/{controller}/events/{eventname} or whatever matches the original subscription URL.
I figure SignalR is the way to go for the endpoint simply because it abstracts the transport layer, allowing the  app to work with browsers that don't support WebSockets. The MessagesEndPoint example in SocketsSample seems like it'll work great for this. I'll probably just put a ConcurrentQueue on a service that I can stick events into and have an EventsEndPoint instance that pulls them off and sends them out.
Unless you've got something else in mind?

Sounds good to me. As long as you know what you're getting into, sounds like a fine solution!

Thanks for your time. :)

Client-side, I'll want to wrap around the HttpConnection TS class, yes?

Yea, just follow what hubs does. You also don't need to use HttpConnection if you want to use pure websockets.

Nah, the whole point of using SignalR here is to leverage the fallback behavior.

I'm super confused. So you want the fallback, but you don't want the JSON payload that signalr uses... 😄. When you finish writing your custom protocol, I'd love to see what it ends up looking like 😄.

Not JSON entirely, just the JSON format that the Hubs Protocol uses. It looks like the protocol uses 6 different message types. If I end up making a custom protocol, it'll basically just have 2 message types, Ping and Event.
The more I look at it, the more I think I'm just being obsessive. I originally was scared to put too much complicated protocol junk in what's supposed to be a simple Web API, but looking at the source code, the protocol doesn't seem all that complicated.
I'm gonna go ahead and implement this with some Hubs and see how it comes out. I can always rework it later.

@JakenVeina What happens if an event is created while client is temporarily disconnected?
Does the client miss that event? Or do you have some kind of catch-up mechanism?

The event system isn't really meant to provide data to the client, just notify the client of changes. Of course, it would be silly to have the client receive an event, then go off to poll the API for data, so each event should include a copy of the changed data, for reference. But, if the connection drops, the client should be able to respond to that and re-poll the API as needed.

The complexity of the protocol should scale based on what you do. If all you're doing is sending notifications from server to client, you'll only end up using Ping and Invocation messages, none of the streaming or completion messages will be used/needed, and using Hubs would give you access to any of the improvements we put into that layer but don't go into the Endpoint layer.

I think I'm about to settle on this scheme for presenting WebApi + SignalR to the client.
/api/newsposts  GET
/api/newsposts/{id}  GET
/api/newsposts  PUT
/api/newsposts/{id}  PUT
/api/newsposts/{id}  DELETE
/api/newsposts/{eventname}/subscribe  POST
/api/newsposts/{eventname}/unsubscribe  POST
/api/events  SignalR CONNECT

IEventsClient
{
    void RaiseEvent(string eventName, object eventData);
}

Where eventName is /api/newsposts/{eventname}, I.E. the URL used to subscribe to the event.
The only real problem with this is that the connectionId of the SignalR connection would need to be sent to sent to each subscribe/unsubscribe request to the API, and the SignalR TS client doesn't make this value public. Would it be crazy for me to just extract the private id field from HubConnection and use it anyway? Or even just sub-class HubConnection to make it public?

I would avoid extracting a private field from our types. Connection IDs are an internal implementation detail and aren't generally designed to be relied upon outside of the server. You could generate your own IDs and have the SignalR Hub assign connections to Groups using those IDs, and send the IDs back to the client. That way you are insulated from us changing how connection IDs work.

Also, would it be crazy to have an /events endpoint and Hub for each individual controller, instead of one master?

It would be possible, but I would caution you that each SignalR Hub would mean a separate HTTP connection. If you are using Server-Sent Events or Long Polling, browsers heavily limit the number of concurrent connections (to around 6 per "origin", i.e. domain name). So each hub would take one of those connections away for the duration of the SignalR connection. WebSockets are much more generous, as browsers generally allow on the order of 100 concurrent connections there.
In general, I wouldn't use Hubs to partition clients, that's what Groups are for. If you use groups, you could have the Client use SignalR to invoke a "Subscribe" method on the Hub, specifying the events it is interested in, and then the server can add the client to Groups matching the event names. Then when you want to dispatch an event, you simply use the Group to send to all the clients who subscribe.

With all events firing through one Hub, there needs to be some kind of namespace mechanism to distinguish which Controller is generating them

Yes, this would need to be expressed in your payload, but it's just a matter of adding a property to an object or an argument to a method

Each controller needs to somehow register a list of valid events with the Hub during application startup OR the Hub needs to be able to delegate the validation of an event name to controllers, as each request comes in.

Yeah, if you don't have auth, you'll want to restrict the set of events. These could be managed centrally though and injected into both the Controller and the Hub to ensure you don't have magic strings everywhere.

@JakenVeina I too wanted the connection id to be made public. But after discussing it, I found that it is quite easy to create your own (no extra round-trip needed). I call it "connection key" to avoid confusion.
See #961 for more details.

@anurse The actual mechanism for injecting event names into each controller (or, rather, letting them be defined by/within the controller, and extracting them into a service) has been a lot more challenging than I expected, At one point, I was hoping to use MVC's ApplicationModel API to allow controllers to define what events they support as part of their ControllerModel class, then have a service that extracts the info from the model. However, there doesn't appear to be any mechanisms for actually CONSUMING the model, only for adding info to it for MVC to consume.
@KPixel So, your solution was to attach a client-defined key to each connection request url, directly? That should work for me. I'll call it a "subscription token". You can only have one token per connection, so it doesn't present a flooding vulnerability (not any more than connections themselves).

@JakenVeina Indeed.

It looks like we've got a solution to your issue here, so I'm closing this issue. Feel free to comment if you still have concerns, we can always re-open the issue :)

Thanks for all the time, everyone.


New attempt to getting deploy work in travis

Coverage remained the same at 99.815% when pulling 6a6b2cecb7404c3d680f88c0e02c9ec41236345f on basvodde:master into 0a91f6967a9d5df4e6f271ff21eba5eb36dae56a on cpputest:master.


Added a quick note

Based on past intercom FAQs - some customers are not aware that all services in a project share the common CA.

I won't merge cause the review was asked for @TanjidIslam

Thanks @cybermax-008 ! And thanks @laysauchoa for the review. It looks good to me as well so I will go ahead and publish.


feat: add unreleased splunk

Add unreleased splunk with python 3.9 to splunk_matrix for test purposes.

Can we store instructions somewhere on how to achieve the same in the future?

@artemrys we can either create confluence page to keep track on progress of python 3.9 migration in TAs. I could add some notes to this repo readme how to add unreleased splunk for testing

Let's have it in confluence.

:tada: This PR is included in version 1.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[ALLUXIO-1322][WIP] Prepared classes for MissingCtor rule in Checkstyle

https://alluxio.atlassian.net/browse/ALLUXIO-1322
Prepared some classes for the upcoming MissingCtor rule in Checkstyle. It checks that classes (except abstract ones) define a constructor and don't rely on the default one. The rule will look like the following

This ticket is WIP and needs some additional PRs.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9703/
Test PASSed.

Merged build finished. Test PASSed.

@HorizonNet thanks, left some minor comments

@jsimsa Thanks for the comments. I updated the PR accordingly.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9842/Failed Tests: 7org.alluxio:alluxio-tests: 7alluxio.master.lineage.LineageMasterClientRestApiTest.serviceNameTestalluxio.master.lineage.LineageMasterClientRestApiTest.serviceVersionTestalluxio.master.lineage.LineageMasterClientRestApiTest.createLineageTestalluxio.master.lineage.LineageMasterClientRestApiTest.deleteLineageTestalluxio.master.lineage.LineageMasterClientRestApiTest.getLineageInfoListTestalluxio.master.lineage.LineageMasterClientRestApiTest.reinitializeFileTestalluxio.master.lineage.LineageMasterClientRestApiTest.reportLostFileTest
Test FAILed.

LGTM

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9853/
Test PASSed.

LGTM


Version 0.8 not supported in Laravel 5, because of league/fractal dependency

Since package has dependency on:
"league/fractal": "~0.11"
This will load fractal v0.12, which is not supported in Laravel 4.
Shouldn't it be:
"league/fractal": "0.11.*"

Thank you btw !


Bundle encryption with the routing node

Remove the need of configuring a reverse proxy.

In progress, adds tls to

rest listener
websocket listener
tcp listener

-udp listener using dtls?

DTLS is blocked by dependencies that does not work with java 9 yet, this will be postponed.

DONE: added TLS to websocket, REST and TCP listeners.


dclexperience: first elevator at 0, 1 doesn't always work in Alpha, while it always does in Explorer

Explorer Alpha build version:
Version 0.3.335-g8f637032-main
(windows))
Issue Description:
First elevator at 0, 1 doesn't always work in Alpha, while it always does in Explorer:

Steps to reproduce:

Go to 0 , 1
Try to use the elevator

Expected behaviour:
It should always work
Current behaviour:
It doesn't always work
Reproduction rate:

[ ] < 10%
[ ]  < = 25%
[ ]  50%
[x ]  < = 75%
[ ]  100%

Severity:

[ ] Cosmetic
[ ] Minor
[ ] Medium
[x ] High
[ ] Critical
[ ] Blocker

Priority:

[ ] High
[x ] Medium
[ ] Low

Platforms / OS:

[x ] Windows 11
[ ] Windows 10
[ ] Mac Sonoma
[ ] Mac (specify the version on Additional Notes)

🟢  Fixed on main


Bump websocket-extensions from 0.1.3 to 0.1.4 in /Vue.H5

Bumps websocket-extensions from 0.1.3 to 0.1.4.

Release notes
Changelog
Commits

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>

1


SE-0318 Package creation

https://github.com/apple/swift-evolution/pull/1349
swift package create <packageName> Makes new packages while also handling the ceremony of making the package's directory first.
Defaults to executable package
swift package add-template <url> Facilitates adding new templates from git
Templates are generic Swift package directories that are transformed when making a new packages based off of a template
Directory structure is simplified from:
OldDirStruct % tree
.
OldDirStruct % tree
.
├── Package.swift
├── README.md
├── Sources
│   └── OldDirStruct
│       └── OldDirStruct.swift
└── Tests
    └── OldDirStructTests
        └── OldDirStructTests.swift

To:
.
├── Package.swift
├── README.md
└── Sources
    └── NewDirStruct.swift

@miggs597 is this still a draft, or ready for final round of review?

@miggs597 is this still a draft, or ready for final round of review?

Yeah we're ready for final review

@swift-ci please smoke test

/home/buildnode/jenkins/workspace/swift-package-manager-self-hosted-Linux-smoke-test/branch-main/swiftpm/Tests/WorkspaceTests/CreateTests.swift:59:35: error: value of type 'Resources' has no member 'swiftCompilerSupportsRenamingMainSymbol'

I think this needs an update after https://github.com/apple/swift-package-manager/pull/3551, we had to remove that functionality from SPMTestSupport. You could instead use #if like that PR does.

@swift-ci please smoke test

Closing because we are exploring a different approach (evolution proposal was sent back).


1.16 - BO3AtSpawn not working

BO3AtSpawn in the worldconfig.ini is not spawning anything.
The setting is necessary for the Skylands preset to prevent the player from falling into the void.

Also, this setting is necessary for the Void preset to prevent the player from falling into Skylands.

Fixed for 0.0.15.


[ConstraintSystem] Don't attempt dynamic member lookup on invalid base

If subscript(dynamicMember:) is unviable because it's either
an instance method referenced on type or static method
referenced on an instance of type, attempting dynamic
member lookup would be incorrect since it's unclear
what is intended.
Resolves: rdar://problem/48994658

@swift-ci please test

@swift-ci please source compatibility

@swift-ci please test source compatibility

Build failed
Swift Test OS X Platform
Git Sha - cd07652f223782e8be9f2152915412822c5592a6

@swift-ci please test macOS platform


Add Get-Help -Online support for the about_ topics

Summary of the new feature / enhancement
As about_ articles are just .txt files and don't have a HelpUri attached to them, why can't we with Update-Help download an additional text file with the mappings about_topic<->Uri for all about_ articles. When we specify -Online, Get-Help could get the Uri from that file.
Proposed technical implementation details (optional)
No response

This is an interesting idea. No matter what approach we take to improve this, it would require new features in the Help system and it would still not fix this for PowerShell 5.1. Ideally, we should look at creating an object model for about_ articles so that we can assign HelpUri links.


prosit does not release memory

Hi,
after running a number of prosits and processing several fasta files I observed that a large number
of prosit docker instances still linger around. It comes to the point were other tools can not be started anymore, because there is no memory left. All the calculations are finished successfully, no errors reported, just the RAM is never cleaned up.
What would be a possible quick solution to this problem (without stopping docker)?
Thanks
Tobias

I have no quick solution and unfortunately, we are also not running this container like that for our website.
@gessulat has the most experience with the flask server but is on vacation for the next 3 weeks, perhaps he can comment on that afterward.

@tkschmidt tnx.

So I still have the problem that my GPU is blocked and 30 Gbyte of RAM are blocked once
prosit successfully finishes its calculations. Meaning I can not use it for other external GPU compute processes and RAM is also limited.  @gessulat any ideas?

We are running the Flask server within one tmux shell. Ctrl-C should close the Flask server as expected. This should stop the python interpreter, kill the tensorflow session and also release all associated memory.
Is the memory still blocked after you shut down the flask server?

@gessulat
I think the active windows via SSH can be closed and the service will be still active (my case).
So actively pressing CTRL-C will end the service and also free memory. So I guess one has to keep track of the windows and services. Tnx.


[QUERY] How to force to delete a CosmosDBSqlDatabaseResource?

Library name and version
Azure.ResourceManager 1.4.0
Query/Question
Hi, I have the following code that deletes a Database:
try
{
     CosmosDBAccountResource accountResource = await GetCosmosDBAccount(subscriptionId, resourceGroupName, databaseAccountName, cancellationToken);
     CosmosDBSqlDatabaseResource databaseResource = await accountResource.GetCosmosDBSqlDatabaseAsync(databaseName, cancellationToken);

      await databaseResource.**DeleteAsync**(WaitUntil.Completed, cancellationToken);
}

which is returning the following error in some cases:
"exceptionDetails": "System.AggregateException: One or more errors occurred. (Message: {\"code\":\"Forbidden\",\"message\":\"Message: {\\\"Errors\\\":[\\\"The requested operation cannot be performed at this region\\\"]}
We figured out that this error is happening because the user deleted the Key vault, but we would like "force to delete" the database, is there a way we can do that?
Thanks
Environment
No response

Hi @abiisnn , Thank you for using Azure SDK for .NET.
Our SDK is auto generated from the REST API, we don't have much domain knowledge on a specific service.
You could open an Azure support request to get the help you need.


chore: release main

:robot: I have created a release beep boop
ui5-cc-spreadsheetimporter: 1.4.1
1.4.1 (2024-09-21)
Bug Fixes

add nl language to manifest (#633) (c9ea8ab)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/releases/tag/ui5-cc-spreadsheetimporter-v1.4.1 :sunflower:


[Coder] When maximized, navigation pane should occupy 50% by default

Here how a maximized coder looks like by default now:


Prevent mint of 0 tokens in payTreasury()

In Treasury.sol, if a treasury buyer doesn't vote at all, they should receive no treasury rewards. However, the ERC20 standard reverts mint amounts of 0, considering it "non-positive". I added an if-block to only mint treasury rewards if the mint amount is > 0.
I opted not to edit the Token.sol file. Editing the ERC20 logic seemed more risky than editing higher level contract logic. Open to discussion, though.

This looks good. Did you find a need for the getTreasuryCount function?

@tkernell I did actually. Without it, treasury buyers won't know the current ID (treasury count) to buy for. The buyTreasury() function takes the id as a parameter.
#12 Check this out, too. If we prohibit overlapping treasury rounds, then buyTreasury() won't need to take the Id as input. It can just buy a treasury in the most recent round. A medium build though.


applying two upload functionalities for a single model at the same time

Hello dear brothers,
it seems that when we apply two upload functionalities for one resource at the same time they mix up together and one of them tend not to show up.
company.blog.js
const AdminBro = require('admin-bro');
const { Blog } = require('../../models/Blog');
const { sort, timestamps } = require('../sort');
const uploadFeature = require('@admin-bro/upload');
const path = require('path');
const fs = require('fs');
/** @type {AdminBro.ResourceOptions} */
const options = {
    name: 'Blog (customize field)',
    sort,
    properties: {
        ...timestamps,
        slug: {
            position: 0,
        },
        description: {
            isVisible: {list: false, edit: true, filter: false, show: true},
            position: 1,
            components: {
                edit: AdminBro.bundle('../components/custom-fonts.edit.tsx')
            }
        },
        tags: {
            isVisible: {list: false, edit: true, filter: true, show: true},
            position: 8
        },
        keywords: {
            isVisible: {list: false, edit: true, filter: true, show: true},
            position: 9
        },
        draftMode: {
            isVisible: {list: true, edit: true, filter: true, show: true},
        },
        _id: {
            isVisible: { list: false, edit: false, filter: false, show: false},
        },
    },
};

module.exports = {
    options,
    resource: Blog,
    features: [
        uploadFeature({
            provider: { local: { bucket: path.join(__dirname, '../../uploads') } },
            properties: {
                key: 'featuredPhoto.path',
                bucket: 'featuredPhoto.folder',
                mimeType: 'featuredPhoto.type',
                size: 'featuredPhoto.size',
                filename: 'featuredPhoto.filename',
                file: 'featuredPhoto',
            },
        }),
        uploadFeature({
            provider: { local: { bucket: path.join(__dirname, '../../uploads') } },
            properties: {
                key: 'thumbnailPhoto.path',
                bucket: 'thumbnailPhoto.folder',
                mimeType: 'thumbnailPhoto.type',
                size: 'thumbnailPhoto.size',
                filename: 'thumbnailPhoto.filename',
                file: 'thumbnailPhoto',
            },
        }),
    ],
};

Models - Blog.js
const mongoose = require('mongoose');
mongoose.Promise = global.Promise;
const slug = require('slugs');

const blogSchema = new mongoose.Schema({
	title: {
		type: String,
		trim: true,
		required: 'لطفا یک عنوان برای مقاله وارد کنید.'
	},
	slug: {
		type: String,
		trim: true,
		required: 'لطفا لینک مقاله را وارد کنید.'
	},
	description: {
		type: String,
		required: 'توضیحات مربوط به مقاله را وارد کنید.'
	},
	category: [{
		type: mongoose.Schema.Types.ObjectId,
		ref: 'Category',
	}],
	subCategory: [{
		type: mongoose.Schema.Types.ObjectId,
		ref: 'SubCategory',
	}],
	tags: {
		type: [String]
	},
	authors: { type: mongoose.Schema.ObjectId, ref:'Admin', required: 'نام نوینسده را انتخاب کنید' },
	keywords: {
		type: [String]
	},
	draftMode: {
		type: Boolean,
		default: false
	}

}, { timestamps: true } );

blogSchema.virtual('admins', {
	ref: 'Admin',
	localField: 'authors',
	foreignField: '_id',
});

const FeaturedPhoto = new mongoose.Schema({
	path: String,
	type: String,
	size: Number,
	folder: String,
	filename: String,
  });

const ThumbnailPhoto = new mongoose.Schema({
	path: String,
	type: String,
	size: Number,
	folder: String,
	filename: String,
});

const Blog = mongoose.model('Blog', { blogSchema, featuredPhoto: FeaturedPhoto, thumbnailPhoto: ThumbnailPhoto, }, );
module.exports = { blogSchema, Blog, ThumbnailPhoto, FeaturedPhoto, };

thanks for the support and maintanance.

I'm looking for this feature too, anyone can help

Can any body respond to this plz.

@LahmerIlyas I think they are occupied by updating new changes on admin bro itself.

yep. working on v3.3 and tomorrow we will be fixing bugs related to this issue (hopefully this will be it).

Hello dear Wojtek, no updates related to this issue yet ?

I am just publishing it right now in beta

ok - it is there: 1.2.0-beta.2
readme is here: https://github.com/SoftwareBrothers/admin-bro-upload/blob/391b63976111464bf3c493895917fa79f0da9bed/src/index.doc.md
and check out this crazy example: https://github.com/SoftwareBrothers/admin-bro-upload/blob/beta/example-app/src/admin/resources/multi/multi.resource.ts (4 uploads in one resource and one is an Array)

@wojtek-krysiak Thanks for setting aside time for addressing this bug.
God bless you.

np, please let me know after testing it if it works

Hello, I have set it up. Although I use file in properties, I don't get DropZone.
company.blog.js
const uploadFeatureFor = (multiple = true) => (
    uploadFeature ({
        provider: { local: { bucket: path.join(__dirname, '../../uploads/featured') } },
        multiple,
        properties: {
            filePath: 'featuredPhoto.filePath',
            fileToDelete: 'featuredPhoto.fileToDelete',
            key: 'featuredPhoto.path',
            mimeType: 'featuredPhoto.type',
            bucket: 'featuredPhoto.folder',
            size: 'featuredPhoto.size',
            file: 'featuredPhoto',
        },
    }),
    uploadFeature({
        provider: { local: { bucket: path.join(__dirname, '../../uploads/thumbnail') } },
        multiple,
        properties: {
            filePath: 'thumbnailPhoto.filePath',
            fileToDelete: 'thumbnailPhoto.fileToDelete',
            key: 'thumbnailPhoto.path',
            mimeType: 'thumbnailPhoto.type',
            bucket: 'thumbnailPhoto.folder',
            size: 'thumbnailPhoto.size',
            file: 'thumbnailPhoto',
        },
    })
)

module.exports = {
    options,
    resource: Blog,
    features: [
        uploadFeatureFor()
    ],
};

Blog.js - my Model
const mongoose = require('mongoose');
mongoose.Promise = global.Promise;
const slug = require('slugs');

const blogSchema = new mongoose.Schema({
	title: {
		type: String,
		trim: true,
		required: 'لطفا یک عنوان برای مقاله وارد کنید.'
	},
	slug: {
		type: String,
		trim: true,
		required: 'لطفا لینک مقاله را وارد کنید.'
	},
	description: {
		type: String,
		required: 'توضیحات مربوط به مقاله را وارد کنید.'
	},
	category: [{
		type: mongoose.Schema.Types.ObjectId,
		ref: 'Category',
	}],
	subCategory: [{
		type: mongoose.Schema.Types.ObjectId,
		ref: 'SubCategory',
	}],
	tags: {
		type: [String]
	},
	authors: { type: mongoose.Schema.ObjectId, ref:'Admin', required: 'نام نوینسده را انتخاب کنید' },
	keywords: {
		type: [String]
	},
	draftMode: {
		type: Boolean,
		default: false
	},
}, { timestamps: true } );

const FeaturedPhoto = new mongoose.Schema({
	path: String,
	type: String,
	size: Number,
	folder: String,
	filename: String,
});

const ThumbnailPhoto = new mongoose.Schema({
	path: String,
	type: String,
	size: Number,
	folder: String,
	filename: String,
});

blogSchema.virtual('admins', {
	ref: 'Admin',
	localField: 'authors',
	foreignField: '_id',
});

const Blog = mongoose.model('Blog', { blogSchema, FeaturedPhoto, ThumbnailPhoto });

module.exports = { blogSchema, Blog, FeaturedPhoto, ThumbnailPhoto};

The image

Thanks for support,

you have to use latest beta of admin bro

@wojtek-krysiak I changed it to  "admin-bro": "^3.3.0-beta.21" but I get around 20 errors in my console even when I shift to single upload feature. I also lost my custom quill component
console log

resource window

thanks for maintanence,

try to remove node_modules and install them again. Also remove .adminbro folder.

if that wont help remove quill related components and see if uplosf work without them.

@wojtek-krysiak Thanks for your hints,
now I have got everything back again but the only problem is I do not have a dropZone for one upload image feature.

regarding to Quill I tried to add things like Embedded URL for videos, anchor links, Html editor, encoded 64 image as well as custom fonts through the component. I am not sure that the upgraded one by adminBro supports adding custom fonts or not.

what are your uploadFeature settings (properties)

here you are,
const uploadFeatureFor = (multiple = true) => (
uploadFeature ({
provider: { local: { bucket: path.join(__dirname, '../../uploads/featured') } },
multiple,
properties: {
filePath: 'featuredPhoto.filePath',
fileToDelete: 'featuredPhoto.fileToDelete',
key: 'featuredPhoto.path',
mimeType: 'featuredPhoto.type',
bucket: 'featuredPhoto.folder',
size: 'featuredPhoto.size',
file: 'featuredPhoto.file',
},
}),
uploadFeature({
provider: { local: { bucket: path.join(__dirname, '../../uploads/thumbnail') } },
multiple,
properties: {
filePath: 'thumbnailPhoto.filePath',
fileToDelete: 'thumbnailPhoto.fileToDelete',
key: 'thumbnailPhoto.path',
mimeType: 'thumbnailPhoto.type',
bucket: 'thumbnailPhoto.folder',
size: 'thumbnailPhoto.size',
file: 'thumbnailPhoto.file',
},
})
)
module.exports = {
options,
resource: Blog,
features: [
uploadFeatureFor()
],
};

I see that you have multiple set - if this is true - they all should be arrays - did you set this in your ORM? or in AdminBroOptions like this:
resourceOptions =  {
properties.file {
  isArray: true,
},
}

I used it but I am not sure if its on the correct spot
const { default: AdminBro } = require('admin-bro');
const AdminBroMongoose = require('@admin-bro/mongoose');
AdminBro.registerAdapter(AdminBroMongoose);
const BlogCompany = require('./companies/company.blog');
const UserCompany = require('./companies/company.user');
const AdminCompany = require('./companies/company.admin');
const CategoryCompany = require('./companies/company.category');
const SubCategoryCompany = require('./companies/company.subCategory');

const options = {
    locale: {
       // translations  go here//
    },
    resources: [AdminCompany, UserCompany, BlogCompany, CategoryCompany, SubCategoryCompany ],
    **'properties.file': {
        isArray: true,
    },**
    assets: {
        styles: [
          '/admin-styles/custom-admin.css',
          '/admin-styles/fonts.css',
        ]
    },
    rootPath: '/admin',
    branding: {
        logo: '/images/icons/mrgoogle-logo.svg',
        companyName: 'مستر گوگل',
    },
};

module.exports = options;

adding this:
// you have thi already:
'properties.file': { isArray: true },
'properties.filePath': { isArray: true },
// and the rest

to Property options should fix it. But you are passing it in the wrong place. Take a look at this tutorial: https://beta.adminbro.com/tutorial-customizing-resources.html - it shows you how to pass options to resources.
There is an example-app in admin-bro-upload repo (beta branch) - it has mixed properties with an array - check it out.


Do not recognize CONNECT  as a success response.

This is required for AT commands where the modem responds with
CONNECT <NUM> followed by NUM bytes.
The tests still works so I am not sure if there was a specific reason for
 take_until_including("\r\nCONNECT"),
 recognize(take_until_including("\r\n")),

vs
 take_until_including("\r\nCONNECT\r\n"),

Do we in some cases expect bytes between CONNECT and \r\n that we want to discard?

This is my fix for parsing the following sequence:
AT+QFOPEN="UFS:client.crt",0
+QFOPEN: 4

OK
AT+QFREAD=4,100
CONNECT 100
-----BEGIN CERTIFICATE-----
                           MIICRzCCAeygAwIBAgIUEYE00INkDo3YBtF8hjl2Yt29jKswCgYIKoZIzj0EAwMw
                                                                                OzEbMBk
OK


OAuth2_PDO adapter mysql_pdo error

I'm using Apigility on an Apache server, with MySQL and I can't manage to create an Authentication Adapter, nor with OAuth2 PDO as
sqlite:/var/www/html/apigility/data/oauth2-test.sqlite
copied from 'vendor/zfcampus/zf-oauth2/data/dbtest.sqlite' as the example suggest or providing my own local info for mysql
mysql:host=localhost;dbname=apigility
the only message I get is "Please provide a valid URL route for OAuth2 PDO adapter" in both cases.
Is there something I'm missing??
If I try to connect with PDO in a single php file I connection is established, but not via Apigility

Quick question, did you type in the "/oauth" for the route or leave the placeholder? If not, might just try it.

This repository has been closed and moved to laminas-api-tools/api-tools-admin; a new issue has been opened at https://github.com/laminas-api-tools/api-tools-admin/issues/20.


add company repo_count&developer_count

/sql-run

/sql-run

/sql-run

/sql-run

@sunshinemingo As the CI component does not support pre processor yet, the /sql-run won't return correct result, I will add it first.

@sunshinemingo As the CI component does not support pre processor yet, the /sql-run won't return correct result, I will add it first.

@sunshinemingo As the CI component does not support pre processor yet, the /sql-run won't return correct result, I will add it first.

OK, I get it.

@sunshinemingo As the CI component does not support pre processor yet, the /sql-run won't return correct result, I will add it first.

OK, I get it.

/sql-run

/sql-run

The returned SQL result is too long to comment to a PR, I will merge the PR, I think it is OK.
/approve

The returned SQL result is too long to comment to a PR, I will merge the PR, I think it is OK.
/approve


Xargo.toml requires std dependency to be a table

[dependencies]
std = "*"

is not a legal Xargo.toml while
[dependencies.std]

is legal. The error is
+ "rustc" "--print" "sysroot"
+ "rustc" "--print" "target-list"
error: Xargo.toml: target.i686-pc-windows-gnu.dependencies.std must be a table
stack backtrace:
   0:     0x55eca50b322d - backtrace::backtrace::trace::hbd8bac8b9401e92b
   1:     0x55eca50b36f2 - backtrace::capture::Backtrace::new::haf9f6c745b0d19e3
   2:     0x55eca50a8056 - error_chain::make_backtrace::ha75ee59c0f862f8b
   3:     0x55eca50a8108 - <error_chain::State as core::default::Default>::default::h7b3cf717639ee3ef
   4:     0x55eca509a228 - xargo::sysroot::update::h7dad7c395f6432ab
   5:     0x55eca50a54ab - xargo::run::hb678a43a007e1097
   6:     0x55eca50a284d - xargo::main::hcd48f45128cbd17a
   7:     0x55eca50e6c4a - panic_unwind::__rust_maybe_catch_panic
                        at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libpanic_unwind/lib.rs:98
   8:     0x55eca50e0506 - std::panicking::try<(),fn()>
                        at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/panicking.rs:436
                         - std::panic::catch_unwind<fn(),()>
                        at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/panic.rs:361
                         - std::rt::lang_start
                        at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/rt.rs:57
   9:     0x7fb208ae472f - __libc_start_main
  10:     0x55eca508c748 - _start
  11:                0x0 - <unknown>

[dependencies]
std = {}

also works because it's a table; std = "*" doesn't not because it's a string. But I'm not sure what you are trying to get at.

oh... I thought it was like in Cargo.toml that both is allowed. Not that versions make sense for libstd...


Package.getStylesheetsPath is deprecated.

Store package style sheets in the styles/ directory instead of stylesheets/ in the file-icons package
Package.getStylesheetsPath (/opt/atom/share/atom/resources/app/src/package.js:434:9)
Package.getStylesheetPaths (/opt/atom/share/atom/resources/app/src/package.js:445:32)

What atom version are they changing that? I don't see any issue or deprecation in atom currently.

It came across today when I updated to v0.181.0

Any one else having this issue?

I'm getting this warning too.

This is wierd. I'm only getting this when i start atom in dev mode.

Screenshot would be use, I see this warning on another package.
Changing the stylesheet directory to styles breaks things. Any ideas?

Maybe @kevinsawicki can provide some insight?

Changing the stylesheet directory to styles breaks things.

This definitely shouldn't happen (styles and stylesheets should behave exactly the same), can you elaborate on what breaks?

@kevinsawicki The real questions is, do I need to change the stylesheets to styles?
Renaming to styles is fine (the error was actually something in my personal stylesheet)

do I need to change the stylesheets to styles?

Yes, you should, for 1.0 API compatibility.

Great, thanks for clarifying that

Renamed to styles in 57d0f65b7d74


Gracefully display assets without available market data

Overview
Low ranked assets on CoinGecko have pricing information available on CoinGecko itself, but not via the API.
e.g. JACY via GUI vs JACY via API
If our market service is unable to fetch market data via CoinGecko, CoinCap, or Yearn, the asset page does not finish loading as shown.

Acceptance criteria

Gracefully handle assets that don't have market data available, as per product's preferred implementation.
@DiggyDiggy2 or @reallybeard to sign off from product perspective

Reference data

You may need to add a market data selector to determine if the market data request has finished loading, but no market data is available. Logic is left as an exercise to the reader. You may want to name it something like selectMarketDataUnavailableByAssetId, then do something like

if (marketDataUnavailable) return <HangTightComponent />`

The following assets are known to be not working, and should be gracefully handled by your implementation.
Assets:
These don't load:
JACY (JACY)
LaunchMyNFT (MYNFT)
Lepasa (LEPA) - asset doesn't appear in prod
Zamio (ZAMO)
Keeps Coin (KPC)
BlockchainSpace (GUILD)
Pacific (PAF)
Palette (PLT) - asset doesn't appear in prod
Price chart doesn't load on 1h and 24h:
Hackspace Capital (HAC)
LADZ (LADZ)
Price chart doesn't load on 1W and lower timeframe:
Galactic Blue Index (GBI)
Global DeFi (GDEFI)
Habitat (HBT)
Galaxer (GLX)
Price chart doesn't load on 1M and lower timeframes:
H3X (H3X)
JBOX (JBX)
Price chart doens't load on all timeframes:
HALO (HALO) - asset doesn't appear in prod
These don't load:
AAG Ventures (AAG)
Baanx (BXX)
BaaSid (BAAS)
Bali Social Integrated (BSI)
Ballswapper Acceler (BART)
Capital DAO Protocal (CDS)
Digifit (DGI)
Price chart doesn't load on 1h and 24h:
BankCoin BCash (BCASH)
BankEth (BANKETH)
BANKEX (BKX)
CAGE GOVERNANCE TOKEN (CGT)
Price chart doesn't load on 1W and lower timeframe:
DDS Store (DDS)
Earn Network (EARN)
Price chart doens't load on all timeframes:
Decentral Games (DG)
pulltherug finance (RUGZ) 1m< not showing
Nitrous Finance (NOS) 1w< not showing
Direct Insurance To (DIT) 24h< not showing
Ethereum Chain Toke (ECT) 1w< Also, sparklines not showing correct values. 1M only showing one day. 1Y and AT missing/skipping days.
Freight Trust Netwo (EDI) 24h< not showing
KRYZA Exchange (KRX)
Aave inreest beari (AAMPL)
ACU Platform (ACU)
Acute Angle Cloud (ADINU)
Again Project (AGAIN)
Aggregated Finance(AGFI)
Alien Inu (ALIEN)
Alpha Brain Capital (ABC)
Anduschain (DEB)

Asked product for expected behavior to make this a little more clear for the bounty hunter. will post once they respond.

I can work on this :)

Mockup of an asset without market data:

Anywhere we display the value in fiat we that value should be removed, examples of this:

@0xean - Thanks. I'm thinking of submitting a PR in 5 days' time. Will submit a WIP PR as soon as I make progress on the changes am working on.

@naftalimurgor  stopped work on the PR.  We have selected @trungtin to take the next attempt.  Thanks @trungtin !

@0xean - needs new bounty hunter

@purelycrickets to post to dework

Mockup of an asset without market data

@reallybeard could you add that to the description of the issue/ to #1555 as well? Both are not including clear A/C and it would help reviewers to have it in the issue description.


size_t value passed to fprintf with formatted %llu

In VmaRecorder::RecordCreatePool there's a fprintf call which uses %llu to print createInfo.minBlockCount and createInfo.maxBlockCount which are both of type size_t. This will fail on 32-bit platforms.
I think some printf implementations support %zu but I don't think that's standard, so it might be better to just cast those values up to uint64_t.

Thank you for finding this issue. You are right. Official documentation of recording file format also mentions these fields are uint64. I fixed it on "development" branch.


nodePackages.graphite-cli: 1.0.9 → 1.1.1

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Closes #281024

Add a :+1: reaction to pull requests you find important.

Reason for force-push: I commited using the version 1.0.14 (latest stable) but issue asked for 1.1.1 (beta)

As requested, this pr uses the version 1.1.1 (beta) as upsite of 1.0.14 (latest stable), please let me know if this is a issue

According to https://www.npmjs.com/package/@withgraphite/graphite-cli?activeTab=versions, at least 1.1.2 is marked stable.

As requested, this pr uses the version 1.1.1 (beta) as upsite of 1.0.14 (latest stable), please let me know if this is a issue

According to https://www.npmjs.com/package/@withgraphite/graphite-cli?activeTab=versions, at least 1.1.2 is marked stable.

At the time of the pr it was the most recent, it was updated 7 hours ago, I will update this pr when I have time

@dotlambda Sorry for the ping but any status on this?


Call to undefined function Mindee\Input\str_starts_with()

Prerequisites
Put an X between the brackets on this line if you have done all of the following:

[X] Reproduced the problem or exposed a new need
[x] Checked the GitHub existing issues

Description
Im getting an error Fatal error: Uncaught Error: Call to undefined function Mindee\Input\str_starts_with() in vendor\mindee\mindee\src\Input\URLInputSource.php:23 when using $inputSource = $mindeeClient->sourceFromUrl('fileurl');
Steps to Reproduce

Initialise Mindee Client $mindeeClient = new Client("API_KEY");
Load from URL $inputSource = $mindeeClient->sourceFromUrl('fileurl');

Expected behavior:
Should provide API response data.
Actual behavior:

Fatal error: Uncaught Error: Call to undefined function Mindee\Input\str_starts_with() in vendor\mindee\mindee\src\Input\URLInputSource.php:23
Stack trace: #0 \vendor\mindee\mindee\src\Client.php(112): Mindee\Input\URLInputSource->__construct('https://s3.me-c...') #1 index.php(15): Mindee\Client->sourceFromUrl('https://s3.me-c...') #2 {main} thrown in vendor\mindee\mindee\src\Input\URLInputSource.php on line 23
Reproduces how often:

100% of the time
Versions
"mindee/mindee": "^1.3"
php : 7.4.33

Additional Information
The package says it works on PHP version 7.4 and above but I think it uses php 8+ functions/methods.

Thank you for raising this, fixed in #47.
Fair warning, though: it seems like issues like this one can't be reliably tested currently, because they go through the CI without any issues. I assume that the PHP install action comes bundled with functions from PHP > 8.0, and, somehow, the 7.4 installation manages to get access to it...
Anyway, don't hesitate to ping me personally if you see instances of undefined functions.

Hello. Thabks for the quick update, but the issue still seems to be present in the updated version, but with a new error message. Please find below the error message Im facing now, while using sourceFromUrl():
Fatal error: Uncaught Mindee\Error\MindeeApiException: Cannot edit non-local input sources. in vendor\mindee\mindee\src\Client.php:288 Stack trace: #0 vendor\mindee\mindee\src\Client.php(326): Mindee\Client->makeParseRequest('Mindee\Product\...', Object(Mindee\Input\URLInputSource), Object(Mindee\Input\PredictMethodOptions)) #1 C:\xampp\htdocs\shajeer\mindee_passport_api\index.php(19): Mindee\Client->parse('Mindee\Product\...', Object(Mindee\Input\URLInputSource)) #2 {main} thrown in vendor\mindee\mindee\src\Client.php on line 288

Thank you for the additional feedback, fixed in #50
Many functions relying on a future implementation of PDF handling are visibly not tested well. I've added a couple more tests, but we will most likely implement something a bit more thorough in the future when the PDF operations are added to the library.

Fatal error: Uncaught Error: Object of class Mindee\Input\URLInputSource could not be converted to string in vendor\mindee\mindee\src\Http\Endpoint.php:129 Stack trace: #0 vendor\mindee\mindee\src\Http\Endpoint.php(129): curl_setopt(Resource id #22, 10015, Array) #1 vendor\mindee\mindee\src\Http\Endpoint.php(170): Mindee\Http\Endpoint->initCurlSessionPost(Object(Mindee\Input\URLInputSource), false, false, false, false) #2 vendor\mindee\mindee\src\Client.php(298): Mindee\Http\Endpoint->predictRequestPost(Object(Mindee\Input\URLInputSource), false, false, false) #3 vendor\mindee\mindee\src\Client.php(330): Mindee\Client->makeParseRequest('Mindee\Product\...', Object(Mindee\Input\URLInputSource), Object(Mindee\Input\PredictMethodOptions)) #4 index.php(19): Mindee\ in vendor\mindee\mindee\src\Http\Endpoint.php on line 129

Thank you for that as well, and my apologies for the needless back & forth... Fixed in #52.
I implemented a more in-depth test & fully tested the feature from end-to-end this time, so URL enqueuing shouldn't cause any more issues. I blame Monday as the reason why I didn't do it from the beginning.


[tool_crash] _CastError: (#0      describeLocale (package:flutter_tools/src/localizations/localizations_utils.dart:219:49))

Command
flutter gen-l10n

Steps to Reproduce

...
...
...

Logs
_CastError: (#0      describeLocale (package:flutter_tools/src/localizations/localizations_utils.dart:219:49))
#0      describeLocale (package:flutter_tools/src/localizations/localizations_utils.dart:219:49)
#1      LocalizationsGenerator._generateBaseClassFile (package:flutter_tools/src/localizations/gen_l10n.dart:1137:34)
#2      LocalizationsGenerator._generateCode (package:flutter_tools/src/localizations/gen_l10n.dart:1238:46)
#3      LocalizationsGenerator.writeOutputFiles (package:flutter_tools/src/localizations/gen_l10n.dart:1313:47)
#4      generateLocalizations (package:flutter_tools/src/localizations/gen_l10n.dart:69:9)
#5      GenerateLocalizationsCommand.runCommand (package:flutter_tools/src/commands/generate_localizations.dart:210:7)
#6      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
<asynchronous suspension>
#7      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
<asynchronous suspension>
#8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#9      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#10     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
<asynchronous suspension>
#11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
<asynchronous suspension>
#13     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
<asynchronous suspension>
#14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#15     main (package:flutter_tools/executable.dart:94:3)

[✓] Flutter (Channel stable, 2.10.3, on macOS 12.1 21C52 darwin-x64, locale de-DE)
    • Flutter version 2.10.3 at /Users/mraguse/fvm/versions/2.10.3
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (2 weeks ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/mraguse/Library/Android/sdk
    • Platform android-31, build-tools 30.0.2
    • ANDROID_HOME = /Users/mraguse/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Appli

Hi @mauriceraguseinit, kindly share your pubspec.yaml as well as your l10n.yaml files.
Thank you

i used a wrong language code (ua instead of uk for ukraine) ... after changing it... it work


If object storage (s3) returns non-ok status, show 404

I just don't feel ok we show the XML from the storage API.

Task linked: QF-1742 If object storage (s3) returns non-ok status, show 404

Maybe use 404 only for actual 404 errors, and 500 for all others, so at least it hints that some special error happened ? (otherwise the day we get a 404 error for an existing file it will be super tricky to debug)

Ok, I will add 500 for all the rest.

Ok, I will add 500 for all the rest. The only issue is that S3 return 403 not authorized by default.


Workloads in state shall not repeat the workload name as an attribute

Workload name should be listed only once in the Ankaios state.
Current Behavior
The Ankaios state currently lists workloads as:
workloads:
  hello2:
      name: hello2
      agent: agent_B
      tags:
      - key: owner
        value: Ankaios team
      dependencies: {}
      updateStrategy: AT_MOST_ONCE
      restart: true
      accessRights:
        allow: []
        deny: []
      runtime: podman
      runtimeConfig: |
        image: alpine:latest
        commandArgs: [ "echo", "Hello Ankaios"]

Expected Behavior
The name is only specified as an object key:
workloads:
  hello2:
      agent: agent_B
      tags:
      - key: owner
        value: Ankaios team
      dependencies: {}
      updateStrategy: AT_MOST_ONCE
      restart: true
      accessRights:
        allow: []
        deny: []
      runtime: podman
      runtimeConfig: |
        image: alpine:latest
        commandArgs: [ "echo", "Hello Ankaios"]

Steps to Reproduce

execute ank get state

Context (Environment)

Logs
Additional Information
Final result
To avoid the serialization we can just instrument serde with skip_deserialization
The input state is currently deserialized using a state parser, which is not used by the code in object.rs We should unify this and use a transfer object that does not have a name attribute and convert afterwards.
To be filled by the one closing the issue.

I started some experiments in https://github.com/eclipse-ankaios/ankaios/tree/remove_wl_name_from_server_response to see what needs to be changed. The branch can be used as a base for the changes.

We needed to do some changes on the internal workload representation and as a side effect the name was removed from the external state representation.
The issue here will be fixed by #189.

This is now fixed.


Bring in drud/mariadb-local#63 to solve Windows 10 Home problem, fixes #636, fixes #854

The Problem:
Docker Toolbox/Windows 10 Home uses a completely different virtualization environment that can break Mariadb.
This is migrated from drud/mariadb-local#63, and the comments related to it are in #854
The Fix:

Turn off innodb_use_native_aio since it just doesn't work with NTFS/Windows
log-bin=on - Fixes a weird problem with Virtualbox and mariadb.

The Test:

Use ddev with this on Windows 10 Home (dbimage: drud/mariadb-local:20180416_win_10_home)
Use it everywhere else.
Check for performance everywhere

Automation Overview:

Related Issue Link(s):
OP drud/ddev#636
Release/Deployment notes:

This can be tested on Win 10 Pro or Home, but the machine has  to have Hyper-V turned off. And it's not at all a fair test to do it in a virtualized environment.

This has been open since April 16, 2018. I just tried it and it still works. If nobody else knows how to test it, let's just get it in here. Test against what we currently have and see if it breaks and let that be your test.

@rfay I'm good with that. The three line changes appear benign and if there are secondary effects with other bits of functionality that don't have test coverage, they will likely surface. I'll be running a final test on the v0.19.0 release anyway, so any performance deltas (if any) will likely be perceived ther.e

This is rebased against current upstream/master and a new dbimage pushed.

I'm happy to give this a spin on the performance side (D8 site installs) as well as test general functionality with logs, ssh, commerce kickstart, etc. I'm just such a Windows Wimp even though I know I need to get better testing on Windows 10.

If anybody gives this any kind of approval I will pull it and we can begin testing the release.

Testing now...


Allow theme to control style and placement of document title

Allow the theme to control the style of the document title. This includes the following:

font size, style and color
y position (or offset from top)
alignment

We should also have similar settings (or allow them to inherit) for the author and revision info.

The font size, style and color are currently controlled using the heading_*_h1 theme keys. However, this is not clear for a designer. Instead, there should be a dedicated key in the them for the title page.

Also the text_transform.

I think it's better to use margin_top than y position. However, we could support both options (with y position getting precedent).

We can't support the text_transform style until #141 is merged.


Tree: filter is not discoverable

I think that the tree filtering is not discoverable, especially in trees where people do not expect it to work. Like Call Stack, Watch...
Here's what I propose:

Render the orange filter widget with a minimal width when the tree has focus
Hovering over the minimal width filter widget we show a message "Start typing to filter"
When the user hides the minimal width widget, we no longer show it when empty for that tree.

A bit similar to #70646

Thanks for the ping @usernamehw. You might have realized we're in a cleanup iteration right now and closing issues. I will actually close the other issue and keep this open to address the filter discoverability, which you mention in https://github.com/microsoft/vscode/issues/70646. I understand that you actually request more functionality in that issue, but out of cleanup sake, I'll close the issue as won't fix. Note that some of that functionality is spread out in other issues, like https://github.com/microsoft/vscode/issues/59455

Dupe of https://github.com/microsoft/vscode/issues/70646


Update info about version in README.md

Update info according to the comment in #15.

Thanks! Better like that, so we don't have to update it


Does not work with Symfony 5.x

The version restriction for symfony/console prevents installation in Symfony 5.x.

Fixed in #12


SOLR-16369: avoid xpath in parsing elevate.xml

Hi @noblepaul - this seems to be already fixed by this PR.

I'm glad we agree on XPath being not particularly useful for elevate.xml parsing (because it's so simple).  @heythm and I did multiple rounds of code review in #962 ; I would prefer to use that PR.  It also clarified some code readability and made it not use XmlConfigFile either.  @noblepaul could you please review #962, especially just the QueryElevationComponent file.
#962 has evolved to one PR doing two distinct things that perhaps should be separated:  QueryElevationComponent changes, and XmlConfigFile changes (to use SafeXMLParsing, involving another overload of parseConfigXML).  We could split it.  WDYT?

@dsmiley
I think #962 is about safely loading XML. Here, the intent is to standardise XML consumption to a common API. Already solrconfig and schema are not using XPATH and DOM .  However, I would prefer to implement another ConfigNode impl that parses and loads data using SAX. SAX is way safer , faster & cheaper

ConfigNode (which I've never heard of until today) is just an interface; I don't see SAX in there.  I do see DOMConfigNode which this PR is using, so DOM is still used (not SAX); right?  BTW I have no complains of DOM really; I'm just trying to reconcile what you said vs what your PR here does.
Your PR leaves in place the use of XmlConfigFile for parsing elevate.xml.  I like that #962 does away with that and uses SafeXMLParsing to produce the DOM Document.  It'd be nice if XmlConfigFile could ultimately just go away.  Maybe DOMConfigNode could/should be incorporated into this approach as well?

Nevermind RE SAX; I didn't read your message carefully enough ;-)
Any way, I like use of SafeXMLParsing in particular and the dis-use of XmlConfigFile so I think the approach in #962 is much further there.

Both the tickets are complimentary. #962 is about parsing xml and getting rid of XmlConfigFIle . I fully endorse it. This PR is just about getting rid of XPath and use a common API for consuming the content.

I'm glad you endorse #962 but there is a clear conflict between both PRs on QueryElevationComponent.  Maybe #962 can be reduced in scope to only XmlConfigFile changes, and maybe here you can avoid XmlConfigFile altogether?

The main idea behind the other work is to update the parsing of elevate.xml. This induced cleaning up some things: removing XmlConfigFile and XPath from QEC.

Maybe https://github.com/apache/solr/pull/962 can be reduced in scope to only XmlConfigFile changes,

I like the fact that #962 gets rid of XmlConfigFile . It should not be limited to just elevate.xml , we need to expand its scope to solr.xml, schema.xml & solrconfig.xml. elevate.xml is a very simple XML file and it doesn't really matter how we actually parse it. I just wanted all configuration XMLs to use the standard pattern.

We can merge the other PR where we can consider that the xpath work done there is a prework to this one.

We can do in any order. It's OK. BTW can you please take a look at how the work done in #962 can be applied to the other XML files as well

it's strange to be talking about a different PR on this PR instead of that one
can we keep scope small instead of scope creeping on the PRs

Let's cancel this PR but keep the JIRA issue.  @heythm I propose that you create a new PR for SOLR-16369 "Avoid XPath in parsing elevate.xml" with code from #962.  It also avoids XmlConfigFile which is nice.  I don't see the point of using the new "NodeConfig" in QEC.

I don't see the point of using the new "ConfigNode" in QEC.

ConfigNode API is not new . It has been there for a while and it's already used in other places
Today we do it using XPath. So we have to move off of XPath (that is the primary motivation)

I don't mean to say ConfigNode has no purpose, just that in parsing elevation.xml in particular, there is no point.  ConfigNode seems best suited for primary configuration files -- solr.xml, solrconfig.xml, schema.xml as there are substitutable properties and sometimes "overlay" which ConfigNode has some features.  For simple data config files (like elevate.xml), plain XML processing is fine without unique Solr abstractions.

ConfigNode seems best suited for primary configuration files

agree.

For simple data config files (like elevate.xml), plain XML processing is fine without unique Solr abstractions.

I agree with this as well. However, this is a slippery slope. We may end up with another feature which has an XML configuration and we will start debating whether the xml file is complex enough to warrant the use of ConfigNode API.
Anyhow, I'm +1 for anything as long as I don't see XPath

refer #1002


Powershell to provision staff template to multiple team sites in our tenant

We have more than 200 staff team sites and need to provision below template on all these sites: https://provisioning.sharepointpnp.com/details/eb5d4741-e2f4-44f1-954b-e7d598585c63
We can do it manually one by one, but it is very time consuming. Please advise if it can be done from PowerShell code? Can we add list of sites in csv file and run PowerShell code on csv file?

Hi,
Thanks for using the Look Book site. The source of the template is available here (https://github.com/SharePoint/sp-dev-provisioning-templates/tree/master/site/edustaff) on GitHub. You can download the .PNP file and apply it using PnP PowerShell (https://github.com/pnp/powershell) using a foreach on all of the sites/teams. The cmdlet to use is Apply-PnPTenantTemplate.


Site logo is missing a focus state

The site logo on the public site needs to have a visible focus state when it is focused similar to the other links in the navigation bar.

QA Notes:
Entry Point: http://localhost:3000/
Upon entering the homepage, press the Tab button and continue pressing it until you see a hover state (green border) around the logo.


Documentation: APM-296

Scope & Purpose
This PR only edits documentation snippets for the read-from-followers
feature. No code is touched.
It accompanies this PR on the documentation repo:

[x] https://jenkins.arangodb.biz:3456/view/Documentation/job/arangodb-ANY-examples/2154/


Win - focus is not switching back to previous application

Hi, in Windows focus is not switching back to previous application after hiding hyper with hyperterm-overlay. No window is focused.
Tried with animation true/false, with vanilla hyper+hyperterm-overlay.
Tested on Windows 7 and Windows 10.
On Linux it works fine.

Did you actually try to enable hide on blur in your config (works for me on macOS)?
overlay: {
  hideOnBlur: true,
}

Yes, I have hideOnBlure enabled.

I could manage to "fix" this issue by adding a win.blur() before win.hide(), as questioned at this Electron issue
The code was changed here before line 367
New version:
		//close without animation
		else {
			findFocus();
			this._win.blur();
			this._win.hide();
		}

Also, I should note that I'm not using animation (animate: false option)
I think that a "full" fix (including animation) would be like this (i.e., always calling blur before hide):
		//control the animation
		if(this._config.animate) {
			this._animating = true;

			//animation end bounds
			this._startBounds();

			setTimeout(() => {
				this._animating = false;
				findFocus();
                                this._win.blur();
				this._win.hide();
			}, 250);
		}
		//close without animation
		else {
			findFocus();
			this._win.blur();
			this._win.hide();
		}

Looking into this for my fork hyper-overlay and I cannot replicate the issue on Windows 10 build 1803. When I open the overlay then X or - it out my Windows just focuses back to the previous window that was active.
Can you elaborate on steps to reproduce?

@Favna try using the "quake style hide" shortcut.

I honestly have no idea what the "quake style hide" is

Sorry. You said that clicking X or - would "hide" the window, with Focus going back to previous window.
The bug, at least on my case, was happening when using the shortcut to open/hide the overlay, and not when pressing the buttons.


Rename CONTRIBUTING.md to UPDATE.CONTRIBUTING.md

<script src="https://sdk.minepi.com/pi-sdk.js"></script>
<script> Pi.init({ version: "2.0", sandbox: true }) </script>

[✓] Have you followed the contributing guidelines?
[✓] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

thanks again

Reported as spam


Not able to able to understand mx.symbol.take()? Example

eq_flag = mx.sym.Variable(name="eq_flag")
select_conv_feat = mx.sym.take(mx.sym.Concat(*[warp_conv_feat, conv_feat], dim=0), eq_flag).
What is the dimension of select_conv_feat in terms of (N,C,H,W)
Inp : warp_conv_feat (1,1024,48,64)
conv_feat(1,1024,48,64)
After concat symbol, result dim becomes (2,1024,48,64).
Now what is the output of 'select_conv_feat' symbol after going through mx.sym.take function.
Iam not able to understand. Kindly help please

You can first consider the ndarray that take is operating on as a matrix (2D). If it's more than 2D, flatten it into 2D by keeping the first dim and collapsing all the rest dims into the second dim. For a 2D ndarray (matrix), take op simply extracts the rows specified by the index array and stack them one by one to form an output ndarray.
In your case, let's say eq_flag shape is (4,), then the output of the take has shape (4, 1024, 48, 64).

Thanks for the kind suggestions.
I had one more query. Suppose the shape of 'eq_flag' is (1,) and the value i pass is either '0'/'1'. In this case 'mx.sym.take' will act as a switch to select either 'warp_conv_feat'/'conv_feat'?
Kindly provide the suggestions and do the needful.

@reminisce any updates from your end. Pls let me know this issue.

I don't quite understand your need, but it doesn't look like the behavior you want by using take. The functionality of this op is explained in the documentation.
https://mxnet.incubator.apache.org/api/python/ndarray/ndarray.html?highlight=take#mxnet.ndarray.take
If it is not what you need, post your question here so that people can help from there.
https://discuss.mxnet.io/

Proposed Labels : "Example", "Question", "NDArray"

Can you please ask usage related questions at - https://discuss.mxnet.io/
Please feel free to reopen if you encounter any issues.

What is the difference between this and NDarray.take function?


Unable to create external tags

I wanted to implement the regroup tag in my project since it is missing in the builtin tags. Unfortunately I am not able to create tags in my project because a couple of classes are not exposed. These are: Expression, Tag, Token, TagParser, TokenType, Parser, ParseException.
There may be other necessary classes but for my first try that's it. Please make them available.
Regards,
Mike

Any chance to improve this library, @stefanrusek ?

@mikes222 Sorry for the delay. I am actually looking at it now.
I am likely going to merge the null-safety PR first since it is more pressing. would you be willing to update your PR after that?

sure.

I submitted a new pull request containing the regroup tag and slighly improved error messages.

Thanks, i sent don't feedback and the lint/format check doesn't currently
pass.
On Mon, Jun 7, 2021, 03:47 mikes222 @.***> wrote:

I submitted a new pull request containing the regroup tag and slighly
improved error messages.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ergonlabs/liquid_dart/issues/6#issuecomment-855685215,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAOIHLILAYJ2ENMFGPLYHTTRR2PPANCNFSM4P62IPCQ
.


"ValidationError: webpack Dev Server Invalid Options" error when running a newly created project.

Version
3.7.0
Reproduction link
[http://It is not possible to provide a reproduction link in this case.](http://It is not possible to provide a reproduction link in this case.)
Environment info
  System:
    OS: macOS High Sierra 10.13.6
    CPU: (8) x64 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
  Binaries:
    Node: 8.15.1 - /usr/local/opt/node@8/bin/node
    Yarn: 1.15.2 - /usr/local/bin/yarn
    npm: 6.4.1 - /usr/local/opt/node@8/bin/npm
  Browsers:
    Chrome: 74.0.3729.157
    Firefox: 66.0.3
    Safari: 11.1.2
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0
    @vue/babel-plugin-transform-vue-jsx:  1.0.0
    @vue/babel-preset-app:  3.7.0
    @vue/babel-preset-jsx:  1.0.0
    @vue/babel-sugar-functional-vue:  1.0.0
    @vue/babel-sugar-inject-h:  1.0.0
    @vue/babel-sugar-v-model:  1.0.0
    @vue/babel-sugar-v-on:  1.0.0
    @vue/cli-overlay:  3.7.0
    @vue/cli-plugin-babel: ^3.7.0 => 3.7.0
    @vue/cli-plugin-eslint: ^3.7.0 => 3.7.0
    @vue/cli-service: ^3.7.0 => 3.7.0
    @vue/cli-shared-utils:  3.7.0
    @vue/component-compiler-utils:  2.6.0
    @vue/eslint-config-airbnb: ^4.0.0 => 4.0.0
    @vue/preload-webpack-plugin:  1.1.0
    @vue/web-component-wrapper:  1.2.0
    eslint-plugin-vue: ^5.0.0 => 5.2.2 (4.7.1)
    vue: ^2.6.10 => 2.6.10
    vue-eslint-parser:  5.0.0 (2.0.3)
    vue-hot-reload-api:  2.3.3
    vue-loader:  15.7.0
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.5.21 => 2.6.10
    vue-template-es2015-compiler:  1.9.1
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

Create a new project with vue-cli
Go to the project dir
Run yarn serve

What is expected?
Webpack web server starts
What is actually happening?
Ther's an error in the console
→ yarn serve
yarn run v1.15.2
$ vue-cli-service serve
 INFO  Starting development server...
 ERROR  ValidationError: webpack Dev Server Invalid Options

options.clientLogLevel should be {String} and equal to one of the allowed values

 [ 'info', 'warn', 'error', 'debug', 'trace', 'silent' ]

 (https://webpack.js.org/configuration/dev-server/#devserverclientloglevel)

ValidationError: webpack Dev Server Invalid Options

options.clientLogLevel should be {String} and equal to one of the allowed values

 [ 'info', 'warn', 'error', 'debug', 'trace', 'silent' ]

 (https://webpack.js.org/configuration/dev-server/#devserverclientloglevel)

    at validateOptions (/Users/wube/htdocs/tic-tac-toe/node_modules/schema-utils/src/validateOptions.js:32:11)
    at new Server (/Users/wube/htdocs/tic-tac-toe/node_modules/webpack-dev-server/lib/Server.js:71:5)
    at serve (/Users/wube/htdocs/tic-tac-toe/node_modules/@vue/cli-service/lib/commands/serve.js:138:20)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
    at Function.Module.runMain (module.js:696:11)
    at startup (bootstrap_node.js:204:16)
    at bootstrap_node.js:625:3
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

The build command works fine, the problem is related to webpack dev server.

Getting this as well. This was working fine as little as 9 or 10 hours ago.

Duplicate of #4016

I've found out that downgrading @vue/cli-service back to 3.6.0 fixes the issue

Having this issue as well

@dland512 thanks for the workaround. Had me going crazy, as I just wanted to prototype something quick, and I couldn't get this to work.

@dland512 Your solution works, thanks.

@dland512 Amazing fix! you save my day

I can also confirm this workaround works.

worked for me too. thanks @dland512

Closin this in favor of #4016


Introduce a cookbook section in the documentation site

The library aims to offer a set of functions to promote a development style that favours currying, partial application and composition. So care must be taken that we do not introduce specialised functions as the goal is not to become a toolkit such as Underscore or Lodash.
However it would be useful to show people how such functions can be designed.
Tasks

[x] Create a "Cookbook" top navigation
[x] Cookbook should be a single page with a ToC
[x] First recipe could be range; see #5
[x] The cookbook should be built from code instead of manually put together

In order to make sure that recipes are still working, the cookbook should be built from code. It could be a single test file that is then parsed to extract symbols, descriptions and examples.

:tada: This issue has been resolved in version 4.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


resolved Add Key field issue with long text - Issue 350

PR Description
Resolved to Add Key field issue with long text in the body section when we select form data.
Related Issues

Related Issue # 350
Closes #

Checklist

[ ] I have gone through the contributing guide
[ ] I have updated my branch and synced it with project main branch before making this PR
[ ] I have run the tests (flutter test) and all tests are passing

Added/updated tests?

[ ] No, just a small UI level change it is.

Issue was already resolved and closed.

Thanks for the heads-up


Minor shotgun changes and comments for future changes

About the PR

Increased Kammerer ammo count from 4 to 7, reduced firerate from 2 to 1.5.
Double-Barrel shotgun and sawn-off version now share the same fire rate (previous 2 and 4 respectively, now 3).
Added yml comments to multiple shotguns to describe intended behaviour and future changes.
Changed descriptions of the Kammerer, Enforcer and Bulldog.

Why / Balance

The Kammerer only having 4 shells for its length makes awkward to use in combat, as it's essentially a quad shotgun that requires frequent reloading. I've also never heard of a four-shell shotgun unless it's compact or shortened. 7 shells is much more sustainable, while having a slower firerate differentiates it from the semi-auto Enforcer (until we add pump-actions again).
The Double-Barreled shotgun and sawn-off had different firerates despite being effectively the same firearm. I've made their firerates both 3 as a compromise.
I also considered increasing the capacity of the Enforcer from 7 to 9 and the capacity of the Bulldog's drum magazine from 8 to 13. This likely would upset the current balance however, where shotguns are already powerful enough in close-quarters combat. I've instead added yml comments suggesting what they should be, as long as their associated issue with shell spread is fixed (#33509).
I've changed the descriptions of the Kammerer, Enforcer and Bulldog to better its stats, typos, etc.
Technical details

yml changes only

Resources/Prototypes/Entities/Objects/Weapons/Guns/Shotguns/shotguns.yml

Media

Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl:

tweak: The Kammerer now holds 7 shells but now fires slightly slower than other shotguns.
tweak: The Double-Barreled Shotgun and its sawn-off counterpart now share the same firerate.
tweak: Changed descriptions of the Kammerer, Enforcer and Bulldog.

Make it 1x4 or 2x4 after drozd nerf and its going to be taken like hot potatoes. 😆

I believe the Kammerer was intended to be like the riot shotguns used in prisons. The thing I always was bothered by is if that's the case it should be a 4+1 shotgun. I could argue making the capacities more similar to real shotguns along the lines of:
Kammerer (M870) = 4+1
Enforcer (M1014) = 7+1
Bulldog (IDK) = 12+1 or something that would be balanced
If you do do this, you may or may not need to buff the shotgun ammo box to make it still viable and useful. Making the drum 12-13 rounds would mean people would have 24-26 rounds instead of the 16 in the box. Perhaps make the shotgun ammo boxes hold 30 rounds? Now.... I could see the Kammerer be 7+1 with a slower fire rate, but 4+1 is what the M1870 version it's based on holds.

Why has no one fixed the Kammerer to be a pump-action shotgun?

4+1 as in L shotgun or?

At the moment, we have the ability to saw off a double-barreled shotgun, but what if we had the option to cut down Kammer with a saw?


Add support for LEFT/RIGHT/FULL/INNER lateral join

relates to #9

@martint I applied your comments. Is there anything else to be done?

Merged. Thanks for your contribution, @kasiafi!


vulnerability found in axios 0.18.0

Hi,
Great library by the way!
When doing npm i we get that a vulnerability was found in axios 0.18.0.
Can you change the dependency to "^0.18.0" so we can npm audit fix it?

Hello @elisherer,
I bumped axios to 0.19.2, and publish to<EMAIL_ADDRESS>If there are any issues or improvement, feel free to make pull request.
Thank you


fix(filter component): fix change room topic error

Sorry for this fixes later .

It seems that someone has submit the PR before me . :+1:


Adds column for quota utilization in client list page

Jira Link: https://issues.redhat.com/browse/RHSTOR-6481

@bipuladh can u plz add the Jira link to the PR description ?

/lgtm


Remove-CalendarEvents cmdlet on Exchange Online throws exception: "String was not recognized as a valid DateTime"

Seems that problem appears only for Remove-CalendarEvents cmdlet when we set its QueryStartDate parameter.
We have tested Set-Mailbox with StartDateForRetentionHold and EndDateForRetentionHold parameters and Set-MailboxAutoReplyConfiguration with -StartTime and -EndTime and these cmdlets worked just fine. For all cmdlets we have specified dates as object of DateTime type but error appears only for Remove-CalendarEvents.
Problem happens on different time formats, we have tested United Kingdom(dd/MM/yyyy) and Unkrainian(dd.MM.yyyy) formats and it seems that problem appears when day part is in the first place. Everything is ok when we using United Sates(M/d/yyyy) format.
We tried creating dates in different ways:
$date = Get-Date -Date "27.08.2020"
$date = [System.DateTime]::Parse("27.08.2020")
We even tried to specify the kind of days created, but that didn't change anything.
Full error:
Error on proxy command 'Remove-CalendarEvents -Identity:'' -CancelOrganizedMeetings:$True
-Confirm:$False -QueryStartDate:'27/08/2020 00:00:00' -QueryWindowInDays:'1825'' to server
VI1PR06MB5152.eurprd06.prod.outlook.com: Server version 15.20.3999.0000, Proxy method PSWS:
Cmdlet error with following error message:
System.Management.Automation.ParentContainsErrorRecordException: Cannot process argument transformation on parameter
'QueryStartDate'. Cannot convert value "27/08/2020 00:00:00" to type "Microsoft.Exchange.ExchangeSystem.ExDateTime". Error:
"String was not recognized as a valid DateTime.".
Environment :
PSVersion: 5.1.17763.1490
PSEdition: Desktop
PSCompatibleVersions: {1.0, 2.0, 3.0, 4.0...}
BuildVersion: 10.0.17763.1490
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: <IP_ADDRESS>

The type it's trying to convert to indicates this is an issue specifically with the MS Exchange Online module and the types it provides. Not sure why they don't use the .NET standard datetime / datetimeoffset, but there's nothing PowerShell itself can really do here.
Judging by the call stack, the conversion it's trying to do is a custom implementation.

Thank you for answer.

The type it's trying to convert to indicates this is an issue specifically with the MS Exchange Online module and the types it provides. Not sure why they don't use the .NET standard datetime / datetimeoffset, but there's nothing PowerShell itself can really do here.

Yes, something strange is happening here but I don't see any problems on my side.

Judging by the call stack, the conversion it's trying to do is a custom implementation as well using ArgumentTransformationAttribute. Not sure where best to chase this one up. 🤔 @SteveL-MSFT is there a good channel to use for Exchange Online issues?

I've just tested this case on another computer and it wasn't reproduced. I don't fully sure that problem is only in version of powershell but I have performed the same actions as on the first computer.
Environment:
PSVersion: 5.1.17134.407
PSEdition: Desktop
PSCompatibleVersions: {1.0, 2.0, 3.0, 4.0...}
BuildVersion: 10.0.17134.407
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: <IP_ADDRESS>

The repository is for PowerShell Core only. Please use other channels to report issues for Windows PowerShell and Exchange Online - UserVoice site, forums, support service and so on.


Fix #10 (pre-release comparisons), add several tests

Issue #10 reports a mixed up comparison for prerelease vs release.  This fixes #10 and adds some brute-force tests for prerelease comparisons, as per the specification.

@Ruhrpottpatriot Please review this when possible. I'd love to use this lib but would be more confident in it if more tests were implemented.


Pull Request

Implemented Graph and Dijkstra
Even if I made some minor mistakes, please leave me comments about them! I really want to improve my C++ coding skills.

At least
https://chris.beams.io/posts/git-commit/#imperative
but also probably fewer single line edit commits too


[bug]: single nodes instance generates multiple images at the same time

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Linux
GPU
cuda
VRAM
No response
What version did you experience this issue on?
main
What happened?
@Kyle0654
It is possible for a single nodes instance to receive and process multiple nodes at once - so like, I can hit the invoke route any number of times and it tries to generate all of them at once. You get multiple progress bars and everything. Occasionally you get torch errors when this happens.
I think this should not be possible...
Screenshots
No response
Additional context
No response
Contact Details
No response

I believe the linked PR should fix this. I started out on the path to convert Invoker to use asyncio instead of threading, but that seems to be a much bigger job than i can delve into right now

Weird.... I thought only one processor should be created, which should only create one thread. It might be worthwhile to look and see if multiples of things are being created.


Cipher Suites

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
I attempted to add the Cipher Suites using your guidelines. But still, the traefik is using default Cipher Suites.  In my domains, this might lead to a security problem.
64-bit block cipher 3DES vulnerable to SWEET32 attack
Forward Secrecy not supported by any cipher
What did you see instead?
No response
What version of Traefik are you using?
2.3
What is your environment & configuration?
[global]
sendAnonymousUsage = false
[serversTransport]
insecureSkipVerify = true
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.http.redirections.entryPoint]
to = "https"
scheme = "https"
[entryPoints.http.forwardedHeaders]
insecure = true
[entryPoints.https]
address = ":443"
[entryPoints.https.forwardedHeaders]
insecure = true
[tls.options]
preferServerCipherSuites = true
minVersion = "VersionTLS12"
cipherSuites = [
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305",
"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
"TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
]

[providers]
providersThrottleDuration = "2s"
[providers.docker]
watch = true
endpoint = "unix:///var/run/docker.sock"
[providers.file]
filename = "/rules.toml"
[log]
level = "DEBUG"
filePath = "/var/log/traefik/service.log"
[accessLog]
bufferingSize = 100
filePath = "/var/log/traefik/access.log"
[certificatesResolvers]
[certificatesResolvers.default]
[certificatesResolvers.default.acme]
email = ""
storage = "acme.json"
[certificatesResolvers.default.acme.httpChallenge]
entryPoint = "http"
If applicable, please paste the log output in DEBUG level
No response

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


ansible: slurp from master

Under https://github.com/kubernetes/contrib/blob/master/ansible/roles/node/tasks/main.yml#L26 when you need to setup such that the client nodes can ssh back into the master node.  Not exactly clear from the docs.
/cc @rrati

This looks to be a different issue.


Make async optional

It's easy for users to make an call async if needed. It's not easy for them to (simply) call an async fn in a non-async context.
Can you expose sync methods by default? (Add one if needed, to avoid impacting current users?)
I have async code in the stack, but the context doesn't always (easily) reach down to where I've attached ollama-rs.

As a dumb workaround, you can try to manually call API endpoints with a sync request library, and serialize arguments and deserialize responses with types from ollama-rs

We would need to rewrite all the functions synchronously and expose them under a "sync" feature or add an "async" feature for all the others. If someone's down to do it why not but currently I don't have the time

At least can someone tell how can I call it from non async program? do I have to initiate tokio runtime?
I tried to use executor::executer::block_on but it failed with
there is no reactor running, must be called from the context of a Tokio 1.x runtime

At least can someone tell how can I call it from non async program? do I have to initiate tokio runtime?
I tried to use executor::executer::block_on but it failed with

there is no reactor running, must be called from the context of a Tokio 1.x runtime

ChatGPT gives me that example, hope this helps
use tokio::runtime::Runtime;

fn main() {
    // Create a new Tokio runtime
    let rt = Runtime::new().unwrap();

    // Use `block_on` to run the async function in the sync context
    rt.block_on(async {
        async_function().await;
    });
}

async fn async_function() {
    println!("Hello from async!");
}

If you still don't have a tokio runtime, you can use the more user friendly:
https://docs.rs/futures/latest/futures/executor/fn.block_on.html
note: It's not compatible with tokio


Migrate ImageAnalyzer use case to use GPT4o

updated terraform files to deploy gpt4o (new deployment), and to use it in ImageAnalyzer controller


Why not support Python 3.7

How can i use this lib on python3.7

Pyle38 uses a very alpha version of aioredis underneath which caused an issue with connections sometimes not closing properly in garbage collection. Turned out it was a bug in asnycio that only later has been fixed in 3.8.
I will try 3.7 again in a later Release of aioredis, but until then it's fixed to 3.8.

Pyle38 uses a very alpha version of aioredis underneath which caused an issue with connections sometimes not closing properly in garbage collection. Turned out it was a bug in asnycio that only later has been fixed in 3.8.
I will try 3.7 again in a later Release of aioredis, but until then it's fixed to 3.8.

Maybe you can use aredis instead of aioredis.

Pretty happy with the new aioredis api, actually. But I will check it out, thank you.
What keeps people from using python 3.8?

Pretty happy with the new aioredis api, actually. But I will check it out, thank you.
What keeps people from using python 3.8?

Personally, the main reason we don't use Python 3.8 is because the online environment takes a long time to maintain, but I'm considering moving to Python 3.8 as well.


Documented error behavior flows

Including cross chain timeout

Thank you! - This change has been added in the upstream repo with you as the coauthor for the commit to give credit.
Closing now as the team will get it in over there


popup menu?

hi. did u support popupMenu? Thanks

This library just provides a way to display a popup window more convenient and customizable and does not contain specific style of popups.
There's a long time since last update of this library, so there may be some bugs. Notice before you use it.

thanks buddy


Bump mariadb default install to 10.3.x

Drupal 9 requires mariadb 10.3.7, the default 10.2.31 doesn't work.
Given there is likely not much harm in doing so, I think it would be useful to bump the default mariadb to 10.3.

We'd need to know what CMSs this might affect before doing it. 10.2 has been great for everything, until Drupal 9 decided at the last minute that 10.3 was a requirement.
Would 10.3 break any versions of TYPO3? WordPress? Magento? Magento2? Drupal 6 or 7?
If we don't know, I don't really see the reason to move on and change the default.
TYPO3 v7 and below have long had trouble with MariaDB 10.2, so those folks always have trouble and have to use 10.1. And, of course, the results are very obscure and only a person in the know would ever be able to "read" them.

For the reasons above (https://github.com/drud/ddev/issues/2232#issuecomment-622553095) this isn't going to happen at this point.

I just finished installing ddev on a Chromebook; thanks @rfay!
I ended up here because I ran the ddev config --project-type=drupal8 --docroot=web --create-docroot command but surprisingly the site ended up being Drupal 9.0.2 instead of D8 and it won't let me complete the install process due to the Mariadb 10.3.7 requirement.
I thought I'd mention it here because the out-of-the-box experience for someone new to ddev is a bit confusing due to this issue.

Thanks for pointing out the problem with the article, @mvance. I'm confused why you're commenting here I guess, but I've just updated the ddev-on-chrome article to use the new (post-Drupal9-release) recipe.
When Drupal 9 was released, it started being the default target of composer create-project drupal/recommended-project, so this is just a matter of time moving along in the tech world.
Since articles like this can always get out of date, it's important to look at the docs, especially the quickstarts, for the current best practice. See the drupal 8 quickstart and drupal 9 quickstart

Wow, thanks for the quick reply. I was just coming back to comment that using the following allowed me to install D8:
ddev composer create drupal/recommended-project:8.9.2

...similar to your update to the article of:
ddev composer create drupal/recommended-project:^8

I only commented here because it was the first place I landed when doing some searches around the issue and I thought others might land here as well. Thanks again!

Thanks! Yeah, when that article was written in December, drupal/recommended-project didn't work like that... and drupal 9 also didn't require MariaDB 10.3! It only changed its requirement at the last minute before release. Caused consternation for lots more than you. But in the meantime DDEV-Local got full Drupal 9 support and it automatically selects MariaDB 10.3 when you config for --project-type=drupal9.

Might it be useful to change the database default for D8 to mariadb 10.3?

Reopening, hoping to bump default to 10.3 in v1.17 cycle.


Android: update Bionic declarations for nullability annotations added in NDK 26

Also, force unwrap an opendir() call that could be null.
This is needed because Bionic recently added a bunch of these annotations. I made sure this pull doesn't break anything by testing it on linux x86_64, and the force unwrap with the previous NDK 25c too. I used this patch with others to build the Swift toolchain and this package for my Android CI, finagolfin/swift-android-sdk#122.

@swift-server-bot add to allowlist


feat: import and export design

Related Issue:-
#530
Changes Made:-

Installed file-saver lib
add utils serializeToP3D & deserializeFromP3D
handle the functionality of export and import
stored the imported data in firebase

@amanjaiman1  merge this pr  all things look good