First draft of AUTHORS.md

I'm adding the first version of AUTHORS.md to the repo. @aarppe, @atticusha, @Madoshakalaka, I wasn't sure how to organize this, so please provide suggests or edit it yourself!
EDIT: I may have also forgotten A LOT of people... whoops :/ let me know

Plz don't put me as Cree linguist.... Call me a 'quantitative' linguist or mayyyyyyyybe computational fieldworker. But keep doggo enthusiast.
In fact, even for Katherine it might be better to have something like 'Algonquian linguist', as I almost think 'Cree linguist' implies she is indigenous.

Good call! I incorporated your suggestions.

look fine


feat: generalized coder

Description
This is a WIP pull request, trying to deduplicate logic across services into the npm packages. This adds a generalized way to encode and decode the sequencer ctc elements
Metadata
Fixes

Fixes # [Link to Issue]

Contributing Agreement

[x] I have read and understood the Optimism Contributing Guide and Code of Conduct and am following those guidelines in this pull request.

Closing this in favor of the non-monorepo version of this


Cannot download NAIP images on s3 using boto

I‘ve configurated s3cfg, and i can download naip image via s3cmd fine, but when running bin/create_training_data.py, it ends up 403 error when downloading naip images.

That sounds like when running s3cmd within the Docker/script, your credentials are not being used.
Did you export your AWS credentials per the README?

I put the credentials into .s3cfg file right way inside the container, without setting docker container's environment parameter.

I followed the README, and export AWS credentials before runing the container and it works just fine. My bad.


AKS clusters may not use <IP_ADDRESS>/16, <IP_ADDRESS>/16, <IP_ADDRESS>/16, or <IP_ADDRESS>/24 for the Kubernetes service address range

Hi, I see these IP's:
<IP_ADDRESS>/16, <IP_ADDRESS>/16, <IP_ADDRESS>/16, or <IP_ADDRESS>/24
Are specified for the "Kubernetes service address range" but you cannot use this range for the cluster nodes as well.
Can this please be clarified in the documentation as it will help people avoid creating vnets, gateways etc with the incorrect vnet ranges.
It should be:
"AKS clusters may not use <IP_ADDRESS>/16, <IP_ADDRESS>/16, <IP_ADDRESS>/16, or <IP_ADDRESS>/24 for the cluster and service address ranges"
If I am misunderstanding something please let me know.

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

ID: 37ba0343-7e43-6e2e-e564-5d3a0f523a75
Version Independent ID: 0ba581a1-3e4a-27b4-c667-4a9b969a3ade
Content: Configure Azure CNI networking in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/configure-azure-cni.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

Thank you @ErgoPr0xy for the feedback.
The article now includes details that address your feedback:
https://docs.microsoft.com/azure/aks/configure-azure-cni#prerequisites
#please-close


Kubernetes - Token signed by untrusted key

I've been trying to deploy Harbor on kubernetes with an https frontend. The ui is working but I'm having trouble getting the registry itself to play ball.
When I make a request to log in to the registry it makes a request to the ui server which returns a token but I'm getting an untrusted key error:
time="2017-10-23T09:21:27.056187851Z" level=info msg="token signed by untrusted key with ID: \"XX\""  time="2017-10-23T09:21:27.056236601Z" level=warning msg="error authorizing context: invalid token" go.version=go1.7.3 http.request.host=kubernetes.london.XX.com http.request.id=1990cf8f-55f3-4cf4-86d3-cde0d788c609 http.request.method=GET http.request.remoteaddr=<IP_ADDRESS> http.request.uri="/v2/" http.request.useragent="docker/17.09.0-ce go/go1.8.3 git-commit/afdb6d4 kernel/4.4.0-96-generic os/linux arch/amd64 UpstreamClient(Docker-Client/17.09.0-ce \\(linux\\))" instance.id=860946ee-7681-4c7e-a8c7-b5c05108d9db service=registry version=v2.6.2
The registry is configured with the following configmap using our own certs:
Version: v1 kind: ConfigMap metadata:   name: harbor-registry-config data:   config: |     version: 0.1     log:       level: debug       fields:         service: registry     storage:       filesystem:         rootdirectory: /storage       cache:         layerinfo: inmemory       maintenance:         uploadpurging:           enabled: false       delete:         enabled: true     http:       addr: :5000       secret: placeholder       debug:         addr: localhost:5001     auth:       token:         issuer: harbor-token-issuer         realm: https://kubernetes.london.XX.com/service/token         rootcertbundle: /etc/docker/registry/root.crt         service: harbor-registry     notifications:       endpoints:         - name: harbor           disabled: false           url: http://ui/service/notifications           timeout: 3000ms           threshold: 5           backoff: 1s
And nginx is configured like this, again with the same certs:
` worker_processes auto;
events {
    worker_connections 1024;
    use epoll;
    multi_accept on;
}

http {
    tcp_nodelay on;

    # this is necessary for us to be able to disable request buffering in all cases
    proxy_http_version 1.1;

    upstream registry {
        server registry:5000;
    }

    upstream ui {
        server ui:80;
    }
    server {
        listen 443;
        server_name kubernetes.london.XX.com;
        ssl on;
        ssl_certificate /etc/nginx/https.crt;
        ssl_certificate_key /etc/nginx/https.key;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_prefer_server_ciphers on;
        ssl_ciphers "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128:AES256:AES:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK";

        #listen 80;
        #server_name kubernetes.london.XX.com;

        # disable any limits to avoid HTTP 413 for large image uploads
        client_max_body_size 0;

        # required to avoid HTTP 411: see Issue #1486 (https://github.com/docker/docker/issues/1486)
        chunked_transfer_encoding on;

        # rewrite ^/(.*) https://$server_name:443/$1 permanent;

        location / {
            proxy_pass http://ui/;
            proxy_set_header Host $http_host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

            # When setting up Harbor behind other proxy, such as an Nginx instance, remove the below line if the proxy already has similar settings.
            proxy_set_header X-Forwarded-Proto $scheme;

            proxy_buffering off;
            proxy_request_buffering off;
        }

        location /v1/ {
            return 404;
        }

        location /v2/ {
            proxy_pass http://registry/v2/;
            proxy_set_header Host $http_host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

            # When setting up Harbor behind other proxy, such as an Nginx instance, remove the below line if the proxy already has similar settings.
            proxy_set_header X-Forwarded-Proto $scheme;

            proxy_buffering off;
           proxy_request_buffering off;

        }

        location /service/ {
            proxy_pass http://ui/service/;
            proxy_set_header Host $http_host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

            # When setting up Harbor behind other proxy, such as an Nginx instance, remove the below line if the proxy already has similar settings.
            proxy_set_header X-Forwarded-Proto $scheme;

            proxy_buffering off;
            proxy_request_buffering off;
        }
    }
}`

Is it possible to permit the cert with some hack in the registry or am I barking up the wrong tree with this deployment?

I also have the same error. Yet it worked before I redeployed without changing anything yet.. I don't know what happens. Have you found a resolution track?

I haven't, although haven't had time to look at this as I've been off work for a few days. I suspect fundamental issue is the kubernetes deployment is a few steps behind the single server one.
I'd be interested to know if the Harbor registry server dislikes receiving SSL traffic encrypted by the same certificate as the interface server.
It is very frustrating as it feels like this is the last piece in the puzzle to get a fully encrypted registry server controlled by LDAP which is a major requirement for the environment I'm working in.

It seems that in my case it is because I'm using my own certificate authority so this could explain why I get an untrusted key ID error. So it's normal, although it doesn't explain to me why I didn't get this error on my previous deployment.
But if you are using a third authority to provide you the ca.crt and ca.key, there is really an issue..

We are using a third party cert, although we have had problems with Ubuntu boxes trusting the CA in the past so that may be the issue. I'll find out the issuer when I get back to the office.

@JPoser any update on this issue?

closing due to inactivity.

fixed by deleting and reinstalling the harbor chart


Hope to increase support for Tencent Cloud SMS

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
New Notification
🔖 Feature description
Similar to Alibaba Cloud SMS
API Documents：https://cloud.tencent.com/document/product/382/52077
✔ Solution
Send notifications using Tencent Cloud SMS
❓ Alternatives
No response
📝 Additional Context
No response

same issues

@ShiaBox feel free to provide support via a pull request. I don't use that provider
=> make sure to include the screenshots as requested in the contribution guide ^^


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[ios] enable specific framework usage

I am trying to build an ios version of my tauri app, which uses https://docs.rs/system-configuration. This fails with
Undefined symbols for architecture arm64:
  "_SCDynamicStoreCopyProxies", referenced from:
      system_configuration::dynamic_store::SCDynamicStore::get_proxies::h2d6ce7ba00ed1fce in libapp.a(system_configuration-07ca0bebaffd1b05.system_configuration.61a651945613f0b0-cgu.0.rcgu.o)
<...>

because the system configuration framework needs to be enabled when linking. I have not found a way to do this though through the configuration. Any pointers would be appreciated.

In src-tauri/gen/apple/project.yml, add - sdk: SystemConfiguration.framework under targets.<your-app>_iOS.settings.base.

That wasn't enough, need to add it manually to the xcode project using cargo tauri ios open


parameter initialization/sensitivity  (question)

Hi
I just started exploring with your toolbox and it looks very useful. I'm just curious about the parameters used to create the Latin Hyper cube, in one example it has a size 6 in another one it uses 50 samples. Based on the paper, I assume this hypercube generates an initialization of the model of your metric space based on the input hyper parameters, before the actual optimization (correct me if I'm wrong on this). I'm curious if there is a rule of thumb for correctly setting this value, and how sensitive your optimizer is to an underestimate of this value.
Thanks
Jonas

I assume you want to use GPFlowOpt for the hyperparameter optimization of your (deep learning) model. Then, yes, a latin hypercybe of 6 means that 6 hyperparameters are chosen to build the initial GP model.
There is absolutely no way to know what the ideal size is. If I remember correctly, (dimension*10)+1 was once proposed as a rule of thumb. The lower the better (as you need less expensive training cycles of your DL model), but not too low as the optimization might get stuck due to problems in the GP model building. For very low sizes (like 5 initial points) it is best to enable MCMC of the hyperparameters of the GP model to get a better variance estimate, but this comes at the cost of speed.

thanks


on re-render, set value of dropdown to "", or initial

https://user-images.githubusercontent.com/6789586/114484752-c5e08900-9bd8-11eb-9b49-5518989012bf.mov

