Is Yii 2.x Supported?

Thanks for author!
Can this be used to host a Yii 2.x web app?

Thanks for author!
Can this be used to host a Yii 2.x web app?

Unfortunately, all Yii versions not supporting PSR-7. Maybe in Yii 3 but I checked a few days ago and it looks like no support in it neither.

3.x supports PSR-7: https://github.com/yiisoft/yii-web/blob/master/composer.json#L68

3.x supports PSR-7: https://github.com/yiisoft/yii-web/blob/master/composer.json#L68

@samdark How I can start the app with PSR request? Do you have example?

By calling $app->handleRequest($request).

Ok. Will try within next few days. If it works @wolfy-j  will add a wiki page.

For Yii2 I have a very early working PSR-7 bridge I've been working on for a while that bridges a Psr\Http\Message\ServerRequestInterface to yii\web\Request and yii\web\Response back to a Psr\Http\Message\ResponseInterface for consumption by PSR-7 servers like RoadRunner.
It's available at: https://github.com/charlesportwoodii/yii2-psr7-bridge
At the moment it can mostly run the yii2-basic-app without any issues, but there's still a few things that need to be worked out on it. Pull requests are welcome to improve it.

@charlesportwoodii have you tried to bench with keep-alive on?

@wolfy-j Yes and no.
siege -R <(echo connection = keep-alive) burns through sockets when keep-alive is configured, which causes siege to abort the test only after a few seconds. Since the metrics gathered were mainly to determine if the work-effort was worth pursuing or not, I didn't dive in much further since I was testing in non real-world conditions (both siege and rr running on the same machine, testing over lo). For real benchmarks I'd probably test against a remote server and with a few other tools.
Once the library is a bit more complete I plan on doing some some actual benchmarking in real-world conditions.

@charlesportwoodii, good job, you are is big lad!

@charlesportwoodii your method of checking connections assumes they are all components of the main application; they could easily be inside modules as well.
The issues you run into are approximately the same as they are in a testing framework (I've been rewriting the Yii2 Codeception connector on and off over the past year)
A cleaner approach could be this one: https://github.com/Codeception/Codeception/blob/3.0/src/Codeception/Lib/Connector/Yii2/ConnectionWatcher.php
It used an event based approach.
The rest of the application is reset here:
https://github.com/Codeception/Codeception/blob/3.0/src/Codeception/Lib/Connector/Yii2.php#L107
Just in case it might be of use to you!

@SamMousa Good point on the database connections. I'll be sure to take a look at the reset Codeception uses to see if other items can be incorporated.
Thanks for the tip!

@SamMousa
Thanks again for the tip on the connections that I overlooked. I'm implemented a similar solution that closes database connections for associated modules.
For anyone else following along at home, I've also updated the project to include a better event handler that properly de-registers every event at the end of the event loop. In previous implements events not manually offed would be duplicated until the process was finally terminated. This is fixed now - at least in the Yii2 App Basic package which I've updated. I plan on throwing a larger project like Craft3 which I had previous trouble with at it to see if it's fully resolved there so that even larger projects can take advantage of it.

@charlesportwoodii Yii 3 with Spiral should go way smoother because of PSR-7 and middleware. Validating that it works is on my too long TODO list :)

Yii 3 experiment: https://forum.yiiframework.com/t/using-roadrunner-as-a-server/127060

Closing this issue due to the inactivity. Please take a look at the upcoming Yii3 for the integrated RoadRunner support.


[incubator/elasticsearch] Add support for Prometheus Operator / Exporter

What this PR does / why we need it:
Add support for prometheus operator using Elasticsearch Exporter. This PR uses the same concepts/structures used in https://github.com/helm/charts/pull/5120 to export Kafka metrics.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @icereval @rendhalver @simonswine

@fabriziofortino Please see discussion in #8179.
Short version is there is already a chart for this.

thanks @rendhalver
It makes sense.


NO-TICKET - Release build for regression

Jira Ticket (Mandatory)

Description of Work (Mandatory)
[ Build which goes for regression ]
Screenshots (Optional)

Screenshot #1
Screenshot #2
Screenshot #3

[Paste Pic 1]
[Paste Pic 2]
[Paste Pic 3]

Are we gonna run linter only on release branches?

Are we gonna run linter only on release branches?

Linter is enabled for merge requests, develop and now for release branches


Istio object details should be shown from a single location

Kiali can show several entities interconnected.
For example:

App details can show the Workloads and Services related. Clicking on a Workload/Service navigates to the  Workload/Service details page.
Workload details shows the Services related and it can navigate to the particular Service.
Service details shows the list of Workloads related and it can navigate to a specific Workload detail.

On these examples, user is moved from Apps/Workloads/Services menu and breadcrumb is updated.
But we have an exception that is causing some technical troubles, so we need some UXD advice about what is the good use case (to concentrate our efforts in that scenario).
Under Service details we can list the VirtualServices (VS) and DestinationRules (DR), but when we click on a particular VS/DS, we don't follow the same pattern used in Apps/Workloads/Services and the details of the VS/DS is showed under the Service details.
Then, user can browse and navigate to the same object, from two different locations: Service details (for VS and DR) and IstioConfig (for VS/DR and rest of the objects).
So, this page would remain intact to the user:

Today, if from this page when we click to a workload we would move the user to:

But if we click to a VS/DR details we remain in the same page:

So, the proposal is to move to a scenario as described here:

In this way, we will implement a consistent pattern when linking objects, we can reduce the technical debt to maintain two locations for same object and I think user will feel that behaviour is consistent with other navigation.
Please,
@abonas @pilhuhn @jotak @aljesusg @xeviknal @burmanm
comment your thoughts on here.
Thanks

Like discussed in the IRC, I strongly agree with this. I think it is confusing when user has multiple places to edit the same config - with a different UI elements to boot with. It's not apparent to the user if these are the same thing or which is the correct place to edit these from. This is even excluding the fact that a single service edits might break things in different services, which is clear from the perspective of the service (as the other details are not shown). Also, some resources are not service bound so they must be edited from elsewhere in any case, even if they modify the behavior of the said service.
Adding all of these to the same place adds consistency to the UI, reduces information on a single subview and as such helps the user to keep track of where everything is. All of that reduces working memory footprint, simplifying the user interface and making it easier to learn.

I do like this approach for simplicity's sake. For me, we should try to achieve that our user's the mental rule will be: "Do I want to see data related to an Istio config? then I have to go to Istio Config section."
Because having two different paths showing different information for the same piece of config would confuse user at the time of choosing where to go to see one specific info.
Besides that, I do think that the current implementation adds an extra complexity that is harder to maintain. Not talking about the fact of having one single page (url) that shows two completely different screens.
One thing have some doubts is: in the IstioObject details page, should we show the Overview tab first? Or should we show the yaml tab? Right now, we are directly going to the yaml. If we change that to show the Overview first, then are we going to show in some cases the yaml tab first (Rules) and Overview tab in some other (VS/DR)?

Big +1 to both

+1 totally agree

@xeviknal I think it would make sense to show the Overview tab in any case (even if we have no information there to parse). Just in case we could parse some useful information for the user, perhaps removing the need to check yaml every time. Or show validation errors there etc (not all validation errors are necessarily the yaml's fault, could be missing deployment also for example)

I think, presented like this, it makes sense.
Still we need to ensure that the user can find back after editing to the
point where they were before editing without the need to click on e.g.
services in the left menu, then use search to find that place again.

UX agrees with this suggestion 👍

I think this issue is clear from all angles.


vimPlugins.vim-clap: fix cargoSha256

Description of changes
Like https://github.com/NixOS/nixpkgs/pull/162711, https://github.com/NixOS/nixpkgs/pull/147937, https://github.com/NixOS/nixpkgs/pull/137391, and https://github.com/NixOS/nixpkgs/pull/126024 before...
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 164636 run on x86_64-linux 1

2 packages built:

spacevim
vimPlugins.vim-clap


Reorganize

This arrangement should be a lot cleaner to work with.
I was just copying what we did on another project with the first iteration of this, but it doesn't really make sense for something like this.

@btsavage this might be a good first change if we want to get secret shares in.
Structure is that we have a single library (I'll fix the name up) with a couple of binaries in it as follows:
./src/cli/hexarg.rs
./src/cli/mod.rs
./src/cli/helper.rs
./src/cli/stringn.rs
./src/cli/verbosity.rs
./src/user.rs
./src/error.rs
./src/helpers/mod.rs
./src/helpers/event.rs
./src/helpers/aggregation.rs
./src/report.rs
./src/lib.rs
./src/bin/helper.rs
./src/bin/ua.rs
./src/threshold.rs

There is just a single crate now, which cuts down the code size a lot.  Same amount of code.


Fix master down when master change to leader

Fix master down when master change to leader but last time failed because of startMasters
What changes are proposed in this pull request?
Fix master down when master change to leader but last time failed because of startMasters
Why are the changes needed?
The master change leader failed because of startMasters, but it is not set mRaftJournalWriter = null; The next time the master change to leader , it will check Preconditions.checkState(mRaftJournalWriter == null);, so the master will exit.
Does this PR introduce any user facing changes?
no

Nice catch, thanks for the fix!

@codings-dan Would you like take a look at this PR? It seems solve a case to avoid master down.

@tcrain Could you help review this?

alluxio-bot, merge this please


Added endpoint and (placeholder!) view for editing an app

What
Node endpoint GET /apps/:id/edit which:

Make requests to CP-API to get app with given ID, list of S3 buckets and list of users (concurrently)
Renders apps/edit.html passing this data in the app, buckets and users variables

(Currently the apps/edit.html template is just a placeholder which shows this information, not the proper form, etc...)
NOTE
These three requests to get this data can be performed independently so we make them concurrently. This means that the total time would not be the sum of these requests' times but just the time of the slower request.
Ticket
https://trello.com/c/Das3TYNG/444-fetch-lists-of-buckets-and-users-for-grant-access-to-bucket-form-3
TODO

[X] Make it work
[X] Make requests concurrently
[ ] Write tests

I've fixed your tests, but I've submitted a PR on this PR instead of committing them directly to this branch.

Superseded by other PR based on this one: https://github.com/ministryofjustice/analytics-platform-control-panel-frontend/pull/38. Closing this.


Reverse-i-search does not work in vscode integrated terminal

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:  1.89.0
OS Version: MacOS Sonoma 14.4.1

Steps to Reproduce:

Command+shift+p open user settings
Add "terminal.integrated.sendKeybindingsToShell": true,
Open new integrated terminal tab & reverse-i-search (ctrl+R)
Restart vscode or try again

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.90.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

This works for me. Please use Developer: Toggle Keyboard Shortcuts Troubleshooting to diagnose your issue


Parallelization via dask

There are two places we could use xarray's machinery for parallelization to potentially speed up the generation of references.

Using parallel=True in xr.open_mfdataset, which would then use dask.delayed to parallelize the generation of the byte ranges from each file. This could be a big speedup, as it would parallelize the opening of the legacy files.

In theory we could also wrap the ManifestArray objects with dask.Array, then use dask's tree-reduce to do the concatenation. I think this is roughly what kerchunk.combine.auto_dask is approximating. However I'm not totally confident that (a) this is set up to work right now in dask.array or (b) this actually is a performance bottleneck in practice.

earthaccess uses dask.delayed on kerchunk SingleHdf5ToZarr calls
https://github.com/nsidc/earthaccess/blob/main/earthaccess/kerchunk.py#L47
@dcherian instead used dask.bag to do a tree-reduce inside xr.open_mfdataset without shipping datasets all back to the head node, which might be exactly what we need
https://github.com/pydata/xarray/issues/8523


Redirecting on subdomain and port issue

Hi, I'm currently setting up a Caddy server and would like to only use https://www.example.com. When a request comes in from port 80 or non-www, I would like to redirect. My current Caddyfile looks like this:
https://www.example.com {
  tls cert.pem cert.key
}

https://example.com, http://www.example.com, http://example.com {
  redir https://www.example.com
}

