Maze generation game extension.

I want to make a maze game extension. please assign it to me.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
What problem is this feature trying to solve?
How do we know when the feature is complete?

Already working to another contributor. Closing this because of no update #679


optimization

Have you considered writing a bytecode to search the address

As in a memory scanner?
I have considered it, It would need to run in a C++ dll plugin, because python is way to slow by itself because of the thread GIL lock. Early versions of badtooth had a scanner but it was horrendously slow compared to say cheat engine


Creating a home page with a few books displayed!

Creation of a home page with few books displayed. Please assign this to me after labelling it under gssoc'24 extd.

Creation of a home page with few books displayed. Please assign this to me after labelling it under gssoc'24 extd.

hi @Ashmita-15 this project is no longer in the gssoc'24


you need to run application with admin priviledges once to install Adobe After Effects commandLineRenderer.jsx patch

Please suggest me what am i doing wrong here.

{
"template": {
"src": "https://xxx/xxx/temp1/T.aep",
"composition": "main"
}
}

Open command prompt as administrator, normally on windows I think you can right click on Command Prompt and select open as administrator

Ohk I got it. Thanks


Added an index

What kind of change does this PR introduce?
Changes README.md (Adds an index)

** Can it be referenced to an Issue? If so what is the issue # ?**
Nope
How can we test it?

Summary

Does this PR introduce a breaking change?
Other information
A simple index addition in the README.md

Great idea, but something seems to have gone wrong. Did you fork from master, but then suggest the merge to dev?

Great idea, but something seems to have gone wrong. Did you fork from master, but then suggest the merge to dev?

Yup, I was originally working on the master fork, but then realised I needed to do it on the dev branch.
Nevermind, I'll close this one and create a fresh patch


debugging: check that models can overfit to an individual

It is indeed possible to overfit if we add in IID info to the data


Lock-free scheduling?

Would it be possible to implement lock-free scheduling as follows?
I have two threads: The "main" thread for the GUI, and a high-priority background thread. The background thread has a strict low-latency requirement: It must never have to wait for the main thread.
I have a Subject s, and observe it on the main thread: s.get_observable().observe_on(<main thread worker>).map(…).
I call s.on_next() on the background thread. From rx-observe_on.hpp it looks like this locks a mutex which is also locked by the main thread, right? If so, would it be possible to do scheduling such that on_next (and on_error, on_completed) don't need locking? I'm thinking of using lock-free queues, but from looking at the RxCpp source, I'm not sure how this could be done.
Any input or ideas are greatly appreciated. Thanks! :)

Perhaps you have already given this a try. Observe_on seems to be solving a different problem.
If you want a lock free solution the best way is to wrap an existing lock-free queue or threadpool or task library in an new rxcpp scheduler and then pass that scheduler to the delay() operator with a delay of zero ;)
Delay will just call sched.schedule(sched.now() + 0, [v, out](){out.on_next(v);}); with you providing both now() and schedule() you can fully control the behavior.

Thanks so much! I'll give that a try.


Setup wireless adapter

Missing driver, need windows 8 driver
Preparing to move desktop to update driver

Using Windows Home Server 2011
Download updated driver and store after installation for 8 and 10

Manually install wireless driver


Audit : Sessions Tables Etc. Missing

TBC ---> Missing the whole section relating to tabular reports.

First draft of the sessions table has now been added.

TBC:

Guests
Emails
Sales

Sessions now done and dusted.

Sales now sorted.

Emails are now done.

Leaving socials for a while...

Guests done although the details page needs to wait before completing.

Socials are now complete. The only things remaining:

Detailed social view
Detailed guest view
Downloads - in separate issue completely, TBC.

All sections complete, however we're missing a date filter and download link as per https://github.com/cucumber-tony/cucumber-frontend/issues/100
Moving that to a separate milestone.


[Bug]: Container widget with height (adjust with limits option) - the content adjusts, but with a scroll bar until the invisible items

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When we use the widget container with the "Adjust with limits" option with 3 labels, for example vertically, when there is the logic of not displaying labels 2 and 3, the content is adjusted to the minimum height but a scroll is created and the ideal would be not have
Steps To Reproduce
1 - put widget container
2 - put 3 labels inside
3 - put the minimum height up to the first label
4 - make the last 2 labels invisible
the content will adjust but with a scroll bar
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Self hosted - 1.9.45

@leonardo-ciandt I'm not able to reproduce this issue. Could you share a sample public app on https://app.appsmith.com

@leonardo-ciandt that's pretty odd and shouldn't be the case. Let me know if you are able to reproduce it on a new app and we can take a look


Proj example failing on master

From #3119:
larsoner@bunk:~/custombuilds/mne-python$ python examples/visualization/plot_ssp_projs_sensitivity_map.py
==================================
Sensitivity map of SSP projections
==================================

This example shows the sources that have a forward field
similar to the first SSP vector correcting for ECG.

Traceback (most recent call last):
  File "examples/visualization/plot_ssp_projs_sensitivity_map.py", line 31, in <module>
    ssp_ecg_map = sensitivity_map(fwd, ch_type='grad', projs=projs, mode='angle')
  File "/home/larsoner/custombuilds/mne-python/mne/proj.py", line 377, in sensitivity_map
    co = linalg.norm(np.dot(gg[:, 2], U))
ValueError: shapes (204,) and (0,) not aligned: 204 (dim 0) != 0 (dim 0)

I'll try to take a look to see what's going on.

I have a fix ready for it. Just a minute.

There needs to be a fix at the sensitivity_map level and the example level, I'm working on both. I'll stop if you already have both done...

Okay I'm not sure what's the problem in the sensitivity map. The example fix is just not removing the grad projector.

projs = projs[3:][::2]  # take only one projection per channel type ->
projs = projs[::2]  # take only one projection per channel type

cool I'll put that in


Synth and onboard speaker support

TODO:

Switching the pitch pin
playMelody() crashes
Sometimes sound cuts out
Some APIs should not appear if there isn't a built-in speaker

@riknoll,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Provide example to use https://github.com/helix-editor/nucleo

https://github.com/helix-editor/nucleo is a Rust library that should be plenty fast to sort through a ton of stuff

@jessegrosjean is using this with great success  https://mastodon.social/@jessegrosjean/110944769732681783


gzip support

Would it be possible to have an option for gzip/deflate compression?

+1

+1 would like this too

+1 This sure would be sweet!

+1

+1

:+1:

+1

:+1:

:+1:

No news on this ?

:+1:

I got this working locally (as an always-on feature, not configurable) by modifying http-server.js:
  before.push(ecstatic({
    gzip: true, // HACK: I ADDED THIS LINE!
    root: this.root,
    cache: this.cache,
    showDir: this.showDir,
    autoIndex: this.autoIndex,
    defaultExt: this.ext,
    handleError: typeof options.proxy !== 'string'
  }));

+10

It't really useful.

+1!

+1

Please use the reaction feature to express you'd like to have this feature.

+1

doing an npm install of http-server doesn't seem to pull in the gzip property event after an npm cache clean.  Is this feature available in the npm package yet?

Is this feature available in the npm package yet?

Nope. npm info http-server gitHead says the published git commit is 1a8552c5e028bd5500027ee940111133927a4e94. 1a8552c is behind b456b77, which added gzip support.

For what I understand the current --gzip option requires you to produce something.ext.gz by yourself. But what I want is a option that does the compression on the fly, like the express middleware app.use(compress()), just plug in one line and no hassle.

@golopot right now, I'd say that on-the-fly compression is "out of scope" for a static web server--which should really just transmit content with minimal involvement. If you'd still like to discuss it, though, please file a separate issue. Thanks!

To be clear, on-the-fly compression was exactly what I wanted when i originally opened this issue

Good to know @WickyNilliams. At this point, I don't plan on going beyond what's "underneath" in the form of node-ecstatic's support https://github.com/jfhbrook/node-ecstatic#optsgzip
There are few things we're adding here, but mostly I'm wanting to continue to build up from the node-ecstatic foundation. Any sort of server-side content processing would be out-of-scope in that case.

@BigBlueHat i wasn't necessarily looking for on-the-fly compression. As noted in my previous comment
https://github.com/indexzero/http-server/issues/56#issuecomment-141689367
i got it working w/ a hack, but i'd like this to be supported by the server's options instead of having to hack it myself. Can it be added as an option?

@smarts it's been an option since 0.10.0 was released https://github.com/indexzero/http-server/releases/tag/0.10.0 😄 If you need something more, perhaps open a new issue so we can discuss that there rather than on this closed issue.

Doh! I now see the pull request that references this issue. Thanks for being patient w/ me @BigBlueHat 😅

+100

Seriously, don't understand how hard on-the-fly compression can be, in just a few lines:
var zlib = require('zlib');
pathName = url.parse(request.url).pathname;
var fp = __dirname+"/../.."+pathName; //custom patthing, ignore
var readStream = fs.createReadStream(fp);
readStream.on('open', function (res) {
response.writeHead(200, { 'content-encoding': 'gzip' });
readStream.pipe(zlib.createGzip()).pipe(response);
});

@Nashorn you're more than welcome to turn your suggestion into a pull request!

It's not clean from looking at http-server.js where i would integrate the above solution which does dynamic gzip compression on responses. I found this area, but not even sure where/how to plug in:
var serverOptions = {
    before: before,
    headers: this.headers,
    onError: function (err, req, res) {
      if (options.logFn) {
        options.logFn(req, res, err);
      }

      res.end();
    }
  };


Nested structs and schema inference

Thanks for the Go CDK, love it!
In this PR there is a small commit to handle nested structs, that require the nested properties in the prop spec.
Additionally there is a piggy back using Daniel G. Taylors schema inference, that I have edited to work with airbytes implementation of json schema. For me this completely eliminates the need to define the schema twice. The Go struct handles it all.
I've tested this with the BigQuery struct destination and get desired results.
Hope you like it, I'd be happy to demo it to the community and hopefully drive some more traffic to the Go CDK!

@saifabid I don't have write access to merge as far as I can see :)

@saifabid I don't have write access to merge as far as I can see :)

No worries, merged!

Will release as a new version