Preview is available here:http://stellar-demo-wallet-pr133.previews.kube001.services.stellar-ops.com/

Updated to maintain dropdown value until modal is dismissed

Preview is available here:http://stellar-demo-wallet-pr133.previews.kube001.services.stellar-ops.com/


Babylon running at 100% CPU (even with simple rendering)

I have personally [along with other users] been experiencing egregiously high CPU rates while running even modest Babylon renders.
For example, I loaded up the Babylon Playground: https://www.babylonjs-playground.com/debug.html#PPC2HF
I checked my CPU usage as my fans started firing off, and saw that it was 100%. An Inspect-Element Performance Monitor showed insane levels: http://prntscr.com/130opj1
I created a profile while checking Performance, as well, in case it helps isolate the issue: https://drive.google.com/file/d/1ASzFTwK6rnf3Q6kIl-6qBcPESwfOe2lH/view
Finally, I have a GP63 MSi Leopard 8RD laptop, so I am running an Intel(r) UHD Graphics 630, along with an NVIDIA GeForce GTX 1050 Ti, and all drivers are updated. A buddy of mine with an older Lenovo laptop is getting similar values, too.
I have been trying to adjust settings to figure this out, but to no avail. Ultimately, I am making this report, as nothing else I [or cohorts] does can seem to impact this.
My device specifications:
MSI: Intel(r) Core(TM) i7-8750H CPU @ 2.20GHz 2.20 GHz, 16.0Gb Ram
64-bit operating system, x64-based processor
Windows 10 Home
2004
Any assistance, or fixes for this particular issue, would be greatly appreciated!
~LanderZ

@LanderZander Which browser and version are you using?

Many apologies; I forgot such an obvious point!
Both of us experiencing this issue are using Google Chrome: Version 90.0.4430.212 (Official Build) (64-bit)

Hey we ask people to discuss questions and everything not already validated on the forum (forum.babylonjs.com) as mentioned in the GitHub issue template.
Kindly closing for now(please simply post it on the forum)


New logging approach, uuid for window and reduce vapor logging

This contribution adds a new and more robust approach to logging.
The window now receives a UUID as the title for rediscovering it for capturing later.
The logging verbosity for vapor has been reduced.

Note: The new logging should be a drop-in replacement


CodeLens does not display in val declaration

This is strange looking code because [<DefaultValue>] was separated by empty CodeLens line

I get this in a net standard project too, just a new console app with this type:
type LocalDbContext() =

  [<DefaultValue>]
  val mutable private test : int

The following does work though:
type LocalDbContext() =

  [<DefaultValue>]
  let mutable test : int

This is an upstream issue with FCS as it does not return a valid property Symbol for a val defined like:
val mutable private test : int

scratch that, on further investigation its an issue with the interesting symbol function returning the int part rather than the test part symbol.

Im getting a Lens with this ^

Maybe the interim month have fixed this in FCS.

I’ll test that later today

I'm still not getting the code lenses for type signature and I'm getting wrong reference code lenses

In case of reference numbers (and I guess in the screenshot @7sharp9 posted) FSAC thinks that the symbol for which lens should be displayed is int rather than test

If you take out the CR between the attributes and val they seem to appear, I had to restart though.

As expected - this is indeed a bug in FCS, I've fixed that with https://github.com/dotnet/fsharp/pull/10727 which means that in a few months time we will have this in Ionide.


Cannot create TimeSignal with pts 0

