Calendar does not show Days Off icons

We are on Azure DevOps Server 2022 and the Days Off icons are not loading on the calendar.
The error in the browser console is:
Error getting event data.
Event source: Days off
Reason: Could not load event source Days off. Request timed out.
The issues listed below seem related to mine. I believe that the root issue is that there is too much data being requested/transferred on initial load, but short of optimizing that which could take significantly more time and effort, could we get the timeout at line 279 of calendar.ts increased? In my testing, it looked like increasing the timeout from 5000 to 10000 worked reliably, but I would prefer to bump it to 12000 to give some wiggle room.
https://github.com/microsoft/vsts-team-calendar/issues/376
https://github.com/microsoft/vsts-team-calendar/issues/247
https://github.com/microsoft/vsts-team-calendar/issues/241
https://github.com/microsoft/vsts-team-calendar/issues/165
https://github.com/microsoft/vsts-team-calendar/issues/121

Hi, we have been working on the team calendar to improve the on-prem version. We will release it as soon as possible, and I will also try to resolve this issue in the same release


bird process is not running

Calico 3.23.3 version is installed, but the bird process is not running. The node's host route is normal. Calicoctl node status output shows that no IPv4 peers have been found.
Expected Behavior
The bird process is running normally, and the output of Calicoctl node status is normal.

Current Behavior
1、 bird process is not running

2、the command "calicoctl node status" outputing "No IPv4 peers found"。

Possible Solution

Steps to Reproduce (for bugs)
1、I cannot provide a reproducible scenario.
Context
1、I have enabled NetworkManager on the Linux host, and created a configuration file at /etc/NetworkManager/conf.d/calico.conf to prevent NetworkManager from interfering with the interface.
Your Environment

Calico version
Orchestrator version (e.g. kubernetes, mesos, rkt):
Operating System and version:
Link to your project (optional):

Hey @WVenus , can you provide any other Calico config that you are using to set this cluster up and the logs from the calico-node pods? I'm not quite sure why bird might not be running in your cluster without some more details about the scenario.

@mgleung  Here is the configuration file for installing Calico, including thecalico-node log files and the IPPool configuration. The listenPort value in the BGPConfiguration section is 12020, but I'm not sure if this configuration has any impact because the system is not listening on the 12020 port.
calico-3.23.2-ipv6-vxlan.txt
calico-bgpport.txt
calico-node.txt
apiVersion: projectcalico.org/v3
items:
- apiVersion: projectcalico.org/v3
  kind: IPPool
  metadata:
    creationTimestamp: "2023-02-07T02:11:48Z"
    name: default-ipv4-ippool
    resourceVersion: "108793"
    uid: b263cdf2-94b7-4066-abe9-667d4c60b525
  spec:
    allowedUses:
    - Workload
    - Tunnel
    blockSize: 26
    cidr: <IP_ADDRESS>/16
    ipipMode: Never
    natOutgoing: true
    nodeSelector: all()
    vxlanMode: Always
- apiVersion: projectcalico.org/v3
  kind: IPPool
  metadata:
    creationTimestamp: "2023-02-07T02:11:48Z"
    name: default-ipv6-ippool
    resourceVersion: "108796"
    uid: c2982278-47cc-4de4-95fd-6145ed9ec702
  spec:
    allowedUses:
    - Workload
    - Tunnel
    blockSize: 122
    cidr: fdf3:8f2d:d955::/48
    ipipMode: Never
    nodeSelector: all()
    vxlanMode: Never
kind: IPPoolList
metadata:
  resourceVersion: "14608699"

apiVersion: projectcalico.org/v3
items:
- apiVersion: projectcalico.org/v3
  kind: FelixConfiguration
  metadata:
    creationTimestamp: "2023-02-07T02:11:48Z"
    name: default
    resourceVersion: "108800"
    uid: 825ef260-7b93-4813-879b-a0165e58780e
  spec:
    bpfLogLevel: ""
    floatingIPs: Disabled
    logSeverityScreen: Info
    reportingInterval: 0s
kind: FelixConfigurationList
metadata:
  resourceVersion: "14608608"

@mgleung Hello, is there a thought for this question?

@WVenus sorry for the delay, I just took a look at your logs and found that you've set up VXLAN for your default IPv4 pool. Is that intentional? We do not run bird when VXLAN is enabled so that might be why you're seeing this.

@mgleung  Can I understand that this is caused by the use of an overlay network?
Because we are using the vxlanMode set to Always

@WVenus , it is not necessarily that this is caused by an overlay networking, but that VXLAN in particular does not need BGP to function. Since you are running in VXLAN mode, BGP is not running or needed and that is why BIRD is not running and there are no BGP peers.

I'm closing this since I think the issue is resolved. If there are any more questions or concerns about this, please shout out and we can reopen this.

Hi, me too, all of a sudden, I started getting

no BGP backend process BIRD is not running

Yesterday, when I ran
calicoctl node status
I got a table indicating

IPv4 BGP status .....

with 2 lines


Redundant Footnote

if an existing footnote is referred again, then a redundant footnote will be generated.

Same here. Please, fix ASAP...

Markdown on Gitlab doesn't have this flaw. Please fix this. This makes Stackedit entirely useless for whitepapers.

@benweet wrote:

I think it's the same behavior in MultiMarkdown and others flavored markdown syntaxes.

Are you stating basically that you are uninterested to fix this because you feel it is more compatible to have broken footnoting?
Why for two (and half) years has nothing been done to fix footnoting?
This project is a very useful product which otherwise produces very beautifully (and quite complete feature set) rendered content. This footnote duplication issue is a giant wart (making it unusable) on an otherwise awesome project.

This bugs me, too. There are some Markdown renderers which handle duplicate footnotes more sophisticated. e.g.
https://markdown-it.github.io/
https://jbt.github.io/markdown-editor
http://dillinger.io

Using markdown-it for now.


reuse thread-local containers in Builder

Coverage decreased (-0.02%) to 96.24% when pulling 75642c5c20eba2127df61c7178031d59ee9dc3fc on reuse-containers into fd0b2f262234286f6e9edd30fc6f17aed992ea3d on master.


Removing and Updating Images - Data Model Img

Delete hubspot-snowflake-aws-ml-insights/assets/data-model-ERD.png

Reviewed


Need the ability to see the original payee

Additional note, I think that the aliases should always be applied to the original payee, and not the transformed payee. This way you can continue to tweak and optimize your aliases.


[TACHYON-443] Remove duplicated dependencies in client

https://tachyon.atlassian.net/projects/TACHYON/issues/TACHYON-443

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

LGTM


Create plot for conditional probabilities

Looks good to me, but is there something we can do about the issue that the graphs look so random for the generated data?

I split up monte_carlo and intensity, now it the graph looks better and it's way faster.

I am not happy with having the s1-s3 dictionaries of functions declared in several notebooks. But using %store does not work as the lambdas cannot be pickled.
We need to find a way to better deal with that.

It seems like Dill works in 3.6 with all object types from Python. Maybe we should try that.

Dill locks quite nice. But since I just tested the dict for S3: are you sure that '3' creates a new random price every time called?

I should rewrite that and remove the random. It is really supposed to just return 11, so if it does that all the time everything works fine.

Ok. Can you create a PR for the fix or an issue if you don't have the time to fix it right now?


Evaluate all tuples if requested when evaluating a relation

Checklist

[x] I agree to the terms within the OpenFGA Code of Conduct.

Describe the problem you'd like to have solved
Hi all,
recently, we faced a new behavior regarding authorizations and it caught us off guard. One of our business need is to evaluate all tuples when checking a relation. Instead of returning true as soon as a relation is valid, we would like to crawl all relations available before taking a decision.
Describe the ideal solution
An ideal solution would be to indicate within the authorization model which relation requires all tuples to be evaluated. Here is an example  where users read / write / administrate files and files belong to folders.
type user

type document
  relations
    define reader: [user]
    define writer: [user]
    define owner: [user]
    define can_read: reader or writer or administrator
    define can_write: writer or administrator
    define can_administrate: owner

type folder
  relations
    define belong_to: [document]
    define owner: [user]
    define can_administrate: owner or can_administrate from belong_to{all}

In the authorization model above, the user type can administrate a folder if it can administrate all files belonging to the same folder. The instruction {all} after the belong_to relation indicates that all relations must be evaluated and true ir order to consider the relation as available if the user does not own the folder but he/she can administrate all contained files.

Note: we are aware this might have an impact on global performances.

Alternatives and current workarounds
So far, this kind of authorizations is performed by the application itself, where we get the list of files belonging to a folder and we evaluate the can_administrate relation between the user and each file. We keep evaluating until the end of the file list is reached or as far as the user does not have the relation with a file. It would be easier and faster for us to perform this evaluation within OpenFga graph.
Additional context
As usual, please let me know if you need further information or would like to discuss it live.
Cheers,

@geoffroybraun thanks Geoffroy! We added it to the roadmap
https://github.com/openfga/roadmap/issues/71
We got someone else asking for the same feature the same day :)

I am wondering if you could use a simpler solution. You could use a model like below
type user

type document
  relations
    define reader: [user]
    define writer: [user]
    define owner: [user]
    define can_read: reader or writer or administrator
    define can_write: writer or administrator
    define can_administrate: owner

type folder
  relations
    define belong_to: [document]
    define owner: [user]
    define can_administrate: [user] or owner

Then when a new file is added, you could check if the folder's can_administrate is set. If is not set, and there are no other files in the folder, set the folder's can_administrate to the owner of the file.
If it is not set and there are other files, don't set the can_administrate on the folder
If it is already set, then compare if the owner is the same as the already set value. If it is not, remove the tuple


Add connection quality related attributes to HomematicIP Cloud

Description:
This PR adds extra attributes to Homematic IP devices to determine connection quality, and helps to identify issues with it.
This attribute set is comparable to devices of Homematic Classic platform.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox.
[x] There is no commented out code in this PR.

Hi @mxworm, please check my small PR.

