error: constructor SQLitePluginPackage in class SQLitePluginPackage cannot be applied to given types

Hi,
When i try to install the plugin on a fresh android project, I got the following error:
MainActivity.java:40: error: constructor SQLitePluginPackage in class SQLitePluginPackage cannot be applied to given types;
			new SQLitePluginPackage()
			^
  required: Activity
  found: no arguments
  reason: actual and formal argument lists differ in length
1 error
:app:compileDebugJavaWithJavac FAILED

and this is the dependencies:
"react": "15.2.0",
"react-native": "0.28.0",
"react-native-sqlite-storage": "^3.0.0"
Any Idea about the cause of the issue?
Thank you.

Hello @andpor and @Moussawi7 !
I had the same issue and it turns out there's a small thing missing in the README.md. I submitted a pull request to clear this up.
In your MainActivity.java you should pass
this
to the SQLitePluginPackage :
    @Override
    protected List<ReactPackage> getPackages() {
        return Arrays.<ReactPackage>asList(
            new MainReactPackage(),
            new SQLitePluginPackage(this)
        );
    }

That worked for me, hope it helps and thanks @andpor for the great library !

Oh @RakanNimer ,
cool, it worked finally :).

Thank you @RakanNimer .
your fix solved my issue.

The version of Readme relates to the upcoming release of the code which deprecates the Activity based construction in favor of empty constructor. If you use the latest code from the repo - not released to npm yet (3.1.0) you should be able use an empty constructor. So pull request is not needed..


Where is the parser generator ??

Implement the parser generator

A basic setup for parsing has been added. But that cannot be called as a Parser generator, you still have to write the interaction between each token type individually.


way to handle state change of a element in the infinte scroll.

i'm trying to implement a post page. Each post(group of 10) is being loaded using infinite scroll. when i comment or like a post how to handle the performance or displaying of that comment under that post, like facebook. can anyone give me a suggestion.

If you're using Flux or Redux, the state of your loaded data becomes more long-term than the life of your component. Look into using a state container like Redux, it may help you with this problem in your app on a much larger scale than this one issue. Here's a few examples of how you might do it in a Redux-based app:
Post page
<InfiniteScroll>
    {posts.map((post, i) => ( // posts from the redux state
        <Post post={post} key={i} /> // Better to make a Post component holding it's own logic for post content, liking and comments
    ))};
</InfiniteScroll>

Post component

    {post.message}
    {post.comments.length &&

        {post.comments.map((comment, i) => {comment.message})}

}
    <button onClick={() => this.props.postActions.loadComments(post.id)}>View Comments</button>

Post actions
const loadComments = post_id => {
    return dispatch => {
        xhrToLoadTheComments()
            .then(comments => dispatch({ type: POST_COMMENTS, payload: { post_id, comments } });
    };
};

Post reducer
case POST_COMMENTS:
    posts: state.posts.map(post => {
        if(post.id == action.payload.post_id) {
            post.comments = acton.payload.comments;
        }
        return post;
    })

im using flux as state container, if i scroll to 50th post and write a  comment on 50th post , still it loops over 49 posts and then it is displays the new updated object of 50th post right..? its a slight performance issue right?

It would loop over every post, but if you were worried about that kind of level of performance, your <Post> component could load it's comments, likes etc. directly from the state.

you have any idea how facebook does it? :)
On Jul 22, 2017 4:23 PM, "Dan Bovey"<EMAIL_ADDRESS>wrote:

It would loop over every post, but if you were worried about that kind of
level of performance, your  component could load it's comments,
likes etc. directly from the state.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CassetteRocks/react-infinite-scroller/issues/98#issuecomment-317175434,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATR8SdY8YivSHXJlm01bM0oOf0eIhSfHks5sQdSngaJpZM4OgFRq
.


Fixed updating of entity with quoted identifier join column

When entity has JoinColumn as its identifier, and this JoinColumn is quoted, the identifier is not quoted when building UPDATE query.
Quoting works fine when entity is inserted or selected...

@lcobucci can you take over the merging and merging upstream here?

@Ocramius will do

