[Bug]: Deployment hangs after loading project from: /opt/shuttle/shuttle-executables/{GUID} if there is an already-running deployment

What happened?
Previously, it was reasonably safe to deploy even if there was an already-completed and happily running deployment. Shuttle would build the project, quietly take down the existing deployment, and then start up the new one. As of 0.14 in most cases this now hangs and does not work. I think it was happening a little in 0.13 but it's much more common now.
When this happens, Shuttle will simply hang. From this state the only way out is to Ctrl+C.
At this point the project state is busted, running cargo shuttle project list will show the state of the project as errored with the message project did not become healthy in time. Listing deployments doesn't work. The project has to be restarted via cargo shuttle project restart.
At this point, if you run cargo shuttle deployment list you'll see the first deployment (not the one that stalled, that one's listed as stopped, or sometimes crashed) still running... despite the log (see below) stating that it successfully stopped.
From here, if you try to deploy again, you get right back to the stuck state. You must run cargo shuttle stop until the deployment is brought down. This can take a few tries (some folks are getting 404s trying this, which seems to be a different, intermittent issue) but eventually should work. From there it's again safe to deploy once more.
Seems like shuttle is getting a positive response as to the prior deployment stopping when it doesn't actually stop, but I don't know why.
Version
v0.14.0
Which operating systems are you seeing the problem on?
Windows
Which CPU architectures are you seeing the problem on?
x86_64
Relevant log output
2023-04-15T00:55:25.050358898Z TRACE shuttle_deployer::runtime_manager: making new client
2023-04-15T00:55:25.054553079Z DEBUG shuttle_deployer::runtime_manager: Starting alpha runtime at: /opt/shuttle/shuttle-executables/ca8afdf9-43ae-44f3-b044-fc8613b5acdd
2023-04-15T00:55:27.057863772Z  INFO shuttle_proto::runtime: connecting runtime client
2023-04-15T00:55:27.057935003Z DEBUG hyper::client::connect::http: connecting to <IP_ADDRESS>:20788
2023-04-15T00:55:27.060551348Z DEBUG hyper::client::connect::http: connected to <IP_ADDRESS>:20788
2023-04-15T00:55:27.062842346Z DEBUG {service.ready=true} tower::buffer::worker: processing request
2023-04-15T01:02:24.444196002Z TRACE {response="Response { metadata: MetadataMap { headers: {\"content-type\": \"application/grpc\", \"date\": \"Sat, 15 Apr 2023 05:02:24 GMT\", \"grpc-status\": \"0\"} }, message: StopResponse { success: true }, extensions: Extensions }"} shuttle_deployer::runtime_manager: stop deployment response
2023-04-15T00:55:27.065435878Z  INFO shuttle_deployer::deployment::run: loading project from: /opt/shuttle/shuttle-executables/ca8afdf9-43ae-44f3-b044-fc8613b5acdd

Duplicate declaration

[X] I have searched the issues and there are none like this.

I'm unsure if it's relevant, but the code I'm running is here if you need to look into what it's doing, dependencies, etc.: https://github.com/vexx32/thread-tracker

Hey @vexx32, thanks for this report! I tried to reproduce this now but I couldn't with a simple example. I tried by deploying the axum hello-world example several times when it was already running, and I also tried making changes to the example, as well as running with and without --no-test. It may be that the type of the project has something to do with it, for example if databases are used. :thinking:  I'll take a look at your repo as well.

@oddgrd I had a successful redeploy today for the first time in a bit, but I redeployed it shortly after that again and hit this issue once again. 🤔 It's not perfectly consistent but it's consistent enough to be a bit of a hassle 😅

It should be zero hassle, so we definitely need to figure this one out :sweat_smile: It would be great to narrow it down to a minimal reproducible example though, since a simple axum hello-world project does not trigger it.

I'm wondering if it might have to do with me running periodic background tasks or something 🤔 the implementation of that in my project is fairly naive I would say, and it does use the database connection and Discord connections, so I wonder if keeping those sessions around causes Problems(tm)...

i'm experiencing something similar, although not sure if it's the same - i haven't been able to deploy successfully.  each time i try, the deploy hangs at that same spot, although not due to previous deployments, since i got in the habit of running cargo shuttle project restart && cargo shuttle deploy
here's the repo i'm trying to deploy - https://github.com/DrewMcArthur/axum-webserver-example/
it does run successfully locally via cargo shuttle run.  last deployment has been stuck there for around 8 hours.
imo, the first issue that should be fixed is to make sure that any errors underneath make it into these logs, so that i can see where it's getting stuck. as far as i can tell, it's happening here - https://github.com/shuttle-hq/shuttle/blob/c334a1c08cf82bc998ea6413edbbd3b969566373/deployer/src/deployment/run.rs#L337
let me know how i should proceed and how i could help debug!

today's update:  i cloned the repo & got stuff up and running locally following the contributing docs.
I tried to make changes to the logs around the line i linked in my last comments, but i couldn't figure out how to use the new code for the deployer.
either way, i did find these logs in the docker container running the deployer, in case those are helpful to anyone else trying to figure this out (this handful of lines repeats, seems like the client is polling for project status):
2023-07-16 22:29:07 2023-07-17T04:29:07.690984Z DEBUG hyper::client::connect::dns: resolving host="otel-collector"
2023-07-16 22:29:07 2023-07-17T04:29:07.698154Z DEBUG tonic::transport::service::reconnect: reconnect::poll_ready: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" }))
2023-07-16 22:29:07 2023-07-17T04:29:07.698200Z DEBUG tower::buffer::worker: service.ready=true processing request
2023-07-16 22:29:07 2023-07-17T04:29:07.698242Z DEBUG tonic::transport::service::reconnect: error: error trying to connect: dns error: failed to lookup address information: Name or service not known
2023-07-16 22:29:07 OpenTelemetry trace error occurred. Exporter otlp encountered the following error(s): the grpc server returns error (The service is currently unavailable): , detailed error message: error trying to connect: dns error: failed to lookup address information: Name or service not known
2023-07-16 22:29:56 2023-07-17T04:29:56.322199Z DEBUG hyper::proto::h1::io: parsed 1 headers
2023-07-16 22:29:56 2023-07-17T04:29:56.322234Z DEBUG hyper::proto::h1::conn: incoming body is empty
2023-07-16 22:29:56 2023-07-17T04:29:56.322541Z DEBUG request{http.uri=/projects/v3/status http.method=GET request.path="/projects/:project_name/status" account.name=""}: tower_http::trace::on_request: started processing request
2023-07-16 22:29:56 2023-07-17T04:29:56.322671Z DEBUG request{http.uri=/projects/v3/status http.method=GET request.path="/projects/:project_name/status" account.name="" request.params.project_name="v3" http.status_code=200}: shuttle_common::backends::metrics: finished processing request latency=244625 ns
2023-07-16 22:29:56 2023-07-17T04:29:56.322837Z DEBUG hyper::proto::h1::io: flushed 118 bytes

also, here's a link to my help thread on discord

For context: In Drew's case, it was determined that this was caused by Tera when is did not find the templates folder. https://discord.com/channels/803236282088161321/1129993029596479568/1130808129232318505

Closing due to being solved on the shuttle.dev platform.


Fix trying to open a file in an invalid path

Fixed throwing an exception when trying to open a file in an invalid directory path, then exit with an error code.

This looks great, thanks for the help!


ClassCastException

Hi,
We're tried all precautions but seems to still get these classCastExceptions but not that frequently now.
Redis - 2.4.2
jedis - 2.0.0

using jedisPool
made sure all returnBrokenResource(jedis) is called during exceptions
final block returnResource(jedis);
set JedisPoolConfig.testOnBorrow=true

Any other suggestions to stop this broken/invalid connection issue

@igaidai4uk Though the issue has been closed for a long time, I encountered the same problem with the same caution, using JedisPool (SedisPool using scala). Could you share your specific code and how you fix it? We are bothered by the issue for months, it is like a ghost with random occurrences.

@lucas-opentown in my case I had non thread safe code. I defined a variable outside the synchronized block as far as I remember.


Add support for Literal annotation

Change Summary
Properly handle attributes annotated with typing_extensions.Literal

If you like this, let me know and I'll add documentation and finish the other bullets in the checklist. I'd also be happy to try implementing a workaround to eliminate the typing_extensions dependency (given some guidance about the desired outcome). I could also look into how to better integrate with the schema.
If you don't like this (e.g., because you think my implementation is awkward, or because you think this feature is just premature while Literal remains in typing_extensions rather than typing), no worries -- I'll just close the pull request and maybe come back to it at a later date. But the implementation seemed simple enough that I felt like it was worth sharing.
Related issue number
#561
Checklist

[x] Unit tests for the changes exist
[ ] Tests pass on CI and coverage remains at 100%
[ ] Documentation reflects the changes where applicable
[ ] HISTORY.rst has been updated

if this is the first change since a release, please add a new section
include the issue number or this pull request number #<number>
include your github username @<whomever>

@samuelcolvin thanks for merging this, I'll add docs shortly

great thanks, somehow forgot about that.

Great job all!


Export assets fails after shuffle

Went through the entire youtube tutorial and when I run bin/console nft:export-assets the following error spits out:

I have no idea how to solve this or what the error could be from. Everything else worked up until this point.

Found the issue, asset upload via FTP must have been interrupted as files were missing. Be sure to check everything uploaded correctly if you get this error.


Colab kernal crashes while running face_recognition_svm.py from examples

face_recognition version: 1.2.3
Python version: 3.6
Operating System: Colab Notebook

Description
I was trying face_recognition_svm.py from examples directory on Google Colab and the kernal kept on crashing every single time while running Loop through each person in the training directory
I'm having 500 images each for 2 different person in the train_dir and the code works fine for a while but crashes later on.
Here is the log-

Sep 2, 2019, 10:02:59 AM
WARNING
WARNING:root:kernel 77e1cec2-3ae9-47e1-a0e6-cf546190f5d8 restarted

Sep 2, 2019, 10:02:59 AM
INFO
KernelRestarter: restarting kernel (1/5), keep random ports

Sep 2, 2019, 10:02:57 AM
WARNING
warn("IPython.utils.traitlets has moved to a top-level traitlets package.")

Sep 2, 2019, 10:02:57 AM
WARNING
/usr/local/lib/python3.6/dist-packages/IPython/utils/traitlets.py:5:  UserWarning: IPython.utils.traitlets has moved to a top-level traitlets  package.

Sep 2, 2019, 9:54:17 AM
INFO
Adapting to protocol v5.1 for kernel 77e1cec2-3ae9-47e1-a0e6-cf546190f5d8

