Not all annotation shape types are displayed in the annotation table on "Single Run" page

The expected behavior is: If an annotation has multiple files for the same shape_type there is only one row in the Annotations table, but if there are multiple values for shape_type for one annotation, there is a row for each shape_type.
This is occurring on all Runs
Example:
Run 277, Annotation 2395
This Annotation has 3 associated files (2 for shape_type=="SegmentationMask", 1 for shape_type=="InstanceSegmentation").
The table should display:

Annotation ID
Deposition Date
Object Name
Object Shape Type
Precision
Recall

2395
2024-02-20
Membrane
InstanceSegmentation
N/A
N/A

2395
2024-02-20
Membrane
SegmentationMask
N/A
N/A

Currently it only displays:

Annotation ID
Deposition Date
Object Name
Object Shape Type
Precision
Recall

2395
2024-02-20
Membrane
InstanceSegmentation
N/A
N/A

The API client shows that all files are stored correctly in the database:
from cryoet_data_portal import Client, AnnotationFile

client = Client()
anno_files = AnnotationFile.find(client, [AnnotationFile.annotation.tomogram_voxel_spacing.run.id == 277])

[f"{af.annotation.id} - {af.annotation.object_name}: {af.shape_type} {af.format}" for af in anno_files]

['2395 - membrane: InstanceSegmentation ndjson',
'2395 - membrane: SegmentationMask zarr',
'2395 - membrane: SegmentationMask mrc',
'1292 - Ribosome, 80 S: Point ndjson',
'15288 - cytosolic ribosome: Point ndjson']

@codemonkey800 would you be able to point this?

Yes, seems to be all good!


Consider adding a Wait Timeout to CreateSessionReceiver method

Currently, we use the TryTimeout from the RetryPolicy, but this may be a place where we want to expose a separate timeout similar to how we offer a wait timeout for receiving messages. In Track 1 .NET, this is available in the AcceptMessageSessionAsync method.
This is particularly relevant when no session Id is specified, because in this case if there are no messages available, we would end up waiting for a duration of TryTimeout before timing out. There could be cases where users want to wait longer or shorter than this when accepting a session.
https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/servicebus/Azure.Messaging.ServiceBus/src/Client/ServiceBusClient.cs#L317

This is fixed via the SessionIdleTimeout option as part of https://github.com/Azure/azure-sdk-for-net/issues/16773


[Pre-prod site] Images not loading

Images that load/render on our dev site aren't loading/rendering on our pre-prod site (docs-preview.prismacloud.io). For example:
Dev site:
https://main--prisma-cloud-docs-website--hlxsites.hlx.live/en/enterprise-edition/content-collections/governance/attack-path-policies
Pre-prod site:
https://docs-preview.prismacloud.io/en/enterprise-edition/content-collections/governance/attack-path-policies
Screenshots:
Dev site:

Pre-prod site:

fixed in #196 and #197


RTMDet different loss than official paper ?

The official paper of RTM Det https://arxiv.org/pdf/2212.07784 link the RTMDet of mmdet as official implementation of the paper but there is one weird thing I have noticed that official paper mentions that the bbox_loss is -log(IOU)
but in config it using GIOU loss ? I thought maybe in code this log was being taken but I did not find any such operations in class RTMDetHead method ?
is there any reason why this part is different from the paper ?
Also why have GIoU loss and not CIoU loss
tagging authors here thank you for your help
@RangiLyu  @ZwwWayne

The cls loss is quality focal loss just as the gfl paper, but not as the offical paper. Also the region cost is not uesed inthe offical code.

oh, I know the loss in the offical paper is just used as the cost in dynamic soft label assigner, the head cls loss and box loss is just as the quality focal loss and giou loss.

yes you are right I did find this code in the assigned class Thank you for the help @tinggh

yes you are right I found that piece of code in the assigned class Thank you for your help @tinggh


feat(satp-hermes-monitoring): prometheus metrics

Prometheus service should track several metrics:
-Number of sessions
-Number of different counterparty gateways
-Identification of counterparty gateways
-For each session:

processing time for each step of SATP
Number of success and failure requests for each step of SATP
total session time

-Average session time
-Number of successful and failed sessions (failed session if one step of that session fails)
See more here: https://prometheus.io/docs/concepts/metric_types/
@petermetz please assign it to me. @AndreAugusto11 and I are managing these tasks.
child issue of #2812

@RafaelAPB Assigned, thank you for your help!


Revamp Platform Industry Standards

This platform_codesets_industrystds table is missing key fields needed to ensure it aligns with the tables standards that are now defined.
Please add MAINTAINED_DATE, CREATED_USER, STATUS_ID

Lets also use this opportunity to change CREATED_USER to MAINTAINED_USER to align with field name enhancements


Changes for hip-clang for building Caffe2

Fixes #11

@dagamayank could we get somebody to look at this and, unlike my #11 do something about it? If not, I will review and merge if necessary as this is for PyTorch...

@iotamudelta we can merge this now. can you confirm if the branch it is going into is right?
hip_port_1.7.4?

@dagamayank that is the default branch, yes. So it should be correct, as that's, e.g., what we are pulling for PyTorch. Merging.


No Success Message while Creating New project

Bug, What is the current behavior?
I was creating new project while while reading you GETTING_STARTED.md online, There is no success message after successfully creating project.
What is the expected behavior?
I was expected that there will be a success message of successfully created project.

What, from ng new my-project? Report it to the CLI repo then https://github.com/angular/angular-cli it's got nothing to do with material2.

@MuhammadUsmaann wrong repo.


Release notes 66

Added new blog post for the Jan 2nd release notes. NOTE: still need internal reviews before merging.

Love it! Definitely looking forward to tweeting this, and  maybe a newsletter to highlight January customer goodies?


Feat insights api

Implements the next step in the V1APIs with Insights now included as well as fixing Insights overall to follow the filtering patterns used across the rest of the application.
Closes boomerang-io/roadmap#321
Changelog
New

Insights API

Changed

Endpoint spelling mistake
Insights Endpoint (@LucasGrimauth @Okisa this will require a front end update)
Moved Insights into its own ServiceImpl
Migrated Activity to the same Filtering methods used by Actions and Schedules

Removed

Deprecated methods
Legacy endpoint

Merging with approved PR.


Add unit tests to increase coverage of SMA/MSM functionality.

Fix #1344

Increase code coverage by supplementing unit testing for system management.

I will add reviewers shortly 👍

Recheck

Recheck

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c6ae201). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1367   +/-   ##
=========================================
  Coverage          ?   17.02%
=========================================
  Files             ?       78
  Lines             ?     8789
  Branches          ?        0
=========================================
  Hits              ?     1496
  Misses            ?     7142
  Partials          ?      151

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 c6ae201...03db9fb. Read the comment docs.

If this is meant for Edinburgh I'm not sure I'll have time to review this in-depth before Tuesday unfortunately

If this is meant for Edinburgh I'm not sure I'll have time to review this in-depth before Tuesday unfortunately

@anonymouse64 Thanks for the note, appreciated and completely understand 👍 Yep, this is meant for Edinburgh. I've received detailed feedback from @tsconn23 so I think we should be good.


Port unity app or use in remote GPU-enabled instances