>>> import threefive
>>> c = threefive.Cue()
>>> c.command = threefive.TimeSignal()
>>> c.command.time_specified_flag = True
>>> c.command.pts_time = 0.0
>>> c.encode()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/davide/work/oss/scte35-threefive/threefive/cue.py", line 235, in encode
    cmd_bites = self.command.encode()
                ^^^^^^^^^^^^^^^^^^^^^
  File "/home/davide/work/oss/scte35-threefive/threefive/commands.py", line 128, in encode
    self._encode_splice_time(nbin)
  File "/home/davide/work/oss/scte35-threefive/threefive/commands.py", line 151, in _encode_splice_time
    raise ValueError("\033[7mA float for pts_time for the splice command is required.\033[27m"
ValueError: A float for pts_time for the splice command is required.

I assume pts_time needs to be tested against None rather than for falsiness.

change _encode_splice_time in commands to this
def _encode_splice_time(self, nbin):
"""
_encode_splice_time Table 14 - splice_time()
"""
self._chk_var(bool, nbin.add_flag, "time_specified_flag", 1)
if self.time_specified_flag:
nbin.reserve(6)
if not isinstance(self.pts_time,float):
raise ValueError("\033[7mA float for pts_time for the splice command is required.\033[27m"
)
nbin.add_int(int(self.as_ticks(self.pts_time)), 33)
else:
nbin.reserve(7)

fixed.


OLS-419: More detailed errors in HTTP REST API responses

Description
OLS-419: More detailed errors in HTTP REST API responses
An example of error response (formatted using jq):
Sorry, an error occurred:

{
  "detail": {
    "response": "Error while validating question",
    "cause": "Failed to handle request to [https://bam-api.res.ibm.com/v2/text/generation/limits?version=2023-11-22.\n{\n](https://bam-api.res.ibm.com/v2/text/generation/limits?version=2023-11-22.%5Cn%7B%5Cn) 'error': 'Unauthorized',\n 'extensions': {\n 'code': 'AUTH_ERROR',\n 'state': null,\n 'reason': 'TOKEN_INVALID'\n },\n 'message': 'Invalid or missing JWT token',\n 'status_code': 401\n}"
  }
}

Type of change

[x] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue #OLS-419
Closes #

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

/retest

/retest

/lgtm

/approve


Rework Font Loading To Optimize Performance and Simplicity

Currently, font loading is still not working as it should We are getting a flash of unstyled text. I went to great lengths to make sure this didn't happen. I'm thinking I need to opt for something simpler and more lightweight if this problem will persist anyway :/

Closed when we rolled out our "inter" font.


add submissions email

Let me know if we should tweak the wording

I squashed our commits into one on the branch and forced pushed.

Unit test taking longer than usual. Maybe it's that time of the evening...the hour of the wolf or something.

It's the post-run/checkout step where it is lingering


Support for BatchHandlerMethodArgumentResolver

The purpose of this PR
Replace hard code in BatchLoaderHandlerMethod  with BatchHandlerMethodArgumentResolver, and support custom BatchHandlerMethodArgumentResolver.
1、Why spring-graphql should support BatchHandlerMethodArgumentResolver
User will define arguments on field, no matter whether the field is fetched by DataLoader or fetched directly( n+1 way). And user will always want to get additional information about field, such as Directives, FieldDefinition.
In conclusion, we'd better suport pass all the information of DataFetchingEnvironment to batch handler method.  That said BatchLoaderHandlerMethod should support argumentResolve strategies  which resolving argument values  into various  method parameters, and developers could custom their BatchLoaderHandlerMethod.
2、The way spring-graphql support BatchHandlerMethodArgumentResolver
Replace dataLoader.load(env.getSource()) with dataLoader.load(env.getSource(), env).
	static class BatchMappingDataFetcher implements DataFetcher<Object> {
                ......
		@Override
		public Object get(DataFetchingEnvironment env) {
			DataLoader<?, ?> dataLoader = env.getDataLoaderRegistry().getDataLoader(this.dataLoaderKey);
			if (dataLoader == null) {
				throw new IllegalStateException("No DataLoader for key '" + this.dataLoaderKey + "'");
			}
                         // pass DataFetchingEnvironment to DataLoader and other component
			return dataLoader.load(env.getSource(), env);
		}
	}

Brief change log

replace BatchLoaderHandlerMethod#resolveArgument with BatchHandlerMethodArgumentResolver, and support custom BatchLoaderHandlerMethod ;
add strategies: ArgumentBatchMethodArgumentResolver、ArgumentMapBatchMethodArgumentResolver、ArgumentsBatchMethodArgumentResolver and update document;
support for validate batchHandlerMethod input;
add unit tests for ArgumentBatchMethodArgumentResolver and the capability of custom BatchHandlerMethodArgumentResolver.

@larsduelfer I think this pr may not merged into main branch. there is an issue about this pr #232

issue-232: @BatchMapping methods are meant to provide a simple shortcut to eliminate boilerplate for the most common case.

You can use dataLoader with arguments in this way:
@Controller
public class BookController {

    public BookController(BatchLoaderRegistry registry) {
        registry.forTypePair(Long.class, Author.class).registerMappedBatchLoader((authorIds, env) -> {
            // return Map<Long, Author>
        });
    }

    @SchemaMapping
    public CompletableFuture<Author> author(Book book, DataLoader<Long, Author> loader) {
        return loader.load(book.getAuthorId());
    }
}

apply filters on those

Even in the way of @BatchMapping, you still could not filter list in batch method, because you must assurence that the number of return list/map is equal to the number of parent-source-list.


After the zip is installed, no icon shows up.

After I installed the zip file, no icon shows up. This happened after I installed it successfully, uninstalled it and try to install it again.

It happened to me too. But for me, when I removed the jar file from the extensions folder, the extension did not get fully uninstalled, I still had the icon. So I went in Tools > Features and selected the "Installed Updates" tab. Then I just selected keepalive and press the uninstall button.
After restart the icon disapeared.
Then I went to install again and the icon stopped apearing. It looks like it did not install properly.

I had this happen to me as well on Windows 7. However I solved the problem by starting SQL Developer with right click and "Run as administrator" and then installing the extension again. Didn't bother uninstalling after the first failed attempt.
Anyhow with the run as admin the icon appeared, not next to the save all button though but at the very end of the toolbar.

It seems to me that these problems are not entirely my extension's fault, but also due to a bad handling from SQL Developer of plugin installing/uninstalling. Do you agree?
Of course there might be some errors in the extension package, but I think that good software should refuse to install a broken plugin instead of breaking.
I think klix suggestion to run SQL Developer with privileges is good if it makes things work, but I don't know why (could it be related to the fact of necessary privileges under Linux? See the Installation Guide in the wiki).
Please comments with your thoughts, right now I don't see any effective way to tackle the problem as I think part of the responsibility is on SQL Developer.

I agree with you, I think  most of the problem here is the way SQL Developer handles extensions.
Running SQL Developer with privileges doesn't work for me, so there might be other causes underlying.
I'll keep trying to find another way to work around it and if I find something I'll report back.

I'm running windows 7 64 bit, and SQL Developer 4.0.3, and am having the same issue. I've tried the 'run as admin' trick too but nothing will get the icon to show up

@Gene333 and anyone else still having problems: I'm going to close this issue as I think it's now clear that this type of problem has nothing to do with the extension development, but rather with external variables like file permissions, and most users succeeded in resolving the problems (cf. issue #12).
Please make sure that you run SQL Developer with elevated privileges, and only then (re)install the extension. You can also try changing the permissions on SQL Developer's directories, as I suggested to do on Linux.
If you do not succeed, feel free to open a new issue; in that case, please clearly state the problem, all the useful information you can provide about your environment, and the exact steps you have already tried to solve the issue. Thank you.

Closing as related to issue #12, the same resolution applies.

I can confirm that this is a problem caused by permission. Solved by installing sqldeveloper in my home folder.


Codesandbox.io examples using old dependencies

The one that I've ran into an issue with is "styled-components": "^4.0.0", where some bugs with props and attributes have been resolved in v5, and so testing components in the sandbox may yield unexpected results; but some of the other packages probably need updating too.
Example link from Box docs: https://codesandbox.io/s/github/grommet/grommet-sandbox?initialpath=/box&module=/src/Box.js&file=/package.json:866-896
<3

Thank you for reporting!


Prepare 0.5.2 release

Summary
This commit is to prepare the 0.5.2 release. It backports the relevant fixes from master to include in the release and bumps the version string to 0.5.2. After this merges we can tag the merge commit as 0.5.2.
Details and comments
This needs to be merged with a merge commit to preserve the backport history.

This looks like it's blocked on the terra release. CI is installing qiskit-terra 0.16.3 as a dependency for ignis, and then when it goes to install from the stable branch (as per https://github.com/Qiskit/qiskit-ignis/pull/555/commits/86d9130fb5f84d645e6f9673fc46a62ceb7b4e9f ) the version string is still 0.16.3 so pip decides it doesn't have to do anything. This results in the numpy deprecation warnings still being printed

This is ready to go now, CI is taking a super long time because it looks like the stable branch is trying to run with parallelism enabled on mac with python >=3.8 so it's spawning for each new process which is making the runs exceedingly slow. If I need to bump this for any other reason in review I'll fix that at the same time.


feat: add toBuilder for resource definitions

What this PR changes/adds
It adds a toBuilder() method for all ResourceDefinitions.
Why it does that
During policy evaluation, functions may modify a ResourceDefinition. When each definition is re-created from scratch, information may get lost. Therefore, definitions should be convertable to a builder that can be easily modified.
Linked Issue(s)
Closes #1717
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[x] added/updated copyright headers?
[x] documented public classes/methods?
[ ] added/updated relevant documentation?
[x] assigned appropriate label? (exclude from changelog with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Currently, all subclasses of ResourceDefinition have to call initialize the base class's id and transferprocessId properties by invoking
    .id(id)
    .transferProcess(transferProcessId)
    //

Maybe that could be done by the ResourceDefinition class to avoid code duplication? Also, if the base class ever receives another property, that would have t be re-done in all the subclasses...

@paullatzelsperger good point, updated it


Site down

https://caniuse.com/
https://downforeveryoneorjustme.com/caniuse.com?proto=https

🤷🏻

Thanks for reporting, yeah there's been some intermittent outages lately, still trying to determine the cause.

Seems to have stabilized now, so closing this ticket.


file-loader [id] placeholder support for name property

Lets assume that I use file-loader this way:
{
  test: /\.html$/,
  loader: 'file-loader',
  options:{
    name: "[name].[ext]",
    outputPath: 'dist/'
}

When I have got 2 entry points of the same name, but in different directories, eg.

src/componentA/template.html
src/componentB/template.html

and want to emit them as separate chunks to my dist folder, the one file overwrites another file and it is not desirable behaviour.
I can of course change name property for name:[name][hash].[ext] and it does the trick, but I just want to separate files of the same names, not to solve cache problems and what's more, if I emit eg. .html files as in the example and use dev-server, it emits new hashed .html file on every build (when I edit html files) what is not recommended as mentioned in this webpack-dev-server issue.
The [id] placeholder indicating the number of the chunk would be the best way to get what I want. The output.filename and extract-text-webpack-plugin supports [id] for example. Would it be possible to add [id] placeholder support or maybe there's any other solution of my problem?

[path] ?

@devrafalko Thanks for issue! Duplicate https://github.com/webpack-contrib/file-loader/issues/114


help wanted

Can you provide me the /MalGraph/data/ directory?

Sorry for that as we obtain all malware samples from VirusTotal and we are strictly restricted from sharing them with others.


samba: 4.17.3 -> 4.17.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/samba/versions.
meta.description for samba is: "The standard Windows interoperability suite of programs for Linux and Unix"
meta.homepage for samba is: "https://www.samba.org"
meta.changelog for samba is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.17.4 with grep in /nix/store/0p3mg1jbjgj8g0x5y4gm54rfv19z48n5-samba-4.17.4
found 4.17.4 in filename of file in /nix/store/0p3mg1jbjgj8g0x5y4gm54rfv19z48n5-samba-4.17.4

Rebuild report (if merged into master) (click to expand)

266 total rebuild path(s)

266 package rebuild(s)

First fifty rebuilds by attrpath
MIDIVisualizer
adapta-gtk-theme
almanah
appvm
arcanPackages.all-wrapped
arcanPackages.arcan
arcanPackages.arcan-wrapped
arcanPackages.cat9-wrapped
arcanPackages.durden-wrapped
arcanPackages.ffmpeg
arcanPackages.pipeworld-wrapped
arcanPackages.prio-wrapped
arcanPackages.xarcan
autofs5
bottles
bubblemail
calls
ceph
ceph-client
ceph-csi
ceph-dev
chatty
check_zfs
cinnamon.cinnamon-common
cinnamon.cinnamon-control-center
cinnamon.cinnamon-gsettings-overrides
cinnamon.cinnamon-screensaver
cinnamon.nemo
clementine
collectd
corrscope
diffoscope
docker-machine-kvm
docker-machine-kvm2
easysnap
elementary-planner
empathy
endeavour
enum4linux
enum4linux-ng
evolution
evolution-data-server
evolution-data-server-gtk4
evolution-ews
evolutionWithPlugins
exactaudiocopy
far2l
ffmpeg-full
ffmpeg_5-full
folks

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0p3mg1jbjgj8g0x5y4gm54rfv19z48n5-samba-4.17.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A samba https://github.com/r-ryantm/nixpkgs/archive/bb252b470d7249fd6bc44eeab0868c357790aef3.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0p3mg1jbjgj8g0x5y4gm54rfv19z48n5-samba-4.17.4
ls -la /nix/store/0p3mg1jbjgj8g0x5y4gm54rfv19z48n5-samba-4.17.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @aneeshusa for testing.

@ofborg test samba


Add System.Numerics.Matrices

Adds System.Numerics.Matrices
Based on a text-template which can support any sized matrix
Created up to 4x4 matrices initially (up for discussion)
Adds tests for each matrix type
Tests are text template generated, therefore easy to add to each matrix type
Adds a .gitignore to the System.Numerics.Matrices directory to ignore TT temp files

/CC @KrzysztofCwalina how is the style/formatting. I can address those issues now and then worry about technical issues as they come up (they always come up). :smirk:

@whoisj, could you give me some context for this PR? Why is it being added to corfxlab? What is there some writeup describing the feature?

Mutable struct with equality feels scary. Why not immutable?

@KrzysztofCwalina it is here because you asked for it to be here (https://github.com/dotnet/corefx/pull/1846).
There's no write up, though I suppose given enough time I could find the time to do a write up. I mostly added this because in several previous project we've had need for matrices and always ended up rolling our own. The .NET library doesn't supply any kind of matrices and there's not really a great reason not to.
@JohanLarsson I don't understand how this is scary? If you touch the struct you'll get a copy anyways, so any edits would be on your local copy - unless it was passed by ref in which case it is expected that you might edit it. All other structs are editable.

@whoisj, ah, thanks for pointing me to the thread. It's been so long. The thread will provide good context.


mAP using this seems low

It seems like the mAP values on this are a bit low, if I'm understanding them correctly. The mAP at https://github.com/experiencor/basic-yolo-keras says you get a max value of just over 42, while the original YOLOv2 was closer to 70 I believe. Do you have thoughts on why it's so much lower? Know of other users who have managed to do better?
I'm in a group using an implementation of this in a project and currently our implementation has topped out at around 48 mAP (also using the cocoapi to calculate it) and so far we've been unable to push it higher. Normally I'd start to wonder if there was an error in the loss function to get values so much below the published paper results on a pre-trained network, but we've found no error so far and if others are using this with success then that seems far less likely too. Which leaves me somewhat at a loss though; thoughts on what accounts for the difference? Or am I misunderstanding something? Or are others able to close this gap and these two instances just don't?
Many thanks for sharing a great project.

@JNatael Very sorry for the delay. I was on holiday. The one that scores 42 is the official YOLO weight (https://pjreddie.com/media/files/yolo-voc.weights). You may want to refer to Yolo Step by Step for loading this weight to the FullYolo network.

Hi, may you confirm if my understanding is correct.
running your code train.py using Full yolo (pretrained weights downloaded from your provided link) will be obtained mAp = 28,6
running your code yolo step by step using yolo weight from pjreddie web page will be obtained mAp = 42
Is the different mAP due to only the file with the weights used ?

@algila Running train.py will get you to mAP 28.6. The mAP 42 is scored by the official YOLO model (https://pjreddie.com/media/files/yolo-voc.weights).

In Yolo Step-by-Step.ipynb you upload the weights from the official YOLO mode (In [7] and In [8]) so I suppose you should catch mAP=42 but in the following line (In [13]) why you overwrite the official weights reinizializing last Conv Layer with random ?
layer   = model.layers[-4] # the last convolutional layer
weights = layer.get_weights()

new_kernel = np.random.normal(size=weights[0].shape)/(GRID_H*GRID_W)
new_bias   = np.random.normal(size=weights[1].shape)/(GRID_H*GRID_W)

layer.set_weights([new_kernel, new_bias])

Is it correct that just commenting the above we should obtain mAP=42 ?

@algila Yes, you are right. I randomize the last layer just to train the network again as a test to see if my custom loss is implemented correctly.


Take into account ~/.config/snek5000/configfile.yml

See https://snek5000.readthedocs.io/en/latest/configuring.html
I think now only ~/.config/snek5000/.yml is taken into account.

I don't understand. Is this a documentation issue? Snek5000 looks for the 3 places in total.
https://github.com/exabl/snek5000/blob/3788fe9ed06ad746cb30a76d2ae92b853349521b/src/snek5000/output/base.py#L209-L227

The problem is with the f"{host}.yml". On a cluster, we would need one config file per node, since {host} is different for each node.

See https://github.com/exabl/snek5000/commit/2c7ac9e5a37720c215c7be28c49071698c64658e (I'm going to create the PR when #107 will be merged).

@paugier This is good to go.


Customizable columns

This PR adds a "column chooser" to all the list views in Headlamp, so users can choose to hide/show certain columns.
Acceptance Criteria:

[ ] For all list views, there's a column-chooser button next to the filter button:

[ ] When clicked, the column-chooser button shows a popup with all the columns in the respective table
[ ] Clicking to hide/show columns does effectively hide/show them
[ ] When moving to another view and then back, Headlamp "remembers" the hidden/shown columns

fixes #366

Thanks for the review Ashu.

Right now customizing column is limited to ResourceTable only but should we add this to other tables as well like SimpleTable or NamespaceTable??

This was done on purpose like this. The SimpleTable is increasing in complexity and for having it support the tables, it'd require getting its own id prop and others.
So my view is that the SimpleTable already shows the columns we want to show or hide, by providing a different list of columns. So the mechanism to select them in the UI should be done at a higher level.
Since the ResourceTable already has an id and is being used in a lot of places, we can use it to set up the column chooser.
About the NamespaceTable, I didn't add support for choosing its rows, since the new design doesn't need it, but since the ColumnChooser is its own independent component, we can easily add it later.

The identity of a table right now is attached to the resource type it is, should we attach it to the view instead?? Example if i customize the column in Pod table anywhere Pod table is used the changes will be reflected with the changes we have as of now.

I am not sure I understand this one, but each table should have its own ID. e.g. if a pods table is in 2 different places, it should have 2 different ids (unless it's representing the exact same view). If we have an id being used in different locations, then we should rename the id.

@joaquimrocha there is a merge conflict other then that this LGTM


Update tag-support.md

Markings tags support as Yes for billing profiles and invoice sections.

#sign-off


Prefer FOUNDRY_RELEASE_URL to fetching by USERNAME/PASSWORD

🚀 Feature Proposal
Current behavior is that use FOUNDRY_USERNAME/FOUNDRY_PASSWORD (and FOUNDRY_VERSION if necessary) to fetch release URL even if you already set FOUNDRY_RELEASE_URL env var.
https://github.com/felddy/foundryvtt-docker/blob/70ead2b6f15a0dfe0bdb9037f90f03e189d8154b/src/entrypoint.sh#L69-L79
Requested feature is that always prefer FOUNDRY_RELEASE_URL if set, if it's invalid, use USERNAME/PASSWORD/VERSION to fetch S3 release URL, i.e.
 if [ "${FOUNDRY_RELEASE_URL:-}" ]; then
   log "Using FOUNDRY_RELEASE_URL to download release."
   s3_url="${FOUNDRY_RELEASE_URL}"
 elif [[ "${FOUNDRY_USERNAME:-}" && "${FOUNDRY_PASSWORD:-}" ]]; then
   log "Using FOUNDRY_USERNAME and FOUNDRY_PASSWORD to authenticate."
   # CONTAINER_VERBOSE default value should not be quoted.
   # shellcheck disable=SC2086
   ./authenticate.js ${CONTAINER_VERBOSE+--log-level=debug} "${FOUNDRY_USERNAME}" "${FOUNDRY_PASSWORD}" "${cookiejar_file}"
   # shellcheck disable=SC2086
   s3_url=$(./get_release_url.js ${CONTAINER_VERBOSE+--log-level=debug} "${cookiejar_file}" "${FOUNDRY_VERSION}")
 fi

Motivation
FOUNDRY_RELEASE_URL is a more detailed option, should be at higher priority than USERNAME/PASSWORD and especially because it explicitly specifies version other than the default VERSION argument or env var.
Example
docker run -e FOUNDRY_RELEASE_URL='https://dl/linux/fvtt.zip' -e FOUNDRY_USERNAME='myAccount' -e FOUNDRY_PASSWORD='myPassword' felddy/foundryvtt
It should use https://dl/linux/fvtt.zip to download instead of fetching release URL by USERNAME/ACCOUNT.
Pitch
Foundry VTT Docker behavior related.

I agree.  This is a good idea, and makes sense.  I'll try to work on this tomorrow.
Thank you for the well-written proposal!


Use trace log level

We are not using the trace log level (the most fine-grained) at all.
I guess to clean up a little bit the debug logs, we can replace some of the debug events with trace where it is appropriate.

Closing based on merge of #454


ApiKey not used on Login

I could be mistaken, but from reading it, the apiKey is never used to login and only username and password are.
https://github.com/demisto/demisto-py/blob/b4c27a46b037ee940f9ce3f641afff63174d9c17/demisto/client.py#L64

@SHSauler the API key is used here:
https://github.com/demisto/demisto-py/blob/master/demisto/client.py#L53
Note that you don't need the Login() funcation when you have given an apiKey argument

Oh, I see. Thanks for clarifying!


1.17

i did it for you (lazy, didnt configure it to rename output file to not fabric-example-mod so i manually renamed it)
credit me in readme pls
SongPlayer.zip

ok i made a repo https://github.com/ayunami2000/SongPlayer-1.17

This repository is rather bare-bones and missing all of the gradle files, so it would probably be easier for me to update it from scratch, but thank you for going through the effort of updating it. If you make a fork of the repository and make a pull request, I'll accept your changes so that you would be listed as one of the contributors.
I was originally planning on updating this once totalfreedom updated to 1.17 anyway, so if you don't feel like it don't worry about it.

can u just credit me in the readme once you update to 1.17

Ah, my bad, I thought you were talking about being credited for the port.
Alright, you've been asking this for a while and my main reason for holding off, as I've said before, was that my implementation is not based on yours. It is a derivative of my older SongBot project and uses an entirely different framework from your bot. I have not used or referenced your code when creating SongPlayer.
However, I don't think this is worth arguing about any further, so how does this sound:
You were indeed the first person to create a functioning music bot that places noteblocks with preexisting nbt data such that it does not need to tune the noteblocks or place the correct blocks underneath them, so I will credit you with the original proof-of-concept of this mechanism. I will also add a link to your repl or repository if you provide me one. In order to explain what part of the mechanism is something you have implemented before me, I will add a section explaining the mechanism of the bot in more detail.
If you agree, I will update the readme as soon as I have time.

I am talking about being credited for the port actually. I don't need
credit for the mechanism. That would be cool though, but not necessary.
On Tue, Jun 22, 2021 at 3:50 PM hhhzzzsss @.***> wrote:

Ah, my bad, I thought you were talking about being credited for the port.
Alright, you've been asking this for a while and my main reason for
holding off, as I've said before, was that my implementation is not based
on yours. It is a derivative of my older SongBot project and uses an
entirely different framework from your bot. I have not used or referenced
your code when creating SongPlayer.
However, I don't think this is worth arguing about any further, so how
does this sound:
You were indeed the first person to create a functioning music bot that
places noteblocks with preexisting nbt data such that it does not need to
tune the noteblocks or place the correct blocks underneath them, so I will
credit you with the original proof-of-concept of this mechanism. I will
also add a link to your repl or repository if you provide me one. In order
to explain what part of the mechanism is something you have implemented
before me, I will add a section explaining the mechanism of the bot in more
detail.
If you agree, I will update the readme as soon as I have time.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hhhzzzsss/SongPlayer/issues/1#issuecomment-866285462,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF5DB4A3GECXHIBKMK3A43DTUDSRBANCNFSM467WYBZA
.

Oh, alright. I'll link your repo in my readme. I'll add a part on how you were the first to implement the mechanism as well anyway, since I already offered to. Does your old repl still exist?

I have no memory but if you mean the kaboom bot then that is on glitch. I
don't remember the name of it though.
On Tue, Jun 22, 2021 at 10:10 PM hhhzzzsss @.***> wrote:

Oh, alright. I'll link your repo in my readme. I'll add a part on how you
were the first to implement the mechanism as well anyway, since I already
offered to. Does your old repl still exist?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hhhzzzsss/SongPlayer/issues/1#issuecomment-866466178,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF5DB4DSKERAQSGUWCC66D3TUE67XANCNFSM467WYBZA
.

Oh, okay. Well I'll be closing this issue then. The update will come as soon as I work out all the gradle issues.


🐛 BUG: wrangler dev --port=0 will randomize the port again on script reload

Which Cloudflare product(s) does this pertain to?
Wrangler
What version of Wrangler are you using?
3.1.0
What operating system are you using?
macOS
Describe the Bug
// ./index.ts

export default { fetch() { return new Response('hi') } }

npx wrangler dev index.ts --port=0
This might start up and be made available at something like http://<IP_ADDRESS>:56142. When you edit the file, it'll be made available at a totally new port (e.g. http://<IP_ADDRESS>:23482). When I specify --port=0, I expect a random port the first time, but then any reloads should re-use this port so it stays consistent.

Miniflare's Runtime class should allow updates to their construction options (especially port and IP)


4.6.0-0.okd-2021-01-23-132511: UPI - Fresh install not possible (console fails to start); OVNKubernetes

Describe the bug

I had successfully installed OKD 4.6 but console fails to start with error:
2021-02-13T10:57:48Z auth: error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps.dev.okd.lan/oauth/token failed: Head https://oauth-openshift.apps.dev.okd.lan: http: server gave HTTP response to HTTPS client
The behavior is very similar to:
https://github.com/openshift/okd/issues/183
https://github.com/openshift/okd/issues/159
https://github.com/openshift/okd/issues/141
Version

UPI - VMware ESXi, 6.7.0, 17167734
OKD - 4.6.0-0.okd-2021-01-23-132511
FCOS - 33.20210104.3.0
How reproducible

100% Provision a cluster on UPI using versions above
Log bundle

oc describe pod console-654c76c58f-5tnbr -n openshift-console
...
State:       Running
Started:   Sat, 13 Feb 2021 14:02:58 +0300
Last State:  Terminated
Reason:    Error
Message:   uest to OAuth issuer endpoint https://oauth-openshift.apps.dev.okd.lan/oauth/token failed: Head https://oauth-openshift.apps.dev.okd.lan: http: server gave HTTP response to HTTPS client
2021-02-13T10:56:48Z auth: error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps.dev.okd.lan/oauth/token failed: Head https://oauth-openshift.apps.dev.okd.lan: http: server gave HTTP response to HTTPS client
2021-02-13T10:56:58Z auth: error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps.dev.okd.lan/oauth/token failed: Head https://oauth-openshift.apps.dev.okd.lan: http: server gave HTTP response to HTTPS client
2021-02-13T10:57:08Z auth: error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps.dev.okd.lan/oauth/token failed: Head https://oauth-openshift.apps.dev.okd.lan: http: server gave HTTP response to HTTPS client
2021-02-13T10:57:18Z auth: error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps.dev.okd.lan/oauth/token failed: Head https://oauth-openshift.apps.dev.okd.lan: http: server gave HTTP response to HTTPS client
2021-02-13T10:57:28Z auth: error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps.dev.okd.lan/oauth/token failed: Head https://oauth-openshift.apps.dev.okd.lan: http: server gave HTTP response to HTTPS client
2021-02-13T10:57:38Z auth: error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps.dev.okd.lan/oauth/token failed: Head https://oauth-openshift.apps.dev.okd.lan: http: server gave HTTP response to HTTPS client
2021-02-13T10:57:48Z auth: error contacting auth provider (retrying in 10s): request to OAuth issuer endpoint https://oauth-openshift.apps.dev.okd.lan/oauth/token failed: Head https://oauth-openshift.apps.dev.okd.lan: http: server gave HTTP response to HTTPS client
...

Please attach log bundle
Also could you give https://amd64.origin.releases.ci.openshift.org/releasestream/4.6.0-0.okd/release/4.6.0-0.okd-2021-02-13-102225 a try?

as an FYI, it sometimes take a long time for authentication to come up successfully.  Console will not be available until then...

@fortinj66
1 day - is it a long time?
@vrutkovs
log bundle ~ 300Mb. Where can I load it?

Any file sharing service of your choice - and post a link here

@vrutkovs
https://cloud.mail.ru/public/8Q1L/87Z38aDG9

Your bootstrap has completed, you must take down that node
your bootstrap and masters are receiving a short name from DHCP/PTR. It should be a FQDN
your machineNetwork is wrong - config has cidr: <IP_ADDRESS>/16 but actual IPs are 192.168.0.x

As a result, etcd rejects oauth-server connection and auth server doesn't come up

"Your bootstrap has completed, you must take down that node"
VM was started only for log-bundle.
"your bootstrap and masters are receiving a short name from DHCP/PTR. It should be a FQDN"
"your machineNetwork is wrong - config has cidr: <IP_ADDRESS>/16 but actual IPs are 192.168.0.x"
Could you please provide a link to this in the documentation? I never found this description.

@vrutkovs about FQDN
How to get FCOS to apply correct hostname settings obtained via DHCP?
bootstrap console log:

from DHCP
...
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4894] dhcp4 (ens192): option dhcp_lease_time      => '7200'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4898] dhcp4 (ens192): option domain_name          => 'dev.okd.lan'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4898] dhcp4 (ens192): option domain_name_servers  => '<IP_ADDRESS>'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4898] dhcp4 (ens192): option domain_search        => 'dev.okd.lan okd.lan'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4898] dhcp4 (ens192): option expiry               => '1613409580'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4898] dhcp4 (ens192): option host_name            => 'bs'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4898] dhcp4 (ens192): option ip_address           => '<IP_ADDRESS>'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4899] dhcp4 (ens192): option next_server          => '<IP_ADDRESS>'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4899] dhcp4 (ens192): option requested_broadcast_address => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4899] dhcp4 (ens192): option requested_domain_name => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4899] dhcp4 (ens192): option requested_domain_name_servers => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4899] dhcp4 (ens192): option requested_domain_search => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4899] dhcp4 (ens192): option requested_host_name  => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4900] dhcp4 (ens192): option requested_interface_mtu => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4900] dhcp4 (ens192): option requested_ms_classless_static_routes => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4900] dhcp4 (ens192): option requested_nis_domain => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4900] dhcp4 (ens192): option requested_nis_servers => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4900] dhcp4 (ens192): option requested_ntp_servers => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4900] dhcp4 (ens192): option requested_rfc3442_classless_static_routes => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4901] dhcp4 (ens192): option requested_root_path  => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4901] dhcp4 (ens192): option requested_routers    => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4901] dhcp4 (ens192): option requested_static_routes => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4901] dhcp4 (ens192): option requested_subnet_mask => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4902] dhcp4 (ens192): option requested_time_offset => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4902] dhcp4 (ens192): option requested_wpad       => '1'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4902] dhcp4 (ens192): option routers              => '<IP_ADDRESS>'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4902] dhcp4 (ens192): option subnet_mask          => '<IP_ADDRESS>'
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4902] dhcp4 (ens192): state changed unknown -> bound
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.4929] device (ens192): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
...

