Compatible with Nuclide (latest) and atom (latest)?

Is remote-sync compatible with the above setup?
I dont see a context menu for remote-sync at all, I tried just adding a config json file to the directory, and it seems to be working somehow (I copied and pasted the first example json and got some errors for missing css etc, which dont exist in my project)... but still no context menu...
Is there something I'm missing? :(
thanks!!

@RVN-BR what you are trying todo should work it seems like something has not been installed correctly could you uninstall and try again.
The css errors you are getting is due to you watching files based upon the example, you can just empty that:
"watch":[]

I have the same problem: remote-sync isn’t showing up in the packages folder, nor the context menu. Reinstalled several times but no luck. I’m using Nuclide as well.

@elistone tried again a few more times...
It doesnt seem to work with nuclide on OSX...  On windows it seems to work fine...
I have given up for now as I'm in a bit of a rush here, but I did try reinstalling, upgrading, etc, I just didnt go as far as removing nuclide to prove thats the culprit...
ps: Yep, I gathred as much about the watch error, and did fix it, but initially I just popped in your demo file and changed the login params to validate if it was even getting at it...


Tree pull events

All data is good data

ram address 5d with value 0x1d is apparently the value for link's rolling animation (happens on tree pull, thieves' town entrance)


Native certificate pinning on android doesn't work for dart calls

When I pin some domain in network_security_config.xml eg:
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
    <domain-config>
        <domain includeSubdomains="true">example.com</domain>
        <pin-set>
            <pin digest="SHA-256">50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c</pin>
        </pin-set>
    </domain-config>
</network-security-config>

then this is honoured only for the native android kotlin/java code, but when doing network call from dart using eg dio, this doesn't restrict anything.
In contrast on iOS when I pin domain using NSPinnedCAIdentities in Info.plist then both native and dart calls will respect the NSPinnedCAIdentities settings.

Hi @killalad
Can you please provide your flutter doctor -v and complete steps to reproduce the issue
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


RFC First cut support for sandboxing procmacros with wasm

This is a first cut experiment at building proc-macros with wasm in order to sandbox them.
It adds a new Kind: HostSandbox, in addition to Host and Target. This is treated as a host build, but its always wasm32-unknown-unknown.
In Cargo.toml, you can set wasm_sandbox = true in addition to proc-macro = true, which enables the use of HostSandbox.
When the compilation actually happens, it's treated as a cross-build to wasm32-unknown-unknown.
Lightly tested on serde, which worked until it couldn't find proc_macro from rustc (well, proc-macro2's build.rs assumes it can't exist and so fakes it out).
Assuming this basic approach is sound, I'm thinking that the wasm_sandbox flag will become a marker that the procmacro could be sandboxed, and then a command-line or cargo config option would request that procmacros be built sandboxed (with further config to forbid non-sandboxed).
TODO:

the rustc side
what happens if we're cross-compiling to wasm32? Does it conflict or is it ok?

cc @alexcrichton, @dtolnay

r? @Eh2406
(rust_highfive has picked a reviewer for you, use r? to override)

r? @alexcrichton

If you assume features are additive then you could just set them all for prebuilt. Or if she are rare and bloaty then prebuilt could exclude them and you'd need to build locally if you want them.
IOW the prebuilt would have associated features and resolution would work out whether it's usable.
Of course it breaks if features are used wrongly.

@joshtriplett Totally on board with that characterization.