Sep 2, 2019, 9:54:14 AM
INFO
Kernel started: 77e1cec2-3ae9-47e1-a0e6-cf546190f5d8

Sep 2, 2019, 9:53:39 AM
INFO
Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

Sep 2, 2019, 9:53:39 AM
INFO
http://<IP_ADDRESS>:9000/

Sep 2, 2019, 9:53:39 AM
INFO
The Jupyter Notebook is running at:

Sep 2, 2019, 9:53:39 AM
INFO
0 active kernels

What I Did
for person in train_dir:
    pix = os.listdir("/content/drive/My Drive/ColabFolders/Face_reco/train/" + person)

    # Loop through each training image for the current person
    for person_img in pix:
        # Get the face encodings for the face in each image file
        face = face_recognition.load_image_file("/content/drive/My Drive/ColabFolders/Face_reco/train/" + person + "/" + person_img)
        face_bounding_boxes = face_recognition.face_locations(face)

        #If training image contains none or more than faces, print an error message and exit
        if len(face_bounding_boxes) != 1:
            print(person + "/" + person_img + " contains none or more than one faces and can't be used for training.")
            exit()
        else:
            face_enc = face_recognition.face_encodings(face)[0]
            # Add face encoding for current image with corresponding label (name) to the training data
            encodings.append(face_enc)
            names.append(person)

output-
hrishi/hrishi-130.jpg contains none or more than one faces and can't be used for training.
hrishi/hrishi-134.jpg contains none or more than one faces and can't be used for training.
hrishi/hrishi-135.jpg contains none or more than one faces and can't be used for training.
hrishi/hrishi-136.jpg contains none or more than one faces and can't be used for training.
hrishi/hrishi-131.jpg contains none or more than one faces and can't be used for training.
hrishi/hrishi-350.jpg contains none or more than one faces and can't be used for training.
hrishi/hrishi-39.jpg contains none or more than one faces and can't be used for training.
shivam/shivam-108.jpg contains none or more than one faces and can't be used for training.
shivam/shivam-104.jpg contains none or more than one faces and can't be used for training.
shivam/shivam-73.jpg contains none or more than one faces and can't be used for training.
shivam/shivam-78.jpg contains none or more than one faces and can't be used for training.

I think it crashes because "exit()" should be "sys.exit()".
I've updated the svm example to skip a training image if it contains none or more than a face.


Create a template for stories email

Create an new email template for the stories email

Do we have any specific text/layout for the? email

@RobStallion What are you sending out right now?

@iteles it currently looks like this
Hi admin!

You've just received a message from: username useremail

The following was written: test

If we can differentiate between the stories and the other contact form I would suggest:
Subject: A BestEvidence story has just been submitted

Hi admin

A story has just been submitted by 'username useremail'

Story title: 'story title'

The following was written:
'text starting on next line'

Note: the text should reflect line breaks!


Inference Code

Thanks for your great work! Could you provide the predict code?

thanks for focusing our work, you can refer this code.

Thanks, your code is very useful!

------------------ Original ------------------
From: @.>;
Date:  Fri, Jun 28, 2024 06:29 PM
To: @.>;
Cc: @.>; @.>;
Subject:  Re: [FengheTan9/CMU-Net] Inference Code (Issue #6)

thanks for focusing our work, you can refer this code.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Feature request: optional visitable metadata

I'm using visit_struct to declare structs with parameters and automatically link specific option values to GUI widgets. It works great for simple cases.
However, more often than not I would like to define additional metadata where I specify the options in the struct. For example for numeric options, I would like to specify a range with minimum and maximum acceptable value, such that a slider with the correct limits can be created in the GUI.
I'm currently working around this by using some custom types for the struct member variables, e.g.
template <class T>
struct ranged {
  using ValueType = T;
  T val {0};
  const T min {0};
  const T max {100};
};

struct Foo {

    BEGIN_VISITABLES(Foo);

    VISITABLE_INIT(bool, foo, true);
    VISITABLE_DIRECT_INIT(ranged<double>, bar, {0.5, 0, 1});
    END_VISITABLES;

};

However this is a bit awkward, as a I have to access the actual value always via the val member.
Foo foo;
foo.bar.val = 0.1;

Would it be possible to extend visit_struct to allow declaring additional (typed) meta-data for every member in such a way, that it is transparent (i.e. foo.bar refers to the actual value, not some enclosing struct containing also the metadata), and it is (optionally) accessible during visitation.
I guess for my use-cases I so far only need constant meta-data.
I'm mostly interested in the intrusive syntax, since I want to define "all in one place", but one might also consider adding metadata to existing structs with a non-intrusive syntax.

i will think about this, sorry i didn't respond already

No worries.
In the meantime I am using a customized solution specific to my application. As it stands it's not very general, but I'm quite happy with it.
Just for some inspiration, the syntax looks something like this:
struct FooOptions : public VisitableOptions<FooOptions> {

  VISITABLE_OPTIONS_DEFAULT_META(readonly());

  BEGIN_VISITABLES(FooOptions);

  VISITABLE_META(int, bar, init(3).range(1, 100).help("foos the bar"));
  VISITABLE_META(BazEnum, baz, init(BazEnum::Baz1));
  VISITABLE_META(double, quux, init(1e2).range(1e-10, 1e10).logscale());
  VISITABLE_META_DEFAULT(std::string, quax));
  VISITABLE_META(QuuzFlags, quuz_flags, init(QuuzFlag::Quuz23 | QuuzFlag::Quuz42));
  VISITABLE_META(bool, corge, init(false).readonly(false));
  VISITABLE_META(std::vector<int>, grault, init({42, 23, 7}).readonly(false));

  END_VISITABLES;
}


Added Ginger.io to apps using this library

Simple change to the documentation file apps_using_this_library.md

Thanks @azinman !


support CMK rotation

feature description:
Change the key regularly at specified time intervals, with the interval unit measured in days.
background
key rotation is implemented in most KMS systems, it use for

minimize the risks of key leaks and misuse.
meet regulatory and standard requirements, and prevent security incidents.
improve the reliability and flexibility of user data.

Thanks for your suggestion.
Key rotation was partially implemented in PR240.
Due to resource limitation, it's not fully implemented and verified yet.
We have put it in todo list and will prioritize required features recently.
Thanks you, @nntp4.

Thanks for your suggestion. Key rotation was partially implemented in PR240. Due to resource limitation, it's not fully implemented and verified yet. We have put it in todo list and will prioritize required features recently. Thanks you, @nntp4.

Thanks for your reply， I got it.


fix(analytics): isEnabled call on page, add debug log

Description
Made this consistent with other methods (track / identify)
Other changes
N/A
Tested
Running locally
How others should test
N/A
Related issues
N/A
Backwards compatibility
N/A

Hey @MuckT since NA is mentioned in how other should test section ,we are skipping this PR
CC: @satish-ravi
Thanks.!


dalekjs and phantomjs not actively maintained

Firstly thanks for your list, it really help.

as dalekjs readme it say no longer maintained and now it pointing to testCafe web testCafe repo.

testCafe mainly use typescript

Sadly phantom seems will not in active state as maintainer Announcement.

Before make a PR i like to ask, in my opinion it's good to have an additional info on the list. The main usage of the headlessbrowser. AFAIK the dalekjs and testCafe used to the web page, and the phantomjs have more wide usage.
I need the any opinion on this, hopefully we can restructure the list to have an additional info. :smile:

Sad to see PhantomJS go unmaintained, but I see the point and I also see a lot of people already moving on to headless Chrome based solutions, so I'm not surprised. We do not want to remove these items from the list, adding an "unmaintained" label will be the best solution for now.

Unmaintained label was added to PhantomJS

It may be worth linking google groups announcement at the "Unmaintained" tag, since it's not clear from the PhantomJS  website or repo that it's actually not under active development anymore

Thanks for the suggestion @rococode!

@dhamaniasad There is currently a developer maintaining PhantomJS. He's made a lot of fixes over the past month.

@hamza765 Interesting. I'll merge the PR marking it as maintained again if you open one.


fix format parameter

digits = 0 is no longer supported in R version 4.*. Use interger, explicit nsmall.
bug ever reported in same context https://github.com/umr1283/rain/pull/3/commits

Everything fixed in fb9515edf987990a891cf7792ec2aae3efed737a


Jaccard py

Adds jaccard similarity to theta sketch offerings in python

Pull Request Test Coverage Report for Build 560604512

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.347%

Totals

Change from base Build 556164680:
0.0%

Covered Lines:
4473

Relevant Lines:
4741

💛  - Coveralls

Somehow this got mixed with REQ wrapper.

Apparently I didn't jump back to a clean copy when i did this.. Closing and will do it cleanly.


Icon request: Derpibooru

URL for the brand / site / app
https://www.derpibooru.org/ (kinda NSFW)
Logo resources for the icon
https://www.derpibooru.org/images/1330297 (clicking the download button will give you the svg file))
Proof of the Aegis-compatible 2FA

Anything else?
No response
Confirmation

[X] I have read and followed the issue guidelines & issue form.

Proof of the Aegis-compatible 2FA

Proof is not good enough, as stated on the issue form:

Note – Documentation link or screenshot should clearly mention that 2FA is "TOTP" / "OTP" or any TOTP 2FA app (eg. Google Authenticator, Microsoft Authenticator etc.) or show section of the 2FA setup page with (censored) TOTP 2FA QR code image. Otherwise we cannot be sure if 2FA actually is compatible for Aegis.

Please provide screenshot of the 2FA area that resolves this issue.

oh i see, i couldn't find the documentation so ill provide the censored qr code and secret key

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/icons/1_Primary/Derpibooru.svg

:question: How to add icon(s) to Aegis?
:star: Support this project by giving a star! Just adding like to this comment is also appreciated.


Fix issues that occured when running ppafm-generate-elff with tip's density

fixes #312
blocked by this.

I think I see where the segfault is coming from. The first two commands use the --energy option which sets the pointer for the energy array on the C++ side. The third command (dftd3) does not have the option, but the pointer still remains even though it might not be valid anymore. A stopgap fix is to simply add the --energy option also to the dftd3 command.

For the -E argument issue, change this line : https://github.com/Probe-Particle/ppafm/blob/12a90344f703da0278abe39bf067a81fafb95b70/ppafm/common.py#L323
into this:
import copy
arg_dict = copy.deepcopy(self.cli_args[name])

I think I see where the segfault is coming from. The first two commands use the --energy option which sets the pointer for the energy array on the C++ side. The third command (dftd3) does not have the option, but the pointer still remains even though it might not be valid anymore. A stopgap fix is to simply add the --energy option also to the dftd3 command.

It's working! 👍


control box