Network Manager Script Dispatcher
...
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.5130] manager: NetworkManager state is now CONNECTED_LOCAL
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.5141] manager: NetworkManager state is now CONNECTED_SITE
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.5142] policy: set 'Wired connection 1' (ens192) as default for IPv4 routing and DNS
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.5144] policy: set-hostname: set hostname to 'bs' (from DHCPv4)
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.5149] device (ens192): Activation: successful, device activated.
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.5156] manager: NetworkManager state is now CONNECTED_GLOBAL
Feb 15 15:19:51 localhost NetworkManager[805]:   [1613402391.5163] manager: startup complete
...

Starting Hostname Service...
...
Feb 15 15:19:51 bs systemd[1]: Started Hostname Service.
Feb 15 15:19:51 bs systemd-resolved[720]: System hostname changed to 'bs'.
Feb 15 15:19:51 bs systemd-hostnamed[3680]: Changed hostname to 'bs'
...

I added hostname as the kernel arguments and machineNetwork: - cidr: <IP_ADDRESS>/24 to the install-config.yaml. Nothing changed.

I checked it on new release. Nothing changed.
Version
UPI - VMware ESXi, 6.7.0, 17167734
OKD - 4.6.0-0.okd-2021-02-14-205305
FCOS - 33.20210117.3.2
Log bundle
https://cloud.mail.ru/public/YFoT/BZiBTJ8fh
Issue
https://github.com/openshift/okd/issues/513