Hi, Please only show useful information to the user. Keep the devices as clean as possible. If we could add a „debug“ switch to the Config->Integrations to enable/disable this additional info. Ciao

Hi,
i am aware of keeping the infos to the user as clean as possible, as you already mentioned it in a ticket before.

I already saw that the unavailable attribute is not necessary, because it is already used in the  method. I've removed that.
dutyCycle will be only displayed if a device reaches it dutyCycle and will not be usable for some time, so normally nothing will be shown.
device_rssi, peer_rssi only one (currently not sure which) will normally displayed for battary driven device. Only devices with permantent power supply show both values.

From my personal perspective these information are useful for a user when working with wireless devices.
I already had trouble with rssi. EQ-3 told me that my problems with alarm are related to connection issues with a window sensor (bad rssi), but i had no chance to identify which sensor was effected. Also the vendor app hides these information.
Compared to homematic classic there are only a few attributes shown to a device. ;-)
Btw: I am not checking the whole component for missing attributes, but i check what is missing for me and could be helpful to others.
I apprechiate your component and i am where thankful for your feedback, support and this component in homeassistant. This component is the main reason why i switched to home assistant!
Do still think its worth adding a debug switch to the configuraion for just one or somtimes two additional attribute normally shown?
I could do that.
BR
Markus

rssiDevice = HAP -> Device (is available for all wireless devices)
rssiPeer = Device -> HAP (is available for some wireless devices)

Hi @mxworm,
after thinking a while about your proposal, i go for your idea to have an additional parameter to add more attributes. But instead of naming it  debug i thougt naming it show_extra_attributes is more applicable.
Currently it is only added to configuration.yaml  is optional.
In a follow up PR this could be added to Config->Integrations (I have no clue how, but i am excited).
What do you think?

Review comment from @MartinHjelmare for PR Add Groups to Homematic IP:

We don't want these kind of options in the config flow. The config flow is mainly for connecting and authentication. When we have an options flow for config entries, it can be implemented with that. For now, please remove the options from the config flow and just keep them in config yaml.

I think this means we should wait until an option flow exists and add the option to that flow.
Until then the parameter remains only in config yaml

Hi @mxworm is here anything left to do for me?

Do you have a BROLL/FROLL device? (Did I ask you already?)

I do not have either.
You haven't asked. ;-)


fix vASTR icon

You have stolen my PR number, I was hoping to open a PM with my birth year number 😅


reset commandIsRunning in finally block

right now it doesn't get reset if an error is thrown.  I assume this would be a bug...

In order to roll it out to the frameworks, we need to bump the wdio-sync version in each on of them and make sure that the unit test suite passes.


Add new sponsors.

Problem
I want to update the sponsors section to include our new sponsors.
Solution
I added the Santa Cruz Works, Progress, and Blackstone logos and rearranged the logos grid according to the newer Figma design.
Steps to Verify:

Checkout the chore/update-sponsor-logos-v2 branch
Verify that the sponsor logos look good on all viewports
Also verify the links

Screenshots (optional):

Google Cloud needs to be added as well.

Google Cloud needs to be added as well.

@mocklee Let me know how this looks:

The logos might still be a little crowded on smaller devices but we don't have much room to play with.

@mocklee Let me know how this looks:

The logos might still be a little crowded on smaller devices but we don't have much room to play with.

The logos might still be a little crowded on smaller devices but we don't have much room to play with.

We can optimize the space we have & leverage CSS grid to slip in more space. I applied a row-gap here to lend more padding on a row basis & it solves most of the crowding issue

The logos might still be a little crowded on smaller devices but we don't have much room to play with.

We can optimize the space we have & leverage CSS grid to slip in more space. I applied a row-gap here to lend more padding on a row basis & it solves most of the crowding issue


Support custom keyfile in Sabre CLIs

Add support for keyfile (relative/absolute) path read from the CLI.
Update deprecated env with dirs, to get the user's home directory
Add IDE files in git ignore list.

@arsulegai Can you rebase this PR to handle merge conflicts.


Cascading list do not work

We are a bank and not a IT company and use Azure DevOps for project management.
We have serious problems of lack of technical skills and because of that ee do not know what to do for fixing the problem.
Could you please can help me?
You answer my review on extension page, and sent me that link: https://github.com/microsoft/azure-devops-extension-cascading-picklist
You can see my review on link on right and my name is Carlos Stumpo (https://marketplace.visualstudio.com/items?itemName=ms-devlabs.cascading-picklists-extension&ssr=false#review-details).
If you can keep in touch thru email I will be glad.
Thank you so much.

I have just tested it, and it appears to be working as expected. Please reach out to me so that I can assist you further<EMAIL_ADDRESS>


Add CI build for Windows component

As soon as gu is officially supported by GraalVM, we probably want to provide a GraalSqueak component for Windows. Travis CI supports Windows as a build environment and we have some scripts including make_component.bat that should allow us to generate components as part of our CI infrastructure.
Related commit: https://github.com/hpi-swa/graalsqueak/commit/a24e11795657f232670d6b4759e218416780f74b (Add macOS build for native-image and component)
Maybe @michelou wants to take a look at this? :)

First Windows build job passing, some cleanups are still needed but then we are good to go.

GraalSqueak is now tested on Windows (see here).


Numeric argument doesn't affect undo?

Adding a numeric argument to "undo" appears to have no effect. For example, if I delete three characters in different parts of a line and then do meta+3 ctrl+\, only the most recent deletion is undone.
Numeric arguments are working for me in other commands, like cursor navigation. I'm using v2.0.7.

I have finally released this change, along with some other improvements.

Works great! Thanks very much!


Fix bug for Set Command

Input: "set 3 2"
Sometimes nothing happens, sometimes give error say invalid input.

SetCommand slated for removal.


Up and Down change

is it possible to rotate the up and down buttons

Agree, an option to invert the Up down Buttons would be good. Invert Percentage is already active and displaying the correct state but the buttons are working the oposite direction

would like this feature too

Me too!
Please @Deejayfool help us with this change!


Create a way to remove default commands.

See https://github.com/dblock/slack-ruby-bot/pull/58.

Well, maybe we could follow the exact pattern we do for hooks now. Have a command set with a default initialization and remove the magic command discovery ?

:+1: @dramalho Want to give it a shot?

:P replicate the hook work ....... well, not a pressing issue for me, but sure, I can take one for the team. You know it will probably take me three weeks again :P

(kidding, should be quicker, making a lot of assumptions on a parallel approach to the hook set)

What are we paying you for @dramalho ! :)

GOD DAMN IT I WANT TO BE RICH DOING NOTHING, THIS WORK THING CRAMPS MY STYLE!!!!
:)
FINE
I'll pick this up :)

What is the best way to override a default command class? I was trying to override Unknown and it worked fine in dev, but in production, commands that had a class/match began matching Unknown instead. It was almost like the Unknown route suddenly had a higher precedence than other command routes.

Sorry, I've been swamped and I haven't come back to refactoring this, however :)
take a look at the message.rb hook file, that's the one that calls the command classes and what it does is
      def call(client, data)
        return if message_to_self_not_allowed? && message_to_self?(client, data)
        data.text.strip! if data.text
        result = child_command_classes.detect { |d| d.invoke(client, data) }
        result ||= built_in_command_classes.detect { |d| d.invoke(client, data) }
        result ||= SlackRubyBot::Commands::Unknown.tap { |d| d.invoke(client, data) }
        result
      end

so there's precedence, anything in the child_command_classes list that matches comes first. Unknown is a last ditch call.
My very long shot guess is you've created a command class that falls in the child_command_classes list and it's matching every message?

Thank you for response, I think your guess is right. I failed to override Unknown properly and it was being detected in the child_command_classes and matching before other classes. Weirdly enough it must have been matching last in dev, but precedence got moved up in production so other commands were being ignored.
What do you think is the best approach to handle this in the short term before this issue gets addressed?

I'd love it if everyone here spent a bit of time refactoring my mess into something better instead of hacking on top of it :)

@dramalho Still would love you to take a stab at this! Thanks.

I know, I got into a freaking work cycle and a bunch of things got left
behind - my conscience however is heavy😢
this problem is slightly different from the hooks one, that approach may or
may not be ideal. I remember thinking up that much 😁
On Sat, 4 Jun 2016, 13:26 Daniel Doubrovkine (dB.) @dblockdotorg, <
<EMAIL_ADDRESS>wrote:

@dramalho https://github.com/dramalho Still would love you to take a
stab at this! Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dblock/slack-ruby-bot/issues/59#issuecomment-223752969,
or mute the thread
https://github.com/notifications/unsubscribe/AAA-Md-s1rHZLlifhre2YOiOw3fhyv_Bks5qIW7wgaJpZM4H1mPT
.

I was able to override the built-in Unknown class simply by monkey patching it.

This is how I monkey patched the defaults. Might help someone else in the mean-time. Not the greatest if more defaults are introduced, but works for the version I've been using.
File: commands/hide_defaults.rb
module MyBot
  module Commands
    class Unknown < SlackRubyBot::Commands::Base
      match(/^(?<bot>\S*)[\s]*(?<expression>.*)$/)

      def self.call(client, data, _match)
      end
    end

    class About < SlackRubyBot::Commands::Base
      command 'about', 'hi', 'help' do |client, data, match|
      end
    end
  end
end

How about adding a config flag for now in order to control the built in command invocation and refactor the tightly coupled components on a later time?

I don't love this idea, might as well monkey patch. I'll take a clean fix though.

Ha, this is similar to my desire to "mute" the built-in commands. Now that we have the permitted? method in Commands::Base I am working on a separate authorization gem that will make it easy to disable the built-in commands. That's how I'm tackling it.
When I release the gem (this week?) I'll drop a note in here with a link to it.

So I implemented a whitelist authorization framework. I haven't published it as a gem yet but a complete and working repository is available here:  https://github.com/stax-dog/slack_ruby_bot_authorization
If you require this in your project then it, by default, DENIES all command requests. You must explicitly setup roles and add users and commands to those roles. This includes the builtin commands such as hi, about, and help.