Hi,
Many thanks for your kindly support,
I need to ask you if possible to control the enigma2 box like reboot ? and send full scan command and configure the tuners ?
Best Regards

Hi,
There is no such possibility at the moment. But it is planned to improve the capabilities of the HTTP-API and add a pop-up panel with a certain set of buttons (similar to the remote control) and more advanced information than in the status bar. I think a prototype of this feature will be already available in the next version.
Best


New geocoder metrics

Closes #6286
This PR add the new geocoder metrics system that now can works in paralell with the old one.
With this new metrics system we store all the geocoding operations into Redis. The purpose of this is:

Have better metrics for all the services, in this case geocoding but could be easily extended to routing or whatever service we have
Metrics are stored in Redis to be shared with the Geocoder SQL API

// @rafatower check this out please

In general it looks ok, but worth reviewing the points where I have doubts.

@ethervoid I updated the branch and fixed the tests. I also added some comments straight to the code and I'm pretty sure hound will complain about my/legacy style.
Please take a look and we can discuss tomorrow next steps. I don't want to spend too much more time with this...
Cheers!


Controller support

We could use gilrs. I have never dealt with gamepad integration in a game, so any insights here will be greatly appreciated.
I imagine we could simply extend input::Event to add gamepad events.

Fixed by #29.


[Question] Is it possible to have managed dependent annotation in other CustomResourceDependent class?

Hi again!
AFAIK, managed custom resource dependents should be added in the @ControllerConfiguration annotation within a controller.
As I have multiple resources I wouldn't like to have to implement a custom resource (so I can have @ControllerConfiguration) for each of these dependents.
Is it possible to add "@Dependent" annotations in the CRUKubernetesDependentResource classes so I don't have to implement more unneeded controllers?
Thanks!

I'm not sure I'm following what you're trying to achieve… You need to have one Reconciler implementation per primary resource type (i.e. the type of resource your operator manages). Dependents manage secondary resources that your reconciler needs to handle in order to realise the desired state described by your primary resource. You can annotate your Reconciler with dependent annotations to have managed dependents to tell JOSDK which secondary resources your reconciler needs to handle and how. Each dependent is associated with a DependentResource implementation that can be more or less complex depending on your needs and CRUKubernetesDependentResource is one such convenient implementation that takes care of a lot of what you'd need to implement for a typical Kubernetes resource.
You can see an example of how things are wired at https://github.com/quarkiverse/quarkus-operator-sdk/blob/5dc8476af4510b80e922810b147994a63ec16f88/samples/mysql-schema/src/main/java/io/quarkiverse/operatorsdk/samples/mysqlschema/MySQLSchemaReconciler.java#L22-L27
Let me know if you need more information.