@borbul2007 Is this still an issue?


textDocument/formatting does not pass model options

I might be doing something wrong but the languageClient does correctly send a textDocument/formatting payload to the lsp server whenever the action: editor.getAction('editor.action.formatDocument').run(), but the options it pass are an empty object: {} when I would have expected it to be the model options which have been set to model.updateOptions({ tabSize: 4, insertSpaces: true }). This result in deno lsp returning an error because it expects tabSize to be there.

I think you need to implement the configurations field in the workspace service

@CGNonofr not sure to fully follow.
I tried inside the clientOptions:
						middleware: {
							workspace: {
								configuration: (params, token, configuration) => {
									return [
										{
											tabSize: 4,
											enable: true,
											insertSpaces: true
										}
									]
								}
							}
						}

but that did not seem to do the trick

I think it's 'editor.tabSize'. Btw you should probably implement it in the service itself (Services.install)

Fixed by #359


I notice that if the object's too small / thin, it couldn't be detected, is it possible to configure the Intel Realsense D455 / program to detect thin and flat objects?

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{D400 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
<Describe your issue / question / feature request / etc..>

Hi @Nandomonaiya  If an object is thin then changing the Depth Unit Scale setting from its default value of 0.001 to 0.0001 may help to improve the image, as described at https://github.com/IntelRealSense/librealsense/issues/8228 when depth-sensing a toothpick and generating a pointcloud.
Thin objects can be difficult for the camera to see, as demonstrated in the recent case at the link below where high-up power lines were depth sensed with a D455 at a far range of around 20 meters with no background but open air behind them.
https://support.intelrealsense.com/hc/en-us/community/posts/17214523195155
In regard to minimum size, an object on the image should take up at least 9 pixels on the image in order to be trackable - please see https://github.com/IntelRealSense/librealsense/issues/4175

I will try the method, thank you. Also, is it possible to make the camera measures only length and width? therefore if the objects too small / thin, the height could be defaulted as a fixed variable

If you are able to use Python then the box_dimensioner_multicam example may suit your needs.  It can automatically measure the length, width and height of an object and display the values in mm.  So you coud potentially check the length and width values and then default to height if the values are below a certain amount.
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python/examples/box_dimensioner_multicam
The example requires that the camera is first pointed at a chessboard image placed on the floor and then place the object on the chessboard when prompted by the program so that the object can be measured.
The purpose of the chessboard is to calibrate together the positions of multiple cameras arranged around the board, though if you are only using a single camera (the example works with just one camera) then it is possible to remove the need for the chessboard by editing the project's code to provide it with the intrinsics of your camera.  There is a discussion about this at https://github.com/IntelRealSense/librealsense/issues/9951

Hi @Nandomonaiya  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


Can JustSaying be used with akka.net ?

If yes, do we have any example ?

@zorrme what is your use case? You could publish a message via JustSaying in an actor, or you could subscribe to messages with just saying and send them to actors, sort of forwarding them.

I am trying to use akka.net and JustSaying in an asp.net mvc web app for some background processing. Right now I have configured JustSaying event bus in an akka.net actor's pre-start and am sending a message to another actor upon receiving a message in JustSaying. I am hoping this approach will be efficient  and will not slow down my webapp ?

I would have done the bus configuring in the Startup.cs/App_Start/Global.asax, but I don't know akka.net well enough, I think the JustSaying bus isn't optimised for short lived situations, it does some api calls to ensure stuff is created, if you are doing this on each publish I'm not sure how well the will work under large load. If you can share an instance across your publishing actors, that would be better IMO.


copilot autocomplete not showing when using lsp zero

i’ve switched recently from manual lsp config to lsp zero default. since then the copilot plugin seems to had stoped working, there are no virtual text suggestions.

If you are using zbirenbaum/copilot.lua, you can check the solution on this issue: https://github.com/VonHeikemen/lsp-zero.nvim/issues/57

If you are using github/copilot.vim and it's not doing inline completion, try running :Copilot status. If it says that <Tab> map has been disabled or is claimed by another plugin then you should add these lines on your config after the plugin loads:
    vim.g.copilot_assume_mapped = true
    vim.g.copilot_no_tab_map = true

Then configure a keymap to accept suggestion. In my case I configure :
    vim.api.nvim_set_keymap("i", "<C-u>", 'copilot#Accept("<CR>")', {
      silent = true,
      expr = true
    })

@brunobmello25 thx, I think this fixes the issue. i found a similar post, not mentioning the vim.g.copilot_assume_mapped = true option


getInitialState not calling after webpack + babel

src:
export default class extends React.Component {

  getInitialState() {
    alert(77)
    return {
      index: 0
    }
  }

  render() {
    return (
      <View>
      </View>
    )
  }
}

transformed:
_createClass(_class, [{
	    key: 'getInitialState',
	    value: function getInitialState() {
	      alert(77);
	      return {
	        index: 0
	      };
	    }
	  }, {
	    key: 'render',
	    value: function render() {
	      return _React$StyleSheet$Text$View$ScrollView2['default'].createElement(_React$StyleSheet$Text$View$ScrollView.View, null);
	    }
	  }]);

and React.createClass works fine.
Should I not use babel?
Look forward native supports let / const, use babel maybe not a good choice.

@leecade - there is did you mean to do AlertIOS.alert(77)?
Regardless, because this isn't currently supported in the standard build of react-native, you might have better luck discussing it here: https://github.com/roman01la/react-native-babel or in irc. :smile:

Also, es6 React.Component has a different signature. See: https://facebook.github.io/react/blog/2015/01/27/react-v0.13.0-beta-1.html#es6-classes
export default class extends React.Component {
  constructor(props, context) {
    super(props, context);
    this.state = {index: 0};
  }

  render() {
    return (
      <View>
      </View>
    )
  }
}

good point @iamdustan - that should fix it for you @leecade

ok thanks @iamdustan


Created a Hilt example with a view model scoped custom component

This PR is a heavily modified https://github.com/airbnb/MvRx/pull/495
MavericksViewModels no longer extend Jetpack ViewModels. However, we want to make sure that we have a story for how to use it with Hilt and its new @ViewModelScoped scope.
I couldn't figure out how to integrate Mavericks with its corresponding ViewModelComponent. However, I was able to create the same setup with a custom component instead. It achieves the same thing and I can't think of any downsides.
@elihart If we land this, I'll put up another PR with more docs.
https://github.com/airbnb/MvRx/issues/502
@elihart @denis-bezrukov @rohandhruva @marukami

@elihart to your point of not extending ViewModel, I am not convinced either way to be honest. What do you think?

@elihart to your point of not extending ViewModel, I am not convinced either way to be honest. What do you think?

@elihart @rohandhruva it looks like Hilt doesn't support AssistedInject either. In an experiment, I made MavericksViewModel extend ViewModel again, updated the factory and annotated the ViewModel and got:

ViewModel constructor should be annotated with @Inject instead of @AssistedInject.

@elihart @rohandhruva it looks like Hilt doesn't support AssistedInject either. In an experiment, I made MavericksViewModel extend ViewModel again, updated the factory and annotated the ViewModel and got:

ViewModel constructor should be annotated with @Inject instead of @AssistedInject.

@gpeal , thank you for this -- it looks great!
Looks like there's an open issue to address @AssistedInject in view models: https://github.com/google/dagger/issues/2287
I'm not sure if assisted inject is the right fit for a Mavericks View Model which already has support for custom factories. My main motivation for reconsidering the ViewModel hierarchy was the ability to use the new @ViewModelComponent, but it would seem that the custom component you introduced achieves almost the same purpose.
The only difference is that a custom component does not easily flow in the hierarchy of hilt's models, but I think that's also achievable with some generated component manager tricks.

@gpeal , thank you for this -- it looks great!
Looks like there's an open issue to address @AssistedInject in view models: https://github.com/google/dagger/issues/2287
I'm not sure if assisted inject is the right fit for a Mavericks View Model which already has support for custom factories. My main motivation for reconsidering the ViewModel hierarchy was the ability to use the new @ViewModelComponent, but it would seem that the custom component you introduced achieves almost the same purpose.
The only difference is that a custom component does not easily flow in the hierarchy of hilt's models, but I think that's also achievable with some generated component manager tricks.

@rohandhruva What do you mean it doesn't flow in the hierarchy of Hilt's components? It is a child of SingletonCompoennt. ViewModelComponent is a child of ActivityRetainedComponent but for all intents and purposes, they should behave the same.

@rohandhruva What do you mean it doesn't flow in the hierarchy of Hilt's components? It is a child of SingletonCompoennt. ViewModelComponent is a child of ActivityRetainedComponent but for all intents and purposes, they should behave the same.

If I understand correctly, we lose on the ability to distinguish between dependencies shared across multiple injection in the same viewmodel, versus across all viewmodels, that is described here.
That said, thinking of a use case where you want an object which is scoped across all mavericks viewmodels, but not a singleton, seems very contrived :) So I agree, there's no practical difference.

