Update fedora-with-test-tooling vm to fedora 39

What this PR does / why we need it:
Update fedora-with-test-tooling vm to fedora 39
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
/cc none
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note:
NONE

/test all

/test all

/test pull-kubevirt-e2e-k8s-1.28-sig-network

/test all

/retest

/retest

/test  pull-kubevirt-e2e-kind-1.27-sriov
/test pull-kubevirt-e2e-k8s-1.29-ipv6-sig-network

/test pull-kubevirt-e2e-kind-1.27-sriov
/test pull-kubevirt-e2e-k8s-1.29-ipv6-sig-network
/test pull-kubevirt-e2e-k8s-1.29-sig-storage
/test pull-kubevirt-e2e-k8s-1.29-sig-compute

/test pull-kubevirt-e2e-k8s-1.29-sig-network

/test pull-kubevirt-e2e-k8s-1.29-ipv6-sig-network

/test pull-kubevirt-e2e-k8s-1.29-ipv6-sig-network

/test all

/test pull-kubevirt-e2e-k8s-1.29-ipv6-sig-network

/close


archived

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please ask for approval from durandom after the PR has been reviewed.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@durandom: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

aicoe-ci/prow/pre-commit
42eb4a241d0fb50e95d009b7e0332ac104e8021c
link
true
/test pre-commit

Full PR test history. Your PR dashboard. Please help us and open an issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


[🐞] Q:base Does not take effect in some imports of production environments

Which component is affected?
Qwik City (routing)
Describe the bug
Usually, We will  set the q:base attribute to add the domain name of the cdn to the static resource.

However, this q:base property fails when the application  preloads some components.
This results in a 404 for some static resources.

Please repair as soon as possible
Thanks very much !!
Reproduction
https://codesandbox.io/p/sandbox/dreamy-swirles-tn392g?file=%2Fsrc%2Fentry.ssr.tsx%3A30%2C6
Steps to reproduce

set the custom base

npm run build

deploy in the serve

System Info
node v16.14.0
npm v8.3.1
<EMAIL_ADDRESS>"^1.2.6",
<EMAIL_ADDRESS>"^1.2.6",
"vite": "4.4.0",

Additional Information
No response