However, I'm getting the following error: 2015/11/29 23:20:20 listen tcp <IP_ADDRESS>:443: bind: address already in use

Are you using version 0.7.6 or 0.8 beta?

Hi @mholt. I'm using 0.7.6
Should I use 0.8 beta instead?

It's up to you, but since the two are very different I wanted to be sure I had the version right.
Do you already have another process listening on port 443? Is that your entire Caddyfile?

The Caddyfile looks actually like the following:
https://www.example.com {
  redir /index.html / 301
  tls cert.pem cert.key
  log access.log
  errors errors.log
}

https://example.com, http://www.example.com, http://example.com {
  redir https://www.example.com
}

And yes, the Caddy server is the only process listening on port 443 as well as 80.
My goal is to make sure https and the www subdomain is always used.

I tried to use 0.8 beta but I can't get it to work either. I generated the certificates with Let's Encrypt but I'm only getting as far as failed to get certificate: The server could not validate our request.
Is there more documentation around how to get Caddy 0.8 with Let's Encrypt working?

I'm having trouble reproducing the error locally with your Caddyfile. I've replaced the hosts www.example.com and example.com to be hosts that resolve to my machine, but kept the scheme definition as you have them.
Keep in mind, on 0.7.6, your https://example.com host will be served on port 443 but won't be served with TLS because you haven't enabled it. (That changes in 0.8, where it will be enabled automatically. In fact it takes care of the HTTP->HTTPS redir for you, too.)

I updated to 0.8 beta 4, so I don't need to worry about the http -> https redirect and changed the Caddyfile to contain nothing but example.com, for now.
I haven't used Let's Encrypt before but generating the certs using the following command works just fine. I couldn't find any docs around Caddy and Let's Encrypt, so I'm just following an trial and error approach here, it this how the setup is suppose to work?
./letsencrypt-auto certonly --standalone --standalone-supported-challenges tls-sni-01

Afterwords I'm trying to start Caddy and get the following error: failed to get certificate: The server could not validate our request.
Am I missing any steps? The server is a Debian host from DigitalOcean with nothing other that Caddy running on it.

No, Caddy will generate the certificates for you -- no need to do it yourself. :smile: You'd just need this Caddyfile, in your case:
www.example.com {
  redir /index.html / 301
  log access.log
  errors errors.log
}

example.com {
  redir https://www.example.com
}

It is probably failing because of the error you're seeing above. I'm still not able to reproduce it, but I've asked @abiosoft to help me out and take a look also.

Thanks @mholt. I really appreciate your work. Caddy looks almost like my new default webserver, I just need to get the Let's Encrypt issue sorted. :)

@mjio Am I right to assume the only issue remaining is getting SSL certificates to work ?

@abiosoft Yes since I updated to 0.8 beta that is the case.

What error does Caddy give you now ?

$ ./caddy -version
Caddy 0.8 beta 4

$ cat Caddyfile
www.example.com

$ ./caddy -log stderr
Activating privacy features...2015/12/01 18:08:35 [INFO] acme: Obtaining bundled certificates for www.example.com
2015/12/01 18:08:35 [ERROR] acme: Could not find solver for: tls-sni-01
2015/12/01 18:08:35 [INFO] acme: Trying to solve HTTP-01

2015/12/01 18:08:37 [www.example.com] failed to get certificate: The server could not validate our request.

I'm running Debian 8.2 x64 on a new machine from DigitalOcean.

Hmm, works for me. :-/
That empty line in the log output is interesting.
What's the hostname of your machine? (I'm kinda shooting in the dark at this point.) What happens if you try it without Let's Encrypt? Does anything change as you remove addresses from the Caddyfile one at a time?

I have changed the Caddyfile to example.com notice the no-www. And suddenly the server did the authentication and started just fine. After recreating the www CNAME even www subdomain works just fine. I'm not sure what caused the issue but I belief my CND caused the issue. Thanks for your patience! :smile:


vggbn training's validation accuracy is very low

I was trying to train vggbn (16-layer, model 'D'), using batchsize = 24 with everything else in default setting, but the training does not converge at all, at the 5th iteration the training loss is still ~6.9.
then i tried adding nn.SpatialBatchNormalization after each convolutional layer and re-started the training, the training finally started to move. However, the validation accuracies are very low, these are my results for the first 8 iterations:
% top1 accuracy (test set) (center crop)    avg loss (test set)
2.8140e+00  5.9005e+00
8.1700e+00  4.9847e+00
1.1460e+01  4.6748e+00
1.4304e+01  4.3753e+00
1.8798e+01  3.9825e+00
2.2012e+01  3.7526e+00
2.2900e+01  3.7133e+00
any thoughts..?

just tried the provided vanilla vgg, training does not converge at all, the training loss after 4 epochs is still at 6.9.

I had the same problem.
Adding BatchNorm after convolution layers helped me.


noms-chat demos

https://github.com/attic-labs/noms/blob/master/samples/go/decent/p2p-chat/main.go#L19
where is the IPFS wrapper ?
The sample have had no commits for a while so i am guessing they are stale...
Wondering which is the best sample to use to try things out with.

My interest.
I am playing around with crdt, ipts.
And mom's is definitely in the same ball park.
Reason ?
Offline clients and synchronisation back to server (s).
Working on NAT and using QUIC. QUIC just got added to IPFS btw !
So I am just looking for samples to get going fast to experiment :)
On Thu, 7 Jun 2018, 15:24 Aaron Boodman<EMAIL_ADDRESS>wrote:

I took it out, here:
https://github.com/attic-labs/noms/commit/24dc7ad17000f04cf08179dc2973b0f24d13f525
... and forgot to update the samples. Sorry about that.
What's your interest in it? (I need to figure out whether to move forward
w/ the refactor I started there, or undo it)
On Thu, Jun 7, 2018 at 6:12 AM, gedw99<EMAIL_ADDRESS>wrote:

https://github.com/attic-labs/noms/blob/master/samples/go/
decent/p2p-chat/main.go#L19
where is the IPFS wrapper ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/attic-labs/noms/issues/3808, or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAE6BMRmOd6d3UIx1iQhUk7JQI3fAy7Mks5t6SbBgaJpZM4UeYZi
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/attic-labs/noms/issues/3808#issuecomment-395418648,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATuCwn8UYtlECFiFZnhrRaeiOnjTumHiks5t6Sl3gaJpZM4UeYZi
.

Btw samples could be in a different repo and vendor all their dependencies.
Will make it easier to hack on noms are not care about breaking samples
On Thu, 7 Jun 2018, 16:42 Ged Wed<EMAIL_ADDRESS>wrote:

My interest.
I am playing around with crdt, ipts.
And mom's is definitely in the same ball park.
Reason ?
Offline clients and synchronisation back to server (s).
Working on NAT and using QUIC. QUIC just got added to IPFS btw !
So I am just looking for samples to get going fast to experiment :)
On Thu, 7 Jun 2018, 15:24 Aaron Boodman<EMAIL_ADDRESS>wrote:

I took it out, here:
https://github.com/attic-labs/noms/commit/24dc7ad17000f04cf08179dc2973b0f24d13f525
... and forgot to update the samples. Sorry about that.
What's your interest in it? (I need to figure out whether to move forward
w/ the refactor I started there, or undo it)
On Thu, Jun 7, 2018 at 6:12 AM, gedw99<EMAIL_ADDRESS>wrote:

https://github.com/attic-labs/noms/blob/master/samples/go/
decent/p2p-chat/main.go#L19
where is the IPFS wrapper ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/attic-labs/noms/issues/3808, or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAE6BMRmOd6d3UIx1iQhUk7JQI3fAy7Mks5t6SbBgaJpZM4UeYZi
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/attic-labs/noms/issues/3808#issuecomment-395418648,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATuCwn8UYtlECFiFZnhrRaeiOnjTumHiks5t6Sl3gaJpZM4UeYZi
.

Cool. You can just check out the code from before my change right now. I'll
figure out whether to undo this change to remove the IPFS store or fix the
demo soon.
Thanks!
On Thu, Jun 7, 2018 at 7:43 AM, gedw99<EMAIL_ADDRESS>wrote:

My interest.
I am playing around with crdt, ipts.
And mom's is definitely in the same ball park.
Reason ?
Offline clients and synchronisation back to server (s).
Working on NAT and using QUIC. QUIC just got added to IPFS btw !
So I am just looking for samples to get going fast to experiment :)
On Thu, 7 Jun 2018, 15:24 Aaron Boodman<EMAIL_ADDRESS>wrote:

I took it out, here:
https://github.com/attic-labs/noms/commit/24dc7ad17000f04cf08179dc2973b0
f24d13f525
... and forgot to update the samples. Sorry about that.
What's your interest in it? (I need to figure out whether to move forward
w/ the refactor I started there, or undo it)
On Thu, Jun 7, 2018 at 6:12 AM, gedw99<EMAIL_ADDRESS>wrote:

https://github.com/attic-labs/noms/blob/master/samples/go/
decent/p2p-chat/main.go#L19
where is the IPFS wrapper ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/attic-labs/noms/issues/3808, or mute the thread
<
https://github.com/notifications/unsubscribe-auth/
AAE6BMRmOd6d3UIx1iQhUk7JQI3fAy7Mks5t6SbBgaJpZM4UeYZi
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/attic-labs/noms/issues/3808#issuecomment-395418648,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
ATuCwn8UYtlECFiFZnhrRaeiOnjTumHiks5t6Sl3gaJpZM4UeYZi>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/attic-labs/noms/issues/3808#issuecomment-395446453,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE6BFP5N5J7YOA-kbo0mNy62EU1stDLks5t6TwFgaJpZM4UeYZi
.