Thanks @metacosm . So, as far a I undertand, implement custom reconciler only makes sense when having CRD right? In my case I have many resources that doesn't need to be CRD, because they are "core" Kubernetes like deployments, services etc. But I need one custom CRD, which is a secondary resource from other primary, to have dependents too. So in that use case I can have multiple levels of dependencies (like a tree).
I would like to have managed dependents in other dependents like this:
@Dependent (DeploymentDependent.class...
public class PrimaryDependent  extends
CRUKubernetesDependentResource<Secondary,Primary>

Do you think could be possible? I don't need a Reconciler here as I don't need a custom CRD for DeploymentDependent..
Thanks!

@juangon the best practice is to implement reconciler for each CRD, see second point:
https://sdk.operatorframework.io/docs/best-practices/best-practices/
DISCLAIMER: not sure if I understand the question. But if you have a tree, that does not sound good. It is probably more controller you need at the end.

Yes but in this case I don`t have CRD. I just need "n" dependent resources (not custom, just core Kubernetes) that are dependents from OTHER dependents too (CRUKubernetesDependent).
Did I explain properly?

Could you explain the problem you are solving with the operator? What exactly you want to achieve? Can you be more concrete?
The dependent resources are just at the end resources you want to menage for a custom resource (or ordinary k8s resources also supported). If there are resources that a further dependent on those resources, those need a separate controller.

If there are resources that a further dependent on those resources, those need a separate controller.

Ok I think this sentence says it all. Thanks!

A controller requires a CRD, right?

A controller can manage custom resources (that requires CRD), but well known kubernetes onces (like Ingress, ConfigMap) those does not require a CRD.


there are Chinese hard code in this file, does Cloudtty support I18N?

https://github.com/cloudtty/cloudtty/blob/aa1c39ffd4d38500d55db6764831d5d79e1e301b/html/src/components/app.tsx#L
there are Chinese hard code in this file, does Cloudtty support I18N?

We seem to not support I18N.
@youhonglian

the current solution is to use English first instead of hard-coded Chinese


Capture CoreCLR ServiceHub dependencies in VSIX

Draft PR because the bits aren't there yet in VS from Roslyn or from ServiceHub

In preparation for running our Razor bits OOP in a CoreCLR hosted environment we need to separately capture our entire dependency graph and shove that graph into a specific location so that the CoreCLR servicehub host knows where to load various assemblies. This changeset effectively generates a ServiceHubCore folder in our VSIX that has everything needed to boot our ServiceHub bits in a CoreCLR based host.
Added a new ServiceHubCore64 json file to represent our hook into the servicehub world and utilize friend services to allow Roslyn to host us. Friend services also require cross-component sharing where we specific an AssemblySearchPathsConfig.json to indicate where ServiceHub can find our "friend" who has many of our dependencies (aka the ones removed).
Removed several common dependencies in our ServiceHub bits that will be guaranteed to be provided by the Roslyn host.
Created a new Microsoft.CodeAnalysis.Remote.Razor.CoreComponents project as a mechanism to capture all of our ServiceHub dependencies. This is effectively a hack to easily grab the dependency graph and to make it possible we make the project target netcoreapp3.1 and add a Program.Main to allow it to compile.
Found a typo where we weren't suffixing our ServiceHub json files in the vsixmanifest with .json.

Part of dotnet/aspnetcore#24476

@ryanbrandenburg You can find more info from ServiceHub wiki
https://devdiv.visualstudio.com/DevDiv/_wiki/wikis/DevDiv.wiki/1865/ServiceHub-(DevCore)

I have tested the change in this PR with latest dev17 int.preview, and it worked as expected.

To validate this change you will need to

build and deploy to roslyndev hive
run  <VSInstallPath>\Common7\IDE\VsRegEdit.exe set <VSInstallPath> RoslynDev HKCU "Roslyn\Internal\OnOff\Features" OOPCoreClr dword 1, and then start VS in roslyndev hive
replace the relative path in %localappdata%\Microsoft\VisualStudio\[roslyndev hive folder]\Extensions\Microsoft\Razor Language Services\<IP_ADDRESS>42424\ServiceHubCore\Microsoft.VisualStudio.Razor.TagHelperProvider.AssemblySearchPathsConfig.json, with a absolute path that points to Roslyn's servicehub core bits in your VS installation. (for example, it's E:\vs2022\Preview\Common7\IDE\CommonExtensions\Microsoft\ManagedLanguages\VBCSharp\LanguageServices\Core for me)

You should see

No servicehub error related to Razor's TagHelperProviderCore64
this result is non-null (i.e. we are getting result from OOP): https://github.com/dotnet/aspnetcore-tooling/blob/382e109a4c43f07d59a12f2da7d662e1643d732a/src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/OOPTagHelperResolver.cs#L75
check task mamanger to make sure Servicehub core host ([VS]\Common7\ServiceHub\Hosts\ServiceHub.Host.CoreCLR\ServiceHub.RoslynCodeAnalysisService.exe) is up and running.


Don`t working

24.04.2022
13:10 UTC
weather don`t display

Can confirm

Yep, its not showing anything

Certainly related to an API Rate limitation like few months ago

Yes, maybe it's time to update that limit

@gw8ndal I agree, the only problem that the data is not for free, so probably we will need something like a funding campaign. I will think about it.


cmd/cgo: C.malloc does not support comma error return values

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

$ go version
go version go1.6.2 windows/amd64

What operating system and processor architecture are you using (go env)?

$ go env
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\Administrator\Go
set GORACE=
set GOROOT=C:\go
set GOTOOLDIR=C:\go\pkg\tool\windows_amd64
set GO15VENDOREXPERIMENT=1
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1

What did you do?

I ran cgom.go whose source is at https://play.golang.org/p/lFkVjkjn5W

What did you expect to see?

In cgo manual (https://golang.org/cmd/cgo/), the manual states that

Any C function (even void functions) may be called in a multiple assignment context to retrieve both the return value (if any) and the C errno variable as an error (use _ to skip the result value if the function returns void). For example:

I think C.malloc is C function. And Any C function may be called in a multiple assignemt context. Therefore, C.malloc should be called in a multiple assignment.
The idea was correct only if compilation would be successful.

What did you see instead?

$ go run cgom.go
# command-line-arguments
.\cgom.go:22:12: no two-result form for C.malloc

Unfortunately, reality is not. C.malloc cannot be used in that way, even though free function can be used in that way.
C.malloc function seems not to be part of a set of C functions, because contraposition of "Any C function may be called in a multiple assignment context" is "if a function may not be called in a multiple context, then the function is not C function".
This contradicts usual idea that malloc should be C function. Go override some of special functions as malloc, etc. But these functions do not act like C functions.

cc @ianlancetaylor

I think the likely resolution of this is to say that C.malloc is an exception.
Is there any reason that it is important to get an errno result from C.malloc?  It has no defined errno results anyhow, and in practice the only one it ever returns is ENOMEM.

@ianlancetaylor If C.malloc changes as an exception, https://golang.org/cmd/cgo/ should be modified to specify that C.malloc is an exception.
I'm think differently. Whether C.malloc may support comma error return has something with consistency. There are a lot of C functions that has no defined or uesless errno such as C.malloc, C.free, .... It is consistency to support comma error return regardless of advantage of that errno. I think unnecessary consistency is a consistency for consistency.

I think C.malloc should be an exception, if that's ok I can make a patch to the docs.

Please explain the rationale for making an C.malloc an exception. malloc(3) is documented to use errno=ENOMEM to signal failure. The documented CGO multi-valued return makes the Go idiom of checking for err != nil possible:

cptr, err := C.malloc(C.sizeof_struct_foo)
if err != nil {
return nil, fmt.Errorf("allocating memory exempt from GC: %v", err)
}
// ... use cptr

If there is an overriding concern, I don't yet understand it. If possible, please explain it.

I think the reason is likely historical artifact or overlook.
I don't think fixing it buys much. The only documented errno return is
ENOMEM,
and you can check the returned pointer for the same effect.
Anyway, I suspect that Go would has crashed somewhere else already if malloc
ever runs out of memory.

While the case is certainly obscure, it seems reasonable to me to make C.malloc consistent with other functions and keep the documentation simple. Arguably, the obscurity of the case even supports keeping the documentation simple.
Is there some technical reason why this isn't easy to fix?

This would be a breaking change to the API

un. freaking. believable.
How is that a breaking change? It is already the case that Cgo code may call C functions with either a single or a single plus error result. Code that is already written to not "request" the error result from C.malloc will continue to work just the same as other code for C language functions that doesn't care to pick up the error result. Code that currently won't work if written as documented, would become compilable.
Please explain how this is an incompatible change?

Supporting code that previously didn't compile, without changing behavior for code that did previously compile, doesn't seem like a breaking change to me.

This would be a breaking change to the API

How so? Currently the only way to call C.malloc is with zero or one return values. I don't think anyone's proposing changing the behavior in this case (including the panic behavior). This just adds the possibility to call it with two return values. The only oddity would be that, presumably, we would still want it to panic in the zero or one case, and not panic in the two case. This is different from other C functions, but not without precedent in the language (e.g., one- versus two-assignment type assertions).

ok calm yourself I misunderstood apologies

Ok. That's understandable. If it were true, the "breaks API compatibility" card would clearly trump the desire to avoid gratuitous one-off, contrary-to-documented behavior. That's why the (mistaken?) claim of incompatible change comes across as such a big deal.

and when I say "gratuitous one-off, contrary-to-documented" behavior, I would be glad to be proved wrong. I just don't think the conversation thus far on this issue has demonstrated that it's not a gratuitous deviation from documented behavior. Maybe it's the search for that answer that will bring about a satisfactory closing of this issue. Or, maybe it is what I think it is, and should be fixed to support calling the same way other Cgo functions can be called.

I'm fine with handling an errno return from C.malloc.  It seems pointless to me but I'll review the CL if someone wants to do the work.

@ianlancetaylor help? I don't recognize the CL acronym. I would be glad to roll up my sleeves and dig into this, because gratuitous inconsistency consistently bugs me. Is there a contributor agreement, or can you direct me to where the process is documented? I understand that PR's are not accepted on this project, but I don't know how to actually contribute. Thanks.

CL = "change list". Think "PR" (Pull request) or "patch".
You found the right contributing docs.

C.malloc is special because we guarantee it can never fail. I will send a CL documenting this.

@sh4m1l65 Both changes will be in the Go 1.8 release.


Add Copy traits to Feature and Geometry struct

I would like to push all the geometries of a geojson inside RTree -> https://github.com/Stoeoef/rstar
But i can't just take feature and implement rstar::Point trait because the Copy trait is not present on Feature, same issue with Geometry :disappointed:
If you know an easy way i can add all my geojson objects to that RTree, I am very interested :smile:

Are you sure you want to store a Geojson in your rtree and not something from geo_types ?
anyway the objects you want to add implement Clone, so you can just .clone() them while inserting them (if you don't own them, and thus can't move them)

You can convert a GeoJSON feature into a geo_type by using try_into(), which will yield an Option<_>
Something like
// ensure you've specified geo-types 0.4 in Cargo.toml
use geo_types::{Point, Linestring, Polygon};
// geojson_polygon is assumed to be a GeoJSON polygon type
let geo_polygon: geo_types::Polygon<f64> = geojson_polygon.try_into().unwrap();

You can then use geo_polygon with rstar, as it implements the requisite traits, and convert back again when you're ready to write it out etc.

Thank you very much for your quick answer !
Your solution help me a lot but there still an issue with the properties of a feature, i would like to be able to retrieve from witch feature a point came when i find it in RTree. My current solution is to store the index of the geojson feature and then get it's properties from the geojson by the index.
The best solution would be to store the feature properties with the point but any dynamic type cannot implement the copy trait and i need it for the rstar::Point trait -> https://docs.rs/rstar/0.2.0/rstar/trait.Point.html

Many types within Geometry use Vec which is a heap allocated data structure, for example LineString. Copy can only be implemented for stack allocated data structures like f64 or tuples.


Alpine 3.8 package SIGSEVs using tess4j

Using the API I always receive SIGSEV errors when TessBasAPI -> Recognize is called inside an alpine container.
We're using the setup from Docker to set up a tesseract4 alpine container. The error occurs in beta3, beta4 and master.
The error does not occur when running tesseract from command line, but since it's purely in native code I think it might be a problem from tesseract itself.
The error is:
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f738f244b74, pid=49, tid=0x00007f73bc813ae8
#
# JRE version: OpenJDK Runtime Environment (8.0_171-b11) (build 1.8.0_171-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.171-b11 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 3.8.0
# Distribution: Custom build (Wed Jun 13 18:28:11 UTC 2018)
# Problematic frame:
# C  [libgomp.so.1+0xab74]  GOMP_doacross_ull_wait+0x284

Since it seems to work on Ubuntu this might be platform specific, maybe an unsatisfied dependency. But it does not even work with the build environment.

Environment
/ # tesseract -v
tesseract 4.0.0-beta.3
 leptonica-1.76.0
  libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.5.3) : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11 : libwebp 1.0.0
 Found AVX2
 Found AVX
 Found SSE

Tesseract Version: 4.0.0-beta.3
Commit Number: master
Platform: Linux bb2a6f4f39a9 4.4.0-116-generic 140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 Linux

Thx, I’ll check the option.

I checked the option @nguyenq. It does indeed work. I still wonder why this happens, because the libs are there at build and runtime ...

It's not a problem in tesseract itself.
@zdenop, please close this issue.


llvmir2hll: General issue tracking memory usage of llvmir2hll

This is a general issue tracking the memory usage required to run llvmir2hll.
Background: I tried to run ./decompile.sh on a 1 MB sample executable (x86, 32-bit PE). All steps succeeded smoothly, until the llvmir2hll step, which managed to hang my laptop as it depleted the available RAM. The llvmir2hll process took roughly 7.1 GB at this point (and my hardware has 8 GB of RAM).
Have the memory usage of llvmir2hll been profiled before? If so, what are the low-hanging fruit to decrease memory usage for "regular" binaries, those below say 5 MB.
My wish is that as retdec develops, it should be possible to decompile an arbitrarily large executable, never requiring more than 1 GB of RAM memory at any given time during the decompile pipeline. However, this should be considered a long-term goal; as that requires intermediate representations of decompiled functions to be stored to disk, so that not all functions are kept in memory at the same time.
For now, locating low hanging fruit so that a decompile of binaries smaller than 5 MB (or so) should succeed using at most 3 GB of RAM. This seems like a worthy intermediate goal for memory usage optimization.

This issue could be considered a duplicate of #13. Close it if you wish, so we can keep the discussion focused in one place.

trying to decompile a 1.2MB program and llvmir2hll is using 46GB+ of memory untill the screen gets black.
If you need 128GB of RAM to decompile a 1.2mb program, makes little sense to even try to use retdec...

@caioc2 Mindless RetDec bashing isn't going to help anyone. What could help:

Create a proper bug report, including attaching the input binary, or
Try to analyze the problem and write your findings, or even
Submit a PR that fixes some of the memory issues.

This should be much better after this commit e6f47cf6ae6bd3d79793b61364831fca74739bbf,
which was already merged to master. Also, there were some very helpful PRs optimizing llvmir2hll. We did not make a new release just yet. If you want, you can try to compile it yourself, or try the latest master builds.
Closing this, but keeping #13 open because there is more work to be done.


fix simple_project example

About this change—what it does
fixes sample project version
Resolves: #799

Updated Typos -> typos


⚠ Jenkins Plugins Artifactory has degraded performance

In 008a668, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1706 ms

Resolved: Jenkins Plugins Artifactory performance has improved in f1d7596 after 19 minutes.


BankingQRCodeForExcel_TemporaryKey.pfx missing

Hi.
When trying to publish in Visual Studio, I'll get the error-message, that the file "...cloning_path/BankingQRCodeForExcel_TemporaryKey.pfx" could not be found.
Therefore the MD5 Hash could not be checked.
Is there a file accidentely missing or am I doing something wrong?
Kind regards

It is missing on purpose, you need to generate your own file as this is your key to sign the code.


BPF: Fix drop notification to correct destination ID for reserved identities

Similar to GH issue #2114, we need to make the data path understand the reserved identities correctly and fill in the correct destination security identity.

I've looked into this. The cost of this is non-trivial as we have to move several map lookups to earlier in the processing path. This imposes datapath cost for work that is only required if the packet is actually dropped. All of the information is retrieved based on addressing information that is made available to the agent in the drop notification. I suggest to do this work in the monitor.


Add Go 1.7 to build

Coverage remained the same at 72.222% when pulling d0c597ab8cde8b57ddc82871b93b30c21f0c5fd0 on add-build-matrix into d7cadd1a561a7274ffc3bd7064c182fa9a433b37 on master.


Update Pravega version in r0.5

Problem description
Update Pravega version in r0.5 branch to the latest commit 352da549e729cadf49b88c043d6acd4818045f33 and the corresponding snapshot version to 0.5.0-2300.352da54-SNAPSHOT.
Problem location
Connector r0.5 branch build configurations
Suggestions for an improvement

closed https://github.com/pravega/flink-connectors/pull/251


CLIP-1707: Set termination grace period to 0 by default

This PR sets termination_grace_period to 0 by default to avoid having pods stuck in Pending and holding deletion of PVC.
Also, removing overrides from test tfvars, and tweaking variable descrition
Checklist

[x] I have successful end to end tests run (with & without domain)
[ ] I have added unit tests (if applicable)
[ ] I have user documentation (if applicable)

Are we experiencing the same issues with the standard helm chart installation? If the application is destroyed forcefully, it might not have flushed the state and finished some long-running processes.

Closing in favor of https://github.com/atlassian-labs/data-center-terraform/pull/282


Duplicated lines in prequential documentation example

Hi, I realized there are two duplicated calls to evaluate in two parts of the documentation of the Prequential Evaluator. This PR simply removes them.
Changes proposed in this pull request:

Removed duplicated lines in the Prequential evaluator

I think the checklist doesn't apply to this pull request, since there is no new code proposed.

@luccaportes Thanks for fixing this!


What is the minimal C# Language version of the generated source code?

I am trying to replace MediatR with this source generating Mediator, but it seems the generated source code is throwing some compilation errors. One thing that I noticed is that the dev environment I am in has only and scoped to .NET Core 3.1 SDK and that limits me to a certain C# language features and wonder what is the minimal C# language version that is required to compile the generated source code?

Hi! The library targets netstandard2.1 currently, which NET Core 3.1 supports. NET Core 3.1 is however out of support by Microsoft (as of December 13, 2022), so it's not really recommended to use as it won't get security patches etc..
In addition, the source generator needs a relatively new version of the Roslyn libraries that come with the .NET SDK. We have support for Roslyn 3.8+, but .NET Core 3.1 SDK seems to bring something older than that. So the SDK itself won't work. But if you have the .NET 6.0 SDK and use netcoreapp3.1 target framework you will actually be able to build. Atleast I managed to using this patch (b1a560d) which I'll publish to the 2.1 now. The Mediator library also references the Microsoft DependencyInjection libraries 6.0+, so if you go with netcoreapp3.1 you still will have to use a newer version of the DI libraries.
TLDR: you can use netcoreapp3.1 target framework if you build with >= 6.0 NET SDK, as long as you reference MS DI libraries >= 6.0, but since .NET Core 3.1 is out of support, I highly recommend you switch over to .NET 6+


After enabling the network, the VM will crash when it is powered on, and then flash back to the desktop.

I created a Windows VM, but when I turned it on, UTM flashed back to the desktop.
I tried several times, but it didn't work. After I turn off the sound card and network card, windows VM can be used normally.
My iPad system version is a developer preview of iPad OS 13.4

Most likely memory issue #67 #24

@osy86 Can you add a virtual memory function to UTM,just like system swapfile file.

If there is such a feature in qemu I can try to support it. Otherwise you need to get such a feature in qemu first. I am not a qemu developer.


Enhance custom auth

On the server we need jwt middleware replacement.

Auth is now handled differently on the server. Auth also works for standalone apps without express.


add options to do partial and case insensitive matches

Thanks for the pull request! I can't pull this into the main branch, and there are some conflicting changes in the develop branch, so I will manually port your changes to it. I'll also make a few small changes to make it fit with the other changes I made but never checked in.


long text_prompt cannot transform?

hello, I have a long text_prompt, such as more than 500 words, but i cannot get the right voice, only can get part of words of voice. why like so?

Take a look at this PR https://github.com/suno-ai/bark/pull/84 for some clues.


Broken links

https://github.com/fluxcd/community/blob/main/GOVERNANCE.md#maintainers
I get a 404 for:
https://github.com/orgs/fluxcd/teams/maintainers
https://github.com/orgs/fluxcd/teams/oversight-committee

I think those links probably work for FluxCD org members, I get the sense that FluxCD org membership is public but internal structure is not necessarily public. That might not be intentional.
I noticed a different bad link in the Azure integration doc, I'm sure this link worked when it was reviewed in a PR on github, but it does not work on the mkdocs site.
I ran linkchecker on toolkit.fluxcd.io and linkchecker found ~7 more~:
(looks like I have to run this again with --check-extern... snip ahem, that is, found a total of 13 bad links)
URL        `https://fonts.gstatic.com'
Parent URL https://toolkit.fluxcd.io, line 42, col 9
Real URL   https://fonts.gstatic.com
Check time 2.243 seconds
Size       1KB
Result     Error: 404 Not Found

URL        `cmd/flux_get_alert-provider.md'
Name       `Get alert provider'
Parent URL https://toolkit.fluxcd.io, line 1701, col 7
Real URL   https://toolkit.fluxcd.io/cmd/flux_get_alert-provider.md
Check time 3.808 seconds
Size       5KB
Result     Error: 404 Not Found
10 threads active,   174 links queued,  136 links in 320 URLs checked, runtime 41 seconds

URL        `cmd/flux_resume_alert-provider.md'
Name       `Resume alert provider'
Parent URL https://toolkit.fluxcd.io, line 1905, col 7
Real URL   https://toolkit.fluxcd.io/cmd/flux_resume_alert-provider.md
Check time 3.498 seconds
Size       5KB
Result     Error: 404 Not Found
10 threads active,   160 links queued,  150 links in 320 URLs checked, runtime 46 seconds

URL        `cmd/flux_suspend_alert-provider.md'
Name       `Suspend alert provider'
Parent URL https://toolkit.fluxcd.io, line 2073, col 7
Real URL   https://toolkit.fluxcd.io/cmd/flux_suspend_alert-provider.md
Check time 3.494 seconds
Size       5KB
Result     Error: 404 Not Found
10 threads active,   150 links queued,  163 links in 323 URLs checked, runtime 51 seconds
10 threads active,   150 links queued,  185 links in 347 URLs checked, runtime 56 seconds

URL        `../components/source/source.md'
Name       `the source controller documentation'
Parent URL https://toolkit.fluxcd.io/core-concepts/, line 2446, col 41
Real URL   https://toolkit.fluxcd.io/components/source/source.md
Check time 0.670 seconds
Size       5KB
Result     Error: 404 Not Found
10 threads active,   127 links queued,  208 links in 349 URLs checked, runtime 1 minute, 1 seconds

URL        `https://github.com/fluxcd/flux2/discussions/new?category_id=31999889'
Name       `GitHub Discussions'
Parent URL https://toolkit.fluxcd.io/guides/helm-operator-migration/, line 3626, col 201
Real URL   https://github.com/fluxcd/flux2/discussions/new?category_id=31999889
Check time 1.546 seconds
Size       40B
Result     Error: 404 Not Found

URL        `../components/kustomize/kustomization/#garbage-collection'
Name       `pruning'
Parent URL https://toolkit.fluxcd.io/guides/helmreleases/, line 2832, col 1
Real URL   https://toolkit.fluxcd.io/guides/components/kustomize/kustomization/#garbage-collection
Check time 0.687 seconds
Size       5KB
Result     Error: 404 Not Found
10 threads active,    90 links queued,  245 links in 349 URLs checked, runtime 1 minute, 6 seconds

URL        `http://localhost:3000/d/gitops-toolkit-control-plane/gitops-toolkit-control-plane'
Name       `http://localhost:3000/d/gitops-toolkit-control-plane'
Parent URL https://toolkit.fluxcd.io/guides/monitoring/, line 2427, col 28
Real URL   http://localhost:3000/d/gitops-toolkit-control-plane/gitops-toolkit-control-plane
Check time 2.371 seconds
Result     Error: ConnectionError: HTTPConnectionPool(host='localhost', port=3000): Max retries exceeded with url: /d/gitops-toolkit-control-plane/gitops-toolkit-control-plane (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2f...

URL        `http://localhost:3000/d/gitops-toolkit-cluster/gitops-toolkit-cluster-stats'
Name       `http://localhost:3000/d/gitops-toolkit-cluster'
Parent URL https://toolkit.fluxcd.io/guides/monitoring/, line 2430, col 37
Real URL   http://localhost:3000/d/gitops-toolkit-cluster/gitops-toolkit-cluster-stats
Check time 2.454 seconds
Result     Error: ConnectionError: HTTPConnectionPool(host='localhost', port=3000): Max retries exceeded with url: /d/gitops-toolkit-cluster/gitops-toolkit-cluster-stats (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2f9eb317...

URL        `github.com/fluxcd/flux2/tree/main/manifests/integrations/registry-credentials-sync/azure'
Name       `./manifests/integrations/registry-credentials-sync/azure'
Parent URL https://toolkit.fluxcd.io/guides/image-update/, line 3345, col 106
Real URL   https://toolkit.fluxcd.io/guides/image-update/github.com/fluxcd/flux2/tree/main/manifests/integrations/registry-credentials-sync/azure
Check time 0.786 seconds
Size       5KB
Result     Error: 404 Not Found

URL        `image/imageupdateautomation.md'
Name       `ImageUpdateAutomation CRD'
Parent URL https://toolkit.fluxcd.io/components/, line 2361, col 5
Real URL   https://toolkit.fluxcd.io/components/image/imageupdateautomation.md
Check time 0.626 seconds
Size       5KB
Result     Error: 404 Not Found
10 threads active,    61 links queued,  274 links in 349 URLs checked, runtime 1 minute, 11 seconds
10 threads active,    31 links queued,  304 links in 355 URLs checked, runtime 1 minute, 16 seconds

URL        `https://github.com/image-automation-controller'
Name       `image-automation-controller'
Parent URL https://toolkit.fluxcd.io/components/image/imagepolicies/, line 2471, col 1
Real URL   https://github.com/image-automation-controller
Check time 1.599 seconds
Size       40B
Result     Error: 404 Not Found
10 threads active,     5 links queued,  330 links in 357 URLs checked, runtime 1 minute, 21 seconds

URL        `DCO'
Name       `DCO'
Parent URL https://toolkit.fluxcd.io/contributing/, line 2491, col 30
Real URL   https://toolkit.fluxcd.io/contributing/DCO
Check time 2.387 seconds
Size       5KB
Result     Error: 404 Not Found

Statistics:
Downloaded: 8.30MB.
Content types: 19 image, 299 text, 0 video, 0 audio, 4 application, 0 mail and 23 other.
URL lengths: min=16, max=1598, avg=95.

That's it. 345 links in 358 URLs checked. 0 warnings found. 13 errors found.
Stopped checking at 2021-02-11 19:45:12-004 (1 minute, 24 seconds)

That was my thought as well, but just wanted to make sure. Alternatively, if that is the case, it feels a bit odd to be shared a link that most people can't access. Just wanted to know if this was intentional and, if so, if it makes the most sense. thx ;)

What I think we should do is replace the links to the teams with a table, as we did for the community document.
We first opted not to iirc, because we had the impression that teams were publicly accessible and this would be low maintenance, but we were wrong :-)

@hiddeco is 100% correct https://github.com/fluxcd/community/issues/64#issuecomment-779502284. I still intend to update these links, and reformat a bit to clarify exactly which docs are the canonical ones to publicly list members of which teams (ones which relate to governance anyway. The README already lists others for general info). We just have a bunch of things on our plate ATM, and this at least already communicates that we have such GitHub teams, so I didn't bump too high in priority yet. Thanks for opening an issue - exactly what these are for 😺


GPAD output for model 586fc17a00001662 not being generated

Hi,
I've been working on a new model this morning:
http://noctua.berkeleybop.org/editor/graph/gomodel:586fc17a00001662
and hoping to take a look at the GPAD output here:
http://build.berkeleybop.org/job/export-lego-to-gpad-sparql/lastSuccessfulBuild/artifact/legacy/gpad/
but I don't see anything new being generated.
I also don't see the model listed here:
https://github.com/geneontology/noctua-models/tree/master/models
If the model is not being saved to the master/models directory does that explain why I can't see a GPAD?  Is there something else I need to be doing?
Thanks,
--Kimberly

@vanaukenk you're correct, the model needs to be on GitHub first. @kltm it looks like the GH commit is a week behind, does it need to be nudged?

@vanaukenk
Apologies--I'm not sure what happened here. There are essentially a couple of "secret" users that are used for things like dumping the files to disk from minerva and they were logged out. My only guess is that somebody (me being the most likely culprit) was demoing something during biocuration using one of the secret users and logged out. I don't recall doing that, and the last flush was on Friday, which doesn't make a lot of sense,but I wasn't firing all pistons towards the end either.
This should now be fixed, flushed, and updated in like half an hour.

This is now being blocked by the fact that http://geneontology.org/ontology/imports/x-disjoint.owl can no longer be found, so the job cannot be run. Initially found by @jnguyenx, and reported by email to @cmungall directly.

Shouldn't be an issue any longer.


CORE-33149 Added support for additional alloy config options.

Description
Updated extension with the new version of Alloy. Added support for errorsEnabled, optInEnabled, idSyncsEnabled, destinationsEnabled, and context.

Related Issue
https://jira.corp.adobe.com/browse/CORE-33149
https://jira.corp.adobe.com/browse/CORE-33150
https://jira.corp.adobe.com/browse/CORE-33151
https://jira.corp.adobe.com/browse/CORE-33156
https://jira.corp.adobe.com/browse/CORE-33157

Motivation and Context
Alloy users to do more configuration in Launch.

How Has This Been Tested?
Automated and manual.

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

I tweaked a few things based on comments during the code review over BlueJeans. I'll handle the rest in future PRs.

@jfkhoury agreed and will do!


Abandoned?

Has it been?
9 month since last update, issues remain unanswered...

Depends what you mean.  I'm still here, I just don't work on it much because it already does what I need.  I do only tend to update it about once a year ish.


publishMessageGRPC user []byte

Description
publishMessageGRPC user []byte
Issue reference
Please reference the issue this PR will close: #918
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation
[ ] Specification has been updated
[ ] Provided sample for the feature

/ok-to-test


feature: add container prune command

Signed-off-by: Junjun Li<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
add pouch container prune command
Ⅱ. Does this pull request fix one issue?

#2213
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
$ pouch container prune
WARNING! This will remove all stopped containers.
Are you sure you want to continue? [y/N]y
Deleted Containers:
9beaac36a373b7f0bf9d26887cc4cc16b4b287ec4d411da98b7220ea985f5ed8

Total reclaimed space: 34B

Ⅴ. Special notes for reviews

 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.


Exit early from pathfinding when nodes are not connected.

Previously if two nodes had no path between them, the search would look through the entire connected graph before giving up. Now, if there is no path, we immediately exit!
This still leaves open the door that if there is a path, but one that takes a very long detour, the search could explore nearly all of the graph before finding any path at all. Another problem is that if there is no path, agents will just sit and do nothing. Instead, we may want to find a path getting "close" to the target, and follow that. Regardless, this is a good first step and something we likely always want to support.
This is part of #6.

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

Project coverage is 98.3%. Comparing base (c3cc143) to head (cd1373d).

Additional details and impacted files

Files
Coverage Δ

src/nav_mesh.rs
99.5% <100.0%> (+<0.1%)
:arrow_up:

src/nav_mesh_test.rs
96.1% <100.0%> (+0.3%)
:arrow_up:

src/pathfinding.rs
100.0% <100.0%> (ø)

src/nav_data.rs
99.3% <98.2%> (-0.2%)
:arrow_down:

src/pathfinding_test.rs
99.7% <98.2%> (-0.3%)
:arrow_down:


The toolbar should fade out after opening if not moused over.

Also there seems to be some issues when movies are played near full screen, the tool bar overlays on it, a pinning feature might make this better.

The toolbar fades out after opening photos


Cannot update data of type Object

Hey @kitsonk!
After I recently updated to Deno 2 and also updated my kview installation, I no longer see the "Update value" button in any entries in my KV.
I thought this was removed, but I see this is still in kview docs, so maybe I'm doing something wrong.
Idk what else I can share though. It's a simple Object. Here's a screenshot.
.
Do you have any guidance or is it a bug?
Thanks!

When the value contains something that cannot be serialized to JSON, it prevents you from editing it (ref the note in the docs: https://kview.deno.dev/docs/values/objects) because it would not be able to be stored back in the way it was created. I should have made it clearer in the release notes.
What would be better in the long term is an object/array/Map/Set editor that supports set properties and elements in more complex types.
Is the payment.date a Date() object?

Is the payment.date a Date() object?

yes. i'm thinking about adding a date library to the app, like date-fns. it will probably change this type.
if you have any suggestion on a better way to store dates too, i'm down.

No, it is a good way. Previous versions of kview would have let you edit is as JSON but then would have destructively changed the value for anything that couldn't be serialized to JSON. If the value doesn't contain anything that isn't serializable to JSON it will let you edit it as JSON.
I started work on an object editor that would allow supporting everything that Deno KV supports and be able to edit individual properties that contain these "complex" values, but it might take me a while.  It will be a bit like Firebase Firestore editor.

that's great to know! in the meanwhile, should i close this issue? 😬
i don't think there's anything i could do to fix that.

Naw, when I get the object editor done, I will tie it to this issue.


Lookup Table File Version UnicodeError

Rasa NLU version:
0.14.4
Operating system (windows, osx, ...):
Windows 10
Content of model configuration file:
language: en
pipeline:
- name: "tokenizer_whitespace"
- name: "intent_entity_featurizer_regex"
- name: "ner_crf"
- name: "ner_synonyms"
- name: "intent_featurizer_count_vectors"
- name: "intent_classifier_tensorflow_embedding"
  intent_tokenization_flag: true
  intent_split_symbol: "+"

Issue:
When I create a Lookup Table in the format
## lookup:currencies   <!-- lookup table list -->
- Yen
- USD
- Euro

training is successful.  (This is not my real lookup table, it contains 65,000 entries, some of the characters are utf-8).  When I have the same content, but I use the filename version (and this is the actual content of my .md file below)
## lookup:client   <!-- no list to specify lookup table file -->
entities/Client.txt

I get

File "C:\Users\gwerner004\eclipse-workspace\RasaKickTheTires\Camunda.py", line 135, in
num_threads=1)
File "C:\Users\gwerner004\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_nlu\train.py", line 154, in do_train
interpreter = trainer.train(training_data, **kwargs)
File "C:\Users\gwerner004\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_nlu\model.py", line 196, in train
**context)
File "C:\Users\gwerner004\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_nlu\featurizers\regex_featurizer.py", line 53, in train
self._add_lookup_table_regexes(training_data.lookup_tables)
File "C:\Users\gwerner004\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_nlu\featurizers\regex_featurizer.py", line 76, in _add_lookup_table_regexes
regex_pattern = self._generate_lookup_regex(table)
File "C:\Users\gwerner004\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_nlu\featurizers\regex_featurizer.py", line 126, in _generate_lookup_regex
for line in f:
File "C:\Users\gwerner004\AppData\Local\Programs\Python\Python36\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 5770: character maps to

My first version, the list version is created from these same files.  But when I call do_train on the second version, the encoding is mixed up.  What can I do so that the filename version works?

If I were opening the file on line 126 of above, I would use encoding='utf-8' in the open statement.

Thanks for raising this issue, @paulaWesselmann  will get back to you about it soon.

@demongolem how does the data in your entities/Client.txt file look?

My file is now 80,524 lines long so I won't include the entire file unless necessary.  But it is one item per line (with end of line following it).  The last 10 lines of the files (which show some of the characters in question likely) is

xDUPLICATE - Van Sickle Consulting
xINACTIVE CLIENT - Classey Closets
xINACTIVE CLIENT - Taxolog Inc.
xINACTIVE CLIENT-Schuh William
zulily Inc.
zynerba Pharmaceuticals
École De Technologie Gazière
Édifice Marine
Ópticas Lux, S.A. de C.V.
Übelhör Organic-Germany

Thank you! I've copied those lines into one of my lookup tables and training went fine. Can you tell me which python version you are using?

Python 3.6.7

As I said, list works fine with that data, file does not work fine.  I think it is a Windows specific issue.

I'm sorry but I'm afraid I can't help you with that. You might find better help in the Rasa forum https://forum.rasa.com/.
I'll close this issue for now since this is a place for bugs in the code specifically and not usage issues.
Let us know if you believe there is a bug in the code after further investigation. I hope you can fix this soon!

I think it is a bug.  If open statement in line 126 of rasa_nlu\featurizers\regex_featurizer.py were edited to include encoding='utf-8' it would work

@demongolem Do you mind submitting a PR for this?

It will be my first time doing a pull request here, but sure I will give it a go later today.  It is of benefit to me because of course the size of the .md file is just too large if you do the list approach with so many rows and you have difficulty find what you are looking for.

Awesome, Thank you! Let us know if you need help with anything.

@paulaWesselmann I created a branch, made my change and committed.  When I try to push using git push --set-upstream origin issue_1781 it says

remote: Permission to RasaHQ/rasa_nlu.git denied to demongolem.
fatal: unable to access 'https://github.com/RasaHQ/rasa_nlu.git/': The requested URL returned error: 403


CORE-1788 update native sdks

Update iOS SDK to 1.39.2
Update Android SDK to 5.0.7
Add API for facebook parameters.
Switch to using External Dependency Manager for both Android and iOS
https://github.com/googlesamples/unity-jar-resolver
Also includes Android refactoring to account for changes in the way we handle Android lifecycle.

Currently logging is still enabled, and the final binary has not been updated. Will fix that after initial review.

Reviewed via meeting.


[5.3] Auth - Some changes for consistency

These changes makes possible to easily extend the Auth methods on controller. Also this was the intended behaviour from the start (I guess).
Example:
Auth\AuthController.php
public function getLogout()
{
	// ...
	// Custom user logic
	// ...

	return $this->logout();
}

It's possible we're facing a breaking change, that's the reason i've tagged the 5.3 version.

I don't understand how this makes anything easier and it also uses the wrong method names in Route::auth. I purposefully didn't use the old verb prefixed names.


Feature/wcs headers integration

Updated PR with no changes in formatting and more verbosity in commit messages

Please fix pep8:
flake8 owslib
owslib/wcs.py:21:88: E231 missing whitespace after ','
owslib/wcs.py:42:80: E231 missing whitespace after ','
owslib/wcs.py:45:74: E231 missing whitespace after ','
owslib/wcs.py:48:74: E231 missing whitespace after ','
owslib/wcs.py:51:74: E231 missing whitespace after ','
owslib/wcs.py:54:74: E231 missing whitespace after ','
owslib/coverage/wcsBase.py:71:61: E231 missing whitespace after ','

tests are passing with latest fix on master.

This merge breaks the code:
Example
#!/usr/bin/python3

from owslib.sos import SensorObservationService

service = SensorObservationService('http://sensorweb.demo.52north.org/52n-sos-webapp/sos/kvp', version='2.0.0')

offering = 'ws2500'
observedProperty = 'AirTemperature'

get_obs = service.get_operation_by_name('GetObservation')
response = service.get_observation(responseFormat='http://www.opengis.net/om/2.0', offerings=[offering],
                                   observedProperties=[observedProperty])

Results in
Traceback (most recent call last):
  File "/Users/xxxx/testrequest.py", line 11, in <module>
    response = service.get_observation(responseFormat='http://www.opengis.net/om/2.0', offerings=[offering],
  File "/Library/Python/3.8/site-packages/owslib/swe/observation/sos200.py", line 205, in get_observation
    response = openURL(base_url, request, method,
  File "/Library/Python/3.8/site-packages/owslib/util.py", line 200, in openURL
    rkwargs['params'] = unquote(data) if data else None
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/urllib/parse.py", line 635, in unquote
    string.split
AttributeError: 'dict' object has no attribute 'split'

The problem is that the unquote call in utils.py line 200 throws an exception if the data argument is a dict. Which is the case in the get_observation call.

Still open...
I had to remove the "unquote" to make it work with SOS.


Undo Control Panel

Is your feature request related to a problem? Please describe.
The undo control panel is hidden in the ZMI (mainly because in most cases the undo functionality does not work). Though, even if undo does not work it gives a very good overview of what happens.
Describe the solution you'd like
Add a new "undo control panel" that lists all the entries of the ZMI listing. Make it filterable by user/date/path.
Describe alternatives you've considered
Giving users access to the ZMI is not a viable option.
Screenshot Undo in ZMI

ToDo

[x] create a plone.restapi endpoint for undo operations
[x] create a Volto control panel that lists all the possible undo operations (newest first)
[x] allow administrators to undo a single transaction
[x] allow administrators to undo multiple transactions
[x] allow administrators to filter transactions by path
[x] allow administrators to filter transactions by date/time
[x] allow administrators to filter transactions by user

Closing as implemented in Volto 16.

Implemented in https://github.com/plone/volto/pull/3457.

Oh wow, I never noticed it was there!


HaplotypeCaller now creates gVCF - localhost settings optimized for irma

should we name localhost.config to irma.config ?

Not really, milou/bianca compute nodes are similar.


Avoid using the Application Insights NuGet package directly

There can be some issues when the AI nuget packages is used, especially when the latest version is installed. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/1507 for better guidance. This is relevan for the advice given in the section "Log Custom Telemetry in C# function".

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

ID: 13672b67-22ea-3dda-8b6b-3332c24e6030
Version Independent ID: fdc60aeb-9971-1d9f-a6ba-b3ad818cf0d5
Content: Monitor Azure Functions
Content Source: articles/azure-functions/functions-monitoring.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Hi @Expecho Thanks for your feedback. We will review and update as appropriate.

@Expecho Thanks for the feedback! We have assigned this issue to the content author for further review and to update the doc accordingly.


From private repo

@huypub : Thanks for your contribution! The author, @dominicbetts, has been notified to review your proposed change.


Add --remote option to endpoint delete

This adds the --remote option to deleting endpoints when a local config is not present.
A few notes:

Modified get_ep_dir_by_name_or_uuid() to take an extra parameter with default so it doesn't raise if an UUID is specified that does not exist on the system, and also to pass the uuid on as an argument
Added a new wrapper name_or_uuid_arg_non_local that takes advantage of the above without affecting the existing name_or_uuid_arg
Created a new method in Endpoint delete_remote_endpoint() as deleting a non-local EP is very dissimilar to delete_endpoint() that looks for local data
Note that the happy remote deletion path calls the Globus Compute Client's delete_endpoint() which has the same name but is a direct API call via web_client.delete_endpoint()

[sc-31206]

[sc-32452]

This looks good, but I think a simpler, more intuitive path forward is to refactor the --force flag to attempt to delete the endpoint locally and remotely, pushing through exceptions for each operation. If the endpoint cannot be found locally, then we would try to delete it remotely with a provided UUID. If the user does not provide a UUID, we can raise an informative exception that asks them to do so.
Another path might be to drop the --force flag in favor of --local and --remote flags. By default, we would attempt to perform both operations, but if the user specifies one of these flags, then we would only attempt the corresponding operation.

I did think about doing something similar but went with coding exactly as the story dictated, figuring that to deviate would warrant a scrum/dev thread instead of just changing the behavior between me and the reviewer.
I will summarize the current and other (your) path in a dev thread to gather opinions, potentially to be discussed as a ramp item tomorrow afternoon if it isn't clearly resovled before.

Refactoring done and tests were redone, ready to be looked at again.


Quake 4 & Prey 2006

Add using https://github.com/glKarin/com.n0n3m4.diii4a/issues/96
Need to copy and set the openal from the sniper runtime folder
Then put the libraries in the right spots for the game and launch
Test with both, replace the current binaries, since they aren't as good as this.
Mark this as in progress engine

Note that this version does not include features like multiplayer and some graphical effects. There are also minor game bugs.

Progress tracked in https://github.com/luxtorpeda-dev/packages/pull/1175

@d10sfan Though it is nice to have modern source ports for Prey and Quake 4, this engine (idTech4A++ (Harmattan Edition)) isn't online compatible with vanilla games. Quake 4 still has a slim but active multiplayer scene. Prey's mp masterserver is offline but it's still possible to host online server. In fact, TAW clan hosts an online Prey server time to time to enjoy the game's mp. Is that possible to get vanilla Linux versions of the games as an option, please? Thanks a ton!

@d10sfan Though it is nice to have modern source ports for Prey and Quake 4, this engine (idTech4A++ (Harmattan Edition)) isn't online compatible with vanilla games. Quake 4 still has a slim but active multiplayer scene. Prey's mp masterserver is offline but it's still possible to host online server. In fact, TAW clan hosts an online Prey server time to time to enjoy the game's mp. Is that possible to get vanilla Linux versions of the games as an option, please? Thanks a ton!

I thought about that, but is there any benefit to running the native games over running then via Proton? Quake 4 in particular has a bug in it where the framerate on almost every launch is restricted to 40-ish FPS, which makes it not very playable.

Well, as a native Linux gaming enthusiast, I would love to have the ability of playing the game natively whenever possible. I heard that Quake 4 has some fps issues which is most likely related with smp but it works fine for me on Ubuntu based distros. How about making the Harmattan port default and vanilla version secondary, so the user can troubleshoot on his own?

@d10sfan Though it is nice to have modern source ports for Prey and Quake 4, this engine (idTech4A++ (Harmattan Edition)) isn't online compatible with vanilla games. Quake 4 still has a slim but active multiplayer scene. Prey's mp masterserver is offline but it's still possible to host online server. In fact, TAW clan hosts an online Prey server time to time to enjoy the game's mp. Is that possible to get vanilla Linux versions of the games as an option, please? Thanks a ton!

I thought about that, but is there any benefit to running the native games over running then via Proton? Quake 4 in particular has a bug in it where the framerate on almost every launch is restricted to 40-ish FPS, which makes it not very playable.

Quake 4 works fine with some ini/config tinkering , and I think i actually got better performance on the native build then Proton but I cant 100 percent confirm that.
At least the Proton way also got that bug because i always got around 40-50 fps there at least.

Never got Quake 4 to run well consistently with the closed source engine, so anything you can provide could be useful.
I added both back as options @rea987 @Double-0-seven7, let me know in this issue if there's any new issues.


Chef 11 compatibility

We need to make it backwards compatible or document the breakage and point folks to pinning older versions.

Using the newer style custom resources in 3.x dropped compatibility with chef-client < 12.5. This is mentioned in the readme now.


Moving code to ES6

Most of the syntax still is in ES5. The plan is begin changing them to ES6 syntax, but still leave it properly documented with ES5 syntax for those who are unfamiliar with it.

Beginning with this branch:
https://github.com/choonkending/react-webpack-node/tree/feature/es6

Done! Needs a bit of fixing up with eslintrc. But closing this branch.


backprojection: add cuda_split schedule

This chops up fimg into multiple cuda calls, to reduce GPU memory usage.  This performs slightly worse, but greatly reduces the amount of GPU memory and thus should allow running on larger problem sizes.  The memory reduction comes from storing only a single row of the fimg output buffer and the r input buffer in GPU memory at once.
Adds both distributed and non-distributed variants.
Performance and memory for cuda schedule, from the output of running sarbp with Sandia dataset and running nvidia-smi in another terminal:
Using schedule with CUDA
[...]
(1) Halide backprojection returned 0 in 7552 ms

| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A   2992364      C   ./sarbp                           919MiB |

And here's the same for the cuda_split schedule:
Using schedule with CUDA (split output)
[...]
(1) Halide backprojection returned 0 in 11068 ms

| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A   2992832      C   ./sarbp                           279MiB |

The performance is around 40% worse, but it uses 70% less memory according to nvidia-smi.  If you get the sizes of the memory buffers in the cuda debug log and add those up, the reduction in data memory usage is closer to 80% (839MB vs 269MB).
I think 20% of the lost performance can be re-gained by being smarter about norm_r0 and norm_rr0.  I will follow up on that in a separate PR.

The above review comments have been addressed, including the ordering of _split and _distributed.

Closing this - splitting by pulse is a more scalable approach than splitting by pixel.  I will submit a separate PR to do that.


Using JSON return values

I'm new to the Swifter Framework and have a question regarding the Swifter public methods.
I realize that most of the methods return JSON values in the form of statuses, but I am unsure as to how to implement or use these values. For example, I am trying to get the user's profile banner by passing in the username as a parameter:
self.swifter?.getUsersProfileBannerWithUserID(userName, success: { statuses in
guard let decodedPicture = UIImage(statuses) else {return}
})
However, the error "Some not found in type JSON" came up. In general, how would one go about using the Swifter framework for get requests and how can one implement it in fetching a user's banner image?

You have to check the API for GET users/profile_banner. In this case, if you wanted the image url for the web_reinta size, you do...
self.swifter?.getUsersProfileBannerWithUserID(userName, success: { json in
  guard let url = json["web_retina"]["url"].string else { return }
  // now you have the url
  guard let data = NSData(contentsOfURL: url),
        let decodedImage = UIImage(data: data) else { return }
  // now you have the image by using `decodedImage`
})

@meteochu thanks for the link to the documentation
I have implemented the code you provided, but it doesn't seem to return any values.
![screen shot 2016-07-04 at 10 18 09 pm]
(https://cloud.githubusercontent.com/assets/15108659/16574571/3f6d6cdc-4235-11e6-854f-f722a873600b.png)
Setting the user's username, etc works well but it doesn't even reach any of the following print statements.

You are using getUsersProfileBannerWithUserID: which requires you to input the userID and not the screen_name (userName), you should look at getUsersProfileBannerWIthScreenName: instead.

The problem is answered and should also be solved, I am now closing this issue.


UnhandledPromiseRejectionWarning: Error: Exited with code 3

Just installed, and when I tried to run I got the message below.
node version: 6.8.0
Webdash running on http://localhost:3456!
(node:25651) UnhandledPromiseRejectionWarning: Error: Exited with code 3
    at ChildProcess.cp.once.code (/home/vagrant/Code/platform/node_modules/webdash/node_modules/opn/index.js:85:13)
    at Object.onceWrapper (events.js:277:13)
    at ChildProcess.emit (events.js:189:13)
    at maybeClose (internal/child_process.js:970:16)
    at Socket.stream.socket.on (internal/child_process.js:389:11)
    at Socket.emit (events.js:189:13)
    at Pipe._handle.close (net.js:600:12)
(node:25651) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:25651) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Hey @eduardocruz
Apologies for the late reply
As mentioned in the Readme, this package requires Node > 8


Audio/Pipewire doesnt work when doing login via lemurs, but works when doing a manual startx to bspwm

Im using Fedora 39
systemd 254.7
After fixing the xsetup problem that was related to permissions, i encountered another problem, but now, with audio/pipewire, where it doesnt work
I did not find anything that indicates the problem in the logs
Tried to add the exec dbus-launch and pipewire in the launch script, but in the end, it did nothing, since i thought that was a dbus or pipewire launching problem at first
So i gone directly for pipewire and wireplumber, and looks like its modules and files arent being able to load or a unavailable
$ pipewire
[E][01591.956256] mod.protocol-native | [module-protocol-:  760 lock_socket()] server 0x561322308b90: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][01591.956753] pw.conf      | [          conf.c:  573 load_module()] 0x5613222e3500: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][01591.957051] default      | [      pipewire.c:  105 main()] failed to create context: Resource temporarily unavailable

$ wireplumber
M 14:10:00.368569          wp-device ../lib/wp/device.c:619:wp_spa_device_new_from_spa_factory: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
M 14:10:00.368601   script/libcamera libcamera.lua:173:chunk: PipeWire's libcamera SPA missing or broken. libcamera not supported.
W 14:10:00.377610                 pw ../spa/plugins/bluez5/upower.c:54:upower_get_percentage_properties_reply: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
W 14:10:00.382941  spa.bluez5.native ../spa/plugins/bluez5/backend-native.c:1840:sco_listen: listen(): Address already in use
W 14:10:00.383089  spa.bluez5.native ../spa/plugins/bluez5/backend-native.c:2393:register_profile_reply: RegisterProfile() failed: org.bluez.Error.NotPermitted
W 14:10:00.383104  spa.bluez5.native ../spa/plugins/bluez5/backend-native.c:2393:register_profile_reply: RegisterProfile() failed: org.bluez.Error.NotPermitted

But while using only startx (im not using a .xinitrc, im using only startx /usr/bin/bspwm), pipeiwire is loaded normally and i can play audio normally
(And without creating another issue, im having problems were poweroff, reboot, shutdown, ect. They have an output that says that it fails to call the program, since it need an interactive authentication. Call to PowerOff failed: Interactive authentication required.)

Forget both the pipeiwire and wireplumber outputs, i entered now via a manual startx and i saw that even here the output is the same
So idk what it is, idk where to look for to try to help

Ok, the last part is answeared with the issue #21
Maybe this logind problem can be the cause?


[BEAM-7824] Sets a default environment for Dataflow runner

Sets a default environment for Dataflow runner
Also sets the default environment and environments received from External transform to runner API proto.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @ihji
CC: @robertwb @angoenka

Run Python PostCommit

Run Python 2 PostCommit

Thanks Robert. PTAL.

Run Python_PVR_Flink PreCommit

Flink failure seems to be unrelated.


Feature/finish

Finnaly, I Finished!!!
Features:

lookup grades
join to online lessons
read school announcements
send, delete and read messages
and MANY MANY MORE

Rick rolled :/

Sorry, but I can't approve this

Sorry, but I can't approve this

merguj i to już

Został zamknięty z powodu robienia trolli w pliku README.md

Pozwólcie że usunę ten żart, już 22 maja :/


App gets crashed on launch in physical device

I am facing the same issue, the app crashes when I launch it on physical device. Can I have a solution for this, I have stated the log below
F/libc ( 5082): Fatal signal 11 (SIGSEGV), code 128, fault addr 0x0 in tid 5133 (.vritgroup.vrit)

Build fingerprint: 'samsung/j6ltedx/j6lte:8.0.0/R16NW/J600GDXU3ARL1:user/release-keys'
Revision: '2'
ABI: 'arm'
pid: 5082, tid: 5133, name: .vritgroup.vrit >>> com.vritgroup.vrit <<<
signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0
r0 c5bfdaa4 r1 c5bfdaf0 r2 b985dd06 r3 00000008
r4 00000000 r5 c5bfda98 r6 c8c3e3ec r7 7c3a3d12
r8 b985dd06 r9 b0406162 sl 71463ef2 fp 7c3a3f36
ip c5bfe014 sp 7c3a0796 lr 71200e7b pc ea71bc00 cpsr 60070010
backtrace:
#00 pc 00018c00 /system/lib/libc.so (sigsetjmp+136)
#1 pc 0050ce79 /system/framework/arm/boot-framework.oat
Lost connection to device.

@zoechi is this issue resolved?

@fayaz07
Can you provide a demo to reproduce this issue?
Besides, I can't find any hint that flutter is the cause for the crash given the stack you provided.

@kangwang1988 do you mean a demo video or the code?

@fayaz07
Code

import 'package:flutter/material.dart';
void main(){
runApp(new MaterialApp(
home: Splash(),
));
}
class Splash extends StatelessWidget{
@override
Widget build(BuildContext context) {
double height = MediaQuery.of(context).size.height;
double width = MediaQuery.of(context).size.width;
return Scaffold(
  body: Column(
    children: <Widget>[
      SizedBox(height: height*1/10,),
      SizedBox(child: Image.asset('assets/first_screen.png'),height: height*4/10,width: width*8/10,),
      SizedBox(height: height*2/10,),
      Center(child: CircularProgressIndicator(),)
    ],
  ),
);

}
}

I observed that this happens only in linux operating system, but when I tried in windows it worked fine. Even I have re-installed flutter, android dependencies but the result is same

it happened because of facebook login package

Is there any solution to this issue? I am also facing the same situation and ya I am using linux(ubuntu 18.04) too.

it happened because of facebook login package

Can you explain more?

I have the same issue but I didn't use facebook login package.
I use those:

flutter_auth_buttons: ^0.5.0
flutter_svg:
firebase_core: ^0.4.0+6
firebase_analytics: ^3.0.3
cloud_firestore: ^0.12.5+2
firebase_auth: ^0.11.1+7
google_sign_in: ^4.0.2
uuid:

My os is Win10 1903.
The only similarity between this issue and mine is I also use assets(a PNG and an SVG).
flutter doctor -v :

[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.18362.175], locale tr-TR)
• Flutter version 1.5.4-hotfix.2 at C:\flutter
• Framework revision 7a4c33425d (8 weeks ago), 2019-04-29 11:05:24 -0700                                                • Engine revision 52c7a1e849
• Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\Users\nerod\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)                                   • Platform android-28, build-tools 28.0.3
• Java binary at: C:\Users\nerod\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\183.5522156\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[√] Android Studio (version 3.4)
• Android Studio at C:\Users\nerod\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\183.5522156
• Flutter plugin version 36.1.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[√] IntelliJ IDEA Ultimate Edition (version 2019.1)
• IntelliJ at C:\Users\nerod\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\191.7141.44                               • Flutter plugin version 36.0.7
• Dart plugin version 191.7830
[√] VS Code (version 1.35.1)
• VS Code at C:\Users\nerod\AppData\Local\Programs\Microsoft VS Code                                                    • Flutter extension version 3.1.0
[√] Connected device (1 available)
• SM J710FQ • <IP_ADDRESS>:5555 • android-arm • Android 8.1.0 (API 27)
• No issues found!