@janlanger I've synced the branch with the latest state of v2.6 and simplified things to have a single test to port to master. I was going to override your branch but didn't have access so had to open a new PR (#7093) to solve that, which will be merged when we have everything green.
Thanks for your contribution!


Failed to find base.js

Hello @moea,
I am writing here because I need some help with the following error and maybe you know a bit better what is going on. I basically get:
{
  "errorMessage": "Cannot find module './out/goog/bootstrap/nodejs.js'",
  "errorType": "Error",
  "stackTrace": [
    "Function.Module._load (module.js:417:25)",
    "Module.require (module.js:497:17)",
    "require (internal/module.js:20:19)",
    "Object.<anonymous> (/var/task/index.js:1:63)",
    "Module._compile (module.js:570:32)",
    "Object.Module._extensions..js (module.js:579:10)",
    "Module.load (module.js:487:32)",
    "tryModuleLoad (module.js:446:12)",
    "Function.Module._load (module.js:438:3)"
  ]
}

If I invoke the deployed lambda. My configuration is the default:
{:source-paths ["src"]
 :compiler {:language-in :ecmascript5
            :optimizations :none
            :source-map false
            :verbose true}}

I checked, and the file is in out. Any hint is appreciated :smile: Maybe I am missing some AWS configuration?

In your zip file you have an index.js, and there's a sibling directory called out which has the right files in it?  What happens if you unzip the deployed zip file locally, in a temporary directory, and run node index.js?  If the project is up somewhere, I'm happy to look at it.

Is this the same issue as the PR you opened about directories not having the executable bit set?  I could see that affecting this, maybe.

Yep. I am debugging hard, seems like permissions are not set when I execute the lumo build script from inside sls deploy (I know it does not make sense, still digging). If I launch it manually the permissions are set correctly to 755.

Oh, there is a bug, but it is in applyZipExclude, where it seems JSZip does not set permissions properly :man_facepalming:


Modal-backdrop not removing with only 1 modal.

First I have confirmed that by HTML does not have multiple root elements. I have the following code...
app.controller('SampleModalController', function($scope, close, Restangular, graphService, d32) {
var _this = this
$scope.dismissModal = function(result) {
    close(result, 200); // close, but give 200ms for bootstrap to animate
};
this.types = [];
this.items = graphService.getGraph().nodes;
this.nodes = this.items.map(function(item, index, items){
    return item.title
});
this.onselect = function(selected){
    console.log("Selected");
    d32.recenter(selected);
    close();
}
Restangular.oneUrl('nodeType', '/node/types').get().then(function(data){
    _this.types = data.types;
})
});

Problem is when I call onselect the modal goes away but the backdrop stays. What am I missing?

I have the same issue when I upgrade Bootstrap from v3.3.1 to v3.3.5.
It is fine when I use Bootstrap v3.3.1.

+1

Same issue with Bootstrap v3.3.5.
With Bootstrap v3.3.1 I get the backdrop on TOP of my modal.

My workaround was to just manually remove the backdrop when the modal closed:
modal.close.then(function(result) {
            $('.modal-backdrop').remove();
}

:+1:  @SaintPeter  worked for me

@SaintPeter worked for me too, thanks!

@SaintPeter :+1:

+1

There is also a nicer solution with 0.12 https://github.com/dwmkerr/angular-modal-service/releases/tag/v0.12.0, you can do this with a preClose hook:
ModalService.showModal({
  templateUrl: "some/bootstrap-template.html",
  controller: "SomeController",
  preClose: (modal) => { modal.element.modal('hide'); }
}).then(function(modal) {
  // etc
});


Unable to predict prices

Things to check

Have you forced a refresh in your browser (e.g. ctrl+F5 in Chrome/Firefox)?

no, on mobile

Have you made sure the first time buyer option is correct? If you're unsure, try it both ways

yes

Have you time-travelled this week? Travelling backwards resets the prices, and therefore you must not put prices in from both before & after the time-travel

no

Describe the bug
There are no predictions in the output.
To Reproduce
Steps to reproduce the behavior:

Input prices
Scroll down to chart.
See no output

Permalink to your prices
https://turnipprophet.io/?prices=<IP_ADDRESS>.72.65.......
Expected behavior
Usually there is a chart with price predictions. It’s not there.
Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Device: iPhone 12 Pro
OS: iOS 14.4.2
Browser: Safari
Version: ?

Additional context
Add any other context about the problem here.
Second day of this happening. I ran through the issue checklist and nothing is wrong on my end.

You sure you didn't swap Monday AM/PM? Sure looks like a Decreasing pattern.


Long picklist values overlap

Long picklist values overlap:

We fixed the issue by adding "white-space: nowrap" and also limiting the height so that horizontal scroll is visible:

This is how it looks now with that fix:

But I think truncating values and showing the full value in a tooltip will also work.

Hi there - We're having this same exact issue with long text strings, but I'm unable to update the code in our ADO instance. Is there a published fix with the latest version? Any guidance on helping us get this fix in place would be appreciated!

@programaka  thanks for the suggested fix. It would be appreciated if you would push this fix as a Pull Request so we can improve the extension.

@madkoo It looks like this issue has been resolved, possibly by a recent update in Azure DevOps or as part of another fix in this repository. So, I'm not going to push my fix. Long values are now truncated, and you can see the full value in a tooltip, which looks good to me. I will close the issue.

@madkoo It looks like this issue has been resolved, possibly by a recent update in Azure DevOps or as part of another fix in this repository. So, I'm not going to push my fix. Long values are now truncated, and you can see the full value in a tooltip, which looks good to me. I will close the issue.


⚠ DDoS-Relay US-W-hil-2 has degraded performance

In 2319fe2, DDoS-Relay US-W-hil-2 (http://<IP_ADDRESS>:42069/;csv) experienced degraded performance:

HTTP code: 200
Response time: 31 ms

Resolved: DDoS-Relay US-W-hil-2 performance has improved in f461b75 after 5 minutes.


Cannot run in Podman rootless

Fail to run with Podman & Quadlet

This is a: Run issue
Details with Docker log

When I try to launch the container, it fail and restart. The log tell me that :
cp: cannot create special file '/opt/unbound/etc/unbound/dev/random': Operation not permitted
cp: cannot create special file '/opt/unbound/etc/unbound/dev/urandom': Operation not permitted
cp: cannot create special file '/opt/unbound/etc/unbound/dev/null': Operation not permitted

Related Issues

[X ] I have searched this repository/Pi-hole official repository/Pi-hole forums for existing issues and pull requests that look similar

How to reproduce the issue

Environment data

Operating System: Fedora Silverblue latest
Hardware: PC
Kernel Architecture: amd64
Docker Install Info and version:

Software source: official podman package included in fedora
Supplimentary Software: quadlet, but I doubt it's related

Hardware architecture: X86-64
Docker Image Tag: latest

My pihole-unbound.container file look like that :

[Container]
AutoUpdate=registry
ContainerName=pihole-unbound
Environment=TZ=Europe/Paris WEBPASSWORD=hCAmrFah7qHzmCFPX8dwkno63DqjBKec REV_SERVER=false PIHOLE_DNS_=<IP_ADDRESS>#5335 DNSSEC="true" FTLCONF_LOCAL_IPV4=_MyIPv4_
Image=docker.io/rlabinc/pihole-unbound:latest
PublishPort=<IP_ADDRESS>:53:53/tcp
PublishPort=<IP_ADDRESS>:53:53/udp
PublishPort=<IP_ADDRESS>:9080:80/tcp
PublishPort=<IP_ADDRESS>:53:53/tcp
PublishPort=<IP_ADDRESS>:53:53/udp
PublishPort=<IP_ADDRESS>:9080:80/tcp
Volume=/var/srv/pihole/configs/pihole:/etc/pihole:Z
Volume=/var/srv/pihole/configs/dnsmasq:/etc/dnsmasq.d:Z
#Volume=/var/srv/pihole/configs/unbound:/opt/unbound/etc/unbound:Z

[Service]
Restart=always

[Install]
WantedBy=default.target

any additional info to help reproduce
Weirdly, the other images from cbcrowe or mariomare22 seems to work, but yours seems more up to date and well maintained.
It seems to be a permission problem, probably related to the fact podman run rootless?

Upload the unbound log file

These common fixes didn't work for my issue

[X ] I have tried removing/destroying my container, and re-creating a new container
[X ] I have tried fresh volume data by backing up and moving/removing the old volume data
[X ] I have tried running the stock docker run example(s) in the readme (removing any customizations I added)
[ ] I have tried a newer or older version of Docker Pi-hole (depending what version the issue started in for me)
[X ] I have tried running without my volume data mounts to eliminate volumes as the cause
[X ] I have tried running official Pi-hole docker image to check if it works there

If the above debugging / fixes revealed any new information note it here.
Add any other debugging steps you've taken or theories on root cause that may help.
Thanks you a lot for your work!

Hi @Froggy232, I'm not familiar with Podman (or Quadlet). It seems like the below line from unbound.sh creating the issue.
cp -a /dev/random /dev/urandom /dev/null /opt/unbound/etc/unbound/dev/

This is some kind of permission issue (my guess). I think it's worth checking out this issue https://github.com/MatthewVance/unbound-docker/issues/22
Specially https://github.com/MatthewVance/unbound-docker/issues/22#issuecomment-1637097448
If it's possible to fix through any changes let me know, I'll be happy to help.

Hello, I am getting the same errors running the container on a Mikrotik router, which has its own container implementation. In fact the same error happens running directly the MatthewVance unbound docker image, but on the other hand the unbound image of klutchell is working fine. Any idea of what are those 3 files doing?

@riccardo1991 Thanks for the update, it'll help more users!
As for what are those 3 files doing?
In this specific context, the Unbound DNS resolver is being configured within a chroot environment. A chroot environment limits the access of a process and its children to a specific directory tree. By copying these files into the chroot environment, Unbound can access these random number generators and the /dev/null device, which are crucial for its operation. By copying these files, the script ensures that Unbound has the necessary resources to function correctly and securely within the chroot environment.


feat: add UploadMetadata.actual_commit_hash property and retrieve it from git

@art049 you can review the aggregated file changes directly, I will squash in a single commit at the end


Update console-virtual-terminal-sequences.md with Cursor Shape

Fixes #140
I've filled in the parts of the chart I can populate based on the report in this issue.
I'm not sure if  or ? are the equivalent of SP?

Docs Build status updates of commit e98cee0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/console-virtual-terminal-sequences.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

According to https://invisible-island.net/xterm/ctlseqs/ctlseqs.html and https://github.com/microsoft/terminal/blob/5238235268e32dc6ad1bf2c62b44a28eb16a272b/src/terminal/parser/OutputStateMachineEngine.hpp#L138, the code is DECSCUSR.

Docs Build status updates of commit f1788cb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/console-virtual-terminal-sequences.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

I added the clarification for SP q and the DECSCUSR code.
I also added an edit for another repo issue that concerns this documentation.

Docs Build status updates of commit 23b1731:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/console-virtual-terminal-sequences.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@DHowett should we add https://github.com/MicrosoftDocs/Console-Docs/pull/259 into this PR?

Nah. If we merge both of them, Git will handle making sure the final product contains both changes. No need to pre-combine them!


[CMake] Don't pass -embed-bitcode to module generation commands.

These are the commands Pete added in #5472, doing slightly more work by compiling Swift sources twice in order to start building downstream libraries sooner.
Really, we should diagnose when -embed-bitcode is passed here, instead of generating nonsense commands and then falling over. I filed SR-3352 for that.
rdar://problem/29537164

@swift-ci Please test

@erg, @cooperp, can you review this?

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 0afe00b70762fc47ae3f0fcf15c69e588103990e
Test requested by - @jrose-apple

Ah, i missed that.  Looks like a very reasonable change so LGTM.

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 0afe00b70762fc47ae3f0fcf15c69e588103990e
Test requested by - @jrose-apple

@swift-ci Please test


Version checking of required packages: node, docker and docker-compose

When setting up a new Symbol testnet node I ran into a version issue of docker-compose.
The default docker-compose on my Ubuntu 18.04 LTS was apparently not the version symbol-bootstrap expected, because docker-compose version complained about the format of the yml file generated by symbol-bootstrap. Trying to start the node with symbol-bootstrap does not work and exits in that case.
So I had to manually upgrade docker-compose to 1.27.4, to solve the issue.
The symbol-bootstrap docs mentions three required packages: node, docker and docker-compose.
It would be an improvement if docker-compose would be able to

check the installed versions of those three packages
provide the docker and docker-compose versions also in the output of the -v command, as is already done for node.
and if the required versions are not present: be able to indicate that to the user and not run at all before the user fixes it by upgrading the relevant package(s)

Thanks for considering... it would help future node owners.

@fboucquez If you tell me the required versions for docker and docker-compose I'll add the info to the docs.

@fboucquez If you tell me the required versions for docker and docker-compose I'll add the info to the docs.

I think I ran into the same issue on my Ubuntu 18.04, my docker-compose 1.25 crashed with:
AttributeError: module 'six' has no attribute 'ensure_text'

Is this the same thing you saw, @realgarp ?

I think I ran into the same issue on my Ubuntu 18.04, my docker-compose 1.25 crashed with:
AttributeError: module 'six' has no attribute 'ensure_text'

Is this the same thing you saw, @realgarp ?

From a new folder:
$ docker --version
Docker version 19.03.8, build afacb8b7f0

$docker-compose --version
docker-compose version 1.25.0, build unknown

$ symbol-bootstrap --version
symbol-bootstrap/0.4.0 linux-x64 node-v15.0.1

$ symbol-bootstrap start -p bootstrap -a full -t test
                            _               _           _                       _           _
  ___   _   _   _ __ ___   | |__     ___   | |         | |__     ___     ___   | |_   ___  | |_   _ __    __ _   _ __
 / __| | | | | | '_ ` _ \  | '_ \   / _ \  | |  _____  | '_ \   / _ \   / _ \  | __| / __| | __| | '__|  / _` | | '_ \
 \__ \ | |_| | | | | | | | | |_) | | (_) | | | |_____| | |_) | | (_) | | (_) | | |_  \__ \ | |_  | |    | (_| | | |_) |
 |___/  \__, | |_| |_| |_| |_.__/   \___/  |_|         |_.__/   \___/   \___/   \__| |___/  \__| |_|     \__,_| | .__/
        |___/                                                                                |_|
2021-01-18T10:44:57.046Z info     Generating config from preset bootstrap
2021-01-18T10:44:57.048Z info     Assembly preset full
2021-01-18T10:44:57.292Z info     User for docker resolved: 1000:1000
2021-01-18T10:44:57.294Z info     Running image using Exec: symbolplatform/symbol-server:tools-gcc-<IP_ADDRESS> bash createCertificate.sh
2021-01-18T10:44:57.305Z info     Running image using Exec: symbolplatform/symbol-server:tools-gcc-<IP_ADDRESS> bash createCertificate.sh
2021-01-18T10:44:57.315Z info     Running image using Exec: symbolplatform/symbol-server:tools-gcc-<IP_ADDRESS> bash createCertificate.sh
2021-01-18T10:44:58.124Z info     Certificate for node peer-node-0 created
2021-01-18T10:44:58.154Z info     Certificate for node api-node-0 created
2021-01-18T10:44:58.283Z info     Certificate for node peer-node-1 created
2021-01-18T10:44:58.425Z info     Non-voting node api-node-0.
2021-01-18T10:44:58.426Z info     Running image using Exec: symbolplatform/symbol-server:tools-gcc-<IP_ADDRESS> /usr/catapult/bin/catapult.tools.votingkey --secret=HIDDEN_KEY --startEpoch=1 --endEpoch=26280 --output=/votingKeys/private_key_tree1.dat
2021-01-18T10:44:58.432Z info     Running image using Exec: symbolplatform/symbol-server:tools-gcc-<IP_ADDRESS> /usr/catapult/bin/catapult.tools.votingkey --secret=HIDDEN_KEY --startEpoch=1 --endEpoch=26280 --output=/votingKeys/private_key_tree1.dat
2021-01-18T10:45:03.171Z info     Voting key executed for node peer-node-0!
2021-01-18T10:45:03.321Z info     Voting key executed for node peer-node-1!
2021-01-18T10:45:03.466Z info     Voting Key Link Transaction Short Key V1 resolved
2021-01-18T10:45:03.479Z info     Voting Key Link Transaction Short Key V1 resolved
2021-01-18T10:45:03.506Z info     Running image using Exec: symbolplatform/symbol-server:tools-gcc-<IP_ADDRESS> /usr/catapult/bin/catapult.tools.nemgen --resources=/userconfig --nemesisProperties=./userconfig/block-properties-file.properties
2021-01-18T10:45:04.192Z info     Nemgen executed!!!!
2021-01-18T10:45:04.221Z info     Configuration generated.
2021-01-18T10:45:04.248Z info     creating docker-compose.yml from last used profile.
2021-01-18T10:45:04.256Z info     docker-compose.yml file created /home/xartigas/networks/test/docker/docker-compose.yml
2021-01-18T10:45:04.271Z info     Spawn command: docker-compose -f test/docker/docker-compose.yml up --remove-orphans
Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 11, in <module>
    load_entry_point('docker-compose==1.25.0', 'console_scripts', 'docker-compose')()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 72, in main
    command()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 125, in perform_command
    project = project_from_options('.', options)
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 53, in project_from_options
    return get_project(
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 151, in get_project
    return Project.from_config(
  File "/usr/lib/python3/dist-packages/compose/project.py", line 102, in from_config
    service_networks = get_networks(service_dict, networks)
  File "/usr/lib/python3/dist-packages/compose/network.py", line 320, in get_networks
    networks[network.true_name] = netdef
  File "/usr/lib/python3/dist-packages/compose/network.py", line 125, in true_name
    self._set_legacy_flag()
  File "/usr/lib/python3/dist-packages/compose/network.py", line 146, in _set_legacy_flag
    data = self.inspect(legacy=True)
  File "/usr/lib/python3/dist-packages/compose/network.py", line 106, in inspect
    return self.client.inspect_network(self.legacy_full_name)
  File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 19, in wrapped
    return f(self, resource_id, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/docker/api/network.py", line 212, in inspect_network
    res = self._get(url, params=params)
  File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 46, in inner
    return f(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 230, in _get
    return self.get(url, **self._set_request_timeout(kwargs))
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 546, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 519, in request
    prep = self.prepare_request(req)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 452, in prepare_request
    p.prepare(
  File "/usr/lib/python3/dist-packages/requests/models.py", line 313, in prepare
    self.prepare_url(url, params)
  File "/usr/lib/python3/dist-packages/requests/models.py", line 379, in prepare_url
    scheme, auth, host, port, path, query, fragment = parse_url(url)
  File "/usr/lib/python3/dist-packages/urllib3/util/url.py", line 407, in parse_url
    ensure_func = six.ensure_text
AttributeError: module 'six' has no attribute 'ensure_text'
Process exited with code 1 and signal null
Process closed with code 1

From a new folder:
$ docker --version
Docker version 19.03.8, build afacb8b7f0

$docker-compose --version
docker-compose version 1.25.0, build unknown

$ symbol-bootstrap --version
symbol-bootstrap/0.4.0 linux-x64 node-v15.0.1

$ symbol-bootstrap start -p bootstrap -a full -t test
                            _               _           _                       _           _
  ___   _   _   _ __ ___   | |__     ___   | |         | |__     ___     ___   | |_   ___  | |_   _ __    __ _   _ __
 / __| | | | | | '_ ` _ \  | '_ \   / _ \  | |  _____  | '_ \   / _ \   / _ \  | __| / __| | __| | '__|  / _` | | '_ \
 \__ \ | |_| | | | | | | | | |_) | | (_) | | | |_____| | |_) | | (_) | | (_) | | |_  \__ \ | |_  | |    | (_| | | |_) |
 |___/  \__, | |_| |_| |_| |_.__/   \___/  |_|         |_.__/   \___/   \___/   \__| |___/  \__| |_|     \__,_| | .__/
        |___/                                                                                |_|
2021-01-18T10:44:57.046Z info     Generating config from preset bootstrap
2021-01-18T10:44:57.048Z info     Assembly preset full
2021-01-18T10:44:57.292Z info     User for docker resolved: 1000:1000
2021-01-18T10:44:57.294Z info     Running image using Exec: symbolplatform/symbol-server:tools-gcc-<IP_ADDRESS> bash createCertificate.sh
2021-01-18T10:44:57.305Z info     Running image using Exec: symbolplatform/symbol-server:tools-gcc-<IP_ADDRESS> bash createCertificate.sh
2021-01-18T10:44:57.315Z info     Running image using Exec: symbolplatform/symbol-server:tools-gcc-<IP_ADDRESS> bash createCertificate.sh
2021-01-18T10:44:58.124Z info     Certificate for node peer-node-0 created
2021-01-18T10:44:58.154Z info     Certificate for node api-node-0 created
2021-01-18T10:44:58.283Z info     Certificate for node peer-node-1 created
2021-01-18T10:44:58.425Z info     Non-voting node api-node-0.
2021-01-18T10:44:58.426Z info     Running image using Exec: symbolplatform/symbol-server:tools-gcc-<IP_ADDRESS> /usr/catapult/bin/catapult.tools.votingkey --secret=HIDDEN_KEY --startEpoch=1 --endEpoch=26280 --output=/votingKeys/private_key_tree1.dat
2021-01-18T10:44:58.432Z info     Running image using Exec: symbolplatform/symbol-server:tools-gcc-<IP_ADDRESS> /usr/catapult/bin/catapult.tools.votingkey --secret=HIDDEN_KEY --startEpoch=1 --endEpoch=26280 --output=/votingKeys/private_key_tree1.dat
2021-01-18T10:45:03.171Z info     Voting key executed for node peer-node-0!
2021-01-18T10:45:03.321Z info     Voting key executed for node peer-node-1!
2021-01-18T10:45:03.466Z info     Voting Key Link Transaction Short Key V1 resolved
2021-01-18T10:45:03.479Z info     Voting Key Link Transaction Short Key V1 resolved
2021-01-18T10:45:03.506Z info     Running image using Exec: symbolplatform/symbol-server:tools-gcc-<IP_ADDRESS> /usr/catapult/bin/catapult.tools.nemgen --resources=/userconfig --nemesisProperties=./userconfig/block-properties-file.properties
2021-01-18T10:45:04.192Z info     Nemgen executed!!!!
2021-01-18T10:45:04.221Z info     Configuration generated.
2021-01-18T10:45:04.248Z info     creating docker-compose.yml from last used profile.
2021-01-18T10:45:04.256Z info     docker-compose.yml file created /home/xartigas/networks/test/docker/docker-compose.yml
2021-01-18T10:45:04.271Z info     Spawn command: docker-compose -f test/docker/docker-compose.yml up --remove-orphans
Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 11, in <module>
    load_entry_point('docker-compose==1.25.0', 'console_scripts', 'docker-compose')()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 72, in main
    command()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 125, in perform_command
    project = project_from_options('.', options)
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 53, in project_from_options
    return get_project(
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 151, in get_project
    return Project.from_config(
  File "/usr/lib/python3/dist-packages/compose/project.py", line 102, in from_config
    service_networks = get_networks(service_dict, networks)
  File "/usr/lib/python3/dist-packages/compose/network.py", line 320, in get_networks
    networks[network.true_name] = netdef
  File "/usr/lib/python3/dist-packages/compose/network.py", line 125, in true_name
    self._set_legacy_flag()
  File "/usr/lib/python3/dist-packages/compose/network.py", line 146, in _set_legacy_flag
    data = self.inspect(legacy=True)
  File "/usr/lib/python3/dist-packages/compose/network.py", line 106, in inspect
    return self.client.inspect_network(self.legacy_full_name)
  File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 19, in wrapped
    return f(self, resource_id, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/docker/api/network.py", line 212, in inspect_network
    res = self._get(url, params=params)
  File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 46, in inner
    return f(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 230, in _get
    return self.get(url, **self._set_request_timeout(kwargs))
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 546, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 519, in request
    prep = self.prepare_request(req)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 452, in prepare_request
    p.prepare(
  File "/usr/lib/python3/dist-packages/requests/models.py", line 313, in prepare
    self.prepare_url(url, params)
  File "/usr/lib/python3/dist-packages/requests/models.py", line 379, in prepare_url
    scheme, auth, host, port, path, query, fragment = parse_url(url)
  File "/usr/lib/python3/dist-packages/urllib3/util/url.py", line 407, in parse_url
    ensure_func = six.ensure_text
AttributeError: module 'six' has no attribute 'ensure_text'
Process exited with code 1 and signal null
Process closed with code 1

I think I ran into the same issue on my Ubuntu 18.04, my docker-compose 1.25 crashed with:
AttributeError: module 'six' has no attribute 'ensure_text'

Is this the same thing you saw, @realgarp ?

In my case the older version of docker-compose complained about the added "version" line in the yml file

I think I ran into the same issue on my Ubuntu 18.04, my docker-compose 1.25 crashed with:
AttributeError: module 'six' has no attribute 'ensure_text'

Is this the same thing you saw, @realgarp ?

In my case the older version of docker-compose complained about the added "version" line in the yml file

Yes, Erik error is the version problem, fixed with docker-compose version 1.25.0.
Unsure about Xavi's error. The stack trace is from docker compose's python. I haven't seen it before.

Yes, Erik error is the version problem, fixed with docker-compose version 1.25.0.
Unsure about Xavi's error. The stack trace is from docker compose's python. I haven't seen it before.

Verify command added to 1.0.4


Tutorial of LOJ-1027 A Dangerous Maze

Merged. Thank your for your contribution. :cake:

Welcome. Very much happy to contribute😊
On Fri, Apr 23, 2021, 3:45 PM rebornplusplus @.***>
wrote:

Merged. Thank your for your contribution. 🍰
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lightoj-dev/problem-tutorials/pull/236#issuecomment-825539381,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARJHF2NRSQK6A3RORS44ZNLTKE6UFANCNFSM4232GIJA
.


spankbang.com only lists m3u8 format

The only format listed for spankbang videos is m3u8. Where are the other formats?
$ ./youtube-dl.exe https://spankbang.com/3nr9m/video/christmas+gift+mandy+muse --list-formats
[SpankBang] 3nr9m: Downloading webpage
[SpankBang] 3nr9m: Downloading stream JSON
[info] Available formats for 3nr9m:
format code  extension  resolution note
m3u8         m3u8       unknown

Any updates on this issue?

Closing to open an issue in the correct format. See #23307


增加生成二维码功能，修复一些bug

Thank u so much for your contribution :D.
if you have any other idea, welcome to contribute.


Add SPM support

Fixes #210. It depends on https://github.com/mattrubin/Base32/pull/3. The dependency path still points my fork, since I figured you might want to test it before merging. When https://github.com/mattrubin/Base32/pull/3 is merged, you can simply update the path to your repo and it should work :).

Thanks for adding this!

Travis checks aren't running because Travis has severely limited their OSS offering, and Codecov is failing because only the Travis jobs test the non-CryptoKit code paths. I'm merging anyways instead of waiting for Travis support to get back to me, and will migrate more jobs to GitHub actions shortly.


Changing The Add author page

It will have to be changed so that all the new fields are added. So a password field, screenname etc.
It will have to hash the password entered and store the hash not the password

The template still has to be changed

Changed the admin page now too. Will not close till the rest of the author stuff is done


Regression for certain versions of Docker

Is it possible to setup a set of regression tests across different version of Dockers?
For example, Docker 1.7-rc1 broke Swarm 0.3.0 and we made changes. But how about Docker 1.6.0?
Not sure if there's a kind of backward compatibility plan like this?

https://github.com/docker/swarm/blob/master/test/regression/run.sh

We just need to run it automatically in Jenkins somehow

@aluzzardi is it too much to loop over these sets of integration tests for 2 current version of engines?
If you're OK, I'll create a PR.


Node 22 broke master

Updating to Node 22 (#1337) broke some end-to-end tests.
OIDC e2e tests
https://github.com/getodk/central-backend/actions/runs/12247137794/job/34164411356
2024-12-10T00:52:32.2249294Z   1 failed
2024-12-10T00:52:32.2250377Z     [webkit] › oidc-login.spec.js:31:5 › happy › can log in (no next param) ────────────────────────
2024-12-10T00:52:32.2251085Z   20 passed (1.0m)
2024-12-10T00:52:32.2251685Z [HPM] server close signal received: closing proxy server

s3 e2e tests
These appear to have been broken because of an assertion on the stderr output of CLI commands.  stderr output has changed due to node emitting new deprecation warnings, e.g.:
(node:999316) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:999316) [DEP0055] DeprecationWarning: The `util.isRegExp` API is deprecated. Please use `arg instanceof RegExp` instead.
(node:999316) [DEP0047] DeprecationWarning: The `util.isDate` API is deprecated.  Please use `arg instanceof Date` instead.

https://github.com/getodk/central-backend/actions/runs/12247137790/job/34164411187
 1) s3 support
       should handle s3 connection failing:
     AssertionError: expected 'Command failed: exec node lib/bin/s3 upload-pending\n(node:4522) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.\n(Use `node --trace-deprecation ...` to show where the warning was created)\n(node:4522) [DEP0055] DeprecationWarning: The `util.isRegExp` API is deprecated. Please use `arg instanceof RegExp` instead.\n(node:4522) [DEP0047] DeprecationWarning: The `util.isDate` API is deprecated.  Please use `arg instanceof Date` instead.\nAggregateError [ECONNREFUSED]: \n    at internalConnectMultiple (node:net:1128:18)\n    at afterConnectMultiple (node:net:1693:7) {\n  code: \'ECONNREFUSED\',\n  [errors]: [\n    Error: connect ECONNREFUSED ::1:9000\n        at createConnectionError (node:net:1656:14)\n        at afterConnectMultiple (node:net:1686:16) {\n      errno: -111,\n      code: \'ECONNREFUSED\',\n      syscall: \'connect\',\n      address: \'::1\',\n      port: 9000\n    },\n    Error: connect ECONNREFUSED <IP_ADDRESS>:9000\n        at createConnectionError (node:net:1656:14)\n        at afterConnectMultiple (node:net:1686:16) {\n      errno: -111,\n      code: \'ECONNREFUSED\',\n      syscall: \'connect\',\n      address: \'<IP_ADDRESS>\',\n      port: 9000\n    }\n  ]\n}node:internal/process/promises:394\n    triggerUncaughtException(err, true /* fromPromise */);\n    ^\n\nAggregateError [ECONNREFUSED]: \n    at internalConnectMultiple (node:net:1128:18)\n    at afterConnectMultiple (node:net:1693:7) {\n  code: \'ECONNREFUSED\',\n  [errors]: [\n    Error: connect ECONNREFUSED ::1:9000\n        at createConnectionError (node:net:1656:14)\n        at afterConnectMultiple (node:net:1686:16) {\n      errno: -111,\n      code: \'ECONNREFUSED\',\n      syscall: \'connect\',\n      address: \'::1\',\n      port: 9000\n    },\n    Error: connect ECONNREFUSED <IP_ADDRESS>:9000\n        at createConnectionError (node:net:1656:14)\n        at afterConnectMultiple (node:net:1686:16) {\n      errno: -111,\n      code: \'ECONNREFUSED\',\n      syscall: \'connect\',\n      address: \'<IP_ADDRESS>\',\n      port: 9000\n    }\n  ]\n}\n\nNode.js v22.12.0\n' to match /Command failed: exec node lib\/bin\/s3 upload-pending\n(AggregateError.*)?Error: (connect ECONNREFUSED|read ECONNRESET|socket hang up|write EPIPE)/s
      at Assertion.fail (/home/runner/work/central-backend/central-backend/node_modules/should/cjs/should.js:275:17)
      at Assertion.value [as match] (/home/runner/work/central-backend/central-backend/node_modules/should/cjs/should.js:356:19)
      at expectRejectionFrom (test.js:441:46)
      at async Context.<anonymous> (test.js:250:5)

OIDC Update
Re-running the OIDC e2e tests on master made them pass, so this test failure looks intermittent.  It may be more frequent on node 22 than it was on node 20.  This will take a bit of time to understand.


Honour props check now works correctly for fragment components.

Problem:
With a component that honours props.style but inside a fragment, it should be possible to update an instance of the component to resize/move it.
Fix:
This extends the coverage of the componentHonoursProps* functions to include delving inside root fragments.
As well as a slight change to the DOM walker to check for descendant of valid paths not just the exact valid paths.
Commit Details:

Copied isDescendantOf optimisation to isDescendantOfOrEqualTo.
componentHonoursPropsPosition and componentHonoursPropsSize now drill inside fragments at the root of the component.
runSelectiveDomWalker now checks for descendants of the valid paths so as to catch the content within fragments, where the fragment is at the root of a component.
Slight tweak to collectAndCreateMetadataForElement to not both collecting anything if pathsForElement is empty.

Manual Tests:
I hereby swear that:

[x] I opened a hydrogen project and it loaded
[x] I could navigate to various routes in Preview mode

Fixes #6124

Superceded by a slightly different approach.


[Bug] ElasticSearch Connector doesn't respect limit or minRelevance parameters

Context / Scenario
Steps to reproduce:

Configure Kernel Memory ElasticSearch Connector
Ingest document
Use GetSimilarListAsync and pass limit and minRelevance Parameters

Expected
Limits and minRelevance are respected with max number of result match limit parameter and minRelevance Score match passed parameter
What happened?
Limits and minRelevance are not respected.
API always return max of 15 results with any relevance score
Importance
I cannot use Kernel Memory
Platform, Language, Versions
Kernel Memory 0.94.241201.1
Relevant log output

Bug fix in the below PR
https://github.com/microsoft/kernel-memory/pull/935

@basyonic

API always return max of 15 results with any relevance score

which API do you mean here?
I left some comments in the PR, there are also bugs in the way the relevance score is handled.


Failing to instantiate PyMongo objects from @app.before_request

Hey,
I'm not sure if this is because I'm doing something wrong or there is actually an issue. I'm creating the Flask application object from a factory function located in the application.py module. In the views I try to use g.mongo.db.... to access the database operations. When I'm trying to put the PyMongo object on the flask g object it throws me an exception (see below)
applications.py
def create(extra_config=None):
    app = Flask(__name__)

    app.config.from_object('authz.default_settings')
    app.config.from_envvar('AUTHZ_SETTINGS_OVERRIDE', silent=True)

    if extra_config:
        app.config.from_object(extra_config)

    from views.api import api_endpoints
    app.register_blueprint(api_endpoints, url_prefix='/api')

    return app

web.py
from authz import application
app = application.create()

@app.before_request
def before_request():
    g.mongo = PyMongo(app)

On request the following exception is raised: http://paste.pocoo.org/show/q0lUlcRBREC1AqtjBxqm/
What am I doing wrong here? If there is a better pattern to integrate PyMongo into my modular app, can you please advise me? My requirements are:

modular views with blueprints
need to be able to create unittests for the views

PyMongo is meant to be instantiated once and then shared by all requests and threads. In my example code and in the documentation I usually do this in the same place as I create the Flask instance.
I haven't experimented with the best way to use PyMongo with app factories, but I think the only challenge is figuring out how to most conveniently return the reference to the PyMongo. I think the two best options are:

Return a tuple of (app, mongo) instead of just app
Attach the PyMongo to your app using app.mongo = mongo (or similar). I'm not sure if this is frowned upon by Flask best practices or not.

Once you have a reference to the PyMongo instance, you do not need to add a before_request or after_request handler. Flask-PyMongo adds an after_request handler for you in instances where it needs to (to return some thread-local state back to the shared pool created by PyMongo itself).
An alternative solution would be to have Flask-PyMongo not raise an exception when multiple PyMongo instances are created with the same config prefix. I'm worried that this might be dangerous if people expect them to connect to different instances (e.g. if they have changed app.config in the meantime).
Hope this helps.

(Closing now unless you want to continue this discussion or spot a flaw in my logic/approach)

Thanks for your time on explaining some possible approaches. I took a different approach and defined mongo = PyMongo() at top level in application.py and called mongo.init_app(app) in the factory function.


iOS build failed by camera plugin

use camera: ^0.5.7+3
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    /Users/praveenbhati/smartlist/smartlist/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'camera' not found
    @import camera;
     ~~~~~~~^~~~~~
    1 error generated.
    note: Using new build system
    note: Planning build
    note: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.

Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.14.6 18G84, locale en-VN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
[✓] Android Studio (version 3.5)
[✓] Connected device (1 available)
• No issues found!

Hi @VNAPNIC
can you please provide your flutter build ios --verbose ?
I see that v0.5.7+4 has been recently released (literally yesterday),
would you mind to try if the situation changes with the latest?
Thank you

@VNAPNIC
I hope you solved the problem, closing the issue.
If it's not so, please write in the comments and I will reopen it.
Thank you


Fix/mobile UI fix

Bug fixes, mainly showing some new features in mobile view, and making ui consistent with preexisting styles.
Closes #95

Nice addition to the mobile UI


Implement \copy

Need a \copy implementation.
Since \copy is its own beast, open to ideas on what can be done.

I have been working through some design ideas on what can be possible for a usql version of \copy.  In conjunction with the plans for a post 1.0 version, I have come up with what I believe will be a reasonable implementation.
The syntax for the \copy command will not follow psql, nor will any attempt be made to try to implement the SQL-esque syntax parsing that exists in psql's \copy. While this goes against some of the thinking around usql, after careful contemplation I do not find it feasible for a number of reasons (which I will layout in a different comment).
That said, here is what I think usql's copy should be:
\copy [-all] [[FROM] [TO]] [SOURCE_QUERY] [DESTINATION_QUERY]

To expand on this, each of the optional [FROM] and [TO] would support two forms:

Standard URL syntax used elsewhere (driver+transport://user:pass@host/dbname?opt1=a&opt2=b), OR:
A new "named connection" syntax that will always begin with the @ character and follows standard Go identifier rules (@my_connection)

For number 2, this will be defined via a number of ways, in the standard .usqlpass file, with the addition of the @identifier and a single space ( ) as a prefix to a line entry. This new form will also enable defining standard URL style entries. For example:
$ cat ~/.usqlpass
@my_connection postgres:*:*:*:postgres:P4ssw0rd
@my_url_dsn sqlite:/path/to/my_database.db

These entries will be parsed/loaded at startup and made available/set via a new \cset command. Entries configured in the ~/.usqlpass or created via the \cset command will be made available to the \c/\connect commands:
# list connections:
(not connected)=> \cset
@my_connection "postgres://postgres@localhost:5432"
@my_url_dsn "sqlite:/path/to/my_database.db"
# note on the above that for the named connection @my_connection above were interpolated as the _default_ values for the URL's protocol type

# create a new named connection
(not connected)=> \cset my_new_dsn postgres://user:pass@localhost/mydb?opt...

# connect to a named connection
(not connected)=> \connect @my_new_dsn
(not connected)=> \connect @my_connection

Additionally, that will required a \cunset command:
(not connected)=> \cunset my_connection

In the interest of user flexibility/and robustness, the same functionality will also be made available for the \set and \unset commands, which any identifier prefixed with @ will be treated as a named connection:
(not connected)=> \set @my_other_conn "driver://name/..."
(not connected)=> \unset @my_other_conn

Thus, the proposed \copy form will support the following:
# copy from named connection 1 to named connection 2
(not connected)=> \copy @my_new_dsn @my_connection SOURCE_QUERY DESTINATION_QUERY
(not connected)=> \copy pg:// @my_connection SOURCE_QUERY DESTINATION_QUERY

# copy from current active connection to a named connection
pg:postgres@=> \copy @my_connection SOURCE_QUERY DESTINATION_QUERY

# copy from current active connection to current active connection
pg:postgres@=> \copy SOURCE_QUERY DESTINATION_QUERY

Which brings us to the second part, the SOURCE_QUERY and DESTINATION_QUERY.  It is expected that a SOURCE_QUERY will be any well formed query (such as a SELECT query) that can be executed against the FROM connection, and returns one or more result sets with each result set having 0 or more rows. Similarly, the DESTINATION_QUERY should be a well formed query (such as an INSERT query) that can be executed against the TO connection.:
# copy ONE result set from the source query to the destination query -- more on query syntax later
pg:postgres@=> \copy 'SELECT * FROM test' 'INSERT INTO ...'

By default, the \copy command would only execute against the first result set returned by the SOURCE_QUERY, unless the optional parameter -all was specified:
# copy ALL result sets from the source query to the destination query
pg:postgres@=> \copy -all 'SELECT ...' 'INSERT ...'

The way that the SOURCE_QUERY and DESTINATION_QUERY are applied is as follows (in pseudo-code):
RESULT := TO.query SOURCE_QUERY
for
  for ROW in RESULT
    COPY_RESULT := FROM.query DESTINATION_QUERY, ROW
    if ERROR
      break
    end
    if COPY_RESULT.has_output
       write STDOUT, COPY_RESULT
    end
  end
   if not ALL
    break
  end
  RESULT = RESULT.next
  if not RESULT
    break
  end
end

In English: for every row returned from the source query, execute the destination query using the row's columns as parameters. Repeat for all result sets (if applicable).
This brings us to the next part of the proposal, which would be the addition of defined variables. Similar to using @identifier for named connections, an additional concept of defined queries is introduced, making use of the % character. These would be accessible via the % value, and created with a new \define, \end command set:
(not connected)=> \define my_select_query
(not connected)=> SELECT one AS a, two AS b FROM test
(not connected)'> \end

These defined queries would similarly have a \undefine command, and would not defer variable interpolation until time of execution. They could be used anywhere within the standard query buffer or with commands:
(not connected)=> \echo %my_select_query
SELECT one AS a, two AS b FROM test
(not connected)=> \p
Query buffer is empty
(not connected)=> %my_select_query
(not connected)-> \p
SELECT one AS a, two AS b FROM test
(not connected)-> \r
Query buffer reset (cleared).
(not connected)=> \c pg://
Connected with driver postgres (PostgreSQL 13.1 (Debian 13.1-1.pgdg100+1))
pg:postgres@=> %my_select_query \g

As with named connections, named queries could be \unset:
pg:postgres@=> \unset %my_select_query

Care will need to be taken to ensure that named queries work with standard commands and with "expected" results. For example, the \edit / \e, and \print/\p commands:
# opens query in external editor, saving the result back to the named query my_new_query
pg:postgres@=> \e %my_new_query

# prints the named query
pg:postgres@=> \p %my_new_query
SELECT * FROM my_table

While this behavior has not yet been determined for other commands, it is expected that this will be done prior to a full release of this functionality.
Named queries also have an important component, which is that they work as a full usql script when executed. That is, they will capture both SQL statements and usql commands:
(not connected)=> \define a_select_query
(not connected)=> \echo a b c
(not connected)-> \end

This has the added ability of being able to modify the results using usql's own functionality or output. For example, using the \crosstabview view, or other functionality to be introduced at a later date:
(not connected)=> \define crosstab_select_query
(not connected)=> select * from test \crosstabview v h c
(not connected)-> \end

Note that a named query will  be able to call \define within the named query itself, so long as the \end's balance. This behavior will follow the conventions established for the \if/\elif/\else/\end commands.
With the ability to define named queries, the \copy command would be able to work like the following:
(not connected)=> \copy @my_conn1 @my_conn2 %my_select_query %my_insert_query

Which brings us to interpolation and interpretation rules for the DESTINATION_QUERY. Essentially, since a \define captures the user's raw query, and execution is deferred until time execution, the final part of the proposal would be to create a new variable scope and setting a named variable for each column of the resulting query. For illustration, consider the following query:
SELECT one AS a, two AS b FROM test

The above would return two columns, a, and b. These would in turn be placed into new variable scope that could be used/referred to in the DESTINATION_QUERY. For example, one might \define a DESTINATION_QUERY with the following:
INSERT INTO destination_table (one, two) VALUES (:'a', :'b')

The above would get executed/ran in the same way as usql interpreted it as if a user was manually executing the above. In essence, this is functionally similar to executing a \gset on a row-by-row basis from the result set, and then executing the query against the second database connection.
Connection and error behavior
The expected behavior when a FROM and TO connection would be to connect to the FROM connection (which then becomes the primary connection in usql, effectively the same as a \connect. After the execution of a \copy, the connection will stay open to the FROM connection. In this way, subsequent \copy's (or other database queries) would continue to be performed against the primary database connection.
Additionally, the TO database connection would be closed immediately following the end of a \copy call. Any errors encountered would be output to usql's handler's stderr, in the same way as any other errors that are encountered. For the standard \copy command, if any errors are encountered on the secondary connection, the \copy command's execution will be terminated and the connection to the secondary database will be closed. Eventually, a variant (or option) to the \copy command might be made to force a single transaction on the second connection, or to instead provide a special query that is only executed once for all rows in a result set.

Can we start with a most basic implementation, that would only have:

4 arguments, with connection strings explicitly defined
both connections explicitly opened for the duration of the copy and closed afterwards
only target table name with columns names, not a full INSERT statement

This should not require too much work upfront and would help us figure out usability issues before jumping to adding new usql features like new variable syntax.
I also would like to first focus on what kind of interfaces need to be added to drivers to allow them to use a more efficient copy implementation, wherever possible, with a fallback to a generic loop with INSERT statements. There are some interesting examples in lib/pq and pgx:

https://github.com/lib/pq/blob/master/copy.go
https://github.com/jackc/pgx/commit/5f7d01778eaf02b0c0ef9871b934952bbf9afed5


GPU support

It would be great to support GPU withing K3Ai. K3s has some samples in the wild:
https://dev.to/mweibel/add-nvidia-gpu-support-to-k3s-with-containerd-4j17
https://github.com/rancher/k3s/issues/443
https://www.virtualthoughts.co.uk/2020/03/24/k3s-and-nvidia-jetson-nano/
https://thenewstack.io/tutorial-deploying-tensorflow-models-at-the-edge-with-nvidia-jetson-nano-and-k3s/
We should take a look and enable it through a specific tag like --gpu

Done in https://github.com/kf5i/k3ai/pull/7


Fix contradiction in “Using Minikube to Create a Cluster”

Line 73 -- Each node has a Kubelet, which is an agent for managing the node and communicating with the Kubernetes control plane
Line 85 -- The nodes communicate with the control plane using the Kubernetes API which the control plane exposes.
Hello,
I feel like these two kind of contradict.. the nodes has kubelet as an agent that helps in communicating with the kubernetes API that exists in control plane...

Assigning @sftim since he is already engaged on this
/assign @sftim

@sravyasambaturu what are your plans for this pull request? You could apply the change that I suggested.

@sravyasambaturu Hey there 👋 You'll need to push an empty commit to retrigger the checks on this PR, as they're currently failing.
Once that's done, we can look to getting this merged – the change looks fine to me.

/retitle Fix contradiction in “Using Minikube to Create a Cluster”

Hi @sravyasambaturu
This change doesn't build OK. Would you like some help in fixing it so that it does?
If you prefer to close this pull request and start a new one that makes similar changes, you can do that.

@sftim as per your suggestion created a new PR https://github.com/kubernetes/website/pull/41946
So closing this one.


⚠ Bofrost.at has degraded performance

In 175ca94, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 3007 ms

Resolved: Bofrost.at performance has improved in 22e9f11 after 20 minutes.


Package name reccomendation for source-build-reference-packages

I have been looking into creating a Linux distro package for source-build-reference-packages. Is there a name suggestion that the source-build folks (as the upstream for Linux distros) would recommend/suggest?
For context, this is the naming guideline for Fedora. It suggests asking upstream and/or coming up with a common consensus on the general package name.
We discussed this on IRC #fedora-dotnet and a few comments popped up:

source-build isn't a great prefix, it's unclear to other Fedora devs what that means
The name should indicate that it is a build artifact only.  It's not meant for release. But we can't really make things completely internal in Fedora. All packages are available to users.
It's used for all builds, not just bootstrap ones

And some suggestions for the package name:

dotnet-bootstrap-reference-packages
dotnet-build-common
dotnet-build-packages
dotnet-build-reference-packages
dotnet-reference-packages
dotnet-source-build-reference-packages
source-build-reference-packages

cc @aslicerh  @directhex @dseefeld @RheaAyase

(We can continue to focus on discussing whether both are required here.)

While working on the 5.0 Arcade-powered source-build plan, we saw that source-build-reference-packages (SBRP) would be a good place to work on changes to standardize how source-build works in Arcade. It's a leaf repo, it produces fairly straightforward artifacts, and our team is the only one with a stake in it.
There's a significant quirk, though: SBRP currently builds as its own distro package, and it has a complicated relationship with the dotnet/source-build repo. In order to be a model "standard" Arcade-powered source-build repo, we shouldn't preserve this quirk because no other repo will have it.
So, for 5.0, I filed https://github.com/dotnet/source-build/issues/1591, which will turn SBRP into a normal Arcade-using repo and eliminate this distro package, going forward.
Doing this in 5.0 doesn't force it in 3.1, but it's desirable to get 3.1 using the same approach:

It reduces maintenance to keep a single branch in SBRP.
Keeping the overall source-build process the same in 3.1 vs. 5.0 simplifies setup for new distros. This might be particularly useful as 3.1 is LTS: perhaps new distros will want to onboard 3.1, not just 5.0. (Perhaps until we get 6.0 LTS.)
It simplifies servicing releases, and makes it easier to diagnose/fix issues since the build doesn't span two sets of sources. Inputs are also potentially more predictable.

Since the only reason for the split in the first place was to cache the SBRP packages between builds, I think this is fine to apply in both places. Build time doesn't currently seem unsustainable at < 20 minutes (in CI). But I also do expect some build time improvements in 5.0 based on Arcadification cleanup forcing some extra parallelism.
If tarball build time ends up being impossible in 5.0, I think we should be able to produce a more general solution in Arcade for distro package splits, rather than a one-off implementation for SBRP.
I think we should:

Branch SBRP and leave 3.1 alone until 5.0 Arcade-powered source-build is running with N-1 and bootstrap scenarios working.
Track it as a 3.1 servicing improvement to get 3.1 using the same strategy as 5.0.
Ideally, remove the SBRP 3.1 branch.

This may end up being too difficult to do across 3.1 and 5.0 Arcade toolset versions, but it seems like we should at least investigate.

[Scrub] Is this all covered by https://github.com/dotnet/source-build/blob/main/Documentation/packaging-installation.md ?


Create lint.yml

#3488 and lint yml

Close #3488

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md

@MohitGupta121 please merge this

@MohitGupta121 please merge this


TODO: Refactor from QueryValue to ColumnValue and []QueryValue/[]models.QueryValue to Row/models.Row

After changing the QueryValue name and adding a Row struct, it'll be possible to add more convenience methods

Was accidentally included in PR #1 (fix for issue #5)


Feat/auto clean up

This PR implements an option for automatic infrastructure clean-up even if the test manifest fails. This option defaults to true, meaning all infra should be deleted by Claudie, even if it fails. To override this option, use the label Disable clean up on a PR, where the pipeline will run.
The PR was tested by

adding the label, which resulted in the environment variable being false (as expected)
removing the label, triggering the CI with a new commit, which resulted in the environment variable being true (as expected)

The changes in the behaviour based on the flag were tested locally.

Hi @MiroslavRepka , while I agree that this was a good issue to tackle, I'm not convinced the best implementation path has been chosen. I was expecting a conclusion on the relevant discussion first. Ref: https://github.com/Berops/infra/issues/142#issuecomment-1320028787

Hi guys, I think that this PR is fine, and I think we don't have to go far too deep into discussions on how to tackle https://github.com/Berops/infra/issues/142.
This PR is a massive improvement over status quo. If it turns out not to be perfect, we'll manage.
I personally think this implementation will suffice for the time being, with only very low risk of things going wrong.

I see you're still bumping the deps.

That's from master #496, this PR is done. Thx for review


chore(test): replace babel-jest with @swc/jest (#4587)

Summary
Try To Improve Rspack Developer's Developer Experience #4587
Test Plan
cd to packages/rspack and  pnpm run build && pnpm run test
Require Documentation?

[x] No
[ ] Yes, the corresponding rspack-website PR is __

@hardfist I tried it and it was OK, but it improved a lot, from around 160s to around 155s on my mac, but if there is a lot of .tsx testing behind it, the effect should show

thanks！

Thank you !

Thank you. It looks good to me. On my machine, it gives about 20% improvement (92s => 74s). Could you please resolve the conflicts with the main branch, and then I will merge this branch.


'manimgl' is not recognized as an internal or external command, operable program or batch file.

Describe the error
I have installed every requirements still i face this error.
Code and Error
Code
manimgl example_scenes.py OpeningManimExample
and i get:
'manimgl' is not recognized as an internal or external command,
operable program or batch file.
Environment
OS System: Windows 10 64 bit
manim version: 1.0.0devs41: master
python version: 3.8

I'm having the same issue. I followed the installation video, I have all dependencies available and up to date, yet for some reason it gives me the same argument in return. I couldn't even get past the pip install -e . segment, it just handed me this error when I attempted to install it:

I got past the pip install -e . successfully but still it says "manimgl' is not recognized as an internal or external command,
operable program or batch file."

@FeronFae did you solve it?

@romanokeser Yes, I actually did solve it. What I did was go over all the installation steps and make sure everything was installed properly. I then made sure to download the latest manimgl folder w/ manimlib from the main repository here on github and made sure I was in the right directory before executing the command. I believe the video tutorial files were somewhat outdated (? if you followed that tutorial on how to install it, that's why I came on github to follow the steps listed here. I am unsure as of what happened during my first installation attempt, but carefully repeating all the steps and making sure I wasn't missing anything seemed to do the trick. I hope it works for you too! This tool is quite amazing to make captivating animations about physics.

Hello,
I am having the same issue. I am following the instruction on repo.
"pip install -e ." installs all the packages successfully.
When I search for installed libraries I see manimgl is installed in the "manimgl" folder.
Everytime I try to run example_scenes.py, I get the
'manimgl' is not recognized as an internal or external command,
operable program or batch file.
Any suggestions?

Yes, this might be because you're referring to the Python Module as manimgl, yet, for some reason, unlike how it's listed on github, it actually was installed into my module library as manimlib. Surprisingly enough, this is how it's found as a module inside the "Manim" folder as well; try opening your "Manim" folder and check if there is a folder inside named "manimgl" or "manimlib". Perhaps try to run the command python -m manimlib example_scenes.py OpeningManimExample after the pip install, that should work. It seems that the module has changed its name pretty frequently and wasn't properly updated on the github & windows tutorials, because after installing, let me demonstrate what happens when I try to import both modules (f.ref. see attachment). Notice how importing manimlib returns no error, yet importing manimgl returns a "No module named" error:

@FeronFae  Aha I see. Thanks for this. The folder is manimlib not manimgl and when I try to import the library, it works with manimlib. Unfortunately when I run python -m manimlib example_scenes.py OpeningManimExample,  the code isn't executed and no manim window pops up.

Hmm, what error does it display for you when you try to run it? Perhaps I can assist you further.

@FeronFae sorry for the late response!!! There is no visible error when running the command via terminal. It just executes but not windows pops up from manim. When I open the project in an ide, I see these errors from  the examples_scenes.py file

Huh, since these are unresolved attribute errors, I would assume that perhaps the file is not reaching the rest of the python files and their respective classes + functions inside of the manim folder, but I'm not really sure about this issue. Sorry!

HI @FeronFae
Thanks for your help. I updated miktex and then ran manimgl example_scenes.py OpeningManimExample
despite having manimlib in my directory, manimgl still works.

I'm having the same issue. I followed the installation video, I have all dependencies available and up to date, yet for some reason it gives me the same argument in return. I couldn't even get past the pip install -e . segment, it just handed me this error when I attempted to install it:

Please check here is FFmpeg and Latex on your computer ,and check the python edition is between 3.7 to 3.9.
Here is another issue about this: https://github.com/3b1b/manim/issues/1730
And here is some website for you to check:
https://docs.manim.community/en/stable/installation.html
https://docs.manim.org.cn/getting_started/installation.html
http://3b1b.github.io/manim/getting_started/installation.html


Add “webhook” to glossary

Relevant to #5993
I'm aiming to make it clear that, in Kubernetes, a “webhook” is an HTTP request where the response is waited for and acted upon.
If someone is coming to Kubernetes from outside and is accustomed to treating Webhooks as asynchronous and one-way, this extra detail is there to help explain what's going on.

@sftim Made some suggestions. In your example at the bottom, maybe you could explain an example like a ValidatingAdmissionControllerWebhook

We'd like to accept your contribution, but there is pending feedback that has been unaddressed since Feb 13. Feel free to reopen this PR and address the feedback at your convenience. Thanks!

I'll give up on this one.


Cannot add cards: model was not found: Basic (and reversed card)

Hi,
i followed the instruction but I am unable to add any cards to Anki,
the error shown is "model was not found: Basic (and reversed card)"

Hey, sorry I completely missed this open issue until today. It should be fixed now; the patched version is available now: https://addons.mozilla.org/en-US/firefox/addon/foxi


chore: commnet error lines

I turned off the strict mode of Clippy, it will also treat the warning as an error, which will cause the CI to fail. It is still under development. This strict mode is not conducive to the development. After the later improvement, you can continue to return to the strict mode.

/cc @hsluoyz


Subscribe user WITH double-optin

Currently, it's possible to add a subscriber to a list, but it's not possible to have this trigger a double op-in confirmation.

Hello,
Thank you for contacting us.
The double opt-in feature is managed only in subscription forms & not in the APIs.
Regards
SendinBlue Team

But why?

Based on our customers query we are planning to implement this feature soon in our new API version 3.0

I am curious as well, though we went serverless partly because of issues like this.


Edit xgboost_customer_churn_studio.ipynb

*Description of changes: Edit pass for readability
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@annbech Please fix the conflicts to merge the PR.


Documentation from devtools-loaded package opens in web browser

Steps to reproduce:

Open some R package project in vscode.
Spin up an R terminal.
Issue "r.loadAll" from https://github.com/REditorSupport/vscode-R/wiki/Package-development
Try to browse the documentation of some function from the loaded package by issuing ?the_function.

Expected behavior: should show me the documentation in the top-right pane, same as it does for documentation of functions from installed packages.
Actual behavior: launches a web browser to view the documentation, and it's not even the default web browser that I have configured in my system.

Also experiencing this. For whatever reason, doing a devtools::install() followed by calling ?the_function seems to work.
Also, this is the console output:
?the_function
ℹ Rendering development documentation for "the_function"
VSCode WebView has restricted access to local file.
Opening in external browser...
Browsing file:///private/var/folders/v9/yftkgjms78qdx9vz7mll88mw0000gn/T/RtmpyBFX7Z/.R/doc/html/the_function.html

Any clue why this is?

I'm also experiencing this issue. Is there any solution?

similar issue. is there a way to tell vscode that these types of local files are ok to open in the editor?


fix: Remove unused variables

Description
Remove approximately 250 instances of unused variables.
Fixes #7442
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Manual
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

@mohanarpit
Can you please review this?

@mohanarpit
I have made the necessary changes asked in the review. Please review this PR again.

@Rishabh-Rathod @mohanarpit can we do anything about this PR?

@bharat-patodi Apologies for the delay. This slipped through the cracks. @hetunandu had a comment on Discord. "Could you resolve the conflicts of #8137? Ill merge it after that"

I'll look into the conflicts and update @areyabhishek

Closing this because this is very stale now.


General Design Issues - Follow up from previous issues

[x] Border around "Create NameSpace/Create from HAML" bubble needs to be thicker or with a shadow to make it pop out more. Needs updated in Light and Dark Mode

[x] The notch has a different background from the actual background so it looks weird.

[ ] Nav Bar "Jump to.." Dropdown - when exposing the dropdown, it needs to "pop" out more in light mode. The change made for dark mode is very distinct.

[ ] Thickness of dropdown toggle is different thickness still:

re: Thickness of dropdown toggle is different thickness still... dropdowns are different height then create buttons with dropdown


DFUFirmware initWithUrlToZipFile broken in objc

Initializing an instance of DFUFirmware in Objective-C the standard way of:
DFUFirmware * firmware = [[DFUFirmware alloc] initWithUrlToZipFile:url];

will eventually lead to Swift errors in the library where firmware == nil.
Initializing with:
DFUFirmware * firmware = [DFUFirmware alloc];
[firmware initWithUrlToZipFile:url];

works just fine, however.

My bad, the initializer actually returned nil due to an error with Zip, closing this.


Local Npm module "brfs" not found. Is it installed?

Hi there,
Sorry - new to this grunt / browserify thing, but I can't seem to get this transform to work.
My gruntfile is set up like this:
browserify: {
    dist: {
        files: {
            '<%= options.assets %>/javascripts/bundle.js': ["../src/js/**/*.js", "!../src/js/spec/**/*.js"]
        },
        options: {
            transform: ['../build/brfs'],
            browserifyOptions: {
                debug: true
            }
        }
    }
},

I've also installed the brfs module, and I'm loading it using loadNpmTask().
And I get the following error:
$ /usr/local/bin/grunt --gruntfile /Users/davestewart/dev/food-portal/build/Gruntfile.js dev
>> Local Npm module "brfs" not found. Is it installed?

Running "browserify:dist" (browserify) task
>> Error: Cannot find module 'brfs' from '/Users/davestewart/dev/food-portal/src/js'
Warning: Error running grunt-browserify. Use --force to continue.

Aborted due to warnings.
Process finished with exit code 6

Sorry if this is a dumb question, or I'm missing the basics on this one. I've been googling left right and center but can't seem to put the pieces together.
Cheers,
Dave

OK, think I've got this:
// at top of grunt file
var brfs = require('brfs');

// in browserify.options
transform: [brfs],
browserifyOptions: {
    debug: true
}

As I said, I don't know grunt well enough to know if this is "Page 1" stuff or not, but might be worth adding this to your docs as a function example?
Thanks.

You have 2 ways of doing it. A transform can be specified by its name, or by the module itself.
What you did is giving the module itself to grunt-browserify. When you do that, you need to require the module before using it (so the need of require('brfs').
What you can do instead is specifying the transform by its name (the same name as the module actually). So you could do this (without the require):
transform: ['brfs'],
browserifyOptions: {
    debug: true
}

Feel free to send a PR with an example with a specific transform if you feel it's necessary.


Essential Eight compliance.

Hi,
according to AWS Config implementation of Essential Eight security requirements, it's considered insecure to use  kms:*, kms:Decrypt, kms:ReEncrypt*. actions in an inline policy.
Here's the rule description:
Checks if the inline policies attached to your IAM users, roles, and groups do not allow blocked actions on all AWS KMS keys. The rule is NON_COMPLIANT if any blocked action is allowed on all AWS KMS keys in an inline policy.
Please consider moving away from using inline policies for the roles in the module.
Cheers,
Tom

Thanks for the report @gothrek22. To be clear, we do not include kms:*, kms:Decrypt or kms:ReEncrypt* permissions in any policies, just kms:List* and kms:Describe* which allows for retrieving metadata but not using those keys for any encrypt/decrypt actions.


Lighthouse partly-deployed when not requested

What happened:
In the submariner-io/submariner repo, on devel, running a default deployment results in failing Lighthouse pods.
$ make deploy
$ kubectl get pods --all-namespaces=true
NAMESPACE             NAME                                             READY   STATUS             RESTARTS   AGE
<snip irrelevant>
submariner-operator   submariner-gateway-92w4c                         1/1     Running            0          67m
submariner-operator   submariner-lighthouse-agent-db6589849-z8475      0/1     ImagePullBackOff   0          67m
submariner-operator   submariner-lighthouse-coredns-68766559c4-4dm4s   0/1     ErrImagePull       0          67m
submariner-operator   submariner-lighthouse-coredns-68766559c4-c4n6z   0/1     ErrImagePull       0          67m
submariner-operator   submariner-operator-5bfdb87494-jnk7t             1/1     Running            1          67m
submariner-operator   submariner-routeagent-8n4lx                      1/1     Running            0          67m
submariner-operator   submariner-routeagent-l75k5                      1/1     Running            0          67m

What you expected to happen:
No Lighthouse components should be deployed if not requested with the using=lighthouse flag.
The defaults in Shipyard should be in effect, as they aren't overridden in submariner-io/submariner's Makefile.
Shipyard's Makefile.inc:
ifneq (,$(filter lighthouse,$(_using)))
override DEPLOY_ARGS += --service_discovery
endif

Shipyard's scripts/shared/deploy.sh:
DEFINE_boolean 'service_discovery' false "Enable multicluster service discovery (set to 'true' to enable)"

How to reproduce it (as minimally and precisely as possible):
make deploy
Anything else we need to know?:
A user originally reported this on Slack.
Environment:

Diagnose information (use subctl diagnose all):

 ✓ Checking Submariner support for the Kubernetes version
 ✓ Kubernetes version "v1.20.7" is supported

 ✓ Checking Submariner support for the CNI network plugin
 ✓ The detected CNI network plugin ("weave-net") is supported

 ✓ Checking gateway connections
 ✓ All connections are established

 ✗ Checking Submariner pods
 ✗ The desired number of replicas for Deployment "submariner-lighthouse-agent" (1) does not match the actual number running (0)
 ✗ The desired number of replicas for Deployment "submariner-lighthouse-coredns" (2) does not match the actual number running (0)
 ✗ Pod "submariner-lighthouse-agent-97cb87759-cbdq8" is not running. (current state is Pending)
 ✗ Pod "submariner-lighthouse-coredns-7869cfcc87-jjwt9" is not running. (current state is Pending)
 ✗ Pod "submariner-lighthouse-coredns-7869cfcc87-qgsbn" is not running. (current state is Pending)

 ✓ Non-Globalnet deployment detected - checking if cluster CIDRs overlap
 ✓ Clusters do not have overlapping CIDRs

 ✓ Checking Submariner support for the kube-proxy mode
 ✓ The kube-proxy mode is supported

Gather information (use subctl gather)

Attached:
submariner-20210911160644.tar.gz

This addition to the makefile will preload the lighthouse images:
PRELOAD_IMAGES :=  lighthouse-agent lighthouse-coredns $(IMAGES)

A good solution should be to deploy with specific image overrides so that each project only tests the images that it builds and not random stuff that might (or not) have been built locally previously.

We could change make deploy in Submariner to specify --components connectivity on the subctl invocation, which would ensure that Submariner is only deployed with its own components (without having to know what other components to disable).

I'm still seeing the service-discovery flag passed in make deploy in the main repo:
[output]$ [cluster1] subctl deploy-broker --kubeconfig /go/src/github.com/submariner-io/submariner/output/kubeconfigs/kind-config-cluster1 --repository localhost:5000 --version local --components service-discovery,connectivity

submariner-operator   submariner-lighthouse-agent-56467798c6-2j8d8     0/1     ImagePullBackOff   0          103s
submariner-operator   submariner-lighthouse-coredns-68766559c4-bh2bv   0/1     ImagePullBackOff   0          103s
submariner-operator   submariner-lighthouse-coredns-68766559c4-hkq6s   0/1     ErrImagePull       0          103s


.openPopup() with layer control?

I just read on https://github.com/Leaflet/Leaflet/issues/971 that ruT-my said you can't .openPopup() until AFTER the popup has been added to the map.
It occurred to me that this may explain a problem I've been having -- once L.markers have been converted to layer control, it is no longer possible to use .openPopup() to open a popup when the map is opened.
So my question is -- is here a way to automatically open a popup on the map if the L.marker statement concludes in .addTo(layer group); instead of .addTo(map);
Can you make the .openPopup() statement at the very end, after the whole group has been added to the map, as per Vladimir Agafonkin's layer group example at http://leafletjs.com/examples/layers-control.html?

I have this same issue
function onEachFeature(feature, layer) {
    if (feature.properties && feature.properties.UserName) {
        if (feature.properties.MarkerId == clickedLocationId) {
          layer.bindPopup("
" + feature.properties.MarkerId + "

" + feature.properties.UserName + "
").openPopup();
        } else {
            layer.bindPopup("
" + feature.properties.MarkerId + "

" + feature.properties.UserName + "
");
        }
    }
}

Popup doesn't open.

I would love to know if I can keep a popup open after refresh too. Anyone has any solution?

Hi @tenznhok, great to hear that you find Leaflet useful!
However, this issue tracker is used for reporting bugs and discussing new features.
For questions on using Leaflet, please use Stack Overflow or GIS Stack Exchange.

As for the question asked by OP, I understand that they would like a popup to be automatically opened whenever the layer it is bound to is added to the map, typically through a Layers Control.
In that case, the app could listen to the map's "layeradd" event, and open the popup of the added layer if it has one.
Closing this thread due to OP's inactivity.


docs: demo using aiven

Demo of how to use Aiven-managed kafka cluster with Ockam

@glenngillen the spacing lint is failing
https://github.com/build-trust/ockam/actions/runs/5923246841/job/16058525087?pr=5678
An easy way to avoid these is to enable/add editorconfig support in your editor
https://editorconfig.org/

Closing this one and landing https://github.com/build-trust/ockam/pull/5852


Fix query params

Hey, this fix prevents architect from falsly serving the index page, when there are query params in the url string.

published in 5.5.3 thx!


clarified hostname error with valid characters

this is a fix for #1922 to add in a valid character error message.
Signed-off-by: Kendrick Coleman<EMAIL_ADDRESS>

LGTM


Increase the stability of the license upload

Currently, it is possible that the webrequest with the license might fail. In such a case, the setup action just silently continues and CI might even be green in this repository. Add some exeception handling as well as exit code management to improve that.

Addressed by https://github.com/Particular/setup-ravendb-action/pull/20


detectnet - get the frame name

Hi @dusty-nv and all,
I have been working with the detectnet.py and everything is working fine, but to close the development I need to store the frame name. I am trying to find where it is writen in the C++ code (videoOutput.cpp and others), but I could't identify it do far.
Could you please just give me a clue how I can get the frame name that is being produced when we have output path?
Thanks a lot.

Hi @MauricioLins, do you mean where the output image filenames are made (if you are writing a sequence of images)?
That is done here - https://github.com/dusty-nv/jetson-utils/blob/c373f49cf21ad2cae7e4d7da7c41f4fd6473958f/image/imageWriter.cpp#L96

Thank you @dusty-nv


Support real-time status

Real-time printer status support would be useful. A property and an event when changing status.
There are several statuses:

https://reference.epson-biz.com/modules/ref_escpos/index.php?content_id=118
https://reference.epson-biz.com/modules/ref_escpos/index.php?content_id=122

ESP-POS.NET Implementation:

https://github.com/lukevp/ESC-POS-.NET/blob/master/ESCPOS_NET/Printers/PrinterStatus.cs
https://github.com/lukevp/ESC-POS-.NET/blob/f33e8726abef76b99ed7da8c93946486e20468ac/ESCPOS_NET/Printers/BasePrinter.cs#L97

Hi @YZahringer,
Supporting real-time changing event is in out roadmap, adding a event to IPrinter interface. We are to use the same strategy as @lukevp uses in his library, however, this project is paused (not abandoned) until 2020.
If you can, submit a PR implementing event in IPrintable interface and Printable class and we`ll merge as soon possible.


Better support for migrating existing localization schemes from Android/iOS to Flutter

Given a user who already has an iOS style Localizable.strings or a collection of Android strings.xml, create a conversion tool or an import tool for using them in Flutter.

Another option would be to have a localization delegate which at runtime loads up the platform resources via a per platform mapping mechanism (which can be manually added to users' platform projects and communicates the map value via platform channel).

CC @GaryQian

I have not looked into this issue. Assuming that Flutter developers use the dart intl package, this issue is a request to create tooling for that package.

I spoke to @zoeyfan about this and our thinking is that we should probably plan to do this in Q4 but may need to do it earlier depending on how many customers are feeling blocked on this.
@zanderso @HansMuller I expect this would be a joint effort between your teams?

There's a proposal (and pointers to a prototype) that's related to this issue here: https://github.com/flutter/flutter/issues/41437

I've removed the critical and customer:header labels because the customer's actual issue is to be addressed by #41437.


Add Artifact-specific statistics

NOTE: Before you begin working on this, please assign this issue to yourself. If you do not do this, then there's the possibility that 2 people will end up doing the same task, which is not a good use of time.
At the end of every game, there is a list of statistics listed below the results section:

Should we add a section for artifacts?  If so, what should they be?
For example, "relics seized" or "relics lost" might be good ones.

It would also be nice to know how the free action is being used for Artifacts on display.

More info:
https://en.doc.boardgamearena.com/Game_statistics:_stats.inc.php
I didn't see a way to hide stats.

There's more info on this page: https://en.doc.boardgamearena.com/Main_game_logic:_yourgamename.game.php
initStat( $table_or_player, $name, $value, $player_id = null )

Create a statistic entry with a default value.

This method must be called for each statistic of your game, in your setupNewGame method. If you neglect to call this for a statistic, and also do not update the value during the course of a certain game using setStat or incStat, the value of the stat will be undefined rather than 0. This will result in it being ignored at the end of the game, as if it didn't apply to that particular game, and excluded from cumulative statistics. As a consequence - if do not want statistic to be applied, do not init it, or call set or inc on it.

There's also some work here to make sure existing statistics don't break. For example, we should make sure I demand effects aren't broken by the new I compel mechanism. There are also a few statistic-related TODOs in the code right now which need to be addressed as part of this issue.

I'll finish the outstanding 3 TODOs!


Next Page and Copy Buttons in same position

Both buttons overlap and cause the next page button to not function.
Issue found in VRC release build 1032

Same issue here. Any fix yet?

Same issue here. Any fix yet?

Did you make sure to update the mod? Cause I took care of that in a past version.

Did you make sure to update the mod? Cause I took care of that in a past version.

Just updated and it is fixed, so thank you! But just so you know, typically I update mods when MelonLoader tells me they are out of date, and right now it's saying that your mod is out of date and the current version is 0.6.4. That is probably why I hadn't updated it. Not sure if that's an issue on your end or MelonLoader, but thought I would let you know!

Did you make sure to update the mod? Cause I took care of that in a past version.

Just updated and it is fixed, so thank you! But just so you know, typically I update mods when MelonLoader tells me they are out of date, and right now it's saying that your mod is out of date and the current version is 0.6.4. That is probably why I hadn't updated it. Not sure if that's an issue on your end or MelonLoader, but thought I would let you know!

Did you make sure to update the mod? Cause I took care of that in a past version.

Apologies for late/closed reply, the linked dll in VRC Modding Discord is outdated.
Confirmed fixed.

Did you make sure to update the mod? Cause I took care of that in a past version.

Apologies for late/closed reply, the linked dll in VRC Modding Discord is outdated.
Confirmed fixed.


DUPLO-20708: v1: Redis feature AutomaticFailoverEnabled and LogDeliveryConfiguration.

User description
Overview
DUPLO-20708: v1: Redis feature AutomaticFailoverEnabled and LogDeliveryConfiguration
Summary of changes
This PR does the following:

add Automatic Failover Enabled support
add Log Delivery Configuration support

Testing performed

[ ] Using unit tests
[X] Manually, on my local system
[X] Manually, on a remote test system

Describe any breaking changes

...

PR Type
enhancement, documentation

Description

Added support for automatic_failover_enabled in Redis configurations, enhancing reliability for instances with multiple replicas.
Introduced log_delivery_configuration to allow log delivery to CloudWatch Logs or Kinesis Firehose.
Implemented validation for engine version compatibility with log delivery configurations.
Updated documentation and examples to reflect new features.
Increased timeout for resource creation to accommodate new configurations.

Changes walkthrough 📝
Relevant filesEnhancement

resource_duplo_ecache_instance.goAdd Redis Automatic Failover and Log Delivery Support

duplocloud/resource_duplo_ecache_instance.go
Added support for automatic_failover_enabled in Redis configurations.  Introduced log_delivery_configuration with validation for engine version.  Enhanced error handling for configuration validation.  Increased timeout for resource creation.

+205/-31

ecache_instance.goExtend Ecache Instance with New Features

duplosdk/ecache_instance.go
Added AutomaticFailoverEnabled and LogDeliveryConfigurations fields.  Introduced new types for log delivery configuration.

+47/-21

version_utils.goAdd Version Utility Functions

duplosdk/version_utils.go

Added utility functions for version comparison.

+47/-0

Documentation

CHANGELOG.mdUpdate Changelog for Redis Enhancements

CHANGELOG.md
Documented new Redis features: automatic failover and log delivery.

+14/-10

ecache_instance.mdDocument New Redis Features in Ecache Instance

docs/resources/ecache_instance.md
Updated documentation with new Redis features.  Added examples for automatic_failover_enabled and log_delivery_configuration.

+41/-7

resource.tfAdd Examples for New Redis Features

examples/resources/duplocloud_ecache_instance/resource.tf
Added examples for automatic_failover_enabled and log_delivery_configuration.

+24/-7

💡 PR-Agent usage:
Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

re-verified

resource "duplocloud_ecache_instance" "redis1" {
tenant_id        = local.tenant_id
name             = "${var.db_name}-redis1"
cache_type       = 0 // Redis
replicas         = var.replicas
size             = var.redis_size
automatic_failover_enabled = var.automatic_failover_enabled
#engine_version = "6.0.5" #var.engine_version
engine_version = var.engine_version
enable_cluster_mode        = var.enable_cluster_mode // applicable only for redis
number_of_shards           = var.number_of_shards   // applicable only for redis
encryption_in_transit = true
auth_token = "dddfffddddfffddddfffddddfffddddfffd"
log_delivery_configuration {
log_group        = "/elasticache/redis"
destination_type = "cloudwatch-logs"
log_format       = "TEXT"
log_type         = "slow-log"
}
log_delivery_configuration {
log_group        = "/elasticache/redis"
destination_type = "cloudwatch-logs"
log_format       = "JSON"
log_type         = "engine-log"
}
}


[RBAC] Add field to permission model to capture the service identifier

Part of the reason for introducing the DABPermission model was to do this work. This proposes to add a new field to that model which has a similar format as ResourceType.name. As the resource type name field is of format "{service}.{model}", this new field would be of format "{service}.{action}_{model}".
This would be an informative field for use by API clients. It will be logically commutable from the other fields and the resource registry. This has to be saved in the migration logic.
Tentatively, say this field is named full_name. Because name is taken.
The serializer for /api/v1/role_definitions/ will then use a SlugRelatedField with many=True and slug_field="full_name". This means that PermissionField will be deleted.
That will take "choices" away from the OPTIONS data, which implies/obligates us to add a new endpoint to provide options for permissions. The API design constraints related to that are complex, and is one thing that has prevented me from getting this done before now.

Saying this is an "enhancement" because it should allow query param filtering like /api/v1/role_definitions/?permissions__full_name=shared.view_organization


feat(People): added gdpr delete

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[implement] #load

@travisdoor I think you should implement #load <library> like in C #include <library>:
For example, all stdlibs placed in /usr/include and we want to load /usr/include/print.bl:
#load <print>

The docs are pretty clear on this: http://biscuitlang.org/versions/0.7.1/index.html#hash-directive


Update twilight-http to 0.5

Update twilight-http to 0.5 in order to support slash commands (see issue #21).

This is now possible due to https://github.com/twilight-rs/twilight/pull/963 being released in twilight-http 0.5.1.