Hello, according to the CRD information you provide, I found that your CRD version and image version are inconsistent, please delete the following CRD and reinstall Operator:
kubectl get crd | grep radondb
backups.mysql.radondb.com                             2021-11-02T07:00:01Z
mysqlclusters.mysql.radondb.com                       2021-11-02T07:00:01Z
mysqlusers.mysql.radondb.com                          2021-11-02T07:00:01Z

Can you exec cmd "kubuctl get events" to see the k8s's event on creating mysql pods?

sorry， not any pod create for this issue

The operator image version should be latest, which is incompatible with v2.1.0. I use radondb/mysql-operator:test1019 is working. pls provide a version that is compatible with v2.1.0, thank you!

The operator image version should be latest, which is incompatible with v2.1.0. I use radondb/mysql-operator:test1019 is working. pls provide a version that is compatible with v2.1.0, thank you!

At present, our images is updated after each PR merged, so the image of latest tag is always consistent with the code of the main branch. If it is convenient, it is recommended that you update the code and redeploy it. we will optimize version management methods as much as possible to avoid this problem.

The operator image version should be latest, which is incompatible with v2.1.0. I use radondb/mysql-operator:test1019 is working. pls provide a version that is compatible with v2.1.0, thank you!

2.1.0 version of the image tag is V2.1.0, you can install the following steps:

Remove old version of CRDs.
Reinstall operator.

helm delete demo
helm install demo charts/mysql-operator/ --set manager.tag=v2.1.0

Change tag of mysql-sidecar image.

kubectl edit mysql sample
  podSpec:
    affinity: {}
    annotations: {}
...
    sidecarImage: radondb/mysql-sidecar:v2.1.0

The operator image version should be latest, which is incompatible with v2.1.0. I use radondb/mysql-operator:test1019 is working. pls provide a version that is compatible with v2.1.0, thank you!

2.1.0 version of the image tag is v2.1.0, you can install the following steps:

Remove old version of CRDs.
Reinstall operator.

helm delete demo
helm install demo charts/mysql-operator/ --set manager.tag=v2.1.0

Change tag of mysql-sidecar image.

kubectl edit mysql sample
  podSpec:
    affinity: {}
    annotations: {}
...
    sidecarImage: radondb/mysql-sidecar:v2.1.0

Thank you for your help， the StatefulSet is working now .


[DOCFIX]Change chinese doc

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/20346/
Test PASSed.


Bug: Fix License url in comments

The comments of the SQL scripts has the wrong link to the license as it references the other repository.

Released


[Question] Does it use ytmusicapi?

i was wondering if the app uses the api ,  the app idea has so much potential, maybe can this api help

No. ytmusicap require a python server while YT-Music communicate directly with YouTube server(except the process of extracting songs from playlist id) and stream the audio from invidious instance


build elf-sims docker image

build docker image containing latest version of elf-simulations code, built on top of the existing python-base docker image.

Codecov Report
Patch and project coverage have no change.

Comparison is base (c82cc07) 86.79% compared to head (5cdff6c) 86.79%.

:exclamation: Current head 5cdff6c differs from pull request most recent head 7b00def. Consider uploading reports for the commit 7b00def to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #456   +/-   ##
=======================================
  Coverage   86.79%   86.79%
=======================================
  Files          32       32
  Lines        4227     4227
=======================================
  Hits         3669     3669
  Misses        558      558

Flag
Coverage Δ

unittests
86.79% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


ACT-666 Re-implement Documents using Vue: Create modal

What is the Purpose?
This PR reimplements the 'Add new document' modal using the Vue.js vue_modal component
What was the approach?
I used the 'indicator_list.html' and 'add_indicator_modal.html' as the base model and copied the same logic into the documents_list file
Are there any concerns to addressed further before or after merging this PR?
What would the next steps be? I could implement document deletion, or move the rest of the documention_list page to vue.
Mentions?
Mention persons you'd like to review this PR
Issue(s) affected?
(https://github.com/hikaya-io/activity/issues/311)

Codecov Report

Merging #446 into dev will increase coverage by 1.34%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##              dev     #446      +/-   ##
==========================================
+ Coverage   50.09%   51.43%   +1.34%
==========================================
  Files          93      101       +8
  Lines        8285    10140    +1855
==========================================
+ Hits         4150     5216    +1066
- Misses       4135     4924     +789

Impacted Files
Coverage Δ

workflow/views.py
35.92% <0.00%> (+5.68%)
:arrow_up:

customdashboard/models.py
93.22% <0.00%> (-0.53%)
:arrow_down:

workflow/urls.py
100.00% <0.00%> (ø)

customdashboard/admin.py
100.00% <0.00%> (ø)

workflow/migrations/0014_auto_20200403_0134.py
100.00% <0.00%> (ø)

workflow/migrations/0017_merge_20200403_0643.py
100.00% <0.00%> (ø)

workflow/migrations/0015_auto_20200403_0135.py
100.00% <0.00%> (ø)

workflow/migrations/0014_auto_20200331_1030.py
100.00% <0.00%> (ø)

workflow/migrations/0019_auto_20200408_0501.py
100.00% <0.00%> (ø)

workflow/migrations/0014_auto_20200403_0615.py
100.00% <0.00%> (ø)

... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d6973a3...b588214. Read the comment docs.

@chelliah , Nice work on implementing the add document modal with Vue. Your work looks great but I had a few observations. One is, there seems to be an error that pops up before the component is mounted. Could you look into why this is happening?

That error means that I cannot get Programs to populate the options in the modal itself even though I have existing programs in my organization.

Please look into these two issues so I can be able to test whether I create a new document

Thanks @Kimaiyo077! I'll take a look at that loading error and let you know

Latest comment from @chelliah:
basically, I experimented with the programs list to see if I could recreate the bug, but wasn't able to get too far. I wasn't sure if this was a client-side issue, or some edge case in which one of the programs had funny data which was causing things to fail

@Kimaiyo077 is there any support you can provide on this?


fix: remove release config from package.json

It looks like we were doubling up on release configs

:tada: This PR is included in version 1.8.0-next.1 :tada:
The release is available on:

GitHub release
npm package (@next dist-tag)

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0-rc.1 :tada:
The release is available on:

GitHub release
npm package (@rc dist-tag)

Your semantic-release bot :package::rocket:


[FEAT] Multiple different cards on one page. If you don't have enough notes to separate the pages

Is your feature request related to a problem? Please describe.
Not a problem. Just a FR
Describe the solution you'd like
I have this page that is very small.

It would be cool if I could have each header separated by something (idk what) so that I could have separate decks of flash cards all on one page instead of having to create separate pages for each deck.

Hi
I don't know if this helps, but you can add OSR tags to individual questions.
I'm assuming in your example above #webforms and #mvc  are for non-OSR purposes.
So you could have (in the same note):
#flashcards/webforms Q1::A1
#flashcards/mvc Q2::A2
These will be presented by OSR in two separate decks.
Cheers
Ronny

Hi
I don't know if this helps, but you can add OSR tags to individual questions.
I'm assuming in your example above #webforms and #mvc  are for non-OSR purposes.
So you could have (in the same note): #flashcards/webforms Q1::A1 #flashcards/mvc Q2::A2
These will be presented by OSR in two separate decks.
Cheers Ronny

Would be nice if this feature would be ment in the wiki.
But i agree it would be useful that you can define a block for flashcards deck that the flashcards in this block belong to this deck.
I think best option is to use headings and tags e.g.
# #Deck1
Question in Deck1:: Answer in Deck1
Question2 in Deck1:: Answer2 in Deck1
# #Deck2
Question in Deck2:: Answer in Deck2
Question2 in Deck2:: Answer2 in Deck2

Hi @DudeThatsErin
Hi all, I have completed the update but would appreciate beta testing and feedback before I finalise the PR.
The draft PR together with the updated code is available at:
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/834
@4Source, good point:

Would be nice if this feature would be ment in the wiki.

Cheers
Ronny

Released into 1.12.0


refactor!: major refactor Flutter

Use a single MaterialApp to keep the same state
Use a named route for better cache
Use Provider for dependency injection
Fix widget & integration tests
Enable linter
Split the big files into *_screen.dart

무야호


Add ButterCMS! :)

Hi - I'd like to add https://buttercms.com to the list of services here.  Is the data stored in this repo or is it stored in an Algolia Index? How can I contribute? Thanks!

Hey Jake. The data is actually managed in Airtable! We have a form on the site that you can use to suggest ButterCMS:

👍

Hey @jakelumetta
Thanks for the suggestion. I'll get it added now 😅

Thanks @notrab !

@jakelumetta added 🧈
It'll move up and down the list based on popularity. We're making some changes soon too that will mean you can add even more about ButterCMS to its own page 🚀

Cool thanks. How is popularity measured?

@jakelumetta we're tracking clicks currently via GA Events, and then those are updated in the index, however, it's not a perfect method for all sorts of edge cases, as you can imagine. We're busy updating the site currently, which will allow users to upvote/comment/rate too, which will all play into ranking.