base is a property above
export default function (opts: RenderToStreamOptions) f
return renderToStream (<Root />, {
  manifest,
  ...opts,
  base: "https://cdn.com/build", <--- base should be here
  containerAttributes: {
    lang: "en-us"
    ...opts.containerAttributes,


bot exited with 1011

We need to understand where the 1011 code comes from.
my bot aborted with this
[discord-websockets.c:108] on_reconnect()
        Attempting to reconnect to Discord WebSockets ...
        RESUME PAYLOAD:
        {"op":6,"d":{"token":"xxxx","session_id":"118667356330c2287b8865b8704b7fc3","seq":55}}
[discord-websockets.c:138] ws_on_close_cb()
        CLOSE=1011 0 bytes ''
* Operation timed out after 4930526 milliseconds with 58426 bytes received
* SSL: EOF without close notify

from ws RFC
1011

      1011 indicates that a server is terminating the connection because
      it encountered an unexpected condition that prevented it from
      fulfilling the request.

from cloudflare
Error 1011: Access Denied (Hotlinking Denied)
Common cause

A request is made for a resource that uses Cloudflare hotlink protection.
Resolution

Notify the website owner of the blocking. If you cannot determine how to contact the website owner, lookup contact information for the domain via the Whois database.  Hotlink Protection is managed via the Cloudflare Scrape Shield app.

I don't see this error code anymore.  But my curiosity still drive me to think" is this ws error code or cloudflare error code?"

I don't see this error code anymore.  But my curiosity still drive me to think" is this ws error code or cloudflare error code?"

I made sure to cover these potential errors in my latests commits. Let's close for now.

I made sure to cover these potential errors in my latests commits. Let's close for now.


Interactive version

Howdy, this is super insanely amazing, thanks for the awesome work - and the great write-up on the blog post, definitely helped to demystify web gl a bit (though it's still a mystery!)
Wondering if there's currently any plans to support interactivity with mapbox-gl (i.e. supporting zooming, panning etc as a layer)?
Cheers!

This would be awesome! Any updates on this effort? cheers - j

I see custom layers are implemented now - can this be reopened?

@mourner  thanks for creating this, it's a very useful and effective visualization.
Since many people, like me,  want to integrate this to live map and since you have a half working version already available (saw video in a blog post)
And most importantly taking your very busy schedule into account  (As it looks like, you have many projects to maintain and not only that  ), can you at least share some guidelines how can we approach to this problem?
Also, can you share your half-working solution, so we can dig into it and have an idea of how should we move ahead?

Just dropping a note:
After several unsuccessful trials, I switched to wind.js, it's based on html5 canvas and integration with mapbox went fairly well

Here is a code if anyone interested


feat: collect batch task mem

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
Collect batch task mem usage by store the value in Task Context and sum it up in BatchManager.
Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
Refer to a related PR or issue link (optional)

There is some problem to make kill_queries feasible. For now, we do not clean up the tasks in HashMap of BatchManager. Although batch tasks sometimes may ends quickly, we can not delete it quickly because there may be other task still pull from it or other issues.
I plan to add a bool flag for each tasks to denote whether it is ends. And maybe spawn a tasks to cleanup the ended tasks? 🤔

There is some problem to make kill_queries feasible. For now, we do not clean up the tasks in HashMap of BatchManager. Although batch tasks sometimes may ends quickly, we can not delete it quickly because there may be other task still pull from it or other issues.
I plan to add a bool flag for each tasks to denote whether it is ends. And maybe spawn a tasks to cleanup the ended tasks? 🤔

The removal of task should be triggered by query manager, e.g. when a query finished/failed, it should trigger the removal of tasks.
But in current case, it should be ok to kill task since when we are exhausting memory, query should just fail.

The removal of task should be triggered by query manager, e.g. when a query finished/failed, it should trigger the removal of tasks.

Good mention. The cleanup of tasks should be done in query level, but for now it's not easy to do, tasks in BatchManager do not know whether a query has finished/failed. May need RPC 🤔

Yes, we can do it in another pr to resolve this, for now we just need to kill largest task.

Constructed potential OOM cases locally, baisc logic is correct and found some TODOs/Future improvement:

Currently OOM will not show this error to user, but the results will be half-truncated. I think we need to change this?
Plan to add total batch task mem metrics and total streaming task mem  in Grafana to verify the number more correctly.
Should BatchManager or StreamingManager can upload data to Grafana in their own speed, or just like GlobalMemoryManager in a same interval?
What number should we give for the batch threshold? 0.4?

Currently OOM will not show this error to user, but the results will be half-truncated. I think we need to change this?

Yes, we should report error rather giving incorrect result.

Plan to add total batch task mem metrics and total streaming task mem in Grafana to verify the number more correctly.

+1.

Should BatchManager or StreamingManager can upload data to Grafana in their own speed, or just like GlobalMemoryManager in a same interval?

IIUC, the interval is controlled by promethues.

What number should we give for the batch threshold? 0.4?

It's the policy, different policy have different configs.


Feature request: aggregate values for labels appearing multiple times in expression

A lot of boilerplate code is needed to extract a list of elements that appear in different parts of an expression.
If the same label appears in more than once in an expression, the underlying value of that label should be an []interface{}, where each element is the value of the labeled field in the order it appears in the text.
Additionally, if a label appears within a repeating subexpression, the resulting list should contain the repeating elements (as opposed to a list of the repeating elements).
For example, the rule:
non_empty_string_array <- "[" elms:StringLit (_ "," _ elms:StringLit)* _ "]" _ ";" {
return elms, nil}

when parsing this input:
[ "a", "b", "c" ]

should return a slice of length 3.
This would make it possible to solve a lot of very common problems without any code at all, and make this great project even more powerful.

I can see how that seems appealing, but this wouldn't work like this - in that example, the first elms is not in the same scope as the 2nd one (parentheses open a new scope, the expression that is at the same level as the first elms is actually the whole zero-or-many repeating expression ("," elms:StringLit)*.
There could be syntactic sugar added to the grammar, but I kept it relatively simple and although that means maybe more code blocks and type conversions, it makes for straightforward and easy to understand peg files (well, once the whole PEG thing if fully grasped, which I admit is not so simple!).

Yeah, I understand, but I think it can be made to work. Each sub-expression would be associated with a map of labels to values, and these labels are recursively aggregated in higher expressions. In the "base case" of the above examplethe Seq expression _ "," _ elms:StringLit would normally produce a map where elms is bound to the 3rd element, a StringLit. But then the zero-or-many expression:
(_ "," _ elms:StringLit)*
would aggregate each labeled value to a slice. So elms for this zero-or-many would be a []StringLit underlying type.
Then, again, in the Seq expression,
"[" elms:StringLit (_ "," _ elms:StringLit)* _ "]" _ ";"
since elms appears more than once, (in the 2nd and 3rd positions after zero-or-many is recursively resolved), then Seq would aggregate those values together into a slice. Although I agree that the resulting value of elms[0] would be StringLit, and elms[1] would be []StringList. But at least it would be easier to specify more declaratively which elements we want to capture. It's just an idea that I know would require some work, just wanted to put it out there.

It could be made to work, but I expect those customizations to add a lot of complexity for very specific use-cases. I think it could be done outside of pigeon, somewhat similar to a macro preprocessor, and it could generate a valid pigeon grammar as output. Or just handle it on a case-by-case basis with code blocks. I don't think I'd want to add that feature in pigeon, to be honest.


[FEATURE] Stop all extractors to free resources

In a scenario where we want to use the audio player to load several audio messages for different conversations and where navigation between conversations is required only to show one conversation at a time, we need an efficient way to load the audio message but also to cancel nearly everything if we switch to another conversation.
In the above scenario, when navigating away from all those audio players being played or having their waveform extracted, we need to stop them. Otherwise, opening more and more conversations in a short period will bust resources (promises, players, extractors).
Here's an example of stopping all the extractors. Of course, we should typically not stay on that screen but load new audio messages, but for the testing, what is shown in the video was sufficient.
https://github.com/user-attachments/assets/f2da9e10-ba80-4ed1-a47a-031681293f7a
See this PR: https://github.com/SimformSolutionsPvtLtd/react-native-audio-waveform/pull/119

We have released a new version 2.1.2. Please use that, and if the issue still persists, reopen or create a new issue.


Create code schools page

This is our most visited page behind /, and probably our biggest source of search traffic.
This page should display a list of code schools taken from https://api.operationcode.org/api/v1/code_schools.
VA approved code schools should be displayed up top.
Following that code schools should be listed be state.
The list should be easily navigable. It's currently implemented with drawers but we don't have to stick to that design.

Branch here:
https://github.com/OperationCode/operationcode_frontend/tree/code-schools

High-res mock-up

Damn Kyle. You just elevated that page to a whole new level!

On Jun 3, 2017, at 12:20 PM, Kyle Holmberg<EMAIL_ADDRESS>wrote:
High-res mock-up
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

 There will be quite a few merge conflicts as @Cooperbuilt and I danced around the respiratory making fixes to strange quirks with our stylesheets site-wide.
Here are some TODOs I wrote within the code and am now documenting here:

FormInput Component could use a prop for icon placement within the left of the input bar
FormInput Component's placeholder text needs to be made more opaque
In order for scroll anchors to work, id should be implemented as an optional prop within the Section component.

If you want I can rebase this on master with a new branch to fix merge conflicts and make the PR smooth.

@alexspence and I spoke on Slack regarding his idea to rebase. He said there weren't merge conflicts with master. @Cooperbuilt and I implemented fuzzy search for code schools by US State - so the code schools page is done :)


Bug: Refresh token has a fixed expiration time

Because of this line in AuthContext.tsx, it seems like refresh tokens are set to expire at least 10 minutes after an access token is issued (even if there are no refresh tokens issued by the server). This is problematic for some cases where the access token has a short(er) expiration time than that duration, but the library doesn't redirect to the authorization server again until the fixed timeout is reached.
Steps To Reproduce

Issue an access token from the authorization server that is for less than 10 min with no associated refresh token.
Wait until the access token expires.
See that the library doesn't redirect the user to the authorization server despite the access token having expired.

The current behaviour
It waits for a minimum of 10 min if the authorization server doesn't specify a refresh token.
The expected behaviour
It should not wait for any time after the access token has expired if the server hasn't issued a refresh token.

Thanks for reporting. Agree that this is a bug.
The default value for "refreshToken" should be "null", and and not set to anything if there is no refreshtoken in the request.
In the meantime, you can set "refreshTokenExpiresIn" in the config to workaround this issue.


WordPress Full Stack quickstart - creation

Ticket ID: https://issues.newrelic.com/browse/NR-128789
Summary
A concise description of the changes being introduced. Please review the pre-merge checklist section to validate this pull request is ready for review and merge. If it is not ready, please mark the pull request as a draft.
The owners of this repo are not experts in the subject matter of the quickstarts. We review for the quickstart to be functional and for security risks. If you are seeking feedback on the content of the quickstart, please seek out a subject matter expert. If you are not an internal NR contributor, we can do our best to connect you with a content reviewer.

Pre merge checklist

[ ] Did you check you NRQL syntax? - Does it work?
[ ] Did you include a Data source and Documentation reference?
[ ] Are all documentation links publicly accessible?
[ ] Did you check your descriptive content for voice and tone?
[ ] Did you check your descriptive content for spelling and grammar errors?
[ ] Did you review your content with a subject matter expert? (e.g. a Browser agent quickstart is reviewed with a member of the Browser Agent team)

Dashboards

[ ] Does the PR contain a screenshot for each of your dashboards?
[ ] Do your screenshots show data?
[ ] Has the sanitization script been run on each dashboard?

Alerts

[ ] Did you check that your alerts actually work?

need to update the docs links, hence converting this PR to draft


Small model improvements

Fixes #221
Changes:

Remove c_ prefix that stems from the fact that gpt2 used convolutional layers. Removed in https://github.com/karpathy/minGPT/commit/7e68832554096ddea9e178e8d80a6679491a6ff6
Rename rms layers to norm so users can easily switch the norm type without changing the attribute name
Rename fc1 to fc_1 for consistency with other numbered layers (e.g rms_1)
Automatically find a padded vocab size.

This is a breaking change for existing trained lit-llama checkpoints

This will invalidate all the checkpoints we have trained (and users) and they would have to be converted. Is it really worth the price for this cosmetic change? I don't see enough value in just changing a couple underscore prefixes, so I'm voting against doing it.

I agree with @awaelchli, I originally didn't realize it would break things for everyone (of course the other repo can have all these changes).
What can we keep that doesn't break compatibility?

Right, so this is why I asked if it was too late. I'll revert the breaking changes and just add the padding change


Bump version to 1.0

r? @alexcrichton

🎊  itshappening.gif 🎊

@bors: r+

:pushpin: Commit 42dd694 has been approved by alexcrichton

:hourglass: Testing commit 42dd694 with merge 6efc662...

:broken_heart: Test failed - status-appveyor

@bors retry
intermittent windows io failure

:hourglass: Testing commit 42dd694 with merge 7120565...

will using platform-specific directories (à la https://github.com/rust-lang/rfcs/pull/1615) break semver?
if so, wouldn’t it make sense to implement them first for rustup?

@flying-sheep. I don't know the answer to that question specifically, but releasing rustup 1.0 doesn't mean it can't change. If nothing else rustup can have major releases.

yeah, that was what i meant. if it means doing a major releast, better get it in now and do 1.0 in two days instead of doing 2.0 in a week.

:broken_heart: Test failed - status-appveyor

@bors retry another weird windows I/O intermittent ... bad omens.

@alexcrichton @brson Could we get a fundamental decision in https://github.com/rust-lang/rfcs/pull/1615 first? At least: Yes, we would use platform-specific directories (maybe not these), or no, we don't want to use platform-specific directories at all.
I feel this issue is being swept under the rug.

@tbu- I'm not sure why you are linking these two issues. This PR has not much to do with https://github.com/rust-lang/rfcs/pull/1615.
If we do decide to make changes to how cargo and rustup store data, it is sure to be a difficult transition process no matter whether rustup's version number.
I don't think one decision affects another.

Per my previous comment I don't see rustup 1.0 and XDG as incompatible. I'm going to resume trying to land this despite the raised concerns.
The best thing to complain about for rustup 1.0 is probably security.
bors seems to have ignored by last command.
@bors: retry

:hourglass: Testing commit 42dd694 with merge dcacbf6...

On a different note, I assume std-aware cargo would eventually lead to rustup 2.0. I hope that means 2.0 in 2017 is likely.

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing dcacbf6ed229ce96a86894011c11f28838df0979 to master...

OK, thanks @brson for addressing this, and congratulations to 1.0!

it is sure to be a difficult transition process

we could implement an automatic migration. coupled with a major version bump, this would lead to people reading about where to find their data.


How to control the width of slick-track?

Hey i am using react-carousel to show multiple items and in my one slide there are many variable width divs . The problem is when there is only one div inside one slide then the single div get left aligned and not center aligned. Any suggestions to solve the issue?

Have you used flexbox before? It does a stellar job at aligning items. You'd probably need to wrap your many divs in a parent div. Then target that parent div with something like:
.parentDiv {
    display: flexbox;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

No matter how many child divs are in your parent div justify-content: space-around will center them and space them evenly. There are other options too. Also, align-items may or may not be needed in your case.
Take a look at this to help you out: Flexbox guide

Hey @rtmalone . Thank you for your response. Actually i am using already using flex and i have fixed the problem now. Though the problem was something else. I fixed this using custom classes and then setting css for the particular classes.


Typographical (English) errors in document page

My wife is a Technical Writer, so I notice these things:
The acronym  "SPN" does not begin with a vowel. Throughout this document page, there are consistent references to "an SPN". This is incorrect English, it should be "a SPN", since the noun object begins with a consonant, not a vowel. I wouldn't have gone through the effort and provided this feedback if it was just a single misplaced typo -- however, it is consistently displayed as "an SPN" multiple times throughout the document, and may also be pervasive in other pages that reference the acronym "SPN". As someone who has developed public-facing web pages since the early days of the world-wide web, I know that I very much appreciated when a user pointed out typographical errors to me, rather than just ignore it. I hope you find that same value in this feedback.
[Enter feedback here]

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

ID: 16136000-fc6d-9156-499a-c45bde264bc4
Version Independent ID: ea9aacfc-8f27-563f-08c8-77ac4e941cff
Content: Register a Service Principal Name for Kerberos Connections - SQL Server
Content Source: docs/database-engine/configure-windows/register-a-service-principal-name-for-kerberos-connections.md
Product: sql
Technology: configuration
GitHub Login: @rwestMSFT
Microsoft Alias: randolphwest

@dkenny -- thank you for your close reading.  It depends whether one pronounces the acronym "SPN" as "Spin" or "Ess-P-En" and it seems the latter is preferred (or more popular).  I appreciate your feedback!

@WilliamAntonRohm -- thanks. Alas, I learned that I was completely off-base, my wife (technical writer) corrected me, and agreed that the proper article-label to use is "an SPN" base on the "Ess-pee" pronounciation, as in "an hour". It just nagged me each time I saw it as I read through the web article. Sorry about jumping into the feedback without proper research, I should have checked with her first!


docs: expand the WSL guide

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

This PR updates parts of the WSL guide and includes several tips I found while troubleshooting my own WSL setup. Thank you for reviewing my PR!

Thank you for this PR, @leonfeng 🚀


Fixed examples of Navbar.elm

Hi,
I've noticed that the examples on Navbar can not be compiled, and some people were trying to resolve this issue in #20, but it's no longer updated. I fixed them and additional points. Could you please review and merge it?
The code was formatted by elm-format, and its style is a bit different from the previous one. If it's not acceptable, please let me know.
Thanks!

@rundis Could you please review this request? Thanks!

Holidays, back in August. Tx
Sendt fra min iPhone

jul. 2019 kl. 11:48 skrev kenkoooo <notifications<EMAIL_ADDRESS>
@rundishttps://github.com/rundis Could you please review this request? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/rundis/elm-bootstrap.info/pull/27?email_source=notifications&email_token=AADBOXKLE5KDQIHYOYQWLZDP7GJGJA5CNFSM4H5BIA3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3NFRA#issuecomment-511103684, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AADBOXLBM2EPKY2A72C2RZ3P7GJGJANCNFSM4H5BIA3A.


Image does not show up

Hi,
Thank you for your library.
I've got a weird bug, I've tried to attach a file but it show me the path and all the informations.
Any idea?
Share.image(path: testFile.path, mimeType: ShareType.TYPE_IMAGE, title:'Test Sharing' , text:'http://www.airswop.com').share();

/var/mobile/Containers/Data/Application/9DBEABE0-931F-4561-AEA9-0523727BB253/Documents/Test-Share.png Test Sharing http://www.test.com image/*

Any update on this issue?


No results appear in project manager asset library if using the Open Asset Library button

Godot version
v4.0.beta10.official.d0398f62f
System information
Windows 10, NVIDIA GeForce GTX 750 Ti/PCIe/SSE2
Issue description
Hi,
when run Godot_v4.0-beta10_win64
it's show dialog question if "Open Asset Library" or "Cancel"
if I click "Open Asset Library" it's not shwing any thing
but if click cancel and click "Open Asset Library" from tab its show demos
preview problem in video
https://drive.google.com/file/d/1hZTgMiJLLk8Cz1B_voX25CdNHKeuCXyH/view?usp=sharing
Steps to reproduce
https://user-images.githubusercontent.com/5288136/209568828-c8824202-5b9c-4df3-a6a2-e838c3b88ac6.mp4
Minimal reproduction project
N/A

Can you reproduce this on 3.5.1?

No
3.5.1 Standard and mono version not have this problem
but 3.5.1 have many demo projects

This is not a bug. The Support filter is just different. And there is no Official Godot 4.0 project yet.
Filter set by the Open Asset Library button:

Default filter:


COMPAT: return InvalidPart if complete MPU with missing part

FIXES #309

@ironman-machine ok

Hello @nicolas2bert
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "SCALITY_S3_BRANCH": "COMPAT/MPU-missing-part", "DEFAULT_BRANCH": "master"}
Please follow http://ci.ironmann.io/gh/scality/Integration/5877 for CI status.


CLOUDSTACK-8867: Added retry logic to reconnect to host on connection termination

Also changed  viewer/console identifier to vm uuid + vnc port to avoid using same connection console if vm's vnc port is changed

I agree with @DaanHoogland That should be unit tested.

Opening new PR with better handling of sessions.


Update vendor for containernetworking, imagebuildah and podman

Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

@TomSweeneyRedHat @pixdrift @giuseppe @umohnani8 PTAL

LGTM

LGTM

@rh-atomic-bot r=mheon

LGTM
But fwiw, it's imagebuilder, would love to change it though!  ;^)


Plugin strips colour added to messages by other plugins

I have a plugin that edits the message before ChatChat formats it, but it just strips the colour.
I attempted to rewrite it using Paper's AsyncChatEvent and Adventure Components, and that is fully incompatible.

Yeah. We remove legacy colors and formats from messages. That is because MiniMessage doesn't support legacy and would just throw an error. We instead recommend people use PlaceholderAPI placeholders inside the format itself not the message. This way they can use the Kyorify expansion which will translate the legacy colors to MiniMessage tags. We might add our own version of the kyorify expansion inside the plugin itself but until then, this is the best option.

Yeah I get that but it makes custom parsing harder, PlaceholderAPI isn't exactly what I am trying to achieve as PlaceholderAPI enforces the % either side. I want to be able to just parse any old text. I'm now using your ChatChatEvent but it doesn't seem to be called.

That must be a bug then. We are calling ChatChatEvent in code as far as I'm aware. I'll have to test this later and let you know.

It could just be user error on my half but I'm not sure what I've messed up if it is. I am depending on the API rather than your plugin if that makes any difference.

It could just be user error on my half but I'm not sure what I've messed up if it is. I am depending on the API rather than your plugin if that makes any difference.

It should work. Just make sure you are not relocating the API inside your code.

[20:02:15 ERROR]: Could not pass event ChatChatEvent to ESEmoji v2.0-SNAPSHOT
java.lang.NoSuchMethodError: 'net.kyori.adventure.text.Component at.helpch.chatchat.api.event.ChatChatEvent.message()'
	at me.xemor.esemoji.feature.EmojiChatChat.onChat(EmojiChatChat.java:20) ~[original-ESEmoji-2.0-SNAPSHOT.jar:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor135.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[purpur-api-1.19-R0.1-SNAPSHOT.jar:?]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[purpur-api-1.19-R0.1-SNAPSHOT.jar:git-Purpur-1732]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.19-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:678) ~[purpur-api-1.19-R0.1-SNAPSHOT.jar:?]
	at at.helpch.chatchat.util.MessageProcessor.process(MessageProcessor.java:78) ~[ChatChat-1.0-SNAPSHOT.jar:?]
	at at.helpch.chatchat.listener.ChatListener.onChat(ChatListener.java:79) ~[ChatChat-1.0-SNAPSHOT.jar:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor111.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[purpur-api-1.19-R0.1-SNAPSHOT.jar:?]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[purpur-api-1.19-R0.1-SNAPSHOT.jar:git-Purpur-1732]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.19-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:678) ~[purpur-api-1.19-R0.1-SNAPSHOT.jar:?]
	at io.papermc.paper.adventure.ChatProcessor.post(ChatProcessor.java:195) ~[purpur-1.19.jar:git-Purpur-1732]
	at io.papermc.paper.adventure.ChatProcessor.process(ChatProcessor.java:67) ~[purpur-1.19.jar:git-Purpur-1732]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.chat(ServerGamePacketListenerImpl.java:2384) ~[?:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.broadcastChatMessage(ServerGamePacketListenerImpl.java:2340) ~[?:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChat$21(ServerGamePacketListenerImpl.java:2313) ~[?:?]
	at java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:757) ~[?:?]
	at java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:735) ~[?:?]
	at java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:2182) ~[?:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.a(ServerGamePacketListenerImpl.java:2313) ~[?:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChat$17(ServerGamePacketListenerImpl.java:2210) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]

Any help?


need rust shim

replace go shim  memory friendly。
shim is long run ，so rust shim is urgently needed

@timchenxiaoyu Thanks for your report. I'm sorry but I couldn't understand what you want me to do. Please tell me more concrete explanation?

@timchenxiaoyu https://github.com/containers/conmon-rs

@utam0k

rust implement

@timchenxiaoyu Maybe is this it, by any chance?
https://github.com/containerd/rust-extensions/pull/22

@timchenxiaoyu https://github.com/containers/conmon-rs

@harche
Thank you for trying to help. I appreciate it.

@timchenxiaoyu https://github.com/containers/conmon-rs

@harche Thank you for trying to help. I appreciate it.

CRI-O uses https://github.com/containers/conmon right now, and the rust version is getting developed at https://github.com/containers/conmon-rs

Thank you ！！！ @utam0k @utam0k


cannot call Reguest-URI that has parameters

When I try to place a call e.g. to sip:foo@bar;param=value, ;param=value is stripped from the Request-URI and call goes to sip:foo@bar.  Looks like stripping happens in src/call.c call_connect() function:
/* if the peer-address is a full SIP address then we need
	 * to parse it and extract the SIP uri part.
	 */
	if (0 == sip_addr_decode(&addr, paddr)) {
		err = pl_strdup(&call->peer_uri, &addr.auri);
	}

According to RFC 3261 Request-URI can contain parameters:
Request-Line   =  Method SP Request-URI SP SIP-Version CRLF
Request-URI    =  SIP-URI / SIPS-URI / absoluteURI
SIP-URI            =  "sip:" [ userinfo ] hostport uri-parameters [ headers ]
uri-parameters  =  *( ";" uri-parameter)

thanks for the report. we recently made some changes in that code.
I will investigate and see if we can make a proper fix.

Alfred E. Heggestad writes:

thanks for the report. we recently made some changes in that code.
I will investigate and see if we can make a proper fix.

API has function:
int  ua_connect(struct ua *ua, struct call **callp,
                const char *from_uri, const char *uri,
                const char *params, enum vidmode vmode);

I'm not sure that params param is for.  Would it be cleaner to have like
this:
int  ua_connect(struct ua *ua, struct call **callp,
                const char *from_uri, const char *request_uri,
                enum vidmode vmode);

since Request-URI can have parameters?

this bug was introduced in commit dd2822e61494e72ce329481592112308687d0c8c
let me have a look and see if we can fix it properly.

Dear Alfred,
In my opinion this are two faults. We need both commits. sip_addr_decode has to work for addresses with and without angle brackets. And in both cases the uri-parameters should be part of addr->auri. Which is later decoded by uri_decode into an uri structure. And finally the parameters should be in uri->params, right?
regards, chris.

Christian Spielberger writes:

In my opinion this are two faults. We need both
commits. sip_addr_decode has to work for addresses with and without
angle brackets. And in both cases the uri-parameters should be part of
addr->auri. Which is later decoded by uri_decode into an uri
structure. And finally the parameters should be in uri->params, right?

I don't care about the internal functions as long as the API function
ua_connect() accepts as uri param value anything that according to
RFC3261 is a valid request uri.

I am currently looking into this.
I think we should first define a list of valid URI types that we can send
to ua_connect.
for example:
sip:user
<EMAIL_ADDRESS>sip:user@example.com;param=value
"User"<EMAIL_ADDRESS>
A raw uri can be sent straight through, however if the string is a
SIP Address (with angle brackets) the string has to be parsed/decoded
and built up again.

Alfred E. Heggestad writes:

I think we should first define a list of valid URI types that we can send
to ua_connect.
for example:
sip:user
<EMAIL_ADDRESS>sip:user@example.com;param=value
"User"<EMAIL_ADDRESS>
A raw uri can be sent straight through, however if the string is a
SIP Address (with angle brackets) the string has to be parsed/decoded
and built up again.

I my opinion, ua_connect should only accept a valid Request-URI.  If
application wants to call a name-addr, then there could be a utility
function, perhaps in re, that strips SIP-URI from name-addr.  It is not
a good idea to overload functions with lots of stuff, i.e., is it better
that one function does one thing only.

thanks for your opinions, I agree with you and think we should go that way.
will push some code soon that addresses this.

Alfred E. Heggestad writes:

will push some code soon that addresses this.

Thanks, but there is no hurry!

please have a look at this branch:
https://github.com/alfredh/baresip/tree/ua_connect_uri
based on discussions with Juha I have changed ua_connect to only accept SIP uri.
A different function ua_uri_complete was added to be used by the application.

Alfred E. Heggestad writes:

please have a look at this branch:
https://github.com/alfredh/baresip/tree/ua_connect_uri

based on discussions with Juha I have changed ua_connect to only
accept SIP uri.

I'll give the branch a try soon, but would request_uri be better name
than to_uri for the param in ua_connect?  To me to_uri associates with
To header.

thanks for review and testing!
open issue is that ua_connect appends the local uri parameters,
for example ";transport=tcp". this code is here:
	/* Append any optional URI parameters */
	err |= mbuf_write_pl(dialbuf, &ua->acc->luri.params);

is this still wanted/intended ?
it can lead to problems for example the transport param is appended twice:
Dial sip:target@domain.com;transport=tcp
INVITE sip:target@domain.com;transport=tcp;transport=tls SIP/2.0

Alfred E. Heggestad writes:

open issue is that ua_connect appends the local uri parameters,
for example ";transport=tcp". this code is here:
	/* Append any optional URI parameters */
	err |= mbuf_write_pl(dialbuf, &ua->acc->luri.params);

is this still wanted/intended ?

In my opinion, it should not be done.  Request-URI contains what user
specifies as target of the request.  If there is an outbound proxy
defined, then the request is sent accordingly without touching
Request-URI.

Looks like URI param addition is gone now.  Please merge.  I'm a bit confused with so many things going on at the same time.

thanks for review and testing.
most of the fixed should be in master branch now:
could you test this commit 69714e02d500329e0acb8b411ff890d380d9dc83 ?
there are also extra fixes in the branch, but they are not essential.
for example the branch code will not work for call transfer and dialing
from contacts, as the string is a SIP address and the call_connect function
now expects a SIP uri.

Thanks for the merge.  I made basic tests (also calling from contacts) and they worked fine.  I'll now close this issue.   Will reopen if problems appear in later tests.


[Workers] Added duration limits to limits page

Builds on https://github.com/cloudflare/cloudflare-docs/pull/15830

Messy git stuff. Closing and opening anew.


Is it possible to get token's transactions?

Hey, thank you for open sourcing this subgraph!
I wonder if it is possible to get all token transactions using the API, if not maybe you can suggest a way how to get all transactions for a token id.

Hi @andrewfan
This subgraph does not keep track of transaction
Have a look at this one : it also indexed all ERC721 and include all tx data : https://thegraph.com/explorer/subgraph/amxx/eip721-subgraph


UI issue on shop by category page in Arabic locale.

Bagisto Version: Master
Steps To reproduce--
1. Visit the shop on mobile.
2. Change app locale to Arabic.
3. Click on any category in the top left corner.
4. Try to filter by price.
Expected result:  There should not be any UI issue on the shop by category page in the Arabic locale.
Actual result: UI issue on shop by category page in Arabic locale. Please find the screenshot Here

@Sanjaybhattwebkul assign this issue to me

@peeyush-webkul
Any update??

@peeyush-webkul Any update??
I'm working on this,
The actual issue doesn't exist as seen in the screenshot and description, but some issues exist related to this.

@peeyush-webkul please add attachments.

It's working well, nothing to change

@peeyush-webkul
it is working fine. Here


Redundant .gitignores and other files which should be in the root

Is your feature request related to a problem? Please describe.
Multiple scrips have redundant .gitginores which I found when I was dealing with the whole codebase in #417
These files are not required at all.
Describe the solution you'd like
Delete all the redundant .gitignore but also ensure that all the ignored files are present in the parent .gitignore, similar is applicable to other files which serve no purpose in the directory of scripts.
Describe alternatives you've considered
NA

@avinashkranjan Please assign this to me.

Sure Go ahead @vybhav72954


A developer can manage third-party libraries

To consider:
A Motoko Package Manager: Can pull in packages written in Motoko to be imported by your app, which is also written in Motoko. You could then compile your app into WebAssembly and install it as a canister. This approach makes Motoko a first class language like Node or Rust.
An Internet Computer Package Manager: Can pull in WebAssembly modules written in ANY language to be linked by your app, also written in ANY language and compiled to WebAssembly. This approach make Motoko less important but creates a flourishing ecosystem around developing for the Internet Computer itself.
A Canister Package Manager: Can pull in references to IC Canisters running on the Internet Computer. Developers could create a canister, deploy it, and allow it to be called by other canisters for payment. This approach gives Open Source software developers a business model based in how useful their software is, potentially changing the face of tech as we know it.
Some of these strategies should live in SDK, others with the Languages team.

Too large for a single issue. Vessel already exists, canister package manager or similar things are under discussion


Add the ability to set persistent locks on a configuration

Would like the ability to lock/unlock a configuration from further changes.

Ah, neat idea. It should be fairly easy to add a terragrunt lock command.
Out of curiosity, what is your use case?

We are (currently) splitting up the configurations for the network and compute components and would probably consider locking the underlying infrastructure that compute configurations are built on top of.

Is anyone interested in submitting a PR for this? All the code for the locking mechanism is already in place, so all you'd need to do is expose a new command in the CLI.


[OpenVDB] Link error. Unresolved external symbol "unsigned int const openvdb::v6_0::util::INVALID_IDX"

I have integrated OpenVDB into my VS project and managed to run the Hello World from here correctly.
The problem appears when I try to include MeshToVolume.h to a file. It popups the following
Error LNK2001	unresolved external symbol "unsigned int const openvdb::v6_0::util::INVALID_IDX" (?INVALID_IDX@util@v6_0@openvdb@@3IB)
I found that the topic was already discussed here, but there was no conclusion to solve the problem.
I'm using windows x64, with dynamics libraries (since TBB doesn't allow to build it statically).
Anyone has faced this before?
Cheers,
Alberto

I managed to solve my problem. If you run in vcpkg ".\vcpkg openvdb:x64-windows" it will build openVDB with shared libraries. The problem is that the VS project that I was using was oriented to use static libraries. This way, I ran ".\vcpkg openvdb:x64-windows-static", and installed all static libraries except TBB, which has to be dynamic. Then, using CMAKE, you can build OpenVDB with all the static libraries + TBB shared.
That worked for me to solve the problem described in this topic.
Can this be corrected in vcpkg someway?


Inbox in french too long in left panel

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App
Thunderbird for Android
App version
8.0b4
Where did you get the app from?
F-Droid
Android version
stock 13
Device model
No response
Steps to reproduce

Open left panel while Inbox string is translated to something longer than Inbox

Expected behavior
Would be better to not wrap and have the end of text under the counters if it's more than 2 rows
Actual behavior
The Inbox in french is "Boîte de Réception" an shows up vertically.
The string appears very long and hides other folders
Would be better to not wrap and have the end of text under the counters if it's more than 2 rows
Logs

That looks pretty weird, thanks for reporting. Let's see if we can get this fixed shortly.

@wmontwe @cketti are there any other safeguards we can do on the code side that we could get into 8.2? I suspect localizations will need a bit to update.

We've added a comment for translators asking to keep the "99+" string as short as possible. I also uploaded a screenshot for translators so they can see where the string is used in the UI. Additionally, I marked some translations using long-ish strings as "needs editing" on Weblate.

We could limit the folder name to e.g. 2 lines max. That won't fix the issue of "missing" horizontal space. But it avoids list items growing to the whole height of the drawer.

Would it be easily possible to wrap the 99+ and ★6 into two lines if the folder name is taking two lines?

This leads to weird edge cases. There can be a folder name that is long enough to require two lines when the unread count and starred count are displayed in one line, but not long enough that the folder name needs two lines when unread count and starred count are displayed in two lines. So no matter what strategy we pick, for such a folder, the name and unread/starred count will never occupy the same number of lines (unless we don't actually use the space freed up by breaking the unread/starred count).
Displaying the unread count and starred count at the same time never felt like a great idea to me. Instead, maybe we should think about adding a virtual folder for starred messages.


set_color_scheme is invoked on every keypress

While working on my "auto-colors" feature I noticed the set_color_scheme function is invoked on every keypress. I don't believe this is intended, maybe take a look at it?

Interesting observation - was not aware of that behavior. To be honest I think I stole that construct from another plugin somewhere. But I guess it would be enough to just set the color once in the sublime_terminal_buffer constructor. I'll check this out further.

I have a feeling Sublime invokes all callbacks when any setting changes, and from glancing over the update commands it looks like some state is stored in the settings object.
From the API docs:

Register a callback to be run whenever a setting in this object is changed. [emphasis mine]

It looks like the key is just a handle to identify the callback, not the actual key in the settings object.


test pr do not merge. 1.25-lts test automation

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

/test

/retest

/retest

/retest

/retest

/retest

/test

/test pull-kubernetes-unit


Incorrect forward-mode result with Const argument

In this identity function, annotating the sole argument as Const and the output type as Duplicated should result in the returned derivative being 0, but instead, the derivative is identical to the primal.
julia> using Enzyme

julia> x = randn(3)
3-element Vector{Float64}:
 -1.4444824325133723
  1.5991479286434434
 -0.519494895032433

julia> autodiff(Forward, x -> x, Duplicated, Const(x))
(var"1" = [-1.4444824325133723, 1.5991479286434434, -0.519494895032433], var"2" = [-1.4444824325133723, 1.5991479286434434, -0.519494895032433])

I tried also with Enzyme.API.runtimeActivity!(true), but it had no effect.

our next jll bump will now give an error for that without runtime activity.
With runtime activity, that is actually currently the expected behavior. Whether that should change is a separate aside.
In essence runtime activity says that we could not statically deduce whether the variable is duplicated or const and as a result all users of the duplicated variable must make the check. The runtime decision is by doing primal === shadow, meaning that it is const, otherwise it is duplicated.

Separately there's also an issue about using const memory as a buffer for differentiable values, see https://enzyme.mit.edu/index.fcgi/julia/stable/#Activity-of-temporary-storage

Ah, okay, this perhaps explains the behavior in https://github.com/EnzymeAD/Enzyme.jl/issues/830#issuecomment-1545707189. If I give Duplicated for y and the return value but Const for the remaining arguments, I get the zero vector as expected. Although, if y and x are matrices, then again the derivative is the same as the primal:
using Enzyme

function scale!(y, x, a)
    y .= x .* a
    return y
end

# vector args
y = [0.1, -0.2, 0.3]
∂y = zero(y)
x =  [1.0, 2.0, 3.0]
a = 2.5
autodiff(Forward, scale!, Duplicated, Duplicated(y, ∂y), Const(x), Const(a))
# return: (var"1" = [2.5, 5.0, 7.5], var"2" = [0.0, 0.0, 0.0])

# matrix args
y = [0.1 -0.2 0.3]
∂y = zero(y)
x =  [1.0 2.0 3.0]
autodiff(Forward, scale!, Duplicated, Duplicated(y, ∂y), Const(x), Const(a))
# return: (var"1" = [2.5 5.0 7.5], var"2" = [2.5 5.0 7.5])

More docs definitely welcome!

Happy to contribute some once I understand what's intended and what might be a bug!

Your last one indeed is an error where I accidentally changed the throw illegal error to false always (fixed here): https://github.com/EnzymeAD/Enzyme.jl/pull/838
The behavior of the primal === shadow, only will occur with runtime activity on, and it would specify that whatever variable  where this occurs really is a constant (be it a return, even input to custom rule, etc). Though perhaps with runtime activity on we should do the check on the Enzyme side for custom rules, rather than have the users perform it.
We have some docs on runtime activity here: https://enzymead.github.io/Enzyme.jl/dev/api/#Enzyme.API.runtimeActivity!-Tuple{Bool}
We should probably add to that the comment that we've added throwing in most cases of potential runtime activity (haven't for memcpy, or some of the internal custom rules). However, many of these throws are actually false positives, but turning on runtime activity is always legal (albeit slightly slower, and comes with the Duplicated(x, dx) where x === dx  should be interpreted as Const(x) ).


Custom repository injection without naming convention

Is your feature request related to a problem? Please describe.
I am replacing typeorm with mikro-orm for a project. I replaced all decorators and repositories but just one repository didn't work. After my 4 hour struggle, I realized that I have a typo in the repository name.
Describe the solution you'd like
I am not nestjs pro but inject and resolve repositories from @Entity decorators customRepository or EntityRepositoryType symbol would be nice.
Describe alternatives you've considered
Get repository from entity manager
Additional context
And in the custom repository examples document entity and repository names not like nestjs required naming convention so this can be misleading

I literally have no idea what you are asking for. Please provide some examples and be more verbose.
But don't expect MikroORM decorators or options to have any effect on how nest DI work, that won't be an option, I can say that right ahead.

basicly; getting rid of getRepositoryToken() mentioned in https://mikro-orm.io/docs/usage-with-nestjs#using-custom-repositories.

How do you expect that to work? All services in nest DI need to have a name. This has nothing to do with MikroORM or its integration, this is how nest works.


Feature/calculate conductivities

This PR adds the energy balance to the process-based abiotic model. I apologize for the size of the request, the processes are all very interconnected and I missed the point to stop. It should however not be too complicated (please let me know if you need smaller chunks to review). Renaming everything added to the number of files that were changed, and all abiotic files seem completely new, but it should be very easy to filter out.
Here the main changes:

added abiotic model
added abiotic_tools submodule
added soil_energy_balance submodule
added conductivities submodule
added energy_balance above ground submodule
expanded and reorganised dummy_climate_data
added wind_speed_ref to example data

There are currently a number of unresolved/not implemented processes which require further advancement in other models of the Virtual Ecosystem or potentially some changes to the vertical layer structure (see abiotic_model):

add process based update of soil temperature
change temperatures to Kelvin
adjust for soil moisture default in mm (once updated in hydrology model)
coordinate latent heat flux/evapotranspiration processes between plants and abiotic
add soil fluxes to lower atmosphere (might need to drop 'subcanopy' layer)
return updated fluxes to data object
introduce 'metaconstants' to support sharing of constants between models
add self.model_timing.update_interval in seconds as input to soil balance
expand tests to cover different atmospheric conditions

Type of change

[x] New feature (non-breaking change which adds functionality)
[x] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist

[x] Make sure you've run the pre-commit checks: $ pre-commit run -a
[x] All tests pass: $ poetry run pytest

Further checks

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works

Codecov Report
Attention: Patch coverage is 99.80843% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 94.13%. Comparing base (25e9edf) to head (1df1384).

Files
Patch %
Lines

...le_data/generation_scripts/climate_example_data.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #406      +/-   ##
===========================================
+ Coverage    93.20%   94.13%   +0.92%
===========================================
  Files           60       68       +8
  Lines         2959     3442     +483
===========================================
+ Hits          2758     3240     +482
- Misses         201      202       +1

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

Thank you again for your feedback on the overall structure. I tried to implement the changes you suggested.
Still outstanding/to discuss:

The mixing of DataArray and np.array is not great but this comes from using functions in different parts of the VE where they have different requirements. It has to be some sort of compromise I guess
All the info we want in the LayerStructure, the topsoil layer index and the number of canopy layers which updates every time step. I tentatively put it in setup and update which is obviously not great, but I would prefer to tackle this in a separate PR.


Add explicit Node version support

parseArgs was added to node:util in v16.17/v8.3. Given the CI workflow is only testing 18.x and 20.x, >=18.3 seemed appropriate.
I also considered adding 18.3 explicitly to the node-version list in CI. However, note that the tests rely on the --import flag, new in v18.181, so support for v18.3 can't be automatically validated. It would be possible to add some higher-level tests that start and make requests to lib/bin.js (I tried this out in v18.3, basically copied src/app.test.ts and made it JS, and it works fine).
1 Also it won't run in 18.18.2, the imports in the tests error out with TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts", but everything's fine as of 18.19.0.

Thank you!


error[E0425]: cannot find function size_of in this scope

Bug Description
error[E0425]: cannot find function `size_of` in this scope
   --> sqlx-postgres/src/types/cube.rs:307:33
    |
307 |     const PACKED_WIDTH: usize = size_of::<u32>();
    |                                 ^^^^^^^ not found in this scope
    |
help: consider importing one of these items
    |
1   + use core::mem::size_of;
    |
1   + use std::mem::size_of;
    |

Info

SQLx version: 0.8.1
SQLx features enabled: n/a
Operating system: FreeBSD 14.1
rustc --version: rustc 1.80.0-nightly (7d83a4c13 2024-05-06) (built from a source tarball)

It's literally the one before this one: https://github.com/launchbadge/sqlx/issues/3461


[PROJECT] Ledger Refactoring

Owners
@Betree @znarf
Overview
There is currently a few questions that are not easily answered with the structure of the ledger.
What is Open Collective revenue?

How much in Host Revenue Share to date?
How much in Host Revenue Share pending payment from the host?
How much in Platform Tips and Fees pending payment from the host?

What are the Fiscal Host owing to Open Collective this month?

Pending Platform Fees
Pending Platform Tips
Host Revenue Share

What is the Fiscal Host budget?

Host Fees added to the budget in real time
Host Revenue share deducted in real time
Total money on account / due

There are also mechanisms that are unpractical:

Adding Host Fees to the Host Budget on a monthly basis. Issue: https://github.com/opencollective/opencollective/issues/3858
Removing already paid Host Revenue share on a monthly basis
Adding Pending Platform Fees and Platform Tips to the Host Budget on a monthly basis

This is also an opportunity to move these items to real time.
Prioritization

Does this serve our mission?

This will help us provide clearer accounting for the Platform and the Hosts. Accounting is a core to our mission.

Does this increase quality?

Yes

Does this add technical debt?

No, it's clearing technical debt.

Is it feasible to build and maintain with our current team and runway?

Yes

What insight or research is this project based on?

It's based on what we learned with Fiscal Hosts and implementation of the new pricing model.

How well do we understand the complexity of the problem, feature to be added or user need to be addressed?

We think we have a good understanding of the problem now.

What is the estimated time-frame for delivering this project?

6 weeks to 3 months.
Details
Platform Fees is generally a non-issue, because we're deprecating them and don't expect to have any on July 1st the latest.

Adding Pending Platform Tips to the ledger

type
amount
netAmount
to
from
host
kind
settlementStatus

CREDIT
+100
+100
eslint
kewitz
osc
CONTRIBUTION

DEBIT
-100
-100
kewitz
eslint

CONTRIBUTION

CREDIT
+20
+20
opencollective
kewitz
opencollective
PLATFORM_TIP

DEBIT
-20
-20
kewitz
opencollective

PLATFORM_TIP

CREDIT
+20
+20
osc
opencollective
opencollective
PLATFORM_TIP
OWED

DEBIT
-20
-20
opencollective
osc
osc
PLATFORM_TIP
OWED

Adding Host Fees + Host Fee Share + Pending Host Fee Share to the ledger

type
amount
netAmount
to
from
host
kind
settlementStatus

CREDIT
+100
+100
eslint
kewitz
osc
CONTRIBUTION

DEBIT
-100
-100
kewitz
eslint

CONTRIBUTION

CREDIT
+10
+10
osc
eslint
osc
HOST_FEE

DEBIT
-10
+10
eslint
osc
osc
HOST_FEE

CREDIT
+1.5
+1.5
opencollective
osc
opencollective
HOST_FEE_SHARE

DEBIT
-1.5
-1.5
osc
opencollective
osc
HOST_FEE_SHARE

CREDIT
+1.5
+1.5
osc
opencollective
opencollective
HOST_FEE_SHARE
OWED

DEBIT
-1.5
-1.5
opencollective
osc
osc
HOST_FEE_SHARE
OWED

Everything together (maximum complexity)

type
amount
netAmount
to
from
host
kind
settlementStatus

CREDIT
+100
+100
eslint
kewitz
osc
CONTRIBUTION

DEBIT
-100
-100
kewitz
eslint

CONTRIBUTION

CREDIT
+20
+20
opencollective
kewitz
opencollective
PLATFORM_TIP

DEBIT
-20
-20
kewitz
opencollective

PLATFORM_TIP

CREDIT
+20
+20
osc
opencollective
opencollective
PLATFORM_TIP
OWED

DEBIT
-20
-20
opencollective
osc
osc
PLATFORM_TIP
OWED

CREDIT
+10
+10
osc
eslint
osc
HOST_FEE

DEBIT
-10
+10
eslint
osc
osc
HOST_FEE

CREDIT
+1.5
+1.5
opencollective
osc
opencollective
HOST_FEE_SHARE

DEBIT
-1.5
-1.5
osc
opencollective
osc
HOST_FEE_SHARE

CREDIT
+1.5
+1.5
osc
opencollective
opencollective
HOST_FEE_SHARE
OWED

DEBIT
-1.5
-1.5
opencollective
osc
osc
HOST_FEE_SHARE
OWED

Once the Settlement invoice is paid, we should make sure it's properly tagged:

type
amount
netAmount
to
from
host
kind
settlementStatus

CREDIT
+20.5
+20.5
opencollective
osc
opencollective
EXPENSE

DEBIT
-20.5
-20.5
osc
opencollective
osc
EXPENSE

To keep track of the settlement process, settlementStatus for OWED transactions should be marked as INVOICED then SETTLED.

For the Refunds, we will have to create all reversed transactions, even `OWED' one. We will be counting them in the next settlement invoice.

Frontend

OWED transactions should be ignored by default

Host Fees:

will be moved to separate transactions and not appear anymore in the Transaction entries.
to not bloat the UI, they should be ignored in the default view and accessible with a "ALL transactions" filter

In Progress

This proposal seems pretty mature. I like the fact that we're recording this as a separate transaction, making sure that we can compute the balances with a simple SUM is a very nice goal that should simplify many things. It should also not be too difficult to implement this as a non-breaking change for the frontend, for example the transaction.hostFee resolver could be something as simple as transaction.getHostFeeTransaction().amount.
My only interrogation is about the settlementStatus column. Similar to https://github.com/opencollective/opencollective/issues/4077#issuecomment-796799775, I have the feeling that we should implement this in a separate table:

To keep Transactions immutable
To avoid overloading the Transactions table (esp. if we think we may add more info about the settlement for transactions in the future)

But it's a small design preference. Using a column in the Transactions table is not a blocker for me.

Review Call update:
Implemented txn kind as a new column in the table
Implemented the txn settlement, a separate table meant to track status of DEBT TXN
Still some work to do: system is working but we are not using it to generate host invoice for example yet. This has rolled over to this sprint (S2Q2)
++ Well scoped - as much as possible, since always things come up along the way. Overall description is good, we didn't deviate much.
-- We should have communicated more clearly that we knew that it would take more than one sprint.
New Goal: finish project by end of June - we might need to involve other devs so we can finish on time.

We just had a call with @znarf where I expressed some concerns about the approach we're currently taking here. While it achieves the goals that we have to have a clearer definition for the balances, it feels to me that it's not describing the reality properly as we're recording money transfers that never happened.
Taking the platform tip as an exemple:

Unless we're using Stripe (where we can directly take the tip out of the contribution), this is not what really happened. At this point, the contributor (kewitz) only gave money to the collective (eslint) so the host (osc) is the one actually holding the tip. In this proposal, we're solving the underlying balance issue by creating an OWED transaction from the host to Open Collective to describe this, which lowers the balance of Open Collective to make sure a SUM returns the real amount. The settlement transaction will then resolve this.
Alternative proposal
My goal with this proposal is to offer an alternative approach that better describes reality while keeping things simple.

Recording platform tips

type
amount
netAmount
to
from
host
kind
settlementStatus

CREDIT
+100
+100
eslint
kewitz
osc
CONTRIBUTION

DEBIT
-100
-100
kewitz
eslint

CONTRIBUTION

CREDIT
+20
+20
osc
kewitz
opencollective
PLATFORM_TIP
OWED

DEBIT
-20
-20
kewitz
osc

PLATFORM_TIP
OWED

Host settlement transaction (sums all platform tips received by the host)

type
amount
netAmount
to
from
host
kind
settlementStatus

CREDIT
+20
+20
opencollective
osc

PLATFORM_TIP

DEBIT
-20
-20
osc
opencollective

PLATFORM_TIP

Diff between the two versions

Initial proposal
New proposal

Record a debt tip

Record contribution
Record tip from contributor to Open Collective
Record debt from Host to Open Collective

Record contribution
Record tip from contributor to Host

Settle owed tips

Create a transaction between the Host and Open Collective summing all the platform tips
Mark OWED transactions as settled

Create a transaction between the Host and Open Collective summing all the platform tips
Mark OWED transactions as settled

Record a direct tip (Stripe)
Not mentioned in the specs, but I guess the simpest would be to record only the transaction from the contributor to the host, without any debt transaction nor settlement.
Directly record a transaction from the contributor to Open Collective, without any debt or settlement

Compute projected balance for Host

SUM(netAmount)
WHERE HostCollectiveId = $hostId

SUM(netAmount)
WHERE HostCollectiveId = $hostId
AND "isDebt" IS NOT TRUE

Compute real balance for Host (money in bank account)

SUM(netAmount)
WHERE HostCollectiveId = $hostId
AND collectiveId IN $hostedCollectives

SUM(netAmount)
WHERE HostCollectiveId = $hostId

Compute real balance for Open Collective

SUM(netAmount)
WHERE CollectiveId = 8686

SUM(netAmount)
WHERE CollectiveId = 8686

Compute projected balance for Open Collective

SUM(netAmount)
WHERE CollectiveId = 8686
AND settlementStatus != 'OWED'

SUM(netAmount)
WHERE CollectiveId = 8686
OR (
  settlementStatus = 'OWED'
  AND HostCollectiveId = 8686
)

Get all debts for settlement invoice

FROM Transactions
WHERE isDebt = TRUE
AND settlementStatus = 'OWED'

FROM Transactions
WHERE isDebt = TRUE
AND settlementStatus = 'OWED'

Refund a settled contribution with platform tip

Create a transaction to revert the contribution
Create a transaction to revert the tip from Contributor to OC
Create an OWED transaction from Open Collective to Host
In the next settlement, deduce this amount from the total amount
(Bonus) If the expense amount is negative, invert payee/payer

Create a transaction to revert the contribution
Create an OWED transaction from Open Collective to Host
In the next settlement, deduce this amount from the total amount
(Bonus) If the expense amount is negative, invert payee/payer

How to display the tip in Open Collective's budget
Filter out debts
By default, owed platform tips won't be included on `/transactions`. We can eventually add a `includePendingTransactions` on GraphQL API if surfacing them is important. This flag would add all transactions where `isDebt=TRUE` and `HostCollectiveId` = 8686

Personal conclusion
In my opinion, the alternative proposal better reflects reality. I also think it's a simpler model because there are fewer transactions involved, we just describe how the money moves.
The main philosophical difference between the two is that the first approach considers the projected balance as being the default state whereas the alternative proposal considers the real balance (how much you have in your bank account) as the default state.

We're mostly there :rocket: Release is planned for 1st of July.
Still to do
Tackle last items from #4332 / #4333:

[ ] Hide host fee share (and their debts) in all CSVs @Betree
[ ] Put host fee in columns for collective report CSV @Betree
[ ] Put host fee in columns for host report CSV @Betree
[ ] Hide host fee (+ shares) in email transactions list @Betree
[ ] Add host fee share debt below "Platform tips" (Other credits) in host report email @znarf

Release plan

[x] Disable host settlement CRONs
[x] Disable host report
[x] Disable recurring contributions job
[ ] Update CSVs/emails/reports (see Still to do above)
[ ] Merge tests (will switch feature flag default)
[ ] Delay deploy of API to 30th 00h00 UTC, to avoid platform tips in different currencies (sync with Leo or Suds)
[ ] Recurring contributions

[ ] Run recurring contributions job manually on ~100 contributions and check results
[ ] Check PayPal subscriptions results
[ ] If everything looks good, re-enable the recurring contributions CRON job

[ ] Compare settlement scripts results (DRY mode)

If not match => iterate
If match => run manually

[ ] Run host report manually

If not match => iterate
If match => run manually

Things to iterate on after the release

[ ] Review accountants reports in metabase
[ ] Review revenue metrics in metabase
[ ] Revamp CSV reports

[ ] Merge the code to generate CSV between frontend (transactions list) and API (emails)
[ ] Show transactions groups
[ ] Update descriptions - eg. "Host Fee share for transactions group #xxxxx-yyyy-zzzz-aaaa".

All done. The remaining issues have been extracted to https://github.com/opencollective/opencollective/issues/4426 + https://github.com/opencollective/opencollective/issues/4427


Use suggestions from @fred-asimov

This is the same as #140, but I made an oopsie and renamed the branch, which closed the #140 PR. My bad!
This PR...

Adds pulumi gen-completion bash | sudo tee /etc/bash_completion.d/pulumi > /dev/null

Any chance we can push this change through as a patch release, since 1.2.0 is already broken?


hot reload do not work with style.css

Problem
If I change the style.css, the project do not hot reload. Instead  the whole project will be recompiled.
Steps To Reproduce
Steps to reproduce the behavior:

git clone https://github.com/LuckyTurtleDev/mstickerpicker.git
git checkout e7ac422a9d86bdea9cae7ee4ee62347fe621f232
dx serve --hot-reload

open localhost:8080
and change color inside assets/style.css  with a text editor and save

source code backup: mstickerpicker-dioxus.zip
Expected behavior
hot reload changes and not recompile
Screenshots

Environment:

Dioxus version:   v0.5.6
Rust version:    rustc 1.81.0 (eeb90cda1 2024-09-04)
OS info:         arch linux
App platform:    full-stack

Questionnaire

[ ] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

should be fixed in #2779


How do I make use of Clusterize to do up a table?

I'm not sure how I'm suppose to make use of existing data to do up a table. I have around 400 data to input to my table but I'm not sure how I can do it with Clusterize. Can you do a jsfiddle and show me an example?

I'm trying to implement this library with ElementUI tables. Any tip so far?


Does Range Calendar support language change? Or how can I change it manually?

💬 Question
Hello friends;
I just started using React native and UI kitten. Language change is required for my application. Does the UI support the kitten? How can I change it manually? Thanks in advance.
UI Kitten and Eva version

Package
Version

@eva-design/eva
1.4.0

@ui-kitten/components
4.4.1

It does. Check the docs for examples, custom locale section


Add new PR template

PR Title
The purpose of this Pull Request is to fix #24
PR Description
Created a PR template file based on the repository referenced in the issue so that contributors can use it in future PRs.
How you solved
Created .github/PULL_REQUEST_TEMPLATE/pull_request_template.md using the mentioned repository as a reference and also following GitHub docs.
Screenshots
N/A
Checklist

[x] I have made this contribution as per the CONTRIBUTING guide in this repo
[ ] I have tested in local Environment
[x] I have made the fix as per issue conversation
[x] I have starred the repository ⭐

Great @jessicaribeiroalves !way to go


this is the error which i am facing from so many days . i can't able to fix this bug.   i have run this command on cmd : $ flutter doctor --android-licenses . Output is :  Sending crash report to Google. Crash report sent (report ID: 6441e8136486872c) Oops; flutter has exited unexpectedly. Crash report written to C:\Users\himanshu gupta\flutter_05.log; please let us know at https://github.com/flutter/flutter/issues.

Steps to Reproduce

...
...
...

Logs

Hi @1hmgupta3 , opening an issue please try to provide
all or some of the information indicated in the template

Issue Template
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
- https://flutter.dev/
- https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent
If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
Steps to Reproduce
Please tell us exactly how to reproduce the problem you are running into.
Please attach a small application (ideally just one main.dart file) that
reproduces the problem. You could use https://gist.github.com/ for this.
If the problem is with your application's rendering, then please attach
a screenshot and explain what the problem is.

1. ...
2. ...
3. ...

Please tell us which target platform(s) the problem occurs (Android / iOS / Web / macOS / Linux / Windows) Which target OS version, for Web, browser, is the test system running? Does the problem occur on emulator/simulator as well as on physical devices?
Target Platform: Target OS version/browser: Devices:
Run your application with `flutter run --verbose` and attach all the
log output below between the lines with the backticks. If there is an
exception, please see if the error message includes enough information
to explain how to solve the issue.
Run `flutter analyze` and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.
Finally, paste the output of running `flutter doctor -v` here.

Closing this issue, since no information has been provided.
Thank you.


Update ShipSections NetKAN name.

Just noticed that I messed up the name on the NetKAN file.  This'll fix it.

Merging with thanks


Pull request for Create a database based on a diagram

In this PR:

[ ] Added database diagram

[ ] Created a file named schema_based_on_diagram.sql where we implement the database from the diagram.

[ ] Joined tables from many-to-many relationships might not appear in the diagram

[ ] Added the FK indexes.

Table details

All tables info:

patients table:

Invoices table:

invoce_items table:

medical_histories table:

treatments table:

medical_treatment table:

Thank you for reviewing our PR!
Regards,
@kimitaWanjohi @zuhebahmed88091

I already created a join table for the many-to-many relationship between the medical_histories and treatments. The join table name is medical_treatment. can you check again

Already done that. Thank you

Alright, you can proceed to submit for a review since you already created the join table with the necessary foreign key references👍🏼.
Once again, sorry for the incoveniences🙏🏼.

Thank you


Fix tests for watchers

This PR fixes the units tests for Vue watchers. Since watchers are deferred to the next update cycle the calculated values are available after the test has finished.
This reworks the tests so the vm.$nextTick function is used to defer the assertions to the next update cycle.
Unfortunately the tests weren't failing on Travis in the past and they are still not failing in the local dev setup. That's why this came a bit unexpected.

Thanks for the review @JakobMiksch! I'll merge now.

I ran npm test it outputed:

HeadlessChrome 79.0.3945 (Linux 0.0.0): Executed 158 of 182 SUCCESS (0.954 secs / 0.183 secs)
TOTAL: 158 SUCCESS

=============================== Coverage summary ===============================
Statements   : 76.94% ( 387/503 )
Branches     : 58.44% ( 135/231 )
Functions    : 50% ( 26/52 )
Lines        : 77.26% ( 384/497 )
================================================================================

This is a known issue (#103) and has nothing to do with the changes introduced by this PR.


VW Fired Senior Employee After They Raised Cyber Security Concerns

https://informationsecuritybuzz.com/expert-comments/vw-fired-senior-employee-after-they-raised-cyber-security-concerns/

Got it! Using this source: https://www.ft.com/content/f5db8164-6d82-495e-a0a0-f12ae96dbd55


Style callout delimiters in discussion for HTML output

Fixes #281
This PR adopts the following color coding for annotation types, but I'm very much open to changing this around:

Error (bug): Pink
Warning (attention, important, warning): Orange
Metadata (author[s], copyright, date): Gray
Informational (everything else): Blue

This doesn't handle custom callouts, but those are Xcode Playgrounds-specific, and the default rendering is good enough.

@Lukas-Stuehrk Thanks for pointing out the contrast ratios for that and suggesting more accessible alternatives. These look a lot more reasonable:

Still some room for improvement, possibly using text shadows to preserve contrast without compromising the color palette as much. And some work to do to make this work with dark mode (#160 I know, sorry for the delay 🙇). But I think this is good enough for now. :shipit:


KafkaSource config cluster role correction

The &everything reference was defined multiple times, which makes Ansible break when processing the file.
Correction to reuse the reference instead as it's already there.

@googlebot I signed it!

@matzew how did you want to tackle this one with the current kafka move to knative-sandbox/eventing-kafka?

@guimou thanks for the PR, Guillaume!
If you want to have this fix on the 0.18 release, I'd suggest we apply the fix to this branch:
https://github.com/knative/eventing-contrib/tree/release-0.18
Now, this REPO is basically dead, and the kafkasource is living in here:
https://github.com/knative-sandbox/eventing-kafka
Starting with release 0.19 we get releases from that repo instead.

Thanks Matthias! I guess we can just forget about it then, as long as the same thing is not happening in the new branches. If it is, I'll have a look at it and make another PR anyway. I think I'll wait everything to stabilize though before redoing specific Ansible packages.

@guimou I'd really appreciate if you could make the two PRs, one to the release-0.18 branch here,
and one to master on the new repo.
Thanks!

/close


Log

@yaoshengzhe @enisoc
One less test implementation of topo.Server! (was not possible to do it before because of circular dependency from topo/faketopo/ to wrangler/ )

LGTM, great stuff.


Fix issue with introductory offer period duration on iOS

This pull request is intended to fix an issue with getting introductory offer period duration for iOS subscriptions.
Looks like an issue in StoreKit, but the NumberOfPeriods property from SKProductDiscount always returns 1, no matter what period is configured for the subscription. I tested it on a native Swift project, the result is exactly the same.
This fix can be used as a workaround, to get the number of periods directly from the SubscriptionPeriod.NumberOfPeriods  property, in this case StoreKit always returns the correct value.

yeah... interesting...
nubmerOfPeriods on the product discount: https://developer.apple.com/documentation/storekit/skproductdiscount/2936875-numberofperiods
and then on the subscription:
https://developer.apple.com/documentation/storekit/skproductsubscriptionperiod/2936876-numberofunits
A subscription period duration is calculated by multiplying the number of units by the unit.
For example, if the number of units is 3, and the unit is SKProduct.PeriodUnit.month, the subscription period is 3 months.

so, you actually need both... if it id day/week/month and how many...

Was a little bit more indepth -> https://github.com/jamesmontemagno/InAppBillingPlugin/pull/503
Will roll this into next update


Error Dates in Germany tweets not correct

Hello, I have a full archive access in twitter and i am using paginator to scrape 500 tweets per request so when i am done scraping and trying to see the dates all the dates are the same never changed the only changes i see is the minuets that in "German languages" The query i used is:
query = "keywords lang:de"
start-time = "2021-01-01T00:00:00Z"
end-time = "2021-05-01T00:00:00Z"
But when i try to scrape English tweet it is working perfect so i am not sure where is the issue!!
The script seems to work in other languages perfect so the issue is not the script i believe and is not twitter so it might be a bug or something could you help out please!!

Not an issue

In your second for loop, you're only iterating over the (up to 500) Tweets in the last response.
It's plausible for all of those to have been Tweeted on the same date, depending on your keyword.


Speedy Rope

RoPe is pretty ubiquitous now, we should have a custom kernel for it, particularly before fusion arrives.
MLX: https://github.com/ml-explore/mlx/blob/main/mlx/backend/metal/kernels/rope.metal
4$ bounty on offer.

#147 Completed.
Could be speedier with vectorisation but even MLX hasn't done that.


Add OSCYankOperator

Hi 👋
First of all, massive thanks for the plugin -- I use it almost every day.
This is a small QoL change that introduces an OSCYank operator. The idea is that you can add a mapping like this to your config:
nmap <leader>o <Plug>OSCYank

... which will allow you to use the OSCYank-goodness as an operator. For example:
<leader>oip

... would yank the inner paragraph at the cursor, or:
"k<leader>o

... would yank the contents of "k via the OSCYank mechanism.
I think this improves the ergonomics of the plugin. This is entirely opt-in -- if you don't want to use it, you don't have to. But I think this is something that users might like, so maybe it makes sense to add this as part of the plugin.
Cheers! 🍻
Joe

Wow that's awesome! Thanks a lot :) I'll definitely use this feature myself.

Is this supposed to work with other motions/selection?
Can't get it to work with <leader>oi" or <leader>oib
For example or <leader>o$ copies entire line instead of from cursor to end of line.

Yes I noticed this also. The selection is line-wise rather than character-wise. This should be fixed in the latest commit.

Ah -- apologies folks, that's my bad. I only ever use OSCYank for code blocks so it didn't even cross my mind!

I add to temporarily revert this PR due to issue #16. I'll try to see if there's a way to add this feature again without introducing errors in the following days. Sorry for the disagreement.


Go & Ale

I am just wondering if ale can be what clojure is to java, to Go. Also Yaegi is repl for golang, it would so cool to write lisp code using existing go libraries.

Hi @mseshachalam!
At one point I did write a reflection/FFI system, but I scrapped it because I wasn't satisfied with the design. That said, yes, I will be introducing an FFI library at some point in the future. I just want to nail down the language design first.
In the meantime, you an fake it. Any Go function that matches the Call interface can be used internally by Ale. You'll just need to get it registered with a namespace after bootstrapping. That can be done by registering it with a namespace before you eval your Lisp code:
myFunc := func(_ ...data.Value) data.Value {
  return data.String("hello")
}

manager := bootstrap.TopLevelManager()
bootstrap.Into(manager)
ns := manager.GetAnonymous()
ns.Declare("hello").Bind(data.Call(myFunc))
eval.String(ns, "(hello)")

This is described briefly in the Embedding Ale article. Keep in mind that data.Value is essentially an alias for fmt.Stringer. So any value that implements that interface should be capable of being passed around by Ale. That may change in the future, as the FFI system may require relaxing the restriction.
Sorry for taking so long to get back to you on this.

It would be useful that accessing Go packages/runtime could be turned on/off. That way Ale could be used as a safe embedded language for providing some imported/dynamic business logic without worrying for that code to perform unsafe operations - calling HTTP, accessing OS resources, and the like.

Hi @dc0d, as of right now that's still the case. Ale cannot perform arbitrary reflection or invocation, instead requiring the developer to explicitly provide values into its environment that adhere to Ale's interfaces. As an FFI is built, the interface requirement will be relaxed, but the provisioning constraint will remain -- Ale will only be able to play with things you provide to it explicitly.

Hi @dc0d, as of right now that's still the case. Ale cannot perform arbitrary reflection or invocation, instead requiring the developer to explicitly provide values into its environment that adhere to Ale's interfaces. As an FFI is built, the interface requirement will be relaxed, but the provisioning constraint will remain -- Ale will only be able to play with things you provide to it explicitly.

I have created a branch called ffi that is the starting point of an FFI. Still quite a lot to do (including cycle checks in the marshaling) but actively being worked on.

I have created a branch called ffi that is the starting point of an FFI. Still quite a lot to do (including cycle checks in the marshaling) but actively being worked on.

I have merged the ffi branch into master. Originally worried about having to change some of the basic interfaces of Ale to perform the work, but ended up not having to.
The interface is semi-functional at this point, but still quite fragile and incomplete.
For example, I haven't settled on a way to wrap chan. My though was that it should behave the way Ale chan works, exposing a sequence and emitter. Problem is that Ale manages the life-cycle of its channels.

I have merged the ffi branch into master. Originally worried about having to change some of the basic interfaces of Ale to perform the work, but ended up not having to.
The interface is semi-functional at this point, but still quite fragile and incomplete.
For example, I haven't settled on a way to wrap chan. My though was that it should behave the way Ale chan works, exposing a sequence and emitter. Problem is that Ale manages the life-cycle of its channels.

Another thing to note: Although I am handling cycles in type wrapping, the value marshaling doesn't yet perform cycle checks.

Another thing to note: Although I am handling cycles in type wrapping, the value marshaling doesn't yet perform cycle checks.

Value wrapping now performs cycle checks (against Map, Slice, and Ptr) and returns an error when a cycle is encountered. Because Ale values are immutable and would otherwise tend to be based on persistent data structures, cycles (theoretically) can't occur in them, so allowing for cycles to be mapped from Go types is problematic.
I may revisit this decision in the future, but am going to wait and see how many people complain

Hi everyone. I've recently posted an article about Go and Ale that covers the FFI that is being built. It's getting pretty close to being usable. I don't anticipate any major changes to how it works. There are a few conversions still missing (complex numbers and unsafe pointers) but everything else should be ready to play with. If you don't mind, I'm going to close this issue.


Generic mono

I can't find this font on the internet anywhere and it does not show extended characters like ñ correctly.
Thought I could find an update.
Other than that, love the font!

Hm, apparently it got removed from fontlibrary.org. I wouldn't know where to find an update either. Perhaps you're better of with Bitstream Vera? That's close visually.


Marketplace service cards tags list fails to expand

Clicking on `+' link navigates to service summary page instead of expanding the tags list

This is fixed.


Refactored ExcludeTest to correctly use new setup

Description

Motivation and Context

Fixes #754
Types of changes

[x] 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 change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

👍


workflows: add encryption for AKS testing

Tested via #15468, here is a working run using the current version of the YAML: https://github.com/cilium/cilium/runs/2326203018?check_suite_focus=true


Building android on OSX issue with keystorePath and keyAlias

When publishing or checking the keystore the file name results in the path being combined twice, and keyAlias always seems to to return null.

same problems here. iOS works fine.

Fixed in 1.1.1


provides support for allOf

Allows to handle allOf as interface extends. This is neeed when you have polymorphic swagger types.

damn I missed the compile phase it seems, sorry


Invalid OAuth2 redirect_url

When i try to login I see a page that says Invalid OAuth2 redirect_url . Can you please help me? see the attachment please

Go to https://discord.com/developers/applications
Select your application
Go to OAuth2
Add a Redirect

Oh . thanks . It worked but I have a new problem now :( . when I click on login and then authorize button of the next page it goes to the login page again .

This is because of your redirect URL show me the url you are using.

From: Liam @.>
Sent: Monday, February 13, 2023 3:40:05 AM
To: LachlanDev/Discord-BOT-Dashboard-V2 @.>
Cc: Subscribed @.***>
Subject: Re: [LachlanDev/Discord-BOT-Dashboard-V2] Invalid OAuth2 redirect_url (Issue #10)
Oh . thanks . It worked but I have a new problem now :( . when I click on login and then authorize button of the next page it goes to the login page again .
—
Reply to this email directly, view it on GitHubhttps://github.com/LachlanDev/Discord-BOT-Dashboard-V2/issues/10#issuecomment-1427075840, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN6AAOPPWWRFKZVZYPJWYSTWXEG6LANCNFSM6AAAAAAUZLCEY4.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

So how can I fix it? when I change the redirect url . it goes back to first error of invalid OAUTH2 . Can you please come to discord & help me? my id is Mmd#7005 . I'd really appreciate that


Unclear how to pass options in postcss.config.js (missing usage in docs)

Instructions posted at http://cssnext.io/usage/ are not very helpful in my case. Sorry, but these docs are very vague, they don't even state in which file should the example be written. These can be obvious things for "insiders", but not for someone new to postcss.
I'm using Webpack 2 and including postcss-cssnext along with other postcss plugins in my postcss.config.js:
module.exports = {
    plugins: [
        require('precss'),
        require('postcss-cssnext')
    ]
};

and this works, but how do I pass options here?
This syntax doesn't work:
module.exports = {
    plugins: [
        require('precss'),
        require('postcss-cssnext')({features: {autoprefixer: {}}})
    ]
};

this neither:
module.exports = {
    plugins: {
        'postcss-precss':  {},
        'postcss-cssnext': {
            features: {
                autoprefixer: {}
            }
        }
    }
};

When I run webpack I get errors like:
TypeError: Cannot read property 'default' of undefined
or
TypeError: [object Object] must be a function, did you require() it ?

Is postcss.config.js something official?
If so I am open to an improvement in the docs.
That said, cssnext is just a normal postcss plugin. I think there is a bug about that. See https://github.com/postcss/postcss-loader/issues/138

@MoOx
Yes, using javascript as a config file is official, for example this is how I use package.json to define build scripts such as
"scripts": {
  "build-css": "postcss --config config/postcss.library.config.js"
}

@folmert
This is what works for me, although I'm not sure why I should include postcss-cssnext when I have to include plugins anyway under the use key
let config = {
  use: [
    'postcss-cssnext',
    'postcss-import',
    'postcss-custom-properties',
    'postcss-nesting',
    'postcss-calc',
  ],
  'autoprefixer': {
    browsers: '> 5%'
  },
  'postcssCssnext': {
    features: {
      autoprefixer: true
    }
  },
  // Other options such as input and output
};

module.exports = config;

@piotr-cz Feel free to make a PR to show the usage of postcss.config.js in the docs!

@piotr-cz
I've made it work by installing postcss-load-plugins. Thanks to this plugin I can simply write now in my postcsss.config.js:
module.exports = function () {
    return {
        plugins: [
            require('precss')({}),
            require('postcss-cssnext')({ browsers: ['> 0.05%', 'IE 7'], cascade: false })
        ]
    }
};

@folmert I was considering postcss-load-config, but after some time got working with postcss-cli

@MoOx
I'm not sure how to phrase it, I'd add something like this to the docs for  on cssnext.io docs Setup > Usage page.

Usage with CLI
It's possible to pass cssnext options in config file as described in postcss-cli docs:
{
    "input": "screen.css",
    "output": "bundle.css",
    "postcssCssnext": {
        "features": {
            "autoprefixer": true
        }
    }
}

Webpack2 config for post-css with ExtractTextPlugin:
{
    test: /\.pcss$/,
    use: ExtractTextPlugin.extract({
        fallbackLoader: 'style-loader',
        loader: [
            {loader: 'css-loader'},
            {loader: 'postcss-loader',
                options: {
                    sourceMap: 'inline',
                    plugins: function () {
                        return [
                            require('postcss-import'),
                            require('postcss-cssnext')({
                                customProperties: {
                                    variables: {
                                        c_bg: "#222"
                                    },
                                }
                            })
                        ]
                    }
                }
            }
        ]
    })
}

If you prefer store settings in separate js, your config may look like:
const cssSettings = require('../../src/config/vars.js') // before module.exports

{
    loader: 'postcss-loader',
    options: {
        sourceMap: 'inline',
        plugins: function () {
            return [
                require('postcss-import'),
                require('postcss-cssnext')({
                    features: cssSettings
                })
            ]
        }
    }
}

// vars.js

module.exports = {
    customProperties: {
        variables: {
            c_bg: "#222"
        },
    },
    customMedia: {
        extensions: {
            v_small:   "(min-width: 30rem)",
            v_medium:  "(min-width: 48rem)"
        }
    }
}

So, anyone know how to pass options in postcss.config.js?
For example.
Options list for "postcss-custom-properties" https://github.com/postcss/postcss-custom-properties#options
I've tried this but doesn't work:
module.exports = {
  plugins: {
    'postcss-import': {},

    'postcss-cssnext': {
      // not working...
      'postcss-custom-properties': { preserve: true }
    },

    'cssnano': { autoprefixer: false }
  }
}

Without using additional loaders you can pass options in postcss.config.js like this:
module.exports = {
  plugins: {
    'postcss-import': {},

    'postcss-cssnext': {
      features: {
        customProperties: { preserve: true }
      }
    },

    'cssnano': { autoprefixer: false }
  }
}

customProperties refer to "postcss-custom-properties" plugin, you can use the same options of the original plugin https://github.com/postcss/postcss-custom-properties#options
The list of all features / plugins names can be found here: https://github.com/MoOx/postcss-cssnext/blob/master/src/features.js
Maybe the documentation http://cssnext.io/usage/ can be improved?

postcss-cssnext has been deprecated in favor or postcss-preset-env. Read more at https://moox.io/blog/deprecating-cssnext/