Performance issue with multiple instances

Hello! First off, I wanted to say how grateful I am for you making this plugin -- it's exactly what I've been looking for, a modern thumbnail scroller that functions well on mobile devices and in responsive layouts. Wanted to bring to your attention though a performance issue I've discovered: CPU usage gets progressively higher the more instances of the scroller there are on a page. I have a page with 15 of them and it completely pegs one of my CPU cores.
The issue appears to be with the 60ms setTimeout that the updateOnContentResize option (and a couple others) use. It uses about 3ms of CPU time on my machine every time it's called, and with 15 instances of the scroller that means there's hardly any time where the CPU isn't working.
Not sure what the best solution is, though for the moment I've changed the timeout from 60 to 600ms and that's brought my CPU usage down to ~5%. Not ideal, but good for now. I'm not super familiar with jQuery, but maybe there could be some resize event handlers you'd be able to use instead to get the same behavior?

Hello and thanks for the feedback :)
Indeed the advanced options (updateOnContentResize and updateOnImageLoad) that automatically update multiple scrollers (e.g. 10 or 15) can be heavy on the CPU.
The adjustment you did on the timeout will work depending on the overall functionality of the page. There are pages/web apps where this might not be the best solution (e.g. when you need fast updates) but if it works for your project it's good.
The plugin offers the option to disable all auto-update functionality (by setting both options to false) and call the update method manually when needed. This might be the best solution when having many scrollers on a single page.
For example:
$(window).load(function(){
    $(".my-scroller").mThumbnailScroller({
        advanced:{
            updateOnContentResize:false,
            updateOnImageLoad:false,
        }
    });
}).resize(function(){
    $(".my-scroller").mThumbnailScroller("update"); //updates scrollers on browser resize
});

You could call $(".my-scroller").mThumbnailScroller("update"); on browser resize (as above), as a callback on a jquery animation function (e.g. after fading-in your element), after some CSS3 transition on the element, after adding/removing images from a scroller etc.
Hope this helps


Distributed simulation for large models

Hi akaszynski, thanks for the beautiful work. with the current pyansys version, when establishing the ANSYS instance, is it possible to specify the distributed simulation settings such as number of cpus and memory space as one usually can do in batch mode?
I have a set of inp files which are really hard to maintain and update, due to the outdated nature of apdl. I was thinking to drive the simulation with pyansys. Thank you for any suggestions.

Hello,
You're able to pass additional switches to the Mapdl class on initialization.  For example, if your command line looks like:
/ansys_inc/ansys/bin/ansys201 -machines <IP_ADDRESS>:30:<IP_ADDRESS>:30

Your corresponding python command would be:
import pyansys
mapdl = pyansys.Mapdl(additional_switches='-machines <IP_ADDRESS>:30:<IP_ADDRESS>:30')

Hey Alex, thanks for the help. I was able to install pyansys on a server. However, when I try to establish an Ansys instance using pyansys.Mapdl(),
ansys = pyansys.Mapdl(run_location= path)
It returns the following error stating that the Mapdl() is missing.
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'Mapdl'
The other modules such as pyansys.change_default_ansys_path() work just fine. Thanks you very much again for your help.
Best,

That's strange.  Was pyansys installed via pip?  If so, you might have another directory or module named "pyansys" and it's looking at that instead of at the actual installed module.

I'm guessing that this issue was related either to a bad install of pyansys or some other issue.  Could you please post the script you used here?  Also, please include:
import scooby
scooby.Report(['pyansys'])

import pyansys
print(pyansys.__file__)

Please let me know if this is still an issue.  Otherwise, I'll be closing this soon.


Methods for terminating user sessions

This is a sub-issue of issue Ability to track and revoke sessions #20378
Brief:
Develop methods for terminating a user's session for the support session stores:

:active_record_store ultimately ends up using the Session model
:memory_store is in-memory
:mem_cache_store

Details:
Should support passing the username of a user in the system. The ids if the active sessions can be looked up by user_id and would be used to find and terminate session ins the configured session store.

Closed via #20549


More ways to specify embedded schema module

I was working on a library that uses polymorphic embeds. Since it's a library that is used by applications, it cannot know all the polymorphic types ahead of time. This PR adds two more ways of specifying the :types option for a PolymorphicEmbed Ecto type: a lookup function that translates between "type" keys and schema modules, and a :by_module method that means that the type key atom (or a string version) IS the module.
Feel free to ignore, edit or implement this another way.
I added two more embeds to the test Reminder module, added a number of tests, and added instructions in the README file.

Quite some work had to be done before I could look into this PR. I think we're definitely interested into adding this PR in the codebase. That's some quality work.
I guess you depend on your fork now? As there has been a lot of code refactoring in the meanwhile, would you be interested to bring these new functionalities into the current master code?

This seems like a great feature that will make the library very dynamic. Any plans to merge this. What are the changes required to get this merged?

The contributor created this PR while I was writing some major refactor when the library was in alpha.
It was created in November 2020 so the code changed quite a lot since then.

I haven't looked through this PR, but I would find it useful (and more common in my experience) if the field that qualified the polymorphism were outside the arguments.  For example, I might have a database with columns for type and data, where type qualifies the ad-hoc data map, e.g. as x, y, or z.  Often the code pivots on such a field to determine how to handle the data.
I worked around this by adding an append_type function that read a field from the incoming parameters and then inserted it (as an atom) into the map field used by the polymorphic join:
def changeset(x, %{} = params, opts \\ []) do
    params = append_type(params, :qualifier, :args)
    x
    |> cast(params, [...])
    # ...
end

  defp append_type(params, src_field, target_embed_field) do
    qualifier = Map.fetch!(params, src_field)

    Map.put(
      params,
      :args,
      params
      |> Map.get(target_embed_field, %{})
      |> Map.put(:__type__, String.to_atom(qualifier))
    )
  end

This works, but it feels a bit awkward because it cannot rely on the usual get_change/get_field etc. and the requirement that the qualifying value has to be an atom threw me for bit.


libreadline6 Not Available on Debian 9

I can't get this installed on Debian 9.3. Apparently 'libreadline6' isn't available so I tried using 'libreadline-dev' but still doesn't work.
I found this when researching the issue and it appears that packages built on ubuntu use readline6 which isn't available on Debian 9. Any chance we can get a dockerfile for this or another workaround?
edit
It also says that it can't install libssl. I haven't researched this one though.

I've released a docker image. See the README for installation instructions.
Please create a new issue if you experience problems with that.

I have the same problem in Xubuntu 18.10 Cosmic Cuttlefish. 'Dependency problems' prevent just installing the .deb file and I can't resolve the dependencies. I have libreadline7 but not 6. I can't find any README file. There are some install scripts I guess. I am not clear on what they do exactly though. So a docker image is sort of like an iso file?


hash module is now failing lint

Rust added a new clippy lint or something and it fails now:
 error: use of a fallible conversion when an infallible one could be used
   --> src\hash.rs:105:48
    |
105 |         let result = totp_generate(hex_seed, i.try_into().unwrap(), time_override)?;
    |                                                ^^^^^^^^^^^^^^^^^^^ help: use: `into()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
    = note: `-D clippy::unnecessary-fallible-conversions` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::unnecessary_fallible_conversions)]`

error: could not compile `rust-g` (lib) due to previous error

Just switching to into() doesn't work as stated, since there is not a From conversion.

i fixed this


Conditional Access

Hi, it would be good to list here what happens with Conditional Access with regards to geo-blocking if both 4 and 6 are enabled on the client.  If we create a an allow rule for a country based location without allowing unknown locations (which includes IPv6 addresses), the preferred IPv6 connection would fail authentication.  Does the client then retry the connection using IPv4 automatically so the authentication can succeed?
Thanks,
Simon
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 41916ef7-635a-80f9-914a-207040a3829e
Version Independent ID: 1f372ebc-774b-a1f5-5e43-73b42f74b198
Content: IPv6 support in Microsoft 365 services - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/ipv6-support.md
Service: o365-administration
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@LauraWi Please help us in resolving this issue. Thanks

@scotvidican, can you take a look? FYI to @yogkumgit, Scot has taken this content area over on his team.

Thanks for reaching out. My understanding is that if both ipV4 and V6 are enabled on the client, ipV4 would be used to authenticate by default in the scenario you describe. You can see https://techcommunity.microsoft.com/t5/azure-active-directory-identity/conditional-access-policy-amp-ipv6/m-p/1737586 for additional discussion. I will work with the product group to confirm and add information to the article.


[BUG]:[Getting certificate error while connecting to playwright service]

Describe the bug
I have provided my access token and added region endpoint in the setup. Now when I am executing the test to connect to playwright service, its throwing a certificate error.
To Reproduce
Steps to reproduce the behavior:

create playwright.service.config.ts
create .env file
provide access token generated from playwright service and add region end point url in the .env
Run "npx playwright test --config=playwright.service.config.ts --workers=2"

Expected behavior
Playwright tests should be executed and playwright service should be connected with test results displayed in playwright service.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup information (please complete the following information):

Azure Subscription Id:
Workspace Name:
Service trace Id (if available):
Log snippet (if available):
Browser on which tests are executed (if applicable):
Time range (in PST) when the issue was experienced:
Playwright Version:
Client machine OS:
OS requested on Service:

Additional context
Add any other context about the problem here.

Hi , can you please provide below information
Subscription id:
Error message and/or stacktrace

Hi , can you please provide below information Subscription id: Error message and/or stacktrace
Hi Puneet,
tried attaching the screenshot but failed. please find below the details:
Subscription id: b060cfe5-9862-43e2-b7dd-de2d40ea480b

error:
npx playwright test --config=playwright.service.config.ts --workers=2
Running 2 tests using 2 workers

[chromium] › example.spec.ts:10:5 › get started link ──────────────────────────────────────────

Error: browserType.connect: WebSocket error: unable to get local issuer certificate
Call log:
  - <ws connecting> wss://eastasia.api.playwright.microsoft.com/api/authorize/connectSession
  - <ws error> wss://eastasia.api.playwright.microsoft.com/api/authorize/connectSession error unable to get local issuer certificate
  - <ws connect error> wss://eastasia.api.playwright.microsoft.com/api/authorize/connectSession unable to get local issuer certificate

Hi @sgollapa,
We verified on our service side that our SSL cert is in good shape and other customers are also able to use it. It could be some issue at your client machine or network restriction which is facing problem getting certification chain.

Can you try it from another machine or another network, if you are in some corp network, problem trying it from outside of corp network would help.
Can you share more detail around your client machine, network.
BTW, if you were able to generate accessKey from our portal then it means your browser is able to work SSL properly on our server but it seems only your client from where you ran the test threw error.

HI @sgollapa ,
One more thing, if above suggestion didnt work then please help enable debug logs via below method and share with us at our email alias
Set environment variable
DEBUG=pw:*
DEBUG_FILE=log.log
then, send us log.log file at<EMAIL_ADDRESS>

Hi @sgollapa, If you are still facing the issue then please help us with above logs to debug the issue.