[ISSUE #8438] Fix broker return two messages when query message and index service bug

Fix broker return two messages when query message and index service bug

Which Issue(s) This PR Fixes

Fixes #8438
Brief Description

How Did You Test This Change?

Codecov Report
Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 45.61%. Comparing base (6e6319f) to head (dba2621).

Files
Patch %
Lines

...pache/rocketmq/tieredstore/TieredMessageStore.java
50.00%
0 Missing and 1 partial :warning:

...che/rocketmq/tieredstore/index/IndexStoreFile.java
66.66%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #8439      +/-   ##
=============================================
- Coverage      45.62%   45.61%   -0.02%
+ Complexity     11039    11030       -9
=============================================
  Files           1274     1274
  Lines          88997    89002       +5
  Branches       11440    11442       +2
=============================================
- Hits           40605    40597       -8
- Misses         43327    43335       +8
- Partials        5065     5070       +5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

LGTM


--config_dir only loading config from first dir.

Using the --config_dir option to specify multiple dirs for config, sensu is only loading in config from the first dir listed (or possibly as it is the default dir).
e.g starting sensu with -d /etc/sensu/conf.d,/etc/sensu/secondary
Is not loading in any of the json files form the secondary directory.
I can copy any of the json files into /etc/sensu/conf.d  and they load without issue.
/opt/sensu/bin/sensu-server --version
1.1.0

I cannot reproduce this. Also, if one of the directories does not exist or the permissions are incorrect, I get an error.

@ninjasloth22 can you please run ps aux | grep sensu and provide the output here?

ps aux | grep sensu
root       3513  0.0  0.0  51012  3560 ?        S    08:52   0:00 su -s /bin/sh uchiwa -c cd /opt/uchiwa/src && exec "/opt/uchiwa/bin/uchiwa" -c /etc/sensu/uchiwa.json -d /etc/sensu/dashboard.d -p /opt/uchiwa/src/public
uchiwa     3523  0.1  0.4<PHONE_NUMBER>8 ?        Ssl  08:52   0:01 /opt/uchiwa/bin/uchiwa -c /etc/sensu/uchiwa.json -d /etc/sensu/dashboard.d -p /opt/uchiwa/src/public
sensu     19169  0.2  1.0 1471796 42052 ?       Ssl  Oct25   2:26 /opt/sensu/embedded/bin/ruby /opt/sensu/bin/sensu-api -c /etc/sensu/config.json -d /etc/sensu/conf.d,/etc/sensu/custom -e /etc/sensu/extensions -p /var/run/sensu/sensu-api.pid -l /var/log/sensu/sensu-api.log -L warn
sensu     19211  0.1  0.7 1597032 29220 ?       Ssl  Oct25   1:22 /opt/sensu/embedded/bin/ruby /opt/sensu/bin/sensu-client -c /etc/sensu/config.json -d /etc/sensu/conf.d,/etc/sensu/custom -e /etc/sensu/extensions -p /var/run/sensu/sensu-client.pid -l /var/log/sensu/sensu-client.log -L warn
sensu     19251  0.3  0.7 1599288 31440 ?       Ssl  Oct25   4:30 /opt/sensu/embedded/bin/ruby /opt/sensu/bin/sensu-server -c /etc/sensu/config.json -d /etc/sensu/conf.d,/etc/sensu/custom -e /etc/sensu/extensions -p /var/run/sensu/sensu-server.pid -l /var/log/sensu/sensu-server.log -L warn

ls -la /etc/sensu/ | grep custom
dr-xr-xr-x   2 sensu  sensu  4096 Oct 12 14:45 custom

Hi @ninjasloth22,
We are unable to reproduce the issue that you are seeing. In order to further troubleshoot this issue, can you please provide us with:

Which Linux distribution & distribution version are you using?

The log for the service you are seeing this issue on (e.g. sensu-server) shortly after starting the service:

Example:
$ cat /var/log/sensu/sensu-server.log
{"timestamp":"2018-03-01T11:11:39.076183-0800","level":"warn","message":"loading config file","file":"/Users/justin/sensutest/config.json"}
{"timestamp":"2018-03-01T11:11:39.076292-0800","level":"warn","message":"loading config files from directory","directory":"/Users/justin/sensutest/dir1"}
{"timestamp":"2018-03-01T11:11:39.076317-0800","level":"warn","message":"loading config file","file":"/Users/justin/sensutest/dir1/config.json"}
{"timestamp":"2018-03-01T11:11:39.076345-0800","level":"warn","message":"config file applied changes","file":"/Users/justin/sensutest/dir1/config.json","changes":{"one":[null,"1"]}}
{"timestamp":"2018-03-01T11:11:39.076382-0800","level":"warn","message":"loading config files from directory","directory":"/Users/justin/sensutest/dir2"}
{"timestamp":"2018-03-01T11:11:39.076402-0800","level":"warn","message":"loading config file","file":"/Users/justin/sensutest/dir2/config.json"}
{"timestamp":"2018-03-01T11:11:39.076425-0800","level":"warn","message":"config file applied changes","file":"/Users/justin/sensutest/dir2/config.json","changes":{"two":[null,"2"]}}
{"timestamp":"2018-03-01T11:11:39.076450-0800","level":"warn","message":"applied sensu client overrides","client":{"name":"foobar","address":"<IP_ADDRESS>","subscriptions":["client:foobar"]}}
{"timestamp":"2018-03-01T11:11:39.078482-0800","level":"warn","message":"loading extension files from directory","directory":"/etc/sensu/extensions"}

The log file should show whether or not the Sensu service is attempting to load from the config directories.

Closing due to failure to reproduce and inactivity. Please feel free to create a new issue if this matter is not resolved.


Update Readme

Added my app to the list of apps using this library.

Hi Andrew,
I've seen your mail too. I really like your app, you did a great job integrating planets with material elements of UI :)
Can you please upload the new apk on Google Play first? Users want to see real life examples of how developers are using this library to get inspired.
Ping me when the new version is available to all :+1:

Will do! Should be out in the next couple days hopefully.

On Jun 10, 2015, at 2:51 AM, Paolo Rotolo<EMAIL_ADDRESS>wrote:
Hi Andrew,
I've seen your mail too. I really like your app, you did a great job integrating planets with material elements of UI :)
Can you please upload the new apk on Google Play first? Users want to see real life examples of how developers are using this library to get inspired.
Ping me when the new version is available to all
—
Reply to this email directly or view it on GitHub https://github.com/PaoloRotolo/AppIntro/pull/11#issuecomment-110675779.

@PaoloRotolo I'm going to close this PR and make a new one when I release the app. There seems to be some merge conflicts.

Sure, thanks :)


Run CI on Windows (1.x)

@eed3si9n the PR for the 1.x branch only has two errors. In the merging / merging test there are additional unexpected newlines.
In sbt-assembly / piecemeal there's a java.lang.ClassNotFoundException: Main, potentially caused by java.lang.ClassNotFoundException: scala.Predef$.
Would you have a pointer of what could be causing these?

@eed3si9n the PR for the 1.x branch only has two errors. In the merging / merging test there are additional unexpected newlines.
In sbt-assembly / piecemeal there's a java.lang.ClassNotFoundException: Main, potentially caused by java.lang.ClassNotFoundException: scala.Predef$.
Would you have a pointer of what could be causing these?

@nightscape It seems like even the 1.x version doesn't work on windows? Might be we need to fix more than what you mentioned in #472

@fnqista yes, the two errors I mentioned above are unrelated to the Illegal character issue that I actually wanted to expose.
Unfortunately I don't have much time left to dig into this, so I was hoping that one of the maintainers could help out or point me into the right direction.

@nightscape I have had a chance to look at this (tbh I almost didn't want to because I dislike Windows development):

merging / merging fails in both in both 1.x and 2.x because we use System.lineSeparator and that causes the file to be written with CRLF endings in Windows. It can be fixed by using just \n
sbt-assembly / piecemeal fails in both in both 1.x and 2.x because of the wrong classpath syntax used by the jar runner in src/sbt-test/sbt-assembly/piecemeal/build.sbt. The separator for the classpath java -cp in Windows is ; instead of :
all other tests fail only in 2.x because of the error you reported in #472

I can prepare a new PR with all the fixes for the above. Can you get Eugene to merge your PR first?

@fnqista the other PR is merged 👍


Canvas memory leak

Problem description
When repeatedly creating a Canvas and calling canvas.getContext() after it has been laid out, the iOS app would eventually crash.
Environment

Tabris.js version: 2.5.1
Device: iPad Air
OS: 11.2.2

Code snippet
On this particular device, the app would crash after the ~160th iteration.
const {TextView, Canvas, ui} = require('tabris');

const ITERATIONS = 10000;

let counterLabel = new TextView({bottom: 30, centerX: 0, text: '0'}).appendTo(ui.contentView);
let counter = 0;

draw();

function draw() {
  counter++;
  new Canvas({
    left: 10, top: 10, right: 10, bottom: 10
  }).on('resize', ({target: canvas, width, height}) => {
    canvas.getContext('2d', width, height);
    if (counter <= ITERATIONS) {
      counterLabel.text = counter;
      setTimeout(() => {
        canvas.dispose();
        draw();
      }, 10);
    }
  }).appendTo(ui.contentView);
}

It seems that canvas' corresponding GC instance is not getting disposed. @tbuschto confirmed this.

Duplicate of #2130


Pagination issue 47

https://github.com/StarcounterSamples/People/issues/47

It looks good :)!
A few things though, (although I'm not quite sure if they need to be changed / should be changed)
Pagination.EntriesPerPage is adjusted from the organizations/people pages directly through the JSON (model.Pagination.People.Entriesperpage$::change), Perhaps this could be moved to server side?
And one more thing, I think the pagination should be at the bottom, so perhaps make the "add" button to be above the pagination?
Or? @miyconst what do you think?
I also found one bug,

After clicking on "go to first page", the second button stopped working. Its the same "the other way around" (if page 1 is selected: when the "go to last" button is pressed, page 1 stops working)
One more thing. For some reason, in the pagination branch, the people do not get sorted by name, like they are supposed to. I tried the develop branch and checked inside.starcounter.com/people , and they both sort the people by name.

@Joltrix
All the things you wrote are now fixed. Thanks for your review!

model.Pagination.People.EntriesperPage$::change is now model.EntriesPerPage$
Pagination is moved to the bottom
The bug is squashed
Persons and Organizations are now ordered by name again

Good job! :D I've tested the updated version and everything works again :D! So unless @miyconst has anything he thinks you should add/do/redo, I'd say you can merge it (after you update from master :))


Can't install "Gnu Arm Embedded Toolchain"

Brief description of your issue
Trying to install Gnu Arm Embedded Toolchain and it either doesn't work or I can't figure out proper commands (which could be some kind of UX issue).
It is present in winget-pkgs and searchable by winget search.

Steps to reproduce
C:\> winget search Arm.GnuArm
Name                       Id                          Version
-----------------------------------------------------------------------
Gnu Arm Embedded Toolchain Arm.GnuArmEmbeddedToolchain 9-2020-q2-update

C:\> winget install -e --id="Arm.GnuArmEmbeddedToolchain"
No package found matching input criteria.

C:\> winget install -e --name="Gnu Arm Embedded Toolchain"
No package found matching input criteria.

Expected behavior
Gnu Arm Toolchain installed

Actual behavior
Error No package found matching input criteria.

Environment
Windows Package Manager v0.1.42101 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19042.421
Package: Microsoft.DesktopAppInstaller v1.10.42101.0
...