@chuckremes If you want that repo in the slack-ruby org we can make it happen!

@gconklin I've added the file and the code you posted.
It doesn't seem to be working, and I'm guessing it's because I don't have it tied in correctly.
Are there any other steps beside add folder/file, add code, save, "rails s" in console.
Thanks in advanced! (sorry to add clutter to an issue.)

This worked for me, it proxies to the 'MySlackBot' help block.
  module Commands
    class Unknown < SlackRubyBot::Commands::Base
      match(/^(?<bot>\S*)[\s]*(?<expression>.*)$/)

      def self.call(client, data, _match)
        MySlackBot.slack_response(client, "#{SlackRubyBot::Commands::Support::Help.instance.bot_desc_and_commands.join('\n')}", data.channel)
      end

    end

    class About < SlackRubyBot::Commands::Base
      command 'about', 'hi', 'help' do |client, data, match|
        Bot.slack_response(client, "```status: #{err}```", data.channel)
      end

    end

  end


Rs rollingupdate

The rolling update section on this page is missing.
If I recall correctly, ReplicaSets don't support a rolling update and as such, updated the link to point to Deployment documentation (as that is recommendation anyway).
Thoughts:
The link right now points to the "Creating a Deployment" heading, should we point it to "Updating a Deployment" or just to the head of that page?

/assign @bradtopol

Apparently I can't spell Deployment. Fixed.

/lgtm

@@zhangxiaoyu-zidif please help review and approve

/approve


Implement get_address

Please re-record cassettes with the following changes:

Use https://www.leverex.io base URL (not http://<IP_ADDRESS>:4000)
Use key & secret from test.secret.exs (shared with you)

Please fix "[Deposit address: 0x#{address}]" |> Mix.shell().info() - BTC and ETH have different address formats:

ETH example: 0x73957709695e73fd175582105c44743cf0fb6f2f (starts with "0x")
BTC example: 36Lihy5PvWaX4ze7dRkrAxqrKfFUNbmz7U (SegWit address, starts with "3") or 1Aq2wbZBCXPKcg3FxyVZ9ooUqR5XXW4opK  (legacy address, starts with "1")

Please add assertions for console output, for example:assert_received {:mix_shell, :info, [msg]}
assert String.contains?(msg, "[Order ID: 16] Cancelled successfully")

Also:

Please support "--format json" (see lib/mix/tasks/show_orders.ex:37)

@DenisGorbachev fixed.


Add Practice Exercise: prime-factors

Problem specification:
https://github.com/exercism/problem-specifications/tree/main/exercises/prime-factors
TODO:

generate the exercise with ./bin/fetch-configlet && ./bin/configlet create --practice-exercise prime-factors
check if any of the existing tracks (examples below) implement the exercise and you can reuse the implementation:

Go: https://github.com/exercism/go/tree/main/exercises/practice
Rust: https://github.com/exercism/rust/tree/main/exercises/practice
Python: https://github.com/exercism/python/tree/main/exercises/practice

use exercise's canonical-data.json to see which test cases to implement:
https://github.com/exercism/problem-specifications/blob/main/exercises/prime-factors/canonical-data.json

can I take this

Go for it!


Layout attribute

Layout attribute works not fine.

When u scroll next - everything alright.

Same here!

@mboeddeker iOS 10... w/o all cell's data same..

@mboeddeker I fixed that.
if #available(iOS 10.0, *) { collectionView.prefetchingEnabled = false }

Indeed, it seemed to be related to the prefetching of the collectionView.
Thanks @andreyoshev for pointing this out and for the fix 👍


Add a --write-only option to rclone serve restic

From https://github.com/restic/restic/issues/784:

[...] have a write-only mode, where you cannot read snapshots and objects at all. AFAIU you would still need a allow a query like "does an object with this hash exist" for deduplication the transfer. Note that this is a stronger limitation than, the current --append-only flag of the REST server, which (AFAICS) only prevents overwriting and deleteing files, it does not prevent reading them.

Said another way, a bit further down:

True write-only support, where data can be written but not read (or only as much data can be read as needed to write new snapshots). This means clients can backup data, but not restore files. This is distinct from --append-only, which prevents changing data, not prevent reading data.

This option sounds sensible and would be relatively easy to implement.
I assume restic still needs to read listings, so are we talking about not being able to read any blobs?
Do you want to have a go at implementing this? Happy to walk you through what needs to be done if so!

Uhm, I'm sorry, but this won't work with restic as it is right now. restic assumes it can read data from the repo, this means not only index, snapshot, and key files, but also data files. From the outside (without being able to decrypt the data), the server cannot tell if restic reads a data file with metadata or content.
Even if you allow reading everything except data files, restic will in some cases (e.g. with an empty local cache) only work in a degraded mode, where all files need to be re-read locally because the metadata from the previous snapshot cannot be read (and your logs will be full of error messages if you don't specify --force to the backup command).
Having proper support for this use case will need some restructuring within restic. I would prefer to wait until that has happened. :)

@fd0 thanks for your comments.  I'll leave this open to await restic restructuring :-)

Any news here? --write-only support would be really nice to have :)

Any new info? Is the restructuring mentioned the format v2 issue? Or is and issue?
A write only mode would be really awesome, lowering the barrier to have a central backup server used by "all your stuff".. great idea!


Feature request: add optional system role message[s] for each conversation

Most of the time we don't just want a free chat conversation, but a professional one with system role message[s] (or such called prompt prefix) and we can control how many history context (0-any) should be send back to the next message[s].

Custom system prompt up tonight! More settings will follow this week.

Adding this now so closing.

Custom system prompt up tonight! More settings will follow this week.

hi @mckaywrigley , many thanks for your great works.  Can System Role Prompts be placed in each conversation and made editable? That is, each conversation has its own System Prompt.

Was about to ask for a feature request of "System Roles", good thing I searched first.
Anyways as a new user I kinda didn't understand that this icon is for system role, but I got it now.

Thanks!


Add an alert div for when snapshots are saved

Similar to the alert that shows when saving the token or notification settings.

[ ] Checkbox test one
[X] Already checked


easily accessible dialogue music

What feature do you want to get added on the base engine?
i think in the dialogue editor, there should be a box where you type in the name of a song to play during the dialogue. (for example, if i wanted to have a song called RADIO play, i'd type in music/RADIO.)
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

already can do in lua

This is how the startDialogue function works
startDialogue(dialogueFile{string}, music{string})

dialogueFile{string}, as you might already know, is the dialogue json that you want to play which should go into the songs data folder
music{string} is the music that plays during the dialogue, the file goes in mods/music

You can already do that both in lua and source code


new c-programming course added

What does this PR do?
This PR added a new C programming course and a computer science course for business professionals in course section
For resources
Description
In c programming course, Anybody learn the principles of C programming and start coding hands-on in a browser tool that will provide instant feedback on code and computer science course is valuable for business professionals.
Why is this valuable (or not)?
Yes, it is valuable for c programmers and for business professionals.
How do we know it's really free?
By clicking on the provided link.
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

These are time-limited courses, we don't list those.


bug for wrap function

content := `<p>aaaa</p><hr/>`
reader := strings.NewReader(content)
doc, err := goquery.NewDocumentFromReader(reader)
if err != nil {
	logrus.Errorln(err)
	return
}

doc.Find("html body").Each(func(_ int, s *goquery.Selection) {
		wrapTag(1, s)
})

func wrapTag(depth int, s *goquery.Selection) {
	for i, n := range s.Nodes {
		if n.Type != html.ElementNode {
			continue
		}

               if n.Data=="hr" {
                   s.Eq(i).Wrap("p")
              }
	     wrapTag(depth+1, s.Children())
	}
}

I expect the result is:
aaaa

,
but the result is:
aaaa

aaaa

I just want to wrap a hr tag with a p tag;  but it's unimaginable that it adds the contents of aaaa previous tag

Hello,
Yes, that's what Wrap(selectorString) will do (https://godoc.org/github.com/PuerkitoBio/goquery#Selection.Wrap). That is:

For each element in the set of matched elements (in your case,
, that you match via s.Eq(i))...
Wrap it inside the first element matched by the selector passed to Wrap() (in your case,
aaaa
)...
The matched child (
aaaa
) is cloned before being inserted in the document.

So
 becomes
aaaa

, with the p node cloned and inserted to wrap the hr. I agree that this is a bit convoluted, but it is consistent with the jQuery API when a selector is passed as argument.
What you're looking for, I believe, is WrapHtml. This example is simpler than your code and I think achieves what you try to achieve (wrap each
 in a
):
var data = `

aaaa

`