If I understand correctly, we lose on the ability to distinguish between dependencies shared across multiple injection in the same viewmodel, versus across all viewmodels, that is described here.
That said, thinking of a use case where you want an object which is scoped across all mavericks viewmodels, but not a singleton, seems very contrived :) So I agree, there's no practical difference.

@rohandhruva I don't understand how there is any difference at all in the behavior of @ViewModeScoped and @MavericksViewModelScoped

@rohandhruva I don't understand how there is any difference at all in the behavior of @ViewModeScoped and @MavericksViewModelScoped

On a second read, I realized that both @Singleton and @ActivityRetainedScope have the same exact effect here, so you're right -- there's no difference at all!

On a second read, I realized that both @Singleton and @ActivityRetainedScope have the same exact effect here, so you're right -- there's no difference at all!

How about a new artifact mvrx-hilt that will expose the classes from the com.airbnb.mvrx.hellohilt.di package? I think that might be helpful


Close database connection?

When I running the quickstart example, do I need to close database connection? or it will be closed automatically?
from flask import Flask
from flask_pymongo import PyMongo

app = Flask(__name__)
mongo = PyMongo(app)

@app.route('/')
def home_page():
    online_users = mongo.db.users.find({'online': True})
    # mongo.db.close()
    return render_template('index.html',
        online_users=online_users)

Hi @RingWong -- you basically shouldn't do this. PyMongo, like most database drivers, maintains a connection pool from your application to the database server in order to ensure that requests are as fast as possible (ie so that each request doesn't have to establish a new connection).
It doesn't sound like it, but I'd be remiss if I didn't ask: do you have some specific needs or use case where closing the connection is desirable?

Closing this now, but please update if you still have any questions.

Hi @dcrosta
Thank you for your help. I just curious for  it, which without closing the connection explicitly.

Hi Dan @dcrosta ,
Can I re-open this issue? Or, at least comment on it?
I am having an issue with far too many connections remaining open to the point that the MongoDB Atlas connections limit becomes maxed out. I can upgrade for more connections, and will do before deploying to production, but I fear upgrading will not actually solve the problem.
This is regarding a flask app served from Google Cloud, GAE Standard Environment, which spins up app instances dynamically.
My first question for you: How many connections should remain open in the connection pool maintained by PyMongo? Is there a standard number?
Looking forward to your response,
Rose


feat: WebRTC-Direct support for Node.js

Supports listening and dialing WebRTC Direct multiaddrs in Node.js.
Depends on:

[ ] https://github.com/libp2p/go-libp2p/issues/2827
[ ] https://github.com/paullouisageneau/libjuice/pull/248
[ ] https://github.com/paullouisageneau/libdatachannel/pull/1206
[ ] https://github.com/paullouisageneau/libdatachannel/pull/1207
[ ] https://github.com/murat-dogan/node-datachannel/pull/258
[ ] https://github.com/murat-dogan/node-datachannel/pull/259
[ ] https://github.com/murat-dogan/node-datachannel/pull/260
[ ] https://github.com/murat-dogan/node-datachannel/pull/256

Closes:

https://github.com/libp2p/js-libp2p/issues/2581

Change checklist