@LK4D4  Arm.GnuArmEmbeddedToolchain is the package Id.
Try winget install Arm.GnuArmEmbeddedToolchain

@denelon Thanks! That works, but why --id= doesn't? It worked for powershell for example.

@LK4D4 the syntax would be:
winget install -e --id Arm.GnuArmEmbeddedToolchain
The "=" sign is not part of the syntax for an argument.
I'm going to close the Issue since I believe your problem has been addressed. Feel free to open any new Issues you encounter.


Dataview query no longer works as project source

This dataview query stopped working:
TABLE Summary, Publisher, Last, Next, Date FROM "Writing/00 Drafts"
It generates this in the view:

This dataview query does work
TABLE FROM "Notes"
These are the field types as they appear in the Writing notes:
Summary:: Line of text
Publisher:: [[Link to Publication note]]
Last:: Line of text
Next:: Line of text
Date:: 2022-12-02

I have the same issue but I can't get it to work at all, not even with only a from statement.
TABLE Status AS Status from #type/resource/readwise

And I got it working... I removed and re-added each part of the query and it started working when I re-added the FROM statement.

how, why... 😀 could you post your full query?

I'm not able to reproduce this right now. I'll leave this open to see if others experience the same thing, or if you can provide a configuration that lets me reproduce the issue consistently.

TABLE Status AS Status from #type/resource/readwise

which is working. Attached are the notes
Archive.zip

It started working last week and stopped working this week.
Following @mbreiden's example, this query works in Dataview and returns nothing in Projects
TABLE FROM #writing-status/draft
I've also attached the notes where it is NOT working:
01-Drafts.zip

which is working. Attached are the notes

I tried @mbreiden's notes in my vault along with the same query, and they did not work.

I uninstalled, made sure the settings folder was deleted, and reinstalled and still have the same issue.

same bug here

When I try to create a new note, it shows me this and doesn't allow me to created either:

But the same query works good in a Dataview table

the same

I can confirm that dataview queries do not work.

Thank you all for chiming in on this. I'll be troubleshooting this during the coming week!

I'm still unable to reproduce this on 1.11.1. I've tried the vaults and the various queries in this thread, and it yields the same results as the Dataview as far as I can see.
I first thought it was when you define a query without specifying any fields, i.e. TABLE FROM "Notes", but I'm at least getting the File field with the note names.
Can someone confirm that this problem exists in the latest (1.11.1) version?

I have the same issue happened using 1.11.5 Projects and 0.5.55 Dataview, both quite new version.
I tried a simple dataview script in normal note and it works well.

but when copy to projects query, it turns out error:

So I  have to use folder as source instead. It work well in other views, except the database folder view produces a totally blank view. Don't know whether it is because of the dataview in projects cannot work:

BTW, the DB folder plugin work well in generate the db view, but I the multiview of projects are still things I want

So I have to use folder as source instead. It work well in other views, except the database folder view produces a totally blank view. Don't know whether it is because of the dataview in projects cannot work:  BTW, the DB folder plugin work well in generate the db view, but I the multiview of projects are still things I want

I had the same issue. Going into the settings for the DB folder, (in the projects view) then clicking out of it, renders the Database view for me.


Incorrect line number reported for empty block

jshinting a file like the one below leaves me puzzled as to why the line number for the error is reported as 16:
/*jshint noempty: true */
var x;
if ("undefined" == typeof x) {
	// this is an empty block, I admit that :)
	// I am also telling jshint to warn me about it. Great!
}

// But, some innocent code gets the blame for the empty block above
// with a complex combination of settings, it took quite a while to spot this...

// Expected behaviour:
//   warn for empty block on the line where the block starts or ends, or possibly the range (lines 2-5)
// Actual behaviour:
//   1 error: line 16, col 1, Empty block

void 0; // this is not the empty block you are looking for

this is no longer reproducible.


OpenAPI definition doesn’t pass validation

Commit 35577a1f66e514585c9210a50ea336ebe42511d6 (#9406) moved the OpenAPI definitions to zerver/openapi, and the tools/check-openapi script was not updated, so it has been validating nothing for two years. Validation errors have been accumulating since them. I’m not sure how many, since the validator only shows the first one.
See #14381, which successfully fixes the validator, but obviously fails CI because the validator points out the existing errors.

I've tried generating an openapi-client for dart/flutter and got a number of problems too:
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
[main] WARN  o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for composed schema name: null. Title: null
Exception in thread "main" org.openapitools.codegen.SpecValidationException: There were issues with the specification. The option can be disabled via validateSpec (Maven/Gradle) or --skip-validate-spec (CLI).
 | Error count: 8, Warning count: 0
Errors:
	-attribute paths.'/users'(get).responses.200.content.schema.items is missing
	-attribute paths.'/server_settings'(get).responses.200.content.schema.items is missing
	-attribute components.parameters.Event_types.[event_types].default is unexpected
	-attribute components.parameters.Event_types.[event_types].schemas.default is not of type `array`
	-attribute paths.'/real-time'(post).responses is missing
	-attribute paths.'/register'(post).parameters.[narrow].schemas.default is not of type `array`
	-attribute paths.'/events'(get).responses.200.content.schema.items is missing
	-attribute paths.'/users/me/subscriptions'(delete).parameters.[principals].schemas.default is not of type `array`

	at org.openapitools.codegen.config.CodegenConfigurator.toContext(CodegenConfigurator.java:474)
	at org.openapitools.codegen.config.CodegenConfigurator.toClientOptInput(CodegenConfigurator.java:501)
	at org.openapitools.codegen.cmd.Generate.run(Generate.java:418)
	at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:61)

@orientor @shubhamgupta2956 I think this is worth prioritizing.

i'll be very happy to end-test it with an actual generated api

@timabbott @shubhamgupta2956 Edited zulip.yaml so that it now passes validation on swagger editor. If swagger-parser node module is up to date then it should validate the edited file too.

i wonder if you guys considered https://github.com/axnsan12/drf-yasg
works like a charm and we had amazing results with it so far - no need to touch .yaml ever again


Add named maps surrogate keys and call invalidation on template modification/deletion

Extends TemplateMaps backend with EventEmitter

Emits for create, update and delete templates

VarnishHttpCacheBackend will invalidate a varnish instance via HTTP PURGE method

In the future there could be more backends, for instance to invalidate a CDN.

NamedMapsEntry has the responibility to generate a cache key for a named map

It probably should receive a template/named map instead of owner and template name

SurrogateKeysCache is resposible to tag responses with a header

It also is responsible for invalidations given an Invalidation Backend
In the future it could have several backends so it can invalidates different caches

SurrogateKeysCache is subscribed to TemplateMaps events to do the invalidations

please @zenitraM could you review this one?

:+1:


[language][Unit tests] MizFB - Rewrite unit tests in move-stdlib & diem-framework

…Move Language and Diem Framework

Motivation
To rewrite the old Move unit testss
Test Plan
cargo test -p move-stdlib
cargo test -p diem-framework

Could you change the tile of the PR? This is not relevant to transactional tests. (You are rewriting the old tests as Move unit tests)

Could you change the tile of the PR? This is not relevant to transactional tests. (You are rewriting the old tests as Move unit tests)

I have updated the title and comments. Please let me know if they fulfill the requirement of Move Team's PR.

Please let me know if they fulfill the requirement of Move Team's PR.

We don't have specific requirements on the format of the title, but I think in general it might be better to not have a truncated message there :) It's also a bit weird to see the issue number "#7932" there -- this PR is not really addressing the original issues.

/land

@MizFB: :key: Insufficient privileges: Not Collaborator

/land


Improves histogram buckets over the default set

This is an attempt at a usable set of buckets for a wide range of metrics

Which problem is this PR solving?
Fixes #115
Closes #346

I'm on board with this!


Payload Failed to Build!

Trying to build a test and I received "Payload Failed to Build!"
   Compiling autocfg v1.1.0
   Compiling cc v1.0.79
   Compiling winapi-x86_64-pc-windows-gnu v0.4.0
   Compiling winapi v0.3.9
   Compiling cfg-if v1.0.0
   Compiling proc-macro2 v1.0.51
   Compiling unicode-ident v1.0.7
   Compiling quote v1.0.23
   Compiling syn v1.0.109
   Compiling pkg-config v0.3.26
   Compiling typenum v1.16.0
   Compiling libc v0.2.139
   Compiling version_check v0.9.4
   Compiling windows_x86_64_gnu v0.42.1
   Compiling log v0.4.17
   Compiling untrusted v0.7.1
   Compiling serde_derive v1.0.152
   Compiling spin v0.5.2
   Compiling serde v1.0.152
   Compiling parking_lot_core v0.8.6
   Compiling memchr v2.5.0
   Compiling thiserror v1.0.38
   Compiling rustls v0.20.8
   Compiling smallvec v1.10.0
   Compiling scopeguard v1.1.0
   Compiling base64 v0.21.0
   Compiling bitflags v1.3.2
   Compiling subtle v2.4.1
   Compiling ppv-lite86 v0.2.17
   Compiling openssl v0.10.45
   Compiling foreign-types-shared v0.1.1
   Compiling cpufeatures v0.2.5
   Compiling minreq v2.6.0
   Compiling opaque-debug v0.3.0
   Compiling serde_json v1.0.93
   Compiling ryu v1.0.13
   Compiling widestring v0.3.0
   Compiling block-padding v0.2.1
   Compiling once_cell v1.17.1
   Compiling lazy_static v1.4.0
   Compiling field-offset v0.1.1
   Compiling widestring v0.5.1
   Compiling num_cpus v1.15.0
   Compiling bytes v1.4.0
   Compiling itoa v1.0.6
   Compiling pin-project-lite v0.2.9
   Compiling path-clean v0.1.0
   Compiling base64 v0.13.1
   Compiling openssl-src v111.25.1+1.1.1t
   Compiling num-traits v0.2.15
error[E0599]: the method `join` exists for struct `Vec<&OsStr>`, but its trait bounds were not satisfied
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-src-111.25.1+1.1.1t/src/lib.rs:335:55
    |
335 |                     ar.get_args().collect::<Vec<_>>().join(OsStr::new(" ")),
    |                                                       ^^^^ method cannot be called on `Vec<&OsStr>` due to unsatisfied trait bounds
    |
    = note: the following trait bounds were not satisfied:
            `[&OsStr]: Join<_>`