Yeah agree. I think someone else who was looking at this recently ran into
a problem that direction...
I think it was just how to make all the CLI tools know about the other
chunkstore type. Like if IPFS store is in another repo that is fine for
applications that directly link noms. But what about noms show and
friends?
On Thu, Jun 7, 2018 at 7:44 AM, gedw99<EMAIL_ADDRESS>wrote:

Btw samples could be in a different repo and vendor all their dependencies.
Will make it easier to hack on noms are not care about breaking samples
On Thu, 7 Jun 2018, 16:42 Ged Wed<EMAIL_ADDRESS>wrote:

My interest.
I am playing around with crdt, ipts.
And mom's is definitely in the same ball park.
Reason ?
Offline clients and synchronisation back to server (s).
Working on NAT and using QUIC. QUIC just got added to IPFS btw !
So I am just looking for samples to get going fast to experiment :)
On Thu, 7 Jun 2018, 15:24 Aaron Boodman<EMAIL_ADDRESS>wrote:

I took it out, here:
https://github.com/attic-labs/noms/commit/
24dc7ad17000f04cf08179dc2973b0f24d13f525
... and forgot to update the samples. Sorry about that.
What's your interest in it? (I need to figure out whether to move
forward
w/ the refactor I started there, or undo it)
On Thu, Jun 7, 2018 at 6:12 AM, gedw99<EMAIL_ADDRESS>wrote:

https://github.com/attic-labs/noms/blob/master/samples/go/
decent/p2p-chat/main.go#L19
where is the IPFS wrapper ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/attic-labs/noms/issues/3808, or mute the thread
<
https://github.com/notifications/unsubscribe-auth/
AAE6BMRmOd6d3UIx1iQhUk7JQI3fAy7Mks5t6SbBgaJpZM4UeYZi
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/attic-labs/noms/issues/3808#issuecomment-395418648
,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
ATuCwn8UYtlECFiFZnhrRaeiOnjTumHiks5t6Sl3gaJpZM4UeYZi>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/attic-labs/noms/issues/3808#issuecomment-395446987,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE6BC0RMTPPlnKMLi3ZD5RanWWSoSCMks5t6TxTgaJpZM4UeYZi
.

I tried to revert https://github.com/attic-labs/noms/commit/24dc7ad17000f04cf08179dc2973b0f24d13f525 but I can't seem to remember how to get gx to pull all the deps, so I still can't build :-/.


cookbook entry on form validation

Addresses issue #1314 - a cookbook version of my blog entry. I modified the text to switch from "I" to "we" and made a few other minor edits.

Thanks Raymond! I'll have some time this weekend to look it over and provide feedback.

Thank you for all this! I've got a busy weekend so I may not get the fixes till Monday.

Edits have been applied. Updating the Codepen's now. Thank you again for the review!

Great! Give me a day or so and I'll take a look. Thanks!

This is looking really great! I started moving the examples over to CodePen. Once these things are fixed, I think it will be ready to get in :) Great work. I think it will be really helpful.

Thanks again for this - my rough ETA is Tuesday. Note - for cases where the codepen needs to be updated, I'll be sure to leave a note here so you can edit the official Vue copy.

Awesome, thank you so much Raymond!


Crash of the game at startup.

crash-2022-06-18_08.31.37-client.txt

you need to install the OpenXR loader for your distro

I have the libopenxr-loader1 package (https://packages.ubuntu.com/fr/jammy/amd64/libopenxr-loader1/filelist)

uninstalling and reinstalling the package solves the issue.


iPhone 6 iOS 12.4.6 Unsupported

Describe the bug
I expected for the blue button to say Jailbreak instead of unsupported. I am using the latest version and it says iOS 11 to 13.5.
To Reproduce
Steps to reproduce the behavior:
Open unc0ver on iPhone 6 iOS 12.4.6.
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):

iOS Version: iOS 12.4.6
iOS Device: iPhone 6
unc0ver Version: 5.0.1

Place an "x" between the brackets if true:

[x] this is a bug others will be able to reproduce
[x] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[x] this issue is present after a rootfs restore
[x] this issue is present on the latest version of unc0ver

Logs
If applicable, add logs or error messages here.

My system version is 12.4.7 and it is also showing unsupported.

Maybe it says that because your device is unsupported, what don't you understand, it says it's unsupported because it is, what do you expect the Devs to do

@SarKaa Unc0ver claims to be supported on all devices with iOS between 11 and 13.5. Stop trying to get joy out of putting down questions without even knowing anything.

@SarKaa Unc0ver claims to be supported on all devices with iOS between 11 and 13.5. Stop trying to get joy out of putting down questions without even knowing anything.

Yeah but if you actually look around, you’ll find that unc0ver is definitely not supported on iOS 12.3 or iOS 12.4.1 to iOS 12.4.7
I’m not trying to get joy out of putting down questions, I actually read and don’t depend on the developer for everything
Next time, try reading peoples responses on reddit and stuff and then decide who’s the idiot

I've definitely looked at Reddit and I've scoured the internet for answers but only select people. Some people were able to do it, and some weren't. This is the question. And if you knew it was totally impossible, then you couldn't have said that in more detail. Not "Maybe your device is unsupported."

I saw someone online saying that unc0ver supports 12.4.4, I don't know if it's true or not.

I've definitely looked at Reddit and I've scoured the internet for answers but only select people were able to fix it. Some people were able to do it, and some weren't. This is the question. And if you knew it was totally impossible, then you couldn't have said that in more detail. Not "Maybe your device is unsupported."

Read the whole message, I literally said it can't be done

It's because 12.4.7 is a new iPhoneOS for older phones and is not supported.


Ignore Fragments?

Anyway to extend this feature to fragments....
 The ignored activities: For instance you got a login activity
that you want to avoid getting the lock screen, you can ignore this activity by doing:

LockManager<CustomPinActivity> lockManager = LockManager.getInstance();
lockManager.getAppLock().addIgnoredActivity(NotLockedActivity.class);

Hello @sirvon
This is not in the target right now, but could be on the future.
If you want to do it, you are welcome to submit a pull request to the library.
Cheers,
Olivier


Using Workload Identity to Authenticate

Is your feature request related to a problem? Please describe.
As a user, I want to make my steampipe containers more secure and use the workload identity (GKE) feature to authenticate the service account instead of JSON keys.
Describe the solution you'd like
Enable workload identity used in GKE.
https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity

Hey @anjuls , I’m afraid that I'm not very familiar with how to use workload identities to authenticate with GCP APIs, but do you use any of those today for authentication with the gcloud CLI?
One option with the GCP plugin today for authentication is to use Application Default Credentials, so if you can use workload identities with the gcloud CLI, authenticating with the GCP plugin may just work once that’s configured, without the need for a service account key.


New version: Microbiome v0.5.0

Registering package: Microbiome
Repository: https://github.com/BioJulia/Microbiome.jl
Created by: @BenJWard
Version: v0.5.0
Commit: aff8a27146c4fddb91c1e2df753692c2fe07a581
Reviewed by: @BenJWard
Reference: https://github.com/BioJulia/Microbiome.jl/commit/aff8a27146c4fddb91c1e2df753692c2fe07a581#commitcomment-39402399

@DilumAluthge I have a few releases of this package and MicroBiome plots to make the awkward way through Registrator as LocalRegistries wasn't able to do so automatically.


Fix part of UBSAN report in #1248

This fixes the ubsan reported errors in graph.cc. This happened to work before because the node passed in earlied out of DepsLog::GetDeps() before any members were accessed.
(The ones in test.cc are a bit trickier.)

Thanks! I've decided to fix it like this: 28a7d1491367de7b39c854d166114f76d272f04f


[RTM] improved EPI masking and EPI T1 coregistration

Fixes #252 (EPI skullstripping problems)
Switches FLIRTs to using masks as weights instead of taking masked files as inputs

Includes changes from #255 and #256.

FYI - this works well on all Beast subjects


Support validation of event data types？

Currently, the received events are only parsed json.unmarshal, and the validity of the data values is not verified.

Hmm... I don't think I'm very open to adding something like that to be honest. My gut feeling is that it would be pretty tedious and potentially needs to be changed updated frequently as the GitLab API updates and changes a lot.
But besides that I'm not sure what problem it would solve? If some data is not correctly returned that is a bug in the GitLab API and so I would argue the tests in their API should flag it and if not an issue should be created in the GitLab repo.

Yes, we believe that gitlab's official request is reliable.
However, we cannot determine the validity of the attack request.
If I need to use the ID, I need to judge its existence again:
func adjustFormatCommitID(id string) string {
	if len(id) == 0 {
		return ""
	}

	if len(id) > 8 {
		return id[:8]
	}

	return id
}

So when would this be applicable? As in, what scenario would enable such attack? You provide the URL you want to connect to yourself, so while I'm all for making things are secure I don't feel comfortable adding custom validation functions for all structs...

@coder-user You could validate the request in your handler by checking the X-Gitlab-Token request header, as in this example:
https://github.com/xanzy/go-gitlab/blob/52eedaaf1853682e004da82611d0940fc3d62e3c/examples/webhook.go#L86-L91

Closing as stale... Feel free to reopen in the future if applicable.


Refactor indentation

Refactor mentioned in #552:

Adds indentation for props in new lines
Preserves 80 chars limit

Only exception is this line because it'll be exactly 80 chars after #553 is merged to master.

Not successful coverage will be fix with #550 merge.

Perfect, I'll wait for that then :)

similarly to #550, are there relevant eslint rules?

@jonathanong rules added. I just don't know if the rule for indented properties exist at all.
But we now have rules for dot location and 80 chars line length.

needs a rebase =/
do you also mind squashing your commits so you don't have any like "fix merge conflicts"? otherwise, i'll just squash them all into one

Fixed and I squashed all into one since it makes sense to have just one commit here.
Next time I'll do this immediately.

The refactor on indentation is great, but the forced 80 column limit actually makes stuff harder to read. We all use 16:9 monitors and our editors support soft wrap. 80 columns was a convention for 4:3 cathode ray tubes running vi.

haha agreed, same argument as tabs being better, your editor can display whatever it likes

if it gets way way too long or a big chain of functions, then i'd prefer the
obj
  .x(...)
  .y(...)
  .z(...)
  .a(...)

format just for readability, but i don't care about arbitrary hard limits like 80 chars. just word wrap in your editor if you'd like :)