@saifabid thanks a ton for merging this !
I see you released it as version 0.0.7, but I do not find the package on pkg.go.dev. Do you plan on releasing it there as well?
Disclaimer: I am a go noob, so if there is another way to get the new version in my project, I am all ears :-)


Update Dockerfile target version to 1.18.0

Bumped to 1.18.1 as well since it's out :) 39a3a65f78405ab5c506b70130aab40695d3b78e


Introducing Grafana Tempo for distributed tracing

Feature Request
Tanzu Community Edition doesn't currently provide a solution for distributed tracing. Considering the presence of Grafana and Prometheus already (which are part of the Grafana OSS stack for observability), it would be great if the platform included Grafana Tempo for distributed tracing.
Describe alternatives you've considered
The alternative would be installing and managing Grafana Tempo explicitly and configure the existing Grafana to use Tempo as a data source.
Additional context
Tempo, just like Grafana, is OSS and licensed as AGPL 3.0. The feasibility of this feature depends on the outcome of #903 and might be considered together with https://github.com/vmware-tanzu/community-edition/issues/2760.

Hi Thomas! Thanks for the feature request.
Pinging @qnetter to assess for:

community need
viability given AGPL

For now we'll move this to the icebox and gather more data/community need to consider this.


Change default branch from master to main

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

GitHub Release
NuGet Package
Chocolatey Package


refactor: dedup the route context code using reflection

What type of PR is this?

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

Fixes #1252

thanks for picking this refactor up @shawnh2 !

thanks @shawnh2 for addressing the comments, adding a minor comment, else LGTM !


Make it possible to specify TCP keepalive for proxy

Is this for the connection from the client to proxy, or from proxy to postgres? Or both?

Two things worth noticing:

net2 is deprecated, we should use socket2 instead.
Could we please merge this after https://github.com/zenithdb/zenith/pull/1270? Those repetitive rebases are going to be the death of me.

Is this for the connection from the client to proxy, or from proxy to postgres? Or both?

Right now I am setting keepalive only for connection between client and proxy. Proxy and postgres are used to be launched in the same data center. Connection between them is not expected to be broken by load balancer (at least it is my expectation, may be I am wrong). In any case, keepalive for proxy-postgres connection can be configured using postgresql.conf generated by pageserver. No need to control it at proxy side.

@knizhnik @hlinnaka
we have AWS Network Load Balancer between client (e.g. psql) and zenith-proxy (target for LB). And proxy has connection to postgres server (compute).
Regarding the aws nlb doc we need keep-alive on both sides of proxy.

For each TCP request that a client makes through a Network Load Balancer, the state of that connection is tracked. If no data is sent through the connection by either the client or target for longer than the idle timeout, the connection is closed. If a client or a target sends data after the idle timeout period elapses, it receives a TCP RST packet to indicate that the connection is no longer valid.

Two things worth noticing:
* [net2](https://github.com/deprecrated/net2-rs) is deprecated, we should use [socket2](https://crates.io/crates/socket2) instead.

Using socket2 requires changing much more things, unlike net2 it doesn't allow to set keepalive for std::net::TcpStream.

Using socket2 requires changing much more things, unlike net2 it doesn't allow to set keepalive for std::net::TcpStream.

You can convert a TcpStream easily into socket2::Socket, see https://docs.rs/socket2/latest/socket2/struct.Socket.html#converting-to-and-from-other-types. It's just a wrapper around the file descriptor.
Yet another alternative is to use nix::sys::socket::setsockopt. We use 'nix' crate for a few other things already.

Closing this in favor of https://github.com/zenithdb/zenith/pull/1448


rbd: unavailable volumes returned when they should be filtered out

@cduchesne observed this behavior (this is libS 0.4 latest and rexray 0.7 latest):
[root@libstorage-rbd-test-admin ~]# ~vagrant/rexray volume ls
ID        Name  Status       Size
rbd.test  test  unavailable  1
[root@libstorage-rbd-test-admin ~]# rbd showmapped
[root@libstorage-rbd-test-admin ~]# ~vagrant/rexray volume attach test
FATA[0001] no volumes found
[root@libstorage-rbd-test-admin ~]# ~vagrant/rexray volume mount test
ERRO[0002] volume in wrong state for attach              host=unix:///var/run/libstorage/147733230.sock instanceID=rbd=<IP_ADDRESS> route=volumeAttach server=sheer-crystal-mq service=rbd storageDriver=rbd task=0 time=1482936753551 tls=false txCR=1482936753 txID=58ab6e6f-f805-41df-5d9b-a1b10963e154
ERRO[0002] volume in wrong state for attach              host=unix:///var/run/libstorage/147733230.sock route=volumeAttach server=sheer-crystal-mq time=1482936753551 tls=false txCR=1482936753 txID=58ab6e6f-f805-41df-5d9b-a1b10963e154
ID  Name  Status  Size  Path
FATA[0002] error mounting volume                         error.status=500 volume=test
[root@libstorage-rbd-test-admin ~]#

You can see that the docker integration driver is calling the driver's attach method, even though the volume is unavailable.  The driver makes this fail anyways, as of #374, but the call shouldn't be happening in the first place.  The integration driver is looking for volumes with the mask types.VolAttReqWithDevMapOnlyVolsAttachedToInstanceOrUnattachedVols.
Hitting the driver manually shows this behavior:
# curl -H "Libstorage-Instanceid: rbd=<IP_ADDRESS>" localhost:7979/volumes?attachments=31
{
  "rbd": {
    "rbd.redis01": {
      "attachmentState": 3,
      "name": "redis01",
      "size": 8,
      "id": "rbd.redis01",
      "type": "rbd"
    },
    "rbd.vol01": {
      "attachmentState": 4,
      "name": "vol01",
      "size": 5,
      "id": "rbd.vol01",
      "type": "rbd"
    }
  }
}

With mask 31, which is types.VolAttReqWithDevMapOnlyVolsAttachedToInstanceOrUnattachedVols, no volumes in attachmentState 4 should be returned.  So that's the bug.
Why is this happening? It's a bug in the RBD driver. The libS framework handles processing of attachmentState filtering for most drivers, but RBD sets it's own at https://github.com/codedellemc/libstorage/blob/release/0.4.0/drivers/storage/rbd/storage/rbd_storage.go#L388-L423, which causes the framework to skip it's own filtering (by design).
I need to revisit if having RBD set it's own attachment States is necessary, and if it is, write tests that walk through all the valid scenarios to make sure things like this don't keep happening.
 So it becomes a decision of whether this holds up the libS 0.4.0 release train.

HAHAHA. I laugh because of all the work to fix the libStorage framework's filtering and logic to set the attachment state when ultimately the RBD driver bypasses it anyway. sigh :)

I checked further with ScaleIO, and the the problem also exists. The ScaleIO driver blocks in the libstorage attach command, whereas the Ceph driver had no guard rails present. I believe libstorage is supposed to prune the volumes that are not available or attached locally.
rexray cli output:
rexray volume ls
ID                Name      Status       Size
925e1ea800000000  vol01     attached     8
925e1ea900000001  vol02     available    8
925e1eaa00000002  vol03     unavailable  8

libstorage check with option 31 (VolAttReqWithDevMapOnlyVolsAttachedToInstanceOrUnattachedVols):
curl -H "Libstorage-Localdevices: scaleio=" -H "Libstorage-Instanceid: scaleio=c00e3a6100000007" localhost:7979/volumes?attachments=31
{
  "scaleio": {
    "925e1ea800000000": {
      "attachments": [
        {
          "deviceName": "",
          "instanceID": {
            "id": "c00e3a6100000007",
            "driver": "scaleio"
          },
          "status": "",
          "volumeID": "925e1ea800000000"
        }
      ],
      "attachmentState": 2,
      "availabilityZone": "default",
      "name": "vol01",
      "size": 8,
      "id": "925e1ea800000000",
      "type": "default"
    },
    "925e1ea900000001": {
      "attachmentState": 3,
      "availabilityZone": "default",
      "name": "vol02",
      "size": 8,
      "id": "925e1ea900000001",
      "type": "default"
    },
    "925e1eaa00000002": {
      "attachments": [
        {
          "deviceName": "",
          "instanceID": {
            "id": "c00e3a6200000008",
            "driver": "scaleio"
          },
          "status": "",
          "volumeID": "925e1eaa00000002"
        }
      ],
      "attachmentState": 4,
      "availabilityZone": "default",
      "name": "vol03",
      "size": 8,
      "id": "925e1eaa00000002",
      "type": "default"
    }
  }
}

Hmm, okay I'm happy to dig into this.  If it's happening with ScaleIO as well, there is something else going on.  I did take a look at the filtering code, and I retract a bit of what I said before. While the RBD driver does set it's attachmentState directly, this only means that the framework will not override it by looking at the attachments field. It is still, however, up to the framework to filter out what volumes get returned to the client based on the mask.
Relevant code that skips attachmentState calculation when already set by driver is https://github.com/codedellemc/libstorage/blob/master/api/server/router/volume/volume_routes.go#L179-L207

Hi @cduchesne,
To be clear, you're saying that the following volume should not be present, correct?
 "925e1eaa00000002": {
      "attachments": [
        {
          "deviceName": "",
          "instanceID": {
            "id": "c00e3a6200000008",
            "driver": "scaleio"
          },
          "status": "",
          "volumeID": "925e1eaa00000002"
        }
      ],
      "attachmentState": 4,
      "availabilityZone": "default",
      "name": "vol03",
      "size": 8,
      "id": "925e1eaa00000002",
      "type": "default"
}

Hi @cduchesne,
Are you positive you're using a build with the fix we discussed over the break? Because I don't want to dig into this to find it is the same issue :) This seems shockingly familiar.

Hi @cduchesne,
I need you or @codenrhoden to repro the issue and paste a link to the gist with debug logging enabled for the request that should be omitting unavai volumes. I need to see why this code-block is not being triggered. Thanks.
In the future please remember to submit debug logs as gists with all potential issues. It helps with troubleshooting, and I will almost always ask for them.

Hi @codenrhoden,
You know, it should be fairly simple for us to add a series of unit tests for the handleVolumeAttachments function in the github.com/codedellemc/libstorage/blob/master/api/server/router/volume package.
I already have several tests for this in the VFS test package, but there appears to be some gap for which I've not accounted.