HI @sgollapa,
Just checking if you were able to resolve the issue with your networking team. Let me know if you need any help.

Hi @puagarwa ,
This issue is resolved from the jumphost and issue testing it from local network is still pending. This issue can be closed currently as there is a wait time to check the issue in local. I shall raise further request if I need support from Microsoft.
Thank you.


Cannot resolve constructor 'SlideModel(java.lang.String)'

Hello, today I updated to version 0.1.0 of the library and ran into a problem that this code stopped working for me. I work in Java, and the shown example on Kotlin worked for me, but alas, nothing in Java.
I would really thank you for your help, thank you.
`List slideModels = new ArrayList<>();
    for (String s : sub_uris_list) {
        slideModels.add(new SlideModel(s));
    }

    imageSlider.setImageList(slideModels, ScaleTypes.FIT);`

Hello, I added my notes. I will fix with next version. Can you use with ScaleTypes?
for (String s : images) {
      imageList.add(new SlideModel(s, ScaleTypes.FIT));
}

Hello, I added my notes. I will fix with next version. Can you use with ScaleTypes?
for (String s : images) {
      imageList.add(new SlideModel(s, ScaleTypes.FIT));
}

Yes, of course, thank you for your prompt reply.
This worked for me.

Yes, of course, thank you for your prompt reply.
This worked for me.


Update mod metadata

Removed Fabric placeholder information
Added actual mod information where available
Fixed wrong mod version number

I'm not sure if you wanted the mod to be licensed as public domain since you didn't select a license on GitHub, so I removed that from the metadata. I can add it back if it was intentional. Related to #25.

Note that this also bumps the mod version to 1.2.1 since it's a patch, but that can be changed if you don't want it to be versioned like that.


Issues with Kext Update

If I update the Kexts, macOS no longer boots. Why does this happen and how can I fix it?

I noticed that I can only boot from the USB stick now. If I copy the EFI from the USB stick to macOS, it stops booting right at the beginning. This is very strange since it is booting from the USB stick.

After try again, i turn off computer and turn on again and worked!


[MM-29840] Migrate changeCSS for markdown table's rows

Summary

Migrate changeCSS() to CSS variable in utils/utils.jsx for .markdown__table tbody tr:nth-child(2n)
Ticket Link

Fixes https://github.com/mattermost/mattermost-server/issues/16026
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29840

Hello @galihmelon,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@galihmelon, I'll resolve the conflict once you've had a chance to update!

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @jfrerich @emilyacook

Hi @galihmelon!  Have you had a chance to review @deanwhillier's comments?

Hi @galihmelon - I'm helping to review stale PRs and, since we haven't heard from you in 6 months, I'll close this PR for now.
Please feel free to re-open if you're able to prioritize. Thanks!
I've re-added the "Up for Grabs" label on https://github.com/mattermost/mattermost-server/issues/16026
//cc @deanwhillier @asaadmahmood


Mapping Data Flow With MI

So, if I understand this correctly, Instill cannot use a mapping data flow in a secure fashion when the data source or target is a Managed Instance since I would still need to use a self hosted IR to connect to the Managed Instance?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0b7d5707-9f14-db2b-00fb-5edd7bbcd06f
Version Independent ID: 2a0f8297-bdf7-3056-121e-963140ec0703
Content: Managed virtual network & managed private endpoints - Azure Data Factory
Content Source: articles/data-factory/managed-virtual-network-private-endpoint.md
Service: data-factory
GitHub Login: @lrtoyou1223
Microsoft Alias: lle

Duplicate of #77265


80/20 rule

Here is an illustration of the 80/20 rule in a Pareto analysis.

The goal is to show the 80% line cut-off in the chart.
When clicking on the line it would select the bars that are within the 80% cumulative frequency.

Dataset I used.
defects.txt


Heading not found

Hey there,
I'm running into a problem: I want to append text after a specific heading, which the documentation indicates is possible.

You may use the heading parameter to append and prepend data to a heading. More information in Navigation

However, it doesn't seem to be working.
The URL: obsidian://advanced-uri?vault=Meg's Vault&filepath=Dated/2023/2023-01-30%20--%20Week&heading=20230130%20Notes correctly finds my note and highlights the heading (and entire section below) which I'd like to append under.
The URL: obsidian://advanced-uri?vault=Meg's%20Vault&filepath=Dated/2023/2023-01-30%20--%20Week&data=hello&mode=append correctly finds my note and appends "hello" to the bottom of the note.
However, the URL: obsidian://advanced-uri?vault=Meg's%20Vault&filepath=Dated/2023/2023-01-30%20--%20Week&heading=20230130%20Notes&data=hello&mode=append displays a popup: "Can't find heading".
Can you offer any tips as to what's going on??
(I'm trying to create an iOS shortcut to allow me to enter text at a prompt, then have that text pasted into today's section of my weekly note, which I use instead of daily notes. That way I can type right away, and it doesn't matter if it takes Obsidian a couple of minutes to open once I've gotten my thought down.)

I figured it out! My shortcut was messing with my URL (partially encoding it???). I echoed it in a text and compared it to a known good URL and messed with the formatting until the URLs matched. Definitely a PITA to set up, but now I can instantly log text to today's section in my weekly note :) I've even got a version that allows me to dictate and it saves it as text ❤

For anyone who stumbles across this comment via google, here are the shortcuts that finally worked:
Captain's Log -- Text and Captain's Log -- Voice


Could you provide a compiled installation package (win exe)?

Release assets: Add win exe installation package to reduce difficulties and make it easier for regular Windows users to install and use.

I find it easiest to cross compile for Windows rather than trying to build on Windows itself using WSL. I made a step by step walk through based off the guide that can be found here. Only change needed would be to alter the git clone step to use the kvazar repo vs the kevacoin-team repo, everything else is the same.
*walk through guide was made on Ubuntu 22.04


Table looks weird when there is only one column #312

Table looks weird when there is only one column #312

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

Also, please sign CLA.

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

Regarding commit message:
fix: don't hide the column with css hack, hide it with special props

affects: part is missing. I suggest to create commit message with npm run commit, it will detect the affected packages automatically.
Commit message should answer why the change was made rather than what the change is. It is important because commit message will be included to changelog. I'd suggest to change it something like "fix: first column in DataTable has incorrect width".

Regarding commit message:
fix: don't hide the column with css hack, hide it with special props

affects: part is missing. I suggest to create commit message with npm run commit, it will detect the affected packages automatically.
Commit message should answer why the change was made rather than what the change is. It is important because commit message will be included to changelog. I'd suggest to change it something like fix: first column in DataTable has incorrect width.

Edited.


rancher 2.1.1 pipeline runScriptConfig image can not use private registries

pipeline step 1-0 runScriptConfig，image can not use private registries，please help me

The imagepullsecret is missing. It is injected in API layer, we need to inject it in similar way for pipeline build pod.
As the workaround in v2.1.1, you can pre-pull necessary images on the hosts before running the pipeline. For example, deploy a daemonset with the image, then remove it when the image is present on all hosts.