error[E0599]: the method `join` exists for struct `Vec<&OsStr>`, but its trait bounds were not satisfied
   --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-src-111.25.1+1.1.1t/src/lib.rs:344:59
    |
344 |                     ranlib.get_args().collect::<Vec<_>>().join(OsStr::new(" ")),
    |                                                           ^^^^ method cannot be called on `Vec<&OsStr>` due to unsatisfied trait bounds
    |
    = note: the following trait bounds were not satisfied:
            `[&OsStr]: Join<_>`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `openssl-src` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed
Error building payload: Failed to build payload. Check Build Errors traceback: ['Traceback (most recent call last):\n', '  File "/Mythic/mythic/agent_functions/builder.py", line 215, in build\n    raise Exception("Failed to build payload. Check Build Errors")\n', 'Exception: Failed to build payload. Check Build Errors\n']```

I bumped the openssl version to the latest. That should fix this build issue https://github.com/MythicAgents/tetanus/commit/63b9796bfa6b748e2992c45d8ede4d6605af4251


LE Audio: PAC type rename and type cleanup

The goal of this PR was to rename the enum bt_audio_pac_type. To do this properly, some cleanup had to be done to avoid confusion with the (unused) endpoint type. Furthermore, the implementation used the term type and dir interchangeably, so the code was also updated to be more consistent.
fixes https://github.com/zephyrproject-rtos/zephyr/issues/43693

Rebased to solve merge conflicts

Approve as the intension of the PR was to get rid of BT_AUDIO_EP_LOCAL as well as cleanup of the audio direction confusion. But I'm wondering if BT_AUDIO_EP_LOCAL served a purpose in the case where a CAP commander is not located on the same device as the Initiator. But in the current CAP specification a CAP commander cannot configure unicast streams - hence it makes more sense to remove now and add if the specification adds this feature at some point.

The idea behind the LOCAL endpoint, was to differenciate between bt_audio_ep located on the BAP unicast client and the BAP unicast server (as the original API for the unicast client was quite different). Today all the bt_audio_ep represent a remote ASE.


ChattoApp Memory Leak

Environment: Xcode 8.3.3, cocoapods-1.3.1
Chatto version : 3.1.0
Chatto framework in leaking memory in it's presenters.
I also run the ChattoApp and in instruments it's also leaking memory.
Any suggestion/fix would be appreciated

Here is the some debug info:

@rafattouqir, @munzuruleee Please, check https://github.com/badoo/Chatto/pull/357. There were leaks in example app, not in Chatto itself.


Made development server shutdown on SIGTERM

Hi, I've run into an issue where shutting down django devserver in a container (e.g. in kubernetes/openshift environment) doesn't work well. The original report is at [1].
Explanation:

kubernetes/openshift send SIGTERM to PID 1 in the container when shutting the container down.
If manage.py runserver is an entrypoint, it gets executed as PID 1 in container.
Linux kernel won't propagate SIGTERM to any process that is PID 1 (in or outside of container) if it doesn't have a handler installed for this signal.

The implication of this is that the container with django devserver will not do "soft" shutdown on SIGTERM and Kubernetes/Openshift will wait for timeout and kill the container with SIGKILL. Therefore the container will keep hanging and occupying system resources during the whole timeout.
Even though I understand that people should only use devserver for development and not for deployment, I think it's quite common to first make the container working with devserver for development and then consider Gunicorn or similar solution when moving from early stage of the project. IOW, I think this would really be beneficial for people using Kubernetes like environments to develop/deploy Django apps.
Thanks for considering!
[1] https://github.com/sclorg/s2i-python-container/issues/93

Thanks for the contribution. A Trac ticket and (if possible; perhaps using mocking) a test are required.

I opened a Trac ticket: https://code.djangoproject.com/ticket/28835
I'll add tests if and when it's acknowledged that this is indeed a Django issue and a patch will be accepted for it.

I amended the commit with a simple test, so it should be ready for review now. I needed to do some refactoring of the utility functions to be able to test this, but I believe I didn't break anything, so it should be fine.

Ok, so this seems to be failing on Windows... unfortunately I have no windows machine in my disposal and have very little knowledge of Windows internals. [1] seems to suggest that this is not (easily) possible on Windows. Would it make sense to make the test only work on non-Windows OSs?
[1] https://stackoverflow.com/a/1230853

Given that this was initially Accepted, I've marked this as Ready for checkin, on the basis of the patch itself. This will invite another opinion on whether it's right for us (vs e.g. a wontfix).
Thanks for the effort @bkabrda!

The test fails if port 8000 is already in use (I discovered this when checking the patch locally and having another runserver instance running). This could be solved by binding to port zero (see 81cdcb66bc74a0768d13f0e18872d46739028e64).
My other thought is that perhaps this would be fixed for free if we switch the server that runserver wraps to gunicorn as discussed in #21978. If so, maybe we could spend time there instead.

Good catch @timgraham! (#21978 looks a good idea.)
My take on this patch was that it was probably worth it because it was small. If we can resolve the port issue keeping it small that's great. Otherwise it might not be worth it. @bkabrda I've marked the ticket as Patch needs improvement. If you want to address this issue and uncheck that, we can have another look. (Otherwise let us know and we can close it off.) Ta!

Hi folks, sorry for the late reply. Having gunicorn as default when using runserver would certainly be great (and would render this PR unnecessary), since gunicorn handles this scenario well.

Hi @bkabrda. Integrating gunicorn may be some time away. Did you want to try adopting Tim's suggestion on this patch in the meantime? (Or is the --init type work around enough for you for now?) Thanks!

@carltongibson if using gunicorn by default is on the roadmap, I'm absolutely fine with that even if it takes some time to get that implemented and released.

@bkabrda OK great. I shall close this one off. If you want to revisit at any time let us know. Thanks for the input!

Is there any info/roadmap describing when gunicorn will be used as a default development server?

Given the lack of Windows support for Gunicorn, this doesn't seem like it will happen very soon unfortunately.


use z-z_sfc in edmf closure

Purpose

Closes #2028
To-do

Content

[ ] I have read and checked the items on the review checklist.

bors r+


[discuss] More customization options.

Discuss some more customization options you would like Ninetails to have.
Options:

[x] Search engine
[x] Homepage
[ ] Dark mode

I got dark mode covered.

customizable size options
for example like Firefox
Normal, Touch, and Compact

customizable size options
for example like Firefox
Normal, Touch, and Compact

That'd probably be hard, but I think it'd be possible.

I've added the possibility to set a different "homepage"
https://github.com/MystPi/ninetails/pull/51

I've added the possibility to set a different "homepage" #51

Great idea! I've left a comment describing some changes I would like, then I'll merge.

I'm trying to help @webdev03 with extensions (#50)

I found a problem with the search engine thing, even when I change it to a valid search engine, the homepage still says Search with Google

I found a problem with the search engine thing, even when I change it to a valid search engine, the homepage still says Search with Google

You're right. Now it just says 'Search the web...'.

I made heaps of different homepages for Ninetails: https://github.com/JoshAtticus/Ninetails-homepages/

@JoshAtticus The domain your certificate uses seems to be a fake cloudflare domain. What???

I made heaps of different homepages for Ninetails: https://github.com/JoshAtticus/Ninetails-homepages/

@MystPi Don't use their thing. https://daniel.is-a.dev/blog/freenom-the-free-domains-website-is-a-scam-3 That's their hosting provider. I'm going to make a copy on replit.

I made heaps of different homepages for Ninetails: https://github.com/JoshAtticus/Ninetails-homepages/

@MystPi Don't use their thing. https://daniel.is-a.dev/blog/freenom-the-free-domains-website-is-a-scam-3 That's their hosting provider. I'm going to make a copy on replit.

I beg your pardon? I use 000webhost and it's trusted, it's not freenom and @MystPi already uses freenom

I made heaps of different homepages for Ninetails: https://github.com/JoshAtticus/Ninetails-homepages/

@MystPi Don't use their thing. https://daniel.is-a.dev/blog/freenom-the-free-domains-website-is-a-scam-3 That's their hosting provider. I'm going to make a copy on replit.

I beg your pardon? I use 000webhost and it's trusted, it's not freenom and @MystPi already uses freenom

Never mind

It says it's insecure, even if I use http.

It says it's insecure, even if I use http.

Use my copy.

@MystPi Do you have a Replit account? I need help fixing the homepages site.

It says it's insecure, even if I use http.

Use my copy.

Uhm hmm?

It says it's insecure, even if I use http.

Use my copy.

Huh hmmm? Defamation for the services I use?

It supports HTTPS.

It says it's insecure, even if I use http.

Use my copy.

Huh hmmm? Defamation for the services I use?

It supports HTTPS.

So? There isn't really a need, when you type stuff in, it isn't uploading it to analytics or anything like that, let's take the duckduckgo one for example, it redirects to https://duckduckgo.com/your-search-query, not an http site, you that search is encrypted using https.

It says it's insecure, even if I use http.

Use my copy.

Huh hmmm? Defamation for the services I use?

It supports HTTPS.

So? There isn't really a need, when you type stuff in, it isn't uploading it to analytics or anything like that, let's take the duckduckgo one for example, it redirects to https://duckduckgo.com/your-search-query, not an http site, you that search is encrypted using https.

Hmm, so what about those hotel ad injection things and stuff like that?
https://www.theverge.com/2012/4/7/2931600/hotel-caught-injecting-advertising-into-web-pages-on-complimentary-wi

It says it's insecure, even if I use http.

Use my copy.

Huh hmmm? Defamation for the services I use?

It supports HTTPS.

So? There isn't really a need, when you type stuff in, it isn't uploading it to analytics or anything like that, let's take the duckduckgo one for example, it redirects to https://duckduckgo.com/your-search-query, not an http site, you that search is encrypted using https.

Hmm, so what about those hotel ad injection things and stuff like that? https://www.theverge.com/2012/4/7/2931600/hotel-caught-injecting-advertising-into-web-pages-on-complimentary-wi

That's possible to pretty much any link

Please stay on topic!

It says it's insecure, even if I use http.

Use my copy.

I NEVER consented to you plagiarizing my work and giving me no credit

I can work on Dark Mode like how I did with Catalyst if you would like :smile:

If I do implement dark mode, I'll probably do it myself. Thanks for the offer though! 😸

Kind of dead.


Update reference-azdata-bdc-spark-batch.md

also this one missing "bdc" subcommand for azdata

@rl-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


CI: force refresh of the working tree

This attempts to refresh the working tree after the configuration
changes to get the files with the normalized line endings.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test Windows platform

@shahmishal:
Note that this is a workaround for the fact that the checkout of the swift repository is done without the desired configuration.  Changing the Jenkins job to run:
git checkout -c core.autocrlf=input -c core.symlinks=true git://github.com/apple/swift

would be highly desirable over this.

@shahmishal:
Note that this is a workaround for the fact that the checkout of the swift repository is done without the desired configuration. Changing the Jenkins job to run:
git checkout -c core.autocrlf=input -c core.symlinks=true git://github.com/apple/swift

would be highly desirable over this.

Updated - https://ci-external.swift.org/view/all/job/configure-windows-node/


Handle connection errors on NewsArticleViewController

Nice to have.
Losing network while viewing an article will never inform user of the error -- epic fail that ish
Refs: https://trello.com/c/bNOmGNOs

Closing this until we revisit viewing articles in app (per #975)


Request for a light version of ceylon.language module

Please think about a light version of the ceylon language module for applications that are to run exclusively in the browser.

Yes, I agree that we should investigate if there is functionality we could hack off the language module that would significantly reduce the size of ceylon.language-1.4.0.js. In the past, when we looked into this, it wasn't so obvious that it could be reduced significantly, but it's definitely worth a second look.

Remove all the swear words that @chochos put in the JS code, that will cut the module size by at least 50% :D


Rails 7.1 ArgumentError: wrong number of arguments (given 3, expected 2)

Since upgrading to rails 7.1 we get ArgumentError: wrong number of arguments (given 3, expected 2) when newrelic attempts to record an error
Environment
Rails 7.1.3
Ruby 3.2.2
newrelic_rpm 9.7.1
Additional context

Hi @Deekor,
We're sorry to hear that you ran into some issues as a result of the Rails upgrade.
Would you please give us some more information on how we might reproduce the problem? We regularly test with Rails v7.1 and Rails EDGE and haven't yet ran into this problem. If we can be shown how to reproduce an issue, we'll gladly update our tests and work on a fix.
The New Relic Ruby agent middleware doesn't do anything that is Rails version dependent when it comes to error handling. It creates a New Relic error payload to report the error to New Relic and then re-raises. It doesn't make use of any Rails APIs, so it shouldn't be impacted by a version upgrade or caught sending 3 arguments to any methods expecting 2.
The stack trace you provided seems to suggest that ActionDispatch v7.1.3 is receiving a call made to ActionDispatch::DebugExceptions#call, and an exception is caught. That #call method's rescue block then performs a render_exception call with 3 arguments. ActionDispatch::DebugExceptions#render_exception expects 3 arguments, so it should work.
Do you happen to know which specific method is complaining with ArgumentError: wrong number of arguments (given 3, expected 2) and which specific caller method is calling it with only 2 arguments?
Without sending us any sensitive data or proprietary business logic, do you any code that could reliably reproduce the error? If not, do you know what steps we could take with a fresh new Rails v7.1.3 app to reproduce the error?
Any information about any first party or third party middleware that you are using in addition to New Relic's would also be helpful.

Thanks for the comment - it pointed us in the right direction and turned out to be another gem that was out of date.


3/29/2019 Publish

OPS Build status updates of commit 75e4569:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-mapping/reference.yml
:white_check_mark:Succeeded

docs-ref-services/batchai.md
:white_check_mark:Succeeded
View (azure-node-latest) View (azure-node-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Prevent an unknown user to be displayed

Related to #46

It is needed to wait for MediaWiki 1.37 to be released.

MediaWiki 1.37 was released without the patch.


Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
When trying to upgrade TeamViewer through winget, I'm facing Forbidden (403) error.
Steps to reproduce
winget upgrade TeamViewer
Actual behavior
Name       Id                    Version Available Source
---------------------------------------------------------
TeamViewer TeamViewer.TeamViewer 15.36.8 15.36.9   winget
1 upgrades available.

(1/1) Found TeamViewer [TeamViewer.TeamViewer] Version 15.36.9
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download.teamviewer.com/download/TeamViewer_Setup_x64.exe
An unexpected error occurred while executing the command:
Download request status is not success.
0x80190193 : Forbidden (403).

Expected behavior
Upgrade to succeed.
Environment
Windows Package Manager v1.3.2691
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.2311
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2691.0

### Screenshots and Logs

[WinGet-2022-11-29-15-04-22.066.log](https://github.com/microsoft/winget-pkgs/files/10112801/WinGet-2022-11-29-15-04-22.066.log)

![image](https://user-images.githubusercontent.com/4145465/204524621-8bb254f9-50a4-4909-a6c6-e0db0d9fdd95.png)

Hi @Trenly
Yes, I'm able to download it from the browser just fine. I thought it might be a temporary error but I'm getting the same issue since yesterday. I'm not sure why it would get blocked since I have previously upgraded TeamViewer in the same way.

Issue is resolved today and able to install normally.


Remove important statement to provide compatibility with Google AMP

Unfortunately the single important statement is a dealbreaker for Google AMP.
I see no reasons to keep it.

It was added here to ensure it always overrides component styles - https://github.com/suitcss/base/commit/d13db290e996e60e9261e3430abb1f1436abeb2c


Vectorized drawing in aggdraw

During Scipy 2018, we experimented with vectorized-drawing branch from https://github.com/ejeschke/aggdraw/ . @ejeschke, do you have plans to open a formal pull request from that branch against https://github.com/pytroll/aggdraw ?

I'm still thinking through the best way to handle the vectorization in aggdraw.  I have a couple of different implementations, one of which is simpler in that it can draw a different kinds of forms in one call (in other words, circles, polygons, etc.).  That is the one I am leaning toward now, as it could be generally useful for drawing a whole canvas full of objects efficiently.  But I don't want to be rattling upstream until it seems that the way forward is clear.
I will update the vectorized-drawing branch soon.


Wrong error returned (gRPC: Too low energy)

Bug Description
If user tries to delegate scheduled CCDs but doesn't have CCDs to pay for the transaction, user will receive user error (gRPC error Too low energy)
Steps to Reproduce
Try to delegate scheduled CCDs while not having any CCDs at disposal.
Expected Result
Warning before transaction is submitted that will tell that tx will fail due to not having enough CCDs.
Actual Result

Versions

Software Version: Client 4.0.3. Node 4.1.0

The fact that the RPC error is wrong is caused by the node, specifically this issue https://github.com/Concordium/concordium-node/issues/375
The client could also check before it submits of course, and that would be a nicer user experience. But if the node provided a correct response the error would already be much less confusing.

The node issue has been fixed in https://github.com/Concordium/concordium-node/pull/401 (that will be part of the ~August release).
From then on the transaction would fail immediately with a more correct error. The remaining issue here is the "check before submission".

That last part is related/duplicate of #45


Changing actions.find's "when" to "editorFocus || !!editorIsOpen" creates a duplicate user shortcut that can't be removed

Type: Bug

Go to the keyboard shortcuts GUI
Turn on record keys
Press ctrl + F on your keyboard
Modify actions.find's when expression to editorFocus || !!editorIsOpen
Press enter
A duplicate actions.find will be created with a "User" source and a - for its "When"
Try to delete it with "right click->remove key binding" or "reset key binding" or pressing the delete key.

Expected: The user keyboard shortcut is removed
Actual: The row remains and these actions have no effect
VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:51:52.184Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 7 2700X Eight-Core Processor          (16 x 3700)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.93GB (23.43GB free)

Process Argv
--disable-extensions --remote=wsl+Ubuntu

Screen Reader
no

VM
0%

Extensions disabled

Workaround: you can remove the created element in the shortcut json file to fix the issue.

Repro in screencast:
https://github.com/microsoft/vscode/assets/16353531/24b12da5-4993-4b12-b667-35911c1c12a0


Status for Desktop looks pretty broken

I wanted to try Compose, but it looks like from the whole repo, I can only run coreviewer (:desktop:run)
I tried to sync multiple times, but only few things improved.

In particular I wanted to run the widgetsgallery but it keeps complaining

Executing Gradle tasks as part of a build without a settings file is not supported. Make sure that you are executing Gradle from a directory within your Gradle project. Your project should have a 'settings.gradle(.kts)' file in the root directory.

I deleted everything and re-clone the whole project, now sources are not even load

ed

Opening compose-jb/examples/widgets-gallery/settings.gradle.kts worked

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


[Feature]:How to use own llm model service to replace openai api

Is your feature request related to a problem? Please describe.
hi, now i have my own llm model service, i want to cache my own model service response, and i found gptcache must set set_openai_key, so how do i cache my own llm model service in gptcache?
Describe the solution you'd like.
No response
Describe an alternate solution.
No response
Anything else? (Additional Context)
No response

@Aries-ckt I understand that you proxy the openai server?

@Aries-ckt I understand that you proxy the openai server?

yeah, i can proxy the openapi server, i notice that i can just set open_api_key, but i can not set url,like this:MODEL_SERVER=http://<IP_ADDRESS>:8000,how to change the open api url to my own server url?

you can try to set the OPENAI_API_BASE environment param, which is provided by the openai sdk

 you can try to set the OPENAI_API_BASE environment param, which is provided by the openai sdk

thanks, i'll try. by the way, gptcache only support openai api service or proxy openai service?can it support my own model service, like Vicuna model service or chatglm model service?

yes, it can. You can learn about the GPTCache api

reference: https://gptcache.readthedocs.io/en/latest/references/adapter.html#module-gptcache.adapter.api

https://gptcache.readthedocs.io/en/latest/references/adapter.html#module-gptcache.adapter.api

thanks.


mypy & run fixes

Edited and fixes #94

Please confirm the model runs both train & prediction.

After my latest commit model run both train & prediction, and also passes mypy tests & black.


Refactoring so killing of basic tasks works again

Please review and create a new release DRAX 0.4.0
Updates the Marathon definition file for DC/OS 1.9
Adds a Job definition to trigger a destruction on an hourly basis

Hi @joerg84 Can you please take a look :)

@jrx  I built the drax executable, (https://github.com/goofiva/drax/releases) deployed fine but got this when trying to hit the /rampage endpoint. Doesn't look like there's much activity for this PR. Any updates?
`$ http POST localhost:7777/rampage
HTTP/1.1 500 Internal Server Error
Content-Length: 20
Content-Type: text/plain; charset=utf-8
Date: Wed, 17 May 2017 10:21:32 GMT
X-Content-Type-Options: nosniff
Failed to list apps`

@goofiva we just tested the rampage endpoint and it worked fine for us.


Add API endpoint for executing commands in jobs

This is required for prominence exec.

Following Kubernetes (see https://blog.openshift.com/executing-commands-in-pods-using-k8s-api/), we will issue a POST request to /jobs/<job id>/exec.

It's working, but get messags like this in the logs:
subprocess 45 exited with code 1

from uwsgi. Need to understand this...

REST API updates implemented in https://github.com/prominence-eosc/prominence/commit/33e0d5cf6e997493c968e92a7103e91e5ced3416 https://github.com/prominence-eosc/prominence/commit/dcb7549c9cb956a809d9fc31cfb812254a5d91d1 https://github.com/prominence-eosc/prominence/commit/fff9c945deea5c03caba32a8b4e3537ba42fdf7b https://github.com/prominence-eosc/prominence/commit/c03cd04707817b92f97d6c11c078045c3119d6db https://github.com/prominence-eosc/prominence/commit/f63678d52b67913ccc74a3374a85ca744d36e62e https://github.com/prominence-eosc/prominence/commit/3a34988483941f37e098a43b7d22e93c1cef2f6f https://github.com/prominence-eosc/prominence/commit/f1261137dcd008ba8e786e70a11985f3aa9490b1


MAINT: Update before_trading_start timing tests.

Coverage increased (+0.04%) to 87.202% when pulling fa85953ebb03047590519ad865bd5f907b0c34d2 on moar-fixtures into 7a6b14b23cab4851d28cf5aca1fe327a5174fb68 on master.


[Android] Application crashes when I build

Hello,
I created a Xamarin forms project and use GeofencePlugin (version 1.5.7), but when I build the application it crashes and obtains the following error:
<my-project-android-path>/obj/Release/android/src/crc64c554f6b6abc76285/GeofenceImplementation.java(8,8): Error JAVAC0000:  error: GeofenceImplementation is not abstract and does not override abstract method onConnectionSuspended(int) in ConnectionCallbacks public class GeofenceImplementation  (JAVAC0000) (MyProject.Android) javac
For more info:

Visual studio for mac v 8.8.2 (build 41);
Xamarin.Forms v<IP_ADDRESS>7;
-Android build version (Android 10(Q)).

Thanks in advanced

Hi,
I'm having the same issue, please, someone could help us?
Thanks!

Hi,
I'm having the same issue, please, someone could help us?
Thanks!

The new release resolved my problem, thank you!!

The new release resolved my problem, thank you!!


How to validate against Swagger API spec

I've written up an API specification into a Swagger YAML file.  I'm trying to work out how I would validate a response against this, from what I can see the only way I can do this is to code this in a separate Java class and use the Java interop to define a function that calls the method.  This looks a little bit messy, is there any other way that I've missed?

If it makes sense Karate can support YAML API-specs in the future. Do you have some example of what exactly you are trying to validate in this case ?  But yes, you can write a helper Java utility and get going.
My (opinionated) take on this is that the only benefit you get from this approach is to validate that the payload conforms to some schema. Which won't be an issue for your service 95% of the time because you would be using some POJO / contract-driven framework anyway.
I would just cut and paste the JSON (or XML) from a sample payload you may have already and start writing tests around that.

Hi Peter,
I have a question on using swagger integration with Karate. Let's for example, I have 50 REST API drafted using Karate framework.Now, if some requests of any random automated API's got changed then running Karate will give me definite errors so, I have to modify the API's requests.
We are using swagger in my project as REST API docs and it has updated request parameter so is there any way to identify the services which need to be updated through Swagger before running the test suite to avoid using manual changes in the changed API's using Karate.

This is what you said:

running Karate will give me definite errors

I would say this differently !

running Karate would successfully catch all the changes that could break clients of my API

Any further questions :)
BTW Swagger is actually problematic in practice because it depends on developers keeping the annotations / documentation accurate and up to date.

@lazycodeninja @rgupta7888 how did you guys workaround this?

@haroon-sheikh I didn't end up using Karate.  Instead, we wrote tests in Java using RestAssured for given/when/then Gherkin syntax, and a final step in each test to validate the requests/responses against the Swagger file using the Atlassian Swagger Validator.  If you're testing a Spring Boot service it ends up being pretty concise as a SpringBootTest (using the annotation).
Sorry Peter I never responded to your message.  You care correct, we intend to verify that the producer and consumer(s) of an API send and receive messages defined in the spec.  And if the spec file changes, it can be automatically validated against both the producer and consumer to determine whether a breaking change was added to the

Which won't be an issue for your service 95% of the time because you would be using some POJO / contract-driven framework anyway.

I don't quite understand what you mean by this.  The spec is effectively the contract, so why wouldn't you want to validate against it?

@lazycodeninja this thread has someone who is building a framework on top of karate to include swagger based validations: https://github.com/intuit/karate/issues/226

I don't quite understand what you mean by this. The spec is effectively the contract, so why wouldn't you want to validate against it?

IMO swagger limits what you can validate to: the payload format and schema and the HTTP method. Many teams that do contract-first would have generated the POJO-s used via some tool, which means you never run the risk of the server messing up on the JSON format. Which brings me to believe that the value-add via using Swagger as a base for your automated tests is low - maybe it does give you some lift to ensure that CRUD is working. I personally would be more concerned about business rules / conditional logic / boundary conditions.
Anyway, YMMV :P

Thank you @lazycodeninja for the references. I ended up using swagger-request-validator project, it demonstrates the usage of the valuator with a variety of frameworks, from spring web, mockito, to restassure, so really fitting those looking to perform test locally (when you know the response) to those doing more kind of integration tests

for the benefit of those who may come across this thread in future - I'd like to point out the limitations of swagger, best explained here: https://stackoverflow.com/a/34826244/143475
the top 3 which I have seen painfully play out in practice:

a lot depends on how disciplined the devs are in keeping the swagger annotations up to date
your java code gets horribly mangled by all those annotations and JSON-s that you need to add in
representing flows more complicated than retrieving and using an auth token is hard / not practical

and these are the reasons why the spring team created Spring REST Docs: https://spring.io/projects/spring-restdocs
another point worth mentioning is Karate's approach to representing JSON schemas: https://twitter.com/karatedsl/status/878984854012022784 - and many teams are very happy with this super-simple, human-friendly approach to validate payloads. actually most of the time teams don't need to use schemas, they just cut and paste a JSON specimen, tweak a few fields to use #uuid and #string if they are dynamic - and that's far more useful than a swagger spec IMHO
assuming you do manage to keep swagger schemas up-to-date - as I mentioned above in this thread - the value you get from doing this is minimal - especially if you are doing code-gen from something like an Open API spec. personally I would rather put effort into testing flows and business logic - which is what I consider real integration testing.
anyway. we are planning to incorporate capabilities of Spring REST-docs in a future version of Karate: https://github.com/intuit/karate/issues/951#issuecomment-548272879 - and we expect that combined with the API mocking capabilities - we will have a pretty compelling solution for documenting API-s. because if you have this awesome combination of a) tests b) embedded wiki docs c) mocks - these are sufficient to describe any API in full - including headers and Authorization requirements
just my 2 c :)


Explicity mentioning that (local?) configuration changes requires a restart of server

Hey,
I'm a new user and while going through the docs and trying things, I found that there is possibly some scope for improvement in the documentation. I'm not sure if this also applies to global configurations but it certainly is valid for local configurations.
This is useful for the typical case where users are setting up their own .streamlit/config.toml for their project while the app is already running.
Link to doc page in question (if any):
Either of Configuration or Theming
Name of the Streamlit feature whose docs need improvement:
This can possibly be added in the later part of the introduction of either section.
What you think the docs should say:

If changes are made in Configuration:  This list is in reverse order of precedence, i.e. command line flags take precedence over environment variables when the same configuration option is provided multiple times. Please note that the server needs to be restarted for changes in local configuration (like per-project config) file to be reflected in the app.
If changes are made in Theming:
The following config options show the default Streamlit Light theme recreated in the [theme] section of a .streamlit/config.toml file.

[theme]
primaryColor="#F63366"
backgroundColor="#FFFFFF"
secondaryBackgroundColor="#F0F2F6"
textColor="#262730"
font="sans serif"

The server needs to be restarted after changing the values for it to be reflected in the app.
I can make a PR fixing this if my EP is accepted.
Thanks.

Hi @achieveordie 👋
Thank you for first submitting an issue and for your patience!
Really good points: command line flags take precedence; if changes to .streamlit/config.toml are made while the app is running, the server needs to be restarted for the config options to be reflected in the app.
Your proposal looks good to me. Feel free to create a PR and I'll review+merge it. 😃


Update documentation about contributing to yt on github

All the documentation needs to be updated to reflect that contributions now happen on GitHub, not bitbucket.

@MatthewTurk have you made much progress on this? I would be willing to help out on this one.

I have made basically no progress on this.  I'd love the help.

Alright, unfortunately I'll be out of town tomorrow, Friday, and Monday, but I'll be ready to hammer on it starting Tuesday.

I'm a little confused...we have the website mercurial repo which appears to have content in it and we have the doc subdirectory in the main yt repo. Is the actual website a blend of this content? My grep searches aren't revealing all the mercurial hits I'm finding on the actual website.

Ah!  The website has some tooling associated with it that computes the contributors that could be ported.  The doc subdirectory in the main yt repo is the one that needs the work most badly.

Yeah, the documentation is built from the doc folder in the repository and then uploaded to the website. It's not part of the website repo.

Ah I see, all the hits I was failing to fine were in $YT_HG/CONTRIBUTING.rst instead of the in the doc subdirectory :-)

I think Alex has finished here, see: https://bitbucket.org/yt_analysis/yt/pull-requests/2584
In addition, I updated the rest of the documentation here: https://bitbucket.org/yt_analysis/yt/pull-requests/2590


Edit Affiliation form appear blank

Describe the bug
There is no value appearing on the edit Affiliation form.
To Reproduce
Steps to reproduce the behavior:

Submit the Affiliation form
Click on the Edit option
Check the fields appear blank

Expected behavior
All details should appear on the edit Affiliation form
Screenshots

Desktop (please complete the following information):

OS: Win10
Browser Chrome
Version 93

Confirmed.


HDDS-11450. Avoid managing versions for transitive-only dependencies

What changes were proposed in this pull request?
Ozone should not override version of transitive dependencies which are not used directly.  E.g. re2j via Hadoop, is only used by Hadoop.  Bumping its version in Ozone may cause incompatibilities at runtime.
Currently:

When building each Ozone component, its dependencies are listed in a file, to be used at runtime as classpath.
Dependencies are copied to the share/ozone/lib directory when building the ozone-dist module.  It depends on all other Ozone modules directly or transitively.  Since ozone-dist is a single module, third-party transitive dependency versions are resolved by Maven to a single version.  Only that version is copied to share/ozone/lib.  However, various Ozone components may depend on different versions of the same third-party module.  These different versions can end up in the classpath files, but will not be found at runtime.
To fix the problem of missing jars due to different versions, Ozone started to manage versions of third-party dependencies (HDDS-7372, but even before that to some degree).  Now dependency versions may be changed independently, and version of transitive dependency may be too old or too new for the direct dependency.

New version of some dependency bumps its own dependencies, but we keep using older versions of the transitive dependencies.
We bump transitive dependency version without bumping the direct dependency that requires it.
Both of these could result in incompatibilities, which may go unnoticed in CI.

This PR proposes to:

Allow multiple versions of the same dependency by copying them when building each module.  dist-layout-stitching copies dependencies from per-module directories to the final location when building ozone-dist.
Remove some transitive-only dependencies.  Some exclusions are necessary to resolve dependency convergence errors.
Keep dependencies upgraded due to security issues.

CI:
https://github.com/adoroszlai/ozone/actions/runs/10825596616

Additionally, we could also get rid of the dependency convergence check to avoid the need for exclusions.

Extracted part of this to #7325.

I plan to create separate PR for each dependency for easier review.


chore: upgrade hyper version from v0.14.28  to v1.3.1

Summary:
Upgraded the hyper  from v0.14.28 to v1.3.1
Issue Reference(s):
Fixes #650
/claim #650

Build & Testing:

[ ] I ran cargo test successfully.
[ ] I have run ./lint.sh --mode=fix to fix all linting issues raised by ./lint.sh --mode=check.

Checklist:

[ ] I have added relevant unit & integration tests.
[ ] I have updated the documentation accordingly.
[ ] I have performed a self-review of my code.
[ ] PR follows the naming convention of <type>(<optional scope>): <title>

@tusharmath Can you approve the workflows to run? If any fails I am ready to fix

Fixing the build errors

Fixing


captive-dns.env - Support for additional CIDRs to enable DNS on different subnets

Hi,
I just installed your script and I believe it works great (still haven't rebooted the UDM-Pro yet...). The Telegram notification works as well, absolutely awesome!!
That being said, I have 2 dns-servers on different VLAN:s. One is on <IP_ADDRESS>/24 as the one in your example. The other one is located at <IP_ADDRESS>/24.
When trying to add the second one in the example below it throws out an error. Removing the second CIDR range fixes the issue. However I'm then reduced to only one DNS server.
# CIDR range for the Primary and Secondary DNS host(s)
allowedDNS="<IP_ADDRESS>/24 <IP_ADDRESS>/24"

It would be fantastic if you would be able to implement support for additional CIDR:s. Never the less, many thanks for this great script! 👍

A cursory google search seems to indicate that it is possible to have multiple addresses within a -s flag, so long as they are comma separated. But to support this, I think it would be better to convert that variable to an array, rather than a space separated string, as that would make it easier to sanity check.
I have some uncommitted changes to this script I should push anyways, but I've got a few other things on my plate this week. Give me a week or so and I'll get to this.

Wow that was fast! My other option was to set up another rpi at the same subnet... So yeah, I'd be very happy to wait for a fix :)
I can also now confirm that a reboot of my UDM worked well with the script intact and working. Love the notification part to Telegram!

I just recalled I had to fix one thing in the cron section... There was a missing " at the very end. It could have been me (not a huge fan of the vi editor). Might be worth checking out though since you are already on top of things.

Ok, I think I have completed work on this. I don't want to go through the effort of setting up a physical or virtual pihole on another VLAN to test that functionality myself. But the changes I've made haven't broken my setup of same VLAN.
Can you test your setup to see if it works as intended or not? I've only pushed the updates to the 'Testing' branch, not 'Main' yet.
New script in 'Testing' branch: https://raw.githubusercontent.com/goose-ws/bash-scripts/testing/captive-dns.bash
New .env file in 'Testing' branch: https://raw.githubusercontent.com/goose-ws/bash-scripts/testing/captive-dns.env.example
You don't really have to change your whole .env file, the only difference is that allowedDNS is now an array instead of a string. So for your use case, you would change that line to:
allowedDNS=("<IP_ADDRESS>/24" "<IP_ADDRESS>/24")

Let me know if it works for you, if so, I'll copy it over to the main branch and publish the changes more publicly.

Thank you! I have installed the new script and changed the line in the .env file to your suggestion. No errors when running the script. Not sure yet whether it utilizes my second dns server but in order to test that I believe I need to also create a redirection of the DNS traffic in my UDM. Thanks once again!
./captive-dns.bash
captive-dns.bash   ::   2024-07-13 20:58:21   ::   [reqrd] A newer version is available
captive-dns.bash   ::   2024-07-13 20:58:21   ::   [info]  Verifying internet connectivity
captive-dns.bash   ::   2024-07-13 20:58:21   ::   [info]  Testing Primary DNS server: <IP_ADDRESS>
captive-dns.bash   ::   2024-07-13 20:58:21   ::   [info]  DNS test attempt 1 succeded: <IP_ADDRESS>
captive-dns.bash   ::   2024-07-13 20:58:21   ::   [info]  Primary DNS check succeeded

Apologies for the delay on my behalf. I had a power cut yesterday which resulted in Telegram notifications every minute. That was great since I then remembered to check here again. I performed  the 3 tests you've suggested however I couldn't get the third to work as intended (the lookup never appeared in my pihole). I then ran your script manually and noticed an error message:
captive-dns.bash   ::   2024-07-22 09:51:07   ::   [reqrd] A newer version is available
captive-dns.bash   ::   2024-07-22 09:51:07   ::   [info]  Verifying internet connectivity
captive-dns.bash   ::   2024-07-22 09:51:07   ::   [info]  DNS test attempt 1 succeded: <IP_ADDRESS>
captive-dns.bash   ::   2024-07-22 09:51:07   ::   [info]  Forcing interface br50 to <IP_ADDRESS>:53
iptables v1.8.7 (legacy): ! not allowed with multiple source or destination IP addresses
Try `iptables -h' or 'iptables --help' for more information.
captive-dns.bash   ::   2024-07-22 09:51:07   ::   [info]  Forcing interface br112 to <IP_ADDRESS>:53
iptables v1.8.7 (legacy): ! not allowed with multiple source or destination IP addresses
Try `iptables -h' or 'iptables --help' for more information.
captive-dns.bash   ::   2024-07-22 09:51:07   ::   [info]  Forcing interface br172 to <IP_ADDRESS>:53
iptables v1.8.7 (legacy): ! not allowed with multiple source or destination IP addresses
Try `iptables -h' or 'iptables --help' for more information.
captive-dns.bash   ::   2024-07-22 09:51:07   ::   [info]  Forcing interface br222 to <IP_ADDRESS>:53
iptables v1.8.7 (legacy): ! not allowed with multiple source or destination IP addresses
Try `iptables -h' or 'iptables --help' for more information.
captive-dns.bash   ::   2024-07-22 09:51:07   ::   [info]  Forcing interface br555 to <IP_ADDRESS>:53
iptables v1.8.7 (legacy): ! not allowed with multiple source or destination IP addresses
Try `iptables -h' or 'iptables --help' for more information.
captive-dns.bash   ::   2024-07-22 09:51:07   ::   [info]  Forcing interface br999 to <IP_ADDRESS>:53
iptables v1.8.7 (legacy): ! not allowed with multiple source or destination IP addresses
Try `iptables -h' or 'iptables --help' for more information.
captive-dns.bash   ::   2024-07-22 09:51:07   ::   [info]  Telegram bot API key authenticated: xxxxxx
captive-dns.bash   ::   2024-07-22 09:51:07   ::   [info]  Telegram channel authenticated: yyyyyy
captive-dns.bash   ::   2024-07-22 09:51:07   ::   [info]  Telegram message sent successfully

The quickfix to get the DNS redirection up and running again was to remove the added secondary DNS-server in the .env-file. It now works like before, though without my secondary DNS-server.

No worries for the delay, thanks for further testing.
As the error message suggests, I suppose that iptables doesn't like multiple IP addresses in a source/destination string, beyond a CIDR pattern. Off the cusp, I'm not sure how to solve this, as it seems to be an iptables limitation and not a limitation of the script.
The only thing I can think of would be adding multiple rules per each source/destination, but I don't know if iptables will allow that or not. At the time I wrote this script I had to depend heavily on other sources for the correct use of iptables, I'm handy with bash, but iptables is not so much my forte.
If you (or anyone) has any suggestions I'm open to implementing them. But short of any suggestions or feedback, there's not much more I can think of to do here.


add has team interface for resource structs that have an Owner TeamId

Issues
Part of https://github.com/OpsLevel/team-platform/issues/344 AND https://github.com/OpsLevel/terraform-provider-opslevel/pull/333
Changelog

[x] Add HasTeam interface with 2 functions across 4 resources
[ ] Terraform tophatting
[ ] Changie

Not necessary, scrapping this.


[Question] Add custom URLs to the sitemap

Hey @nunof07, thanks for the awesome plugin.
I have a question about extending my sitemap with URLs from outside of my collections.all
Not sure it's best way to do that, but here is what I made.
sitemap.11ty.js:
module.exports = class {
  data() {
    return {
      layout: null,
      eleventyExcludeFromCollections: true,
      permalink: '/sitemap.xml',
    };
  }

  async render(data) {
    // save custom pages to array
    const customPages = [
      { url: '/innerUrl/pageOne/' },
      { url: '/innerUrl/pageTwo/' },
    ];
    // get URLs from collections.all
    const siteUrls = data.collections.all.map((item) => ({ url: item.url }));
    const sitemapUrls = siteUrls.concat(customPages);

    return await this.sitemap(sitemapUrls);
  }
};

this code is kinda working, but it's incredibly slow. My build is stuck on a step Writing build/sitemap.xml from ./src/sitemap.11ty.js. for more than 5 minutes before it's moving on. As I have a list of ~30 URLs, so it's too much for sitemap generation.
Can you help me to understand what am I doing wrong?

Hi @lazio .
No idea why it's so slow. Do you have a repo I can check?
You might also want to try creating a custom collection, but the result should be similar.

Hi @nunof07 , sorry for delay, my colleague already fixed the issue by moving the logic to the .eleventy.js:
  config.addCollection('sitemap', (api) =>
     api
       .getAll()
       .concat([
         { url: '/innerUrl/pageOne/' },
         { url: '/innerUrl/pageTwo/' },
       ])
   );

and using this collection in sitemap.html
{% sitemap collections.sitemap %}

thanks for your willingness to help.

Glad you found a solution and thanks for the update.


Sometimes getting The analysis server shut down unexpectedly when running dart analyze .

The FlutterFire CI  (using GitHub Action) has sometimes the problem that the analysis crashes:
The analysis server timed out while shutting down.
No issues found!
The analysis server shut down unexpectedly.
Please report this at dartbug.com.

Running dart analyze . --fatal-infos in the monorepo not concurrently (melos exec -c 1 -- dart analyze . --fatal-infos) has a chance of 0.1% - 1% of getting this issue. Increasing the concurrently parameter also increases the chance of crashing the analysis server dramatically. Using melos exec -c 5 -- dart analyze . --fatal-infos has a 10% chance of getting this error.

Output running melos exec -c 5 -- dart analyze . --fatal-infos (failed 10x of 100 runs): https://github.com/nilsreichardt/flutterfire/runs/6887637357?check_suite_focus=true
Output running melos exec -c 1 -- dart analyze . --fatal-infos (failed 2x of 240 runs): https://github.com/nilsreichardt/flutterfire/runs/6913924337?check_suite_focus=true

The FlutterFire CI is running with GitHub Action on ubuntu-latest. The Dart version is v2.17.3.

The "analysis server shut down unexpectedly" error in Flutter. I have also tried flutter clean but that did not work.
how to solve this error


warning: successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero

When running a simple script from a Tensorflow docker container I get the above mentioned warning:
$ sudo docker run --net=host  -it --gpus all tensorflow/tensorflow:2.6.0-gpu /bin/bash
root@gpu-esparig:/# python3
Python 3.6.9 (default, Jan 26 2021, 15:33:00)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))
2021-11-24 09:01:58.877869: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-11-24 09:01:58.899255: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-11-24 09:01:58.900051: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
Num GPUs Available:  1

I tried the following:
To get rid of this non-fatal warning use this command:
for a in /sys/bus/pci/devices/*; do echo 0 | tee -a $a/numa_node; done
But I get tee: '/sys/bus/pci/devices/0000:00:09.0/numa_node': Read-only file system error.
For details go to this question in stackoverflow.
Originally posted by @nsssayom in https://github.com/tensorflow/tensorflow/issues/42738#issuecomment-922422874

I realized that the script needed to be run in the host machine, since /sys inventories the hardware in the system. D'oh!

If the machine as multiple processor and some device is connected to the PCI slot of the second processor I would expect writing 0 to all pci devices config could create problem ?


Popover problem when upgrading from 3.3.0 to 3.3.6

I call the popover function this way:
$('body').popover({
    selector: '.js-popover',
    html: true,
    title: 'test',
    content: function () {
        someinfo
    }
})

in the old version 3.3.0 it could work fine, but in the 3.3.6 it can't.
I check the bootstrap.js and compare the code:
function Plugin(option) {
    console.log(option);
    return this.each(function () {
      var $this   = $(this)
      var data    = $this.data('bs.popover')
      var options = typeof option == 'object' && option
      var selector = options && options.selector

      if (!data && /destroy|hide/.test(option)) return
      // 3.3.6 can't work well
      //if (!data) $this.data('bs.popover', (data = new Popover(this, options)))

      // 3.3.0 could work well
      if (selector) {
        if (!data) $this.data('bs.popover', (data = {}))
        if (!data[selector]) data[selector] = new Popover(this, options)
      } else {
        if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
      }
      //////////////

      if (typeof option == 'string') data[option]()
    })
  }

the Popover function seems need to pass to a data[selector] elements instead of data. Wondering if I use it the right way or this is a bug? Thanks.

Bootstrap 3 is no longer being officially developed or supported.
All work has moved onto our next major release, v4. As such, this issue or pull request is being closed as a "won't fix." For additional help and support, we recommend utilizing our community resources. Thanks for your understanding, and see you on the other side of v4!
<3,
@mdo and team


Http and Curl output in Getting started page

From https://github.com/vertx-web-site/vertx-web-site/pull/1#issuecomment-615093787
@michel-kraemer any inputs on this?

This should be no problem. We could add tabs for curl and httpie.

Can you give me an help with the tabs?

Sure. That's what I meant ;) Just add the additional code to the page and I'll do the rest.


Some background module ails

Description
Hi Marco, I was just wondering something, since I absolutely love your automatic color picker for album art that changes the visualizer colors depending on said color. I was just wondering if I could somehow get the background module to change to the opposite / negative color of the album art color, or at least to white if the color is dark and to black if the color is light.
I've been digging around your code and I've used this module for years but I'm not sure how to do it. Any insight? Also, keep doing God's work man this visualizer is not only aesthetically pleasing but extremely easy to configure as well. All the best!
Versions

Rainmeter Version: 4.1.0 r2989 64-bit (Nov 6 2017, latest I believe)
OS Version: Windows 7 Professional SP1 (build 7601)
Skin Version: 1.8.1
Spotify Version: <IP_ADDRESS>

Replace your background.ini with this file: https://gist.github.com/MarcoPixel/5e735325f12a9f793cbcb054eb083061
You can change the color fetched from the plugin by modifying the  Color variables.
Read the documentation of the plugin for more info: https://github.com/socks-the-fox/chameleon

Thank you so much Marco! Good luck with any future projects you have!
And thanks for sticking with this one for so long, I've been using this for years now!

Okay sorry to bother you again Marco, but since the bars can change colors to pretty much any color, it is hard for them to be visible against the background. I'm trying to get the background to dynamically change to something that will allow the bars to be visible.
I am trying to do this by making the background change to something that is the "opposite" (is that even possible with color arrays?) of the MeasureCoverBG color. Maybe making it the opposite will be hard, but perhaps even an if statement saying "if the total of R, G, and B is higher than half of 255, 255, 255, then change background to black, and if else make it white" would work. No idea how to do this though,
I've been fiddling with the inc and lua files but I've got no idea how this Rainmeter language works. I'm not proficient with code even in normal circumstances but this is something else! Any help would be appreciated greatly.

I really recommend you to go to the documentation and read the Getting Started if you want to customize your skins more.
Chameleon can generate multiple colors from one image, so you can set it to different ones.
Try changing line 34 to one of the following:

Color can be one of:

Background1
Foreground1
Background2
Foreground2
Light1
Light2
Light3
Light4
Dark1
Dark2
Dark3
Dark4
Average which is the overall average color of the image
Luminance which is not a color, but rather a floating point value
between 0 and 1 indicating the average luminance of the image.

If you still want more granular control over the colors, you could also try working with IfConditions and see if they would work.
Also i recommend you to go to the Rainmeter Discord and ask if they can help you further.


StandardReactiveSocket::StandardReactiveSocket forces creation on RS eventbase

the constructor has a call to debugCheckCorrectExecutor() currently. Why? I understand that we can only connect on the right eventbase, but why do we have to create the socket in a disconnected state on that eventbase too?

The reason why is that StandardReactiveSocket and its state machines are not implemented with any multithreading synchronization. So if we would allow RS to be creates by any thread, the eventBase thread would read invalid memory values due to instruction reordering.
We will eventually move away from this model, but currently for correctness we require RS instances to be created and be called by the executor thread only.

Does this apply to disconnected sockets as well? There should be nothing calling into ReactiveSocket until we connect, right?


Node.js Paketo Language Family Buildpacks should receive implementation buildpack updates

Context
We should set up our pipelines to start updating the language family CNB level buildpack.toml anytime there is a new version of one of its Implementation Paketo Buildpacks.
Proposal
Attempt to use Github Actions to start auto-PRing implementation CNB versions in the Paketo Node.js Language family buildpacks. If pipelines pass, the update PR should be automatically merged.
Acceptance Criteria
GIVEN any implementation CNB in a language family CNB(Node.js) is updated
THEN I see that there is a PR to the language family CNB with the implementation CNB updates
AND when the pipelines pass
THEN I see that the PR has been auto-merged
Notes
Here is a concourse task that is used bump cnb dependencies:
https://github.com/cloudfoundry/buildpacks-ci/tree/ce29842908d77018051422560db38df9fdbfa33c/tasks/cnb/update-cnb-dependency

Tasks:

[ ] Workflow that sends repository dispatch webhook the the nodejs repo
[ ] Workflow that responds to repository dispatch event and updates buildpack.toml with PR
[ ] If the PR checks pass, auto-merge the PR

Looks great! The latest release of the Node.js Paketo Buildpack (https://github.com/paketo-buildpacks/nodejs/releases/tag/v0.0.2) has the latest versions of the Node.js implementation buildpacks. Closing this.


⚠ Bofrost.de has degraded performance

In 6461166, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1163 ms

Resolved: Bofrost.de performance has improved in 6cf0a6e after 55 minutes.


Add AMI images to AWS and GCP marketplaces

ie AWS + Tensorflow + GPU + Docker
ie. predict

Update:  AWS AMI is awaiting approval from AWS Marketplace folks.  Currently iterating with them.