Agree with @tejasmanohar!

It should be a bit better now, I removed 80 chars limit and weird line breaks

@stojanovic you gotta rebase master, not merge master!


Add check vm icon change if VM OS changed

@mareklibra Please review https://github.com/oVirt/ovirt-web-ui/issues/168

@mareklibra added fetching icons for OS too, now all icons will be available, please review


feat(search): allow complete section customization

Summary
This allows configuring the searchable sections and which sections show the search box. In addition the javascript is only included on pages where the search box is visible.
Basic example
Defaults

searchSectionsIndex set to ["docs",  "blog"]

searchSectionsShow set to ["docs"]

Motivation
Closes #630
Checks

[x] Read Create a Pull Request
[x] Supports all screen sizes (if relevant)
[x] Supports both light and dark mode (if relevant)
[x] Passes npm run test

ToDo

[x] Checks for searchSectionsShow / searchSectionsIndex being undefined (currently causes error calling len: reflect: call of reflect.Value.Type on zero Value) fa01f4a
[x] Decide on a method for handling the main page for searchSectionsShow
[x] Implement ALL options b532c69

To clarify the behavior:

HomePage is a special pseudo-section which refers to the index / home page.
Search Box Visibility is configured via the Param options.searchSectionsShow which can be a string with the value ALL or a slice of section names.
Search Indexed sections can be configured via the Param options.searchSectionsIndex which can be a string with the value ALL or a slice of section names.

For reference if interested, I've got a modified version of this which can exclude individual pages from  the index:
---
title: "A Title"
description: "A Description"
lead: ""
date: 2022-03-20T12:52:27+11:00
draft: false
images: []
weight: 600
search:
  index: false
---

  {{ $list := slice }}
  {{- if and (isset .Site.Params.options "searchsectionsindex") (not (eq (len .Site.Params.options.searchSectionsIndex) 0)) }}
  {{- if eq .Site.Params.options.searchSectionsIndex "ALL" }}
  {{- $list = .Site.Pages }}
  {{- else }}
  {{- $list = (where (where .Site.Pages "Type" "in" .Site.Params.options.searchSectionsIndex) ".Params.search.index" "!=" "false") }}
  {{- if (in .Site.Params.options.searchSectionsIndex "HomePage") }}
  {{ $list = $list | append .Site.Home }}
  {{- end }}
  {{- end }}
  {{- else }}
  {{- $list = (where .Site.Pages "Section" "docs") }}
  {{- end }}

  {{ $len := (len $list) -}}

Unfortunately, for my custom, doc-like sections created with commands like "npm run create -- --kind docs [section]" it does not work. Search box visibility works, but actual search in books does not work. Strings "ALL" seems to not work at all. I have section names like "books" and "faq", and no "doks" at all. Name "doks" makes not much sense for my use case. Blog search works.
  flexSearch = true
  searchSectionsShow = ["blog", "books"]
  searchSectionsIndex = ["blog", "books"]

See https://github.com/h-enk/doks/discussions/395#discussioncomment-5623508


Better gql experience

Gql request all have the same url.
There should be a better way to classify those and display.
Furthermore, gql errors might not be correctly shown, as they would respond with 200 and an errors array.

Released as part of v1.10


Update link to plugins docs in scene-app.md

but today I just want to get the address correct

But this address ain't correct. I mean - it's fine, but it's throwing people into deep water, straight into plugin creation, without letting them know what plugins are. While the old one is basically Grafana plugin developer’s guide, which is an intro to what plugins are and how they can help.

I'm heads down on the plugin site, but if it would be helpful I can take a look at this doc next week and offer suggestions.

Yes, definitely, please!


Write works but return false by disconnect()

Hi, before thanks for this good work, thanks for your time.
Description:
I'm testing this library, and after some time it works, the data is uploaded to the server, but never return true on write point, and also don't return any error message.
My code:
Setup method (works fine):

void influxInit() {
        String url = "http://"+cfg.ifx.ip+":"+String(cfg.ifx.pt);
        influx.setInsecure();
        influx.setConnectionParamsV1(url.c_str(),cfg.ifx.db.c_str());
        influxDbAddTags();
        if(influx.validateConnection()) {
            Serial.printf("-->[IFDB] connected to %s\n",influx.getServerUrl().c_str());
            ifx_ready = true;
        }
        else Serial.println("-->[E][IFDB] connection error!");
}

Write method:
void influxWrite() {
    influxDbParseFields();
    Serial.println(influx.pointToLineProtocol(sensor));
    if (!influx.writePoint(sensor)) {
        Serial.print("Write Point failed: ");
        Serial.println(influx.getLastErrorMessage());
        return false;
    }
    return true;
}

Output:
13:57:49.096 > fixed_stations_01,mac=3C:71:BF:5A:A1:7A pm25=5i,geo="u33dcu0",dtype="SENSIRION"
13:57:49.101 > [D][HTTPClient.cpp:293] beginInternal():
13:57:49.112 > [D][HTTPClient.cpp:579] sendRequest(): request type: 'POST' redirCount: 0
13:57:49.119 >
13:57:49.217 > [D][HTTPClient.cpp:1125] connect():  connected to server.test.io:8086
13:57:49.495 > [D][HTTPClient.cpp:1257] handleHeaderResponse(): code: 204
13:57:49.498 > [D][HTTPClient.cpp:603] sendRequest(): sendRequest code=204
13:57:49.504 >
13:57:49.504 > [D][WiFiClient.cpp:514] connected(): Disconnected: RES: 0, ERR: 128
13:57:49.512 > [D][HTTPClient.cpp:400] disconnect(): tcp is closed
13:57:49.515 >
13:57:49.515 > Write Point failed:

Other methods in the test:

void influxDbParseFields() {
    sensor.clearFields();
    sensor.addField("pm25",sensors.getPM25());
    sensor.addField("geo",cfg.geo.c_str());
    sensor.addField("dtype",sensors.getPmDeviceSelected().c_str());
}

void influxDbAddTags() {
    sensor.addTag("mac",cfg.deviceId.c_str());
}

Server query:
> select * from fixed_stations_01
name: fixed_stations_01
time                dtype     geo     mac               pm25
----                -----     ---     ---               ----
1626349544482122480 SENSIRION u33dcu0 3C:71:BF:5A:A1:7A 6
1626349568442753942 SENSIRION u33dcu0 3C:71:BF:5A:A1:7A 8
1626349686298632771 SENSIRION u33dcu0 3C:71:BF:5A:A1:7A 5
1626349743206186903 SENSIRION u33dcu0 3C:71:BF:5A:A1:7A 6
1626349757663012843 SENSIRION u33dcu0 3C:71:BF:5A:A1:7A 5
1626349837344260278 SENSIRION u33dcu0 3C:71:BF:5A:A1:7A 8

Specifications:

Library Version: master 3.8.0
InfluxDB Version: 1.8.5-1
Board/ESP chip: TTGO T7 (ESP32)
Device Arduino SDK version: PlatformIO 5.1.1 (framework-arduinoespressif32 3.10006.210326 @ ~3.10006.0 )

I will be closed it because, maybe the issue was with the object initialization order. Is working now.

@hpsaturn, if you should encounter a similar issue again,  follow these instructions to enable library debug output and paste it here along with the SDK core debugs, please.

Yes, I passed this build flag to my PlatformIO.ini and with it I was debugging this issue. But right now works fine. I think so that maybe was be a issue in the initialization that I had. Thanks.


refactor: improve dx for writing a docs component

Closes #
📝 Description

Add a brief description

The component DX that writes docs now is very unfriendly and difficult to maintain.
Like this. What stringfiy code??

For now, I just refactor this and improve DX. And now we can write code in single tsx file, and import it.

And import it assert to raw.
import App from "./bordered-variant.raw.tsx?raw";

const react = {
  "/App.jsx": App,
};

export default {
  ...react,
};

💣 Is this a breaking change (Yes/No):
No

📝 Additional Information

Summary by CodeRabbit

New Features

Introduced a new way to import and use components in the documentation app, enhancing code readability and maintainability.
Added a new computed field in the Doc and BlogPost document types for improved functionality.

Documentation

Updated the documentation app configuration to support new content types and improve the authoring experience.

Refactor

Refactored accordion components to use a more efficient import method.

Chores

Updated dependencies to ensure compatibility and security, including the addition of esbuild-plugin-raw.

Tests

Ensured all new changes are compatible with existing configurations and types.

@Innei
Thanks for your PR!
Could you please resolve the conflicts so that we can proceed with the review?

after syncing latest canary branch, this PR no longer works. Therefore I made the following changes.

switch from contentlayer to contentlayer2 since contentlayer doesn't support node 20 and out of maintenance. (by the time this PR was made, we were still using node 16 / 18)
bump docs related dependencies because of contentlayer2, e.g. rehype, remark, unified, unist-util-visit etc.
bump ts version to v5 (ts-pattern requires that)
fix module "*.tsx?raw" type and rename to avoid conflict with @types

After this PR is merged, I'll change the rest of the components.

Sorry, I haven't paid attention to this project for a long time and ignored these updates.


Add option to settings.json for dev.containers.defaultSettings

Apologies if this is the wrong repository to post this feature request in, but then I hope someone can point me in a better direction 🤞 .
I recently ran across the ability to add dev.containers.defaultExtensions to my settings.json file to have specific extensions installed into any new Dev Container I create. I really like this feature.
However, I do not see a similar feature for automatically activating my settings in Dev Containers. I would like to see a dev.containers.defaultSettings entry in settings.json to enable this.
Thanks in advance to anyone who can point me in the right direction!

Hi 👋
I think this is a good issue for https://github.com/microsoft/vscode.
In the meanwhile, have you looked at the customizations option for devcontainers yet? That would help add settings to individual dev containers.

Thanks!
I am aware about the customizations, 🙂 . I was hoping for something that I could set up at the user level rather than the container level. I have opened a feature-request issue in the other repo, so thank you for pointing me there!


VitePress search

VitePress v1 by default wants to use the Algolia search engine which the docs are currently not using due to cost and its limited implementation using a pre-built records file that is uploaded.
This issue attempts to see if the current docs search window will work with VitePress and include tags which the current docs did not use.

You can see the newer VitePress framework preview here. There is little to no content. The site is just a layout on how to present the docs in a new format.


docs: use relative URLs

What does your PR do?
It is better to use relative links in documentation.
Checklist
For all Pull Requests

[x] Commits are signed off
[x] Commits have semantic messages
[x] Documentation updated
[x] Passes ct linting

For releasing ONLY

[ ] Chart.yaml version bumped
[ ] CHANGELOG.md updated