Hi @codenrhoden / @cduchesne,
I think I found the test gap. The test TestVolumesWithAttachmentsAttachedAndMineWithNotMyInstanceID  should be asserting this situation, but the test isn't using the mask 31 (VolAttReqWithDevMapOnlyVolsAttachedToInstanceOrUnattachedVols), it's using 11 (VolAttReqOnlyVolsAttachedToInstance ).
When I update the test to use a mask of 31 it fails:
func TestVolumesWithAttachmentsAttachedAndMineWithNotMyInstanceID(
	t *testing.T) {
	tc, _, _, _ := newTestConfigAll(t)
	tf := func(config gofig.Config, client types.Client, t *testing.T) {

		ctx := context.Background()
		iidm := types.InstanceIDMap{
			"vfs": &types.InstanceID{ID: "none", Driver: "vfs"},
		}
		ctx = ctx.WithValue(context.AllInstanceIDsKey, iidm)

		reply, err := client.API().Volumes(ctx, 31)
		//types.VolAttReqOnlyVolsAttachedToInstance)
		if err != nil {
			t.Fatal(err)
		}

		if !assert.Nil(t, reply["vfs"]["vfs-000"]) {
			t.FailNow()
		}
		if !assert.Nil(t, reply["vfs"]["vfs-001"]) {
			t.FailNow()
		}
		if !assert.Nil(t, reply["vfs"]["vfs-002"]) {
			t.FailNow()
		}
	}
	apitests.RunWithClientType(t, types.ControllerClient, vfs.Name, tc, tf)
}

$ LIBSTORAGE_LOGGING_LEVEL=debug LIBSTORAGE_DEBUG=true go test -tags "gofig pflag libstorage_integration_driver_docker libstorage_storage_driver libstorage_storage_driver_vfs libstorage_storage_executor libstorage_storage_executor_vfs" ./drivers/storage/vfs/tests -run TestVolumesWithAttachmentsAttachedAndMineWithNotMyInstanceID -v

...
--- FAIL: TestVolumesWithAttachmentsAttachedAndMineWithNotMyInstanceID (1.08s)
	vfs_test.go:944: created temp vfs root dir: /var/folders/48/52fjq9r10zx3gnm7j57th0500000gn/T/264891708
	vfs_test.go:957: created temp vfs vol dir: /var/folders/48/52fjq9r10zx3gnm7j57th0500000gn/T/264891708/vol
	vfs_test.go:963: created temp vfs snap dir: /var/folders/48/52fjq9r10zx3gnm7j57th0500000gn/T/264891708/snap
	vfs_test.go:972: created temp vfs dev file: /var/folders/48/52fjq9r10zx3gnm7j57th0500000gn/T/264891708/dev
        Error Trace:    vfs_test.go:323
			tests.go:290
			asm_amd64.s:2184
	Error:  	Expected nil, but got: &types.Volume{Attachments:[]*types.VolumeAttachment(nil), AttachmentState:3, AvailabilityZone:"US", Encrypted:false, IOPS:1000, Name:"Volume 000", NetworkName:"", Size:10240, Status:"", ID:"vfs-000", Type:"myType"<EMAIL_ADDRESS>"priority":"2"}}

The question, @codenrhoden, is why the less restrictive mask works and the more restrictive mask ends up being the more permissive one. Hmmm.

Here is a simple paste with the RBD driver, will post a full gist momentarily.
DEBU[0002] deferring to driver-specified attachment state  host=unix:///var/run/libstorage/478836241.sock instanceID=rbd=<IP_ADDRESS> route=volumeInspect server=big-ripper-ai service=rbd storageDriver=rbd task=0 time=1482942512934 tls=false txCR=1482942512 txID=15a6c47b-7add-4851-4678-530090a1bc6a
DEBU[0002] including volume                              attachmentState=unavailable host=unix:///var/run/libstorage/478836241.sock instanceID=rbd=<IP_ADDRESS> route=volumeInspect server=big-ripper-ai service=rbd storageDriver=rbd task=0 time=1482942512934 tls=false txCR=1482942512 txID=15a6c47b-7add-4851-4678-530090a1bc6a
DEBU[0002] skipping response schema validation; disabled  host=unix:///var/run/libstorage/478836241.sock instanceID=rbd=<IP_ADDRESS> route=volumeInspect server=big-ripper-ai service=rbd storageDriver=rbd task=0 time=1482942512934 tls=false txCR=1482942512 txID=15a6c47b-7add-4851-4678-530090a1bc6a
DEBU[0002] task completed                                host=unix:///var/run/libstorage/478836241.sock instanceID=rbd=<IP_ADDRESS> route=volumeInspect server=big-ripper-ai service=rbd storageDriver=rbd task=0 time=1482942512934 tls=false txCR=1482942512 txID=15a6c47b-7add-4851-4678-530090a1bc6a
INFO[0002] @ - - [28/Dec/2016:16:28:32 +0000] "GET /volumes/rbd/rbd.test?attachments=31 HTTP/1.1" 200 94
INFO[0002]
INFO[0002]     -------------------------- HTTP REQUEST (SERVER) --------------------------
INFO[0002]     GET /volumes/rbd/rbd.test?attachments=31 HTTP/1.1
INFO[0002]     Host: libstorage-server
INFO[0002]     Accept-Encoding: gzip
INFO[0002]     Libstorage-Instanceid: rbd=<IP_ADDRESS>
INFO[0002]     Libstorage-Localdevices: rbd=
INFO[0002]     Libstorage-Tx: txID=15a6c47b-7add-4851-4678-530090a1bc6a, txCR=1482942512
INFO[0002]     User-Agent: Go-http-client/1.1
INFO[0002]
INFO[0002]     -------------------------- HTTP RESPONSE (SERVER) -------------------------
INFO[0002]     Content-Type=application/json
INFO[0002]
INFO[0002]     {
INFO[0002]       "attachmentState": 4,
INFO[0002]       "name": "test",
INFO[0002]       "size": 1,
INFO[0002]       "id": "rbd.test",
INFO[0002]       "type": "rbd"
INFO[0002]     }

I wasn't going to try and recreate with SIO, so tried quickly with RBD instead.

here's a gist with full output from my run: https://gist.github.com/codenrhoden/b56ca49e8954c4f1effb17378fc6e1b2

Thanks. I stopped waiting and handled it myself. Your logs are also appreciated :)

Hi @codenrhoden,
I've not implemented a fix, but see the PR #383. It includes a new test that fails when you run the following:
$ LIBSTORAGE_LOGGING_LEVEL=debug LIBSTORAGE_DEBUG=true go test -tags "gofig pflag libstorage_integration_driver_docker libstorage_storage_driver libstorage_storage_driver_vfs libstorage_storage_executor libstorage_storage_executor_vfs" ./drivers/storage/vfs/tests -v -run TestVolumesWithAttachmentsAttachedAndMineOrUnattachedWithNotMyInstanceID

...

--- FAIL: TestVolumesWithAttachmentsAttachedAndMineOrUnattachedWithNotMyInstanceID (1.07s)
	vfs_test.go:974: created temp vfs root dir: /var/folders/48/52fjq9r10zx3gnm7j57th0500000gn/T/190674608
	vfs_test.go:987: created temp vfs vol dir: /var/folders/48/52fjq9r10zx3gnm7j57th0500000gn/T/190674608/vol
	vfs_test.go:993: created temp vfs snap dir: /var/folders/48/52fjq9r10zx3gnm7j57th0500000gn/T/190674608/snap
	vfs_test.go:1002: created temp vfs dev file: /var/folders/48/52fjq9r10zx3gnm7j57th0500000gn/T/190674608/dev
        Error Trace:    vfs_test.go:353
			tests.go:290
			asm_amd64.s:2184
	Error:  	Expected nil, but got: &types.Volume{Attachments:[]*types.VolumeAttachment(nil), AttachmentState:3, AvailabilityZone:"US", Encrypted:false, IOPS:1000, Name:"Volume 000", NetworkName:"", Size:10240, Status:"", ID:"vfs-000", Type:"myType"<EMAIL_ADDRESS>"priority":"2"}}

Let's figure out why this test is failing and it should fix the issue.

Here is a gist of same test @codenrhoden ran. Using REX-Ray 0.7.0-rc3
https://gist.github.com/cduchesne/f260119d41a2b23553cb089104978998
INFO[0000]     -------------------------- HTTP REQUEST (CLIENT) -------------------------
INFO[0000]     GET /volumes/scaleio/925e1eaa00000002?attachments=31 HTTP/1.1
INFO[0000]     Host: <IP_ADDRESS>:7979
INFO[0000]     Libstorage-Instanceid: scaleio=c00e3a6100000007
INFO[0000]     Libstorage-Localdevices: scaleio=925e1ea800000000::/dev/scinib
INFO[0000]     Libstorage-Tx: txID=385f2e23-91bd-468a-42d1-5a78d3ebc089, txCR=1483553593
INFO[0000]
INFO[0000]
INFO[0000]     -------------------------- HTTP RESPONSE (CLIENT) -------------------------
INFO[0000]     HTTP/1.1 200 OK
INFO[0000]     Content-Length: 350
INFO[0000]     Content-Type: application/json
INFO[0000]     Date: Wed, 04 Jan 2017 18:13:13 GMT
INFO[0000]     Libstorage-Servername: fair-lizard-cx
INFO[0000]
INFO[0000]     {
INFO[0000]       "attachments": [
INFO[0000]         {
INFO[0000]           "deviceName": "",
INFO[0000]           "instanceID": {
INFO[0000]             "id": "c00e3a6200000008",
INFO[0000]             "driver": "scaleio"
INFO[0000]           },
INFO[0000]           "status": "",
INFO[0000]           "volumeID": "925e1eaa00000002"
INFO[0000]         }
INFO[0000]       ],
INFO[0000]       "attachmentState": 4,
INFO[0000]       "availabilityZone": "default",
INFO[0000]       "name": "vol03",
INFO[0000]       "size": 8,
INFO[0000]       "id": "925e1eaa00000002",
INFO[0000]       "type": "default"
INFO[0000]     }