:umbrella: The latest upstream changes (presumably #7216) made this pull request unmergeable. Please resolve the merge conflicts.

Ok this has been quiet for some time now and in the meantime we've had watt emerge as well as a way of testing this. Naturally this is going to be a pretty major feature and I think we'll probably want to start with an RFC before the implementation here as well.
In any case we're certainly interested in continuing to investigate this as always, and we're more than willing to help discuss this in the future!

@alexcrichton that links to rfc 2474, which doesn't seem right given the context. Did you mean to link to something else?

Here is the link: https://github.com/dtolnay/watt

Er yes sorry I apologize, @dtolnay has the right link.


Expose git_diff_blobs API

Adds a diff_blobs method on the Repository which exposes the git_diff_blobs API in libgit2. The patch should be functionally complete although I haven't tested it extensively. The example app changes could be improved, but I wanted to get some feedback first as to whether this patch would be acceptable or not, and if any more fundamental changes are needed.
Thanks!

Hm, looks like I wrote my patches against alex's fork which is stale. I can rebase against the master, but would like feedback on the main approach first.

Patches rebased to master.

Seems reasonable to me! Usage-wise a builder might be a bit more ergonomic than a many-argument-method, but I don't really have much of a preference one way or another.

Patches ready for review now. I ran rustfmt and modified the diff example a bit more to allow colorized output for the --blobs option that I added.


Disable filepath highlighting

I can't find a setting, but is there a way to disable the "filepath highlighting" from the interactive window renderer?
This is a simple example, but almost any kind of output I use has some sort of / in it, and this is just really annoying and not helpful. Would love to disable it completely. Thanks!

@amunger would be forever grateful if you can fix it, I get so annoyed by it every day haha 🙏🏻

I thought I was seeing this too, but now can't seem to repro. Can you check which render you're using with change presentation in the output menu to see if you're using the built-in?

you're right, I found some that show the bad behavior on windows.
Created https://github.com/microsoft/vscode/pull/182117 to fix that issue and I'll leave this feature request open - which would be more complex to implement since the backend setting needs to be piped to the renderer.

@amunger Are you able to figure this one out? Still super annoying haha!


Type 'unknown' does not satisfy the constraint 'ComputedOptions'

Found 1 error in node_modules/_vue-pdf-embed@1.1.2@vue-pdf-embed/types/index.d.ts:29
Index signature for type 'string' is missing in type '{}'
line 29   "unknown"

Hi @X-sirs,
Thank you for discovering the issue. Could you provide details on how it can be reproduced/checked?

When i ran the command "vue-tsc --noEmit && vite build",it threw that error and exit.  The typescript version is 4.7.3.

Ok thanks, a fix for this was included in 1.1.3


Using build instructions for toolchain to download packages errors with 404 Not Found

Package manifests for aarch64, probably same for x86 are looking for version not found at packages.microsoft.com.

curl-8.2.1-1.cm2.aarch64.rpm is not available, but curl-8.0.1-2.cm2.aarch64.rpm is.
curl-devel-8.2.1-1.cm2.aarch64.rpm is not available but curl-devel-8.0.1-2.cm2.aarch64.rpm is.
curl-libs-8.2.1-1.cm2.aarch64.rpm is not available but curl-libs-8.0.1-2.aarch64.rpm is
curl-debuginfo-8.2.1-1.cm2.aarch64.rpm is not available but curl-debuginfo-8.0.1-2.aarch64.rpm is
kernel-headers-<IP_ADDRESS>-2.cm2.aarch64.rpm is not available but kernel-headers-<IP_ADDRESS>-2.aarch64.rpm is.

Locally modifying these entries in the manifest files allows build to continue.

I think you might be trying to build main or 2.0; if that is the case, this is an expected behaviour.
Since main / 2.0 is our transient branch, all packages that are listed in the manifest might not have been released yet & thus they would not be availible in the package repo yet.
If on the other hand this happened with 2.0-stable tag (unlikely), then it would be unexpected.

Sorry, should have made that clear.  I thought I was building on 2.0-stable, but will double check it.  May have pulled the tip of the branch unintentionally.
From: Muhammad Falak R Wani @.>
Sent: Sunday, August 20, 2023 6:23 PM
To: microsoft/CBL-Mariner @.>
Cc: Wyborny, Carolyn @.>; Author @.>
Subject: Re: [microsoft/CBL-Mariner] Using build instructions for toolchain to download packages errors with 404 Not Found (Issue #6015)
I think you might be trying to build main or 2.0; if that is the case, this is an expected behaviour.
Since main / 2.0 is our transient branch, all packages that are listed in the manifest might not have been released yet & thus they would not be availible in the package repo yet.
If on the other hand this happened with 2.0-stable tag (unlikely), then it would be unexpected.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/CBL-Mariner/issues/6015#issuecomment-1685481920, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL5PGRRZUNVXWS5YNAHVU23XWKZ7ZANCNFSM6AAAAAA3V3MSEQ.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Yes, I had unintentially pulled the branch instead of the tag when trying to make sure I was updating.


✨ TableProducerServer using backfills

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#635  👈 (View in Graphite)
#634
main

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


N record subtlety

Hi, thanks for your quick response to our question the other day. We continued along the line with our own testing framework, and found a further subtlety, concerning how Ferret currently handles type N records.

public static Zen<bool> NRecordCheck(Zen<IList<ResourceRecord>> nRecords, Zen<IList<ResourceRecord>> zoneRecords)
{
         return nRecords.All(nr => And(
                zoneRecords.Where(r => r.GetRName() == nr.GetRName()).Length() == 1,
                zoneRecords.Any(r => And(
                    Utils.IsPrefix(nr.GetRName(), r.GetRName()),
                    r.GetRType() != RecordType.N))));
}

As far as we are concerned, the above constraints enforce type N records at empty non-terminals. The logic is: an N record has a unique name, and is a proper prefix of a non-empty record.
However, consider the following zone (omitting root SOA/NS):

*.a.
IN
A
<IP_ADDRESS>

b.*.a.
IN
A
<IP_ADDRESS>

and query c.*.a.   A. Problem is: as *.a. already exists as a wildcard record, it will not be added as a type N record even when b.*.a. exists. Yet, in record b.*.a. and query c.*.a., the asterisk is only an ordinary label, and thus the RFC response should be NXDOMAIN. In Ferret, as *.a. is a wildcard record, it would match and respond NOERROR.
This subtle behavior of wildcard DNS record is specified on wikipedia (the last section of "Example usages"). RFC 4592 Section 2.3 also hinted it.
What do you think?

That is not true. It would respond with Tag R2 which is NXDOMAIN and not NOERROR. You can try it out yourself, but here is the test code:
      public void TestZoneValidity()
        {
            var function = Function<Zone, bool>(ZoneExtensions.IsValidZoneForRRLookup);

            var soa = new ResourceRecord
            {
                RName = new DomainName { Value = new List<byte> { 0, 2 } },
                RType = RecordType.SOA,
                RData = new DomainName { Value = new List<byte> { } },
            };

            var ns = new ResourceRecord
            {
                RName = new DomainName { Value = new List<byte> { 0, 2 } },
                RType = RecordType.NS,
                RData = new DomainName { Value = new List<byte> { 6, 7, 8 } },
            };

            var wildcard = new ResourceRecord
            {
                RName = new DomainName { Value = new List<byte> { 0, 2, 1 } },
                RType = RecordType.A,
                RData = new DomainName { Value = new List<byte> { } },
            };

            var wildcard1 = new ResourceRecord
            {
                RName = new DomainName { Value = new List<byte> { 0, 2, 1, 4 } },
                RType = RecordType.A,
                RData = new DomainName { Value = new List<byte> { } },
            };

            var zn = new Zone { Records = new List<ResourceRecord> { soa, ns, wildcard, wildcard1 } };
            Assert.IsTrue(function.Evaluate(zn));

            var relevant = Function<Query, Zone, IList<ResourceRecord>>(ServerModel.GetRelevantRRs);
            var result = relevant.Evaluate(new Query { QName = new DomainName { Value = new List<byte> { 0, 2, 1, 5 } }, QType = RecordType.A }, zn);
            Assert.IsTrue(result.Count() == 1);
            Assert.IsTrue(wildcard.Equals(result.First()));

            var serverfunction = Function<Query, Zone, Option<Response>>(ServerModel.ServerLookup);
            var response = serverfunction.Evaluate(new Query { QName = new DomainName { Value = new List<byte> { 0, 2, 1, 5 } }, QType = RecordType.A }, zn);
            Assert.IsTrue(response.HasValue);
            var v = response.Value;
            Assert.IsTrue(v.ResTag == Tag.R2);
        }

The zone corresponds:

a.x.
IN
SOA

a.x.
IN
NS
g.h.i

*.a.x
IN
A

b.*.a.x
IN
A

The mapping is a.x is 0, 2 in reverse, so a corresponds to 2.  Check this for details of our encoding.
The query that I gave was 0, 2, 1, 5 which translates to reverse(x.a.*.c) which is c.*.a.x.
As you can see our server lookup function returns the response with a tag R2 which corresponds to the NXDOMAIN tag and is in accordance with the RFC. Tag details are here and here.
I really appreciate you trying out our tool and thinking of these subtle cases, but I would also advise you to also try them using test cases as I pasted above.  You can add the above function to any of the test files in the test folder and you can use these steps to run the tool and tests.
Details: The reason our server lookup doesn't consider this as wildcard match is because in our  functionthat checks if a domain d1 is a wildcard match to another domain d2  we have: 𝑑1 ∈∗ 𝑑2 = (|𝑑2 | ≤ |𝑑1 |) ∧ (𝑑1 ≃(|𝑑2 |−1) 𝑑2) ∧ 𝑑1 [ |𝑑2 | ] ≠ ∗ = 𝑑2 [ |𝑑2 | ], which says that d1 which in our case is the query domain name c.*.a.x should not have a * at the index of the length of the d2 which is *.a.x,  but it has * so this will not be a wildcard match.


python 3 support please

Version 0.11 is not available via pip. Do you have any plans to update the code to python3 and make it available?

This is a very elegant framework! @100  do you still have plans to maintain it and port it to python 3?

It works on python 3

@torressa Thank you it does indeed!
(somebody should close the issue:)

Thanks!


Chroma is running in http-only client mode, and can only be run with 'chromadb.api.fastapi.FastAPI' as the chroma_api_impl

What happened?
Chroma is running in http-only client mode, and can only be run with 'chromadb.api.fastapi.FastAPI' as the chroma_api_impl
Versions
Chroma is running in http-only client mode, and can only be run with 'chromadb.api.fastapi.FastAPI' as the chroma_api_impl
Relevant log output
No response

@njhouse365, can you elaborate about your problem a little more?
Python-based Chroma exists in two packages:

Chroma core (pip install chromadb) - this package contains all deps and code to run Chroma as client (http or persistent) and a server
Chroma thin client (pip install chromadb-client) - this package contains only the http client dependencies and can only run in that mode (aka chroma_api_impl=chromadb.api.fastapi.FastAPI

@njhouse365, does this resolve your issue - https://github.com/chroma-core/chroma/issues/1291#issuecomment-2247168580

yes it working tanks

closing as the issue has been resolved


Bump

Ping @abkfenris. Usually the bot does this automatically but somehow it missed this version.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@isuruf, sorry to bug you but I have no idea why the macOS version is trying to load that proj image. I'm planing on merging this without macOS, b/c we need this pkg ASAP on Linux, but I would like to fix it in another iteration.

Try adding the following at the beginning of the build script.
sed -i.bak 's/${CC} ${CFLAGS} ${PKGCPPFLAGS}/${CC} ${CFLAGS} ${PKGCPPFLAGS} ${LDFLAGS}/g' configure


Return ENAMETOOLONG from fd_prestat_dir_name

The error code ENAMETOOLONG is a more accurate description of the error condition if the provided path buffer is too short to fit the prestat directory name. In addition, there is no need to return an error in the case that the provided buffer is too large.

The error code ENAMETOOLONG is a more accurate description of the error condition if the provided path buffer is too short to fit the prestat directory name. In addition, there is no need to return an error in the case that the provided buffer is too large.

ENAMETOOLONG sounds weird to me for this particular case.

@yamt I think the error code is fine. From the posix spec page Filename too long is the description.
I think this matches the error condition here pretty much exactly: the filename is too long to fit in the provided buffer.

@yamt I think the error code is fine. From the posix spec page Filename too long is the description.
I think this matches the error condition here pretty much exactly: the filename is too long to fit in the provided buffer.

ENAMETOOLONG usually means that the given filename is too long wrt PATH_MAX/NAME_MAX.
do you have a precedent where it's used to mean "too long for the user-provided buffer"?

ENAMETOOLONG sounds weird to me for this particular case.

Agree, I think EINVAL is fine in that case, as it's invalid value provided by the user that causes this error.

ENAMETOOLONG usually means that the given filename is too long wrt PATH_MAX/NAME_MAX.

Ok gotcha, I hadn't actually come across the error code before so just from the name and description it seemed to fit well.

do you have a precedent where it's used to mean "too long for the user-provided buffer"?

It appears not, I've searched the internet but the error code seems to refer exclusively to that specific case of a path exceeding the OS path max.
I'll still need to change this function to return __WASI_EINVAL rather than __EINVAL. I'll also raise a PR for the tests to change the error code.


feat: enable nats core publish for ts

Fixes #47

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Content Suggestion: What Is Bitcoin?

Link to Content: https://WhatIsBitcoin.com
Briefly Describe Content: I write content to onboard new users and educate them about all of the best practices when stacking sats and using bitcoin.
Suggested Section: Learning resources > Websites > What Is Bitcoin?

Ok, please make a pull request

I am new to GitHub, are you able and willing to help me learn how to do that?
I have tried but seem to keep coming up empty-handed.

All done. I believe I correctly made a pull request.
Please let me know if you need me to do anything else.


Change empty PM view text when user does not have permissions to send PMs

In an empty PM view, we show the following message, which does not make sense when the user is not allowed to send PMs (https://zulip.com/help/restrict-private-messages).:

Instead, if the user somehow navigates to such a view, the message should say: "You are not allowed to send private messages in this organization."
"Why not start the conversation?" should be dropped altogether.

I think fixing this should be a blocker for removing the "beta" flag from the "disable private messages" feature. @timabbott does that sound right?

@zulipbot claim

That sgtm.

@alya there appears to be many more UI changes for orgs where PMs are disabled - WDYT about closing this issue and opening a fresh one for that more comprehensive project?  CZO discussion - if so, I'll add the TODO list and start working through it...

@asah An overall todo list was noted in this comment, but making an issue to track this project is definitely a good idea, since I just took me five minutes to find that comment even though I remembered writing it. ;)
I won't close individual issues, but I'll consolidate that comment with the CZO discussion you linked above into a meta-issue. I'll plan to do that tomorrow while it's top-of-mind, but I think it's not a blocker for working on this issue?


Retry feature

Hi Siddartha,
Please let me know what the logic is for the retry feature in the OnError method (in the com.optum.pubsub.Subscribe class).
In case if there is any failure and I want to try to consume a failed batch of the messages from the target topic...I just need some guidance.
Thanks,
Meruzha

Did you get any answer to this? I have a similar issue where I am getting an error intermittently on one of the PubSubEventObserver threads and not sure how to restart subscription on that channel only, the error I am getting is
io.grpc.StatusRuntimeException: UNAVAILABLE: RST_STREAM closed stream. HTTP/2 error code: NO_ERROR

As per PubSub documentation, If the server sends all requested events to the client, there are no more pending events to be delivered and pending_num_requested in FetchResponse is equal to zero. In this case, to keep the subscription stream open, the client must send a new FetchRequest within 60 seconds from when the last FetchResponse was sent. If the client fails to do so, the subscription stream closes and the client must call Subscribe again to open a new stream (I noticed that your retry feature replicates the same concept).
We noticed that if the execution time takes more than 60 seconds and as per documentation we open a new stream, but in fact, connection goes into stale mode and there is no error at all.
Have you ever encounter this issue (for example, you can produce at least several hundred or thousand messages using your desired topic, then set the batch size to 100, and run the client subscriber)? If so, what was a solution.
Thanks again,
Meruzhan


Update flyway-core to 7.11.4

Updates org.flywaydb:flyway-core from 7.5.4 to 7.11.4.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.flywaydb", artifactId = "flyway-core" } ]

labels: library-update, semver-minor

Superseded by #169.


MAINT: Bump six.

Coverage increased (+0.2%) to 87.736% when pulling c1975f60ddbc411b4f78a34fd19bb331b39c9551 on bump-six into f0e34f88f9f80884295f005d303d433ab504cd81 on master.


copy只支持string[]，在需要转换文件名或者目录层次上不太方便，是不是可以扩展到也支持{from:string,to:string}[]

如题

@stormslowly will provide a rfc

类似这样子，string[] 应该怎么写？
copy: [
{
from: path.join(
path.dirname(require.resolve('pdfjs-dist/package.json')),
'cmaps',
),
to: 'build/static/cmaps/',
},
],

I noticed that the current copy configuration only supports basic string arrays, which can be limiting when we need more control over file destinations. This PR enhances the copy functionality to support both basic and advanced configuration modes.
🎯 What's Changed:
• Added support for advanced copy configuration with custom target paths
• Maintained full backward compatibility with existing string[] format
• Added automatic target directory creation
📝 Example Usage:
{
  "copy": [
    "public",                           // Basic mode (backward compatible)
    {                                   // Advanced mode
      "from": "assets",
      "to": "static"
    }
  ]
}

https://github.com/umijs/mako/pull/1711

你好，这个issue有人认领吗


Authentication

As a user i need to be able to authenticate me with sepes using my Azure AD credentials.
We expect that this first version have some the beginnings of the most important not functional requirements.

Highly tested preferably with automated tests.
Have support for logging.
Have support for monitoring.
Continuous integration and continuous delivery using pipelines.

As an epic it have been turned into a milestone.


Press "/" (numeric keypad) and appear ";"

I found a bug, when you press "/" (numeric keypad) and appear ";". Tested in more than one version of Windows. Language: PT-BR.

@mateusmzw can you provide more details? - It would be interesting what version of FreeRDP you are using

Version 1.0.1 - Ubuntu 12.04
Version 1.0.2 - Ubuntu 14.04
Tested in more than one version of freerdp and windows, but the problem continues.

Hello,
I have same problem. when you press "/" (numeric keypad) and appear "-".
This problems is in all version of windows, (windows 7, windows xp, windows 8.1 and windows 2012)
Ubuntu 12.04.5 / Freerdp 1.0.1
Centos 6.5 / Freerdp version unknown
Centos 7 / Freerdp version unknown

@sinva
Only different key! xD
I thought only I suffered this bad!
@bmiklautz
It seems that the bug appear in more than one type of keyboard.

@mateusmzw this issue is already fixed for versions > 1.0.2 but those are not available on ubuntu.
But you can try a nightly build and see if it fixes your problem (https://github.com/freerdp/freerdp/wiki/PreBuilds).
For references on this issue see #811

@bmiklautz
Excuse my ignorance, but how do I install this PreBuilds?
Thanks!

@mateusmzw depends on your distribution. If you visit the link from above, click the link for your distribution you get more information on how to install..

@bmiklautz
Ubuntu 12.04
I was able to install this package as links:
-Page: https://ci.freerdp.com/job/freerdp-nightly-binaries/architecture=amd64,distribution=precise,label=pkg-deb/
-deb: https://ci.freerdp.com/job/freerdp-nightly-binaries/architecture=amd64,distribution=precise,label=pkg-deb/lastSuccessfulBuild/artifact/freerdp-nightly_1.2.1+0~20150429014832.99~1.gbpbfccc0_amd64.deb
So that the installation is in / opt / freerdp-nightly / ...
And the old version of freerdp is already installed.
I have another doubt too, as I install this new version to work with LTSP?

@mateusmzw the nightly builds are supposed to be in /opt/freerdp-nightly in order to not conflict with the distribution package. If you want to keep  the nightly you could for example remove the distributions package and create a link from /opt/freerdp-nigtly/bin/xfreerdp to your systems binary path.

@bmiklautz
Incredible! Very good tip!
I always forget the links! xD
bmiklautz, you know how to integrate this new version of freerdp the LTSP? LTSP uses a own version of freerdp and not installed on the system.
Thank you very much!

@mateusmzw sorry can't help with LTSP but maybe you ask anyone from them for help.

@bmiklautz
Thank you very much!
Continue with the great job!
freerdp is an optimal tool!
[]'s


F64/F32 min_value & max_value cause Assertion failed

Calling F32 or F64 min_value() or max_value() generate at compile time this error:
Assertion failed: ((i >= FTy->getNumParams() || FTy->getParamType(i) == Args[i]->getType()) && "Calling a function with a bad signature!"), function init, file /tmp/llvm20151028-14542-1tehvzb/llvm-3.6.2.src/lib/IR/Instructions.cpp, line 281.
Illegal instruction: 4

Thanks for the report.
I cannot reproduce this. What OS and version of ponyc are you using? That error message looks like you're using LLVM version 3.6.2, is that correct? Can you supply your Pony code that provokes this problem, in case I've misunderstood your description.

I'm on Os X:
Apple LLVM version 7.0.0 (clang-700.0.72)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

to reproduce the problem you could change this line:
https://github.com/andreaTP/kmeans/blob/pony/pony/kmeans/kmeans.pony#L17
with what is supposed to be:
    var min: F64 = F64.max_value()

and you will get the error.

Thanks, I can reproduce it now. It seems to be OS X only, which is unexpected.

This is a weird one. The good news is that it's completely reproducable, on OS X.
Unfortunately I need to get @sylvanc to look at this and he's at a conference, so it might take him a  few days.
It does seem to be OS X specific, even though none of the relevant code is platform dependent. I haven't categorically proved it's not some other reason, but it certainly doesn't seem to be the LLVM version.
We're causing an assert in LLVM code, when we try to generate the call to F64.from_bits() from within the unbox function. Relevant part of stack trace is:

LLVMBuildCall
codegen_call
make_unbox_function
make_vtable

The generated IR for F64.bits_from() looks perfectly sensible. However, I did note that a different variable number is used in the OS X generated IR than in the Windows and Linux version. This shouldn't be a problem, but it is odd that there's a difference and that implies other code within LLVM maybe different too.

What an excellent catch. I just pushed a fix. Thank you, @andreaTP !


Limit the results of the carbon query to only the current range

The carbon query will return all cached datapoints. This includes values
that are outside of your current query. When the carbonlink attempts to
put these values in the returned array, an index error gets thrown. This
causes a lot of errors that get thrown when datapoints are cached and
the requested range does not match the timestamps of the cached
datapoints.
Teach the carbon query how to limit which metrics get inserted into the
cache based on their timestamps.

Thanks!


cranelift/egraphs: Optimize instructions without results

Feature
We should allow the egraph pass to rewrite instructions which have no result values.
This resembles #5908, in that no-result instructions have side effects and that currently prevents us from optimizing them. However the implementation details are quite different.
Benefit
Our current ISLE simplify term isn't usable for this because it can only rewrite an SSA value into other SSA values, so instructions without any value results have nothing to replace.
The only rewrites which need to be in the egraph pass are those which either pattern-match on SSA values or replace SSA values. But instructions which don't produce value results can still be in both of those categories. For example, if we pattern match the condition operand to brif and find that it's a constant, we can rewrite it to an unconditional jump. Removing the unreachable edge from the CFG can then mean that some block parameter is always equivalent to another SSA value, enabling more simplification rules.
The biggest benefits only come in combination with other optimizations that we haven't written yet. Notably, we need to integrate the "remove constant phis" pass into the egraph pass before branch-folding will change any later optimization results.
Implementation
Which no-result instructions can benefit from rewriting? I claim it's the ones which have no fixed value results, but have at least one fixed value operand. They could have variable operands, variable results, or block-call parameters, but we won't touch any of those.
A rewrite pattern is always based on knowing something about the meaning of a value operand. For variable operands like the function parameters in a call, the return values in a return, or the block parameters in a jump, there isn't any generic pattern we can apply to them because we don't know what they mean. Put another way, we don't need any opcode-specific handling for instructions where all we can do is update their value operands to reflect other rewrites.
Among those instructions, we also need to exclude store instructions, because we need alias analysis to rewrite those correctly.
The current instructions which meet these criteria are:

Brif
BrTable
Trapz
Trapnz
ResumableTrapnz
CallIndirect
ReturnCallIndirect
SetPinnedReg

Conditional branches, either as block terminators or conditional traps, are definitely interesting to rewrite.

Brif can turn into Jump;
BrTable can turn into either Brif or Jump;
and Trapz/Trapnz can turn into either Trap or Nop.
Rewriting traps resembles #6080 but in this case we're already replacing a no-result instruction so the mechanism looks pretty different.

Indirect calls are interesting to rewrite if we can prove that the call target is a constant.
I don't think SetPinnedReg has any useful rewrites based on the value operand, because it doesn't have any defined meaning in CLIF. It's just however the frontend wants to use it.
Alternatives
There are some implementation choices we haven't decided on.
I'd like to do this in ISLE rules because we may want to pattern-match arbitrary subtrees of the data-flow graph. However @cfallin has argued for doing this in pure Rust until we have good reason to implement rewrite rules that are complicated enough to justify hooking up ISLE.
We might find we have several alternative instructions to choose from, like we currently do for the simplify term. We could:

Save a list of alternative instructions during the equality saturation phase, but that makes it difficult to do further optimizations based on simplifying the CFG.
Defer rewriting these instructions until elaboration when we have the cost of every operand, but then it's not just difficult but impossible to make use of CFG simplifications during equality saturation.
Compute instruction costs incrementally during equality saturation so we can pick the best option immediately and optimize the CFG based on the result. @cfallin says that's possible but had reasons for not doing it.
Require these rewrite rules to pick a single alternative based on a static cost model. This is certainly easiest and may be good enough.

Follow-on work for this would ideally update the CFG after each control-flow rewrite, including updating the post-order and dom-tree. This isn't necessary initially though.
I believe the post-order can be updated incrementally as long as edges are only removed from the CFG, never added. I think the post-order remains valid without any changes unless blocks become unreachable. If they do, removing all the unreachable blocks from the post-order while preserving the order of the remaining blocks should produce a new valid post-order.
I think that when CFG edges are only removed, a block can only move down the dom-tree. I think only the blocks which were the target of a removed edge can have their immediate dominators change. And I have a gut feeling that as long as the post-order is accurate, recomputing the immediate dominator of each block is a local operation that doesn't require re-doing the fixpoint.
I'm not especially confident about any of the above though.
Meanwhile, here are some examples of valid rewrites which are more complicated than just constant-propagation. I don't know if any of these specific patterns occur much or at all. It's just that since I can think of a bunch pretty quickly I'm inclined to guess that we will find patterns of this level of complexity in real code.
For brif, trapz, or trapnz:

when controlled by an icmp against zero, we can remove the icmp in many cases
when controlled by a bor or umax against a non-zero value, or smax against a positive value, or smin against a negative value, we can treat the condition as always non-zero

For br_table:

when controlled by a select where both the true and false cases are constants, we can replace with brif controlled by the same input as the original select
when controlled by a umin with a constant, we can make its jump-table length equal the constant, and remove the umin
when controlled by an icmp, we can replace with brif since the result of icmp is either 0 or 1
when controlled by a urem with a constant (or an equivalent band), we can truncate its jump-table
when controlled by an isub with a small constant N, we can insert N copies of the default target at the beginning of the jump-table and remove the isub
when controlled by an ishl with a constant shift N, we can remove jump-table targets which aren't a multiple of 2^N and replace the ishl with a band
when controlled by a umul with a constant and we can prove the multiply doesn't overflow, we can remove jump-table targets which aren't a multiple of the constant and remove the umul

In many of these cases we can remove pure instructions, but only because of the context in which they're used, not because they're inherently equivalent to anything else. So purely value-based equality saturation can't implement these rules.
Many of these br_table rules can produce new instructions which can match other rules. Some, like the isub rule, may not always be improvements but may expose other opportunities which are. In short, these look a lot like the sorts of cases we want equality saturation for in the first place.
Some of these examples could be subsumed by either value range analysis or known-bits analysis, but not all.


feature: automatic restoration of all previous unclosed files when a file is opened

Did you check the docs?

[X] I have read all the persistence.nvim docs

Is your feature request related to a problem? Please describe.
I'm trying to replace Notepad++ on Windows with Neovim because I love the Vim motions.
Describe the solution you'd like
I would love a plugin like yours that would allow me to open a file in a new tab (not new if the file already exist in the session), while preserving previous unclosed and even unsaved files.

Describe alternatives you've considered
I've looked at other plugins like https://github.com/rmagatti/auto-session or even plugins for Tmux like https://github.com/omerxx/tmux-sessionx but none of them reproduce the Notepad++ session behavior when a file is opened.
Additional context
Thank you for your time.

no


Can nickjr.com be supported? It is the same as nick.com which is supported

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.07.07. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.07.07

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Description of your issue, suggested solution and other information
nickjr.com is not supported but nick.com is supported.
The websites are identical but they have different content.

Duplicate of  #7542.


[IL] Send verification code

Implement the subj. service according to the spec
Basic logic

moved to ehealth


KAFKA-8448: Fix "too many kafka.log.Log instances"

This is just a duplicate of #6847.  I want to see what breaks if the mock returns null


Loot shows items that are not

sometimes it shows items in containers, but there are no items. Is this an SPT or trainer error?
The problem was also observed in previous versions
The screenshot shows that there are Nuts, but they are not in the container

Sorry, most likely this topic is a duplicate of the topic https://github.com/sailro/EscapeFromTarkov-Trainer/issues/519

I already spotted this kind of issue, but not sure yet if it's an issue on our side.
Sometimes we can find hidden objects or even badly placed loot, probably due to manipulation errors when editing maps or perhaps purposely to detect cheats/trainers.

What about a worldloot refresh?

We refresh on a regular basis, given the loot can move
https://github.com/sailro/EscapeFromTarkov-Trainer/blob/master/Features/LootItems.cs#L42

me too is this.

I'll see if I can reverse a couple of cheat binaries to see if there is something they are doing to have better loot accuracy.
Even though this will be wasted effort when it comes to the *.15 patch.
All container loot has gone server side and is only generated client side once they player opens a container. This includes bodies.

All container loot has gone server side and is only generated client side once they player opens a container. This includes bodies. From what I've been told.

Only took bsg how long to figure out that sending all this data at the start was a bad idea? Interested to see what your other findings reveal

I'll see if I can reverse a couple of cheat binaries to see if there is something they are doing to have better loot accuracy. Even though this will be wasted effort when it comes to the *.15 patch.
All container loot has gone server side and is only generated client side once they player opens a container. This includes bodies. From what I've been told.

I think this is only done for live. If I'm not wrong it is still working as expected for our 0.15 branch

I had this issue also, unfortunately for me it was showing a particularly rare and expensive key in a jacket in Labs that was just not there. I should have taken a screenshot in hindsight.
Also before you ask, I do not have looting bots or any such mod active


Remove version: CrystalDewWorld.CrystalDiskInfo.ShizukuEdition version 8.8.2

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://osdn.net/frs/redir.php?m=ipconnect&f=crystaldiskinfo%2F73507%2FCrystalDiskInfo8_8_2ShizukuUltimate.exe
Response Error: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
(Automated message - build 923)


--status FAIL flag does not seem to work on 4.3.0

Steps to Reproduce
Whenever we've updated Prowler to 4.1.0, --status FAIL flag would return us no results allowing us to parse JSON responses to see only real problems found by Prowler.
Now on 4.3.0 running prowler aws -c efs_not_publicly_accessible --no-banner -M json-ocsf --status FAIL does not returns empty JSON file for PASSED checks like before. Seems to not work.
Expected behavior
Output JSON file was expected to return empty since there is no FAILED checks on the account.
Actual Result with Screenshots or Logs

How did you install Prowler?
From brew (brew install prowler)
Environment Resource
Local workstation
OS used
MacOS
Prowler version
4.3.0
Pip version
24.1.2
Context
No response

Hello @exiett, this issue was identified earlier at https://github.com/prowler-cloud/prowler/issues/4571 and now is currently fixed. You can try it out using the master branch.
We are targeting later today or tomorrow to release a patch version.
Thanks for using Prowler 🚀


The framework 'Microsoft.AspNetCore.App', version '5.0.0' was not found.

Hi. Thank you very much for your work while we don't have an official solution for AzF out-of-process. I was trying to implement it but I getting the following issue.
Any idea why?
Thank you :)
2022-01-08T16:36:00.446 [Information] Starting JobHost
2022-01-08T16:36:00.455 [Information] Starting Host (HostId=sc-certification-background-dev, InstanceId=30f5ec25-1a17-447b-a811-1e5e72a704f5, Version=<IP_ADDRESS>, ProcessId=19, AppDomainId=1, InDebugMode=True, InDiagnosticMode=False, FunctionsExtensionVersion=~3)
2022-01-08T16:36:00.496 [Information] Loading functions metadata
2022-01-08T16:36:01.208 [Information] 5 functions loaded
2022-01-08T16:36:01.450 [Information] Generating 5 job function(s)
2022-01-08T16:36:01.782 [Information] It was not possible to find any compatible framework version
2022-01-08T16:36:01.793 [Information] The framework 'Microsoft.AspNetCore.App', version '5.0.0' was not found.
2022-01-08T16:36:01.793 [Information] - No frameworks were found.
2022-01-08T16:36:01.802 [Information] You can resolve the problem by installing the specified framework and/or SDK.
2022-01-08T16:36:01.802 [Information] The specified framework can be found at:
2022-01-08T16:36:01.804 [Information] - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=5.0.0&arch=x64&rid=debian.10-x64
2022-01-08T16:36:02.185 [Information] It was not possible to find any compatible framework version
2022-01-08T16:36:02.204 [Information] The framework 'Microsoft.AspNetCore.App', version '5.0.0' was not found.
2022-01-08T16:36:02.204 [Information] - No frameworks were found.
2022-01-08T16:36:02.204 [Information] You can resolve the problem by installing the specified framework and/or SDK.
2022-01-08T16:36:02.204 [Information] The specified framework can be found at:
2022-01-08T16:36:02.204 [Information] - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=5.0.0&arch=x64&rid=debian.10-x64
2022-01-08T16:36:02.476 [Information] Found the following functions:Host.Functions.GraphQLHost.Functions.InvoiceUpdatesEventsHost.Functions.ProcessDocumentAttributesChangeEventHost.Functions.ProcessDocumentDeleteEventHost.Functions.ZohoReturnEvent
2022-01-08T16:36:02.535 [Information] HttpOptions{"DynamicThrottlesEnabled": false,"EnableChunkedRequestBinding": false,"MaxConcurrentRequests": -1,"MaxOutstandingRequests": -1,"RoutePrefix": "api"}
2022-01-08T16:36:02.617 [Information] Initializing function HTTP routesMapped function route 'api/graphql' [get,post] to 'GraphQL'
2022-01-08T16:36:02.696 [Information] Host initialized (2162ms)
2022-01-08T16:36:08.710 [Information] Host started (8254ms)
2022-01-08T16:36:08.720 [Information] Job host started

Have you tried running the Star Wars Isolated demo project from GitHub?
If that works then you may be missing the required reference in your app to
Microsoft.AspNetCore.Http?
This reference is needed as the bridge between Hor Chocolate and the isolated process in Azure Functions (which doesn’t have the same Http Request / Context model).
Here you can see that it’s referenced in the demo project:
https://github.com/cajuncoding/GraphQL.AzureFunctionsProxy/blob/7e56da4f773ef13a3c3f30533f65bcf417b20e08/StarWars-AzureFunctions-IsolatedProcess/StarWars-AzureFunctions-IsolatedProcess.csproj#L9

Thank you for your answer.
Yeah, I can run Star Wars Isolated locally it runs without issues locally. But it doesn't run in the Linux function app, that's from where I get the log I shared above.
I didn't have the reference Microsoft.AspNetCore.Http. After I had it but continues to don't work.

I also created this issue and it seems there is an answer there. Let's see if it solves the issue.

Seems that this was resolved so closing it as it was not an issue in the AzureFunctionsProxy library.


Version 2.0 Updates

Optimize all functions for v2.0, all elements must be functioning properly and must be able to be ran with minimal hassle. The final version is coming on September 1st 2021 and after that I will be opening a new repository for my Roblox game in collaboration with some friends.

Added root.update() commands to main loop to keep window running smoothly.

Added easter eggs to the code, this version will be posted so they are easy to find here.


Feature: add rate limit middleware

Pull Request Guidelines
Our guidelines for submitting a pull request.
Before submitting a Pull Request, please make sure you have verified the following:

[x] The commit message follows our guidelines:

A good commit message should be two things: meaningful and concise. It should not contain every single detail, describing each changed line—we can see all the changes in Git—but, at the same time, it should say enough to avoid ambiguity.
We use Microverse's commit message convention
The convention stablish that a commit message has to be in the present tense, imperative and lowercase.
Example: fix typo in README.md

[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?
Currently there is no implementation for rate limit in codebase.
Issue Number: #113
What is the new behavior?
This PR adds functionality to use express-rate-limit
Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications below.
Other information
This PR is a draft feel free to give me advises regarding my code.

@rsaz can you review it upto now?
also can you tell me how to test the implementation is working or not?

@rsaz can you review it upto now?

Replied here: https://github.com/expressots/expressots/issues/113#issuecomment-1741977085

It was great everything went really smooth. If this project needs anymore hands I'll be always there. Are there parts that I can contribute to?

It was great everything went really smooth. If this project needs anymore hands I'll be always there. Are there parts that I can contribute to?

We are working on to be the go to framework when you think about developing backend apps in with nodejs+typescript. :) Will be very helpful you can ⭐ the project and share with your colleagues. 👍🏻
There is lot's of things to do, but I need to laid out the tasks as we did with the middleware mechanics.
Right now, the most important thing to get it done is all unit tests for all the core package. You can find examples here: https://github.com/expressots/expressots/tree/main/packages/core/test
Thank you for your contribution, looking forward to get new updates from you. 😄


metallb code enhancements

wrt https://github.com/ocp-power-automation/ocp4-playbooks-extras/pull/53 we will need more code improvements after the merge.

Reuse (e2e file is too long)
Use namespace as a variable
Prefix all variables with metalb_
etc.

/label kind/cleanup

/label 'kind/cleanup'

/cc @Shilpa-Gokul

/meow

/label kind/cleanup
/cc @Shilpa-Gokul

/assign @Shilpa-Gokul


Could not find or use auto-linked library

Got this error when trying to run the target with the GraphViz package
GraphViz installed with Homebrew, works perfectly as cli in terminal
The issue is with M1 Macs only.
ld: warning: Could not find or use auto-linked library 'gvc'
ld: warning: Could not find or use auto-linked library 'cgraph'
Undefined symbols for architecture arm64:
  "_agerrors", referenced from:
      GraphViz.attempt<A>(throwing: () -> A) throws -> A in GraphViz.o
  "_aglasterr", referenced from:
      static GraphViz.Error.(lastErrorMessage in _24C6592C881063ABBFDC7A6D4D4AA881).getter : Swift.String? in GraphViz.o
  "_agmemread", referenced from:
      closure #1 () -> Swift.UnsafeMutablePointer<__C.Agraph_s>? in closure #1 (Swift.UnsafePointer<Swift.Int8>) throws -> Swift.UnsafeMutablePointer<__C.Agraph_s>? in closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
  "_gvContext", referenced from:
      closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
  "_gvFreeContext", referenced from:
      $defer #1 () -> () in closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
  "_gvFreeLayout", referenced from:
      $defer #2 () -> () in closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
  "_gvFreeRenderData", referenced from:
      $defer #3 () -> () in closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
  "_gvLayout", referenced from:
      closure #1 () -> Swift.Int32 in closure #3 (Swift.UnsafePointer<Swift.Int8>) throws -> () in closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
  "_gvRenderData", referenced from:
      closure #1 () -> Swift.Int32 in closure #4 (Swift.UnsafePointer<Swift.Int8>) throws -> () in closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
  "_gvToolTred", referenced from:
      closure #2 () -> Swift.Int32 in closure #1 () throws -> Foundation.Data in closure #1 () -> () in GraphViz.Renderer.render(dot: Swift.String, to: GraphViz.Format, on: __C.OS_dispatch_queue, completion: (Swift.Result<Foundation.Data, Swift.Error>) -> ()) -> () in GraphViz.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have an Intel Mac and I have this same error.

I have an Intel Mac and I have this same error.

In my case I was missing the Xcode Command Line Tools. Ran xcode-select --install and all good.


Minor fix: Rule tf examples

Minor fixes for rule tf examples inside a string.

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


Limitation Of a Video File?

Hi Xav
Thank you so much for this wonderful application, is there any limitation of Video File , i use about 3 MB to 20 MB video file.
Also if i run locally nothing seems to be happening except the gradio interface shows the seconds running, any idea ?
Thank you
Best Regards
Dayal

I think gradio has a size limit

Hi [G-force78]
Thank you , one more last question , why is this refacer dosent work on a pc as there are no errors , is there a way to include/display the progress ?
Thank you
Best Regards
Dayal


Add a LICENSE

There is no LICENSE file in the repository. Could you please add one, so that I know what my rights and obligations are if I want to use or modify this project?

Done, it's public domain as per http://unlicense.org/


Contributing-acl.md edits

Fixes #317

Added data management
Added checks
Added FAQ questions
Rephrased venv
Removed AWS

@hao-fang I don't have the rights to merge, but all should be good!


Enable History API for npm users

Continuing our work on Likely 2.2.
This closes #94.

Got a mess in my Git, so rebuilt the commit tree and force-pushed everything.


Rename SemidefiniteModel -> SemidefiniteModels

I have registered JuliaOpt/SemidefiniteModels which should be used instead of blegat/SemidefiniteModel

Cool. Was it hard to get into JuliaOpt? In case, I can fix the bugs on Windows, we could try to register CSDP.jl on JuliaOpt, too...

I have added you to JuliaOpt, you can transfer the repo in Settings/Options/Danger Zone/Transfer ownership.

Thanks. I will transfer it, tomorrow or Monday

Transfering CSDP.jl to JuliaOpt fails with the message “You don’t have admin rights to JuliaOpt“

I have temporarily given you admin permissions to JuliaOpt.


[Feature]: APC introspection interface

🚀 The feature, motivation and pitch
we're working towards using vllm for a large-scale deployment with Automatic Prefix Caching enabled. the issue with that in our use-case we want to have the same vllm instance handle the given blocks so that APC provides any form of throughput.
to do that we need to know which blocks are in the given instance for a request, and all the currently cached blocks in the instance. (we can hash parts of a request context ourselves and map internal hash -> block id so we know when a vllm instance has the blocks for a given request).
I was thinking about exposing it via some internal function on LLMEngine that would give the block hashes for the request id and another for all block hashes, and then we can expose it on our vllm http wrapper in the response headers.
for that I've been investigating vllm source code to find possible hooks to add those functions, but haven't been successful in understanding the architecture of the APC at the required level to do this. if there's some pointers around how an implementation would look like I likely would be able to PR it.
Alternatives
No response
Additional context
No response
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

We currently do not have an API for this, but I think it is something that could be exposed quite easily. This could also be useful for sticky sessions in Kubernetes (cc @ywang96)

if vllm is in agreement, I can start working on this for a PR but as I suggested in the main post, an "implementation plan" of sorts (can be high level) would be welcomed from my part to prevent major re-architectures down the line through PR reviews.

We are looking to introduce cache-aware routing in the KubeAI project. @lun-4 Was curious what solution you landed on?

we are currently running vllm in production without any routing


BelongsToMany uses wrong query to retrieve members

I have the following classes:
<?
class User extends Moloquent
{
    protected $collection = 'users';

    public function challengesWon()
    {
        return $this->belongsToMany('Challenge', null, 'winning_users', 'challenges_won');
    }
}

class Challenge extends Moloquent
{
    protected $collection = 'challenges';

    public function winningUsers()
    {
        return $this->belongsToMany('User', null, 'challenges_won ', 'winning_users');
    }
}

When I try to do:
$challenge->winningUsers()->get();

I get 0 results. I went in and checked the queries that have been run using barryvdh's Laravel Debug Bar and I found that the query being run is this:
users.find({"challenges_won ":"53fd9e0175cde71e158b4567"},[])

The correct query to run would be this:
users.find({"challenges_won":{$in : ["53fd9e0175cde71e158b4567"]}})

did you solved this?


Introduce an Arguments AST node for function calls and class definitions

Summary
This PR adds a new Arguments AST node, which we can use for function calls and class definitions.
The Arguments node spans from the left (open) to right (close) parentheses inclusive.
In the case of classes, the Arguments is an option, to differentiate between:
# None
class C: ...

# Some, with empty vectors
class C(): ...

In this PR, we don't really leverage this change (except that a few rules get much simpler, since we don't need to lex to find the start and end ranges of the parentheses, e.g., crates/ruff/src/rules/pyupgrade/rules/lru_cache_without_parameters.rs, crates/ruff/src/rules/pyupgrade/rules/unnecessary_class_parentheses.rs).
In future PRs, this will be especially helpful for the formatter, since we can track comments enclosed on the node itself.
Test Plan
cargo test

(I am going to leverage these in the formatter in a separate change, to fix the trailing comment bug we have today.)


Static assets (HTML / JS) passthrough to S3

for documentation / HTML filers to compliment an API
In a normal AWS lambda function we have the ability to passthrough a request as a proxy to an S3 bucket. Is there anyway to configure a Zappa/Requests endpoint to passthrough to an S3 bucket and return a static file?
use case:
Zappa-defined API endpoints at /api/
/  root path serves up the API documentation  (generated via swagger) stored in a static S3 bucket-as-a-website
Is this out of scope for Zappa or a configuration challenge? I think with existing support for using S3 buckets for secrets, we can extend this to serve static files as well. This concept does violate the separation of the JSON API from the HTML /JS side but could be useful for serving documentation along with the API.
Thoughts?

This is a cool idea! I haven't thought about it, but it seems like it would be easy to define in a configuration file ex:
{
'dev': {
   's3_bucket': 'lmbda',
   'static': {
         's3_bucket': 'lmbda/static',
         'path': '/static'
    }
}

Is this what you're talking about?
If you could add that functionality, I'd gladly accept a PR.

Exactly - I think this could all be defined in the zappa configuration file. Would it be the responsibility of the dev to configure the S3 bucket appropriately or should zappa configure the bucket as a www-enabled bucket?

I think at least for the first pass it's the job of the deployer to configure the bucket to their needs, I don't think we can properly anticipate how they will want that configured.

This should actually use s3:// syntax as well, related https://github.com/Miserlou/Zappa/issues/477

+1

Hi all,
I've just been thinking about how nice it would be to have something like this, so I'm happy to see I'm not alone here.
I'm considering working on a PR for this and had a few questions for the community/@miserlou:

In the zappa_settings.json config would we want to allow the user to specify their backend endpoint explicitly?
e.g

{
'dev': {
   's3_bucket': 'lmbda',
   'static': {
         's3_bucket': 's3://lmbda/static',
         'path': '/static',
         'lambda_endpoint': '/api',
    }
}

To merge this would you expect the existing rollback functionality to also work with the frontend?

Maybe we can add this later.

In terms of functionality, on update, we'd sync the local frontend directory to the s3, removing any files that no longer exist on the local machine. Correct?
And just to double check, at least for now we might as well keep things simple and not bring cloudfront into this, correct?

I don't know much about this stuff but am drawing inspiration from the serverless-apig-s3 plugin.
Thanks for zappa!

Also, I have a gist with a little code for creating buckets, and syncing a frontend dir to it. In my code I  just make one bucket per stage dedicated to hosting the frontend. That way we can have an easy read everything policy. This might be useful for creating buckets for testing purposes, but sorry if its a distraction.


[POSTGRES DB] DB credentials

Explain the steps to get psql shell connected to 'postgres' db.
Attach your commit id here.

[ ] Added steps for psql shell to connect to 'postgres' DB.

Hi,
There is an issue with db connection and permissions for tables which will not allow you to login or use any other services in the application. Will update you after resolving those and updating the wiki.

@alakhsingh that's okay, I am just trying deployment.


Improved memoization logic

Is your feature request related to a problem?
It makes no sense to cache large values that are fast to compute. Likewise, once we need to clear memoized values to free space, we need to decide which values to remove.
Desired solution
When memoizing, also track

last access,
time to compute value,
time to perform lookup in memoization table (equality check can also be expensive),
size of value.

Then evaluate different strategies for

deciding which values to memoize at all,
which values to remove to free space.

Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response

:tada: This issue has been resolved in version 0.11.0 :tada:
The release is available on:

v0.11.0
GitHub release

Your semantic-release bot :package::rocket:


gb build: cross compile + tags leads to duplication in filename

If I do something like GOOS=windows GOARCH=386 gb build -tags lol, my final binary name is cmd-windows-386-lol-lol.exe instead of just cmd-windows-386-lol.exe (due to ctxString being added during cross-compile and buildtags being included in that).
My thoughts for fixing this would be to use Suffix() for both instead, which prepends the - appropriately, but the problem there is that it always adds both gotargetos and gotargetarch regardless of cross-compile.  Since Suffix() is only used for GB_BIN_SUFFIX in gb info (which on my machine is always GB_BIN_SUFFIX="-linux-amd64" unless cross-compiling or using tags), I'm confused about this discrepancy, since the name suggests that it's the suffix that'll be appended to the names of binaries output by gb build, and thus should be the empty string for no tags and no cross-compile, right?  If this sounds like I'm on the right track, I'm happy to resurrect those parts of #411 as appropriate, but if I'm on the wrong track then I'd really appreciate some insight into what GB_BIN_SUFFIX is useful for. :innocent:
Essentially:
diff --git a/context.go b/context.go
index feac334..0d4a766 100644
--- a/context.go
+++ b/context.go
@@ -167,7 +167,12 @@ func (c *Context) Pkgdir() string {
 // Suffix returns the suffix (if any) for binaries produced
 // by this context.
 func (c *Context) Suffix() string {
-	suffix := c.ctxString()
+	v := []string{}
+	if c.isCrossCompile() {
+		v = append(v, c.gotargetos, c.gotargetarch)
+	}
+	v = append(v, c.buildtags...)
+	suffix := strings.Join(v, "-")
 	if suffix != "" {
 		suffix = "-" + suffix
 	}
diff --git a/package.go b/package.go
index ed26ccb..b30a534 100644
--- a/package.go
+++ b/package.go
@@ -91,15 +91,7 @@ func (pkg *Package) Binfile() string {
 		target = filepath.Join(pkg.Bindir(), binname(pkg))
 	}

-	// if this is a cross compile, add ctxString
-	if pkg.isCrossCompile() {
-		target += "-" + pkg.ctxString()
-	}
-
-	// append build tags
-	if len(pkg.buildtags) > 0 {
-		target += "-" + strings.Join(pkg.buildtags, "-")
-	}
+	target += pkg.Suffix()

 	if pkg.gotargetos == "windows" {
 		target += ".exe"

(leaving ctxString alone since it's used for more things, like pkg/ subdirectory names where it's important to have gotargetos-gotargetarch regardless of cross-compile status)

To illustrate further, GOOS=windows GOARCH=386 gb build -tags 'lol omg' leads to cmd-windows-386-lol-omg-lol-omg.exe.

(I don't know if it warrants its own issue, but it's worth noting also that go build -tags 'a b' -tags c is the same as go build -tags 'a b c' or go build -tags a -tags b -tags c -- not sure if parity with how go(1) handles -tags flags is something you care about. :smile:)

Thanks for raising the issue, I thought I added a test case for that, I'll
check when I get home.
On Fri, 25 Sep 2015 13:43 Tianon Gravi<EMAIL_ADDRESS>wrote:

(I don't know if it warrants its own issue, but it's worth noting also
that go build -tags 'a b' -tags c is the same as go build -tags 'a b c'
or go build -tags a -tags b -tags c -- not sure if parity with how go(1)
handles -tags flags is something you care about. [image: :smile:])
—
Reply to this email directly or view it on GitHub
https://github.com/constabulary/gb/issues/414#issuecomment-143113807.

@tianon we use the same logic as the go tool does for parsing -tags, whatever works for go, works for gb.

@tianon as an aside ctx.Suffix only exists to let gb info print out the value.

Ok, fair enough! :+1:

(Also, I've double-checked how go(1) handles -tags and you're indeed correct -- now to go figure out in which software project I've bungled that assumption...  :confounded:)

DEBUG cd .; [/home/dfc/go/pkg/tool/linux_amd64/link -o /home/dfc/bin/gb-linux-386-lol-lol -L /tmp/gb501007969 -L /home/dfc/pkg/linux-386-lol -buildmode exe /tmp/gb501007969/github.com/constabulary/gb/cmd/gb/main.a]
DEBUG build duration: 13.331123931s map[gc:32.547943483s asm:667.540463ms pack:194.268204ms link:3.091007647s]

Confirmed, I'll have a fix asap,


Fix disabling shipping with USE_SHIPPING=False config

The requests lib encode boolean values on params with capital case, but PagSeguro service reject 'False' as value for parameter shippingAddressRequired, preveting the conclusion of checkout operations.
Fixes #67

Coverage remained the same at 60.22% when pulling 0009d8367c3f39aebde7fd827ce42602f86cb2a4 on nota11:fix-shipping-disabling into b165a6b5b2580249b1ac85b26e5a506d056b8181 on rochacbruno:master.


Code changes needed for upgrade of Pylint to latest 2.7.0

pyodata\v2\model.py:996: [R1710(inconsistent-return-statements), Schema.association] Either all return statements in a function should return an expression, or none of them should.

pyodata\v2\model.py:1026: [R1710(inconsistent-return-statements), Schema.association_set] Either all return statements in a function should return an expression, or none of them should.

fixed by #157


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


No baseUrl when calling API from RSC

Calling a test api from a RSC returns Error: Failed to parse URL from /api/test, as there is no http://localhost:3000 prefix in the fetch call from the server.
Example code in app/page.tsx:
import { getApitest } from "@/routes";

export default async function Home() {
  const x = await getApitest() // error

  return (
    <main className="">
      {x.message}
    </main>
  );
}

Example API in app/api/test/route.ts:
import { NextResponse } from "next/server";

export async function GET() {
    return NextResponse.json({ message: "Hello, World!" });
}

Generated code in routes/index.ts:
export const getApitest = makeGetRoute(
  "/api/test",
  {
    ...defaultInfo,
    ...ApitestRoute.Route
  },
  ApitestRoute.GET
);

I guess createRouteBuilder function should understand when to return the env.NEXT_PUBLIC_URL for APIs, or just always return it

Hmm. The API support is really designed to support the client side. I hadn’t thought of the server calling back to itself. Generally I find that’s not great for performance. It’s just adding overhead. Easier for the RSC and the endpoint to share the same code and make the call independently.

Sure, but despite performance drawbacks this may be intended behaviour! For example to mantain separation of concerns or other reasons... like a monorepo with backend APIs and frontend (?)

Sure, but then the routes wouldn't be local to the application if it was a BFF in the monorepo.


DiceGenetic: Handle large number of requested counterfactuals

Signed-off-by: gaugup<EMAIL_ADDRESS>

@soundarya98 can you work on this PR and allow larger CFs for dice-genetic?

BEing addressed in https://github.com/interpretml/DiCE/pull/205


Example run error

I am using docker container to install all dependencies. It looks as follows:
FROM ubuntu:latest

WORKDIR /app

RUN apt-get update -y \
    && apt-get install -y \
    git \
    make \
    cython \
    wget \
    automake \
    build-essential \
    python3-dev \
    python3-pip \
    zlib1g-dev

RUN python3 -m pip install \
    cython \
    requests

RUN git clone https://github.com/NixOS/patchelf
WORKDIR /app/patchelf
RUN ./bootstrap.sh \
    && ./configure \
    && make \
    && make check \
    && make install
WORKDIR /app/

RUN git clone https://github.com/jpuigcerver/openfst-python
WORKDIR /app/openfst-python
RUN python3 setup.py install

WORKDIR /app/

After executing example code from README:
import openfst_python as fst

f = fst.Fst()
s0 = f.add_state()
s1 = f.add_state()
s2 = f.add_state()
f.add_arc(s0, fst.Arc(1, 2, fst.Weight(f.weight_type(), 3.0), s1))
f.add_arc(s0, fst.Arc(1, 3, fst.Weight.One(f.weight_type()), s2))
f.add_arc(s1, fst.Arc(2, 1, fst.Weight(f.weight_type(), 1.0), s2))
f.set_start(s0)
f.set_final(s2, fst.Weight(f.weight_type(), 1.5))
print(f)

And I got following error:
Traceback (most recent call last):
  File "fsa.py", line 32, in <module>
    f = fst.Fst()
  File "pywrapfst.pyx", line 1617, in pywrapfst.Fst.__init__
AttributeError: 'pywrapfst.Fst' object has no attribute '_class__'

There seem to be two separate issues:

typo in OpenFst's pywrapfst (namely 'class_' instead of 'class')
outdated example (incompatible from openfst 1.7.6)

Hi Adam,
Yes. The Python interface for OpenFst has been broken at least since version 1.7.1. Last time I checked, 1.7.9 was still broken. This library uses wraps that interface, so until they fix it, there's not much I can do.
You can switch to the 1.6.9 branch and that should be fine.


How I can add Horizontal line on bar chart or box plot charts?

I want to plot horizontal line on boxplot chart just like in fiddle
http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/demo/box-plot/
Can someone please share demo code here how i can draw horizontal line.
Thanks.

Same requirement for me as well.

here is a guide on how to draw a horizontal line on line chart, I hope it can help you!
https://thenerdygirl.co/draw-horizontal-lines-angular-nvd3-chart/


Multiple media elements per stream

In the media element spec, it describes how two video elements can be kept in sync if their content is related:

A MediaController is an object that coordinates the playback of multiple media elements, for instance so that a sign-language interpreter track can be overlaid on a video track, with the two being kept in sync.

https://dev.w3.org/html5/spec-preview/media-elements.html#synchronising-multiple-media-elements
This use case actually seems comparable to #1418, where the same content is represented with different camera angles, and the user can pick between them. A user could also want to watch multiple at the same time. Thus, multiple video elements could be used to render content described by a single manifest.
To be clear, I do not personally have a requirement for this. It looks like a lot of work. It's just a thought, although my team is always exploring potential new features.

@chrisfillmore thanks for the idea!
@joeyparrish is this something we're interested in working on? I'm adding the issue to backlog for now.

Let's leave it in the backlog for now, since we don't have any partners who require this at the moment.  If someone needs something like this, we can consider it in a subsequent round of release planning.

Is anyone interested in this? If not, the issue will be closed in 7 days.


Ignore links that contain tags/images in applyToLink

Issue https://github.com/sindresorhus/refined-github/issues/4505 shorten-links feature hides markdown images which are part of a link

Thanks! Can you open a PR on Refined GitHub with a link to this PR and the original issue?

@fregante I've updated shorten-repo-url's version. Hope what I've done is correct.


Unable to send TON jetton transaction with amount more than Long max value

It's impossible to send jetton amount more than<PHONE_NUMBER>.854775807 in Ton, because of long type overflow.
TheOpenNetwork.JettonTransfer.newBuilder()
            .setTransfer(transfer)
            .setJettonAmount(value) // here is expects long value that max value lower than token amount, but needs com.google.protobuf.ByteString for example

Faced with problem for token $FISH that price is too small and huge amount is impossible to send.

We apologize for the delayed response.
Reach out to the Support page Portal to report your request and get more details by initiating a live chat with an agent through the chat button on the platform. Access the portal here: Support Portal.
@kozarezvlad
Note: Click the chat button to start a conversation with an agent for assistance.

@kozarezvlad
Can you provide me to jetton transaction demo ?

Hi @kozarezvlad, thanks for opening the issue. I'll take a look at this most likely at the beginning of the next year


Make Traverson work with MockMvc

When wiring a MockMvc test environment, Traverson seems unable to plan along given it is trying to connect to a REAL resource.
Traverson is good for testing since it is built to understand hypermedia. The current options are to NOT user Traverson and instead do the hypermedia handling with existing tools, or to run a full blow Spring Boot embedded container to get the benefits.

Wrong repository


Continuous warnings generated if using latest version of PyTorch

The following warning is generated if run using the latest version of PyTorch:
UserWarning: indexing with dtype torch.uint8 is now deprecated, please use a dtype torch.bool instead.
To fix, update the following line in dqn_basic.py:
done_mask = torch.ByteTensor(dones).to(device)
to:
done_mask = torch.BoolTensor(dones).to(device)

Hi!
It was raised couple of times: this repo was tested with pytorch 0.4 and won't be updated for latests pytorch versions, because it will require lots of testing to make sure everything is working. So, you have those options:

install pytorch 0.4 and dependencies
check examples from the second edition of the book (which has updated examples for pytorch 1.3): https://github.com/PacktPublishing/Deep-Reinforcement-Learning-Hands-On-Second-Edition

Wbr, Max


Serverpod Membership without user authentication

I want to perform membership without user authentication, but I could not find such a setting.

Hey @hidayet-poscu 👋
Could you elaborate a bit on the feature? I'm not sure I fully understand the request here.

I set up something like this as a way to manually make API calls, separate from the users created in my app. Here's how to create a user, and manually sign in from your own code:
Future<void> createTestUser(Serverpod pod) async {
  Session session = InternalSession(server: pod.server);

  // Create user
  final emailAddr = '<redacted>';
  final password = '<redacted>';

  final userInfo =
      await auth.Emails.createUser(session, 'Test user', emailAddr, password);

  if (userInfo?.id == null) {
    throw 'Failed to create test user';
  }

  // Try logging in as user
  await auth.UserAuthentication.signInUser(session, userInfo!.id!, 'server');
  assert(await session.authenticated != null);

  await session.close();
}

Hey@hidayet-poscu👋
Özellik hakkında biraz daha ayrıntı verebilir misiniz? Buradaki isteği tam olarak anladığımdan emin değilim.

want to use the user registration and login panel you have prepared. My user base cannot verify their accounts with a code sent via email. Therefore, I want the registration to be completed without the verification code step when using the API.

Future createTestUser(Session session, async {
I changed it and created the endpoint. It worked. The topic is closed.
Thank you [lukehutch]


socialize.us1.gigya.com

Hi, you are blocking the following domains:
socialize.us1.gigya.com
These domains break logging into iRobot app on Android, and starting iRoomba vacuum from Google Home

As mentioned in a previous issue (https://github.com/hectorm/hblock/issues/33#issuecomment-578492913), I don't maintain a public whitelist.
This domain is listed in lightswitch05's hosts and in this case I'm not so sure that this domain should be removed but if you consider that it's a mistake you should contact the author.

No problem
Just reporting it in case you wish to remove from blacklist.
I contacted the author too.


Bluetooth: Mesh: Fix unable send mesh message when proxy adv pending

When Proxy advertising or PB-GATT Advertising Enabled and use a same
advertising sets.
As adv_start will call multi HCI Command will cause syswork_q yield.
At same time, if another thread(BT RX) call schedule_send will cause
unable send mesh message, because ADV_FLAG_ACTIVE was be set, but
ADV_FLAG_PROXY not set currentlly.
Add ADV_FLAG_SCHEDULE_PENDING indicate mesh buf has been pendings but not
scheduled, so when proxy advertising enable, let's take again, as we can't
break or terminated adv_start, so we must waiting proxy advertising enabled.
Signed-off-by: Lingao Meng<EMAIL_ADDRESS>

@trond-snekvik This problem is introduced in this PR(https://github.com/zephyrproject-rtos/zephyr/pull/30005). Is it necessary to back port.


fix marshmallow-enum bug

TL;DR
Installing flytekit==1.8.0 in a fresh environment gives a module not found error
Type

[X] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[X] Code completed
[X] Smoke tested
[X] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
Error:
"/home/runner/work/flytekit/flytekit/flytekit/core/type_engine.py", line 24, in <module>
2023-07-17T19:54:05.3909379Z     from marshmallow_enum import EnumField, LoadDumpOptions
2023-07-17T19:54:05.3909825Z ModuleNotFoundError: No module named 'marshmallow_enum'

Tracking Issue
NA
Follow-up issue
NA

@eapolinario Do you remember what needs to be done to remove the dataclasses-json upper bound introduced in d64f35b034ac728dbb27febcad017e1f9685ff5f?
It looks like 0.5.12 has been fixed and newer releases of dataclasses-json would allow proper type definitions:
https://github.com/lidatong/dataclasses-json/issues/433
If it was just issues with 0.5.12 I can prepare a PR to remove the upper bound but forbid this specific version.

If it was just issues with 0.5.12 I can prepare a PR to remove the upper bound but forbid this specific version.

@fellhorn yes, please do it, thanks

If it was just issues with 0.5.12 I can prepare a PR to remove the upper bound but forbid this specific version.

@fellhorn yes, please do it, thanks

It seems to go deeper and there is an issue with marshmallow-jsonschema effectively being unmaintained:
https://github.com/flyteorg/flyte/issues/3873#issuecomment-2009809523


[BUG] Zombie longhorn-engine processes - I/O errors

Describe the bug
I have a fair amount of zombie processes related to longhorn-engine referencing specific volumes on my nodes. Some of these zombie processes reference volumes that apparently work fine while a fair number reference volumes that appear to be attached to pods but are not actually accessible (I/O error).
To Reproduce
Steps to reproduce the behavior:
Not exactly sure. We just claim PVs and use them. No big loads or anything. Then logon on to our nodes and be greeted with zombie process notice by Ubuntu.
Expected behavior
No zombie processes, Longhorn volumes available all the time.
Log
If applicable, add the Longhorn managers' log when the issue happens.
You can also attach a Support Bundle here. You can generate a Support Bundle using the link at the footer of the Longhorn UI.
Environment:

Longhorn version: longhornio/longhorn-engine:v1.0.0
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: RKE (Rancher-launched) 1.17.5
Node config

OS type and version: Ubuntu 18.04.4 LTS
CPU per node: 4
Memory per node: 16 GB
Disk type(e.g. SSD/NVMe): SSD Storage
Network bandwidth and latency between the nodes: 10 Gbit/s (VMware internal network)

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): VMware

Additional context
root@emea-k8s-a09p:~# ps axo ppid,pid,comm | grep -w defunct
6839  6855 sleep
6839  6937 sleep
15657 15670 sleep
15657 15713 sleep
root@emea-k8s-a09p:~# ps aux | grep '6839|15657'
root      6839  0.2  0.1 1155488 21476 ?       Sl   Dec18  42:14 /engine-binaries/longhornio-longhorn-engine-v1.0.0/longhorn controller pvc-8842e852-db57-4511-b97c-acfcaa2e4fa3 --frontend tgt-blockdev --replica tcp://<IP_ADDRESS>:10015 --replica tcp://<IP_ADDRESS>:10000 --replica tcp://<IP_ADDRESS>:10000 --listen <IP_ADDRESS>:10000
root     15657  0.2  0.1 1229220 20868 ?       Sl   Dec18  41:46 /engine-binaries/longhornio-longhorn-engine-v1.0.0/longhorn controller pvc-6fd66659-18ca-41b5-a1b3-20aedc50ff2f --frontend tgt-blockdev --replica tcp://<IP_ADDRESS>:10000 --replica tcp://<IP_ADDRESS>:10015 --replica tcp://<IP_ADDRESS>:10030 --listen <IP_ADDRESS>:10001
The referenced volumes "pvc-8842e852-db57-4511-b97c-acfcaa2e4fa3" and "pvc-6fd66659-18ca-41b5-a1b3-20aedc50ff2f" are in use by the pods "gitlab/minio-7f64c4cb66-8k29k" and "apps/logstash-7b5fcc5d56-5sjgn" respectively.
$ kubectl -n gitlab exec -it minio-7f64c4cb66-8k29k -- /bin/sh
/ $ df -h | grep longhorn -A1
/dev/longhorn/pvc-8842e852-db57-4511-b97c-acfcaa2e4fa3
24.5G      2.5G     22.0G  10% /export
/ $ ls /export/
/ $ touch /export/test
touch: /export/test: I/O error
/ $ command terminated with exit code 1
This issue does not affect all volumes referenced by PPIDs of my "sleep" Zombies but a fair few in multiple clusters.
Longhorn WebUI reports everything as fine and dandy.

Typically i/o error is not related to the zombie processes. Instead, the most common cause is that the related volume is not remounted after the related engine gets crashed. In this case, you need to delete and relaunch the related pod to recover the i/o. If the workload pod is managed by a controller, e.g. Deployment or StatefulSet, you can enable the setting Automatically Delete Workload Pod when The Volume Is Detached Unexpectedly to delete the pod automatically.
As for the zombie process, we will check and try to reproduce it later. Actually, we had fixed a zombie-process related issue previously: https://github.com/longhorn/longhorn/issues/941

Typically i/o error is not related to the zombie processes. Instead, the most common cause is that the related volume is not remounted after the related engine gets crashed. In this case, you need to delete and relaunch the related pod to recover the i/o. If the workload pod is managed by a controller, e.g. Deployment or StatefulSet, you can enable the setting Automatically Delete Workload Pod when The Volume Is Detached Unexpectedly to delete the pod automatically.
As for the zombie process, we will check and try to reproduce it later. Actually, we had fixed a zombie-process related issue previously: https://github.com/longhorn/longhorn/issues/941

Hhhm, will the StateFulSet actually notice that the volume is detached? Because on the face of it it doesn't seem like it.

Hhhm, will the StateFulSet actually notice that the volume is detached? Because on the face of it it doesn't seem like it.

Longhorn will automatically re-attach the volume if it is detached/crashed unexpectedly. But Longhorn may be not able to do remount after the reattachment/recovery. As a result, the mount point of the reattached volume is still unavailable. There should be some related logs in the longhorn manager pod or related event, which indicate that some volume engine died unexpectedly

Longhorn will automatically re-attach the volume if it is detached/crashed unexpectedly. But Longhorn may be not able to do remount after the reattachment/recovery. As a result, the mount point of the reattached volume is still unavailable. There should be some related logs in the longhorn manager pod or related event, which indicate that some volume engine died unexpectedly

Closing this issue due to lack of activity. Feel free to reopen the issue or file a new issue if you still have issues.


Rename?

Should we rename this to apertium-android-keyboard in case we make apertium-ios-keyboard?

I don't think it's necessary. I don't think we'll be able to make an iOS keyboard because of Apple requirements. In any case I would then just have two targets within here and control them with configure flags.


How to return a Dictionary?

I tried following code to return a Dictionary, but failed with error
main.go
package main

import (
	"grow.graphics/gd"
	"grow.graphics/gd/gdextension"
)

type Test struct {
	gd.Class[Test, gd.Object]
}

func (t *Test) GetDic(context gd.Context) gd.Dictionary {
	dic := context.Dictionary()
	dic.SetIndex(context.Variant(context.String("test")), context.Variant(int64(123)))

	return dic
}

func main() {
	godot, ok := gdextension.Link()
	if !ok {
		return
	}

	gd.Register[Test](godot)
}

main.gd
extends Node

func _ready() -> void:
	var test = Test.new()
	print(test.GetDic())

Error
Godot Engine v4.2.2.stable.official.15073afe3 - https://godotengine.org
Vulkan API 1.2.231 - Forward+ - Using Vulkan Device #0: Apple - Apple M1 Max

panic: runtime.link/mmm error: use after free

goroutine 17 [running, locked to thread]:
grow.graphics/gd/gdextension.method_call(0x14000671e28?, 0x3, 0x16b75dc00, 0x0, 0x16b75dad0, 0x16b75da80)
        /Users/allen/go/pkg/mod/grow.graphics/gd@v0.0.0-20240528100949-2dbd7a49f357/gdextension/gdextension_interface.go:2567 +0x294
signal: abort trap

Thank you very much for reporting! I've fixed this issue and tested your example (which is working now) all reference types should correctly (and safely) transfer ownership back to Godot when returned from methods.
If you find that the project continues to meet your needs, please consider financially supporting us, even a small amount helps!

@Splizard Thx! it works well now!