So far I've only tested out Unity app on my Mac, but the training proper needs to be done on a GPU instance, so we need to figure out how to make it work. This might also mean that we'll need to figure out a way to produce and save video in such a setup.
This also means re-enabling CUDA (after I've disabled it to test BRO trainer on my Mac).

done (process is unstandardized for now and I won't merge branch #1 but it's essentially a complete solution)


Props with Vue3 and Typescript

Hi,
I had a go on migrating some of our Vue2 Microfrontends to Vue3.
Also, I threw Typescript into the mix.
I'm not sure if it's an issue with the Package itself or just a missing bit of the documentation.
I encountered a problem with the usage of props. The SingleSpaOptsVue3 type doesn't have the props defined to typescript won't compile it. This is of course Typescript exclusive
const vueLifecycles = singleSpaVue({
  createApp,
  appOptions: {
    render() {
      return h(App, {
        // single-spa props are available on the "this" object. Forward them to your component as needed.
        // https://single-spa.js.org/docs/building-applications#lifecyle-props
        // if you uncomment these, remember to add matching prop definitions for them in your App.vue file.
        /*
        name: this.name,
        mountParcel: this.mountParcel,
        */
        singleSpa: this.singleSpa,
        //Property 'singleSpa' does not exist on type 'AppOptions | ((opts: SingleSpaOptsVue2 | SingleSpaOptsVue3, props: object) => Promise<AppOptions>)'.
        //Property 'singleSpa' does not exist on type '(opts: SingleSpaOptsVue2 | SingleSpaOptsVue3, props: object) => Promise<AppOptions>'.ts(2339)
      });
    },
  },
});

It can easily be fixed with an this alis (which is kind of ugly and talint doesn't like):
const vueLifecycles = singleSpaVue({
  createApp,
  appOptions: {
    render() {
      const thisalias: any = this;
      return h(App, {
        // single-spa props are available on the "this" object. Forward them to your component as needed.
        // https://single-spa.js.org/docs/building-applications#lifecyle-props
        // if you uncomment these, remember to add matching prop definitions for them in your App.vue file.
        /*
        name: this.name,
        mountParcel: this.mountParcel,
        */
        singleSpa: thisalias.singleSpa,
      });
    },
  },
});

Using appOptions as an async function works of course (with some types on the props).
const vueLifecycles = singleSpaVue({
  createApp,
  async appOptions(props: any) {
    return {
      render: h(App, {
        singleSpa: props.singleSpa,
      })
    }
  },
});

Maybe this should be described a bit better in the Docs? Or also improved in the generation? The example Comment suggesting to uncomment the Props is a bit wrong if Typescript is in place.

This sounds like the typescript definitions need to be updated. Here's the file where they can be updated:
https://github.com/single-spa/single-spa-vue/blob/main/types/single-spa-vue.d.ts
The single-spa library has the default props defined at https://github.com/single-spa/single-spa/blob/f67d6fcd404597a246636e302f1d9e7b0f8cd9c6/typings/single-spa.d.ts#L12 - those should be imported into single-spa-vue's types and then used so that this has those props on them.
Do you have interest in contributing a pull request with the fix?

Yea im interested and will take a closer look the next few days.
Thanks for the initial ressources they look pretty helpfull!

HI @joeldenning
sorry for the late response.
I think the props are already handled in https://github.com/single-spa/single-spa-vue/blob/36aa8bbee13da5e47807da7c773b533f4df31377/types/single-spa-vue.d.ts#L6-L10 by the [key: string]: any; of course you could add the single-spa specific props there too (if wanted I have a PR ready).
But the real issue is the Union in line 15 onwards.
https://github.com/single-spa/single-spa-vue/blob/36aa8bbee13da5e47807da7c773b533f4df31377/types/single-spa-vue.d.ts#L13-L19
This leads understandably to the errors.
Tbh I would recommend updating https://github.com/single-spa/vue-cli-plugin-single-spa/blob/18e92aa559b489128edda8a5675f839e8022a267/template/src/main-vue-3.js#L12-L19 for Typescript configs updating the occurrences of this (from line 16-18) with a typecast like this: (<AppOptions>this).singleSpa.
I don't know if this is the preferred way. If yes I would be happy to contribute these changes.
tldr. Proposed Changes:

[ ] Add SingleSpa specific Props to single-spa-vue
[ ] Add typescript only typecast to vue3 Template

I think the best solution would be to type the render function properly. Typecasting with (<AppOptions>this) is a workaround, but the full solution is to change the function signature.
The first thing to try would be to add the render function along with the this type to single-spa-vue:
https://github.com/single-spa/single-spa-vue/blob/36aa8bbee13da5e47807da7c773b533f4df31377/types/single-spa-vue.d.ts#L6-L10
+ import { AppProps } from 'single-spa';
+
  type AppOptions = {
    el?: string | HTMLElement;
    data?: any;
+   render: (this: AppProps) => any;
    [key: string]: any;
  };

Since this is caller-dependent, I'm not sure if that will work. If not, you could make a similar change to vue-cli-plugin-single-spa. The this should be AppProps, not AppOptions, since it's the single-spa props that are put on the this, not the options.

I have exactly the same issue. :(


Ubuntu 23.10 slim build error docker socket not found

Expected Behavior
"sudo slim --log-level=trace build streamlit_app_image" make slimmed container
Actual Behavior
(.venv) aitalent@aitalent-1-0:~/Code/streamlit_app$ sudo slim --log-level=trace build streamlit_app_image
[sudo] password for aitalent:
time="2023-12-20T18:57:13+05:00" level=debug msg="sysinfo => system.SystemInfo{Sysname:"Linux", Nodename:"aitalent-1-0", Release:"6.5.0-14-generic", Version:"#14-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:59:49 UTC 2023", Machine:"x86_64", Domainname:"(none)", OsBuild:"", Distro:system.DistroInfo{Name:"Ubuntu", Version:"23.10", DisplayName:"Ubuntu 23.10"}}"
time="2023-12-20T18:57:13+05:00" level=debug msg="param.error.app.options - no app params"
cmd=build info=param.http.probe message='using default probe'
time="2023-12-20T18:57:13+05:00" level=debug msg="customImageTag='', additionalTags=[]string(nil)" app=slim cmd=build
cmd=build info=report file='slim.report.json'
time="2023-12-20T18:57:13+05:00" level=fatal msg=terminating error="docker socket not found" stack="goroutine 1 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x5e\ngithub.com/slimtoolkit/slim/pkg/app.(*ExecutionContext).FailOn(0xc00068a4c0, {0x2262fe0, 0xc0003f7be0})\n\tgithub.com/slimtoolkit/slim/pkg/app/execontext.go:58 +0x58\ngithub.com/slimtoolkit/slim/pkg/app/master/command/build.OnCommand(_, , {, _}, , {, }, {, _}, {0x0, ...}, ...)\n\tgithub.com/slimtoolkit/slim/pkg/app/master/command/build/handler.go:208 +0x997\ngithub.com/slimtoolkit/slim/pkg/app/master/command/build.glob..func1(0xc0003c1280)\n\tgithub.com/slimtoolkit/slim/pkg/app/master/command/build/cli.go:751 +0x5e10\ngithub.com/urfave/cli/v2.(*Command).Run(0x327eb00, 0xc0002d0680)\n\tgithub.com/urfave/cli/v2@v2.3.0/command.go:163 +0x583\ngithub.com/urfave/cli/v2.(*App).RunContext(0xc000103520, {0x2280768?, 0x32f1ec0}, {0xc000050080, 0x4, 0x4})\n\tgithub.com/urfave/cli/v2@v2.3.0/app.go:313 +0xaa5\ngithub.com/urfave/cli/v2.(*App).Run(...)\n\tgithub.com/urfave/cli/v2@v2.3.0/app.go:224\ngithub.com/slimtoolkit/slim/pkg/app/master.Run()\n\tgithub.com/slimtoolkit/slim/pkg/app/master/app.go:15 +0x45\nmain.main()\n\tgithub.com/slimtoolkit/slim/cmd/slim/main.go:15 +0x187\n"

Steps to Reproduce the Problem
link on zipped container
https://drive.google.com/file/d/1J45h66ZebZ51W4knlOUh4909QQRuL3-X/view?usp=sharing
sudo slim --log-level=trace build streamlit_app_image

Specifications
{
"version": "1.1",
"engine": "linux/amd64|Transformer|1.40.7|fc2a26643f26cde441afb267b5a0a17bddc9a897|2023-12-10_07:50:14AM",
"containerized": false,
"host_distro": {
"name": "Ubuntu",
"version": "23.10",
"display_name": "Ubuntu 23.10"
},
"type": "build",
"state": "error",
"target_reference": "streamlit_app_image",
"system": {
"type": "",
"release": "",
"distro": {
"name": "",
"version": "",
"display_name": ""
}
},
"source_image": {
"identity": {
"id": ""
},
"size": 0,
"size_human": "",
"create_time": "",
"docker_version": "",
"architecture": "",
"container_entry": {
"exe_path": ""
}
},
"minified_image_size": 0,
"minified_image_size_human": "",
"minified_image": "",
"minified_image_has_data": false,
"minified_by": 0,
"artifact_location": "",
"container_report_name": "",
"seccomp_profile_name": "",
"apparmor_profile_name": "",
"image_stack": null,
"image_created": false,
"image_build_engine": ""
}

@AISTALK do you have Docker installed on your Ubuntu machine? What's the version? How did you install it? Is it just the Docker engine or is it Docker Desktop?
Note that minifying streamlit applications requires you to interact with the temporary container slim creates, so slim can see the websocket interactions in the streamlit app.

Same error on arm64 mac, I have docker installed version 25.0.5 and colima v0.6.9 is running.
slim x myimg:latest
cmd=xray state=started
cmd=xray info=params target='myimg:latest' add-image-manifest='false' add-image-config='false' rm-file-artifacts='false'
time="2024-07-10T16:18:15-07:00" level=fatal msg="slim: failure" error="docker socket not found" stack="goroutine 1 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x64\ngithub.com/slimtoolkit/slim/pkg/util/errutil.FailOn({0x104483658, 0x14000061740})\n\tgithub.com/slimtoolkit/slim/pkg/util/errutil/errutil.go:32 +0x38\ngithub.com/slimtoolkit/slim/pkg/app/master/command/xray.OnCommand(0x140003d8d68, 0x140004ea480, 0x140003d8d88, {0x16d92f557, 0x3d}, 0x1, {0x0, 0x0}, {0x0, 0x0}, ...)\n\tgithub.com/slimtoolkit/slim/pkg/app/master/command/xray/handler.go:178 +0xa08\ngithub.com/slimtoolkit/slim/pkg/app/master/command/xray.glob..func1(0x1400035b400)\n\tgithub.com/slimtoolkit/slim/pkg/app/master/command/xray/cli.go:337 +0x1710\ngithub.com/urfave/cli/v2.(*Command).Run(0x1055971c0, 0x1400035a800)\n\tgithub.com/urfave/cli/v2@v2.3.0/command.go:163 +0x4a8\ngithub.com/urfave/cli/v2.(*App).RunContext(0x140004ad380, {0x1044a2098?, 0x105615e60}, {0x14000118180, 0x3, 0x3})\n\tgithub.com/urfave/cli/v2@v2.3.0/app.go:313 +0x808\ngithub.com/urfave/cli/v2.(*App).Run(...)\n\tgithub.com/urfave/cli/v2@v2.3.0/app.go:224\ngithub.com/slimtoolkit/slim/pkg/app/master.Run()\n\tgithub.com/slimtoolkit/slim/pkg/app/master/app.go:15 +0x4c\nmain.main()\n\tgithub.com/slimtoolkit/slim/cmd/slim/main.go:15 +0x194\n" version="darwin/arm64|Transformer|1.40.11|latest|latest"

Pretty-printed stack:
stack="goroutine 1 [running]:
runtime/debug.Stack()
	runtime/debug/stack.go:24 +0x64
github.com/slimtoolkit/slim/pkg/util/errutil.FailOn({0x104483658, 0x14000061740})
	github.com/slimtoolkit/slim/pkg/util/errutil/errutil.go:32 +0x38
github.com/slimtoolkit/slim/pkg/app/master/command/xray.OnCommand(0x140003d8d68, 0x140004ea480, 0x140003d8d88, {0x16d92f557, 0x3d}, 0x1, {0x0, 0x0}, {0x0, 0x0}, ...)
	github.com/slimtoolkit/slim/pkg/app/master/command/xray/handler.go:178 +0xa08
github.com/slimtoolkit/slim/pkg/app/master/command/xray.glob..func1(0x1400035b400)
	github.com/slimtoolkit/slim/pkg/app/master/command/xray/cli.go:337 +0x1710
github.com/urfave/cli/v2.(*Command).Run(0x1055971c0, 0x1400035a800)
	github.com/urfave/cli/v2@v2.3.0/command.go:163 +0x4a8
github.com/urfave/cli/v2.(*App).RunContext(0x140004ad380, {0x1044a2098?, 0x105615e60}, {0x14000118180, 0x3, 0x3})
	github.com/urfave/cli/v2@v2.3.0/app.go:313 +0x808
github.com/urfave/cli/v2.(*App).Run(...)
	github.com/urfave/cli/v2@v2.3.0/app.go:224
github.com/slimtoolkit/slim/pkg/app/master.Run()
	github.com/slimtoolkit/slim/pkg/app/master/app.go:15 +0x4c
main.main()
	github.com/slimtoolkit/slim/cmd/slim/main.go:15 +0x194
" version="darwin/arm64|Transformer|1.40.11|latest|latest"

What's really weird is a docker history command against the same image works just fine 🤔

@calebAtIspot the info you shared shows that the cli failed because it couldn't find the Docker socket (docker socket not found). It's likely because you don't have "Allow the default Docker socket to be used" option in Docker Desktop enabled, so you don't have /var/run/docker.sock and instead your Docker Desktop has its user-specific Docker socket configured.

I tried the latest version  like the following, but it does not work:
docker run -it --rm -v /run/user/1000/docker.sock:/var/run/docker.sock dslim/slim build debian

Here's the output:
 marcel  ⋯  tmp  y  dist_linux  docker run -it --rm -v /run/user/1000/docker.sock:/var/run/docker.sock dslim/slim build debian
cmd=build info=param.http.probe message='using default probe'
cmd=build state=started
cmd=build info=params target.type='image' target.image='debian' continue.mode='probe' rt.as.user='true' keep.perms='true' tags='' image-build-engine='internal'
cmd=build state=image.inspection.start
cmd=build info=image id='sha256:48c562c706d6a8a0c1c40f02b95506b20233c4f0261cc07e4e40f0c6e3673163' size.bytes='123894088' size.human='124 MB'
cmd=build info=image.stack index='0' name='debian:latest' id='sha256:48c562c706d6a8a0c1c40f02b95506b20233c4f0261cc07e4e40f0c6e3673163'
cmd=build state=image.inspection.done
cmd=build state=container.inspection.start
cmd=build info=container status='created' name='slimk_1_20240712163225' id='321979d5f05a5596920d243ffd056aab47c180096718c2bb20b1d8119d06621d'
cmd=build info=container status='running' name='slimk_1_20240712163225' id='321979d5f05a5596920d243ffd056aab47c180096718c2bb20b1d8119d06621d'
cmd=build info=container message='obtained IP address' ip='<IP_ADDRESS>'
cmd=build info=cmd.startmonitor status='sent'
cmd=build info=event.startmonitor.done data='{"name":"event.monitor.start.failed","data":{"component":"monitor.runner","state":"/","errors":["insufficient permissions"]}}
' status='received.unexpected'
slim: container stdout:
slim: container stderr:
time="2024-07-12T16:32:26Z" level=error msg="sensor: composite monitor - FAN failed to start running"
time="2024-07-12T16:32:26Z" level=error msg="sensor: failed to start composite monitor" error="insufficient permissions"
time="2024-07-12T16:32:26Z" level=error msg="sensor: run finished with error" error="run sensor without monitor failed: insufficient permissions"
time="2024-07-12T16:32:26Z" level=error msg="channel.Server.Start() - loop.Accept error = accept tcp [::]:65501: use of closed network connection"
time="2024-07-12T16:32:26Z" level=error msg="channel.Server.Start() - loop.Accept error = accept tcp [::]:65502: use of closed network connection"
slim: end of container logs =============
cmd=build info=report file='slim.report.json'
time="2024-07-12T16:32:26Z" level=error msg=terminating error="unexpected event type" stack="goroutine 1 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x5e\ngithub.com/slimtoolkit/slim/pkg/app.(*ExecutionContext).FailOn(0xc0003da3c0, {0x231db60, 0x337f210})\n\tgithub.com/slimtoolkit/slim/pkg/app/execontext.go:58 +0x58\ngithub.com/slimtoolkit/slim/pkg/app/master/command/build.OnCommand(_, _, {_, _}, _, {_, _}, {_, _}, {0x0, ...}, ...)\n\tgithub.com/slimtoolkit/slim/pkg/app/master/command/build/handler.go:1136 +0x46a5\ngithub.com/slimtoolkit/slim/pkg/app/master/command/build.glob..func1(0xc00046f440)\n\tgithub.com/slimtoolkit/slim/pkg/app/master/command/build/cli.go:760 +0x5d51\ngithub.com/urfave/cli/v2.(*Command).Run(0x3396180, 0xc00036e500)\n\tgithub.com/urfave/cli/v2@v2.3.0/command.go:163 +0x583\ngithub.com/urfave/cli/v2.(*App).RunContext(0xc000103520, {0x233bb88?, 0x340d500}, {0xc000050180, 0x3, 0x3})\n\tgithub.com/urfave/cli/v2@v2.3.0/app.go:313 +0xaa5\ngithub.com/urfave/cli/v2.(*App).Run(...)\n\tgithub.com/urfave/cli/v2@v2.3.0/app.go:224\ngithub.com/slimtoolkit/slim/pkg/app/master.Run()\n\tgithub.com/slimtoolkit/slim/pkg/app/master/app.go:15 +0x45\nmain.main()\n\tgithub.com/slimtoolkit/slim/cmd/slim/main.go:15 +0x187\n"
cmd=build info=fail.on version='linux/amd64|Transformer|1.40.11|1b271555882eacdfb4e6598d6d0552e9b9b1449b|2024-02-02_01:36:22PM'
cmd=build info=exit code='-1' version='linux/amd64|Transformer|1.40.11|1b271555882eacdfb4e6598d6d0552e9b9b1449b|2024-02-02_01:36:22PM' location='/bin'
app='slim' message='GitHub Discussions' info='https://github.com/slimtoolkit/slim/discussions'
app='slim' message='Join the CNCF Slack channel to ask questions or to share your feedback' info='https://cloud-native.slack.com/archives/C059QP1RH1S'
app='slim' message='Join the Discord server to ask questions or to share your feedback' info='https://discord.gg/9tDyxYS'
app='slim' message='Join the Gitter channel to ask questions or to share your feedback' info='https://gitter.im/docker-slim/community'

Here's my docker version output:
Client: Docker Engine - Community
 Version:           24.0.7
 API version:       1.43
 Go version:        go1.20.10
 Git commit:        afdd53b
 Built:             Thu Oct 26 09:08:17 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          24.0.7
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.10
  Git commit:       311b9ff
  Built:            Thu Oct 26 09:08:17 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.24
  GitCommit:        61f9fd88f79f081d64d6fa3bb1a0dc71ec870523
 runc:
  Version:          1.1.9
  GitCommit:        v1.1.9-0-gccaecfc
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
 rootlesskit:
  Version:          1.1.1
  ApiVersion:       1.1.1
  NetworkDriver:    slirp4netns
  PortDriver:       builtin
  StateDir:         /tmp/rootlesskit3432887140
 slirp4netns:
  Version:          1.2.1
  GitCommit:        09e31e92fa3d2a1d3ca261adaeb012c8d75a8194


You don't have permission to use that command.

Ok so let me explain. I have a pretty big discord server so we are running multiple bots with different commands. one with ! and the other one with *. However a problem occurs with the second bot that is using * that whenever someone does !play in a different channel the other bot responds with (You don't have permission to use that command.) is there a work around for this

This happens when someone use the !play command, but he isn't in a voice channel.
this can also happen when the user who used the command joined another voice channe before he send the command
You also should check permissions.ini, maybe you changed one of these [Groups] (never change the group name)
If you checked these points and the problem is still there, save your autoplaylist.txt & reinstall the music bot.

Looks like i fixed the issue, I somehow manage to run three instances of the bot. One of which was using the old command. After restarting my server it managed to fix itself and no longer interferes.


Run user mode code

Adds everything else required to get an ELF from the initial ramdisk and run it.
This includes moving the bootloader's ELF parser into common code, implementing kernel-side logic to handle the loading of the file, plus numerous paging enhancements such as proper permissions handling.
It also adds the /user/ directory in the kernel, which has everything needed to run user programs.

Getting a blank screen when running the aarch64 qemu build on Mac. Here's the log of running:
ARCH=aarch64 ./build.sh
./qemu-aarch64.sh -D out.log -d int

out.log.zip

Getting a blank screen when running the aarch64 qemu build on Mac. Here's the log of running:

ARCH=aarch64 ./build.sh
qemu-aarch64.sh -D out.log -d int -M virtualization=on

out.log.zip

Getting an error building release mode:
Warning: .config not sourced into current shell. Doing it now.
Run source .config to prevent this warning.
warning: creating a mutable reference to mutable static is discouraged
  --> src/heap.rs:46:13
   |
46 |             &mut REAL_ALLOCATOR
   |             ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
   |
   = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
   = note: this will be a hard error in the 2024 edition
   = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior
   = note: `#[warn(static_mut_refs)]` on by default
help: use `addr_of_mut!` instead to create a raw pointer
   |
46 |             addr_of_mut!(REAL_ALLOCATOR)
   |

warning: `osmium` (bin "osmium") generated 1 warning
    Finished `release` profile [optimized + debuginfo] target(s) in 0.02s
    Finished `release` profile [optimized] target(s) in 0.00s
   Compiling proc-macro2 v1.0.67
   Compiling syn v1.0.109
error: failed to run custom build command for `proc-macro2 v1.0.67`

Caused by:
  process didn't exit successfully: `/Users/lthompson/code/personal/osmium-os/bootloader/target/release/build/proc-macro2-f60b63e51632fd0f/build-script-build` (signal: 9, SIGKILL: kill)
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `syn v1.0.109`

Caused by:
  process didn't exit successfully: `/Users/lthompson/code/personal/osmium-os/bootloader/target/release/build/syn-a8405e85a9414d67/build-script-build` (signal: 9, SIGKILL: kill)


How to create tags with T-SQL?

The scenario is the following: as part of the DB creation script -or- DB upgrade scripts, tags are included.
How to do it in T-SQL?
Kind Regards

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

ID: 34863695-cd07-1260-4fea-66738c5fa80a
Version Independent ID: 4c01015d-9c1d-db8e-84f5-379ffc5d5133
Content: SQL Data Discovery & Classification - SQL Server
Content Source: docs/relational-databases/security/sql-data-discovery-and-classification.md
Service: sql-database
GitHub Login: @barmichal
Microsoft Alias: mibar

@AlainBorletHote -- thank you for your question.  It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation.  You may find answers here:

Transact-SQL - MSDN forum
DBA Stack Exchange
Stack Overflow

I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.


vitePreprocess transforms things in Svelte-5-incompatible ways

Describe the bug
Not exactly sure where to report this but this feels like as good a place as any — vitePreprocess takes input like this...

a

b

c

...and transforms it in such a way that I get this error:

Nesting selectors can only be used inside a rule

Similarly, this...

yields this error:

:global(...) can be at the start or end of a selector sequence, but not in the middle

Guessing it's something to do with PostCSS? Only workaround seems to be to disable vitePreprocess.
Reproduction URL
eek
Reproduction
Maddeningly, I can't reproduce it outside my project, but will keep trying
Logs
No response
System Info
next

we could investigate switching to lightningcss by default.
does it happen with sveltePreprocess too?

and/or is there a config for postcss that tells it to leave nesting alone?

I'm able to reproduce this only using lightningcss. Are you sure you're not using lightningcss?
With lightningcss installed and this vite config:
	css: {
		transformer: 'lightningcss',
	}

I'm able to reproduce the same error message of your two examples. From what I can tell, lightningcss is having trouble parsing it. (Either that, or postcss is parsing it in a non-standard way)

This is happening in me its so weird it deletes the class when it gets hydrated

supposedly fixed in svelte according to @dummdidumm , even if not it's not on vite-plugin-sveltes vitePreprocess that is just a thin wrapper over vites postcss. if that transforms something in an invalid way, then we'd have to see it with vite or possibly postcss itself

To clarify, I said that it's possibly fixed and knowing what the preprocessed output is would help answer that question. That said, if the transformer Outputs compliant code then the Svelte css parser should be able to handle it


Update readme.md

Usually, secret id's has a different look from what is currently in the README, which made me think first that you can pass names of environment variables into secret method instead of ID. Maybe it's me being stupid and rushing, but I think it would be better to have a less confusing description.

Thanks for the contribution :)
I took a look at some of our code and we don't seem to need a prefix such as arn:aws:secretsmanager:us-west-2:111122223333:secret:, perhaps rather than changing the example we could changing the wording around it to make it clearer?

Hmm, yes, you're right, it is how it works on my current project, but it might be different on other projects. I've updated the PR to use named arguments instead, wdyt?

Yep. that's perfect


Add hunre.txt

Add Hanoi University of Natural Resources and Environment

The university official website URL: http://hunre.edu.vn/hre/trang-chu

@itshare4u Pull request merged. Thank you!


IntroText.txt doesn't load in ModPacks

Describe your bug here.
Any modpack with an "introText.txt" in the modpack (in the /data directory) currently doesn't load at all. Please fix to allow for intro text editing in modpacks.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
I haven't changed any source code.

It has to be the highest priority enabled mod for it to work.


Prepare release v1.0.1

Signed-off-by: Emile Vauge<EMAIL_ADDRESS>

LGTM 👼
Codename still reblochon ? :stuck_out_tongue_closed_eyes:

Yep, no change in bug fix release ;)


Fix param names in extension commands

Please make sure the code is following contribution guidelines in CONTRIBUTING.md

[ ] : This PR has a corresponding issue open in the Repository.
[ ] : Approach is signed off on the issue.

Fixes : https://github.com/Azure/azure-devops-cli-extension/issues/595

Merging because I am making more changes in these files..
please add any comment required here and I will try to resolve it


[Bug]: import.meta.env undefined since beta6

Version
System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics
    Memory: 1.77 GB / 15.36 GB
  Browsers:
    Edge: Chromium (123.0.2420.65)
  npmPackages:
    @rsbuild/core: 1.0.1-beta.6 => 1.0.1-beta.6
    @rsbuild/plugin-eslint: 1.0.0 => 1.0.0
    @rsbuild/plugin-react: 1.0.1-beta.6 => 1.0.1-beta.6
    @rsbuild/plugin-type-check: 1.0.1-beta.6 => 1.0.1-beta.6

Details
Since beta6, our app breaks because import.meta.env is no more accessible in the code at runtime :
The error occurs at the following code :
let isDialogOpened: boolean = false

// line 43 here after
if (import.meta.env.PUBLIC_SENTRY_DSN) {
	Sentry.init({
		dsn: import.meta.env.PUBLIC_SENTRY_DSN,
		environment: import.meta.env.PUBLIC_MODE,
// ...etc

App.tsx:43 Uncaught TypeError: Cannot read properties of undefined (reading 'PUBLIC_SENTRY_DSN')
    at ./src/App.tsx (App.tsx:43:1)
    at __webpack_require__ (validators.ts:82:1)
    at fn (validators.ts:82:1)
    at ./src/index.tsx (getInfosForValidationAbsence.ts:108:1)
    at __webpack_require__ (validators.ts:82:1)
    at validators.ts:82:1
    at __webpack_require__.O (validators.ts:82:1)
    at validators.ts:82:1
    at validators.ts:82:1

if we revert back to beta 5, everything works fine again.
Reproduce link
Sorry I will try to post a reproduction later
Reproduce Steps
yarn run dev

This problem should be introduced in Rspack 1.0.0-beta.0. If there is a reproduction, it will be very helpful to fix the bug.

I fail to reproduce the error in a basic project.
So the issues is probably triggered by a combination of modules/configs but I can't figure out where
Any hint/help would be useful !

You can try to remove all the source code in your project and only keep the related lines of code. Then check what will happen.

You can try to remove all the source code in your project and only keep the related lines of code. Then check what will happen.

Good idea : I succeed in reproducing the bug : https://github.com/abenhamdine/repro-rsbuild-beta6
Please pay attention that you have to be in the folder /client to install and start the app

This undefined issue is introduced in Rspack's https://github.com/web-infra-dev/rspack/pull/7229. The current output is align with webpack v5.

Input:

if (import.meta.env.PUBLIC_SENTRY_DSN) {

Output (Rspack 1.0 alpha):

if (undefined) {

Output (Rspack 1.0 beta.0 and webpack v5):

if (/* unsupported import.meta.env.PUBLIC_SENTRY_DSN */ undefined.PUBLIC_SENTRY_DSN) {

Output (Vite v5)

var define_import_meta_env_default = { BASE_URL: "/", MODE: "production", DEV: false, PROD: true, SSR: false };
if (define_import_meta_env_default.PUBLIC_SENTRY_DSN) {
  console.log(1);
}

@LingyuCoder Is undefined.PUBLIC_SENTRY_DSN expected? This will cause a runtime error, perhaps we should use a more robust output.

@abenhamdine PUBLIC_SENTRY_DSN is not defined in your .env.development file.
If this value is empty in development, it is recommended to define it as PUBLIC_SENTRY_DSN="" rather than leaving it undefined.

@abenhamdine PUBLIC_SENTRY_DSN is not defined in your .env.development file.
If this value is empty in development, it is recommended to define it as PUBLIC_SENTRY_DSN="" rather than leaving it undefined.

Oh yes you're right, it solves the issues, thx !

it is recommended to define it as PUBLIC_SENTRY_DSN="" rather than leaving it undefined.

I would even say it's now required to define it  because of this new behaviour.

Is undefined.PUBLIC_SENTRY_DSN expected? This will cause a runtime error, perhaps we should use a more robust output.

Just aligned with webpack. Perhaps this need more dicussion.

I understand that Rspack and webpack do not support import.meta.env by default because it is not part of the specification.
The question is, why replace import.meta.env with undefined instead of leaving it as is?

Tracking in: https://github.com/web-infra-dev/rspack/issues/7364


Downloading Metadata

Brief description:
This feature is used to test the downloading feature functionality.
User spec:
https://github.com/CCTC-team/redcap_cypress/blob/redcap_val/user_requirement_specification/non_core/119_downloading_metadata.spec
Feature link:
https://github.com/CCTC-team/redcap_cypress/blob/TA_v13.8.1/manual_scripts/Downloading Metadata_119/D.119.100 - Downloading metadata.feature
https://github.com/CCTC-team/redcap_cypress/blob/TA_v13.8.1/manual_scripts/Downloading Metadata_119/D.119.200 - Downloading metadata and data.feature
Pre review:

[ ] Script(s) targets the correct feature sufficiently
[ ] The user requirements are met

Post review:

[ ] Script(s) targets the correct feature sufficiently
[ ] Script(s) appropriately tests the feature

Change the steps definitions using the link: https://aldefouw.github.io/redcap_cypress/
@TanDBPRO Pre review completed

I have changed the step definitions as requested using https://aldefouw.github.io/redcap_cypress/

@MintooXavier  Please review when you have time

@TanDBPRO : Please add steps to verify the downloaded metadata contains all the instruments, fields, Data Qulaity Rules, events, arms etc. You will have to prove the metadata conatins everything to reconstruct the entire project.

If you can split you script into smaller scripts based on User requirements, please do so. Ideally we don't want scripts exceeding 200 lines (But in some cases it might). Smaller scripts are easier to maintain and test. e.g.
https://github.com/CCTC-team/redcap_rsvc/tree/redcap_val/Feature Tests/A/Assign Administrators

Downloaded metadata in one script
Downloaded metadata and data in another script

I have split the scripts into two as below.
Downloaded metadata in one script
Downloaded metadata and data in another script
@MintooXavier - Please review when you have a chance.

D.119.100_downloading_metadata:

Write steps to create project Project_redcap_val_Test as cypress starts from a blank state at the start of a script.
https://github.com/CCTC-team/redcap_cypress/blob/45b170c23775e1be2bcd486cba7b7161ea4cfdbd/manual_scripts/D.119.100_downloading_metadata.feature#L28 - Project name is wrong - it's D.119.100
https://github.com/CCTC-team/redcap_cypress/blob/45b170c23775e1be2bcd486cba7b7161ea4cfdbd/manual_scripts/D.119.100_downloading_metadata.feature#L34 - Verify you can see both the instruments
https://github.com/CCTC-team/redcap_cypress/blob/45b170c23775e1be2bcd486cba7b7161ea4cfdbd/manual_scripts/D.119.100_downloading_metadata.feature#L38 - no field called identifier
https://github.com/CCTC-team/redcap_cypress/blob/45b170c23775e1be2bcd486cba7b7161ea4cfdbd/manual_scripts/D.119.100_downloading_metadata.feature#L46 - mappings are not visible. Please check lines from 46-50. Check if you are using the correct xml file.
https://github.com/CCTC-team/redcap_cypress/blob/45b170c23775e1be2bcd486cba7b7161ea4cfdbd/manual_scripts/D.119.100_downloading_metadata.feature#L67 not visible
I'll add a user role to project_redcap_val and could you please add steps to verify the role with permissions are visible in the second project

D.119.200_downloading_metadata_and_data:

Same comments as above.
https://github.com/CCTC-team/redcap_cypress/blob/45b170c23775e1be2bcd486cba7b7161ea4cfdbd/manual_scripts/D.119.200_downloading_metadata_and_data.feature#L19 - lines from 19-31 are not visible. It is when downloading from other export options tab. Please write the steps for downloading from other functionality tab.
https://github.com/CCTC-team/redcap_cypress/blob/45b170c23775e1be2bcd486cba7b7161ea4cfdbd/manual_scripts/D.119.200_downloading_metadata_and_data.feature#L83 - Please verify there is only 1 record. verify all the instruments visible for the record - sample Gherkin 'I should see the "Incomplete (no data saved)" icon for the "Survey" longitudinal instrument on event "Event Three" for record "1"'
https://github.com/CCTC-team/redcap_cypress/blob/45b170c23775e1be2bcd486cba7b7161ea4cfdbd/manual_scripts/D.119.200_downloading_metadata_and_data.feature#L84 - can't see any data. Please write steps to enter data in the first project and then verify in 2nd. Verify data in only 1 instrument.

@TanDBPRO : Pre-review completed for D.119.200_downloading_metadata_and_data

@MintooXavier - Please review when you can. I made the changes you have advised above for both scripts

Delete all the comments. https://github.com/CCTC-team/redcap_cypress/blob/3b90a2e165026c3339c6a1f5f768f522cd6696d8/manual_scripts/Downloading Metadata_119/D.119.100 - Downloading metadata.feature#L7
Keep this small..  Maybe just keep it as Downloading Metadata only(XML). https://github.com/CCTC-team/redcap_cypress/blob/3b90a2e165026c3339c6a1f5f768f522cd6696d8/manual_scripts/Downloading Metadata_119/D.119.100 - Downloading metadata.feature#L13
This is not correct. You have to create a project usinf Project_redcap_val. Then download metadata and then create a project using that downloaded metadata. In the new project, you have to verify everything.. Please correct this in both the files

@Tan: I have changed Project_redcap_val.xml. The user role 'TestRole' has 'Project Design and Set up' access rights. Please change the Gherkin accordingly. The new xml is available at: https://github.com/CCTC-team/redcap_cypress/tree/redcap_val/cypress/fixtures/cdisc_files/redcap_val

@TanDBPRO : Please could you also add checks to:

verify project settings in project setup page
verify codebook so that all the data type and field notes are also checked. the code for this is available in the Codebook feature.. You can delete the steps to check instrument and fields as we will be verifying these in codebook

Scripts Automated:

D.119.100


Are you planning to provide a buildpack for R version 3.1.3?

I need to provision R version 3.1.3 in my heroku instance. Do you have any plans to add this version to the buildpack?

Hi, R 3.1.3 has been added.
You'll need to provide a .r-version and .r-buildpack-version file in order to use it.
I.e.
.r-version file:
3.1.3

.r-buildpack-version file:
20150718-2347

See https://github.com/virtualstaticvoid/heroku-buildpack-r/tree/cedar-14#cedar-14 for more info on this.

FYI: Updated the README about R versions supported. See the R Versions section.


How to change the background like in the example?

Hi,
how do i make the background change with each page view like in this example: https://raw.githubusercontent.com/mamaral/Onboard/master/Screenshots/gemr.gif

That was done for the app I work on full time, and involved a decent amount of internal customization. It's on my todo list to implement something like this built-in to Onboard out-of-the-box if there's enough interest.

Thanks, cc @karlwir


Parsing inline styles

Hi,
Thanks for the awesome library! Incredibly powerful.
I am failing to find the right documentation on how to parse in-line styles
I have an  element with the following structure:

I would like to get the url value for the background-image in the inline style
That is, I would like to get https://www.website.com/my-image-thumbnail.jpg
Is there support to do so or should I rely on string manipulation after getting the OuterHtml?
Any  help will be appreciated

This is rather a question for AngleSharp.Css, but maybe the knowledge that there is something like AngleSharp.Css (https://github.com/AngleSharp/AngleSharp.Css) is the actual answer.
Have you tried using AngleSharp.Css? It would parse the inline styles automatically and you can access the CSSOM the "standard way", i.e., using the Style property of the element.

Thank-you. I will try it out


RFM - mupdf

Current Maintainer

[ ] I am the maintainer of the package and wish to pass it to someone else;

Checklist

[x] Issue title starts with 'RFM - '

Existing Package Details

Package URL: https://chocolatey.org/packages/mupdf
Package source URL: https://github.com/braderhart/choco/tree/master/auto/mupdf

/confirm braderhart

I can pick this up.  @braderhart, can you add me as a maintainer?  (same username)

@teknowledgist Done. At your earliest convenience can you please fork the package source and update the package accordingly.

@braderhart I've got the package ready to go (not anything needed, really), but there isn't a new application release yet.
I don't see a need to push an interim package unless you want the package source to reflect my repo over yours.  Is that what you would like?

@teknowledgist There isn't an immediate need, but if there are no new releases for some time then I may ask that you push a new package release so that I can remove the package source from GitHub.

Even though there is no new packages being published, I have added that label and will close this.
@AdmiringWorm Thoughs on a new 'New Maintainer' or 'Maintainer Request Complete' or something else label?

@AdmiringWorm Thoughs on a new 'New Maintainer' or 'Maintainer Request Complete' or something else label?

While I am not @AdmiringWorm, I think that could be a status in the workflow that we can add.

@pauby I'm not against adding a new label for New Maintainer or Maintainer Request Complete for cases like this.
However, I do agree with @mkevenaar that it should probably be a status workflow label.
Considering that the current label Status: Published is for requests that have been completed by publishing a new package to the new community repository, maybe we should have a label saying Status: Complete or Status: Done for cases where there won't be a new package that completes the request?

Considering that the current label Status: Published is for requests that have been completed by publishing a new package to the new community repository, maybe we should have a label saying Status: Complete or Status: Done for cases where there won't be a new package that completes the request?

If I had to pick I'd say 'Status: Completed' but it really doesn't matter which one as long as we know what it is.

@teknowledgist Hey, was hoping you could go ahead and remove me as a package maintainer on this package. Thanks!

@braderhart Sure.  No problem.  You have been removed as a maintainer.


Add API to manipulate animation nodes in AnimationNodeBlendTree

Godot version:
master / 0ffec7daf
OS/device including version:
Manjaro Linux 17.1
Issue description:
It seems that AnimationNodeBlendTree currently lacks any API by which one can enumerate child nodes that it contains. The old AnimationTreePlayer provided GetNodeList() method which can be used for such a purpose.

@akien-mga could you please mark this one and #22550 as C#/mono-related things to not confuse general public?
Thanks!

@slapin Does this (and also the other issue) work in GDScript? I vaguely remember seeing a commit that may solve this issue a while ago, which I haven't been able to test yet due to another blocker problem.
I'd less surprised if this issue was fixed in the current master branch than if it turns out it's been working in GDScript all along.

@slapin Just to make it clear, do you mean that there's an alternative for the removed AnimationNode.GetInputConnection API in GDScript?
Also, how do you, for instance, control AnimationNodeBlend3 without using parameters in GDScript? The only additional members that the class in my current version defines asides from what it inherits are Sync, IsUsingSync, and SetUseSync, obviously not related to blending animations at all.

I guess c7e4527a88b90062e1d5fdea50c1b85cea3c8c6c is commit you're talking
about.
All properties bind/unbind setters were removed and replaced by generic
properties.
I never used anything like GetInputConnection ever at all, as I guess it is
something C#-only.
I always used nodes directly. I change "amount" value with all blend nodes.
Look at source code:
class AnimationNodeBlend3 : public AnimationNode {
GDCLASS(AnimationNodeBlend3, AnimationNode);
    StringName blend_amount;
    bool sync;

protected:
static void _bind_methods();
public:
virtual void get_parameter_list(List *r_list) const;
virtual Variant get_parameter_default_value(const StringName
&p_parameter) const;
    virtual String get_caption() const;

    void set_use_sync(bool p_sync);
    bool is_using_sync() const;

    float process(float p_time, bool p_seek);
    AnimationNodeBlend3();

};
@@ -502,6 +497,7 @@ bool AnimationNodeBlend3::is_using_sync() const {
float AnimationNodeBlend3::process(float p_time, bool p_seek) {

  float amount = get_parameter(blend_amount);
  float rem0 = blend_input(0, p_time, p_seek, MAX(0, -amount),

FILTER_IGNORE, !sync);
float rem1 = blend_input(1, p_time, p_seek, 1.0 - ABS(amount),
FILTER_IGNORE, !sync);
float rem2 = blend_input(2, p_time, p_seek, MAX(0, amount),
FILTER_IGNORE, !sync);
@@ -511,31 +507,26 @@ float AnimationNodeBlend3::process(float p_time, bool
p_seek) {
void AnimationNodeBlend3::_bind_methods() {

  ClassDB::bind_method(D_METHOD("set_amount", "amount"),

&AnimationNodeBlend3::set_amount);

  ClassDB::bind_method(D_METHOD("get_amount"),

&AnimationNodeBlend3::get_amount);
    ClassDB::bind_method(D_METHOD("set_use_sync", "enable"),

&AnimationNodeBlend3::set_use_sync);
ClassDB::bind_method(D_METHOD("is_using_sync"),
&AnimationNodeBlend3::is_using_sync);

  ADD_PROPERTY(PropertyInfo(Variant::REAL, "amount",

PROPERTY_HINT_RANGE, "-1,1,0.01"), "set_amount", "get_amount");
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "sync"), "set_use_sync",
"is_using_sync");
}
AnimationNodeBlend3::AnimationNodeBlend3() {

  blend_amount = "blend_amount";
  add_input("-blend");
  add_input("in");
  add_input("+blend");
  sync = false;

  amount = 0;

}
/////////////////////////////////
-void AnimationNodeTimeScale::set_scale(float p_scale) {

  scale = p_scale;

+void AnimationNodeTimeScale::get_parameter_list(List
*r_list) const {

  r_list->push_back(PropertyInfo(Variant::REAL, scale,

PROPERTY_HINT_RANGE, "0,32,0.01,or_greater"));
}
-float AnimationNodeTimeScale::get_scale() const {

  return scale;

+Variant AnimationNodeTimeScale::get_parameter_default_value(const
StringName &p_parameter) const {

  return 1.0; //initial timescale

}
String AnimationNodeTimeScale::get_caption() const {
Which means renaming "amount" to "blend_amount" for blend3 case.
And having to use $animation_tree["parameters/walk/blend_amount"] which is
sad but true.
I guess it was done this way so that you could make animation out of these
values.
It makes things more complex and simple at the same time and definitely
requires documentation.
And blame me for running custom engine version when testing for bugs.

I guess SetParameter thing is C# equivalent for above code. I think it
could be bound more nicely into
hashmap-like array for C# for poor devs not to lose sanity completely.
But as you can access nodes, I guess you still can do
node["parameters/blah"] = x or something on the node directly
as they all inherit from AnimationNode. And I agree that change messed
meddy thing even more, so now it definitely
requires documentation.
On Sat, Dec 22, 2018 at 2:49 PM Xavier Cho<EMAIL_ADDRESS>wrote:

@slapin https://github.com/slapin Just to make it clear, do you mean
that there's an alternative for the removed
AnimationNode.GetInputConnection API in GDScript?
Also, how do you, for instance, control AnimationNodeBlend3 without using
parameters in GDScript? The only additional members that the class in my
current version defines asides from what it inherits are Sync, IsUsingSync,
and SetUseSync, obviously not related to blending animations at all.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/19878#issuecomment-449564725,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAX0_zfRi85u06w6EhEhwh-gmlatkDDks5u7hxFgaJpZM4U-Nz-
.

@slapin Yes, that was the change that made me report (which I also mentioned above in an earlier comment). So, I believe now we are in agreement that this problem isn't Mono specific, since the commit replaced bindings for such properties like get_amount/set_amount/amount?
As to the GetInputConnection, it is required if you want to dynamically construct an animation root, like state machine, for example. Like I explained in the description, this issue specifically deals with such requirements, rather than general usage of AnimationTree API (which could be more relevant in the other issue we've talked about).

@akien-mga please ignore what I say about C# thing, C# makes thing even more messy, but it is because of change introduced by c7e4527a88b90062e1d5fdea50c1b85cea3c8c6c which prevents code from accessing animation tree node vars directly.
The change requires more testing as it produces some inconsistency in naming of variables.
So I guess the only way is if @mysticfall will look for cheesy stuff in code and finds breakage in there,
as this supposed to be working. Or otherwise just revert the commit and move on. This code needs some more thought and redesign anyway, because of how parameters are implemented. I guess at times they are missed and wrong value set. This happens because nobody still use AnimationTree.
commit c7e4527a88b90062e1d5fdea50c1b85cea3c8c6c
Author: Juan Linietsky<EMAIL_ADDRESS>Date:   Mon Aug 20 13:38:18 2018 -0300

    Massive rewrite to AnimationTree. Many APIs changed in order to:
    -Reuse resources
    -Expose properties in AnimationTree

slapin@slapin-pc:~/godot$ LANG=C date
Sat Dec 22 17:18:05 MSK 2018

facepalm...
Anyway if you want me to test something on master branch please provide something w/o mono dependency, as last time I built mono-enabled godot I was stressed too much.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


#159 regions

I investigated django-cities-light library, but decided not to use it in our project. So I created a table of regions, with a ManyToMany relation to a Profile.

VinnytsiaReg = 'Vinnytsia region', "Вінницька область"
Such code is not python style. In the python we use snake-case for variables or methods, camel-case we use only for classes.
So it will be better to write such rows like:
vinnytsia_region = 'Vinnytsia region', "Вінницька область" or
VINNYTSA_REGION = 'Vinnytsia region', "Вінницька область"


Stop a running stream

Hi All,
I have made a small Flask API to start a stream, which works fine:
`#!./env/bin/python
-- coding: utf-8 --
import pychromecast
import time
from flask import Flask, request
app = Flask(name)
class Cast(object):
def __init__(self, ip):
    self.cast = pychromecast.Chromecast(ip)
    self.mc = self.cast.media_controller

def start(self, url, title, thumbnail):
    self.cast.play_media(url, 'application/vnd.ms-sstr+xml', title=title, thumb=thumbnail)

def stop(self):
 	mc = self.cast.media_controller
	mc.stop()

def play(self):
    self.mc.play()

def pause(self):
    self.mc.pause()

@app.route("/start", methods=["POST"])
def start():
ip = request.form["ip"]
url = request.form["url"]
title = request.form["title"]
thumbnail = request.form["thumbnail"]
c = Cast(ip)
c.start(url, title, thumbnail)
return "OK"
@app.route("/stop", methods=["POST"])
def stop():
ip = request.form["ip"]
c = Cast(ip)
c.stop()
return "OK"
@app.route("/pause", methods=["POST"])
def pause():
ip = request.form["ip"]
c = Cast(ip)
c.pause()
return "OK"
@app.route("/play", methods=["POST"])
def play():
ip = request.form["ip"]
c = Cast(ip)
c.play()
return "OK"
if name == "main":
app.run(port=5555, host="<IP_ADDRESS>")
`
But if I call /stop or any order command they don't work. If I make a python script and just run it from the command line in one go it works fine:
`#!./env/bin/python
-- coding: utf-8 --
import pychromecast
import time
class Cast(object):
def __init__(self, ip):
    self.cast = pychromecast.Chromecast(ip)
    self.mc = self.cast.media_controller

def start(self, url, title, thumbnail):
    self.cast.play_media(url, 'application/vnd.ms-sstr+xml', title=title, thumb=thumbnail)

def stop(self):
	self.mc.stop()

def play(self):
    self.mc.play()

def pause(self):
    self.mc.pause()

if name == "main":
cast = Cast("<IP_ADDRESS>")
cast.start("url", "demo", "http://demo")
time.sleep(10)
cast.stop()
`
Is there a way to seep the session?

Use triple ticks to escape a code sequence. For example:
```python
code here
```
Also, See #128 and #145

Perfect, thanks....


Selection is not beginning of line if markdown is added to already existing text

See example below. If this is not the intended behavior, I can look into overriding it:

I would expect the cursor to be at the beginning of the line (before the H in Hey) in the case above.

@juliankrispel @mxstbr what do you think?


reduce number of required attributes

Reduce amount of attributes required to configure for vault oidc roles.
Ticket: https://issues.redhat.com/browse/APPSRE-4659

while removing required fields is probably ok for oidc, are they still needed for other methods?
i think the provider pattern may fit in here? https://gitlab.cee.redhat.com/service/app-interface/-/blob/master/docs/app-interface/qontract-reconcile-patterns.md#the-provider-pattern

The fields that I removed required on are unique to oidc roles. In fact, I initially attempted to remove it from other fields that are shared between both roles and received an error that validator couldn't resolve required version of a field from unrequired for same field (ex: token_ttl).


oopsy: use netRegex for all effects

This is a very indirect patch which is to get rid of non-jobs usages of
gLang.kEffect, so I can use netRegex for effects in jobs, remove
gLang.kEffect entirely, in order to track atonement stacks for #725.
This also contributes to several other ongoing nebulous efforts like
using NetRegexes for oopsy instead of events (#1487) and also cleaning
up the unfortunate gLang data structures (#1221).

@JLGarber This is the patch in which I'm missing the White Hole / Cursed Shriek-related Petrification effect ids in O4S.

This also suggests that maybe we need a trackEffect(id, field name on data) helper.  Or a deathReasonIfNotCleansed(id).

trackEffect might be nice, yes. Handling effects all in one trigger was one nice thing about kEffect.
Other than that, it all looks great. It's so nice not to have to modify 6 files just to add one trigger!

Thanks for the reviews, both of you!


Unnattend-lab error running script

Every time I run Unattend-lab, I receive the following error:
Write-NodeMOFFile : Invalid MOF definition for node 'DC1': Exception calling "ValidateInstanceText" with "1" argument(s):
"Undefined property PrefixLength
At line:19, char:2
Buffer:
onName = "AutoLab";
};^
insta
"
At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1:2369 char:21

...             Write-NodeMOFFile $Name $mofNode $Script:NodeInstanceAlia ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [Write-Error], InvalidOperationException
FullyQualifiedErrorId : InvalidMOFDefinition,Write-NodeMOFFile

@greg-shields mentioned to me that their was a change in the DSC resource, XIPAddress, and that I needed to change references to subnetmask to PrefixLength. I'm not sure where to do this, if in fact it is a fix.
Please advise as I'm currently unable to proceed with my course development.
Thanks.

xIPAddress is in the xNetworking module.  We're currently using <IP_ADDRESS> as of this release... apparently <IP_ADDRESS> doesn't play nicely with older versions... suggest removing any older versions of xNetworking and trying again as a workaround for now?

That worked for me, at least with the test-singleserver configuration.

WE already have changed subnetmask to prefixlength because of the change in xIPAddress. So @themichaelbender , you dont have to change anything.  Just make sure to remove old versions of the xNetworking module.  Will automate this in the future -- Jeff hicks has code for this. @jdhitsolutions

Deleting the old module folders resolved this issue.
Thanks!


Pynq v2.1 image

I am having trouble getting the board to boot up with the v2.1 image on windows 10. The Done light turns on but LEDs 0-3 never turn on.

Thanks for testing it out with Windows 10. Can you try to connect to USB terminal to see what error message? We need more information to identify the problem.
Btw, the first time it may take a little more time to boot up the board -- even longer for LEDs to flash.

Here a screen shot of the boot-up sequence. I hope that helps.

Hi, can you try downloading the image again, unzip it properly, and burn you SD image card? Have you also tried using a different SD card?

I downloaded the image again and this time everything worked. Not sure what happened the first time but thanks for your help!


[BUG]: Playsound[pygoobject] not working on Ubuntu due to third party requirements.

My uname -a: Linux lafftar 5.13.0-44-generic #49-Ubuntu SMP Wed May 18 13:28:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
My py -V: Python 3.10.0
I'm trying to fix this warning: playsound is relying on another python subprocess. Please use 'pip install pygobject' if you want playsound to run more efficiently.
I run pip install pygobject, and am greeted with this error:
Building wheels for collected packages: pycairo
        Building wheel for pycairo (pyproject.toml): started
        Building wheel for pycairo (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error

        × Building wheel for pycairo (pyproject.toml) did not run successfully.
        │ exit code: 1
        ╰─> [9 lines of output]
            running bdist_wheel
            running build
            running build_py
            running build_ext
            Package cairo was not found in the pkg-config search path.
            Perhaps you should add the directory containing `cairo.pc'
            to the PKG_CONFIG_PATH environment variable
            No package 'cairo' found
            Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.15.10']' returned non-zero exit status 1.
            [end of output]

As you can see, the error is initated when building wheels for pycairo:  No package 'cairo' found. I went to install pycairo with pip install pycario, and got this error:
Building wheels for collected packages: pycairo
  Building wheel for pycairo (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pycairo (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [9 lines of output]
      running bdist_wheel
      running build
      running build_py
      running build_ext
      Package cairo was not found in the pkg-config search path.
      Perhaps you should add the directory containing `cairo.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'cairo' found
      Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.15.10']' returned non-zero exit status 1.
      [end of output]

I went investigating and stumbled on https://github.com/pygobject/pycairo/issues/212#issuecomment-772429007, There are no wheels for pycairo outside of windows sadly.. Do i really have to compile a third party package in order to use playsound?

I got this working properly under Ubuntu 22.04, it's not too much of a hassle. You need to install a few Ubuntu deps first, as noted on the pycairo webpages:
sudo apt install libcairo2-dev pkg-config python3-dev

You can then install the pycairo package :
pip install pycairo

There is one more dependency that is required (on my system at least) to install pygobject properly:
sudo apt install libgirepository1.0-dev

After all this, pygobject should just install fine:
pip install pygobject

My uname -a: Linux DESKTOP-GF8JR20 4.4.0-19041-Microsoft #1237-Microsoft Sat Sep 11 14:32:00 PST 2021 x86_64 x86_64 x86_64 GNU/Linux
My py -v: Python 3.10.6
I set up the environment according to the above command.And i pip pygobject and pycario successfully.
$ **pip3 install pygobject**
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pygobject in /usr/lib/python3/dist-packages (3.42.1)
Requirement already satisfied: pycairo>=1.16.0 in /usr/lib/python3/dist-packages (from pygobject) (1.20.1)
$ **pip3 install pycairo**
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pycairo in /usr/lib/python3/dist-packages (1.20.1)

But when I try to run
$ **python3 main.py**
playsound is relying on another python subprocess. Please use `pip install pygobject` if you want playsound to run more efficiently.

I don't know what went wrong


[type:refactor] refactor ci cache.

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #5096 (e6e0f7e) into master (932c8a7) will decrease coverage by 0.69%.
The diff coverage is n/a.

:exclamation: Current head e6e0f7e differs from pull request most recent head 4f02526. Consider uploading reports for the commit 4f02526 to get more accurate results

@@             Coverage Diff              @@
##             master    #5096      +/-   ##
============================================
- Coverage     61.85%   61.17%   -0.69%
+ Complexity     8498     8430      -68
============================================
  Files          1227     1227
  Lines         36961    36960       -1
  Branches       3510     3506       -4
============================================
- Hits          22862    22609     -253
- Misses        12141    12451     +310
+ Partials       1958     1900      -58

see 22 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Move PruningPredicate to physical-optimizer crate

Which issue does this PR close?
Part of https://github.com/apache/datafusion/issues/11502
Rationale for this change
We are trying to break up pieces the datafusion crate into smaller pieces for faster compile time and better modularity. Part of this is the physical optimizer
What changes are included in this PR?
Move PruningPredicate into the physical optimizer crate
Are these changes tested?
Yes, by existing CI
Are there any user-facing changes?
No, there are backwards compatible pub use that mean no user change are required

I need to update the tests


chore: Remove unnecessary dependencies

Description
This PR removes more unnecessary dependencies remaining after old setup

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


raftstore/*:print peer information in the log when down-peer is detected

Development Task
When down-peer  is detected, we will record a metric on PD, but we do not print the information of the related peer in the log. This makes it difficult for us to locate the specific peer when troubleshooting later.

I would like to take this! Seems like a good first issue


updating import links for shim and peer package

The shim and peer protobuf modules are no longer vendored automatically by Fabric, so they are needed to vendor individually otherwise they lead to the issue as depicted in the attached screenshot.

@johnwalicki would you have any comment on this?

@ljbennett62 we can merge this one. Thanks @oscillator25


Married couples allowance rates 2015-16

whitespace fixes (wanted as a separate commit to reduce noise in the refactoring commit)
refactors the way rates data is retrieved (see message https://github.com/alphagov/smart-answers/commit/59cd29fb51435bb53db2efa9a8a289f44185b380)
updates values for the next fiscal year from this table

Since the refactoring is not very straightforward I'd like a careful review to make sure I didn't change anything I did not want to change /cc @jackscotti @BenJanecke @dsingleton

all as a V1? GREAT refactoring anyway! :+1:

It doesn't make much sense to make a V2 as the changes are visible only after 2016-04-06. Also there's little time left before this needs to go live so the FC coming back on time would be unlikely.

fair enough :+1:


Fix quotations

There are two primary changes in this pull request.  The first that all of the quotation mark logic was moved from popup.js to content_script.js.  I realized that because I can access the iframe structure cross origin (which I was already doing in iframeFullyQualifiedName), I can determine the quotation marks that I will need before the content_script returns to the extension.  The second is that I added more tests.  I haven't yet tested processTree of processDocument (or anything in popup.js) because I have a few questions about how I'm supposed to do it.

Which helper methods would you need to mock out?

For the testing, I was under the impression that when I test a given method, the tests should not depend on the correctness of any other methods.  Since processTree relies on escapedQuote, windowDepth, etc... I thought that those methods should not actually be called in a test, and perhaps be mocked out.

You should test each of those helper methods individually, but then also
testing processTree without them mocked out is fine.
If you find that the method is large enough that it seems hard to test it
properly, that might be a sign that you need some more refactoring.
On Fri, Jul 15, 2016 at 4:35 PM Steven Fine<EMAIL_ADDRESS>wrote:

For the testing, I was under the impression that when I test a given
method, the tests should not depend on the correctness of any other
methods. Since processTree relies on escapedQuote, windowDepth, etc... I
thought that those methods should not actually be called in a test, and
perhaps be mocked out.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stevenbfine/snap-it/pull/3#issuecomment-233092665,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADSxSsSEoeh5E-wG8dJ1xfr7peUBPA0vks5qWBk_gaJpZM4JN0_r
.


Weight converter site is not working

Describe the bug
Weight Converter site is static, it is not doing any function.
To Reproduce
Steps to reproduce the behavior:

Go to 'Weight Converter'
Enter weight
Select from dropdown
See error

Expected behavior
Upon filling the certain weight it should produce the result in desired unit.
Screenshots

Desktop (please complete the following information):

OS: [Windows 11]
Browser [chrome]
Version [108]

Additional context
There is on clickable button for calculate
Steps Followed✅
Check the box with [x] If you followed all the steps.

[x] Describe the bug
[x] To Reproduce
[x] Expected behavior
[x] Screenshots
[x] Additional context

Code of Conduct✅

[x] I agree to follow this project's Code of Conduct.
[x] I checked the current issues for duplicate problems.
[x] I have gone through project README.

Is this issue still open? Can i work on it, if no one is working on it? @myhacktech

Can I work on it? @myhacktech


Provide visibility to errors if segment events do not send

Found that we're unable to see when segment events have successfully sent: when calling analytics.track the app receives undefined as a response (even if the event has been sent successfully). When an event has not been successfully sent there have been multiple times an error gets swallowed inside analytics-next and never surface to the consuming app.
Examples:

When sending additional eventProperties I accidentally sent data that could not be json stringified saw in the debugger that the even failed here but we did not have access to the error so an error was never thrown inside our app even though we have analytics.track wrapped in a try/catch. There's no way to have typescript catch this error prior to sending because eventProperties are type to take any value
We were unable to see that the utm-parameter 'search' should be passed in as a string - https://github.com/segmentio/analytics-next/pull/839 so we were silently not sending events.

Not sure if it's the same issue but it looks like very similar. I'm trying to programatically validate my segment Key:
const { Analytics } = require('@segment/analytics-node');

new Analytics({ writeKey: 'thisIsAWrongKey' }).track(
  {
    userId: 'anonymous',
    event: 'API KEY VALIDATION',
    properties: {}
  },
  (err) => {
    if (err) {
      reject(new Error('Analytics key is invalid'));
    }
    resolve();
  }
);

Internally it seems that is depends on ctx.failedDelivery() to call the callback with an error but ctx.failedDelivery() is undefined.

We have also observed that we don't get any indication when loading of analytics fails as well, it too is swallowed inside and never hits the catch block
SegmentAnalytics
    .load({ writeKey })
    .then(() => {

    })
    .catch((error) => {
      logger.warn(error, `Segment - ${callingMethodName} : Encountered error when attempting to load.`)
    })


[WIP] - Refactor s2i Tests for ci-operator

Isolate integration tests that don't require Docker
Add OWNERS file
Add make commands to run integration tests

[test]

[test]

@adambkaplan i'm unsubscribing from this, please re-tag me when you have passing tests.

@bparees this is now ready for review

[merge]


font-variant on the axes

remove font-variant from the global styles; introduce the axis fontVariant option, which defaults to tabular-nums
closes #601

A comment: for Plot.text, I think it would be too magical to do auto-detection, and it's easy enough to use the fontVariant option. This PR removes font-variant from the static styles, and introduces a new axis option called fontVariant, which defaults to tabular-nums. (Just moving the static style to the axis wouldn't allow to undo the feature… and this approach seemed more consistent with our general patterns.)


README for ARM

Start of documentation for ARM to get you started.

Hi @boumenot, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

squash commits please, "blah00" is not an acceptable commit message... :wink:

LGTM

This documentation makes no sense. There is nothing related to setting up proper permissions for packer ARM. Please update. My current error is:
==> azure-arm: resources/GroupsClient:CreateOrUpdate 403 Failure responding to request -- Original Error: azure: Service returned an error. Code="AuthorizationFailed" Message="The client '*****' with object id '*****' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/*****/resourcegroups/packer-Resource-Group-y5jj51r988'." Status=403
==> azure-arm: resources/GroupsClient:CreateOrUpdate 403 Failure responding to request -- Original Error: azure: Service returned an error. Code="AuthorizationFailed" Message="The client '*****' with object id '*****' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/*****/resourcegroups/packer-Resource-Group-y5jj51r988'." Status=403

Note that the resource group name does not match that specified in the json in my case. I am using the ubuntu*.json file in the ARM config examples directory.

What documentation are you referring too?  If you can narrow it down to what specifically it will help us to improve it.
The error you mentioned specifically is covered in the README concerning permissions.  The instructions current have you assigning the Owner role to the Service Principal you use for ARM.
e.g.
azure role assignment create --objectId <ObjectID>  -o Owner

What is the object I'm assigning permissions to? I assigned the Owner role to the resource group but I still get the error mentioned above.

Sorry, this is confusing.  I will try to make this clearer in the documentation.  You need to assign Owner permission to the Service Principal's Object ID.
If you do not have the Object ID of the Service Principal you can lookup it up using the Azure CLI.
To get a complete list of the App IDs and Service Principals execute the following.
azure ad app list

To get the Object ID of a specific App ID/Service Principal execute the following.
azure ad app show --search <keyword>


If user sets a cloud backup dir backup should be performed immediately

At the moment if a user skips setting a cloud backup dir when they create a wallet and then set one later a cloud backup is not performed immediately.
It would make sense to do a cloud backup driven by the user setting the cloud backup dir.

I've changed the EditWalletPanelView so that if the user sets a cloud backup manager using the file chooser a cloud backup is set at the next 'tick' of the BackupService.
(BackupService ticks at 120 seconds after first start up and then every 12 seconds after that).
To test it you might have to fiddle with the cloud backup directory set in your YAML as we tend to set it at wallet creation wherever possible.
Awaiting review and closing

No way to force an immediate backup?

No point in messing with the threadedness of the backup creation.
At the moment the only thing making backups is the backup service so we don't get any write contention.
Cleaner if we just tell it to make a cloud backup at the next tick.

Just checked the code - the first tick of backup service is 60 seconds after startup (not 120) and then every 12 seconds after that.

Verified working. Might be a little eager since it appears to trigger even before the Apply button is clicked. Not a big enough issue to prevent closing.


Add CPU and Memory usage to logs

Description
Provide a way to get metrics of KICS scanning performance to add more relevant information when reporting some issue, for example.
In our generated log file, we should have information about CPU peak usage and memory peak usage.

We can achieve this with zerolog and profile(github.com/pkg/profile)


 If so, could you share it with the Maphackathon GitHub organisation? Many thanks, Colin Greenstreet (@addaci)

Hi Colin
Yes, I do have one although the it need further development. I'll be happy
to share it this weekend.
Thank you.

If so, could you share it with the Maphackathon GitHub organisation? Many
thanks, Colin Greenstreet (@addaci https://github.com/addaci)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Smelly-London/Smelly-London/issues/4, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ASBd8RobtQuKwGKElYCCB24sWXlfEydIks5raOSMgaJpZM4L6EtZ
.

Hi Deborah,
That's great. I'm really looking forward to working with you - gentle
reminder though that you still need to get your ticket:
https://www.eventbrite.co.uk/e/maphackathon-tickets-30469473014
We have announced the full weekend schedule this morning:
https://www.meetup.com/meetup-group-SwyKxWXR/pages/22292845/Schedule_for_weekend_Maphackathon%2C_Feb_11-12%2C_2017
We have also provided details of the chairman of the judging panel and the
top prize:
https://www.meetup.com/meetup-group-SwyKxWXR/pages/22293041/Entrepreneur_Steve_Ives%2C_chairman_of_judging_panel
Klokan Technology will be doing its world launch of its exciting new
product GeoEditor for MapTiler at our event and doing the European launch
of its product Georeferencer ver 4:
https://www.meetup.com/meetup-group-SwyKxWXR/pages/22266928/Exciting_news_-_product_launch_at_Maphackathon/
Details of the two Saturday afternoon workshops are here
Workshop 1: hands on QGIS & ArcGIS training:
https://www.meetup.com/meetup-group-SwyKxWXR/pages/22255958/5_ArcGIS_in_Cloud_accounts_free_for_two_day_hack/
Workshop 2: Handson georeferencing training:
https://www.meetup.com/meetup-group-SwyKxWXR/pages/22288809/Saturday_PM_hands_on_georeferencing_workshop/
Our Maphackathon data repository is growing fast, with lots more data to
come tonight and tomorrow: https://github.com/Maphackathon/data-sets [You
need a GitHub IS to view; if you do not yet have a GitHub ID, please join
and email details to<EMAIL_ADDRESS>who will join you to the
Maphackathon GitHub organisation
Best wishes
Colin Greenstreet
Co-director, MarineLives; co-producer, Early Modern Thames Maphackathon
<EMAIL_ADDRESS>W: http://www.maphackathon.org; http://www.marinelives.org
Twitter: @maphackathon #maphackathon @marinelivesorg
T: +44-20-8883-0135
M: +44-(0)7769-340229
Skype: colingreenstreet.marinelives
On Thu, Feb 9, 2017 at 7:56 AM, Deborah Leem<EMAIL_ADDRESS>wrote:

Hi Colin
Yes, I do have one although the it need further development. I'll be happy
to share it this weekend.
Thank you.

If so, could you share it with the Maphackathon GitHub organisation? Many
thanks, Colin Greenstreet (@addaci https://github.com/addaci)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Smelly-London/Smelly-London/issues/4, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/
ASBd8RobtQuKwGKElYCCB24sWXlfEydIks5raOSMgaJpZM4L6EtZ>
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Smelly-London/Smelly-London/issues/4#issuecomment-278571633,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABpAozvMQygJ_QBHYupmsnRAMDabDQRqks5rasazgaJpZM4L6EtZ
.


Add Help Section

Write a help section and check grammar/spelling

Updated the help section!
Can review on this link.


ServerAddress.FromUrl("http://") throws ArgumentOutOfRangeException

Repro
ServerAddress.FromUrl("http://")

Expected
Return either null or a valid ServerAddress
Actual
Unhandled Exception: System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.String.Substring(Int32 startIndex, Int32 length)
   at Microsoft.AspNetCore.Server.Kestrel.ServerAddress.FromUrl(String url)

Don't you think it should throw something for invalid URLs? Returning null could lead to an equally vague NullReferenceException.

@khellang: Thanks for the suggestion, we agree ServerAddress.FromUrl() should throw instead of returning null.  Tracked by https://github.com/aspnet/KestrelHttpServer/issues/875.


Tooltip title text on sprites?

Is there any way to get tooltip title text to pop up on a sprite, like if it's a GitHub sprite, I'd love to see a "GitHub" tooltip on it.  I tried putting a <title> element inside the original <svg> and an @aria-labelledby attribute but doesn't seem to be rendering.

Follow-up - I notice that it does render a <desc> element and that the rendered parent <svg> has a @aria-describedby and @aria-labelledby that both refer to the <desc> but no tooltip appears over the icon unless I insert a <title> manually and redirect the @aria-labelledby to that <title> id.

I resolved this by creating a custom shortcode:
svgIcon: function(name, cls = null, title = null) {
  if (title !== null) {
    title = `<title>${title}</title>`;
  }
  return `<svg class="${cls}">${title}<use xlink:href="/svgSprite.svg#svg-${name}"></use></svg>`;
},

Thanks for helping out on this @jamesdoc ! A custom shortcode to support this seems to be the best solution. Sorry for not reverting sooner @ZBlocker655, was going through some difficult times on my end and wasn't able to look into this.

All good, @patrickxchong, I also opted for a shortcode, similar to the above.

Great! Glad you managed to figure that out. I'll close this issue for now, if more people ask for similar things I'll reference this in the README.


Added PostgeSQL connectivity

Hello. I'd like to offer you some changes to this project. I've added PostgreSQL connectivity to this script, to help anyone who wold like to save data to PostgeSQL server. Original functionality stays intact. I have added one key '--pg' to use PostgeSQL instead of sqlite.

Very cool, can you allow sql server / user / pass to be specified by flags and offer some basic usage guide?

Also, what if I want to backup more than one user to a database server? How is your code distinguishing between users?

Script creates a schema in database for each username


Add missing pdd-backend commit #135

#2136  👈
main

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

Join @nickgraz and the rest of your teammates on  Graphite


Rhmap 2455 updates while syncing

@corinnekrych @secondsun @edewit
The sync issues should be fixed in this PR. I have tested all the test cases in the spreadsheet and all passed. To verify, you can create a new sync web app from the studio and update the feedhenry.js file using the one from this PR.
I also removed some of the unused code to make it simpler. Similar code may exist in other SDKs as well and I think they can be removed too.

:eyes: testing it

+1 to merge


⚠ Bofrost.lu has degraded performance

In bfae934, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 836 ms

Resolved: Bofrost.lu performance has improved in 8e59fa9 after 7 minutes.


Fix broken links in docs

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/cla sign

welcome @ffjlabo 🙌
/approve


Feature request: Saving and resetting filters

Hi all,
I am working on a project, where it would be nice to save the filters that are currently selected. I can then save and load filter presets, which is nice to have in certain use-cases.
Currently, it was easy to get the filters by creating a public property for the criteria list. But when I try to set the criteria list again. It is not updating all the filters and the view again. Can anybody help me with this implementation?
Currently, I edited something like this in the Filterdatagrid.cs:
public Dictionary<string, Predicate<object>> Filters
{
    get => criteria;
    set
    {
        // reset criteria List
        criteria.Clear();
        GlobalFilterList.Clear();

        criteria = value;

        CollectionViewSource = System.Windows.Data.CollectionViewSource.GetDefaultView(ItemsSource);
        if (CollectionViewSource.CanFilter) CollectionViewSource.Filter = Filter;
        CollectionViewSource.Refresh();

        OnPropertyChanged(nameof(Filters));
    }
}

I can get the filters by requesting FilterDataGrid.Filters, but when setting, it will not work.

Hi
How it works ?

How can I help you then?

To understand how it works you can read the article I wrote

Do you have time to implement or start implenting this feature? I thought the solution to be as follows:
We need a public property like 'Filters' that just gets all the filters that are set, maybe with or without the predicate. I can implement the storing by myself. I then need a way to set the Filter property again with the saved filters and the view should be rerendered.
I was thinking that i could just json serialize the filters into a json file on storing and deserialising on reading the file again. Maybe if you have time to start, I can finish the future if I understand the start of the code. Is that possible?

I can contirbute this

I have an idea, but I just can't get it to work. I am working a few days on this already, but the code is hard to understand.
I will get straight to the point.

The criteria list should not be in the filterdatagrid.cs file. I think every filtercommon class should have a criteria list, because the global criteria list is also seperated by fieldname by using the dictionary and key. The filter function (from the datagrid view) should then be adapted to get all criteria from all globalListFilters by doing a GlobalFilterList.SelectMany(f => f.Criteria).
The dependency property should be a list of Filtercommons.

And when setting the filterpreset dependencyproperty, we should render all the filters in the datagrid.
Can you help me making this implementation? I think that this is all that we need, but I cannot get it to work.


Fix openmsg #651

The openMessages you get after a request of your's is accepted are now handled. To test, open needs in two accounts, make a request from the one, accept with the other. In the first account the connection should now move from the "Sent Requests"- to the "Messages"-tab.
Also, I refactored the action-creators for message handling to avoid some of the code-duplication and made the batch-rdf-loading via urisToLookupMap a bit more resilient against network-errors. The ressources that failed to won't show up in the result map, without breaking everything else.
Resolves #651
Resolves #614

Doesn't fix #651 - renamed that issue to point out that the app doesn't necessarily hang after connecting but also while receiving hints


Unable to create switch expression of type string

Using yardl v0.4.0, I expect to be able to use a computed field switch expression to produce a string value:
RecordWithComputedFields: !record
  fields:
    myField: [null, string, float]
  computedFields:
    myResult:
      !switch myField:
        null: "null"
        string: "string"
        float: "float"

But yardl complains with:
❌ /workspaces/yardl/joe/switch-case-string/model/model.yml:6:14: there is no variable in scope with the name 'null' nor does the record 'RecordWithComputedFields' does not have a field or computed field named 'null'
❌ /workspaces/yardl/joe/switch-case-string/model/model.yml:7:18: there is no variable in scope with the name 'string' nor does the record 'RecordWithComputedFields' does not have a field or computed field named 'string'
❌ /workspaces/yardl/joe/switch-case-string/model/model.yml:8:17: there is no variable in scope with the name 'float' nor does the record 'RecordWithComputedFields' does not have a field or computed field named 'float'

Got it! I missed that existing example. Happy to close this one and refer to it in the future if necessary.


Ability to use various mocks for GET and POST requests

cc @VladimirMikhailov

:+1: I like the idea to have an ability to identify various requests from their names


adjust Composable function signature to make source mandatory

Current Composable function make all the PDF source as nullable and have default value (null). I think there is at least two issues with that:

People can forget to add Pdf source when running the app initially
People can accidentally pass multiple source, and get confused why the other source is showing instead what they originally meant to passed

So i propose change to Composable function signature to make it clear that it needs exactly one PDF source to be laoded.

I've proposed a different approach to this problem:
https://github.com/afreakyelf/Pdf-Viewer/pull/132
I'm curious about your opinion on this.


Better Pass Handling in Python

This adds logging capabilities in Python, and also makes it easier to change which passes are run. Some required passes have been factored out to always run (e.g., inline-apply) -- users shouldn't specify these in the list of passes they want run.

LGTM; thank you for this insightful patch!


Escape request params.

Mitigate potential XSS issue.

Although I'm not sure how it would be possible for it to slip in there, Salines said the problem also occurred on other pages like login. Just in case, the example layouts should maybe apply the same escaping to the request params.

I too don't see how the problem could occur for other pages besides error pages but still escaped them for all layouts.

Yeah, better safe than sorry I guess. I've tried to reproduce it with non-error pages, but no luck 🤷♂
There's one left hiding in the dashboard's header
https://github.com/FriendsOfCake/bootstrap-ui/blob/d96507cd606d7943deca72f9478074a2cc1f13a8/templates/layout/examples/dashboard.php#L31


Needs to default to upstart for rhel6 as well

Current default for Puppet Service provider on RedHat Enterprise is chkconfig and service https://docs.puppet.com/puppet/latest/types/service.html#service-provider-redhat and instead needs to be updated to use upstart as well. #10 is already to do this in part but should be expanded to do all of osfamily redhat

#10 is merged and should fix the problem. Would love to have a PR to make the check use osfamily if you get the time.

@smith This issue got regressed in a subsequent merge commit(f94fe69c077bcde3a74d7331098382d7f3575f4e). Could you re-open this issue and add the fix back?

@adastidar the current version seems to already have this:
https://github.com/newrelic/infrastructure-agent-puppet/blob/86c228ff18d1923d34644dcec6f427bb4e722ef6/manifests/agent.pp#L144-L153
It may have been an issue with the agent package. Could you try again with the latest agent release?

The fix is to use the upstart provider for el6 instead of sbin.  #10 had the fix. #14 reverted it.

Oh I see. Thanks will fix.