func main() {
	doc, err := goquery.NewDocumentFromReader(strings.NewReader(data))
	if err != nil {
		log.Fatal(err)
	}

	doc.Find("hr").WrapHtml("

")
	h, _ := goquery.OuterHtml(doc.Selection)
	fmt.Println(h)
}

WrapHtml will wrap each element in the set of matched elements (here, all
) inside the inner-most child of the provided html (the
): https://godoc.org/github.com/PuerkitoBio/goquery#Selection.WrapHtml
Hope this helps,
Martin


Prevent model generator to generate invalide php files

If there are third party attribute tables at the database which are not covered by the createTableMapping function the generator creates corrupted php class files.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/#/issues/SW-15068.
Please use this issue to track the state of your pull request.

Thanks for your PR. Could you please cleanup your commits and only commit the changes related to this issue?

Merged with commit: https://github.com/shopware/shopware/commit/dcf30e7f458fc36161d9d4dd4b9b9d3ee0e200fa
Thank you @GM-Alex :+1:


[Test] Disabled two tests under asan.

They are doing manual dynamic loading.

@swift-ci please smoke test and merge


readline_direct and readline_raw don't handle EINTR

The "readline_direct" and "readline_raw" functions error out if EINTR is received. This functions should arguably retry the read operations if they receive EINTR. This leads to Editor::::readline(...) failing. I could call that again, but it is far enough from the low level read call that it doesn't make sense especially since it prints a prompt.

Not handling EINTR makes sense for for example a shell that doesn't make SIGINT exit the program. Every shell I know does actually print a new prompt. In addition repl's like python and node and debuggers like gdb and lldb actually print an extra message when you use ctrl-c.
$ python
>>>
KeyboardInterrupt
>>>

$ node
>
(To exit, press ^C again or type .exit)
>

$ gdb
(gdb) Quit
(gdb)

$ lldb
(lldb) ^C
(lldb)

Are you receiving an error::ReadlineError::Eof or an error:: ReadlineError::Io(...Interrupted...) ?

For readline_direct, we should be able to transform error:: ReadlineError::Io(...Interrupted...) into error::ReadlineError::Eof.
For readline_raw, we should not send error:: ReadlineError::Io(...Interrupted...) but error::ReadlineError::Eof because:

on unix, BRKINT is disabled but maybe EINTR can still happen (for example, when calling poll) ?
on windows, I am not sure (maybe ENABLE_PROCESSED_INPUT) ?

Could you please provide your OS and a backtrace ?

I saw this happen on Chrome OS (Linux). In the past I have been able to reproduce EINTR issues using SIGSTOP and SIGCONT, but that didn't reproduce the issue for me. I wonder if I was wrong and the EINTR is actually happening if a stop signal is received while writing out the prompt instead of the read calls.
This is the error message I am seeing:
2020-09-21T17:59:08.371949-04:00 ERR crosh[5246]:  [src/main.rs:291] ReadLine error: EINTR: Interrupted system call
This is the line of code that prints the error:
https://chromium.googlesource.com/chromiumos/platform2/+/470dadbe1936e0a2aae58a14a7a81bb46e3885ef/crosh/src/main.rs#299
I catch both ReadlineError::Eof and ReadlineError::Interrupted
Here is the bug we have tracking this issue:
https://bugs.chromium.org/p/chromium/issues/detail?id=1130808

I will try to reproduce on a VM.

This isn't critical for us as I am trying a workaround that involves catching the error and handling it the same as ReadlineError::Interrupted
@@ -292,6 +292,9 @@
Err(ReadlineError::Interrupted) => {
buffer.clear();
}

       Err(ReadlineError::Io(ioe)) if ioe.kind() == std::io::ErrorKind::Interrupted => {

           buffer.clear();

       }
       Err(ReadlineError::Eof) => {
           break;
       }

https://chromium-review.googlesource.com/c/chromiumos/platform2/+/2473120/3/crosh/src/main.rs

See #458 (only readline_raw has been fixed).
See also #448.

Version 7.0.0 released


upgrade migrations to 1.8 style and bump version

Although I no longer support nor use this library I am happy to merge it. Appreciate your work :-)
Perhaps you'd be interested in maintenance of this library?

I will push to pypi later.

@centralniak Yes, I would love to maintain this library. We use it in production for our apps. My github username is @vinitkumar. Maybe you can give me commit rights to the repo.

Awesome. I'll get in touch via e-mail.


Controller error on MacOS

Hello, I'm currently using WEBOTS and here is my issue :
INFO: supervisor_controller: Starting controller<EMAIL_ADDRESS>-u supervisor_controller.py
INFO: ur10-controller: Starting controller<EMAIL_ADDRESS>-u ur10-controller.py
Traceback (most recent call last):
File "supervisor_controller.py", line 3, in
from controller import Supervisor
File "/Applications/Webots.app/lib/controller/python38/controller.py", line 31, in
import _controller
ImportError: dlopen(/Applications/Webots.app/lib/controller/python38/_controller.so, 2): Library not loaded: /Library/Frameworks/Python.framework/Versions/3.8/Python
Referenced from: /Applications/Webots.app/lib/controller/python38/_controller.so
Reason: image not found
WARNING: Se salió del controlador 'supervisor_controller' con estado: 1.
Traceback (most recent call last):
File "ur10-controller.py", line 5, in
from controller import Robot, Keyboard
File "/Applications/Webots.app/lib/controller/python38/controller.py", line 31, in
import _controller
ImportError: dlopen(/Applications/Webots.app/lib/controller/python38/_controller.so, 2): Library not loaded: /Library/Frameworks/Python.framework/Versions/3.8/Python
Referenced from: /Applications/Webots.app/lib/controller/python38/_controller.so
Reason: image not found
WARNING: Se salió del controlador 'ur10-controller' con estado: 1.

Hi @gueparducoin, is this still a problem for you? Are you by any chance using the M1 version of macOS?
Thanks!

I'll close the issue for now. If you need help just reopen it.


Remove "credentials" module

What is the expected feature or enhancement?
The credentials module is superseded by an accounts module and a ClientParameters class. Let's use this issue to clean this up by removing credentials from our code.
Acceptance criteria
Removed directory qiskit_ibm_runtime/credentials and updated all references. CI build passes.

@jyu00, @rathishcholarajan any concerns?

go for it


Remove redundant <version>

Unfortunately does not fix
mvn validate -Dset.changelist

which still fails with
…
[ERROR] Failed to execute goal on project mina-sshd-core-api: Could not resolve dependencies for project org.jenkins-ci.plugins.mina-sshd-api:mina-sshd-core-api:hpi:2.8.0-3.vd9a_6e308feee: Could not find artifact org.jenkins-ci.plugins.mina-sshd-api:mina-sshd-common-api:jar:2.8.0-3.vd9a_6e308feee in repo.jenkins-ci.org (https://repo.jenkins-ci.org/public/) -> [Help 1]

Some sort of issue with flatten-maven-plugin I suppose. Note that
mvn -Pquick-build install -Dset.changelist

works because of the local repo. Cannot recall if I ever solved this situation properly.

Would this impact something?

I do not think so. CI/CD builds run to install phase, working around the problem despite passing -Dset.changelist. Local (developer) builds typically omit -Dset.changelist so use the *-SNAPSHOT version which is also not affected.


feat(window): implement  on Windows

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[x] No

Checklist

[ ] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[x] I have added a convincing reason for adding this feature, if necessary

Other information
Added implementation of minimizable for Windows

Just tested this on a Windows 11 VM and it isn't working for me – when I run the minimize example and hit space to toggle minimizability, the title bar either disappears (the first time) or (on subsequent toggles) changes to a Windows Vista-style title bar but with all the controls non-functional.
I haven't had a chance to investigate why yet (and probably won't get the chance today) but it seems very strange.

Sorry, I meant to upload a screen capture of the behaviour I'm observing:
https://user-images.githubusercontent.com/1566516/194124138-64f8a54b-ec15-46c8-af6c-b29d5d4ce9a8.mp4


PxMatrix controling

Hi, just a quick question,
As I have significantly less pins, how can I connect and control a PxMatrix 32X64 LED Matrix ?
It's using a HUB75 connection with the falling pins:

Thank you for the help!

Hello,
This is issue tracker for problems with the hardware design of ESP32-PoE. This is not the appropriate place to ask for advice.
Please join the Olimex forums: https://www.olimex.com/forum/
For general advice related to ESP32 and ESP8266 make sure to also join the big espressif forums here (probably the English section): https://www.esp32.com/
Best regards,
Lub/OLIMEX


Create a scaffold for a search app.

This just sets up an initial architecture with all components in place to make it easier for someone to learn Ratatui/Crosstool with a resolved schema and implement searching features.
STILL IN DRAFT
Will put a bare minimum renderer / search app in place before merging.

This is the commit where I removed the search command before the release 0.1.0. That should help initiate this task.
https://github.com/open-telemetry/weaver/commit/96e2c134214c237cf3c70e57b90ed7dbd08763d1

@lquerel This is ready for review.  See my comments to your initial comments.  The goal of this is NOT completeness.  It's meant to be "bare bones" enough someone can take this and make it whatever in the future, but also NOT a burden for us to evolve weaver going forward if it exists.
This is why I didn't opt for anything more than iterator-based searching and only support displaying Attributes for now.  We should still have room to alter data model without updating rendering code here, which I expect we'll need as we worked towards "application schema" stabilziation.


:octocat: Prepare & locking for submit project.

:octocat: Prepare & locking for submit project.

[x] Locked all functionalities & design.
[x] Added README file content
[ ] Added Screenshoots & Presentation video.

#6 on-going to be competed!

#6 Ongoing to be completed!

 #6  on-going to be competed!


Tie in to Observability / Reporting

Have new projects report up to OneTeam Observability.
Depending on maturity, there is the possibility of linking to a repo instead of integrating this with the pipeline.

Possibility of reaching out to common services showcase team for a discussion as they are using Observability for OpenShift.

Out of scope.


Nominate Teebo as Voting Member

I would like to nominate @tbo47 to become a MapLibre Voting Member.
Motivation
Teebo contributed to the Angular bindings https://github.com/maplibre/ngx-maplibre-gl
Checklist

[x] The nominee contributed in a non-trivial way or donated funds to the MapLibre Organization.
[x] This PR updates VOTING_MEMBERS.md with the GitHub handle and current employer (when applicable) of the nominee.
[ ] The nominee has approved the pull request to indicate they want to be a Voting Member of MapLibre.
[ ] The nominee has shared their full name and contact e-mail with this form.
[ ] At the voting deadline[^1], more Voting Members have approved this pull request than disapproved this pull request.

More details on the process of nominating Voting Members can be found here.
[^1]: Thursday, Aug 22nd, 2024 at 17:00 CEST

@tbo47, congratulations on being nominated to become a MapLibre Voting Member. As Voting Member you can elect the Governing Board, more on the election see here.
To accept the nomination please do the following two steps until Thursday, Aug 22nd, 2024:

Approve this Pull Request
Share your email and contact details with us with this online form

Thanks for approving this Pull Request @tbo47!
The voting system is based on unique links that we send to all the voting members by email. Please share your email address with us using this form: https://share-eu1.hsforms.com/1OcrNFreTRMqPRb0_PlOt3gfn2ab


Updated note in case of concurrency

Resolves: https://github.com/swiftlang/swift/issues/74751

you'll have to actually change implementation, not just the assertion.

This issue was resolved in #75235.