[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation if necessary (this includes comments as well)
[x] I have added tests that prove my fix is effective or that my feature works

I read the code a bit, in this implementation when Peer B listens, it first listens for incoming stun packets using dgram, extracts the ufrag, and then establishes a connection with Peer A from another port. This works fine in a direct network connection.
But if Peer A is behind NAT, this type of connection will fail because the NAT detects incoming packets from another port, which was not accessed from inside before.

I haven't got to the point of testing NAT traversal yet, still a lot of PRs to land in the deps.
I was wondering if each RTCPeerConnection could negotiate it's own NAT traversal via STUN/TURN but it would probably be less resource intensive to have UDPMUX on a single port, I agree.

I was wondering if each RTCPeerConnection could negotiate it's own NAT traversal via STUN/TURN.

From a logic perspective, even though multiple RTCPeerConnections share a single UDP socket in UDPMUX mode, each of them manages their own status separately and there is no difference compared to regular RTCPeerConnections. This means that the negotiation process for them is also no different from regular RTCPeerConnections.


Add Search (React)

Add a search bar to the page. It doesn't have to do anything just yet, but it should be reasonably styled (i.e. not the default input styles) and available on every page. It should be its own component too (i.e. make a SearchBar component)

Hello @NicholasLYang Its my first time contributing and i want to start with this. Is there any more info you would like me to know to get started on this.

Hi @oyin-k! Great! I'll help you get started. I would create a new file in client/src/js/modules/core/components called SearchBar.tsx. This will be a React component, consisting of an input and some styles. For styles we're using React JSS. The way this works is, you define your styles in a JS object, then wrap the component in a higher order component called injectSheet. To get an idea of how that works, check out other components, like School.tsx.
Once you create the component, let me know and we can discuss where to put it. Feel free to ask me any questions whatsoever. If you're not familiar with React, TypeScript, or really any part of the stack, I'll be happy to teach you what I know. Good luck!

Thanks @NicholasLYang  I'm so on this. Will hit you up soonest.

Hello @NicholasLYang  I'm having some difficulty getting rbenv to work on my windows machine.

Ok thanks

Hey @NicholasLYang. I finally got the dev server to run but i'm not seeing anything on the front end (http://localhost:3002).

When i ran sh install.sh i saw this:
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

up to date in 30.795s

when i ran sh run.sh i saw:
<EMAIL_ADDRESS>dev C:\Users\Oyinkan\Documents\Code\Projects\OSS\chanceMe\chance-me\client
> node app --dev & gulp dev

C:\Users\Oyinkan\Documents\Code\Projects\OSS\chanceMe\chance-me\client/dist/dev
chance-me [v0.0.1] (DEV MODE)
-> currently running at http://localhost:3002 in HTTP Insecure mode
(to enable HTTPS, run app with the flags "https", "ssl_cert" and "ssl_key")

Yeah, you're probably not running this on bash. Are you running these commands on the Windows terminal? If so, they won't work. For now, could you cd into the client directory and run gulp? Let me know if that works.

Hello @NicholasLYang. How are you doing. i ran gulp and the home page came up but it i was getting this Error. Data failed to fetch.

Hey, sorry about all this mess. I wrote these scripts assuming a Unix based system, which in retrospect was not very smart. Anyways, that's great! This just means that the script run.sh isn't working. So as a work around, you can open two tabs in your command line. Then, in one tab cd into client and run npm run dev. In the other tab, simply run bin/rails server. Ideally, this should run the Rails server in one tab and the gulp dev server in the other tab. Let me know if it works!

Still not working @NicholasLYang when I run bin/rails server in bash. It's giving me this:  Your Ruby version is 2.5.1, but your Gemfile specified 2.5.0 (Bundler::RubyVersionMismatch). I have been trying to get a work around or a fix but I'm still having issues with it.

Okay, yeah. Did you install rbenv with ruby-build as per the GoRails
tutorial? If so, you can install Ruby 2.5.1 by running rbenv install 2.5.1 and then setting it as your global version by doing rbenv global 2.5.1
On Sat, Aug 4, 2018 at 4:59 PM, Oyinkan Oyetunmibi<EMAIL_ADDRESS>
wrote:

Still not working @NicholasLYang https://github.com/NicholasLYang when
I run bin/rails server in bash. It's giving me this: Your Ruby version is
2.5.1, but your Gemfile specified 2.5.0 (Bundler::RubyVersionMismatch). I
have been trying to get a work around or a fix but I'm still having issues
with it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NicholasLYang/chance-me/issues/10#issuecomment-410477297,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHBFp9zXSv9xytEf1rsluquU-9OJh1DTks5uNgs1gaJpZM4UdvRe
.

Oops, make that 2.5.0, sorry
On Sat, Aug 4, 2018 at 5:07 PM, Nicholas Yang<EMAIL_ADDRESS>wrote:

Okay, yeah. Did you install rbenv with ruby-build as per the GoRails
tutorial? If so, you can install Ruby 2.5.1 by running rbenv install 2.5.1 and then setting it as your global version by doing rbenv global 2.5.1
On Sat, Aug 4, 2018 at 4:59 PM, Oyinkan Oyetunmibi <
<EMAIL_ADDRESS>wrote:

Still not working @NicholasLYang https://github.com/NicholasLYang when
I run bin/rails server in bash. It's giving me this: Your Ruby version
is 2.5.1, but your Gemfile specified 2.5.0 (Bundler::RubyVersionMismatch).
I have been trying to get a work around or a fix but I'm still having
issues with it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NicholasLYang/chance-me/issues/10#issuecomment-410477297,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHBFp9zXSv9xytEf1rsluquU-9OJh1DTks5uNgs1gaJpZM4UdvRe
.

Hey @NicholasLYang. I wasnt able to get this to go but is there anyway i can contribute to this without all that setup i want to learn from the project and the tech stack.

Hey, unfortunately, you can't really contribute without being able to run the code. Did you ever install rbenv? The point of rbenv is that you can keep multiple versions of Ruby (like 2.5.1 and 2.5.0) on the same computer and switch between them easily. There's also an add on to rbenv called ruby-build that allows you to install these different versions easily. If you have these two things installed, you should be able to get Ruby 2.5.0 very easily and run the code.
However, if you can't get this to run, I'll happily give you advice or feedback on any projects you're interested in. Let me know if you're working on anything in particular and I'll get back to you with feedback.

Heys thanks is there anyway we can chat privately.

Oops, sorry! Think I forgot to respond to this. Yeah, feel free to send me an email at ny585 at nyu.edu


Create Scope.set_extras

The idea is to add a method that makes easy to add more than one extra at the same time.

Could you add this consistently for set_tags etc too? We already have this in the JS SDK and I believe it would be good if it worked the same (so close!)

Also please add global methods like in #540

Sure!!
I'll work on it tomorrow, is that ok?
Thanks.

Of course!
On Wed, Oct 23, 2019, 16:13 Marcelo Theodoro<EMAIL_ADDRESS>wrote:

Sure!!
I'll work on it tomorrow, is that ok?
Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/getsentry/sentry-python/pull/530?email_source=notifications&email_token=AAGMPRNDNR7YPHQ6VUKOAT3QQBLYTA5CNFSM4JAUVK4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECBR7GQ#issuecomment-545464218,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGMPRIH2RKYV76JBLZNUKTQQBLYTANCNFSM4JAUVK4A
.


Implement Discord Rich Presence

This PR adds Discord Rich Presence support to OpenGOAL using the discord-rpc library. It shows the current level you are in, as well as your power cell, orb and scout fly count. There are also some special cases to show when you are in the intro, the title screen, watching a cutscene or fighting the final boss.
In the future, it would be nice for it to also show things like whether you are driving the zoomer or riding on Flut Flut and if you are currently fighting plant-boss or ogreboss, but I haven't figured that out yet.
It hasn't been tested on Linux yet, but it should work on Windows unless I messed something up in CMake.
Tested on both Linux and Windows.
This will obviously need to be reconfigured heavily for Jak 2 and 3, but it should be a good starting point for now.

It might be a good idea to put the version or git commit hash of the discord library somewhere, just so we can remember which version we're using.

The version of discord-rpc I'm using is the latest tagged release on the repo (couldn't get the latest commit to build). The library is deprecated, but is still widely used and considered stable.

I'm not sure why it still fails to link the library on CI, but I just tried it again on Windows and it builds fine.

Hm... I'm not sure I can help for windows, but I can take a look at linux.


upgrade doesn't restart logger when log script has changed

I incorrectly believed that restarting a service also restarts its logger. I'll need to do that explicitly when appropriate.
I need to decide on when that is. Maybe:

Main Script Changed?
Logger Script Changed?
Restart Main!
Restart Logger!

✓
✓
✓
✓

✓
✘
✓
✘

✘
✓
✘
✓

✘
✘
✘
✘

Fixed in 2.0.1


install packages in a single step

Install system packages in one step instead of iterating over them
Use name parameter instead of alias pkg

Good stuff. I'm slowly updating my other roles for this too.


[9.x] Implement Symfony Mailer

This PR replaces SwiftMailer with Symfony Mailer. Special thanks to @Jubeki for his help with this PR.
See https://symfony.com/blog/the-end-of-swiftmailer
Todo

[x] Convert SES transport to symfony/amazon-mailer
[x] Convert MailgunTransport to symfony/mailgun-mailer
[x] Convert PostmarkTransport to symfony/postmark-mailer
[x] Solve all concerns in this thread
[x] Test all transports
[x] Add support for Postmark's Message Streams when https://github.com/symfony/symfony/pull/42941 is merged
[x] Add support for session tokens in the SES transport when https://github.com/symfony/symfony/pull/42982 is merged

Breaking changes