@gitlawr thank you, it works now , but next step is failed, can not build image and push private registries, error info is:
11:44:21 [pipeline_p-52cb4-9] Running shell script 11:44:22 + /usr/local/bin/dockerd-entrypoint.sh /bin/drone-docker 11:44:22 + /usr/local/bin/dockerd -g /var/lib/docker --insecure-registry docker-registry.p-kmbfd-pipeline 11:44:22 time="2018-11-22T11:44:22Z" level=warning msg="The \"-g / --graph\" flag is deprecated. Please use \"--data-root\" instead" 11:44:22 time="2018-11-22T11:44:22.377728813Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found" 11:44:22 time="2018-11-22T11:44:22.378643419Z" level=info msg="libcontainerd: started new docker-containerd process" pid=43 11:44:22 time="2018-11-22T11:44:22Z" level=info msg="starting containerd" module=containerd revision=89623f28b87a6004d4b785663257362d1658a729 version=v1.0.0  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="setting subreaper..." module=containerd  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="changing OOM score to -500" module=containerd  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." module=containerd type=io.containerd.content.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." module=containerd type=io.containerd.snapshotter.v1  11:44:22 time="2018-11-22T11:44:22Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.btrfs" error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" module=containerd  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." module=containerd type=io.containerd.snapshotter.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." module=containerd type=io.containerd.metadata.v1  11:44:22 time="2018-11-22T11:44:22Z" level=warning msg="could not use snapshotter btrfs in metadata plugin" error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" module="containerd/io.containerd.metadata.v1.bolt"  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." module=containerd type=io.containerd.differ.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." module=containerd type=io.containerd.gc.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." module=containerd type=io.containerd.grpc.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." module=containerd type=io.containerd.grpc.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." module=containerd type=io.containerd.grpc.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." module=containerd type=io.containerd.grpc.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." module=containerd type=io.containerd.grpc.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." module=containerd type=io.containerd.grpc.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." module=containerd type=io.containerd.grpc.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." module=containerd type=io.containerd.grpc.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." module=containerd type=io.containerd.grpc.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." module=containerd type=io.containerd.monitor.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." module=containerd type=io.containerd.runtime.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." module=containerd type=io.containerd.grpc.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." module=containerd type=io.containerd.grpc.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." module=containerd type=io.containerd.grpc.v1  11:44:22 time="2018-11-22T11:44:22Z" level=info msg=serving... address="/var/run/docker/containerd/docker-containerd-debug.sock" module="containerd/debug"  11:44:22 time="2018-11-22T11:44:22Z" level=info msg=serving... address="/var/run/docker/containerd/docker-containerd.sock" module="containerd/grpc"  11:44:22 time="2018-11-22T11:44:22Z" level=info msg="containerd successfully booted in 0.016682s" module=containerd  11:44:22 time="2018-11-22T11:44:22.467849023Z" level=info msg="Graph migration to content-addressability took 0.00 seconds" 11:44:22 time="2018-11-22T11:44:22.468070378Z" level=warning msg="Your kernel does not support cgroup rt period" 11:44:22 time="2018-11-22T11:44:22.468083578Z" level=warning msg="Your kernel does not support cgroup rt runtime" 11:44:22 time="2018-11-22T11:44:22.470629456Z" level=info msg="Loading containers: start." 11:44:22 time="2018-11-22T11:44:22.487484266Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: ip: can't find device 'bridge'\nbridge                126976  1 br_netfilter\nstp                    16384  1 bridge\nllc                    16384  2 bridge,stp\nip: can't find device 'br_netfilter'\nbr_netfilter           24576  0 \nbridge                126976  1 br_netfilter\nmodprobe: can't change directory to '/lib/modules': No such file or directory\n, error: exit status 1" 11:44:22 time="2018-11-22T11:44:22.496658918Z" level=warning msg="Running modprobe nf_nat failed with message: ip: can't find device 'nf_nat'\nnf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADE\nnf_nat_ipv4            16384  1 iptable_nat\nnf_nat                 24576  3 xt_nat,nf_nat_masquerade_ipv4,nf_nat_ipv4\nnf_conntrack          106496  6 nf_conntrack_netlink,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,xt_conntrack,nf_nat\nmodprobe: can't change directory to '/lib/modules': No such file or directory, error: exit status 1" 11:44:22 time="2018-11-22T11:44:22.505124564Z" level=warning msg="Running modprobe xt_conntrack failed with message: ip: can't find device 'xt_conntrack'\nxt_conntrack           16384 122 \nx_tables               36864 15 xt_statistic,xt_multiport,iptable_mangle,ipt_REJECT,xt_comment,xt_tcpudp,xt_set,iptable_raw,xt_nat,xt_mark,ipt_MASQUERADE,xt_addrtype,iptable_filter,ip_tables,xt_conntrack\nnf_conntrack          106496  6 nf_conntrack_netlink,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,xt_conntrack,nf_nat\nmodprobe: can't change directory to '/lib/modules': No such file or directory`, error: exit status 1"
11:44:22 time="2018-11-22T11:44:22.616350594Z" level=info msg="Default bridge (docker0) is assigned with an IP address <IP_ADDRESS>/16. Daemon option --bip can be used to set a preferred IP address"
11:44:22 time="2018-11-22T11:44:22.665294407Z" level=info msg="Loading containers: done."
11:44:22 time="2018-11-22T11:44:22.701584683Z" level=info msg="Docker daemon" commit=c97c6d6 graphdriver(s)=overlay2 version=17.12.0-ce
11:44:22 time="2018-11-22T11:44:22.701947310Z" level=info msg="Daemon has completed initialization"
11:44:22 time="2018-11-22T11:44:22.714570320Z" level=info msg="API listen on /var/run/docker.sock"
11:44:23 + /usr/local/bin/docker version
11:44:23 Client:
11:44:23  Version:	17.12.0-ce
11:44:23  API version:	1.35
11:44:23  Go version:	go1.9.2
11:44:23  Git commit:	c97c6d6
11:44:23  Built:	Wed Dec 27 20:05:38 2017
11:44:23  OS/Arch:	linux/amd64
11:44:23
11:44:23 Server:
11:44:23  Engine:
11:44:23   Version:	17.12.0-ce
11:44:23   API version:	1.35 (minimum version 1.12)
11:44:23   Go version:	go1.9.2
11:44:23   Git commit:	c97c6d6
11:44:23   Built:	Wed Dec 27 20:12:29 2017
11:44:23   OS/Arch:	linux/amd64
11:44:23   Experimental:	false
11:44:23 + /usr/local/bin/docker info
11:44:23 Containers: 0
11:44:23  Running: 0
11:44:23  Paused: 0
11:44:23  Stopped: 0
11:44:23 Images: 0
11:44:23 Server Version: 17.12.0-ce
11:44:23 Storage Driver: overlay2
11:44:23  Backing Filesystem: extfs
11:44:23  Supports d_type: true
11:44:23  Native Overlay Diff: true
11:44:23 Logging Driver: json-file
11:44:23 Cgroup Driver: cgroupfs
11:44:23 Plugins:
11:44:23  Volume: local
11:44:23  Network: bridge host macvlan null overlay
11:44:23  Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
11:44:23 Swarm: inactive
11:44:23 Runtimes: runc
11:44:23 Default Runtime: runc
11:44:23 Init Binary: docker-init
11:44:23 containerd version: 89623f28b87a6004d4b785663257362d1658a729
11:44:23 runc version: b2567b37d7b75eb4cf325b77297b140ea686ce8f
11:44:23 init version: 949e6fa
11:44:23 Security Options:
11:44:23  seccomp
11:44:23   Profile: default
11:44:23 Kernel Version: 4.4.0-87-generic
11:44:23 Operating System: Alpine Linux v3.7 (containerized)
11:44:23 OSType: linux
11:44:23 Architecture: x86_64
11:44:23 CPUs: 16
11:44:23 Total Memory: 31.4GiB
11:44:23 Name: jenkins-slave-ts1f3-pz7gx
11:44:23 ID: BR7W:K2CQ:VDHW:REDO:XWTT:3PRP:RQ7C:HICZ:O35P:VZ4W:2TVG:WHJ2
11:44:23 Docker Root Dir: /var/lib/docker
11:44:23 Debug Mode (client): false
11:44:23 Debug Mode (server): false
11:44:23 Registry: https://index.docker.io/v1/
11:44:23 Labels:
11:44:23 Experimental: false
11:44:23 Insecure Registries:
11:44:23  docker-registry.p-kmbfd-pipeline
11:44:23  <IP_ADDRESS>/8
11:44:23 Live Restore Enabled: false
11:44:23
11:44:23 WARNING: bridge-nf-call-iptables is disabled
11:44:23 WARNING: bridge-nf-call-ip6tables is disabled
11:44:23 + /usr/local/bin/docker build --rm=true -f ./Dockerfile -t 00000000 . --pull=true --label org.label-schema.build-date=2018-11-22T11:44:23Z --label org.label-schema.vcs-ref=00000000 --label org.label-schema.vcs-url=
11:44:24 Sending build context to Docker daemon  34.76MB
11:44:24 Step 1/8 : FROM java:8-jre-alpine
11:44:36 time="2018-11-22T11:44:35.473711390Z" level=warning msg="Error getting v2 registry: Get https://registry-1.docker.io/v2/: net/http: TLS handshake timeout"
11:44:36 time="2018-11-22T11:44:35.473846823Z" level=info msg="Attempting next endpoint for pull after error: Get https://registry-1.docker.io/v2/: net/http: TLS handshake timeout"
11:44:36 Get https://registry-1.docker.io/v2/: net/http: TLS handshake timeout
11:44:36 time="2018-11-22T11:44:35Z" level=fatal msg="exit status 1"`
please help me .

@gitlawr Is pushing built images on private registries also planned for v2.2 or is the milestone only for pulling from private registries?

@Daily1116 The failure shows that you failed due to network connection. Are you in an air-gapped environment?
You are using java:8-jre-alpine as the base image in the Dockerfile, which is from docker hub. In the case when you cannot access docker hub you need to use base images from your private registry.
# example Dockerfile
FROM registry.example.com/somepath/java:8-jre-alpine

RUN anything

@kapolos This issue is for using private images as the context image in runScript steps. You can build and publish to private registry now.

@gitlawr It not in an air-gapped environment. now i change base image in the Dockerfile. Still failed.
Dockerfile
FROM index.paas.com/software/base-jre:8
LABEL author=Daily1116
VOLUME /tmp
COPY target/demo.jar app.jar
EXPOSE 8090
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]

.rancher-pipeline.yml
stages:
- name: compile
  steps:
  - runScriptConfig:
      image: index.paas.com/software/maven:1.0
      shellScript: mvn clean package -Dmaven.test.skip=true
    env:
      PLUGIN_DEBUG: "true"
      PLUGIN_INSECURE: "true"
  when:
    branch:
      include:
      - master
    event:
      include:
      - push
- name: build_push_image
  steps:
  - publishImageConfig:
      dockerfilePath: ./Dockerfile
      buildContext: .
      tag: index.paas.com/spring_cloud/demo:test
      pushRemote: true
      registry: index.paas.com
    env:
      PLUGIN_DEBUG: "true"
      PLUGIN_INSECURE: "true"
    when:
      branch:
        include:
        - master
- name: deploy
  steps:
  - applyYamlConfig:
      path: ./deployment.yaml
timeout: 60

The error info is:
01:26:02 [pipeline_p-52cb4-10] Running shell script
01:26:04 + /usr/local/bin/dockerd-entrypoint.sh /bin/drone-docker
01:26:04 + /usr/local/bin/dockerd -g /var/lib/docker --insecure-registry index.paas.com
01:26:04 time="2018-11-23T01:26:04Z" level=warning msg="The \"-g / --graph\" flag is deprecated. Please use \"--data-root\" instead"
01:26:04 time="2018-11-23T01:26:04.515431226Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"
01:26:04 time="2018-11-23T01:26:04.516520109Z" level=info msg="libcontainerd: started new docker-containerd process" pid=36
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="starting containerd" module=containerd revision=89623f28b87a6004d4b785663257362d1658a729 version=v1.0.0
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="setting subreaper..." module=containerd
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="changing OOM score to -500" module=containerd
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." module=containerd type=io.containerd.content.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." module=containerd type=io.containerd.snapshotter.v1
01:26:04 time="2018-11-23T01:26:04Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.btrfs" error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" module=containerd
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." module=containerd type=io.containerd.snapshotter.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." module=containerd type=io.containerd.metadata.v1
01:26:04 time="2018-11-23T01:26:04Z" level=warning msg="could not use snapshotter btrfs in metadata plugin" error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" module="containerd/io.containerd.metadata.v1.bolt"
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." module=containerd type=io.containerd.differ.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." module=containerd type=io.containerd.gc.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." module=containerd type=io.containerd.grpc.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." module=containerd type=io.containerd.grpc.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." module=containerd type=io.containerd.grpc.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." module=containerd type=io.containerd.grpc.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." module=containerd type=io.containerd.grpc.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." module=containerd type=io.containerd.grpc.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." module=containerd type=io.containerd.grpc.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." module=containerd type=io.containerd.grpc.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." module=containerd type=io.containerd.grpc.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." module=containerd type=io.containerd.monitor.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." module=containerd type=io.containerd.runtime.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." module=containerd type=io.containerd.grpc.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." module=containerd type=io.containerd.grpc.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." module=containerd type=io.containerd.grpc.v1
01:26:04 time="2018-11-23T01:26:04Z" level=info msg=serving... address="/var/run/docker/containerd/docker-containerd-debug.sock" module="containerd/debug"
01:26:04 time="2018-11-23T01:26:04Z" level=info msg=serving... address="/var/run/docker/containerd/docker-containerd.sock" module="containerd/grpc"
01:26:04 time="2018-11-23T01:26:04Z" level=info msg="containerd successfully booted in 0.014546s" module=containerd
01:26:04 time="2018-11-23T01:26:04.604572072Z" level=info msg="Graph migration to content-addressability took 0.00 seconds"
01:26:04 time="2018-11-23T01:26:04.604829417Z" level=warning msg="Your kernel does not support cgroup rt period"
01:26:04 time="2018-11-23T01:26:04.604844298Z" level=warning msg="Your kernel does not support cgroup rt runtime"
01:26:04 time="2018-11-23T01:26:04.607416598Z" level=info msg="Loading containers: start."
01:26:04 time="2018-11-23T01:26:04.625899918Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: ip: can't find device 'bridge'\nbridge                126976  1 br_netfilter\nstp                    16384  1 bridge\nllc                    16384  2 bridge,stp\nip: can't find device 'br_netfilter'\nbr_netfilter           24576  0 \nbridge                126976  1 br_netfilter\nmodprobe: can't change directory to '/lib/modules': No such file or directory\n, error: exit status 1"
01:26:04 time="2018-11-23T01:26:04.636087859Z" level=warning msg="Running modprobe nf_nat failed with message: `ip: can't find device 'nf_nat'\nnf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADE\nnf_nat_ipv4            16384  1 iptable_nat\nnf_nat                 24576  3 xt_nat,nf_nat_masquerade_ipv4,nf_nat_ipv4\nnf_conntrack          106496  6 nf_conntrack_netlink,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,xt_conntrack,nf_nat\nmodprobe: can't change directory to '/lib/modules': No such file or directory`, error: exit status 1"
01:26:04 time="2018-11-23T01:26:04.645230438Z" level=warning msg="Running modprobe xt_conntrack failed with message: `ip: can't find device 'xt_conntrack'\nxt_conntrack           16384 122 \nx_tables               36864 15 xt_statistic,xt_multiport,iptable_mangle,ipt_REJECT,xt_comment,xt_tcpudp,xt_set,iptable_raw,xt_nat,xt_mark,ipt_MASQUERADE,xt_addrtype,iptable_filter,ip_tables,xt_conntrack\nnf_conntrack          106496  6 nf_conntrack_netlink,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,xt_conntrack,nf_nat\nmodprobe: can't change directory to '/lib/modules': No such file or directory`, error: exit status 1"
01:26:04 time="2018-11-23T01:26:04.764449714Z" level=info msg="Default bridge (docker0) is assigned with an IP address <IP_ADDRESS>/16. Daemon option --bip can be used to set a preferred IP address"
01:26:04 time="2018-11-23T01:26:04.816670967Z" level=info msg="Loading containers: done."
01:26:04 time="2018-11-23T01:26:04.846828914Z" level=info msg="Docker daemon" commit=c97c6d6 graphdriver(s)=overlay2 version=17.12.0-ce
01:26:04 time="2018-11-23T01:26:04.847200283Z" level=info msg="Daemon has completed initialization"
01:26:04 time="2018-11-23T01:26:04.857406372Z" level=info msg="API listen on /var/run/docker.sock"
01:26:06 time="2018-11-23T01:26:06.673440497Z" level=info msg="Error logging in to v2 endpoint, trying next endpoint: Get https://index.paas.com/v2/: dial tcp: lookup index.paas.com on <IP_ADDRESS>:53: no such host"
01:26:06 time="2018-11-23T01:26:06.675997534Z" level=info msg="Error logging in to v2 endpoint, trying next endpoint: Get http://index.paas.com/v2/: dial tcp: lookup index.paas.com on <IP_ADDRESS>:53: no such host"
01:26:06 time="2018-11-23T01:26:06.676077379Z" level=error msg="Handler for POST /v1.35/auth returned error: Get http://index.paas.com/v2/: dial tcp: lookup index.paas.com on <IP_ADDRESS>:53: no such host"
01:26:06 time="2018-11-23T01:26:06Z" level=fatal msg="Error authenticating: exit status 1"

It shows that index.paas.com is not resolvable in pods

@gitlawr
Then how can I solve it?

I assume the domain name is something you set in /etc/hosts on the hosts. It takes no effect in pods because kubenetes manage it in pods.
One solution is to add that custom DNS entry to pods
# pod.spec
hostAliases:
  - ip: "your registry ip"
    hostnames:
    - "index.paas.com"

The build pod is provisioned dynamically and there's no configuration entry for this. But you can try to add the above entry to kube-dns deployment, if you're using kube-dns.

@gitlawr
as you said, the build pod is provisioned dynamically, so user can not set dnsPolicy default, can it be resolved in v2.2？

@Daily1116 I believe adding the entry to kube-dns helps in the case, you don't need to configure the dnsPolicy for the build pod. Have you tried that or it does not work for you?
Additionally, you can configure a custom nameserver for the publish step instead of the default cluster dns:
    env:
      PLUGIN_CUSTOM_DNS: "<IP_ADDRESS>"

@gitlawr I does not tried to add the entry to kube-dns yet. Can you provide a method how to add it?https://rancher.com/docs/rancher/v2.x/en/tools/pipelines/configurations/
Available variables includes do not have PLUGIN_CUSTOM_DNS , Other variables do not provide an example description,Is the guidance document to be more detailed?

it is not a pipeline-scoped configuration so you cannot find it there.
Here's the instruction via UI:

Go to system project
find the workload named kube-dns under kube-system namespace. Edit it.
Click upgrade for kubedns container(the first one)
Roll down to the bottom, click show advanced options
Expand the networking tab, find the Host Aliases option
Click Add Host Alias and input the dns entry according to your need.

if you use kubectl,

kubectl edit deploy kube-dns --namespace kube-system
Edit the deployment yaml and add what i've mentioned above.

@gitlawr it works through add the entry to kube-dns, thank you very much!

@gitlawr another issue, in runScriptConfig step, I found that every time maven is built, it go to download the jars. it costs much time, Is there any way to cache the built jars?

Hi!
I have this problem on 2.1.9.
Will this issue be fixed on 2.1 series?
cc: @loganhz

@adrianovieira The fix is in 2.2 and we probably won't backport it to 2.1

What dns entry should you give it, if the private registry is running in a container
Should you give it its internal address, like registry.default if it's in the default namespace?

@ainiml The image is pulled by dockerd on the node, so it should be something accessible on your hosts.


Allow specifying read consistency

Closes #4340

Ok.
On Mon, Nov 6, 2017, 6:21 AM Luke Sneeringer<EMAIL_ADDRESS>wrote:

@lukesneeringer approved this pull request.
This looks sane to me. Please get either @tseaver
https://github.com/tseaver or @dhermes https://github.com/dhermes to
also say yes before merging.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-python/pull/4343#pullrequestreview-74429797,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADzDDExUi_PSKcCKImv96T9FRvw-5GIDks5szxX0gaJpZM4QRyrZ
.

@chemelnucfin Please put the "Closes #4340" in the description, not the title.  E.g., for a single-commit PR:
$ git commit datastore/ -m "Specify read consistency.
Closes $4340."

Also, please add labels when you create the PR.

@chemelnucfin Rather than merging master into your branch (which is what confused the @goolebot) we prefer to rebase the branch against master, which keeps the PR focused on just the relevant changes.

Sorry about that.  I think I rebased on the wrong branch.  I think that's better now.

@dhermes @tseaver Is this ok?


Use stream symbol in unsubscribe confirmation modal

Currently, there is no stream symbol before the stream name in the "Unsubscribe from stream" confirmation modal:

Instead, the name of the stream in the heading should be preceded by the appropriate stream privacy symbol (hash, globe or lock).

@zulipbot claim

I want to work on this issue. Can you please assign me this issue?

I want to work on that issue. Please assign me that issue!

I want to work on this issue, can you please assign me in this.

Folks, please check out the contributing guide for instructions on how to find an issue to work on: https://zulip.readthedocs.io/en/latest/overview/contributing.html#picking-an-issue-to-work-on. This one is already being worked on.

@zulipbot claim

@zulipbot claim


rust port: use macro to generate inline macros

Description
The code for each language specific proc macro (py!{}, node!{}, etc.) was being generated in a build script by substituting the name in a string (format!()), saving the generated code in a file and then loading it back in the code.
This was unnecessary as the code can be generated through a declarative macro (a.k.a. "macro by example").
So the following changes were made:

Defined a new macro gen_inline_macro which generates an inline proc macro for the given language
This does not use any funny string interpolation
Called this for every language defined in the build script
Removed build script as it was only used to generate the code

Note that the usage remains the same - we get py!{}, node!{}, etc. macros as before.
Also removed extern crate proc_macro2; because the extern crate declaration is not needed in newer Rust versions.
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Documentation update

This can be considered a refactor, does not fit any of the above.
Checklist:

[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/screenshots (if any) that prove my fix is effective or that my feature works.
[ ] I have tested the tests implicated (if any) by my own code and they pass (make test or ctest -VV -R <test-name>).
[ ] If my change is significant or breaking, I have passed all tests with ./docker-compose.sh build &> output and attached the output.
[ ] I have tested my code with OPTION_BUILD_SANITIZER or ./docker-compose.sh test &> output and OPTION_TEST_MEMORYCHECK.
[ ] I have tested with Helgrind in case my code works with threading.
[ ] I have run make clang-format in order to format my code and my code follows the style guidelines.

If you are unclear about any of the above checks, have a look at our documentation here.

All rust port tests are passing locally now.


HELP PLS

Why doesn't the simple charger inject osiris?

Just use Extreme Injector. It's available here on Github.

Just use Extreme Injector. It's available here on Github.

I wanted a loader, not an injector.

Just use Extreme Injector. It's available here on Github.

boi you'll get banned in 2 days lmaoo
Use CSGhost lmfao

Just use Extreme Injector. It's available here on Github.

boi you'll get banned in 2 days lmaoo
Use CSGhost lmfao

I got banned on one experimental account when I used that CSghost. Now I use Extreme Injector and haven't got banned.

Just use Extreme Injector. It's available here on Github.

boi you'll get banned in 2 days lmaoo
Use CSGhost lmfao

I got banned on one experimental account when I used that CSghost. Now I use Extreme Injector and haven't got banned.

you used csghost c4 ? and ran it when steam was closed?

5 months with shtreeba oof nothing at all

5 months with shtreeba oof nothing at all

I'm using it too, but I wanted a loader with hwid


Include powertoys shortcuts on the shortcuts page

Description of the new feature / enhancement
The windows shortcuts is amazing, but it would rock even more if you could include the shorcuts currently set to the different powertoys commands
Scenario when this would be used?
Every day I look for shortcuts and I need to open settings to find them
Supporting information
No response

/dup #890


-resources-path flag is not supported by the dapr run command

It looks like the --resources-path flag is not supported by the dapr run command. Instead, you can use the --components-path flag to specify the path to the directory containing your Dapr components.
Here's an updated command that should work:
dapr run --app-id order-processor --components-path ../components/ --app-port 5001 --python3 app.py

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1130925e-9151-7f16-bdb1-480384210ff8
Version Independent ID: 553fc069-cb90-acfd-cc77-4520f1d739e9
Content: Microservices communication using Dapr Publish and Subscribe - Azure Container Apps
Content Source: articles/container-apps/microservices-dapr-pubsub.md
Service: container-apps
GitHub Login: @hhunter-ms
Microsoft Alias: hannahhunter

@davidmarkgardiner
Thanks for your feedback! We will investigate and update as appropriate.

Hi @davidmarkgardiner, can you please clarify what version of the Dapr CLI you're using?

Hello @davidmarkgardiner - The --resources-path flag appears still in-use/supported on the main: https://docs.dapr.io/reference/cli/dapr-run/

Since we didn't determine any changes to this doc upon reviewing this feedback, we will now proceed to close this thread for now. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Feature - Explore the CKAN open data portal API

Currently the only open data portals that scout indexes are ones run by Socrata. We would love to extend this to other open data portals starting with CKAN.
For a given CKAN portal we need to be able to obtain a list of datasets available on that portal and then map the meta data for those datasets in to the same standard format we are using for the Socrata datasets.
The function that does this for the socrata datasets can be found in the code here:
https://github.com/tsdataclinic/scout/blob/86cab19b25d478ccac4f99fbeef3ecbc38b90ca2/src/utils/socrata.js#L179-L220
Some useful resources for this:

API Docs : The CKAN API docs
ckan javascript client : A javascript client for the API
ckanapi : A python package for interacting with a CKAN portal

Note, it makes sense to add this to the scout-multi branch rather than the main branch

Switching to "frozen" because there are no imminent plans on scoping, but this is in the roadmap for EOY.


Avoid crashing on backward migration

Currently, when trying to migrate a django-jsonfield-compat migration backwards, the post_migrate signal handler crashes, because the schema query returns no result:
Traceback (most recent call last):
  …
  File "…/jsonfield_compat/convert.py", line 48, in handler_convert_json_fields
    convert_model_json_fields(model)
  File "…/jsonfield_compat/convert.py", line 43, in convert_model_json_fields
    convert_column_to_json(model, column_name)
  File "…/jsonfield_compat/convert.py", line 23, in convert_column_to_json
    current_type = cursor.fetchone()[0].upper()
TypeError: 'NoneType' object is not subscriptable

I ran into this while trying to unapply django-activity-stream's migrations.
This changes the code above to handle a None result, and skip the conversion in that case.

Do you can merge this PR?


Put exclusions in order by Ruby version for easy reference

Hey there! This is a simple PR that orders the exclusions in the Travis build matrix by Ruby and Rails versions. This makes it easier to check at a glance which exclusions there already are and if any others need to be added during future development.

Thanks, @danascheider!


Feature Request: Specify a base directory for running reports

Is your feature request related to a problem? Please describe.
I have a statically-generated site (via Nuxt) where all of the pages are in subdirectories. The pages are dynamically-generated, by content authors via a GUI (it's basically a DIY site builder) so I do not know all of the paths ahead of time.
Describe the solution you'd like
I'd like to be able specify a base path, such as /pages, and have it pick up all of the nested pages. For example, /pages/foo/index.html, /pages/bar/index.html etc etc.
Describe alternatives you've considered
I've considered manually overwriting the netlify.toml file before the build process begins, with a Node.js script that makes an API call to fetch a list of currently-existing page paths, but that feels a bit messy.
Additional context
N/A

Hi @callmeaponte 👋
Thank you for getting in touch with this request! This feature is now available in version v4.0.0 (via https://github.com/netlify/netlify-plugin-lighthouse/pull/487)
For the use-case you mention above, you will be able to specify e.g.
[[plugins.inputs.audits]]
  path = "pages/foo"

[[plugins.inputs.audits]]
  path = "pages/bar"

By default, the index.html inside the given path will be audited, but if you ever need to change that then you can append the full filename, e.g.
[[plugins.inputs.audits]]
  path = "pages/foo/example.html"

Please do upgrade, and don't hesitate to get in touch if you have any issues!

Hi @aitchiss , I gather @callmeaponte was requesting for the ability to do something like:
[[plugins.inputs.audits]]
  path = "pages/*"

Which would then audit all pages within pages/ i.e. pages/foo/index.html and pages/bar/index.html. Is this something that will be supported in the future?

Ah, yes thank you for the clarification @tobias-edwards and sorry if I misinterpreted your original request @callmeaponte! I'll re-open this issue and we'll triage it as a feature request 👍


Fixes #231 -- Updated dependency versions

It is observed that the dependency github.com/urfave/cli at a release version of v1.22.0 was having an issue (https://github.com/urfave/cli/issues/888). It was due to the some of the dependency issues with cli, v1.22.1 was released with a fix (https://github.com/urfave/cli/pull/887).
The pull request includes the update of the package dependencies being used in the project. Thus being updated with the dependency versions, will not break the following:
go.exe get -u github.com/aws/aws-lambda-go/cmd/build-lambda-zip
Which includes build using latest available updated versions of dependencies. (Ref: https://github.com/aws/aws-lambda-go/blob/master/README.md)
Solves: https://github.com/aws/aws-lambda-go/issues/231

Codecov Report

Merging #232 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #232   +/-   ##
=======================================
  Coverage   74.44%   74.44%
=======================================
  Files          20       20
  Lines         677      677
=======================================
  Hits          504      504
  Misses        128      128
  Partials       45       45

Continue to review full report at Codecov.

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

@bmoffatt please do review.


Information about current Quarto upstream issues

I am suggesting an extension to the README file to address #195.

Thanks @andreuvall


Add yq to Dockerfile.rhel-9.custom

Also bumps kustomize version

Bumping kustomize and adding yq. https://github.com/openstack-k8s-operators/openstack-operator/pull/1185

/lgtm


Update Windows bootstrapping to support wins v0.1.x

This issue tracks the changes necessary in the rancher/rancher repository to update the bootstrapping process for creating a Windows cluster to automatically install the newer version of wins that will support .\wins.exe up[grade] and .\wins.exe cli proxy --publish TCP:<port>.
Once this issue is merged in, any future Windows clusters should be able to support wins upgrades and using the new Monitoring V2 chart with no changes.
This issue does not track existing cluster upgrades, which will instead be tracked as part of https://github.com/rancher/wins/issues/20.

Windows clusters deployed with rancher:v2.5-head b2a34d7 are now able to run v2 monitoring with enabled windowsExporter (so far it has to be enabled manually in values YAML) out-of-the-box without a need to deploy rancher-wins-upgrader chart.
Tested within 1st testcase listed at https://confluence.suse.com/display/EN/Monitoring+v2+Windows+Support


Missing pot recalculation at the end of expireLimited

When calling expire there is a calculation to adjust the pot that is missing in the case of expireLimited.
There is a suggestion in this document about how to fix this: https://hackmd.io/lk2r7670TFy-HefWolTYrg

Fixed by #52


Make Elegit "pretty"

It seems like material design would be the way to go. (https://material.google.com/)

Biggest change would be in the buttons. which are a little behind in design

Also, consistently style all the pop-up windows

Also, style the notification bubbles.

Also, style the menus


Toolbar functions issues

Having issues with export and add row when using in jupyter notebook. I was following the example:
from pandas_datareader import wb df2 = wb.download(indicator='NY.GDP.PCAP.KD', country=['all'], start=2005, end=2008) df2.columns = ['GDP per capita (constant 2005 US$)'] qgrid.show_grid(df2, show_toolbar=True)
and got the error "Cannot add a row to a table with a non-integer index" for adding a row.
And when trying to export it just copies the table and reproduces it below.
Thanks

Thanks for the report.  That's actually the expected behavior for the export button currently.  When you export the notebook by using the Download as Html feature on the File menu, or by rendering it on NbViewer, the 2nd copy will be visible and the first will be gone.  Admittedly this is a weird user experience and I'm in the process of making this widget behave more like a standard widget, since the notebook now supports exporting standard widgets to static views in this way.  So I'm hoping that user experience will improve soon.
As for the add row issue, that's an issue I've know about for a while and I actually mentioned in the docs here: http://qgrid.readthedocs.io/en/latest/#qgrid.show_grid
Adding/removing rows is an experimental feature which only works with DataFrames that have an integer index.

I think it's unlikely I'll fix that anytime soon since it's fairly low priority.

The export button is gone in qgrid 1.0 and it's no longer possible to export a fully functional version of qgrid to static html, because in the new version of qgrid the sorting/filtering logic is done on the server.  That being said, you should still be able to export a partially functional version of qgrid where sorting/filtering is broken (and only 200 rows are included) once https://github.com/jupyter-widgets/ipywidgets/issues/1597 is fixed.
I realize that's probably not all that useful to people so another alternative that might be a better option is to use the new "binder" service for rendering live notebooks.  I'm using it to host the demo notebook for qgrid and it's been great so far: https://beta.mybinder.org/v2/gh/quantopian/qgrid-notebooks/master?filepath=index.ipynb
I'm going to close this since I no longer plan to provide full support for static html exporting, and I think "binder" will be a suitable alternative for a lot of users.


Variable declared but no completion

Sometimes a declared variable does not appear in the completion and its fields are not showing up either.
This behavior seems to only happens when you declare the new variable with new_clone(T{}).

What is the implementation of new_clone? It clearly is an issue with resolving the poly signature of the function.

Alright thanks. I'll try and find it.


popin animations renders out of the center with out-of-graph-boundaries bezier curves

Already reported ? *

[x] I have searched the existing open and closed issues.

Regression?
Yes
System Info and Version
 System/Version info
Hyprland, built from branch  at commit 4520b30d498daca8079365bdb909a8dea38e8d55  (version: bump to 0.44.1).
Date: Wed Oct 9 12:54:39 2024
Tag: v0.44.1, commits: 5309
built against aquamarine 0.4.2

flags: (if any)

System Information:
System name: Linux
Node name: HuaaaliP0NKH-ER0S
Release: 6.11.0-zen1-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Thu, 19 Sep 2024 04:45:39 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

======Config-Start======

Config File: /home/macydnah/.config/hypr/hyprland.conf: Read Succeeded
# ~/.config/hypr/hyprland.conf

# https://wiki.hyprland.org/Configuring/Keywords/
$mod = SUPER
$terminal = footclient
$floatingTerminal = footclient -a floating-foot -e tmux new-session -A -s shession
$fileManager = pcmanfm
$menu = ~/.config/rofi/launcher.sh
$bar = togglewaybar.sh

# https://wiki.hyprland.org/Configuring/Monitors/
#monitor = name, resolution, position, scale, transform, 0
monitor = ,preferred,auto,auto,transform,0
monitor = LVDS-1, 1366x768@60, 0x0, 1, transform, 0

exec-once = pcmanfm -d
exec-once = foot --server
exec-once = swaybg --output LVDS-1 --mode fill --image /usr/share/backgrounds/fgm.png

env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
env = GDK_BACKEND,wayland
env = LIBVA_DRIVER_NAME,i965
env = LIBVA_DRIVERS_PATH,/usr/lib/dri
env = MOZ_ENABLE_WAYLAND,1
env = QT_QPA_PLATFORM,wayland-egl
env = SDL_VIDEODRIVER,wayland
env = XDG_SESSION_TYPE,wayland
env = _JAVA_AWT_WM_NONREPARENTING,1
env = FLOATINGTERM,$floatingTerminal

# https://wiki.hyprland.org/Configuring/Variables/#general
general {
    border_size = 0
    no_border_on_floating = true
    gaps_in = 2
    gaps_out = 4
    gaps_workspaces = 40
    col.inactive_border = rgba(595959aa)
    #col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.active_border = rgba(97d01add)
    layout = dwindle
    allow_tearing = true
}

# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
    rounding = 4
    active_opacity = 1.0
    inactive_opacity = 0.85
    drop_shadow = true
    shadow_range = 4
    shadow_render_power = 4
    col.shadow = rgba(1a1a1aee)
    col.shadow_inactive = rgba(00000000)
    dim_inactive = false
    dim_strength = 0.5
    dim_special = 0.2
    dim_around = 0.4
    #screen_shader = ~/.config/hypr/blue-light-filter.frag

    # https://wiki.hyprland.org/Configuring/Variables/#blur
    blur {
        enabled = true
        size = 4
        passes = 1
        ignore_opacity = true
        xray = true
        noise = 0.0117
        contrast = 0.8916
        brightness = 0.8172
        vibrancy = 0.1696
        vibrancy_darkness = 0.0
    }
}

# https://wiki.hyprland.org/Configuring/Variables/#animations
# file:///home/macydnah/.config/hypr/conf.d/bezier.conf
source = conf.d/bezier.conf
animations {
    enabled = true
    first_launch_animation = false

    # https://wiki.hyprland.org/Configuring/Animations/
    animation = windowsIn, 1, 4, overshot
    animation = windowsOut, 0, 4, default, popin 100%
    animation = windowsMove, 1, 4, easeOutExpo
    animation = layersIn, 1, 4, easeInOutBack
    animation = layersOut, 1, 4, easeOutExpo
    animation = fade, 1, 4, default
    animation = fadeIn, 1, 3, easeInBack
    animation = fadeOut, 1, 2, easeOutExpo
    animation = fadeSwitch, 1, 2, easeOutExpo
    animation = fadeShadow, 1, 2, easeOutExpo
    animation = fadeLayersIn, 1, 4, easeInOutBack
    animation = fadeLayersOut, 1, 4, easeOutExpo
    animation = border, 0
    animation = borderangle, 0
    animation = workspaces, 1, 6, default, slide
    #animation = workspacesIn, 1, 6, easeOutBack, slide
    #animation = workspacesOut, 1, 6, easeOutBack, fade
    animation = specialWorkspace, 1, 5, overshot, slidevert
}

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
    kb_model = pc104
    kb_layout = us
    kb_variant = altgr-intl
    kb_options =
    kb_rules =

    sensitivity = 0.0
    accel_profile = adaptive
    force_no_accel = false
    scroll_method = 2fg
    follow_mouse = 2
    off_window_axis_events = 0

    # https://wiki.hyprland.org/Configuring/Variables/#touchpad
    touchpad {
        natural_scroll = true
        scroll_factor = 1.3
        tap_button_map = lrm
        clickfinger_behavior = false
        drag_lock = true
    }
}

# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
    workspace_swipe = true
    workspace_swipe_fingers = 3
    workspace_swipe_min_fingers = true
    workspace_swipe_distance = 150
    workspace_swipe_min_speed_to_force = 0
    workspace_swipe_cancel_ratio = 0.0
}

# https://wiki.hyprland.org/Configuring/Variables/#group
group {
    groupbar {
        enabled = true
        font_size = 8
        gradients = true
        height = 15
        stacked = false
        render_titles = true
        scrolling = false
        text_color = 0xffffffff
        col.active = 0x66ffff00
        col.inactive = 0x66777700
    }
}

# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
    disable_hyprland_logo = true
    disable_splash_rendering = true
    font_family = SF Pro Display
    force_default_wallpaper = -1
    vfr = false
    mouse_move_enables_dpms = false
    key_press_enables_dpms = false
    animate_manual_resizes = false
    animate_mouse_windowdragging = false
    disable_autoreload = false
    enable_swallow = false
    mouse_move_focuses_monitor = false
    background_color = 0x777777
    new_window_takes_over_fullscreen = 2
    middle_click_paste = false
}

# https://wiki.hyprland.org/Configuring/Variables/#binds
binds {
    allow_workspace_cycles = true
    window_direction_monitor_fallback = true
}

# https://wiki.hyprland.org/Configuring/Variables/#opengl
opengl {
    nvidia_anti_flicker = false
    force_introspection = 1
}

# https://wiki.hyprland.org/Configuring/Variables/#cursor
cursor {
    inactive_timeout = 2
    hotspot_padding = 5
    no_warps = true
    persistent_warps = true
    zoom_factor = 1.000
    hide_on_key_press = false
}

# https://wiki.hyprland.org/Configuring/Dwindle-Layout/
dwindle {
    pseudotile = true
    force_split = 2
    preserve_split = true
    no_gaps_when_only = 0
    use_active_for_splits = true

    bind = $mod, P, pseudo
    bind = $mod, C, togglesplit
}

# https://wiki.hyprland.org/Configuring/Master-Layout/
master {
    new_status = master
}

####################
### KEYBINDINGS  ###
####################

# https://wiki.hyprland.org/Configuring/Binds/

# Volume/Brightness Control
bind = ,XF86AudioMute, exec, volfade.sh -m
bind = ,XF86AudioRaiseVolume, exec, volfade.sh -i
bind = ,XF86AudioLowerVolume, exec, volfade.sh -d
bind = $mod, XF86AudioRaiseVolume, exec, pavucontrol --tab=3
bind = $mod, XF86AudioLowerVolume, exec, pavucontrol --tab=3
binde = ,XF86MonBrightnessUp, exec, xbacklight -inc 3 -fps 60 -time 111 -perceived
binde = ,XF86MonBrightnessDown, exec, xbacklight -dec 3 -fps 60 -time 111 -perceived
bind = SHIFT, XF86MonBrightnessUp, exec, hyprctl keyword decoration:screen_shader ' '
bind = SHIFT, XF86MonBrightnessDown, exec, hyprctl keyword decoration:screen_shader ~/.config/hypr/blue-light-filter.frag
bind = $mod, XF86MonBrightnessUp, exec, hyprctl dispatch dpms on
bind = $mod, XF86MonBrightnessDown, exec, hyprctl dispatch dpms off
bind = $mod, Menu, exec, kblight

# Keybinds/shortcuts for applications
bind = $mod, Return, exec, $terminal
bind = $mod, grave, exec, togglescrat.sh
bind = $mod, A, exec, $menu
bind = $mod, B, exec, $bar
bind = $mod, E, exec, $fileManager
bind = $mod, N, exec, networkmanager_dmenu

# Window manager functions
bind = $mod, Q, killactive
bind = $mod, F, fullscreen, 0
bind = $mod, Tab, workspace, previous
bind = $mod, space, togglefloating,
bind = $mod, X, exec, togglehyprtab.sh
bind = $mod SHIFT, Escape, exec, hyprctl dispatcher exit
bind = $mod, Escape, exec, hyprlock

# Navigation
bind = $mod, J, movefocus, l
bind = $mod, semicolon, movefocus, r
bind = $mod, K, movefocus, u
bind = $mod, L, movefocus, d
bind = $mod SHIFT, J, movewindow, l
bind = $mod SHIFT, semicolon, movewindow, r
bind = $mod SHIFT, K, movewindow, u
bind = $mod SHIFT, L, movewindow, d
bindm = $mod, mouse:272, movewindow
bindm = $mod, mouse:273, resizewindow

bind = $mod, 1, workspace, 1
bind = $mod, 2, workspace, 2
bind = $mod, 3, workspace, 3
bind = $mod, 4, workspace, 4
bind = $mod, 5, workspace, 5
bind = $mod, 6, workspace, 6
bind = $mod, 7, workspace, 7
bind = $mod, 8, workspace, 8
bind = $mod, 9, workspace, 9
bind = $mod, 0, workspace, 10

bind = $mod SHIFT, 1, movetoworkspace, 1
bind = $mod SHIFT, 2, movetoworkspace, 2
bind = $mod SHIFT, 3, movetoworkspace, 3
bind = $mod SHIFT, 4, movetoworkspace, 4
bind = $mod SHIFT, 5, movetoworkspace, 5
bind = $mod SHIFT, 6, movetoworkspace, 6
bind = $mod SHIFT, 7, movetoworkspace, 7
bind = $mod SHIFT, 8, movetoworkspace, 8
bind = $mod SHIFT, 9, movetoworkspace, 9
bind = $mod SHIFT, 0, movetoworkspace, 10
bind = $mod SHIFT, grave, movetoworkspace, special:magic

#############
### RULES ###
#############

# https://wiki.hyprland.org/Configuring/Window-Rules/#rules
# https://wiki.hyprland.org/Configuring/Window-Rules/#layer-rules
# https://wiki.hyprland.org/Configuring/Workspace-Rules/#workspace-rules

#workspace = special:magic,bordersize:2
windowrulev2 = suppressevent maximize,class:.*
layerrule = animation slide,waybar

windowrulev2 = float,class:^(org.pulseaudio.pavucontrol)$

# floating-foot
windowrulev2 = workspace special:magic,class:^(floating-foot)$
windowrulev2 = size 677 382,class:^(floating-foot)$
windowrulev2 = float,class:^(floating-foot)$
windowrulev2 = pseudo,class:^(floating-foot)$
windowrulev2 = tile,class:^(floating-foot)$
#windowrulev2 = bordercolor rgb(97d01a),class:^(floating-foot)$
#windowrulev2 = bordersize 2,class:^(floating-foot)$
#windowrulev2 = dimaround 0,class:^(floating-foot)$
windowrulev2 = noshadow 1,class:^(floating-foot)$

# mpv
windowrulev2 = noblur 1,class:^(mpv)$
windowrulev2 = nodim 1,class:^(mpv)$
windowrulev2 = noshadow 1,class:^(mpv)$
windowrulev2 = opaque 1,class:^(mpv)$
windowrulev2 = forcergbx 1,class:^(mpv)$
windowrulev2 = immediate 1, class:^(mpv)$
windowrulev2 = xray 0,class:^(mpv)$

# swayimg
windowrulev2 = immediate 1, class:^(swayimg)$

# rofi
layerrule = blur,rofi
#layerrule = ignorealpha 0,rofi
layerrule = ignorezero,rofi
layerrule = dimaround,rofi
layerrule = xray 1,rofi
layerrule = animation popin,rofi

# scrcpy
windowrulev2 = float,class:^(scrcpy)$,title:^(SM-G935F)$
windowrulev2 = size 32% 99%,class:^(scrcpy)$,title:^(SM-G935F)$
windowrulev2 = tile,class:^(scrcpy)$,title:^(SM-G935F)$
windowrulev2 = pseudo,class:^(scrcpy)$,title:^(SM-G935F)$

# V4L2 Viewer
#windowrulev2 = opaque,class:^(qvidcap)$,title:^(V4L2 Viewer)$
#windowrulev2 = forcergbx,class:^(qvidcap)$,title:^(V4L2 Viewer)$
#windowrulev2 = noblur,class:^(qvidcap)$,title:^(V4L2 Viewer)$
#windowrulev2 = nodim,class:^(qvidcap)$,title:^(V4L2 Viewer)$
#windowrulev2 = noshadow,class:^(qvidcap)$,title:^(V4L2 Viewer)$
#windowrulev2 = xray off,class:^(qvidcap)$,title:^(V4L2 Viewer)$
#windowrulev2 = float,class:^(qvidcap)$,title:^(V4L2 Viewer)$
#windowrulev2 = pseudo,class:^(qvidcap)$,title:^(V4L2 Viewer)$
#windowrulev2 = tile,class:^(qvidcap)$,title:^(V4L2 Viewer)$
windowrulev2 = opaque,class:^(qvidcap|qv4l2)$,title:(Viewer|Capture)
windowrulev2 = forcergbx,class:^(qvidcap|qv4l2)$,title:(Viewer|Capture)
windowrulev2 = noblur,class:^(qvidcap|qv4l2)$,title:(Viewer|Capture)
windowrulev2 = nodim,class:^(qvidcap|qv4l2)$,title:(Viewer|Capture)
windowrulev2 = noshadow,class:^(qvidcap|qv4l2)$,title:(Viewer|Capture)
windowrulev2 = xray off,class:^(qvidcap|qv4l2)$,title:(Viewer|Capture)
windowrulev2 = float,class:^(qvidcap|qv4l2)$,title:(Viewer|Capture)
windowrulev2 = pseudo,class:^(qvidcap|qv4l2)$,title:(Viewer|Capture)
windowrulev2 = tile,class:^(qvidcap|qv4l2)$,title:(Viewer|Capture)

# vim: ft=hypr tabstop=4 shiftwidth=4 expandtab ai

Config File: /home/macydnah/.config/hypr/conf.d/bezier.conf: Read Succeeded
# ~/.config/hypr/conf.d/bezier.conf

# https://easings.net/
bezier = overshot, 0.05, 0.9, 0.1, 1.1
bezier = overshotIn, 0.05, 0.9, 0.1, 1.1
bezier = overshotOut, 0.05, -2.1, 0.1, 1

bezier = easeInSine, 0.12, 0, 0.39, 0
bezier = easeOutSine, 0.61, 1, 0.88, 1
bezier = easeInOutSine, 0.37, 0, 0.63, 1

bezier = easeInQuad, 0.11, 0, 0.5, 0
bezier = easeOutQuad, 0.5, 1, 0.89, 1
bezier = easeInOutQuad, 0.45, 0, 0.55, 1

bezier = easeInCubic, 0.32, 0, 0.67, 0
bezier = easeOutCubic, 0.33, 1, 0.68, 1
bezier = easeInOutCubic, 0.65, 0, 0.35, 1

bezier = easeInQuart, 0.5, 0, 0.75, 0
bezier = easeOutQuart, 0.25, 1, 0.5, 1
bezier = easeInOutQuart, 0.76, 0, 0.24, 1

bezier = easeInQuint, 0.64, 0, 0.78, 0
bezier = easeOutQuint, 0.22, 1, 0.36, 1
bezier = easeInOutQuint, 0.83, 0, 0.17, 1

bezier = easeInExpo, 0.7, 0, 0.84, 0
bezier = easeOutExpo, 0.16, 1, 0.3, 1
bezier = easeInOutExpo, 0.87, 0, 0.13, 1

bezier = easeInCirc, 0.55, 0, 1, 0.45
bezier = easeOutCirc, 0, 0.55, 0.45, 1
bezier = easeInOutCirc, 0.85, 0, 0.15, 1

bezier = easeInBack, 0.36, 0, 0.66, -0.56
bezier = easeOutBack, 0.34, 1.56, 0.64, 1
bezier = easeInOutBack, 0.68, -0.6, 0.32, 1.6

# vim: ft=hypr tabstop=4 shiftwidth=4 expandtab ai

======Config-End========

Description
Using complex bezier curves that goes out of the function limits, makes Hyprland to render popins animations out of the center, stretching the borders instead of the whole window.
It happens primarily in layer popin animations (e.g. opening rofi). I'm not solid sure if it happens in windows animations too, but it seems to me that it does. Anyways, it's pretty clear on layer popin animations.
This didn't happen on v0.43.0
How to reproduce
Add a bezier curve that it's function graph goes out of the limits. Then add a layer animation that uses said bezier:
bezier = easeInOutBack, 0.68, -0.6, 0.32, 1.6
animation = layersIn, 1, 4, easeInOutBack

I recommend the above as it shows the glitching in a clearer way but the overshot example bezier showed in Hyprland's wiki also applies, as it goes further the function's upper limit:
bezier = overshot, 0.05, 0.9, 0.1, 1.1
Crash reports, logs, images, videos
No crashes.
v0.43.0 (This is expected behavior)
https://github.com/user-attachments/assets/736f722b-1436-42c2-bc15-7e76af6301af
v0.44.0 (This renders out of the center and stretches borders)
https://github.com/user-attachments/assets/5c200c20-db66-48ba-b71c-b037788aa4e3
v0.44.1 (Idem)
https://github.com/user-attachments/assets/844515f7-a9d7-434f-aed1-4a5da648a5d1

Bisected:
[595eb89f6e16df0e19916e3c02bf5ceac5a61c57] is the first bad commit

https://github.com/user-attachments/assets/45b5cff0-b5c9-4989-8be4-b2b55979abfb

yes this is expected behavior unfortunately, and I don't think we can do much about it without sacrificing the major improvements the MR had.

I switched the layer bezier back to default and it's good enough I spose
https://github.com/user-attachments/assets/9ea78cd8-857e-40b5-8c33-feb553b8aae5

yes this is expected behavior unfortunately, and I don't think we can do much about it without sacrificing the major improvements the MR had.

Got it, it was good while it last, ty. Other thing, should I leave this open or close it?

I switched the layer bezier back to default and it's good enough I spose

yeah.. had to resort to something like that too, not as beautiful but u r right good enough


chore: fix intellij errors

Having a go.mod file with a broken version makes Intellij throw constant errors.
This fixes is by changing the name and renaming it back in a temp directory as part of the test.

Even though this passed for me locally if fails on CI because of the replace directive. @alecthomas how important is the high go version test? It seems like the workaround to stop intellij erroring is going to be more complex than the test itself.

I think it's okay to nuke it for now.


Altitude hold (currently POSCTL) should prioritize altitude over speed

As I recall, the last time I tested POSCTL for fixedwing I had the issue that commanded speed had priority over commanded altitude. So if it was not able to hold the speed it would start to dive. IMHO that's wrong, priority should be to hold the altitude.

@friekopter @thomasgubler not sure if someone looked into this already, maybe I'm not up-to-date

@AndreasAntener You have a point there, I'm just not sure yet how to do this properly. What you are proposing is to essentially risk to stall, which doesn't work either. It sounds like we would need to find an approach which changes the speed / altitude weight (which we already have!) based on airspeed. Or we just rely on the under speed protection kicking in, which might in fact be all it needs.

Yes, I'm counting on the underspeed protection to kick in if necessary. The issues I had were related to commanding a speed that the airframe just couldn't do (on level flight). The same can happen if you climb too steep. But as long as the speed doesn't go below minimum, I don't see any reason to limit it's climbing or go into a dive (however during a climb I can understand if people would want it the other way around).
This speed/altitude weight you're talking about.. Somehow I heard that before from Thomas too. I think back then we just talked about tweaking that, but it never got so far. That's something in TECS no? Maybe we should just try that then?

TECS params are documented here:
http://www.pixhawk.org/firmware/parameters#fixed_wing_tecs
Look for FW_T_SPDWEIGHT and play with it on your next flight.

I am not sure what the requirement is in the different situation. As FW_T_SPDWEIGHT is 1 by default it should hold an equal tradeoff between speed and altitude.
What I observe in flight tests:
If I command maximum sink rate and minimum speed the autopilot constrains the real sink rate in order to not exceed commanded speed too much.  I have to check that in my logs, but that is what I observe.
Same in max climb rate.
It will not dive until it comes close to stall speed, maybe due to turbulences or bad configuration parameters.(I have a "stall" call added in my audio)
I think that is a reasonable reaction because a stall must be avoided with highest priority, and inside the flight envelope the autopilot can not really make a decission what is more important speed or climb rate (Would like to know how that is handled in real aviation)..
To come to the situation you describe in the first place: I agree: As soon as climb rate is set to 0 it does not look very smart to leave altitude just to reach an unreachable speed, as long minimum speed is reached.
On the other hand: If the parameters are not set correctly I can not expect a perfect reaction. But, again,  there may be situation where the max speed parameter is set correctly, but for some reason (low battery, gusts) speed is not reached, at least temporary. This may lead to a poor altitude hold.
So for this case it might be a solution to overweight altitude hold by a factor proportional to
(|maxClimbRate| - |commanded climb rate|)/|maxClimbRate|

i.e.
FW_T_SPDWEIGHT = 1 - OVERWIGHT_ALTITUDE_FACTOR * (|maxClimbRate| - |commanded climb rate|)/|maxClimbRate|
and 0 < OVERWIGHT_ALTITUDE_FACTOR <= 1

@friekopter

It will not dive until it comes close to stall speed, maybe due to turbulences or bad configuration parameters.(I have a "stall" call added in my audio)

What you're saying makes sense, but I don't think it behaves like this ATM. I fist ran into this when I had a wrong configuration for max speed (set to double the speed it could do). So it flew nicely on low throttle, but as soon as I throttled up (over 50%), it started to dive. It was never near min/stall speed and therefore should not dive. The same goes for your observation. If you command a really slow speed and start to dive, as long as your not at max speed it should not limit the descent.
It really comes down to the question if your speed is borderline (max or min) or not. E.g. the speed weight could be very low by default and increase if your going near max or min speed. I also like your idea to take the climb rate into account. Maybe we can combine the two, it would give us a certain flexibility on the style of flying you want to do. E.g. for me, I don't think it has to react on a speed loss when I'm climbing (as long it doesn't reach min speed of course).

something like that (I'm sure someone would probably find a nicer way to calculate weight ;)
rel_speed = (speed - min) / (max - min)
weight = 0 // new parameter
if rel_speed <= 0.1 // new parameter
    weight = 10 * rel_speed
if rel_speed >= 0.9 // new parameter
    weight = 10 * (rel_speed - 0.9)

 FW_T_SPDWEIGHT = weight * (
    1 - OVERWIGHT_ALTITUDE_FACTOR * (|maxClimbRate| - |commanded climb rate|)/|maxClimbRate|
)

I recognized on real condition flights with posctl on stormy front winds a heavy dive/descend. I was only able to get control of my aircraft again by switching to altctl.
I hope this would be corrected as well with your fix.

@severinleuenberger would be helpful to get a logfile from your flight.

I just come from the field where I tested POSCTL with latest dev build flashed. Everything seems to work fine.

I finally got a chance to do some fixed wing flights again :)
Tried speed-weight 0 and 1. General feedback: I couldn't really tell a difference in "normal" conditions (5m/s wind excl. gusts) with my FX-61 where I have correct parameters for the airframe (speed max/min/trim). I think I need to do a test where I have more space to observe speed over a greater distance.
Something that I was actually wondering from the beginning with this is, why my turn radius is larger than usual in this mode. This is clearly visible on the map plots from my comparison flights (2). In stabilized I'm adding pitch in turns of course, but AUTO is also doing nice sharp turns.
(1) Weight 0:
http://dash.oznet.ch/view/Bo3pfgwnHuNTvhBNhFNisE
(2) Weight 1, comparison mission/altctl/posctl:
http://dash.oznet.ch/view/HNivaDL32XxNApqLZNf7DW
http://dash.oznet.ch/view/kJAzXQnh25z3Pwy9DGpA2C

@AndreasAntener What did you find out about the weights - any subjective difference?

In my recent flights I didn't pay attention to this, will try to do that the next time when I test posctl again ( #2299)

Closing this and will track it in our other milestone issues.


[WIP] Temp/l15 install server

This script is used in our infrastructure to mirror changes that are needed to run curl http://install.l15.lukso.network | bash

I see that it has a lot of unecessary changes, I must rework this only with necessary changes


New resources

Sorry for the delay, still reading changes. BTW, I think there should be option to pass api-endpoint for ycsdk. Moreover s3 endpoint should also be derived as ycsdk.Endpoint("storage") by default


support Reservation select order

Signed-off-by: Joseph<EMAIL_ADDRESS>Ⅰ. Describe what this PR does
The label scheduling.koordinator.sh/reservation-order controls the preference logic for Reservation.
The Reservation with lower order is preferred to be selected before Reservation with higher order.
But if it is 0, Reservation will be selected according to the capacity score.

Ⅱ. Does this pull request fix one issue?
implements #441

Ⅲ. Describe how to verify it

create two Reservations with same owner, add label scheduling.koordinator.sh/reservation-order with non-zero value on one of the Reservations.
create Pod that can match these Reservations.
watch the scheduler result. The Reservation has label scheduling.koordinator.sh/reservation-order will be selected.

Ⅳ. Special notes for reviews
V. Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in make test

/lgtm
/approve


Better support for the Broadcom eMMC2 controller

The sequential R/W speeds max out at around 23-24 MB/s with a SanDisk Ultra UHS-I A1 card.
The chip can do much better than this, but it is currently constrained by the following issues:

DMA is disabled because sdbus doesn't honor the _DMA method in ACPI, so it's not able to do the required address translation without a lower filter driver.

UHS-I support is disabled because the controller can't switch the voltage in a standard way, so it's always running at 3.3V.

Work in progress on an sdport-based miniport "SdHostBCME88C" that addresses these issues. UHS-1 is working. I'll probably be able to add support for DMA this week, and then I'll send a PR.
There would still be some open issues to be resolved before switching to SdHostBCME88C over the existing sdbus driver.

Right now, if both SdHostBCME88C and bcm2836sdhc are loaded, sometimes the system hangs. I suspect this is a bug in sdport combined with a bug in bcm2836 regarding how interrupts are handled during device initialization. This needs to be resolved before we could enable SdHostBCME88C.
SdHostBCME88C is very new and might have other issues. Needs testing.

Since DMA works out-of-the-box on the C0 stepping with sdbus, it's possible to add the Intel-specific _DSM method in ACPI for voltage switching, set the _HID accordingly and drop bcmemmc2.

Intel-specific _DSM is controlled by setting CompatType registry value, not by _CID. CompatType=7 means Medfield. CompatType=11 means BayTrail. I do not know what other side effects are introduced with these settings.

If we give it an Intel _CID, the inbox INF will set the CompatType for us.
I've briefly tested this a month ago and haven't seen any side effects. (but of course, it needs more testing)

One additional issue that needs some investigation is how to handle RPi's support for 8-bit data bus. I don't have solid info on this, so I may be misguided, but here is what I know:

RPi4 controller claims that it is capable of driving an 8-bit data bus.
RPi4 and RPi400 have 4 data lines, so 8-bit data bus is not correct.
I understand that RPI compute module 4 does support 8-bit eMMC, so 80bit data bus may be correct for CM4.
I've heard some second-hand reports that UHS-2 SD cards did not work with the bcmemmc2.inf driver.
I don't have any UHS-2 cards to test, but since RPi4 and RPi400 definitely do not support 8-bit data, and since this might be causing trouble for UHS-2 cards, I have set both bcmemmc2 and SDHostBRCME88C drivers to disable 8-bit data bus.
If CM4 is supported in the future, we will need to revisit this decision in the future.


Error on Install

Note: for support questions, please use one of these channels:

Short description of the problem:
I tried to install iconic on my system and i'm getting this error...see image for error.
Ho do i solve this

You must post this issue on this repository
https://github.com/driftyco/ionic-cli/issues

Thanks for submitting an issue with us! As this is an issue related to the ionic cli i am going to be moving this issue to that repo as it could be answered better over there. Please feel free to continue the conversation on this issue in that repo!

This issue was moved to driftyco/ionic-cli#836


Asking for preprocess tsdf of 13.84 IoU ckpt

Hi there again, first of all thank you for replying to my earlier questions. I want to ask can you release the preprocessed tsdf with the 13.84 result IoU? Right now i'm trying to reproduce your scene reconstruction results but since my computation budget is small, I can only generating depth at angle=0  and step=5. But the results seems to be not as good as the paper. It would be very nice to have a preprocessed tsdf to validate the paper's results :D

No problem, I will try to regenerate it next week

Hello, I've just realized that running this task would require approximately 100 hours of GPU time, and at the moment, I need to conserve my GPU hours for CVPR. Would it be an issue if I generate the results after the CVPR deadline

Thank you for your reply. It would not be a problem. Thank you for supporting the community! I will close the issue now, you can revisit this when you have the time.

Thanks for your understanding! Don't hesitate to ping me after CVPR deadline.

Hi @haiphamcse, I think you can check out the paper "MonoNeRD: NeRF-like Representations for Monocular 3D Object Detection". In this paper, the density field is represented as SDF, which eases the occupancy extraction process.


Resolve TODO: remove C++11 workarounds

We no longer support C++11 as per the Google C++ support documentation: we support C++14 and up, so we can remove these workarounds.

@derekmauro It worked!


Set HIVE_HOME to /opt/hive and remove the version from the path

Also removes /user/hive/warehouse from the image

/retest


Parsers using this library compile very slowly

The included example project, Examples.SQLite, takes 25 seconds to compile on my PC. Most F# projects compile in 1-2 seconds.
This also makes Intellisense extremely sluggish. Finally, third party tools using F# compiler services, such as the F# Power Tools extension for Visual Studio, take ages to perform simple tasks.

Version 0.3.0 reworks the DefaultParsers implementation to be more friendly to the compiler.
This reduces the Examples.SQLite project compile time from 25 down to 7 seconds for me -- still slower than a typical F# project, but tolerable.
In terms of type signatures, the API is now very different. However, it should be almost entirely code-compatible. The changes that are actually likely to break code are:

You can no longer use any old Parser<'a, 'u> seq as the argument to % or in a pipeline to get an implicit choice of the parsers in the sequence. You must now use a Parser<'a, 'u> list.
The tuple (int * Parser<'a, 'u>) no longer has a default parser translating it to parray count parser. Use (qty.[count] * parser) instead, which now returns an array rather than a ResizeArray.


cupyx.scipy.special not present

Hello,
I need to use the Bessel function cupyx.scipy.special.j0, but it says it is not present.
I noticed that the only available scipy routines are fft, fftpack and sparse.
I noticed that I can import it using import cupyx.scipy.special, but I can't use it it this way
import cupyx as cpx

cpx.scipy.special

My system
OS                           : Linux-5.4.0-1049-aws-x86_64-with-debian-buster-sid
Python Version               : 3.7.10
CuPy Version                 : 9.1.0
CuPy Platform                : NVIDIA CUDA
NumPy Version                : 1.19.5
SciPy Version                : 1.6.3
Cython Build Version         : 0.29.23
Cython Runtime Version       : None
CUDA Root                    : /usr/local/cuda
nvcc PATH                    : /usr/local/cuda/bin/nvcc
CUDA Build Version           : 10000
CUDA Driver Version          : 11000
CUDA Runtime Version         : 10000
cuBLAS Version               : 10000
cuFFT Version                : 10000
cuRAND Version               : 10000
cuSOLVER Version             : (10, 0, 0)
cuSPARSE Version             : 10000
NVRTC Version                : (10, 0)
Thrust Version               : 100903
CUB Build Version            : <unknown>
Jitify Build Version         : <unknown>
cuDNN Build Version          : None
cuDNN Version                : None
NCCL Build Version           : 2408
NCCL Runtime Version         : 2408
cuTENSOR Version             : None
cuSPARSELt Build Version     : None
Device 0 Name                : Tesla V100-SXM2-16GB
Device 0 Compute Capability  : 70
Device 0 PCI Bus ID          : 0000:00:1E.0

Hi,
It seems you need to import the cupyx.scipy.special package
>>> import cupyx.scipy.special
>>> cupyx.scipy.special.j0(cupy.array(10))
array(-0.24593576)

FYI, we are following SciPy's specification at this point:
>>> import scipy
>>> scipy.special.j0
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'scipy' has no attribute 'special'


update iskcon upcoming events in the event.html

this can be discussion issue
we can use filter on the basis on cities and showing upcoming events

I would like to work on this issue

Want to work on the issue, Kindly assign me.

assigned

@akshitagupta15june Actually I was a little busy with my practicals, I got free today and I can work on this issue now, Will you allow me some more time to resolve this issue, and I wanna discuss some things related to the issue, Where can we discuss?

Hey @singodiyashubham87 are you still working on it ? And if not @akshitagupta15june kindly assign it to me under SWOC'24 contributor.

@ghratika Nope!
You can work on the issue.


Fix imports in examples

#917  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mkandler and the rest of your teammates on  Graphite


Add Animal metadata to the fcirc advanced search

Summary Change Description
I added fields to the fcirc advanced search format and updated the DEVELOPMENT doc to create a section on adding fields.
Affected Issue Numbers

Partially addresses #270

Code Review Notes
Decided to keep the field additions and the show/hide feature separate.
Checklist

[ ] All issue requirements satisfied (or no linked issues)
[x] Linting passes.
[x] Migrations created & committed (or no model changes)
[ ] Tests implemented (or no code changes)
[x] All tests pass

Looks like I need to update my local superlinter...

Oh, I just realized that I still need to update the DEVELOPMENT procedure for adding a format to reflect the model "instance" change...  It's only new edits, so I think reviews can still proceed concurrently.


Add two new built in sort types

Add two new build in sort types. Current sort types are unchanged.
Suggested in https://github.com/tannerlinsley/react-table/issues/3093

number
Sorts only numerical values inside column.

string
Does what is suggersted in https://github.com/tannerlinsley/react-table/issues/3137.
Sorts case-insensitively until there is a tie and then sorts case-sensitive.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Screen starts blinking when casting

sudo enter-chroot xiwi -T startxfce4

Please describe your issue:
When using google cast, the screen starts blinking (the xiwi window only).
If known, describe the steps to reproduce the issue:
Run sudo enter-chroot xiwi -T startxfce4
Cast to a smart TV

It also happens if you use sudo enter-chroot xiwi -T startxfce4 instead.

I'm fairly certain the newest ChromeOS update broke a lot of things in Crouton. I'm using Ubuntu (don't remember which build) and when I start it up, the screen blinks and glitches and HUD elements don't appear, rendering the partition unusable. I haven't tried reinstalling Crouton yet, but I'm going to later.

I am just using xfce. Luckily, it only blinks while casting.

It actually seems to happen even when casting only single applications with xiwi.