@adityaanand176 Next time please ask us to assign you to the issue to avoid conflicts. See: How do I pick something to work on?

Hey! For sure. I'm new to this, so I'm learning a lot.
On Mon, 22 Jul 2024, 9:08 pm Anthony Latsis, @.***>
wrote:

@adityaanand176 https://github.com/adityaanand176 Next time please ask
us to assign you to the issue to avoid conflicts. See: How do I pick
something to work on?
https://github.com/swiftlang/swift/blob/a22dd98bfa1732b2b4936f11e5a426de54d0cf6f/docs/HowToGuides/FirstPullRequest.md#how-do-i-pick-something-to-work-on
—
Reply to this email directly, view it on GitHub
https://github.com/swiftlang/swift/pull/75232#issuecomment-2243260279,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6EG2RBKZQ3AIGUKEIMTCXLZNURPBAVCNFSM6AAAAABK3F5AMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBTGI3DAMRXHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add support for FBP protocol

Adding FBP Protocol support for this runtime would enable lots of tooling, like:

noflo-ui / Flowhub for visual programming
fbp-spec for data-driven test automation

The protoflo repo provides an example on how to implement the FBP Protocol in Python.
Once you have FBP Protocol in, we can add info about this project + potential downloadable example projects via a runtimeinfo file in Flowhub.

Thanks for the suggestion, thats really interesting. I'm afraid It will take a while before I will be able to implement it, especially w.r.t the way I define ports compared to regular FBP. I must first understand if my definition of ArrayPort matches the commonly used one.


Don't return error when writing files to Google cloud storage.

Please accept the following PR that

Addresses the following issues (links to issues addressed by this PR) : https://github.com/airbnb/airflow/issues/1358

Validated that this fixes the problem.

+1

Coverage remained the same at 67.805% when pulling c985490fd0fc943b622c40d7dc7713171be73f42 on criccomini:fix-gcp-api-gcs-logging into fbc55d1d55ad746747ba9f7d0a90ac2e07740e67 on airbnb:master.


scrcpy segfaults on openSuse Leap 15.0 with NVidia graphic drivers

Hello all,
I've been using scrcpy on other platforms without any issues, but I switched recently to a new laptop with openSuse Leap 15.0 installed with the NVidia proprietary drivers. So I got the necessary requirements, cloned the scrcpy repository and built the whole thing, which went well. I've attached a log file of the build; it looks fairly OK to me.
build.log
The problem happens when I try to run scrcpy: I get loads of "DEBUG:" messages apparently indicating failures to load libraries, and eventually, scrcpy crashes with a segmentation fault. Here is a log of an execution:
run.log
I tried to run scrcpy within gdb (hence the build with --buildtype debug) and the crash happens in read_xpm (in tiny_xpm.c). I didn't succeed at getting a more exact location, as it seems the build did not include the full debug information (I'm not really a specialist in the meson/ninja build system...). Here is a log of the gdb session anyway:
gdb.log
Does anyone have the same kind of issue? And any idea on how to fix that? I'd really like to be able to use scrcpy on the new computer...
Thanks!

Eric

Thank you for the report.
It looks like: https://github.com/Genymobile/scrcpy/issues/17#issuecomment-371916622
The segfault in read_xpm() is really suspicious, since this function has not been modified since v1.0 (except for minor type changes). I think it is caused by corruption elsewhere.
Just to be sure, do not call it and retry:
diff --git a/app/src/screen.c b/app/src/screen.c
index 8476e94..7baa2bb 100644
--- a/app/src/screen.c
+++ b/app/src/screen.c
@@ -176,14 +176,7 @@ screen_init_rendering(struct screen *screen, const char *device_name,
         return false;
     }

-    SDL_Surface *icon = read_xpm(icon_xpm);
-    if (!icon) {
-        LOGE("Could not load icon: %s", SDL_GetError());
-        screen_destroy(screen);
-        return false;
-    }
-    SDL_SetWindowIcon(screen->window, icon);
-    SDL_FreeSurface(icon);
+    (void) icon_xpm;

     LOGI("Initial texture: %" PRIu16 "x%" PRIu16, frame_size.width,
                                                   frame_size.height);

Well, not calling read_xpm actually seems to solve my issue: I can run scrcpy now and it works perfectly. I haven't tried it for hours yet, but I did quite a few things and no problem at all. I even tried to rebuild it completely with your patch but with the 'release' build type, and it still works.
So for me and until further notice, problem solved. But I'll let you know if I get any problem later.

In gdb, I don't understand why you don't have the backtrace with line numbers. Did you compile in debug?

The command I used to configure is included in the build log:
meson x --buildtype debug -Db_lto=true -Dprebuilt_server=/home/ebperso/Downloads/scrcpy-server-v1.8.jar
So I used the build type 'debug'. Is that enough or are there any other options to add?

If you don't pass -Db_lto=true, do you have line numbers in gdb?

Adding -Db_sanitize=address could also help to find the cause.

I redid the build adding -Db_lto=false and -Db_sanitize=address. It doesn't change anything for gdb, I still don't get the line numbers. But after the segmentation fault happens, here is what is printed:
ASAN:DEADLYSIGNAL
=================================================================
==5274==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000004144b5 bp 0x7ffd9d450e50 sp 0x7ffd9d450d40 T0)
==5274==The signal is caused by a WRITE memory access.
==5274==Hint: address points to the zero page.
    #0 0x4144b4 in read_xpm (/home/ebperso/Applications/scrcpy/x/app/scrcpy+0x4144b4)
    #1 0x4105a3 in screen_init_rendering (/home/ebperso/Applications/scrcpy/x/app/scrcpy+0x4105a3)
    #2 0x40fe6f in scrcpy (/home/ebperso/Applications/scrcpy/x/app/scrcpy+0x40fe6f)
    #3 0x404cbe in main (/home/ebperso/Applications/scrcpy/x/app/scrcpy+0x404cbe)
    #4 0x7fe3d7bbef89 in __libc_start_main (/lib64/libc.so.6+0x20f89)
    #5 0x405479 in _start (/home/ebperso/Applications/scrcpy/x/app/scrcpy+0x405479)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/home/ebperso/Applications/scrcpy/x/app/scrcpy+0x4144b4) in read_xpm
==5274==ABORTING

But I finally managed to get line numbers at least for tiny_xpm.c by running ninja -v, then running again the command it launches "manually", adding the -g option to the compile command. So the crash happens on line 109 of tiny_xpm.c in the version of the sources I have, which is the line:
surface->flags &= ~SDL_PREALLOC;
On this line, surface is NULL, so that must mean SDL_CreateRGBSurfaceFrom returns NULL for some reason.

Thank you very much. That helps a lot. We need to check if the surface creation failed.
Could you print SDL_GetError() after the surface creation, it should give more info.
https://wiki.libsdl.org/SDL_CreateRGBSurfaceFrom

I tried to print SDL_GetError() within gdb after the call to SDL_CreateRGBSurfaceFrom; I also tried to patch tiny_xpm.c to add this after the call:
if (surface == NULL) {
    printf("Creating surface failed: %s\n", SDL_GetError());
    exit(1);
}

but both calls returned the empty string, so I guess it's not a big help...

I added a commit to avoid the crash if surface == NULL: https://github.com/Genymobile/scrcpy/commit/2dc1a594714ddc688b7403b4ef96eb41301055ae
I don't know why it fails to create the surface on your computer, though.

So I could finally get the new sources and it doesn't crash anymore, but it doesn't work either. Now I get the messages:
x/server/scrcpy-server.jar: 1 file pushed. 1.1 MB/s (19734 bytes in 0.017s)
ERROR: Could not create icon surface
ERROR: Could not load icon:
ERROR: Could not open video stream

and no window opens. I tried out again the version where read_xpm is not called at all and it still works though. It feels more and more like a memory corruption indeed...

it doesn't crash anymore, but it doesn't work either

Oops, just fixed it on master (3133d5d1c7a652a0227a979ddd6b021c4e7aa8c1).

And it works perfectly now. Thanks!


Performance

Hi there!
I have been doing a bit of performance testing a basic cluster setup (1 master, 2 slaves) + pgpool. I'm getting around 50 tps running the following pgbench cmd against pgpool:
pgbench -U <user> -h <host> -p 5430 taghub -c 10 -j 2 -t 1000
starting vacuum...end.
transaction type: TPC-B (sort of)
scaling factor: 50
query mode: simple
number of clients: 10
number of threads: 2
number of transactions per client: 1000
number of transactions actually processed: 10000/10000
latency average: 265.117 ms
tps = 47.719164 (including connections establishing)
tps = 47.745617 (excluding connections establishing)

I can increase to around 150 tps upping the concurrency to maybe 40. Any higher and I run out of allowed connections.
Comparing to examples like this these numbers seem terrible 😞 Could it be some error in my setup?
Would anyone else like to share their tps metrics for postdoc?
Thanks 😄 👍

I think performance of database setup comes down to the performance of your disks. I've checked the same setup on pretty slow disks (3000 iops) and got about 1000 tps
root@test-db-node1-0:/# pgbench -U wide -h test-pgpool-service -p 5432 test -c 10 -j 2 -t 1000
Password:
starting vacuum...end.
transaction type: TPC-B (sort of)
scaling factor: 50
query mode: simple
number of clients: 10
number of threads: 2
number of transactions per client: 1000
number of transactions actually processed: 10000/10000
latency average: 9.039 ms
tps = 1106.371783 (including connections establishing)
tps = 1107.429339 (excluding connections establishing)

if have to make a wild guess i think you're running your test on Docker for mac which is know for bad disk performance

did you try to tune postgres server? https://github.com/paunin/PostDock#configuring-the-cluster ?

@S3RK I'm running on GCP on SSDs. But it's a networked deployment (notice my latency average). But your right, on Docker for mac it's about the same even with no latency.
@paunin I haven't done any tuning yet, wanted to get my baseline first. But it was so terrible I figured I must have done something totally messed up 😛  I will try tuning on monday.