@marekhanus while I thank you for the effort, we are using absolute URLs for a few reasons:

So that the readme links work correctly when scraped by artifact hub
So that private forks of the project link correctly to the latest upstream docs

So I will be closing this for now.


Issues with https://staging.doi.org/the-foundation/board-and-governance/

[x] Airiti - David Lai Bio TK
[x] China DOI - Guo Xiaofeng Bio
[x] BSI - Will-Johnson Marshall
[x] Clarivate - Rachel Kessler
[x] CNKI - Ke Chun-Xiao
[x] DataCite - Matt Buys
[x] DiSSCo - Dimitris
[x] JaLC - Ritsuko
[x] EU Pub. Office - Carol Riccalton
[x] mEDRA Paola Mazzucchi
[x] HAND (Human & Digital) - Will Kreth

[ ] Airiti - David Lai Bio TK
[ ] China DOI - Guo Xiaofeng Bio
[x] BSI - Will-Johnson Marshall
[x] Clarivate - Rachel Kessler
[ ] CNKI - Ke Chun-Xiao
[x] DataCite - Matt Buys
[x] DiSSCo - Dimitris
[ ] JaLC - Ritsuko
[ ] EU Pub. Office - Carol Riccalton
[ ] mEDRA Paola Mazzucchi
[ ] HAND (Human & Digital) - Will Kreth

can't make today's call but see update above. Need yours @wkreth or you can add your own?

Hi @ynnig  - Adding now!

we're still missing Raymond and Jinseop - I added Steven but can't get his headshot to be round?

I just added Raymond’s bio to the Staging branch on GitHub.

On Feb 15, 2023, at 11:01 AM, JonathanClarkDOIF @.***> wrote:
we're still missing Raymond and Jinseop - I added Steven but can't get his headshot to be round?
—
Reply to this email directly, view it on GitHub https://github.com/doi-foundation/doi-website/issues/14#issuecomment-1431601782, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHGDAFWISQ7QYZESL35QMTWXT4VPANCNFSM6AAAAAAULRALDI.
You are receiving this because you were mentioned.

Raymond’s bio from MovieLabs.com
https://movielabs.com/about/movielabs-team/
Raymond Drewry
VP, EMEA Operations & Principal Scientist
Raymond has been in the industry for 25 years primarily as a technologist. He has designed and implemented systems that range from the first fully interactive digital cable network in Europe, through the first-ever networked digital video system for journalists at an international sporting event, to real-time robotics systems for special effects and mechanical-industrial performance pieces. He also was a prime contributor to early versions of the X11 window system and Microsoft Windows 1.0.
Before joining MovieLabs Raymond was CTO at Aggregator TV, a UK-based IPTV content company, and before that CTO and VP of engineering at Liberate Technologies. He has also been Director of Technology for New Media at Sybase; Principal Engineer and Architect for graphics systems at Digital Equipment Corporation, working in both research and product groups; and an engineering manager at Microsoft. As a consultant he has worked on large-scale networked multimedia systems, US and EU patents, interactivity for mobile devices, and commercial applications of novel mathematics. His patents, publications, and contributions to technical standards cover distributed multimedia systems and graphics hardware and software. Raymond has a BA in Classics (Latin) and Computer Science from Yale University.

ALSO - Raymond’s photo can be nicked from the MovieLabs website.

https://movielabs.com/about/movielabs-team/ https://movielabs.com/about/movielabs-team/

I don’t know what directory to upload images to for inclusion on the Board page

On Feb 15, 2023, at 11:22 AM, Will Kreth @.***> wrote:
I just added Raymond’s bio to the Staging branch on GitHub.

On Feb 15, 2023, at 11:01 AM, JonathanClarkDOIF @.*** @.***>> wrote:
we're still missing Raymond and Jinseop - I added Steven but can't get his headshot to be round?
—
Reply to this email directly, view it on GitHub https://github.com/doi-foundation/doi-website/issues/14#issuecomment-1431601782, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHGDAFWISQ7QYZESL35QMTWXT4VPANCNFSM6AAAAAAULRALDI.
You are receiving this because you were mentioned.

Raymond’s bio from MovieLabs.com http://movielabs.com/
https://movielabs.com/about/movielabs-team/ https://movielabs.com/about/movielabs-team/
Raymond Drewry
VP, EMEA Operations & Principal Scientist
Raymond has been in the industry for 25 years primarily as a technologist. He has designed and implemented systems that range from the first fully interactive digital cable network in Europe, through the first-ever networked digital video system for journalists at an international sporting event, to real-time robotics systems for special effects and mechanical-industrial performance pieces. He also was a prime contributor to early versions of the X11 window system and Microsoft Windows 1.0.
Before joining MovieLabs Raymond was CTO at Aggregator TV, a UK-based IPTV content company, and before that CTO and VP of engineering at Liberate Technologies. He has also been Director of Technology for New Media at Sybase; Principal Engineer and Architect for graphics systems at Digital Equipment Corporation, working in both research and product groups; and an engineering manager at Microsoft. As a consultant he has worked on large-scale networked multimedia systems, US and EU patents, interactivity for mobile devices, and commercial applications of novel mathematics. His patents, publications, and contributions to technical standards cover distributed multimedia systems and graphics hardware and software. Raymond has a BA in Classics (Latin) and Computer Science from Yale University.

OK I'll do that - it a flatteringly ancient photo :))

I also edited his bio a bit to shorten

Just Jinseop to go now.....I send him an urgent email - I might have at least a job title on old minutes

I took a snap of Jinseop on our zoom call today and contacted him to check. No reply. No bio yet either but closing this as everything else is fine and its up to him now.

nice photo of Jinseop!!


Http DependencyCollection in netcore inconsistent with full framework/sql?

HttpCoreDiagnosticSourceListener calls TrackException here:
https://github.com/Microsoft/ApplicationInsights-dotnet-server/blob/develop/Src/DependencyCollector/Shared/HttpCoreDiagnosticSourceListener.cs#L275
But other dependency collection mechanisms for http, sql does not call TrackException() ever.
This cause inconsistent behavior - either have all dependency collectors report the Exception along with reporting failed dependency, or modify HttpCoreDiagnosticSourceListener to not report the exception.
Version Info
SDK Version :
.NET Version :
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) :
OS :
Hosting Info (IIS/Azure WebApps/ etc) :

This was fixed.


Export fromShelleyBasedScript from Cardano.Api, backported to 1.35

Backported to release/1.35, original here https://github.com/input-output-hk/cardano-node/pull/4386

We've disabled the test that depended on this fix and will enable it again when when we depend on a new release of cardano-node.


Specify that deployment slots lead to single resource group.

Its not necessarily clear to me that when using deployment slots, you are restricted to having all the application instances be contained within a single resource group. It appears through the microsoft docs that its common to isolate environments by using separate resource groups. It might be useful to state this upfront to avoid confusion? Otherwise readers continue reading about deployment slots, when they realize that it cant work for their environment because of the resource group separation.

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

ID: 0e540bb6-9f72-0529-28ea-ae82bc869835
Version Independent ID: 24e71392-985b-59fb-1552-46395b169612
Content: Naming conventions for Azure resources - Best practices for cloud applications
Content Source: docs/best-practices/naming-conventions.md
Service: architecture-center
GitHub Login: @telmosampaio
Microsoft Alias: pnp

@jstallm can you provide me with the link to the document you are referring to?

@jstallm I will close this for now. If you have feedback please provide it directly on the doc you are referring to so we can better assist.

@MicahMcKittrick-MSFT  https://docs.microsoft.com/en-us/azure/architecture/best-practices/naming-conventions

@jstallm by deployment slots what service are you referring to?  I am not seeing this doc reference deployment slots

@MicahMcKittrick-MSFT ,
https://docs.microsoft.com/en-us/azure/architecture/best-practices/naming-conventions.
Refers to creating seperate resource groups per environment.
https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
refers to creating a deployment slot, without ANY reference to how one might have organized their resource groups. What I am saying is that there should be some clarification into the constraint posed by deployments slot, mainly that
"If you are naming a deployment slot to represent an environment, (i.e. STAGING, PROD) using deployment slots imposes a constraint on your resource group organization in that you MUST have both environments under the same logical resource group"

@jstallm I suppose so. Although the staging slots in an app service are not the same and separating your resources using different resource groups. Each App services has the ability to have multiple slots that you can use to swap out your production environment. They are tied to your app service so you of course cannot have them in separate resource groups nor would you want to.
I think mentioning deployment slots in this naming doc would just be confusing. Each service can be put into a resource group and at that level is where we suggest you separate resource groups. Such as having a Production VM and a testing VM in two resource groups. Since app services has built in deployment slots that you can swap out there would be no need to have multiple resource groups. You could of course have multiple app services for say each function in different resources. Such as a website resource group, a internal only resource group, etc.

We also have a whole doc on deployment slots for app services
https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots

@jstallm I will close this for now. However, I have informed the author of your feedback and this issue will remain on the doc. If others are seeing confusion we can revisit and consider revising the doc.

Say I want to give someone doing internship access to development azure resources. I want the intern to access the development resource group.
From the staging slot docs:
my-demo-app // production
my-demo-app-staging // added and ends up in the same resource group as 'my-demo-app'
It seems Azure don't explain how resources in development-resource-group can update the resources in production-resource-group
It supports separation in low resource level, but don't not on resource group level


Big relationship query refactor

Codecov Report
Patch coverage: 79.69% and project coverage change: +0.38 :tada:

Comparison is base (d443478) 84.33% compared to head (641f07b) 84.71%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #70      +/-   ##
==========================================
+ Coverage   84.33%   84.71%   +0.38%
==========================================
  Files         125      124       -1
  Lines       10852    11148     +296
  Branches     1310     1391      +81
==========================================
+ Hits         9152     9444     +292
+ Misses       1676     1675       -1
- Partials       24       29       +5

Impacted Files
Coverage Δ

<EMAIL_ADDRESS>63.09% <ø> (-0.11%)
:arrow_down:

<EMAIL_ADDRESS>42.10% <9.09%> (ø)

<EMAIL_ADDRESS>58.13% <19.44%> (-27.87%)
:arrow_down:

<EMAIL_ADDRESS>54.28% <21.95%> (-45.72%)
:arrow_down:

<EMAIL_ADDRESS>77.01% <66.66%> (-0.32%)
:arrow_down:

<EMAIL_ADDRESS>77.86% <77.99%> (+14.55%)
:arrow_up:

<EMAIL_ADDRESS>88.23% <81.25%> (+11.56%)
:arrow_up:

<EMAIL_ADDRESS>75.27% <82.75%> (+1.13%)
:arrow_up:

<EMAIL_ADDRESS>84.66% <83.82%> (-1.95%)
:arrow_down:

<EMAIL_ADDRESS>86.22% <85.54%> (+1.83%)
:arrow_up:

... and 6 more

... and 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add API to get commit diff/patch

This PR adds an API endpoint to get the diff or patch file of a commit. It uses the same mechanism as the "site" <host>/<owner>/<repo>/commit/<sha>.<diff or patch>.
Endpoints:
Get diff /repos/{owner}/{repo}/git/commits/{sha}.diff
Get patch /repos/{owner}/{repo}/git/commits/{sha}.patch
Could close #10921 #13012

could you write a very simple integration test (one download of a patch and one for diff) ...
If you need help just ask

Is https://github.com/go-gitea/gitea/pull/17095/commits/67ebe5070d63b41e825f609446598459f6b46b09 enough?

Codecov Report

Merging #17095 (50c1fd8) into main (a4bfef2) will increase coverage by 0.00%.
The diff coverage is 57.14%.

@@           Coverage Diff           @@
##             main   #17095   +/-   ##
=======================================
  Coverage   45.25%   45.25%
=======================================
  Files         773      773
  Lines       86828    86842   +14
=======================================
+ Hits        39291    39301   +10
+ Misses      41188    41182    -6
- Partials     6349     6359   +10

Impacted Files
Coverage Δ

routers/api/v1/repo/commits.go
54.73% <53.84%> (-0.15%)
:arrow_down:

routers/api/v1/api.go
78.22% <100.00%> (+0.02%)
:arrow_up:

modules/queue/queue_channel.go
91.66% <0.00%> (-3.34%)
:arrow_down:

modules/git/repo_base_nogogit.go
82.85% <0.00%> (-2.86%)
:arrow_down:

modules/git/utils.go
68.05% <0.00%> (-2.78%)
:arrow_down:

modules/process/manager.go
72.83% <0.00%> (-2.47%)
:arrow_down:

modules/queue/queue_disk_channel.go
60.94% <0.00%> (-1.78%)
:arrow_down:

models/issue_comment.go
51.31% <0.00%> (-0.59%)
:arrow_down:

routers/web/repo/view.go
40.71% <0.00%> (-0.57%)
:arrow_down:

services/pull/pull.go
41.78% <0.00%> (ø)

... and 5 more

Continue to review full report at Codecov.

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

Just a question, nothing that should be done in this PR: as @6543 suggested, I merged the two endpoints into one. Is there a certain reason why there are two endpoints for the PRs? One for diff and one for patch? To keep it consistent, it may be good to merge them into one.

@qwerty287 as I can see they can be merged too

Just a question, nothing that should be done in this PR: as @6543 suggested, I merged the two endpoints into one. Is there a certain reason why there are two endpoints for the PRs? One for diff and one for patch? To keep it consistent, it may be good to merge them into one.

it would be breaking in terms of swagger doc but not for api - so I would say it's good to go
yes if you would open another pull I'm happy to look at it

Ok I think I'd like to do this


knockknock.com

Opportunity to Invest in KnockKnock.com - A Secure and Private Email Service with Cryptocurrency Integration
Dear [Investor’s Name],
I hope this email finds you well. I am writing to introduce you to an exciting investment opportunity in a groundbreaking project: KnockKnock.com, an independent email service that prioritizes security, privacy, and user control.
At KnockKnock, we are developing a next-generation email platform that serves as a digital fortress for individuals and businesses seeking uncompromising security and privacy in their communications. Our platform combines state-of-the-art encryption technology with user-friendly features to create a seamless and secure email experience.
Key features of KnockKnock.com include:
1.	End-to-End Encryption: All emails sent and received through KnockKnock.com are encrypted from end to end, ensuring that only the intended recipients can access the message contents.
2.	User Authentication: Robust user authentication mechanisms, including multi-factor authentication (MFA), protect user accounts from unauthorized access.
3.	Cryptocurrency Integration: KnockKnock.com supports seamless integration with popular cryptocurrencies, allowing users to send and receive payments directly within their email inbox.
4.	Regulatory Compliance: We are committed to upholding the highest standards of regulatory compliance, ensuring that KnockKnock.com complies with relevant data protection laws and financial regulations.

By investing in KnockKnock.com, you have the opportunity to be part of a revolutionary project that is reshaping the future of digital communication. Our team of experienced developers, cybersecurity experts, and business professionals is dedicated to delivering a product that exceeds expectations and sets new standards for security and privacy in the digital age.
We are currently seeking strategic investors to join us on this journey and help us bring KnockKnock.com to life. If you are interested in learning more about this investment opportunity or would like to schedule a meeting to discuss further, please don’t hesitate to contact me at [Your Contact Information].
Thank you for considering this opportunity, and I look forward to the possibility of working together.
Best regards,


Feature Request: Expose Baseline Status in fulldata-json

As far as I can tell, the Baseline status of features isn't currently exposed via the features data JSON file. Would like to include the Baseline status in my embed, any plans for making this available?

As the baseline status comes from the web-features repo I'd suggest instead to reference that data source instead, it includes caniuse IDs to map to. That's currently how the caniuse.com site gets it.

Thanks @Fyrd ! Will do this


Bump Golang to go1.17.8

Bump Dockerfile golang version

[ ] Example bump for previous go version
[ ] Sync pipelines

Acceptance

[ ] Check the progress of the bump in diego-ci. Confirm all jobs have passed and release-candidate branch has been bumped

邮件已收到，我会尽快阅读并回复，谢谢


Unable to use source property of Image using file://

Description:
The following will not display the image:
<Image
        source={{
          isStatic: true,
          uri: 'file://../img/logos/logo.png',
        }}
        style={{ width: 200, height: 200, resizeMode: 'contain', }}
        resizeMode="contain"
      />

Why not just use require?
I'm trying to load an image conditionally. It may not exist. It must be a standardized size if it exists but it may be different from one phone and one session of the same phone to the next. You may be aware that require cannot use anything but a static resource.
Why not use https://filename?
This app must be used in unreliable network connectivity, meaning the set of images will be downloaded once, and reused often where there is no connectivity.
React Native version:
PS C:\Users\jhale\project> react-native --version
react-native-cli: 2.0.1
react-native: 0.61.4
PS C:\Users\jhale\project> react-native info
info Fetching system and libraries information...
error Unable to print environment info.
Error: Command failed: wmic os get Caption
'wmic' is not recognized as an internal or external command,
operable program or batch file.

Steps To Reproduce
There is no variation of isStatic and uri of the source property that will show the image or provide an error.
Expected Results
Either the image should be shown or an error should result at runtime indicating an improperly formatted uri.
Snack, code example, screenshot, or link to a repository:
Snack

The info command seems to have failed. Can you confirm if this is Android or iOS?
It sounds like there was recently a bug with '..' not working on Android, so this might be that. Please confirm whether you're using this in development or production and what platform you're on.

The info command seems to have failed. Can you confirm if this is Android or iOS?
It sounds like there was recently a bug with '..' not working on Android, so this might be that. Please confirm whether you're using this in development or production and what platform you're on.

I'm on Android working in development.
I noticed that the included link to a Snack shows the image fails to load for iOS and Android simulators as well as running it on Expo on my Android phone.

The info command seems to have failed. Can you confirm if this is Android or iOS?
It sounds like there was recently a bug with '..' not working on Android, so this might be that. Please confirm whether you're using this in development or production and what platform you're on.

I just confirmed it fails for iOS development as well.
info Fetching system and libraries information...
System:
    OS: macOS 10.15.3
    CPU: (4) x64 Intel(R) Core(TM) i3-8100B CPU @ 3.60GHz
    Memory: 2.41 GB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.16.0 - /usr/local/bin/node
    Yarn: 1.21.1 - ~/npm-global/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
  IDEs:
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  npmPackages:
    react: ^16.11.0 => 16.12.0
    react-native: 0.61.4 => 0.61.4
  npmGlobalPackages:
    react-native-cli: 2.0.1

Is there any update on this?

Any update on this? I got images from CameraRoll API and can't show them up.

Hey @jinhale 👋
Did you find any workaround for this? Also, I was curious to know if we can use the file:/// URI Schema. Is it supported in mobile environments?

Unfortunately, no, I didn't find a workaround for this. I don't recall if I used the three slashes.

Hi @jinhale would this section of the docs help you out? https://reactnative.dev/docs/images.html#images-from-hybrid-apps-resources

Hi @jinhale would this section of the docs help you out? https://reactnative.dev/docs/images.html#images-from-hybrid-apps-resources

From the documentation, it appears that this method wouldn't work. From the first sentence: "If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app [emphasis mine]." I want to load an image after downloading it, so it will not be bundled in the app.
The sentence about assets is interesting: "For images included via Xcode asset catalogs or in the Android drawable folder, use the image name ..." So far I haven't been able to find documentation to download an image to assets, so I'm unsure if that's possible. If that's possible I'm not sure it would work nonetheless because "These approaches provide no safety checks. It's up to you to guarantee that those images are available in the application [before they are downloaded]."


How to add custom properties, such as tag or class

How to add custom properties, such as tag or class

Do you mean custom attributes, as mentioned in #481?

Do you mean custom attributes, as mentioned in #481?

Thanks, I solved this problem, by the way ask the existing svg node string such as how can a rect be added to the svg file?


Fix the start command not to reload if debug is False

fixes #1920

Tested successfully on Linux with python manage.py start (Debug=false and true) -> Only one brwoser tab is opened. Nice! Thanks!
So please merge soon ;-)