Also, this issue occurs randomly. I started to debug process couple times on IntelliJ and its randomly solved by itself.

This happens to me in Windows too .

Duplicate of #27077


When unpacking a collection for serialization, also unpack the TypeSerializer.

Currently the only way to pass a list to a setValue with a type serializer is to make the type serializer contain Set<Type>.
This however throws an exception, such as the following,
ninja.leaping.configurate.objectmapping.ObjectMappingException: No serializer available for type java.util.Set<com.sk89q.craftbook.sponge.util.BlockFilter>
Note: There is a serializer for com.sk89q.craftbook.sponge.util.BlockFilter available.
As the contract of setValue and getValue implies that Lists are unpacked and appropriately serializable, unpacking for the TypeSerializer needs to be handled inside Configurate as well.

Are you sure it's not a Set vs List problem?

Yeah I'm sure, I just used those as examples.

@zml2008 Any updates on this?

This is because there's no Set TypeSerializer.

@zml2008 How would I create a TypeSerializer for Set? Is there a way I can recursively call another type serializer to serialize the contained type?


Allow more requests to be extended

In #782, we encapsulated the logic to execute multiple listeners in the base implementations. Let's generalize this even more to be implemented in the parent Listener class and let's expose a configuration to allow requests to be extended.
Something like this
class Hover < Listener
  extensible!
end

Then let's allow the following requests to be enhanced by extensions:

semantic highlighting
document symbols - https://github.com/Shopify/ruby-lsp/pull/949
definition - https://github.com/Shopify/ruby-lsp/pull/989

Today at the DX stream meeting we talked about that on some requests, we may need to expose more info or even make certain data mutable to our extensions. I think semantic highlight may be one of them.
Consider this:
class Foo < ApplicationRecord
  before_save :bar
end

Currently before_save is marked as a method with no modifiers by ruby-lsp. If ruby-lsp-rails wants to enhance it by assigning modifiers (e.g. declaration), the current way of merging response won't be able to achieve it.
@vinistock can you check if my understanding on this case is correct. And if it is, should we still make it extensible before we discuss further about the data flow between ruby-lsp/extensions?

Yes, your understanding is correct. We'll indeed need to think of a better strategy if two extensions want to modify the same semantic token. Let's put this on pause while we plan of a better abstraction for merging responses from extensions.

Waiting for https://github.com/Shopify/ruby-dev-exp-issues/issues/1050