@S3RK @paunin Ok, myyyy bad 😜 I was running on networked SSDs 🙈  Running on local SSD I'm averaging around 780 tps, which is not too bad. I'm going to try tuning a bit more 💪
I'll close the issue now, thanks 👍


PreferredLocations ignored

I have a Cosmos database replicated over 2 regions.   Client is defined as below.   However, no query is ever sent to Australia Southeast.
var connectionPolicy = new documentdb.DocumentBase.ConnectionPolicy();
connectionPolicy.PreferredLocations = ['Australia East', 'Australia Southeast'];
connectionPolicy.EnableEndpointDiscovery = true;

var client = new documentdb.DocumentClient(host, {masterKey: roKey}, connectionPolicy );

Hi @beneuto. Couple of questions. Which operations are you running? Which are the read locations and which are the write locations, as configured for your account ?

I am only using queryDocuments.   Australia East is write and Australia Southeast is read.

(Sorry for the latency here)
You need to remove the write region from preferred regions. It will use any of the preferred regions. Remove Australia East and reads should go to Australia Southeast.
connectionPolicy.PreferredLocations = ['Australia Southeast'];

That doesn't work.   It still goes to the write region.   Regardless, the aim is to balance load over both regions.


Getting Lingering timer after test error after "Remove asyncio-legacy" pull request

My nightly build has started failing and it appears related to the Remove asyncio-legacy pull request.  My last successful run was on 5/30.
Any suggestions appreciated.
Thanks!
Here is an extract of some of the error log...
        for handle in event_loop._scheduled:  # type: ignore[attr-defined]
            if not handle.cancelled():
                if expected_lingering_timers:
                    _LOGGER.warning("Lingering timer after test %r", handle)
                else:
>                   pytest.fail(f"Lingering timer after test {repr(handle)}")
E                   Failed: Lingering timer after test <TimerHandle when=281.488605333 Debouncer._on_debounce()>

/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/pytest_homeassistant_custom_component/plugins.py:349: Failed

Link to the full log
https://github.com/vasqued2/ha-teamtracker/actions/runs/4591896864/jobs/8108458747

This was a change from homeassistant core.  A lot of built in tests had to be updated due to this change.  I suggest you look there for fixes.

Great.  Thanks!

@vasqued2 I have the same issue, if you find a solution please share back.

@marcolivierarsenault
For now I hacked expected_lingering_timers to ignore it.  Lmk if you find a true fix.
@pytest.fixture(autouse=True)
def expected_lingering_timers() -> bool:
    """Temporary ability to bypass test failures.
    Parametrize to True to bypass the pytest failure.
    @pytest.mark.parametrize("expected_lingering_timers", [True])
    This should be removed when all lingering timers have been cleaned up.
    """
    return True

@pytest.mark.usefixtures("expected_lingering_timers")
async def test_sensor(hass, mocker):
    """ Make sure sensor gets added """

    entry = MockConfigEntry(
        domain=DOMAIN,
        title="NFL",
        data=CONFIG_DATA,
    )

    mocker.patch("locale.getlocale", return_value=("en", 0))

    #    contents = "{}"
    #    mocker.patch('aiofiles.open', return_value=mocker.mock_open(read_data=contents).return_value)

    entry.add_to_hass(hass)
    assert await hass.config_entries.async_setup(entry.entry_id)
    await hass.async_block_till_done()

    assert "teamtracker" in hass.config.components

@vasqued2 Try to add the following at the end of your test_sensor function:
    assert await entry.async_unload(hass)
    await hass.async_block_till_done()

@Shulyaka Thanks!  That resolved it.


Electron apps: layering vs flatpak'ing?

Hi there,
sorry if noob question.
From what I've gathered Flatpaks can actually worsen the inbuilt security measure of Electron apps. If that is correct, what would be the recommended way of installing apps like FreeTube, Signal-Desktop or Element-Desktop?
Should I install them via Flatpak or layer them on top of the system?
Thanks in advance!

Many Electron apps don't use the built-in sandbox to begin with. At the very least Discord and FreeTube don't.

Many Electron apps don't use the built-in sandbox to begin with. At the very least Discord and FreeTube don't.

Thank your for the information! So how did you install e.g. FreeTube then? Just via Flatpak?

I'd use flatpak if I absolutely had to use electron, but you should avoid it as much as possible (ideally you shouldn't use electron at all).
https://github.com/secureblue/secureblue/blob/live/docs/FAQ.md#should-i-use-electron-apps-why-dont-they-work-well-with-hardened_malloc
And definitely do not use the Signal electron app if you care at all about security.
For freetube, there are alternatives like https://flathub.org/apps/de.schmidhuberj.tubefeeder

I'd use flatpak if I absolutely had to use electron, but you should avoid it as much as possible (ideally you shouldn't use electron at all).
https://github.com/secureblue/secureblue/blob/live/docs/FAQ.md#should-i-use-electron-apps-why-dont-they-work-well-with-hardened_malloc
And definitely do not use the Signal electron app if you care at all about security.
For freetube, there are alternatives like https://flathub.org/apps/de.schmidhuberj.tubefeeder

The part about Signal hits hard. :-D
What alternative is there on Secureblue? The same  guy that develops Pipeline apparently develops a Signal alternative as well, yet he states that in the current state his app may very well worsen security compared to the official electron app.

I wouldn't use signal at all on desktop.

I wouldn't use signal at all on desktop.

.... sadly not an option. Took me ages to convince friends and family to ditch WhatsApp. If now I tell them to stop using Signal on desktop they'd probably just go back to WhatsApp. :-/
I guess I'll stick to the official Signal-App on Flathub. How bad can it be?

I wouldn't use signal at all on desktop.

Even in a VM?

yes


Miro + DemoMonkey

We have noticed an issue whereby when DemoMonkey is installed into a Chrome profile, it's preventing any Miro boards from loading. Going incognito or removing DemoMonkey enables the Miro board to be loaded again.
This behaviour is happening even when a configuration is not actively loaded.

oh, wow, thanks for calling this out, I can reproduce that. Let me check if/how I can fix this quickly.

I found the issue, it seems that the inline.js breaks things by importing JSON5... I add a small snippet that blocks that code from being loaded if the current URL is miro.com (let's hope there are not that many other pages out there breaking it)

Thank you @svrnm ! Is this only in the dev-release or prod version too? (I've still being using the dev-release for the addScript functionality but maybe you rolled this into general now?)

Thank you @svrnm ! Is this only in the dev-release or prod version too? (I've still being using the dev-release for the addScript functionality but maybe you rolled this into general now?)

It's going into prod soon (I don't have full control over that, because google does checks on the extensions, that can take hours, days or even longer, will keep you posted.)
I can put it in the dev-release as well, there I am currently trying out to get the Manifest V3 working, which is a necessity if I want to keep demo monkey working beyond 2022 :-/

@jm285 it's in the prod version of demomonkey now, can you verify? Also, addScript should also work with the prod version


suspend a user

refs #8111
This PR contains a new feature: suspending/un-suspending a user.
This branch was already tested with the Ghost-Admin PR.
Works as expected with ghost and password auth.
The key changes are

Ghost returns now all (active+none active) users by default
protect login with suspended status
test permissions and add extra protection for suspending myself
if a user is suspended and tries to activate himself, he won't be able to proceed the login to get a new token

TODO'S

[x] wait for a ghost-admin branch to test the basics
[x] add a test for the event listener
[x] re-confirm that the permissions are OK
[x] test permissions
[x] optimise error message
[x] add model fn: isActive isInactive
[x] can't suspend myself
[x] check status handling again e.g. user changes status to locked and then to active to trick the system
[x] extend PR description
[x] fix tests
[x] test pwd mode

Ready to review/merge!


chore: Transferring ownership to Zenith NEBULA-492

Zenith doesn't seem to have their Github org setup correctly yet, removing Nebula's ownership

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


after_load is called before association is loaded

So, it makes this callback useless for cases like precomputing a number of nested model of has_many

This won't be fixed. This is exactly the kind of computations we ask to not do on after_load as after_load is called for every single record. Maybe have a explicit step that performs this after you fetch the models and keep after_load simple.


Unable to find file in windows

After lots of looking around trying to find out what's going wrong I found this in cquery log.
[Error - 7:35:05 AM] Request textDocument/documentSymbol failed.
  Message: Unable to find file c:/users/patri/desktop/projects/cquery_test/src/test.hpp
  Code: -32603
[Error - 7:35:05 AM] Request textDocument/documentLink failed.
  Message: Unable to find file c:/users/patri/desktop/projects/cquery_test/src/test.hpp
  Code: -32603

That path is correct and opening it in explorer opens the file just fine. The actually include line works and ctrl+clicking opens the file like it should but for some reason because of this error my source files can't see the types and classes in the headers.

This means the file is not indexed, does any .cc file in your project include it?

Yeah, test.cc includes it and contains all the definitions for it. in case it helps, project set up is
.
├── .vscode
│   └── settings.json
└── src
    ├── .cquery
    ├── main.cc
    ├── test.cc
    └── test.hpp

and the .cquery file is setup as
%clang
%cpp -std=c++11
-IC:/MinGW/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++
-IC:/MinGW/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/x86_64-w64-mingw32
-IC:/MinGW/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/backward
-IC:/MinGW/lib/gcc/x86_64-w64-mingw32/8.1.0/include
-IC:/MinGW/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/tr1
-IC:/MinGW/x86_64-w64-mingw32/include

As an update it looks like cquery thinks everthing is in the std namespace. trying to complete without std:: doesn't result in anything but with it seems to find all the functions and types in my headers. https://i.imgur.com/e0xxbsM.png vs https://i.imgur.com/M5sClHC.png

me too


avatar using all width and height

Here an example of what I am saying: https://www.evernote.com/l/AZT6SUwr9rlFj6GKwAcGtRvYemJQ7CPw3yEB/image.png
I am using ember-sass.

I guess the idea of ember-initials is just to give the right avatar image or image alternative, right?  So, the css is on the dev user.  I didn't understand that initially. I am closing the issue.


DO NOT MERGE! Fast Forward stable to 12e3448ead8fae61a45fb6211b79ffa715a8f1c9.

This PR will be merged automatically once checks are successful.

This change is

Jenkins job istio/mixer-pr-stable passed


Fix some Typos and indents

Just to prepare the next Code Tuesday ;)
Checklist

[X] documentation is added or updated
[-] tests are added or updated

English (as in British English or more accurately, Australian English) is what the original APIs and docs were written in. We should be consistent and as there are more non-Americans I don't see us Americanising the docs any time soon :-)

Is there a convenient online source of variant spellings?

Ping @kroeckx , @openssl ; good to go ?

WUTevah :)  Merged.  thanks.