I know why it's failing to omit that volume. I'm looking at the logic again:
		// if the volume is attached to an instance other than the one provided
		// and only the instance's volumes should be returned, then omit this
		// volume
		if attachments.Mine() &&
			attachments.Attached() &&
			(s == types.VolumeAvailable || s == types.VolumeUnavailable) &&
			!attachments.Unattached() {
			ctx.WithFields(lf).Debug("omitting unavailable volume")
			return false
		}

Since the mask includes a bit that says to include unattached vols and the logic only evaluates to omitting the volume IFF the mask does NOT include that bit, the volume is not omitted. I need to adjust that logic branch or introduce a new one. @codenrhoden, what do you think? I've worked on this too long, and I think I no longer have fresh eyes on this issue.

Closed with PR #383.


No drafts in the QA column, please

As things are with the current Pulldasher, if someone opens a pull and has it marked as a draft, it will end up in the qa column just like any other. This bloats the qa column and takes up time when we go to test it, see it doesn't really have much in the way of info, and then note it is only a draft. It would be really helpful for us if they just didn't show up as long as the "Draft" label is on them.
Do:
Make pulls labeled "Draft" not show up in the qa column, please.

This is basically the same as https://github.com/iFixit/pulldasher/issues/230. I'll copy the comment there and close this in favor of it.


Fix transactions time

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)
Timestamps for transactions were wrong on the main screen.
✅ Checklist

[x] I have tested all my changes.

🕵♂ Notes for Code Reviewer
The times that come from the blockchain use a standard format and are in UTC - but they don't have a time zone set.
Default behavior for Dart DateTime.parse is to then assume the time zone is the local time zone - which would mix up the time (and for example show "8 hours ago" for me here, for a transaction I just did).
Fix is to add the timezone to the incoming string by appending a Z.
Better fix will be to parse this in the transaction model and store it as an integer denoting milliseconds since epoch. Rather than storing it as String.
I looked back at V1 and I think it had the same issue, but V1 would not show the timestamp on the list, only on the detail view, so we didn't find this bug.
🙈 Screenshots

👯♀ Paired with

@gguij004 I agree the moments ago display does not update... we need to make this part of the state and change it occasionally.
But that was already in the previous version so let's just approve this PR so we have timestamps that are accurate.
Not sure how to make sure the display values are updated, but it's an unrelated error


How is accordion sidebar menu implemented on Bootscore.me?

Hi, do you use a plugin/shortcode to implement the sidebar menu on the BootScore.me site e.g. https://bootscore.me/documentation/ ?

Hi,
docs sidebar is hard coded with 2 additional nav_walker menus inside the accordion for theme and plugin docs. Each menu is used twice, one for mobile and one for medium devices.
Below you will find the file category-documentation.txt, so you can see how it's done. Download, rename it to category.php and store it in your child's root folder.
category-documentation.txt
Register additional menues in your child's functions.php and add some menu-items in the backend:
// Register additional Docs Menus
register_nav_menu('theme-docs', 'Theme Docs');
register_nav_menu('plugin-docs', 'Plugin Docs');

Does this help?

Many thanks!

Sorry - is there some CSS to go with that?

Urgh, yes:
/* Docs Nav */
#accordion-docs-mobile .nav-link,
#accordion-docs .nav-link {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.mobile-docs-search {
  width: calc(100% - 44px);
}

.docs-sidebar {
  top: 4.5rem;
  height: calc(100vh - 5rem);
  overflow-y: auto;

  /* Sidebar correcting focus overflow-y negative margins */
  margin-right: -0.25rem;
  margin-left: -0.25rem;
  padding-top: 0.25rem;
  padding-right: 0.25rem;
  padding-left: 0.25rem;
}


Create tables using annotations only

Isn't it possible to create tables only defining plain old text objects with StorIO annotations, just like it would be done using SimontVT Schematic?

Actually with StorIO you can generate resolvers for get/put and delete operation like this but DDL request itself you should make manually or with some another tool

Maybe it can generate Table classes form annotated POJOs using fields name, so we can use its in query. Because it is annoying to write all this columns name and set it back to POJO.

Closed by #840 (Many thanks to @pbochenski and @geralt-encore )
Will be available in next release


Automated cherry pick of #7597: fix: member user only can get user & domain resource

Cherry pick of #7597 on release/3.3.
#7597: fix: member user only can get user & domain resource

/lgtm
/approve


Add ctop for quick performance overview