send, html, text & plain don't return the number of recipients anymore but an instance of Illuminate\Mail\SentMessage which contains the Symfony\Component\Mailer\SentMessage instance
All Swift methods were renamed to Symfony
The Illuminate\Mail\Message class now contains an instance of Symfony\Component\Mime\Email instead of Swift_Message so all forwarding calls in userland will need to be updated
SwiftMailer plugins will no longer work
Setting the auth_mode in the mail config was removed (see https://github.com/symfony/symfony/pull/33237)
It's no longer possible to get a list of failed recipients. Instead, if an email is failed to send, and exception will be thrown (see https://github.com/symfony/symfony/issues/33812)
Setting stream options for the SMTP transport can no longer be done through an smtp key. Instead you need to set the options directly in the config. For example, when disabling TLS peer verification (see https://github.com/symfony/symfony/pull/35262)
SwiftMailer offered the ability to set a custom domain to generate Message ID's through register it to mime.idgenerator.idright. This is no longer possible with Symfony Mailer. Instead, Symfony Mailer will automatically generate a Message ID based on the sender and add it to a message automatically (see https://github.com/laravel/framework/pull/38481#discussion_r698741133)
It is no longer possible to force a reconnection (for example when the mailer is running through a daemon process). Instead, Symfony Mailer will properly attempt to reconnect the transport itself and error out if that fails (see https://github.com/laravel/framework/pull/38481#discussion_r698745540 and https://github.com/laravel/framework/pull/38481#discussion_r707671469).

Possible improvements

✅ ~We could wrap Symfony\Component\Mailer\SentMessage to add some nice API methods like retrieving recipients, etc~
It might be interesting to provide support for MAILER_DSN strings to set up transports. This will allow much more thorough configuration for transports and we could at the same time provide BC support for the old configuration schemes.

Design Choices
Symfony Mailer vs Symfony Transport
Previously a Swift_Mailer instance was provided to the laravel Mailer instance. I didn't opt to instantiate a Symfony Mailer instance because in some situations you'd need to interact with the transport (like the array and log transport) and there's no getter for the transport on the Symfony Mailer instance. Since we don't use the Symfony logger or events functionality, I decided to pass the TransportInterface instead. You can think of Laravel's Mailer class to be a direct replacement for Symfony's Mailer class.
Docs
https://github.com/laravel/docs/pull/7306

I don't think we can remove this: The Postmark X-PM-Message-Stream header won't be set anymore (see [8.x] Make it possible to set Postmark Message Stream ID #35755)
If the Symfony version of the Postmark driver doesn't support it we should probably just write our own Postmark transport for Symfony Mailer.

I don't think we can remove this: The Postmark X-PM-Message-Stream header won't be set anymore (see [8.x] Make it possible to set Postmark Message Stream ID #35755)
If the Symfony version of the Postmark driver doesn't support it we should probably just write our own Postmark transport for Symfony Mailer.

You probably would only need to change the getPayload function for the Postmark(API) Transport.
https://github.com/symfony/postmark-mailer/blob/bd270db549b314e60da8991485137d68dbbd68de/Transport/PostmarkApiTransport.php#L77-L116
There you would need to add the key MessageStream (https://postmarkapp.com/developer/api/email-api)
If you were using the Postmark SMTP Transport it would still be possible to use the header like before. (https://postmarkapp.com/developer/user-guide/send-email-with-smtp in the Section Connection-Details)

@driesvints Regarding the Postmark X-PM-Message-Stream header.
The current Swift Mailer Implementation of the Postmark Transport also works with the API. There it also just attaches the Header to the request and it seems to be working fine right now.
Because Symfony Postmark Mailer works the same way as the Swift Version. The headers are attached to the request and it may just work out of the box.
I can't verify this because I never worked with Postmark before and don't have an account there.

@Jubeki thanks for all your investigation. I did some of my own and it turns out that Message Streams are a documented feature after all. I've sent a PR to Symfony to provide support for it and all the details are in the PR: https://github.com/symfony/symfony/pull/42941

@driesvints yeah it is documented for sure. What I meant was that the current implementation (Laravel 8.x) uses the X-PM-Message-Stream header together with the Postmark API. I only found documentation for the Header in the SMTP Section of Postmark and not in the API Section. So I was just wondering how the current Implementation is even working as intended.

@Jubeki I guess Postmark both accepts a X-PM-Message-Stream header and a MessageStream value set on its payload for the API endpoint. Either will set the Message Stream I suspect.

Also maybe another concern which should be addressed:
What if somebody sets the X-PM-Message-Stream header on a email instance. Which value will be choosen?
In Laravel 8.x the header would overwrite the default.
With the new implementation in 9.x there is both the header and the json entry present. Which has a higher priority?
Maybe the header should be transformed into a MessageStreamHeader or be filtered out to overwrite the default?

@driesvints @Jubeki can we revisit the force reconnection stuff? Was there a longer discussion of that somewhere? Do we have a good grasp over why we did that in the past and the ramifications of removing that behavior?

@taylorotwell @Jubeki has added the SentMessage instance. I suggest adding the new methods to it later on in a separate PR so we don't let this PR become too large.

@Jubeki thanks for all your help with this! ❤

I also have to say thanks to you @taylorotwell and @driesvints. You are doing really great work with Laravel.
Learning by doing is the best way to learn for me. Even more so if you don't want to work on your bachelor thesis or learn for your exams. 😂

Thanks a lot for all your help @Jubeki!

@driesvints hey, i think there could be issue with this.
Im simple doing:
Mail::to(['me@gmail.com'])->send(new test());

and i get this error: Object of class Symfony\Component\Mime\Address could not be converted to string on that line above.
Im using "laravel/framework": "^9.0", i also tried multiple different ways and the issue is always the same, alsso theres no way to specify recipient name?

@dyanakiev I just tried your example on a fresh Laravel 9 App. Can you please provide a repository?
laravel new bug-symfony-mailer --dev --github="--public"

If you don't have GitHub CLI:
laravel new bug-symfony-mailer --dev
git init
git add .
git commit -m "Setup Laravel Project"

Then add your changes and commit them.

@Jubeki thanks, i just tried with your repo and theres no issue, im really confused about what is happening..

Method Illuminate\Mail\Mailer::getSwiftMailer does not exist.
i have error please give me solution


namespaced store module state is not cleared

The issue is that the state from namespaced store modules is not cleared before each request, so one user can see the remains of state from other user. Here is the code to reproduce it:
/store/index.js
import Vuex from 'vuex'

import user from './modules/user'

const createStore = () => {
  return new Vuex.Store({
    modules: {
      user
    }
  })
}

export default createStore

/store/modules/user.js
export default {
  namespaced: true,

  state: {
    profile: null
  },

  mutations: {
    getProfile(state ) {
      state.profile = { date: new Date() }
    }
  }
}

/middleware/set-user.js
export default function ({ store }) {
  console.log(store.state.user.profile) // you will see here the value from previous request, or null if this is the first request
  if (!store.state.user.profile) {
    // store.state.user.profile should be null in middleware
    // for some reason it takes the value from previous requests
    store.commit('user/getProfile')
  }
}

/pages/index.vue
<template>
  <section class="container">
    {{ user }}
  </section>
</template>

<script>
import { mapState } from 'vuex'
export default {
  computed: mapState({
    user: state => state.user.profile
  }),
}
</script>

Here is the repo to reproduce the issue
Steps to reproduce the issue:

npm run dev
Enter http://locahost:3000. You will see null output from middleware.
Refresh the page. You will see that the console.log from middleware will return the value from previous request

I noticed that everything works fine if the module is not namespaced

I've had similar issues, which I have solved by making sure to return a function for state.
I don't know if this is a good solution, but it at least stopped sharing user info for me.
You can read more here: https://vuex.vuejs.org/en/modules.html#module-reuse

You should likely just update to:
export default {
  namespaced: true,

  state(): {
    return {
        profile: null
    };
  },

  mutations: {
    getProfile(state ) {
      state.profile = { date: new Date() }
    }
  }
}

It solved the issue. Thank you!


Feat cpp auth gen

Add a small application that creates C++ classes for the Go-based auth code.
This commit also adds a tiny test in encode_auth.cc, but many more tests will be needed.

  LGTM.


Can't execute a simple example

Hi, strugglin with "Getting started" example with no luck in any browsers.

ie, chrome: DriverServiceNotFoundException was unhandled - OpenQA.Selenium.DriverServiceNotFoundException' occurred in WebDriver.dll
Additional information: The file c:\chromedriver.exe does not exist. The driver can be downloaded at http://chromedriver.storage.googleapis.com/index.html
firefox: WebDriverException was unhandled - An unhandled exception of type 'OpenQA.Selenium.WebDriverException' occurred in WebDriver.dll
Additional information: Cannot find Firefox binary in PATH or default install locations. Make sure Firefox is installed. OS appears to be: OpenQA.Selenium.Platform

Schould be anything installed? Specific browser version? Anything missing in description?

Yes you have to have firefox installed to use it.  To use Chrome you have to download chrome driver and put it in c:\
If you do not like putting it in c:\ you can put it somewhere else and change the path canopy use

Internet explorer also has a driver like chrome and you need to put it in c:\ or configure it.

We will update the getting started to make this more clear.

Thank you!
I had already installed firefox, but x64 one in "C:\Program Files\Firefox\firefox.exe". Tried with latest 32 bit version - works.
Also have downloaded latest chrome and IE drivers, both to local ".\drivers" directory. Like you described, added the path - works too.
let driversDir = """.\drivers"""
configuration.chromeDir <- driversDir
configuration.ieDir <- driversDir

Would it be a good idea to bootstrap download them to the local dir, like it does Paket?.
Now IE (version 11 installed) can open the page, but throws another exception at line "#welcome" == "Welcome":
OpenQA.Selenium.NoSuchWindowException was unhandled by user code
Message: An exception of type 'OpenQA.Selenium.NoSuchWindowException' occurred in
WebDriver.dll but was not handled in user code
Additional information: Unable to get browser

I had the same problem with IE just now until I followed these instructions:

The IEDriverServer exectuable must be downloaded and placed in your PATH.
On IE 7 or higher on Windows Vista or Windows 7, you must set the Protected Mode settings for each zone to be the same value. The value can be on or off, as long as it is the same for every zone. To set the Protected Mode settings, choose "Internet Options..." from the Tools menu, and click on the Security tab. For each zone, there will be a check box at the bottom of the tab labeled "Enable Protected Mode".
Additionally, "Enhanced Protected Mode" must be disabled for IE 10 and higher. This option is found in the Advanced tab of the Internet Options dialog.
The browser zoom level must be set to 100% so that the native mouse events can be set to the correct coordinates.
For IE 11 only, you will need to set a registry entry on the target computer so that the driver can maintain a connection to the instance of Internet Explorer it creates. For 32-bit Windows installations, the key you must examine in the registry editor is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE. For 64-bit Windows installations, the key is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE. Please note that the FEATURE_BFCACHE subkey may or may not be present, and should be created if it is not present. Important: Inside this key, create a DWORD value named iexplore.exe with the value of 0.

Found here: https://code.google.com/p/selenium/wiki/InternetExplorerDriver#Required_Configuration

To answer your other question, I have thought about packaging the drivers, but they are 5-11 megs each and there are several, 3 OS + x64 and x86, so it would add a lot of size to the nuget package.

I didn't mean nuget but rather fsx alike, wich just does download. But it is anyway useless, if the drivers require some more dancing with a tambourine.
Followed your instructions. Now IE works too! will go and try it out and make useful. Great thank :+1:

You are welcome, enjoy!


Quantization as a transform

🚀 Feature
quantization as a transform
Implement a thing similar the quantization models run in
https://github.com/Lightning-AI/litgpt/blob/main/tutorials/quantize.md
by using a transform on the vanilla model.

Long fixed.


GetCodecsByName method;

added method for getting codecs by name;
Description
It's mostly useful when we going to receive offers from different browsers.

@r-novel Oh yea would love this.
Mind adding a simple test (success/failure) from a static SDP and happy to merge!

@Sean-Der I've added some test cases; Moved static SDP outside the TestPopulateFromSDP()

@r-novel merged! Thanks for adding this, every little bit makes Pion easier to use :)


syntax highlighting underline messes up when window resized

Environment
Microsoft Windows [Version 10.0.19041.388]
Windows Terminal 1.1.2021.0

Any other software?

zsh with syntax highlighting
https://github.com/zsh-users/zsh-syntax-highlighting

Steps to reproduce

Do something that results in underlining of the syntax (e.g 'cd /tmp/' will underline the tmp as a folder)
resize the window

Expected behavior

the underlining does not change due to window size changes
Actual behavior
the underline now extends to the right edge of the window

I think this is just a variant of issue #32.

Yep, sure is!
/dup #32


server (cflib) implement full state command

Since of this PR https://github.com/bitcraze/crazyflie-lib-python/pull/382, there is a full state implementation now in cflib. This is not yet included in the latest release so let's keep it in draft for now.
fixes this discussion: https://github.com/IMRCLab/crazyswarm2/discussions/347
This requires cflib install from source: https://www.bitcraze.io/documentation/repository/crazyflie-lib-python/master/installation/install/#install-from-source

I'll wait for the CI to finish checking and then I'll merge!