Create custom CCI task to insert picklist values in an existing picklist field

This adds a new custom task to the K12 project, add_picklist_values. This task provides the ability to add new picklist values to a previously packaged & released picklist field. Please see the automation.md file for more details.
Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata
Testing Notes

@lifewithryan @jstvz I think this is finally ready for a full review, now that the unit tests are mostly complete. Please let me know if you have any questions!

I think this looks good. Just want to verify -- if we are working with a record type, we have to specify the namespace (assuming said record type is managed) correct?

Correct, namespace needs to be specified if the record type is managed. Same with fields and objects.

@spinkelman Note that merging is blocked until I get an approval from @jstvz  or @davisagli

Passes QA | Merging | Closing WI


Template member?

Is it possible to bind a template member function?
I'm trying to bind a varient class.
I've tried
  m_lua.new_usertype<Test::Param>(
    "Param",
    "get_bool", &Test::Param::get<bool>
  );

That produces error, expecting 3 arguments on MSVS
and (although I didn't have hope in this one.)
  m_lua.new_usertype<Test::Param>(
    "Param",
    "get_bool", static_cast<bool (Test::Param::*) ()>( &Test::Param::get<bool> )
  );

I don't know what Test::Param looks like. So the most I can do is guess. I'm going to assume it looks like this:
struct Test {
     struct Param {
         template <typename T>
         T get () { return T(); }
     }
};

Or something similar. To bind that, you need to do...
m_lua.new_usertype<Test::Param>(
    "Param",
    "get_bool", &Test::Param::template get<bool>
);

Probably. Or something.
Please also see this example and maybe this example if the function you're binding is also overloaded.

Ah sorry.
I did see those examples.
namespace Test {
template<typename ... Ts>
class Variant {

template<T>
T& get() { return *reinterpret_cast<T*>(&m_data);

};
} // ns

No still get the same error. I worked around it though by just making a Wrapper class with non templated functions.

What is the error? Is it a compiler error or a runtime error?

On Thu, 23 Jun 2016 09:46:50 -0700, Phil Cooper-King<EMAIL_ADDRESS>wrote:

Ah sorry.
I did see those examples.
namespace Test {
template<typename ... Ts>
class Variant {

template<T>
T& get() { return *reinterpret_cast<T*>(&m_data);

};
} // ns

Ah! So this is a nonstatic member function template of a class template.
You IMHO also need to specify params (Ts) for Variant.
Test::Variant is not a type but Test::Variantstd::string is.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ThePhD/sol2/issues/127#issuecomment-228110841

--

It seems like you found a satisfactory solution. I'm going to mark this as closed.

Sorry I was quite, I got sidetracked. I didn't realize but it was an overloaded function T* get() and const T* get() const I'm going to stick with the wrapper though as it makes the template mess alitle more bareable.
Thanks.


Add an option for a vertical wildmenu

_Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
Imo the horizontal wildmenu is hard to read. You always have to move yours eyes over the whole screen, plus there would be more entries possible in a vertical fashion.
Describe the solution you'd like
Since the drop-down menu is already there, it would probably be best to pass the wildmenu to a drop-down menu.
Additional context
Neovim already has this feature. It is one of the few things I like better about Neovim.

Relevant todo item:
- Use popup (or popup menu) for command line completion

Relevant issue: https://github.com/vim/vim/issues/5432
The latter includes a link to the CLPUM. patch mentioned in the issue.

The current wildmenu is very old, from the time that updating more than one line would be slow.  Using a vertical menu would work better.  It's a matter of someone implementing this.  There are some things to take care of, especially the positioning, handling a wrapped command line, etc.

@lacygoill Nice, so there are already plans. I don't feel like compiling Vim and will wait until this feature is fully functional with the required APIs.Or hasn't anyone continued working on that issue?
@brammool I believe that. It was a great enhancement over vi then, that is for sure. It is amazing how enhanced with has become already and I am looking forward to all the feature to come!

I think this can be closed now. See :h 'wildoptions' for details on how to set it up.

@bfrg I just rebuilt and I can see nothing new under wildoptions

@jclsn Try this :set wildoptions=pum.
See also the description under :h 'wildmenu'.


Base URL

Base URL error

No issues found. Please check if the base URL is allowed from your country.


nav's inside carousel

I needed to put a sidenav inside a carousel element. The 'nav' class used by carousel for the next and prev links completely messed up my nav. Please restrict the style to the 'a' element.

We'll be rewriting the carousel so there is no conflict, and have no plans to restrict the class to one element.


Skupper-docker delete fails to remove network if containers do not exist

If the skupper-docker pods have already been deleted the skupper-docker delete command errors out and leaves the skupper-network in place, preventing a reinstall unless the network is manually remove. skupper-docker delete correctly removes the skupper-network if the pods are also there:
./skupper-docker delete
Stopping skupper proxy containers...
Stopping skupper-router container...
2020/03/31 22:04:03 Router container does not exist

[ec2-user@ip-172-31-65-204 skupper-docker]$ docker network ls
NETWORK ID          NAME                DRIVER              SCOPE
187ffdc4d9cc        bridge              bridge              local
d96269db0576        host                host                local
6f63331ec14d        none                null                local
8e74cc85b8d6        skupper-network     bridge              local

When the containers do exist and delete is run:
./skupper-docker delete
Stopping skupper proxy containers...
Stopping skupper-router container...
Removing skupper-network network...
Skupper resources now removed

[ec2-user@ip-172-31-65-204 skupper-docker]$ docker network ls
NETWORK ID          NAME                DRIVER              SCOPE
187ffdc4d9cc        bridge              bridge              local
d96269db0576        host                host                local
6f63331ec14d        none                null                local

Fixed in 0.2.0

@ajssmith Thanks!


response rate limiting plugin year length is 360 days

Summary
The number of seconds for year translates to 360 days in policies line 20. 31104000 is 360 days, not 365.

You are correct, it should be 31536000. The mistake was done because for MONTH we are assuming 30 days and we just multiplied by 12 the month value, which turns out is 31104000 .

so basically the month value should also be updated. If the period starts 15-Feb, it should measure 15-Februari up to 14-March. Not just a default of 30 days.

Yes currently it's a default of 30 days that begins at the beginning of the month (and beginning of second, minute, hour, and so on). This allows us to keep our data structure very simple, otherwise it would be too complex to store.
Generally speaking seems to be a good compromise.


Update Node.js version warning message

Fixes https://github.com/firebase/firebase-functions/issues/292

[x] Tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

I've decided to not include the minor Node version in the message, since sometimes GCF auto-upgrades functions to a new Node version if the existing one has been found to have vulnerabilities.

Could we add a link to the docs that discusses changing that targeted node runtime?  The message currently states that node 6 and node 8 are supported, but the dev is given no guidance on how to make a choice, or which is the default.
https://firebase.google.com/docs/functions/manage-functions#set_nodejs_version

Since this error message isn't just for Firebase, we would also need instructions for gcloud users. I actually wasn't able to find anything on how to configure runtime with gcloud, https://cloud.google.com/sdk/gcloud/reference/functions/deploy does not have any flags for runtime. Perhaps it is not yet updated. Jason, do you have any idea on where to find documentation on selecting runtime? And do you think it would be beneficial to to include links in this warning message?

@ace-n Do you know?

Thanks for approving! I don't have authorization to merge the pull request, can you do it if you're happy with it? And perhaps we can do a follow up PR to link to reference pages if one also exists for gcloud?

Should this be change as well: https://github.com/GoogleCloudPlatform/cloud-functions-emulator/blob/master/bin/emulator#L25-L27?

Need to modify the engine used. (#281)

@gligoran I think that should have been updated, just like the README (https://github.com/GoogleCloudPlatform/cloud-functions-emulator/blob/master/README.md#note)

Note: This change has been published.


✨ add ability to search with shortcuts

This PR addresses issue #38
It adds the ability to search using the shortcuts @, #, c/

Awesome Flo. Thank you.

And congrats on your first contribution to Okuna web!


emissary-ingress TLS not working in AWS ELB NLB

If you're using protocol: HTTPSPROXY it will always fail.
Solution: protocolStack: [ "PROXY", "TLS", "HTTP", "TCP" ]

@cindymullins-dw It seems kind of silly to not support the largest cloud provider in the world.
Can we at least document how to use emissary-ingress when running on AWS and using a Network Loadbalancer with proxy v2 support for native HTTP and TLS?

@cindymullins-dw for the records, it breaks the default VPCgen2 Load Balancer in IBM Cloud too, I just experienced it first-hand.
At the very least, this should be explicitly stated in the documentation - from that PoV, as of today protocol is preferred against protocolStack.


support android Q?

Hello. I have a question and ask a question.
This time, the use of getExternalStorageDirectory () in Android Q has been deprecated. I don't know if you are using getExternalStorageDirectory (), but do you support Q?

Thanks for the question. We don't use getExternalStorageDirectory() in RootBeer and yes RootBeer is supported in Android 10 a.k.a Android Q


[Bug report]:Firefly Shimmer 2.1.19: wallet: 'invalid transaction native tokens count: 65'

Version
2.1.19
Description
error message 'invalid transaction native tokens count: 65' when trying to open Firefly Shimmer
(my mostly used profile without Ledger).
(Interestingly, my profile with Ledger is opening normally. But I have only SMR on the profile with ledger)
Expected behaviour
Wallet should open after entry of password
Actual behaviour
After I select my first profile without ledger and enter password I get the error message (see above)
and Firefly shows start screen with my two profiles
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue
No response
Operating System
Windows
Diagnostics
App Name: Firefly Shimmer
Version 2.1.9
Sprache: de
Plattform: win32
Plattformversion: 10.0.19045
Plattform-Architektur: x64
CPU-Anzahl: 8
Gesamtspeicher: 16270.6 MB
Freier Speicher: 4874.6 MB

Developer Profile
No
Profile Type
Software (Stronghold)
Staking
None
Crash Status
None of the above
Error Messages
error message 'invalid transaction native tokens count: 65'
Error Logs
Thu, 07 Dec 2023 16:19:41 GMT
wallet: `invalid transaction native tokens count: 65`

Thu, 07 Dec 2023 16:12:00 GMT
wallet: `invalid transaction native tokens count: 65`

Thu, 07 Dec 2023 15:50:59 GMT
wallet: `invalid transaction native tokens count: 65`

Thu, 07 Dec 2023 15:49:16 GMT
wallet: `invalid transaction native tokens count: 65`

Thu, 07 Dec 2023 15:48:29 GMT
wallet: `invalid transaction native tokens count: 65`

Thu, 07 Dec 2023 15:47:58 GMT
wallet: `invalid transaction native tokens count: 65`

Thu, 07 Dec 2023 15:47:49 GMT
wallet: `invalid transaction native tokens count: 65`

Thu, 09 Nov 2023 21:17:07 GMT
wallet: insufficient funds 0/0 available

Fri, 06 Oct 2023 15:20:54 GMT
Generic: Cannot read properties of undefined (reading 'unlockConditions')

Fri, 06 Oct 2023 15:20:32 GMT
Generic: Cannot read properties of undefined (reading 'unlockConditions')

Fri, 06 Oct 2023 15:19:48 GMT
wallet: error accessing storage: IO error: No space left on device: Failed to WriteFile: C:\Users\A\AppData\Roaming\Firefly Shimmer/__storage__/bfded7f44c7200e8dd4b7fcce28dbd6a/002811.log: Es steht nicht genug Speicherplatz auf dem Datentr�ger zur Verf�gung.

Thu, 05 Oct 2023 09:40:26 GMT
wallet: error accessing storage: IO error: No space left on device: Failed to WriteFile: C:\Users\A\AppData\Roaming\Firefly Shimmer/__storage__/bfded7f44c7200e8dd4b7fcce28dbd6a/002759.log: Es steht nicht genug Speicherplatz auf dem Datentr�ger zur Verf�gung.

Thu, 05 Oct 2023 09:40:02 GMT
Generic: Cannot read properties of undefined (reading 'unlockConditions')

Thu, 05 Oct 2023 09:39:55 GMT
Generic: Cannot read properties of undefined (reading 'unlockConditions')

Thu, 05 Oct 2023 09:39:54 GMT
Generic: Cannot read properties of undefined (reading 'unlockConditions')

Thu, 05 Oct 2023 09:39:43 GMT
Generic: Cannot read properties of undefined (reading 'unlockConditions')

Thu, 05 Oct 2023 09:39:23 GMT
Generic: Cannot read properties of undefined (reading 'unlockConditions')

Thu, 05 Oct 2023 09:39:14 GMT
wallet: error accessing storage: IO error: No space left on device: Failed to WriteFile: C:\Users\A\AppData\Roaming\Firefly Shimmer/__storage__/bfded7f44c7200e8dd4b7fcce28dbd6a/002759.log: Es steht nicht genug Speicherplatz auf dem Datentr�ger zur Verf�gung.

Wed, 04 Oct 2023 16:27:08 GMT
wallet: insufficient funds 0/0 available

Mon, 02 Oct 2023 11:15:47 GMT
wallet: insufficient funds 0/0 available

Sat, 02 Sep 2023 13:24:23 GMT
json: `missing field `output` at line 1 column 110`

Sat, 02 Sep 2023 13:23:21 GMT
json: `missing field `output` at line 1 column 110`

Sat, 02 Sep 2023 13:23:04 GMT
json: `missing field `output` at line 1 column 110`

Mon, 28 Aug 2023 12:27:18 GMT
block: insufficient output amount for storage deposit: 42600 (should be at least 53400)

Mon, 21 Aug 2023 07:18:25 GMT
block: insufficient output amount for storage deposit: 42600 (should be at least 53400)

Sun, 20 Aug 2023 17:24:08 GMT
block: insufficient output amount for storage deposit: 42600 (should be at least 53400)

Sun, 20 Aug 2023 07:53:58 GMT
block: insufficient output amount for storage deposit: 42600 (should be at least 49600)

Sun, 20 Aug 2023 07:53:38 GMT
block: insufficient output amount for storage deposit: 42600 (should be at least 53400)

Sun, 20 Aug 2023 07:51:53 GMT
block: insufficient output amount for storage deposit: 42600 (should be at least 53400)

Sun, 20 Aug 2023 07:51:12 GMT
block: insufficient output amount for storage deposit: 42600 (should be at least 53400)

Sun, 20 Aug 2023 07:50:27 GMT
block: insufficient output amount for storage deposit: 42600 (should be at least 53400)

Sun, 20 Aug 2023 07:50:08 GMT
block: insufficient output amount for storage deposit: 42600 (should be at least 53400)

Sun, 25 Jun 2023 21:00:15 GMT
client: `node error: error sending request for url (https://api.shimmer.network/api/core/v2/info): error trying to connect: dns error: Dies ist normalerweise ein zeitweiliger Fehler bei der Auflösung von Hostnamen. Grund ist, dass der lokale Server keine Rückmeldung vom autorisierenden Server erhalten hat. (os error 11002)`

Mon, 20 Mar 2023 19:58:54 GMT
client: `invalid output amount: 0`

Mon, 20 Mar 2023 17:53:16 GMT
client: `invalid output amount: 0`

Mon, 20 Mar 2023 17:51:19 GMT
client: `invalid output amount: 0`

Mon, 20 Mar 2023 17:46:41 GMT
client: `invalid output amount: 0`

Mon, 20 Mar 2023 17:46:15 GMT
client: `invalid output amount: 0`

Mon, 20 Mar 2023 17:46:08 GMT
client: `invalid output amount: 0`

Mon, 20 Mar 2023 17:45:10 GMT
client: `invalid output amount: 0`

Mon, 20 Mar 2023 17:44:05 GMT
client: `invalid output amount: 0`

Sun, 05 Feb 2023 16:14:41 GMT
insufficientFunds: 0,49600

Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

[X] I agree to follow this project's Code of Conduct

This is a bug in the SDK and was solved this week (see https://github.com/iotaledger/iota-sdk/pull/1750), we already upgraded the SDK dependency to the one that includes the fix and it will be included in the next release which we are already preparing


How can I use AddSecurityRequirement in NSwag

Hi,
Currently we are using this code to add Security Definition, however I can't find AddSecurityRequirement in nswag?
Any help on rewriting this price of code with nswag version ?
services.AddSwaggerGen(options =>
        {
            options.OperationFilter<SwaggerDefaultValues>();

            options.AddSecurityDefinition(ApiConstants.CIAM.AuthenticationScheme, new OpenApiSecurityScheme
            {
                Description =
                    $"{ApiConstants.ResourceDisplayName} {ApiConstants.CIAM.AuthenticationScheme} Authentication",
                Type = SecuritySchemeType.OAuth2,
                Flows = new OpenApiOAuthFlows
                {
                    ClientCredentials = new OpenApiOAuthFlow
                    {
                        Scopes = new Dictionary<string, string>
                        {
                            { ApiConstants.CIAM.DefaultScopeName, ApiConstants.Policies.DefaultPolicyName }
                        },
                        TokenUrl = new Uri($"{identityIssuerOptions.CiamAuthority}/connect/token", UriKind.Absolute),
                        AuthorizationUrl =
                            new Uri($"{identityIssuerOptions.CiamAuthority}/connect/authorize", UriKind.Absolute),
                        RefreshUrl =
                            new Uri($"{identityIssuerOptions.CiamAuthority}/connect/refresh", UriKind.Absolute)
                    }
                }
            });

            options.AddSecurityRequirement(new OpenApiSecurityRequirement
            {
                {
                    new OpenApiSecurityScheme
                    {
                        Reference = new OpenApiReference
                        {
                            Type = ReferenceType.SecurityScheme, Id = ApiConstants.CIAM.AuthenticationScheme
                        }
                    },
                    new[] { ApiConstants.CIAM.DefaultScopeName }
                }
            });
        });

Hi @itsoli91 ,
I'm using NSwag 13.18.2 here, and my Startup.cs looks something like this:
services.AddOpenApiDocument((configure, provider) =>
        {
            configure.Title = "My Amazing API";
            configure.Description = "This API is amazing.";
            configure.DocumentName = $"v1.0";
            configure.Version = "1.0.0";
            configure.UseControllerSummaryAsTagDescription = true;

            configure.AddSecurity("Bearer", Array.Empty<string>(), new OpenApiSecurityScheme
            {
                Type = OpenApiSecuritySchemeType.OAuth2,
                Description = "The Identity Server will return an access token; this should be added to every request, using the Authorization header with the Bearer scheme.",
                Flows = new OpenApiOAuthFlows
                {
                    ClientCredentials = new OpenApiOAuthFlow
                    {
                        Scopes = new Dictionary<string, string>{
                          { "read", "The user is able to read from the resource" },
                          { "write", "The user is able to write to the resource" },
                          { "delete", "The user is able to delete the resource" }
                        },
                        TokenUrl = $"{IdentityServerUrl}/connect/token"
                    }
                }
            });

As the code hopefully makes clear, this implements the OAuth client credentials profile (for services talking directly to the API ,using a Client ID and a Client Secret. NSwag supports other OAuth profiles, just change the property that is being set on the OpenApiOAuthFlows instance.

I was trying to migrate SwashBuckle to NSwag
but I am having same issues with AddSecurityRequirement, AddSecurityDefinition and DocInclusionPredicate of SwashBuckle.