Hi,
What do you think to activate a menu link to a ctop page which show the output of (ctop)[https://github.com/bcicen/ctop] when ctop is runned as a container ?
The idea is to add a page where we can have an overview of host performance (that will be the best), containers performance (as a general overview) and container overview (which is already the case through stats).

We already have an issue open for host performance monitoring: #611
I'm not sure about the integration of ctop, I'll reference this issue in the existing one.


[FEAT] Promotion Piece Identifier

Is your feature request related to a problem? Please describe.
Currently, on a HalfMove, the piece identifier for a promotion is a FEN character (Q, N, B, R). However, this is unnecessary complexity as the HalfMove already indicates what color the move is for. It would be easier to use the data if it was a PieceType: "queen" | "rook" | "bishop" | "knight".
Describe the solution you'd like
Change promotion on HalfMove type/value to PieceType.
Describe alternatives you've considered
Leave it as is:

Introduces difficulty when using elsewhere as you have to convert from FEN character to piece.

Additional context
Add any other context or screenshots about the feature request here.

Closed with #9


proof read changes and comments/suggestions on structure and wording

typos etc from proof-reading the updated domain section.  Also some comments/suggestions on presentation and ordering.  The latter may well be an unwelcome distraction, in which case please ignore and excuse the noise.  These suggestions only go as far as the start of the Aggregates section.  I would be happy to work on/suggest further changes if useful.  No issues, obviously, if not.  Hope the typo updates are useful if nothing else.

Closing this because I think we folded everything in by now? Please reopen if you disagree!


Vaules with different Capitals are treated different as Key with different Capitals

What happened?
Hi,
not sure if this is a bug, never the less it something I didn't expected.
I created some example notes for some imaginary wines (sorry in German, but I think it should not be a problem). They all have the property for the note type type=wein and farbe=rot. By mistake I create the note for "Der Leckere Liter" with Type=wein were type is written with uppercase first letter and Farbe = Rot where both key and value are written with first letter in uppercase.
When listing the wines (see screen below), I expected the first 2 results, a different between where farbe="Rot" and where farbe="rot". But I'm a litte confused by the result of the next two queries. where type="wein" shows all notes including the Note of "Der Leckere Wein", but when using where Type="wein" it listed only the Note "Der leckere Wein". Is that a correct behavior?

DQL
list farbe
where farbe="rot"

list farbe
where farbe="Rot"

list farbe
where type="wein"

list farbe
where Type="wein"

JS
No response
Dataview Version
0.5.61
Obsidian Version
1.4.16
OS
MacOS

This looks like "sanitized keys" working as documented in https://blacksmithgu.github.io/obsidian-dataview/annotation/add-metadata/#field-names although the result is a little surprising.
Every field name has two names for its key - we can call these the "literal name" and the "sanitized name". The sanitized name is exactly as written, including capitalization and spaces. (If there are spaces, this variant of the key can't be used directly in a query.) The "sanitized name" is a version with all uppercase characters replaced with their lowercase equivalent, and all spaces replaced with hyphens. If a key's name is already lowercase and space-free, the sanitized and literal names are identical.
This creates an intransitive relationship between capitalized and sanitized field names, which is what you're seeing here:

The query for type finds both type and Type, because both of those keys sanitize to type
The query for Type only finds Type, because Type's literal name is Type but no sanitized key can ever be equal to Type so it can't match any other field

So the type=wein query is "generic" -- it matches regardless of how you capitalized the key when writing the note -- but Type=wein is specific, because nothing ever "becomes" uppercase after sanitization. This is just how it's intended to work -- always use the "sanitized name" in writing queries if you're ever inconsistent with capitalization. (Most people are, and having two meaningfully distinct keys that differ in name only by capitalization seems like it'd get confusing anyway...)

Thank you for your detailed reply. Yes, there should be more consistency in the use of keys and values. Still, it was a bit confusing, but I'm fine now.
Thanks again,
Caunus


HP06 - Everything works except oscillation feature

After getting everything set up and installed, it seems that all the features work, except for the oscillation feature.
Happy to test or make code changes if anyone could point me in the right direction

I had to unplug and replug my fan before this started working.


Efficient Codecs

Signed-off-by: Breezewish<EMAIL_ADDRESS>
What have you changed? (mandatory)
This PR is a full rewrite for functions in util/codec/number.rs and util/codec/bytes.rs.

Provide super efficient number encoders and decoders in NumberCodec, which does in-place encoding and decoding.
Provide efficient Write style number encoders and Read style decoders in BufferNumberEncoder and BufferNumberDecoder, which supports position managements and is handy to use. They are simple wrappers over NumberCodec. However they are not as efficient as NumberCodec (but still faster than current implementation).
Provide efficient ProtoBuf VarInt decoding implementation, which is ported from facebook/folly.
Provide efficient encoders and decoders for mem-comparable bytes, which is original implemented in util/codec/bytes.rs.

This PR only provides new facilities, but does not change existing code to use this new efficient facility, which will be done in future PRs. The facility in this PR is implemented in a standalone workspace without depending on TiKV itself, so that it is easy to write more benchmarks for it in future.
What are the type of the changes? (mandatory)

Improvement (non-breaking change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)
Unit test.
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
No
Refer to a related PR or issue link (optional)
https://github.com/tikv/tikv/issues/3345
Benchmark result if necessary (optional)

amazing, how about the benchmark for YCSB?

@siddontang I haven't changed existing code to use it yet, so I don't know the ycsb result. I guess we can let contributors to do it.
This PR just shows that from the foundation TiKV has a lot of particulars that can be done better.

please fix CI

Updated PR to also include an efficient mem-comparable bytes codec, which conforms requirements in https://github.com/tikv/tikv/issues/3631.

CI is broken because --all --bench benches will fail due to no benchmark called "benches" in workspace. It can be fixed by --all --benches, but criterion based benchmarks will be run in benchmark mode instead of test mode. It will be fixed later. Please ignore this issue for now.

@BusyJay Seems that our CI check script cannot correctly detect test cases like "should_panic" or "catch_unwind": https://circleci.com/gh/tikv/tikv/14141  Actually test_memcmp_try_decode_first_panic and test_memcmp_encode_all_panic ran successfully, but during running they printed panic logs (and caught).  PTAL

You need to run the benchmark at optimize 3 level, which is used by the tikv project in release mode by default.

@BusyJay I think benchmarks should be running at opt level 3 by default according to https://doc.rust-lang.org/cargo/reference/manifest.html#the-profile-sections

OMG, turns out that the big performance regression comes from codegen unit settings.

Actually it's set to 2 in release profile. And when benchmarking the codec, 2 units performs similar to 1.

@BusyJay Thanks for pointing out!
Here is the result after adjusting codegen-units:

Compared to previous results, current TiKV's result is not so bad. However this PR still provides notable improvements in nearly all kind of benchmarks.
An exception is that, now TiKV's varint fast path "decode_small_value" beats this PR's implementation, for which I will take a look and try to optimize it to achieve same performance.

You can also see the implementations in my toy project pecan, which contains efficient codec for variant numbers or general numbers and learns a lot from the official protobuf project.

@BusyJay @zhangjinpeng1987 PTAL

@Hijiao @Connor1996 @overvenus  PTAL, thanks! This PR is very necessary in order to run other fuzzers (because full TiKV is too big and fuzzer may not support).

@kennytm @brson PTAL at this PR, thank you very much!

Thanks for pinging me @breeswish. I'll look it at soon.

/rebuild

@brson Thanks! I agree with you. I was working on other stuff recently and I will polish this PR soon.

@brson I modified several places to address comments:

the function accepts a pointer when it can be overlapped
write_unaligned becomes write
invoke memcmp directly to avoid constructing a immutable slice from a mutable pointer via slice::from_raw_parts (also eliminates 1 length compare inside slice::eq XD)

PTAL, thanks!


Unable to open 'dashboard': Unable to resolve resource dashboard:dashboard

Azure Data Studio Version: 1.32
OS Version: Windows  10.0.19042.1237 (20H2)

Tested only using the .zip distribution
Steps to Reproduce:

Unzip Azure Data Studio 1.32 and open azuredatastudio.exe
Do not create a connection yet, just close it
Edit your settings.json and paste some datasource.connections (from some other settings.json for example)
Open Azure Data Studio again
Try to right-click a connection and click Manage
You get the "Unable to open 'dashboard': Unable to resolve resource dashboard:dashboard."

I found out that the solution was to simply create a dummy connection and remove it.
After that I copied my settings.json from somewhere else and the Dashboard now works.
No extensions installed.

I had the same problem - removing this from settings.json (not sure how it got there) fixes it.
"workbench.editorAssociations": {
"*": "default"
}
hth.


more PolySwarm scam domains

so many scammers :(
thanks for all the help!

polyswarm.ru
https://urlscan.io/result/319b9c81-9a41-4a0e-948e-db57b18ed916/#summary
polyswarm.tech
https://urlscan.io/result/a986e763-42a7-4705-b0ec-3b9cd04a44a1/#summary

Thanks @myhndl for the report and PR!
Please allow ~15mins for caches to update


ERB substitution in extra vars before job launch

https://www.pivotaltracker.com/n/projects/1937537/stories/137892339
Before we launch a Job Template perform ERB substitution using a given
set of objects. The objects to expose are passed in the request options.
e.g
:expose_objects => [ {:name => 'vm', :class => 'Vm', :id => 12345 },
{:name => 'event', :class => 'MiqEvent', :id =>
34567} ]
The name can then be used to build ERB substitution strings
e.g.
var1 = <%= vm.name %>

@bzwei @gmcculloug
Please review

This seems dangerous as it allows exposing just about anything in our system.  Also how would this work when over REST API?

@Fryguy
The goal here is to allow ansible extra vars to have access to our objects. When an event is triggered on a vm, they would like to fetch attributes from the vm or event objects.
Its not meant to work over REST API, just before we launch the sensible job we substitute the attributes.
These are real VMDB objects, not ServiceModel objects which is also a concern.

Closing since we have decided to go with a different approach.


only try to constantize if there is a string to constantize

this is raising and catching tons of exceptions.  That slows the process
down, and makes running with ruby -d very noisy.

:+1:

Looks good.
There's something funny about @tenderlove fixing our original monkey patches/extensions to psych.


win10编译ilogtail失败，Build iLogtail source failed.

问题
win10编译ilogtail失败
编译环境
操作系统：Windows10
IDE：GoLand2022.3.4、VS2022
gcc、g++：
C:\Users\zhb>gcc --version
gcc (x86_64-posix-sjlj-rev0, Built by MinGW-W64 project) 8.1.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

C:\Users\zhb>g++ --version
g++ (x86_64-posix-sjlj-rev0, Built by MinGW-W64 project) 8.1.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

修改配置

日志打印

控制台打印

看报错应该是依赖库没找到

看报错应该是依赖库没找到

是的


Add delete support to Hoodie

More information in the ticket below.
https://github.com/uber/hoodie/issues/75

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

@vinothchandar @prazanna PTAL


Fix retry decorator max substitution

Resolves #207

Codecov Report

Merging #208 (3272a3c) into master (dc95053) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #208   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           73        73
  Lines         2202      2202
  Branches       308       308
=========================================
  Hits          2202      2202

Impacted Files
Coverage Δ

pypyr/dsl.py
100.00% <100.00%> (ø)

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 dc95053...3272a3c. Read the comment docs.

Yes, a good point, I was thought about it, but I have chosen the easiest one...
Personally, I like the first option with max as an extra argument to exec_iteration. It helps to keep the scope of the retry_decorator tidy.

It helps to keep the scope of the retry_decorator tidy.

good point! 👍 Big thank you as always for your excellent work!


scaling image

Hi! Thank you for the great template!
Could you please provide an example with how to scale and center an image when it's not generated with R, but rather embedded from an image file? I am thinking of something like?  ![](/images/Picture1.png){width=80% align=center}

You can do it using the Quarto syntax.
![](/images/Picture1.png){width="80%" fig-align="center"}

I added an example of pictures to the demo slides.

Thank you, this works well!


Unwarranted "Warning: Failed to open .pgpass file:..." when calling PgConnectOptions::new()

Bug Description
After the clippy warning fix here, there is a warning raised when I call PgConnectOptions::new(). There is an option to pass all the options after calling new() hence this warning is a bit unwarranted. An easy fix is to just have Self::new_without_pgpass() instead of Self::new_without_pgpass().apply_pgpass(). Do you agree?
Minimal Reproduction
use sqlx::postgres::PgConnectOptions;

let options = PgConnectOptions::new();

Info

SQLx version: 0.8.1
SQLx features enabled: postgres
Database server and version:  Postgres
Operating system: archlinux
rustc --version: 1.80.1

An easy fix is to just have Self::new_without_pgpass() instead of Self::new_without_pgpass().apply_pgpass(). Do you agree?

That's a breaking behavior change for people who are expecting it to read a .pgpass file.

I understand that it is a breaking behaviour but it is a bit strange that new() should implicitly read a .pgpass file. At the moment, both default and new are literally the same and I get that the default looks for .pgpass file.

 It's a public method for a reason.

In fact, I am using this already.

Anyways, I will close the issue as this is the expected behaviour.


Update examples to delay SW registration until after the page loads.

R: @addyosmani @gauntface

aha, some googling found the reason to be this: https://github.com/google/WebFundamentals/issues/3883


Use component from a CLI project inside other CLI project

Versions
<!--
@angular/cli: 1.4.10 (e)
node: 8.9.1
os: win32 x64
@angular/animations: 4.4.6
@angular/common: 4.4.6
@angular/compiler: 4.4.6
@angular/core: 4.4.6
@angular/forms: 4.4.6
@angular/http: 4.4.6
@angular/platform-browser: 4.4.6
@angular/platform-browser-dynamic: 4.4.6
@angular/router: 4.4.6
@angular/cli: 1.4.10
@angular/compiler-cli: 4.4.6
@angular/language-service: 4.4.6
typescript: 2.3.4
-->

Repro steps
After running ng new Proj1 and ng new Proj2, I create a new component inside the first project.
Desired behavior
I want to import this new component inside the second Project, whitout making a module, or without   installing it with npm. Is this possible? I need this because I don't want to duplicate the component from the First project into the Second.

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


Provide controls

It provides methods to create controls: DEMO.

FullPage slidesCount property counts only children that are not Control Component.
onArrowClick method is removed as it seems useless.
Updated README and example files.
NPM script example added. It creates minified script for example.

Let's merge it.


Fitting functions for spectral mismatch factor models

Is your feature request related to a problem? Please describe.
The spectrum.spectral_factor.* functions offer model coefficients but pvlib currently has no functionality for users to derive model coefficients from their own data.
Describe the solution you'd like
I'd like to implement surface fitting functions for:
spectrum.spectral_factor_pvspec()
spectrum.spectral_factor_jrc()
spectrum.spectral_factor_firstsolar()

and a polynomial fitting function for:
spectrum.spectral_factor_sapm
Additional context
Some questions:

Following on from the discussion about references and fitting functions in #1979 (related: #1898), would the fitting functions here need to reproduce the fitting methods adopted in the original publications, or would a generic fitting tool be okay?
By generic tool, I mean, for example, a common method like Ordinary Least Squares using established python packages such as scipy.optimize and statsmodels in order to fit to the published model parameterisation.

If the former (reproducing the published method), but the precise method is not mentioned in the reference, would communication from the author confirming the adopted method be sufficient?

If a generic tool is okay then what would a suitable reference be? A maths/stats papers corroborating the method's validity? Reputable examples (PV or non-PV?) of its application?

I don't think there is consensus on this topic.  I'll give my 2 cents.  In general, I think determining model parameter values is just as deserving of reference and validation as the models themselves are, and in pvlib we should strive for high rigor for both models and parameter estimation methods.

would the fitting functions here need to reproduce the fitting methods adopted in the original publications, or would a generic fitting tool be okay?

I'd say both approaches can result in worthy additions.  We just would need to make sure the function is documented and named accordingly.  Either way, a suitable reference is needed.

If the former (reproducing the published method), but the precise method is not mentioned in the reference, would communication from the author confirming the adopted method be sufficient?

Lacking a reference means no specification and no validation.  Communication with the author could potentially address the former, but the latter would likely remain unresolved.  I think the answer here is that it probably depends on the method, with some amount of case-by-case judgement call being required.

If a generic tool is okay then what would a suitable reference be? A maths/stats papers corroborating the method's validity?Reputable examples (PV or non-PV?) of its application?

I don't think a reference validating OLS (or whatever) is very helpful.  I'd want to see something that somehow relates the underlying math (OLS, etc) with the application (e.g. the PVSPEC model), for example by showing that it produces reasonable values for a range of PV technologies, climates, etc, or why some transformation (e.g. performing OLS in log space) was chosen, or what motivated those specific optimization bounds, or...

Perhaps a gallery example?

In my opinion, validating a parameter estimation method should be done in a manner that demonstrates that the method has two properties:

the model fitting does not introduce a prediction bias, and
the fitting is robust in the presence of measurement error.

One way to demonstrate the first property is as follows:

select model parameters
calculate model output
fit the model to the calculated output
and re-predict the model output with the fitted parameters.
Comparison of the selected and fitted parameters, and of the calculated and predicted output, should reveal if the method itself is a source of bias.

The second property can be shown by constructing a model that generates representative measurement error, repeating steps #1 and #2 above, generating many realizations of calculated model output with error applied, fitting the model to each realization, and examining statistics for the fitted model.


Add unit testing for all routes/interactions

Using https://github.com/dollarshaveclub/cloudworker, unit tests should be implemented for all the HTTP routes in the worker.
For interactions, there should be unit tests to ensure that the verification middleware works as expected, and then unit tests should be provided for each command in the interactions app.

Given that cloudworker is now abandonware, using https://miniflare.dev/recipes/ava.html is likely a better bet here.

Started work on this in https://github.com/MattIPv4/DNS-over-Discord/tree/testing -- will likely implement the patterns needed for testing & add basic tests for http routes, but create a follow-up issue for testing the actual interactions logic.


[Bug]: Adding a custom error page

Give a brief about the bug ✍

What is the expected behavior? 🤔
The error page is just the default one that appears on typing incorrect url. A custom error page could be better and much more appealing.
Provide step by step information reproduce the bug 📄
I would like to make a custom error page which matches with the theme.
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Google-Ka-Dinosaur !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @Google-Ka-Dinosaur ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Allow setting a token in the repo config

I'm using this plugin in Docker for local testing purposes, and using assumed roles. It wouldn't work until I added the token.

I did this because I couldn't get environment variables to work. I've figured out why that is though.
In boto the credentials priority order is:

Passing credentials as parameters in the boto.client() method
Passing credentials as parameters when creating a Session object
Environment variables
Shared credential file (~/.aws/credentials)
AWS config file (~/.aws/config)
Assume Role provider
Boto2 config file (/etc/boto.cfg and ~/.boto)
Instance metadata service on an Amazon EC2 instance that has an IAM role configured.

So it takes environment variables BEFORE instance metadata.
This plugin however tries to use instance metadata first. I inadvertently had an instance metadata service running with unrelated credentials. The plugin was using those credentials instead of the ones I was setting with environment variables.
Would you accept a PR that updates get_credentials to try environment variables before the instance metadata service?


error in readme.md

$ git clone https://github.com/lucaorio/sketch-style-generator
change to
$ git clone https://github.com/lucaorio/sketch-styles-generator

Good catch @quaritexa !! Thanks a lot for opening this, I'm going to push the little fix in a few minutes! 🙌


Android Data Collected Edits

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
Hotjar
Additional Notes
Addresses some copy nits flagged by translators.
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #1059 (8b61e1e) into master (00c4fc5) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1059      +/-   ##
==========================================
+ Coverage   83.16%   83.16%   +0.01%
==========================================
  Files         272      272
  Lines        9280     9295      +15
  Branches     1493     1500       +7
==========================================
+ Hits         7717     7730      +13
- Misses       1153     1154       +1
- Partials      410      411       +1

Impacted Files
Coverage Δ

...n/kotlin/com/datadog/android/timber/DatadogTree.kt
50.00% <0.00%> (-5.56%)
:arrow_down:

...droid/rum/tracking/ActivityViewTrackingStrategy.kt
86.54% <0.00%> (-1.92%)
:arrow_down:

.../android/rum/internal/monitor/DatadogRumMonitor.kt
92.86% <0.00%> (-0.60%)
:arrow_down:

...main/kotlin/com/datadog/android/rx/DatadogRxExt.kt
100.00% <0.00%> (ø)

...tadog/android/fresco/DatadogFrescoCacheListener.kt
100.00% <0.00%> (ø)

...kotlin/com/datadog/android/DatadogEventListener.kt
98.51% <0.00%> (+0.02%)
:arrow_up:

.../src/main/kotlin/com/datadog/android/log/Logger.kt
96.03% <0.00%> (+0.06%)
:arrow_up:

.../android/rum/internal/tracking/ViewLoadingTimer.kt
93.55% <0.00%> (+0.22%)
:arrow_up:

.../datadog/android/rum/webview/RumWebChromeClient.kt
81.48% <0.00%> (+0.71%)
:arrow_up:

...tadog/android/tv/LeanbackViewAttributesProvider.kt
86.21% <0.00%> (+2.00%)
:arrow_up:

... and 1 more


EmptyString will be convert to null

POCO:
public class Poco{
    public string phone {get;set;} //set to key with mapper
    public string str {get;set;}
}

save an entity which str property value was string.Empty, read it after, str is null
version : 3.1

Set BsonMapper.Global.EmptyStringToNull to false.

How is that not the default?

How is that not the default?

I agree with you.

After studying on this, It seems that it was a default setting of MongoDb, as a follower to MongoDb, LiteDb continues the same default setting is quite reasonable.


Update CODEOWNERS

Description

Release required?

[ ] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

will be addressed here https://github.com/terraform-ibm-modules/terraform-ibm-rag-sample-da/pull/8


Can't get access token from Microsoft Azure

I can get the authorization code from Azure w/o issue. Then when I use this auth code to request token, it returns me all errors even I've tried so many different calls.
Errors message is like: "NoMethodError - undefined method `auth_code' for #OAuth2::AccessToken:0x0000565354ea2470:"
"OAuth2::AccessToken:0x0000565356f2aa30", empty token....
``# method 1
token = OAuth2::AccessToken.from_hash(client, properties)
method 2
token = client.auth_code.get_token(code, :redirect_uri => 'http://localhost:8080/user/oauth2/callback')
#method 3
result1 = client.auth_code.authorize_url(:redirect_uri => 'http://localhost:8080/user/oauth2/callback')
``

@Drblack101 3 methods you mentioned
token = OAuth2::AccessToken.from_hash(client, properties) is used to retrieve token from a saved hash.
result1 = client.auth_code.authorize_url(:redirect_uri => 'http://localhost:8080/user/oauth2/callback') generate authorize url.
The correct way to exchange auth_code for token is token = client.auth_code.get_token(code, :redirect_uri => 'http://localhost:8080/user/oauth2/callback'). Could you help to put detail result/error of this method?

Hi anvox, thanks for the quick response. Here's the code structure I've tried:
I got the auth code successfully from Azure, then I give that value to variable "code", then parse the code when I use the get_token method, but got OAuth2::Error point to the line of that "get_token":
OAuth2::Error - :
oauth2 (1.4.2) lib/oauth2/client.rb:119:in request'   oauth2 (1.4.2) lib/oauth2/client.rb:146:in get_token'
oauth2 (1.4.2) lib/oauth2/strategy/auth_code.rb:30:in `get_token'
client = OAuth2::Client.new(client_id, client_secret, :site => site_path, :authorize_url => auth_url, :token_urld => token_url, :scope => scope, :grant_type => 'authorization_code')
token = client.auth_code.get_token(code, :redirect_uri => 'http://localhost:8080/users/oauth2/callback')

Could you try on latest version 1.4.4.
I'm looking into detail, but I guess your current config for exchange token may not meet Azure.

I've updated to 1.4.4. But got the same result, same error message points to "get_token" method. I've used the OAuth2 configuration on Postman and can get Azure token without any problem.

It works without any change? Great to hear that 😂 But if you find anything in config to share, I'll happy to update the document for it. Thanks @Drblack101

Got a dumb question here, when I inspect the "token" variable, it returns the following format, how I can extract the value like token?
#<OAuth2::AccessToken:0x0000563e31b977b8
@client=#<OAuth2::Client:0x0000563e30554238
@id="8a4fd204-7d2e-422f-b73b-d45c8d382223",
@site="https://login.microsoftonline.com",
@token="eyJ0eXAiOiJKV1QiLCJub25jZSI6InJKWnJkOUpvVVpUMlRnVXZQR3hi..."
@expires_at=1599681692,
@options={:mode=>:header, :header_format=>"Bearer %s", :param_name=>"access_token"},
Thanks!

OK, i'm gonna answer my own question:
token.token  will return the token variable in this case.


Import v8 with go

The go example uses v6, and I'm trying to update my go program which uses github.com/mattermost/mattermost-server similarly.
Could you update the example on how to use the latest version?

The plugin should work aginst v8 servers. Did you run into any issues?

I mean they do. But version 6 isn't maintained anymore, right?

Are you referring to the webhook example in https://github.com/mattermost/mattermost-app-examples/blob/d5f73cd611cb7ec71eb147ef7d8a80e47e27b572/golang/webhooks/go.mod#L7? That does indeed import v6 code, but the code hasn't changed since then. It's fine to still import it, as only model.Post is used.

Yes. I haven't gone digging yet in the v7 or v8 code where this may have gone, but it seems to be structured differently and also doesn't like being imported since the move to the server/ subdirectory.

Surely, it would be nice if the code would import https://pkg.go.dev/github.com/mattermost/mattermost/server/public.
I'm making it a Help Wanted ticket for anyone who wants to jump on it. :rocket:


Do not specify command to run

Require the container to supply the command to execute.
Nearly all Dockerfiles supply a command to execute, we shouldn't
supply our own.  This is particularly useful for images which
need to start an init daemon.
Fixes: #185

looks good to me. We'll need to update the documentation then.

👍


Angular-animate.js  /  onAnimationProgress(event) function null error IE

Browser: IE 9, 10, 11
Angular-Animate Version: v1.2.21
Issue:  ev.elaspedTime is null and calling the toFixed function on this causes an exception.

@caitp please not that the animation code for 1.4 is now different in terms of structure. You'll want to edit src/ngAnimate/animateCss.js to edit that line in 1.4 and then src/ngAnimate/animate.js in 1.3. The elapsedTime code is the same though.

I'm just not sure what situation(s) the value ends up being null in, which is why I'd like to see a reproduction or some basic steps we could use to verify a fix.
ngAnimate is your machine, it would be good if you could identify all the entrypoints where the elapsedTime value would be set, and make sure it's always a number

I'm moving this over to backlog since we still don't have a working reproduction.

Today, the bug is still present, I'm trying to create a reproduction case but I still can't understand what's causing the problem.

Gotcha, could reproduce it in the easiest form.
https://jsfiddle.net/h67n69s6/4/
seems that ng-form is doing something to the animations? bug happens only when the form is dirty

Having the same issue after upgrading to 1.4 from 1.3 (wasn't present before). In our case, similar to your repo jsfiddle, it's a bootstrap modal button inside an element that has animations on it. We have another situation though where it's a bootstrap toggle that causes it as well.
If you put a prevent default in the onclick for the buttons, then it goes away as well. Hope that helps narrow it down.

Having the same issue after upgrading from 1.3 to 1.4.6.  The error occurs when moving over a hyperlink that contains a callout/title message.
Issue: Unable to get property 'toFixed' of undefined or null reference.
Occurs in method onAnimationProgress in angular.animate.js
The error did not occur in the previous version.  Not sure how the onAnimationProgress function is being invoked.
A solution would be greatly appreciated, a clue on how this method is being invoked.

I'm getting this issue specifically on IE11 during a bootstrap carousel transition between slides.  Running 1.4.7.  Same error as rsigmond on the same method.  I bump the document mode to IE10 and it goes away.

I have tried to understand when this happens, and this is what I've come up with so far:
Bootstrap has a function named emulateTransitionEnd. Here's the one from 3.3.4:
  $.fn.emulateTransitionEnd = function (duration) {
    var called = false
    var $el = this
    $(this).one('bsTransitionEnd', function () { called = true })
    var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
    setTimeout(callback, duration)
    return this
  }

When an event is triggered from emulateTransitionEnd, there is no originalEvent property, so this line in angular-animate uses the jQuery event which doesn't have elapsedTime:
        function onAnimationProgress(event) {
          event.stopPropagation();
          var ev = event.originalEvent || event; // <--- this one here

Note that when emulateTransitionEnd observes a bsTransitionEnd event before the timeout has elapsed, no event is emulated. In this case, onAnimationProgress only observes a real event and no error occurs.
I have only seen the erroneous behavior in IE (11) and not in Chrome. The reason is that in Chrome $.support.transition.end contains "webkitTransitionEnd" rather than "transitionend" (which is what is used for IE). But angular-animate uses a different way (compared to Bootstrap) to determine which event(s) it should listen for and ends up only listening for "transitionend":

Bootstrap: if (el.style[name] !== undefined) where name is "WebkitTransition"
angular-animate: if (isUndefined(window.ontransitionend) && isDefined(window.onwebkittransitionend))

So in summary:

In IE, an emulated "transitionend" event causes onAnimationProgress to use a jQuery event that doesn't contain elapsedTime.
In Chrome, the emulated event has type "webkitTransitionEnd" which angular-animate ignores.

I use the following directive to disable ngAnimate on elements that might cause this error to be thrown (for example, bootstrap carousel items).
.directive 'noAnimate', ($animate) ->
  link: (scope, elem, attrs) ->
    $animate.enabled(false, elem)

@provegard Thanks for the investigation. Do you have an idea how angular should fix this? Or is bootstrap doing something here it probably shouldn't?

@Narretz IMO angular should do better input validation, i.e. ignore the event if it isn't of the expected type. I don't know why Bootstrap emulates transitionend but I suppose there is a good reason. :)


About The External

Describe your problem here.
When I Open The Game It Says Error! Then Please let Create A Folder In /Storege/Emulated/0/.PsychEngine I Follow The Instructions Correctly But When I Open The Game Again The Message Appear Again And I Open The Assets Folder There's A Three Missing Folders Characters, Images, And Sounds Folder Maybe That's The Problem Why The Game Is Not Working I Hope You Fix This.
Are you modding a build from source or with Lua?
I am not modding
What is your build target?
Android
Did you edit anything in this build? If so, mention or summarize your changes.
I Didn't Edit Anything I'm Not Actually A Coder

this was fixed in later builds, please download it from (here)[https://github.com/MobilePorting/FNF-PsychEngine-Mobile/releases/tag/0.7.2h]

seem like it's broken even in releases needed to check

@Z4CK1234 go psych engine info > permissions > enable storage permisson

Oh Is Because The Storage Permission Was Not Allowed Ok. Thanks For Fixing The Problem @mcagabe19


Application Details

Description
Users can now access their existing application's detail page.
Issues Resolved
#377
#324
#382
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #383 (7a33a3a) into application-analytics (1c8cd21) will not change coverage.
The diff coverage is 0.00%.

@@                   Coverage Diff                    @@
##             application-analytics     #383   +/-   ##
========================================================
  Coverage                    59.87%   59.87%
  Complexity                     271      271
========================================================
  Files                          203      203
  Lines                         6881     6881
  Branches                      1342     1342
========================================================
  Hits                          4120     4120
  Misses                        2562     2562
  Partials                       199      199

Flag
Coverage Δ

dashboards-observability
54.04% <0.00%> (ø)

opensearch-observability
73.14% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...onents/application_analytics/components/create.tsx
64.70% <0.00%> (ø)

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 1c8cd21...7a33a3a. Read the comment docs.


15 validator

Coverage increased (+0.08%) to 98.45% when pulling 4b77c5ebea8b4ceda31a8cf538d2adea05ca1e84 on 15_validator into 5eb546c4f628225e5ffec2450b0d4e2810e1260b on master.


Remove all the quota related code

#88
We can re-add this later if required. Let's try and stick with Tessera's back-pressure mechanism for the alpha release.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 36.00%. Comparing base (46ec9c2) to head (6f07335).
Report is 62 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #143      +/-   ##
==========================================
+ Coverage   35.80%   36.00%   +0.19%
==========================================
  Files          16       32      +16
  Lines        1363     2811    +1448
==========================================
+ Hits          488     1012     +524
- Misses        801     1688     +887
- Partials       74      111      +37

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


"Share your data" workflow

Context

This is a view in our app which guides people through the process of sharing their data with the public, whether they found it, published it already, or need to publish it.
Its audience is someone who is not a computer power-user, but has possession of public records they'd like to share.
We ask people to check to see if a data source is in our db when they submit—that's a bummer! We should check for them. Chances are, we don't have it, and we should intake the data from there.

Requirements

guide people through publishing data somewhere (start with simplest first)

Use this doc as a starting point, and probably delete it: https://docs.pdap.io/activities/share-data/publish-data
if they already have a public URL, we can accept that
let people know they can publish this anywhere, but they will need an account to submit data they have published (a way of vouching for the veracity)
make sure to capture the link and keep them in our process

have them paste their public URL

form with a URL field that detects when something has been pasted into it, and:
checks the db to see if we have it, if we do—thanks! Here are more record type and here are more sources from the same jurisdiction
if we don't—thanks! Please give us the required fields from this form, and we'll put it in the database.
when our data source ID models get better, we could make a guess with our models about any of the properties and allow people to correct the guess.

Docs

[ ] https://docs.pdap.io/activities/contribute/submit-data-sources

@josh-chamberlain Revisiting this one -- do we still see this on the docket?

@maxachis yes, though firmly in future and with the apt needs refinement label. I like the workflow of "just paste your URL and magic stuff happens" as well as helping people upload data.


[QUESTION] Multiple sheets export error

Prerequisites

[X ] Have read and understood: https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/.github/SUPPORT.md
[ X] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
[X ] Checked that your question isn't already asked before.
[X ] Filled in the entire issue template

Versions

PHP version: 7.3.0
Laravel version: 5.8.30
Package version: 3.15

Description
When I try to open the Excel fine that is generated, I get this error:
We found a problem with some content in 'laval_infos (28).xlsx'. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes.
I am able to recover it and when I view the error, I get this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><logFileName>Repair Result to laval_infos (28)1.xml</logFileName><summary>Errors were detected in file '/Users/arasivaneswaran/Downloads/laval_infos (28).xlsx'</summary><repairedRecords summary="Following is a list of repairs:"><repairedRecord>Repaired Records: Worksheet properties from /xl/workbook.xml part (Workbook)</repairedRecord></repairedRecords></recoveryLog>

My IndexSheet is working fine by itself, it's when I add the CategorySheet.
Here is my code:
<?php

namespace App\Exports\AssociationInfos;

use App\Association;
use App\Exports\AssociationInfos\Sheets\CategorySheet;
use App\Exports\AssociationInfos\Sheets\IndexSheet;
use App\Services\AssociationService;
use Maatwebsite\Excel\Concerns\WithMultipleSheets;

class AssociationInfosExport implements WithMultipleSheets
{
	/**
	 * @var Association
	 */
	private $association;

	/**
	 * AssociationInfosExport constructor.
	 * @param  Association  $association
	 */
	public function __construct(Association $association)
	{
		$this->association = $association;
	}

	/**
	 * @return array
	 */
	public function sheets(): array
	{
		$sheets[] = new IndexSheet($this->association);
		$service = new AssociationService();
		$categories = $service->getCategories($this->association, getCurrentSeason());

		foreach($categories as $category){
			foreach(['F', 'M'] as $gender) {
				$sheets[] = new CategorySheet($this->association, $category, $gender);
			}
		}

		return $sheets;
	}
}

<?php

namespace App\Exports\AssociationInfos\Sheets;

use App\Association;
use App\Category;
use App\Season;
use App\Services\StatisticsService;
use Carbon\Carbon;
use Illuminate\Contracts\View\View;
use Maatwebsite\Excel\Concerns\FromView;
use Maatwebsite\Excel\Concerns\WithDrawings;
use Maatwebsite\Excel\Concerns\WithEvents;
use Maatwebsite\Excel\Concerns\WithTitle;
use Maatwebsite\Excel\Events\AfterSheet;
use Maatwebsite\Excel\Sheet;
use PhpOffice\PhpSpreadsheet\Style\Alignment;
use PhpOffice\PhpSpreadsheet\Style\Fill;
use PhpOffice\PhpSpreadsheet\Worksheet\Drawing;

class CategorySheet implements FromView, WithTitle
{
	/**
	 * @var Association
	 */
	private $association;
	/**
	 * @var Category
	 */
	private $category;
	/**
	 * @var String
	 */
	private $gender;

	/**
	 * IndexSheet constructor.
	 * @param  Association  $association
	 * @param  Category  $category
	 * @param  String  $gender
	 */
	public function __construct(Association $association, Category $category, String $gender)
	{
		$this->association = $association;
		$this->category    = $category;
		$this->gender      = $gender;
	}

	public function view(): View
	{
		$teams = $this->association->teams()->byCurrentSeason()->byCategory($this->category->id)->byGender(
			$this->gender
		)->orderBy(
			'name'
		)->get();

		return view(
			'exports.association_infos.category',
			[
				'category' => $this->category,
				'gender'   => $this->gender,
				'teams'    => $teams
			]
		);
	}

	/**
	 * @return string
	 */
	public function title(): string
	{
		return $this->category->name;
	}
}

I am also sure it is not in the view because I put an empty view file and it still returned this error.
Thanks,

Could you share the exact error ? Not sure what's going wrong now.

@jochemfuchs  Oups, I just realized that my error message was not showing. I updated the message.

Ok, so the error is when opening the file in Excel. Have you tried exporting in a different format? Perhaps that might give more information about the exact error.
I suspect the issue is in the data itself. But I can't really tell from the information here.
If this issue has a high priority for you, we are available to help on a commercial basis. In that case we would look into your exact code and situation and be able to solve the issue much quicker and easier.
If that's not a possibility, please try to give me as much information as possible to help pinpoint the issue.

I tried adding multiple time the only sheet that was working and it still doesn't work. I think it's safe to say that it's when adding multiple sheets...
Am I doing something wrong:
	/**
	 * @return array
	 */
	public function sheets(): array
	{
		$sheets[] = new IndexSheet($this->association);
		$service = new AssociationService();
		$categories = $service->getCategories($this->association, getCurrentSeason());

		foreach($categories as $category){
			foreach(['F', 'M'] as $gender) {
				$sheets[] = new CategorySheet($this->association, $category, $gender);
			}
		}

		return $sheets;
	}

The one thing I notice about the code is that you don't initialise an empty $sheets array variable. But other than that, the code seems fine.
If you just add multiple IndexSheets, that doesn't work as well ?
So to clarify, replace the method with this:
/**
	 * @return array
	 */
	public function sheets(): array
	{
                 $sheets = [];

                $sheets[] = new IndexSheet($this->association);
                $sheets[] = new IndexSheet($this->association);
                $sheets[] = new IndexSheet($this->association);
                $sheets[] = new IndexSheet($this->association);

		return $sheets;
	}

Closing ticket due to inactivity.

Hi, I am reopening this ticket. I came back to the project and I am running into the same issue again.
@jochemfuchs If I add only one time the IndexSheet, it works fine. But as soon as I add multiple, the file get's corrupted.

I am having this issue right now.


Undo a vote by tapping again

Users tend to explore a new feature by tapping on buttons. When first using the wish list, they might not be aware that they are already voting and cannot undo the vote. We would currently solve this with an additional warning text above the list. However, it would be great if this feature could be added.

You can now allow users to undo a vote in v4.3.0 🙂
Simply set the following configuration ✨
WishKit.config.allowUndoVote = true

Thanks for suggesting this feature!


Number of themes does not add up

If i sort on Gridsome, it says there is 6 themes in the sidebar, but only 5 shows up. Have not had the time to check the code today, might do a pull request if i find it, if no one finds it before me. It seems to be an issue only with the Gridsome themes, the others I have checked seems right.

It was counting disabled themes. I've fixed it.


WIP parameter type support

🤔 What's changed?
Added Parameter Type support for Python, since cuke4behave exposes cucumber expressions to Python
⚡ What's your motivation?
I'd like cucumber expressions to be first class in Python via behave
🏷 What kind of change is this?

:zap: New feature (non-breaking change which adds new behaviour)

♻ Anything particular you want feedback on?
So I opened this draft PR because, while all tests pass, in the real world, only sometimes my ParameterTypes get found. In one file, with identical construction of the parameter types, only 3 were found in a file containing at least a dozen parameter types.
📋 Checklist:

[x] I agree to respect and uphold the Cucumber Community Code of Conduct
[x ] I've changed the behaviour of the code

[x ] I have added/updated tests to cover my changes.

[ ] My change requires a change to the documentation.

[ ] I have updated the documentation accordingly.

[ x] Users should know about my change

[ ] I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

This text was originally generated from a template, then edited by hand. You can modify the template here.

Added Parameter Type support for Python, since cuke4behave exposes cucumber expressions to Python.

Could you please update CHANGELOG.md to describe your changes and also add a link to cuke4behave?


Convert Executor Services to use Daemon Threads

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify.
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

This will cause the DirectRunner to automatically shut down when the
worker threads are shut down.
This is mostly a fork of https://github.com/apache/beam/pull/2936, with a couple of additional executors changed and non-ExecutorService work removed.

R: @dhalperi

[ERROR] /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/runners/direct-java/src/main/java/org/apache/beam/runners/direct/SplittableProcessElementsEvaluatorFactory.java:176: Line is longer than 100 characters (found 106). [LineLength]

Coverage increased (+0.003%) to 70.588% when pulling 6804ffdfc3b2de1ac2f068eed293780473fc6e03 on tgroh:executor_daemons into 2b470eaa385eff192db3d09c252d3a04b70acae8 on apache:master.

Coverage decreased (-0.007%) to 70.577% when pulling 6804ffdfc3b2de1ac2f068eed293780473fc6e03 on tgroh:executor_daemons into 2b470eaa385eff192db3d09c252d3a04b70acae8 on apache:master.


[Backport] v2.5: Cannot upgrade apps with deployments that were created in ember

Original Issue:
https://github.com/rancher/rancher/issues/34700
Original PR:
https://github.com/rancher/rancher/pull/35202

Blocked by https://github.com/rancher/rancher/issues/35820

2.5-head 9dab145
Verified the upgrade works if the apps.cattle.io/migrated": "true"annotation is added in a curl command but not from the dashboard UI.
curl command verification steps:

Create the app[app2] aws-event-sources from apps & marketplace in addition to the one created from ember[app1].
From apps & market --> upgrade the app2 and in the network tab, copy the post request as copy as cURL
edit the copied curl request by replacing the namespaces and names with the app details created in ember and add the annotation apps.cattle.io/migrated": "true"`.
Run the curl command and from the UI --> apps & market, upgrade goes through without any error.
Most recent operations --> helm --> view logs show successful upgrade logs

Keeping the issue open as a dashboard fix is needed https://github.com/rancher/dashboard/issues/4812#issuecomment-999944955

Blocked by https://github.com/rancher/rancher/issues/36120

Verified on 2.5.12-rc4
Update, upgrade and deletion of the apps post migration works as expected after the dashboard annotations were added
https://github.com/rancher/dashboard/issues/4812#issuecomment-1007836287


Twitter Card Maintenance Release Testing

All links should get a quick "did anything major break" test done, 10-20 seconds or so, running with no query parameters. If it didn't work in previous maintenance releases, it can be skipped (but please note it still!)
The only other thing to test is for the presence of {{sim-name}}-twitter-card.png.  I've verified this via a script but please double check.
Assigning to @ariel-phet for priority.

Tested Latest iOS, Win, and Mac OS.  QA is done.

Thanks, I've kicked off the production deploy.


Someone with the .aar for this please 🙏🏻

https://jitpack.io/com/github/stephentuso/welcome-android/v1.4.1/welcome-android-v1.4.1-release.aar


webcord crashing on launch

Aknowledgements

[X] I have checked that there's no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.

[X] I can confirm that this is not an issue with the Discord website,
but it is a problem specific to the WebCord itself.

[ ] I have tried running the build from the master branch and it does
not have any fixes implemented according to my issue.

[ ] My issue describes one of the unstable and/or not fully implemented
features.

[ ] I have found a workaround to mitigate or temporarily fix this issue
(please write it in Additional context section).

Operating System / Platform
🪟 Windows
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
cant find it because app crash
Application version
v3.3.0
Bug description
whenever i open the app, it auto crashes with 3 error messages popping up
FYI: I use windows 11 (release preview beta) if that affects anything
Additional context

btw if im lucky, i can get to the sign in screen but after I sign in it crashes

From what I believe these error mostly happens because Electron fails to create a valid BrowserWindow and/or its webContent. So it is unlikely that's a bug within the application.
Could you also bring the logs from the stdout by running the app in cmd.exe? Some Chromium or Electron errors might not be thrown and displayed via the GUI and they could explain what could happen there.

im not really experienced with that, how do I do that?

actually i think i found out how, if I did this correctly, then here are the logs from launch

Ran latest WebCord in Windows 11, everything worked like in Windows 10.
Can't repro, won't fix...


Update deps

Coverage remained the same at 97.62% when pulling 88fcb978ae258a313c94d19c3885ae1986f44062 on update-deps into 631547647f9c523b1e8cf1004dc47b0a8f4e9b6d on master.