[DAPHNE-#703] Fix whileOp type inference

This patch resolves whileOp's region arguments that might have been set to unknown and are not updated anymore during type inference.
Closes #703

Yes you're right @pdamme, this one needs cleanup :speak_no_evil: The problem that this PR solves is documented in #617 Similar to the conv2d+read issue that I fixed recently by adding the type inference for conv2d, the daphne.unknown type is propagated from early stages while still parsing and is not properly handled in later compiler passes. Adding a testcase using components_read.daph should test the issue. I'llFixit©

This problem seems to have been fixed since 9a3aaf064a992a423b5b2bf3cfc257387b2cc9a5 so I'll retract this PR. It seems that DAPHNE can now better handle unknown data types. I'll keep the branch around if we need to revisit the whileOp data type passing.


error[E0308]: mismatched types

I tried to build Firefox 55 on arm and I get:
Compiling cubeb-pulse v0.0.1 (file:///builddir/build/BUILD/firefox-55.0/media/libcubeb/cubeb-pulse-rs)
error[E0308]: mismatched types
--> /builddir/build/BUILD/firefox-55.0/media/libcubeb/cubeb-pulse-rs/src/backend/context.rs:97:46
|
97 |                                context_name: name,
|                                              ^^^^ expected u8, found i8
|
= note: expected type *const u8
found type *const i8
= help: here are some functions which might fulfill your needs:
- .offset(...)
- .wrapping_offset(...)
error[E0308]: mismatched types
--> /builddir/build/BUILD/firefox-55.0/media/libcubeb/cubeb-pulse-rs/src/backend/context.rs:125:42
|
125 |         let mut ctx = try!(Context::_new(name));
|                                          ^^^^ expected i8, found u8
|
= note: expected type *const i8
found type *const u8
= help: here are some functions which might fulfill your needs:
- .offset(...)
- .wrapping_offset(...)

Looks like a signed-vs-unsigned char issue. new takes a *const c_char but _new takes a *const i8. Which is odd because it stores it in Context::context_name which is a *const c_char again.
Does it build if you just change the _new argument type to *const c_char?

nb this should be fixed upstream by 03f31e21 which is in Firefox 56, so you'll need to patch this for for Firefox 55.

Thanks, I'll try to backport it then.


Fig resize

Resizes figures 2-4 to be 5" x 5" and reformats figures to fit in smaller spaces.

I just added Arial on Aretha. It might work now?

Re-ran the build and still seeing the wrong font--still not sure what's causing this.


Cant install it

Installing<EMAIL_ADDRESS>failed.Hide output…

<EMAIL_ADDRESS>install /private/var/folders/8t/y8tk432j69dbyww5y973dcph0000gn/T/apm-install-dir-119629-1298-1731ruv.vd5t/node_modules/atom-ide-terminal/node_modules/node-pty-prebuilt
prebuild-install || node scripts/install.js

prebuild-install WARN install No prebuilt binaries found (target=3.1.10 runtime=electron arch=x64 libc= platform=darwin)
gyp ERR! configure error
gyp ERR! stack Error: Python executable "/Applications/Atom.app/Contents/Resources/app/apm/bin/python-interceptor.sh" is v3.5.2, which is not supported by gyp.
gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.
gyp ERR! stack     at PythonFinder.failPythonVersion (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/configure.js:501:19)
gyp ERR! stack     at PythonFinder.  System Darwin 18.7.0
gyp ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--build_v8_with_gn=false"
gyp ERR! cwd /private/var/folders/8t/y8tk432j69dbyww5y973dcph0000gn/T/apm-install-dir-119629-1298-1731ruv.vd5t/node_modules/atom-ide-terminal/node_modules/node-pty-prebuilt
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok

Thank you for reaching out to use with this issue report.
Please do not ignore the issue template fields in future, this sort of disregard isnt helpful in any case, in this instance the issue is well know, and, many duplicates to #700 have been filed including yours.
There is a workaround, its been posted in this issue https://github.com/platformio/platformio-atom-ide-terminal/issues/707#issuecomment-514634895 < click that.
There are other workarounds in thread, so reading and typing more than the minimum is necessary.
Thanks for your understanding.


ui-grid: Made the enableColumnResizing field optional.

Also added a test for creating an empty IColumnDef object, implying
setting everything to default values.

ui-grid/ui-grid.d.ts
to author(@btesser). could you review this PR?
:+1: or :-1:?
check list

[ ] pass the Travic-CI test?

Looks good to me

@vvakame @btesser My PR was made obsolete (apart from the test) by #5650 which was the exact same change. Some specific reason why that one was merged directly and not this?

@baltie no idea

Well, it doesn't matter much, of course, I guess we both had the same need for this fix. ;) I'm just curious if I did something wrong with regard to contributions guidelines or something.

wow, @baltie & @btesser sorry #5650 was merged...

Well, I guess that kinda answers my question. Thanks. :) (Though I still think the test had some (smallish) value. ;) ).


enable testing with no active configuration

Fixes #892

@timburks This fixes the issue, but it's a little confusing to me why we called connection.ActiveConfig() in the first place. Do you remember why you might have wanted to override an existing active config instead of creating a new config?


Add Python basics to Welcome notebook

This seems to have been addressed in a PR that I am unable to identify for the time being. Should we close this issue?

I accidentally committed this directly to master. Sorry.
Yes. We can close this.


useOnClickOutside hook is fired when clicking inside the watched component

Hi :)
I am using useOnClickOutside to hide a modal when user clicks outside the modal. This work perfectly for 99% of usecases but when I am using React Select library component inside the watched modal and clear the input, it automatically hide the modal and useOnClickOutside is fired.
Do you have any idea why the hook is triggered?
The clearButton has a ref but it is a descendent element (inside children) so it should not be triggered.

Here is my modal code using your hook
const Modal: React.FC<ModalProps> = ({
  isShowing,
  closeModal,
  title,
  children,
  description,
}) => {
  const modalRef = useRef(null)

  useOnClickOutside(modalRef, () => {
    closeModal()
  })

  useLayoutEffect(() => {
    isShowing && (document.body.style.overflow = "hidden")
    !isShowing && (document.body.style.overflow = "unset")
  }, [isShowing])

  return (
    <>
      {isShowing &&
        ReactDOM.createPortal(
          <>

{title}

{description}

{children}

          </>,
          document.body
        )}
    </>
  )
}
export { Modal }

Thanks a lot :)

Closing this issue due to inactivity, but feel free to reopen or create a new issue if needed. Thanks!


[GVim] Bad interaction between guioptions=! and TerminalOpen

(Previously posted at https://github.com/macvim-dev/macvim/issues/896, where it was suggested that it may affect GVim in general.)
Using MacVim (and possibly other GUI versions of Vim), when external commands are executed in a terminal window and a TerminalOpen autocommand is defined, the command may affect the current window.
To Reproduce

Run gvim -N -i NONE -u vimrc where vimrc has the following content:

  set number
  autocmd TerminalOpen * set nonumber
  set guioptions=!

Type :!ls (or any other :! command)
You should see the line numbers have disappeared from the current window.

I am expecting that the external command is executed in a different window, hence options set in the terminal window shouldn't affect the current window, as is the case if you remove ! from guioptions.

MacVim 8.1.950
OS: macOS 10.14

The TerminalWinOpen autocommand was added for this.


Using object styles instead of tagged templates reduces the output gzipped size with -200k

Hey @harshzalavadiya,
First of all kudos for this project! Really love the output and the small sizes! 😉 Also love that you chose to use goober 😄 thank you for that!
Second, was noticing that you've used css function with tagged template and looking at the minified output in here<EMAIL_ADDRESS>the space occupied by those \n and other strings is enormous. 😄 So I've played around a bit with it and if you change the tagged template into object styles, the output is shaved with -200k!
The syntax will change as:
css`
  opacity: 1;

  &:hover {
    color: tomato;
  }
`;

// To
css({
  opacity: 1,

  '&:hover': {
    color: 'tomato'
  }
});

Filesizes
                                   brotli   gzip     none
  ✔ original/react-multi-*.min.js  3.14 kb  3.58 kb  9.93 kb
  ✔     dist/react-multi-*.min.js  3.00 kb  3.37 kb  8.83 kb

Let me know if you're looking to shave that I can open a PR with those changes.

Hi @cristianbote
first of all thank you for creating goober it's lighter beyond my imagination 😃
Thanks for pointing out this, It will be really great to make this component lib even lighter, I'll be really happy to have a PR 🎉


wt.exe should start powershell/cmd in CURRENT folder

Steps to reproduce
Type wt.exe in command prompt, windows commander, or anywhere else
Expected behavior
Windows Terminal should launch in the CURRENT FOLDER. That is how command line works. Look at git - when you type it in - it starts working in the current folder.
Actual behavior
It always launches in %user% folder

This is by-design - the terminal is obeying your startingDirectory setting.  If you launch wt.exe -d . it will inherit the CWD of the caller. wt -d c:\windows\system32 and it'll launch in c:\windows\system32. #3547, https://github.com/microsoft/terminal/issues/878#issuecomment-538511693 and https://github.com/microsoft/terminal/issues/878#issuecomment-579508860 have more details.
/dup #878

@zadjii-msft

that is by design

Well, consider this a bad design report then

Thanks for the constructive feedback! As I linked above, there's a lot of complicated factors as to why this can't work the way you want, without breaking some other scenario. If you have some idea on how to fix this scenario holistically, I'd be happy to review a PR ☺


[BUG] Remote feedstocks clone fails if git_tag is not present and git_tag_for_env is present

Describe the bug
In any env file, if a remote feedstock is specified with no git_tag and the env file has git_tag_for_env, then clone of the repo is done but checkout to git_tag_for_env fails. And this causes the build to stop or that feedstock gets missing.
To Reproduce
Following sample of env file can lead to the error -
packages:
   - feedstock: https://github.com/conda-forge/absl-py-feedstock
   - tensorboard
git_tag_for_env: open-ce-v1.7.0

Expected behavior
git_tag should be made mandatory in case it is not present for remote feedstocks. So, an error should be thrown if git_tag is not specified.
System (please complete the following information):

OS: [e.g. RHEL, Windows]: RHEL 7/8
Architecture [e.g. Power, x86]: Power, x86, s390x

Fixed in https://github.com/open-ce/open-ce-builder/pull/138


Changing the ColorTransform of a LWF.Movie

I have a MovieClip in my flash that is tinted 100% blue. When I in Unity run the following code:
LWF.Movie m = lwf.SearchMovieInstance ("mymovieclipinstancename");

LWF.ColorTransform ct = m.colorTransform;
Debug.Log(ct.multi.red+","+ct.multi.green+","+ct.multi.blue+","+ct.multi.alpha);
Debug.Log(ct.add.red+","+ct.add.green+","+ct.add.blue+","+ct.add.alpha);

ct = new LWF.ColorTransform(0.5f, 0.5f, 0.5f, 0.5f, 0.5f, 0.5f, 0.5f, 0.5f);
m.SetColorTransform(ct);
lwf.ForceExecWithoutProgress();

ct = m.colorTransform;
Debug.Log(ct.multi.red+","+ct.multi.green+","+ct.multi.blue+","+ct.multi.alpha);
Debug.Log(ct.add.red+","+ct.add.green+","+ct.add.blue+","+ct.add.alpha);

The MovieClip does indeed change color correctly. However, I'm not getting the correct console output:
0,0,0,1
0,0,0.9960938,0
1,1,1,1
0,0,0,0

Here is what the output should be like:
0,0,0,1
0,0,0.9960938,0
0.5,0.5,0.5,0.5
0.5,0.5,0.5,0.5

It looks like the SetColorTransform() method of LWF.Movie does not update its colorTransform field properly after it has reflected any changes (it just resets it). This is probably a bug, right?

There does also seem to be some problem between using SetAlpha() and then getting the colorTransform of a LWF.Movie. SetAlpha() doesn't update the alpha value of LWF.Movie's colorTransform so you may end up changing the alpha during the SetColorTransform().


invalid_client.. invalid_client.. week job

I've been working on the problem for a week now.
https://www.mustgokorea.com/auth/meetup_login?code=397883065d16156c06a970cd87fb01e7
code received by "https://secure.meetup.com/oauth2/authorize",
but can't get access token occuring error : invalid_client on "https://secure.meetup.com/oauth2/access" POST request.
here's what I did.
on a link href attribute,  inserted "https://secure.meetup.com/oauth2/authorize?client_id=blahblah" with redirect_uri to get code. it worked and I made the function where redirect_uri would come and cURL post to "https://secure.meetup.com/oauth2/access" with client_id, client_secret, grant_type, redirect_uri, code above. And all form data are well-url-encoded and correct. And I got invalid_client error.
How should I do now? Any help?

The client redirect_uri request parameter provided in the oauth2/authorize call must match the one you send with the oauth2/access call. Can you confirm those are the same?


Unable to install tesseract 5.0 on GCP

I'm trying to install tesseract 5 on GCP instance and its ignoring the process. Here's the details:
Steps  follow for installation:
$ sudo apt update

$ sudo add-apt-repository ppa:alex-p/tesseract-ocr-devel

 This PPA contains an OCR engine - libtesseract and a command line program - tesseract. The development version available here (currntly 5.0.0 ) is better in many aspects (functionality, speed, stability) but is not 100 % API compatible with version 4.0. Tesseract 4 added a new neural net (LSTM) based OCR engine which is focused on line recognition, but also still supports the legacy Tesseract OCR engine of Tesseract 3 which works by recognizing character patterns. Compatibility with Tesseract 3 is enabled by using the Legacy OCR Engine mode (--oem 0). It also needs traineddata files which support the legacy engine, for example those from the tessdata repository. Tesseract has unicode (UTF-8) support, and can recognize more than 100 languages "out of the box". Tesseract supports various output formats: plain text, hOCR (HTML), PDF, invisible-text-only PDF, TSV. The master branch also has experimental support for ALTO (XML) output.
 More info: https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr-devel
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmpgittc8hw/pubring.gpg' created
gpg: /tmp/tmpgittc8hw/trustdb.gpg: trustdb created
gpg: key A4BCBD87CEF9E52D: public key "Launchpad PPA for Alex_P" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: no valid OpenPGP data found.

$ sudo apt update

Hit:1 http://packages.cloud.google.com/apt cloud-sdk-buster InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Hit:4 http://packages.cloud.google.com/apt google-cloud-packages-archive-keyring-buster InRelease
Hit:5 http://deb.debian.org/debian buster-updates InRelease
Hit:6 http://packages.cloud.google.com/apt gcsfuse-buster InRelease
Hit:7 https://packages.cloud.google.com/apt google-fast-socket InRelease
Hit:8 http://deb.debian.org/debian buster-backports InRelease
Hit:9 http://packages.cloud.google.com/apt google-compute-engine-buster-stable InRelease
Get:10 https://download.docker.com/linux/debian buster InRelease [54.0 kB]
Get:11 https://nvidia.github.io/libnvidia-container/stable/debian10/amd64  InRelease [1484 B]
Hit:12 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
Hit:13 https://nvidia.github.io/nvidia-container-runtime/stable/debian10/amd64  InRelease
Hit:14 https://nvidia.github.io/nvidia-docker/debian10/amd64  InRelease
Ign:15 http://ppa.launchpad.net/alex-p/tesseract-ocr-devel/ubuntu lunar InRelease
Ign:16 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu lunar InRelease
Err:17 http://ppa.launchpad.net/alex-p/tesseract-ocr-devel/ubuntu lunar Release
  404  Not Found [IP: <IP_ADDRESS> 80]
Err:18 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu lunar Release
  404  Not Found [IP: <IP_ADDRESS> 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/alex-p/tesseract-ocr-devel/ubuntu lunar Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/deadsnakes/ppa/ubuntu lunar Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

$ sudo apt install -y tesseract-ocr

Reading package lists... Done
Building dependency tree
Reading state information... Done
tesseract-ocr is already the newest version (4.0.0-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I tried to uninstall previous version and then install it again, but did not work at all. Kindly tell help me whats going wrong, its working fine on local system.

This is not tesseract project issue (we do not provide binary distributions). Please contact directly packager/repository owner.
BTW: version 5.0.0 is outdated - try to install the latest stable version (5.2.0)


Problem with signals

git clone https://github.com/Bacon2D/Bacon2D.git
cd Bacon2D
git submodule update --init

cd 3rdparty/qml-box2d
qmake
mingw32-make
mingw32-make install

cd ..
cd ..

mkdir build && cd build
qmake ..
mingw32-make                // !!!!!!!!!!!!!!!
mingw32-make install

Hi @2plus,
As a quick fix, you can checkout to this hash (git checkout ad4e5ea52393c9fbf660f0c673e8766ba97875df), until we fix it on master.
Thank you for reporting this issue!

I have a fix in https://github.com/Bacon2D/Bacon2D/pull/111

This should be fixed now, please re-open if you still have trouble building on windows.


Switch to embedded-hal 1.0.0

Not sure when is a good time to do this but it would be great to be an early adopter of the new traits :) They bring a lot of improvements to ergnomics and usability which would help the readability of downstream code a lot.
We do, however, have to consider that most drivers won't have updated yet so we have to be careful as to not become 100% incompatible.  Maybe there is a possibility for a compat-shim layer or a cargo-feature to allow using the older version in parallel?

For reference, some other HALs have gone the route of supporting both the release and alpha versions of embedded-hal at the same time:
https://github.com/lpc-rs/lpc8xx-hal/blob/6e787f8e26d908b3cea13c3c47f04695f4112837/Cargo.toml#L40-L46
If done carefully, I could see this bringing nice benefits.  We could have the HAL API look nice because of the alpha traits but still keep compatibility with 'old' drivers through the release version.


Client Crash -> Sort Comparison method violates its general contract

Hello, using the latest github pull / compiled version for 1.12.x, user clicked on organize by saturation and got this:
https://gist.github.com/Dockter/6dc70a7b668fc47fc1ab2dffd8cec9f5
Thank you.

This might be fixed now in the latest version.


expected dtype float for end but got dtype c10::BFloat16

When training with DeepSpeed with BF16 enabled, I got the following error:
 File "path/python3.10/site-packages/ema_pytorch/ema_pytorch.py", line 288, in update
   self.update_moving_average(self.ema_model, self.model)
 File "path/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
   return func(*args, **kwargs)
 File "path/python3.10/site-packages/ema_pytorch/ema_pytorch.py", line 351, in update_moving_average
   self.inplace_lerp(tgt, src, 1. - current_decay)
 File "path/python3.10/site-packages/ema_pytorch/ema_pytorch.py", line 42, in inplace_lerp
   tgt.lerp_(src, weight)
RuntimeError: expected dtype float for `end` but got dtype c10::BFloat16

Ohhh, the solution is to set coerce_dtype=True


Verifying/Requesting package acquisition failed: server error

Brief description of your issue
Unable to install WSL App from msstore with winget as similarly reported in #2052 #2343
"winget install ""Windows Subsystem for Linux"" --source msstore --accept-package-agreements --accept-source-agreements" | Invoke-Expression
Found an existing package already installed. Trying to upgrade the installed package...
No applicable upgrade found.  "winget install ""Windows Subsystem for Linux"" --source msstore --accept-package-agreements --accept-source-agreements" | Invoke-Expression
Found Windows Subsystem for Linux [9P9TQF7MRM4R] Version Unknown
This package is provided through Microsoft Store. winget may need to acquire the package from Microsoft Store on behalf of the current user.
Agreements for Windows Subsystem for Linux [9P9TQF7MRM4R] Version Unknown
Version: Unknown
Publisher: Microsoft Corp.
Publisher Url: https://privacy.microsoft.com/en-us/privacystatement
Publisher Support Url: https://aka.ms/wsl2
Description:
  Windows Subsystem for Linux (WSL) lets developers run a GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a traditional virtual machine or dual boot setup.

  Installing WSL through the store will allow you to get the latest WSL updates and features faster, and without needing to modify your Windows version. To learn more please visit https://aka.ms/wsldocs
License: ms-windows-store://pdp/?ProductId=9P9TQF7MRM4R
Privacy Url: https://privacy.microsoft.com/en-us/privacystatement
Agreements:
Category: Developer tools
Pricing: Free
Free Trial: No
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
Seizure Warning: https://aka.ms/microsoft-store-seizure-warning
Store License Terms: https://aka.ms/microsoft-store-license

Verifying/Requesting package acquisition...
Verifying/Requesting package acquisition failed: server error

Steps to reproduce
"winget install ""Windows Subsystem for Linux"" --source msstore --accept-package-agreements --accept-source-agreements" | Invoke-Expression

Expected behavior
Install WSL App from msstore
Actual behavior
Fails with error
Environment
Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.1413
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

At this time, that problem is no longer occurring for me. Of course, now, I'm getting
Failed to install or upgrade Microsoft Store package. Error code: 0x80240066
I don't know whether that means that I got past the original problem or that this problem is now masking the original problem. This new problem is probably out of scope for winget but maybe someone knows what might be the problem now? I already tried resetting the Windows Store app, and that didn't help.

Back to the original problem again today, and since I now know how to get the log for an installation attempt:
2023-04-12 09:20:46.384 [CORE] WinGet, version [1.4.10173], activity [{536FD4BD-1F51-4928-A0AF-A4A25604A494}]
2023-04-12 09:20:46.385 [CORE] OS: Windows.Desktop v10.0.22621.1413
2023-04-12 09:20:46.385 [CORE] Command line Args: winget  --info
2023-04-12 09:20:46.385 [CORE] Package: Microsoft.DesktopAppInstaller v1.19.10173.0
2023-04-12 09:20:46.385 [CORE] IsCOMCall:0; Caller: winget-cli
2023-04-12 09:20:46.389 [CLI ] WinGet invoked with arguments: '--info'
2023-04-12 09:20:46.389 [CLI ] Leaf command to execute: root
2023-04-12 09:20:46.389 [CLI ] Executing command: root
2023-04-12 09:20:46.407 [CORE] GetPathTo directory creation requested for [3], but path was not absolute: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
2023-04-12 09:20:46.417 [CLI ] Leaf command succeeded: root

User Still-Ad8306 solved this issue on Discord and it worked for me as well!
https://www.reddit.com/r/sysadmin/comments/12cwj8p/winget_server_error/