Use of UTC for video files

Video files do not appear to use UTC, but seem to display the GMT timezone value.
I set the following (Quicktime) tags to make sure all possible dates used for videos are correct:
[System]        FileModifyDate                  : 2023:04:21 18:53:30+02:00
[System]        FileAccessDate                  : 2023:07:27 19:58:17+02:00
[System]        FileCreateDate                  : 2023:04:21 18:53:30+02:00
[QuickTime]     CreateDate                      : 2023:04:21 18:53:30+02:00
[QuickTime]     ModifyDate                      : 2023:04:21 18:53:30+02:00
[ItemList]      ContentCreateDate               : 2023:04:21 18:53:30+02:00
[Track1]        TrackCreateDate                 : 2023:04:21 18:53:30+02:00
[Track1]        TrackModifyDate                 : 2023:04:21 18:53:30+02:00
[Track1]        MediaCreateDate                 : 2023:04:21 18:53:30+02:00
[Track1]        MediaModifyDate                 : 2023:04:21 18:53:30+02:00
[Track2]        TrackCreateDate                 : 2023:04:21 18:53:30+02:00
[Track2]        TrackModifyDate                 : 2023:04:21 18:53:30+02:00
[Track2]        MediaCreateDate                 : 2023:04:21 18:53:30+02:00
[Track2]        MediaModifyDate                 : 2023:04:21 18:53:30+02:00

All times are set to 18:53:30 with my timezone. However, date in PiGallery2 shows 16:53:30. Can UTC be implemented for video files as it was done for pictures in https://github.com/bpatrik/pigallery2/pull/480 and https://github.com/bpatrik/pigallery2/issues/469?
Environment

OS: Synology DSM6.2
Browser: Chrome

Used app version

Docker Nightly Alpine v1.9.6-nightly

I think the problem lies with the metadata parsing part: The creationDate is not set correctly most likely here: https://github.com/bpatrik/pigallery2/blob/3e6bb7bff719f2c768c8ddf939cc63089a8f7776/src/backend/model/threading/MetadataLoader.ts#L20-L93

This is what Phil Harvey says: https://exiftool.org/forum/index.php?topic=15052.0
The Quicktime creation date indeed is not using the right timezone. If that field can be made to use UTC, the time will be correct.

Ahh so its Quicktime  specific. Can you send me a file with what I can reproduce? Like do you have the same issue on these files (random Google search): https://file-examples.com/index.php/sample-video-files/sample-mov-files-download/

a - mov_sample_non-UTC.2023-01-01_12-00-00
b - mov_sample_UTC.2023-01-01_12-00-00
c - mp4_sample_non-UTC.2023-01-01_12-00-00.mp4
d - mp4_sample_UTC.2023-01-01_12-00-00.mp4
What Windows sees:

what pigallery2 sees:
------------a.mov------------------
raw data:
{
  index: 0,
  codec_name: 'h264',
  codec_long_name: 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10',
  profile: 'High',
  codec_type: 'video',
  codec_time_base: '1/60',
  codec_tag_string: 'avc1',
  codec_tag: '0x31637661',
  width: 1920,
  height: 1080,
  coded_width: 1920,
  coded_height: 1088,
  has_b_frames: 2,
  sample_aspect_ratio: '1:1',
  display_aspect_ratio: '16:9',
  pix_fmt: 'yuv420p',
  level: 40,
  color_range: 'unknown',
  color_space: 'unknown',
  color_transfer: 'unknown',
  color_primaries: 'unknown',
  chroma_location: 'left',
  field_order: 'unknown',
  timecode: 'N/A',
  refs: 1,
  is_avc: 'true',
  nal_length_size: 4,
  id: 'N/A',
  r_frame_rate: '30/1',
  avg_frame_rate: '30/1',
  time_base: '1/15360',
  start_pts: 0,
  start_time: 0,
  duration_ts: 461322,
  duration: 30.033984,
  bit_rate: 447244,
  max_bit_rate: 'N/A',
  bits_per_raw_sample: 8,
  nb_frames: 901,
  nb_read_frames: 'N/A',
  nb_read_packets: 'N/A',
  tags: {
    creation_time: '2023-01-01T12:00:00.000000Z',
    language: 'eng',
    handler_name: 'DataHandler',
    encoder: 'Lavc57.16.101 libx264'
  },
  disposition: {
    default: 1,
    dub: 0,
    original: 0,
    comment: 0,
    lyrics: 0,
    karaoke: 0,
    forced: 0,
    hearing_impaired: 0,
    visual_impaired: 0,
    clean_effects: 0,
    attached_pic: 0,
    timed_thumbnails: 0
  }
}
extracted:
{
  size: { width: 1920, height: 1080 },
  bitRate: 447244,
  duration: 30033,
  creationDate:<PHONE_NUMBER>000,
  fileSize: 2247292,
  fps: 30
}
------------b.mov------------------
raw data:
{
  index: 0,
  codec_name: 'h264',
  codec_long_name: 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10',
  profile: 'High',
  codec_type: 'video',
  codec_time_base: '1/60',
  codec_tag_string: 'avc1',
  codec_tag: '0x31637661',
  width: 1920,
  height: 1080,
  coded_width: 1920,
  coded_height: 1088,
  has_b_frames: 2,
  sample_aspect_ratio: '1:1',
  display_aspect_ratio: '16:9',
  pix_fmt: 'yuv420p',
  level: 40,
  color_range: 'unknown',
  color_space: 'unknown',
  color_transfer: 'unknown',
  color_primaries: 'unknown',
  chroma_location: 'left',
  field_order: 'unknown',
  timecode: 'N/A',
  refs: 1,
  is_avc: 'true',
  nal_length_size: 4,
  id: 'N/A',
  r_frame_rate: '30/1',
  avg_frame_rate: '30/1',
  time_base: '1/15360',
  start_pts: 0,
  start_time: 0,
  duration_ts: 461322,
  duration: 30.033984,
  bit_rate: 447244,
  max_bit_rate: 'N/A',
  bits_per_raw_sample: 8,
  nb_frames: 901,
  nb_read_frames: 'N/A',
  nb_read_packets: 'N/A',
  tags: {
    creation_time: '2023-01-01T11:00:00.000000Z',
    language: 'eng',
    handler_name: 'DataHandler',
    encoder: 'Lavc57.16.101 libx264'
  },
  disposition: {
    default: 1,
    dub: 0,
    original: 0,
    comment: 0,
    lyrics: 0,
    karaoke: 0,
    forced: 0,
    hearing_impaired: 0,
    visual_impaired: 0,
    clean_effects: 0,
    attached_pic: 0,
    timed_thumbnails: 0
  }
}
extracted:
{
  size: { width: 1920, height: 1080 },
  bitRate: 447244,
  duration: 30033,
  creationDate:<PHONE_NUMBER>000,
  fileSize: 2247292,
  fps: 30
}
------------d.mp4------------------
raw data:
{
  index: 0,
  codec_name: 'h264',
  codec_long_name: 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10',
  profile: 'Baseline',
  codec_type: 'video',
  codec_time_base: '1/60',
  codec_tag_string: 'avc1',
  codec_tag: '0x31637661',
  width: 848,
  height: 480,
  coded_width: 848,
  coded_height: 480,
  has_b_frames: 0,
  sample_aspect_ratio: 'N/A',
  display_aspect_ratio: 'N/A',
  pix_fmt: 'yuv420p',
  level: 31,
  color_range: 'tv',
  color_space: 'bt709',
  color_transfer: 'bt709',
  color_primaries: 'bt709',
  chroma_location: 'left',
  field_order: 'unknown',
  timecode: 'N/A',
  refs: 1,
  is_avc: 'true',
  nal_length_size: 4,
  id: 'N/A',
  r_frame_rate: '30/1',
  avg_frame_rate: '30/1',
  time_base: '1/600',
  start_pts: 0,
  start_time: 0,
  duration_ts: 7740,
  duration: 12.9,
  bit_rate: 1637415,
  max_bit_rate: 'N/A',
  bits_per_raw_sample: 8,
  nb_frames: 387,
  nb_read_frames: 'N/A',
  nb_read_packets: 'N/A',
  side_data_type: 'Display Matrix',
  displaymatrix: '',
  rotation: '-90',
  tags: {
    rotate: '90',
    creation_time: '2023-01-01T11:00:00.000000Z',
    language: 'und'
  },
  disposition: {
    default: 1,
    dub: 0,
    original: 0,
    comment: 0,
    lyrics: 0,
    karaoke: 0,
    forced: 0,
    hearing_impaired: 0,
    visual_impaired: 0,
    clean_effects: 0,
    attached_pic: 0,
    timed_thumbnails: 0
  }
}
extracted:
{
  size: { width: 480, height: 848 },
  bitRate: 1637415,
  duration: 12900,
  creationDate:<PHONE_NUMBER>000,
  fileSize: 2746160,
  fps: 30
}
------------c.mp4------------------
raw data:
{
  index: 0,
  codec_name: 'h264',
  codec_long_name: 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10',
  profile: 'Baseline',
  codec_type: 'video',
  codec_time_base: '1/60',
  codec_tag_string: 'avc1',
  codec_tag: '0x31637661',
  width: 848,
  height: 480,
  coded_width: 848,
  coded_height: 480,
  has_b_frames: 0,
  sample_aspect_ratio: 'N/A',
  display_aspect_ratio: 'N/A',
  pix_fmt: 'yuv420p',
  level: 31,
  color_range: 'tv',
  color_space: 'bt709',
  color_transfer: 'bt709',
  color_primaries: 'bt709',
  chroma_location: 'left',
  field_order: 'unknown',
  timecode: 'N/A',
  refs: 1,
  is_avc: 'true',
  nal_length_size: 4,
  id: 'N/A',
  r_frame_rate: '30/1',
  avg_frame_rate: '30/1',
  time_base: '1/600',
  start_pts: 0,
  start_time: 0,
  duration_ts: 7740,
  duration: 12.9,
  bit_rate: 1637415,
  max_bit_rate: 'N/A',
  bits_per_raw_sample: 8,
  nb_frames: 387,
  nb_read_frames: 'N/A',
  nb_read_packets: 'N/A',
  side_data_type: 'Display Matrix',
  displaymatrix: '',
  rotation: '-90',
  tags: {
    rotate: '90',
    creation_time: '2023-01-01T12:00:00.000000Z',
    language: 'und'
  },
  disposition: {
    default: 1,
    dub: 0,
    original: 0,
    comment: 0,
    lyrics: 0,
    karaoke: 0,
    forced: 0,
    hearing_impaired: 0,
    visual_impaired: 0,
    clean_effects: 0,
    attached_pic: 0,
    timed_thumbnails: 0
  }
}
extracted:
{
  size: { width: 480, height: 848 },
  bitRate: 1637415,
  duration: 12900,
  creationDate:<PHONE_NUMBER>000,
  fileSize: 2746160,
  fps: 30
}

Here:
https://github.com/bpatrik/pigallery2/blob/3e6bb7bff719f2c768c8ddf939cc63089a8f7776/src/backend/model/threading/MetadataLoader.ts#L20-L93
The app uses tags.creation_time to get the creation time. Based on the raw data that I get from ffprobe, it seems that the creation date does not have any time zone value.

Not sure what the call to action is.
Does it mean PG2 should be updated to reflect the timezone? Or to use a different timefield? Up to you of course.
Or should I update my date/times differently with Exiftool (I think with UTC is the best way, but I can be flexible).

I think  #710 helps with this issue. Can you check?
I rerun my little tests with some better explanation.
Here it is:
------------a.mov------------------
container: {
  major_brand: 'qt  ',
  minor_version: '512',
  compatible_brands: 'qt  ',
  creation_time: '2023-01-01T12:00:00.000000Z',
  encoder: 'Lavf57.19.100',
  date: '2023-01-01T12:00:00+0100'
}
stream: {
  creation_time: '2023-01-01T12:00:00.000000Z',
  language: 'eng',
  handler_name: 'DataHandler',
  encoder: 'Lavc57.16.101 libx264'
}
extracted time: 2023-01-01T12:00:00.000Z (same as:<PHONE_NUMBER>000 timestamp)
{
  size: { width: 1920, height: 1080 },
  bitRate: 588084,
  duration: 30033,
  creationDate:<PHONE_NUMBER>000,
  fileSize: 2247292,
  fps: 30
}
------------b.mov------------------
container: {
  major_brand: 'qt  ',
  minor_version: '512',
  compatible_brands: 'qt  ',
  creation_time: '2023-01-01T11:00:00.000000Z',
  encoder: 'Lavf57.19.100',
  date: '2023-01-01T12:00:00+0100'
}
stream: {
  creation_time: '2023-01-01T11:00:00.000000Z',
  language: 'eng',
  handler_name: 'DataHandler',
  encoder: 'Lavc57.16.101 libx264'
}
extracted time: 2023-01-01T11:00:00.000Z (same as:<PHONE_NUMBER>000 timestamp)
{
  size: { width: 1920, height: 1080 },
  bitRate: 588084,
  duration: 30033,
  creationDate:<PHONE_NUMBER>000,
  fileSize: 2247292,
  fps: 30
}
------------d.mp4------------------
container: {
  major_brand: 'mp42',
  minor_version: '0',
  compatible_brands: 'mp42isom',
  creation_time: '2023-01-01T11:00:00.000000Z',
  date: '2023-01-01T11:00:00Z',
  'date-eng': '2023-01-01T11:00:00Z'
}
stream: {
  rotate: '90',
  creation_time: '2023-01-01T11:00:00.000000Z',
  language: 'und'
}
extracted time: 2023-01-01T11:00:00.000Z (same as:<PHONE_NUMBER>000 timestamp)
{
  size: { width: 480, height: 848 },
  bitRate: 1695587,
  duration: 12900,
  creationDate:<PHONE_NUMBER>000,
  fileSize: 2746160,
  fps: 30
}
------------c.mp4------------------
container: {
  major_brand: 'mp42',
  minor_version: '0',
  compatible_brands: 'mp42isom',
  creation_time: '2023-01-01T11:00:00.000000Z',
  date: '2023-01-01T11:00:00Z',
  'date-eng': '2023-01-01T11:00:00Z'
}
stream: {
  rotate: '90',
  creation_time: '2023-01-01T12:00:00.000000Z',
  language: 'und'
}
extracted time: 2023-01-01T11:00:00.000Z (same as:<PHONE_NUMBER>000 timestamp)
{
  size: { width: 480, height: 848 },
  bitRate: 1695587,
  duration: 12900,
  creationDate:<PHONE_NUMBER>000,
  fileSize: 2746160,
  fps: 30
}

Based on this the app reads the best time it can read. At least I do not see any better creation date that it could read.

Appreciate the follow-up!
Not sure what/how to test. Is there a new field you're taking the date from? In that case, which field should I include in my Exiftool command so it also gets the correct UTC date?

I would recommend not changing the date at all as the app assumes that the
date can be in any timezone and then display it in UTC.
If you change the date and set the timezone to +0000, there is not much the
app can do. It can only show that date as it shown in the previous post.
Yes there is a change where the date is from. Earlier it was only from the
first stream. Now it's checks both the stream and the container.
-- Sorry for being brief, sent from my phone.
On Thu, 14 Sept 2023, 09:54 mcwieger, @.***> wrote:

Appreciate the follow-up!
Not sure what/how to test. Is there a new field you're taking the date
from? In that case, which field should I include in my Exiftool command so
it also gets the correct UTC date?
—
Reply to this email directly, view it on GitHub
https://github.com/bpatrik/pigallery2/issues/682#issuecomment-1718946012,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZKA5XYX5RDFVBUF7SZKULX2KZ3TANCNFSM6AAAAAA22OLLXI
.
You are receiving this because you commented.Message ID:
@.***>

I will close this due to inactivity. Feel free to reopen if you think otherwise.

I am facing this same issue: I have both photos and videos (mp4) taken with the same device and the sorting provided by PG2 is incorrect in the same way as described above.
It seems as if PG2 is mixing date/time from photos (with time zone info) with UTC date/time from videos (interpreting these as local)
The only way I found to make the files appear in the correct order is to update the mp4 tags with exiftool without using the QuickTimeUTC=1 flag, but this leave the files with local date/time in those tags where AFAIK they are intended to contain UTC timestamps.
(BTW, thanks very much for PiGallery2)


HUM-844 : refactor auditor and nursery stuff

I bet dfg is starting to like all this policy stuff.


How to add evaluation indicators in eval.py such as Meteor, Rouge-L and Cider.

Hi, Thanks for that Tutorial.
I'm learning image captioning. Obviously, it can easily add evaluation index Blue1-4 in eval.py. However, What should I do if I want to add evaluation indicators such as Meteor, Rouge-L and Cider,
Can you give me some suggestion?
Best wishs!
Looking forward to your reply. Thank you！

Hi, I have the same question about increasing evaluation indicators such as Meteor, Rouge-L and Cider,Have you solved it yet?
Looking forward to your reply. Thank you！


Stop it!

Stop asking the devs for an update like it's their job to do anything for you. If you actually want to increase the speed - donate to increase their motivation. Your messages has the opposite effect of what you're trying to achieve.
Instead we should celebrate this dev and team for even creating and constantly maintaining this amazing mod to even begin with. You're the GOATS, for real.
And for people who hate's having their fps locked to 60 overall, you could get the app Lossless Scaling on steam as a temporary replacement - use the setting to allow tearing and use paired with performance mode and no scaling - only frame generation LFSG 2.2. It's not as good as this mod, but it's pretty damn good tbh.

if they don't want to support it, then open the source code and let us maintain it.


Cannot start game, Auth error in logs

{"level":"error","ts":"2017-08-02T02:59:19.892+0200","msg":"authenticate: unexpected verify response type","error":"User authentication failed","data":null}
{"level":"error","ts":"2017-08-02T02:59:19.892+0200","msg":"main: Error occurred while executing the launch process.","error":"Received an unexpected response during authentication"}

Issue: This error is due to a stale authentication token and will be addressed in the next release as part of Issue #3 when I find the time to work on this.
Solution: delete data.qcl and re-enter credentials.

deleting a file works, thanks!

Fixed in v1.03


Add better projector messages

Adds messages like in the mock ups
solves #4504

Multi-projector setup does not work (issue introduced with the countdown controls). Please apply the following changes to the projector-button component:

Mark input projector as optional: public projector: Projector | null;
The method isProjected() must be aware of this.projector. use projectorService.isProjectedOn(), if an explicit projector is given.


fix: fix escape characters in registry values

The quotes were not being properly escaped causing them being absent in the registry values. As a result the registry values would be: <path> %V and <path> %1 instead of: "<path>" "%V" and "<path>" "%1".

thanks for contribution :)


[lighthouse] add redirects reference; update template

What's changed, or what was fixed?

update template
add reference for redirects audit

Fixes: N/A
Target Live Date: 2018-04-02

[x] This has been reviewed and approved by @kaycebasques
[x] I have run gulp test locally and all tests pass.
[x] I have added the appropriate type-something label.
[x] I've staged the site and manually verified that my content displays correctly.

CC: @petele

Whoops!
There were 2 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/tools/lighthouse/audits/_template.md - Skipped (wf_ignore_file).
src/content/en/tools/lighthouse/audits/redirects.md#L36 - Common typo found: 'signin' Should it be 'sign-in'? See: https://developers.google.com/style/word-list#sign-on


documentation issue for Capistrano integration

Following the instructions on https://docs.bugsnag.com/api/deploy-tracking/capistrano/ and trying to load the environment results in the error:
.../gems/bundler-1.16.0/lib/bundler/runtime.rb:84:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'bugsnag-capistrano'.
Gem Load Error is: uninitialized constant Capistrano
Backtrace for gem load error is:
.../gems/bugsnag-capistrano-1.1.1/lib/bugsnag-capistrano/capistrano.rb:3:in `<top (required)>'
.../gems/bugsnag-capistrano-1.1.1/lib/bugsnag-capistrano.rb:2:in `<top (required)>'

The Gemfile installation should show:
gem 'bugsnag-capistrano', require: false

so that only the Capfile tries to load the gem where the environment can provide the Capistrano constant.

@Cawllec please update the docs. could have saved me an hour :/

Same for me here. Had the same issue, couldn't figure it out until I found this.

Sorry, we're in the process of updating this gem at the moment.  I'll make sure the docs have the appropriate section updated.


Support for static IP and BSSID/MAC, Channel of AP

Support for static IP and BSSID/MAC, Channel of AP

added parameters to config.json which allow to define static ip, mask,
gateway, dns
added parameters to config.json which allow to define BSSID and
channel of AP

To run device with defined static IP you have to define ip, mask and
gateway together.
To point device to connect to specific BSSID and channel you have to
define bssid and channel together.
{

	"name": "The kitchen light",
	"device_id": "kitchen-light",
	"wifi": {
		"ssid": "Network_1",
		"password": "I'm a Wi-Fi password!",
		"bssid": "DE:AD:BE:EF:BA:BE",
		"channel": 1,
		"ip": "<IP_ADDRESS>",
		"mask": "<IP_ADDRESS>",
		"gw": "<IP_ADDRESS>"
	},
	"mqtt": {
		"host": "<IP_ADDRESS>",
		"port": 1883,
		"base_topic": "devices/",
		"auth": true,
		"username": "user",
		"password": "pass"
	},
	"ota": {
		"enabled": true
	},
	"settings": {
		"param1": 55,
		"param2": "abcdefghijklm",
		"param3": true,
		"param4": false,
		"param5":<PHONE_NUMBER>,
		"param6": -2147483647,
		"param7": 55,
		"param8": "abcdefghijklm",
		"param9": true,
		"param10": false
	}
}

On my environment (Wemos D1 mini and Mikrotik router) it took less than 1s to send initial statistics to broker after poweron/restart device. With dynamic IP and without BSSID/channel definition it took more then 4s.

That's awesome! Thanks a lot 😇 docs is the only thing left

Which part of documentation will be OK? "JSON configuration file"?

Done. Have a look at my proposition on project's site.

Thanks! Merged in 😇

There is some wrong format in "JSON file" section:

Yup, it's fixed, it was using tabs whereas the rest of the JSON is 2-spaces. 😉


Delete new branches pushed to the main repository

Just to enforce everyone uses a fork.

New PRs are not going to trigger this to run, correct?

Thats the intention! PRs can include forks, there's no need to run on that. Only pushes can create local branch so that why I imposed this limitation

I'll merge this after the daily so everyone can be warned =)


Quarkus Kogito Processes Deps clarity

Description
The examples bring in the full kogito main dep.
But there is also: kogito-quarkus-processes.
Should process apps be able to be built using:
 <dependency>
      <groupId>io.quarkus</groupId>
      <artifactId>quarkus-resteasy</artifactId>
    </dependency>
    <dependency>
      <groupId>io.quarkus</groupId>
      <artifactId>quarkus-resteasy-jackson</artifactId>
    </dependency>
    <dependency>
      <groupId>org.kie.kogito</groupId>
      <artifactId>kogito-quarkus-processes</artifactId>
    </dependency>
    <dependency>
      <groupId>io.quarkus</groupId>
      <artifactId>quarkus-smallrye-openapi</artifactId>
    </dependency>
    <dependency>
      <groupId>io.quarkus</groupId>
      <artifactId>quarkus-junit5</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>io.rest-assured</groupId>
      <artifactId>rest-assured</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>io.quarkus</groupId>
      <artifactId>quarkus-smallrye-health</artifactId>
    </dependency>

or must
<dependency>
  <groupId>org.kie.kogito</groupId>
  <artifactId>kogito-quarkus</artifactId>
</dependency>

be used?
If your kogito-quarkus always required, is there simplified deps planned so you are not bringing in everything?
Thanks
Implementation ideas
No response

Lets explain the dependecies (I will skip test scope ones) used
You allway need to include ```

org.kie.kogito
kogito-quarkus

if you are using processes and deccisions, rules or predictions
or

org.kie.kogito
kogito-quarkus-processes

```
if you are just using processes.
Note that this is intended for granularity.
With the same spirit, then, if you are using REST, which is enable by default (but might be disabled), you also need
   ```

io.quarkus
quarkus-resteasy

io.quarkus
quarkus-resteasy-jackson

```
And thats it. if example is using event messaging, it will have the additional addons includes as explained in this messaging pots https://blog.kie.org/2021/09/kogito-process-eventing-add-ons.html
The same rationale, adding addons, apply to persistence.
 <dependency>
      <groupId>io.quarkus</groupId>
      <artifactId>quarkus-smallrye-openapi</artifactId>
    </dependency>
``` is only needed if you are using openapi, which is, as far as I know, only used for serverless workflow

io.quarkus
quarkus-smallrye-health

```
is included beause to retrieve health statistics.


helm: make scrape timeout configurable

This MR makes the scrape timeout of the ServiceMonitor generated by the Helm chart configurable. This is helpful to fix scrape timeouts if the extended-ceph-exporter needs more time to export metrics than the global timeout settings on a cluster.
The MR also introduces a default timeout of 20s in the values.yaml of the Helm chart. I mainly introduced the default to be consistent with the existing scrapeTimeout Helm parameter that also defines a default. I'd be happy to remove the default if you prefer.

@SimonSimonB thank you for your PR!
Please bump the patch chart version to 1.3.2 here https://github.com/koor-tech/extended-ceph-exporter/blob/main/charts/extended-ceph-exporter/Chart.yaml#L18

Thanks for the speedy review, @galexrt !

Please bump the patch chart version to 1.3.2 here https://github.com/koor-tech/extended-ceph-exporter/blob/main/charts/extended-ceph-exporter/Chart.yaml#L18

Sorry, forgot about that. It's bumped now.

No worries! Sorry, I forgot to tell you to update the helm chart docs when bumping the version.
Please run make helm-docs and combine those changes with the version bump commit.

Sure thing! I amended the commit.


BP signal reconstructed

Hello Professor. How is the output BP signal reconstructed? Is there any relevant code? Thank you very much！

Hi, I used Matlab to analyze the .mat produced by the predict.py script. You can for example use icwtlin function to compute the inverse CWT. The input of this function is a structure, you can understand how this structure is computed from signal_to_cwt.m
(cwA = cwtft({signal_window,1/fps},'scales',{sc(1) 0.00555 ceil((sc(2)-sc(1))/0.00555) 'lin'},'wavelet','morl');)


Incorrect error returned if a user tries to recreate a bucket

Environment info

NooBaa Version: master
Platform: minikube 1.1.1

Actual behavior

If a user tries to recreate a bucket which it already owns, Noobaa server throws "BucketAlreadyExists" error

Expected behavior

But as per https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html, Noobaa server should return "BucketAlreadyOwnedByYou" error.

Steps to reproduce

Create a bucket on Noobaa endpoint from a user
Now via the same user, try to recreate the bucket with same name
The operation fails with 'BucketAlreadyExists' error

More information - Screenshots / Logs / Other output

I have posted https://github.com/noobaa/noobaa-core/pull/5979 to fix this issue. Kindly review.

Hey @soumyakoduri

Is this covered by ceph/s3-tests?
Notice this has some legacy caveats as documented by aws docs -
‘’’
The bucket you tried to create already exists, and you own it. Amazon S3 returns this error in all AWS Regions except us-east-1 (N. Virginia). For legacy compatibility, if you re-create an existing bucket that you already own in us-east-1, Amazon S3 returns 200 OK and resets the bucket access control lists (ACLs).
‘’’

Hey @soumyakoduri
1. Is this covered by ceph/s3-tests?

No. I have been manually testing it using s3cmd and aws tools. I will confirm with Ceph RGW lead and update.

2. Notice this has some legacy caveats as documented by aws docs -

Right. When I inquired about it, I was told that it should be okay to return this error all the time. I will re-confirm and update.

Hi @guymguym

1. Is this covered by ceph/s3-tests?

No. I have been manually testing it using s3cmd and aws tools. I will confirm with Ceph RGW lead and update.

Seems like there are two test-cases in ceph/s3-tests to test this scenario -
test_bucket_create_exists() - expects '200 OK or a 409 BucketAlreadyOwnedByYou'
test_bucket_create_exists_nonowner() - BucketAlreadyExists

2. Notice this has some legacy caveats as documented by aws docs -

Right. When I inquired about it, I was told that it should be okay to return this error all the time. I will re-confirm and update.

Casey, RGW lead  gave a detailed explanation on this -


Arcade Physics collisions aren't occuring

http://labs.phaser.io/edit.html?src=src\physics\arcade\collider 1.js
http://labs.phaser.io/edit.html?src=src\physics\arcade\sprite vs group.js

This Issue is about

A bug in the API: 3.4.0 (12d27518da8975dbcea38569bc7eb9513b7e7c01)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

FWIW I bisected this using this demo to test each sha and this commit looks like the offender. It doesn't revert cleanly so I can't trivially verify but I'll poke around a bit and see if I can figure what's going on here.


TestName is not correctly set when using @beforeMethod annotation in ExtentITestListenerAdapter

Hello,
I just updated to ExtentReports 5.0.0 and extentreports-testng-adapter 1.2.0. After updating I noticed a big change in behaviour in the ExtentITestListenerAdapter.
Previously, the name of the test was set correctly to the left of the report as can be seen in the following image:

After updating to the latest version, now the name of the before method is the one written to the left (it's repeated 10 times because I'm using 10 parallel threads).

I saw in #5 that this was done to avoid a NPE, however I think that the expected behaviour when using the ExtentITestListenerAdapter should be to have the name of the test method at the left of the report (as it was until the version 1.0.7) and not the name of the "beforeMethod" method as now in version 1.2.0.
Is there a way to write the name of the test on the left when using a @beforeMethod annotation and ExtentITestListenerAdapter ?
Is there a way to skip this createMethod here?
    @Override
    public void beforeInvocation(IInvokedMethod method, ITestResult testResult) {
        if (method.getTestMethod().isBeforeMethodConfiguration()) {
            createdMethodBeforeInvocation = true;
            ExtentTestManager.createMethod(testResult);
        }
    }

@lgarelli-thefork This change should not have been merged.
Please check with 1.2.1-SNAPSHOT.  linky

Thanks for your prompt response @anshooarora ! Well, I can wait for the official 1.2.1. Any possible release date?

Since this change reverts back to the original code, I can release in the next few mins.  Can you confirm this reverts back to the pre-#5 view?

@anshooarora it works!

Awesome, thanks!  Pushing release to nexus now.

Its live now https://oss.sonatype.org/#nexus-search;quick~extentreports-testng.  Generally takes a few hours to reflect on mvnrepository/search.maven.  Cheers

thanks a lot!


Krill sync validation

Add optional validation support to krill-sync to allow checking the content of a repository for possible issues.
Still needs some thought, but it's getting there, so it can already be reviewed / looked at.
EDIT: This has been done for a while now. It seems to work well enough from an operational point of view, but the code could still use review.

I tested it against half of the tests of RPRP and it seems like those errors are also what I expected. I'm still going through the code itself. Just wondering: is the fact that it builds against rpki-rs 0.15.10-dev intentional?

Just wondering: is the fact that it builds against rpki-rs 0.15.10-dev intentional?

Well - it was at the time ;) It can be updated to the latest stable release, but when I tried this, I found that the ASPA validation needs to be updated to reflect the new profile. I can do that - and since this is all in one big PR anyway, I might as well do it here...
Fix coming tomorrow.

Updated to rpki-rs 0.17.1 and new ASPA profile

replaced by #83


Something about async support

May I ask ,is there some plan to support for async/await in Python3.5+?

You can use threading module for async or multiprocessing for processes and making it work in the background..

@renderit Yeah, I have a try , and I get a idea that to replace requests lib by aiohttp to request data.
Call it aio-influxdb is better ?

@Zheaoli Although it is quite basic and not very well tested yet, I have just made a simple async InfluxDB client and made it public: https://github.com/plugaai/aioinflux

Can I ask what benefit you would get from adding asyncio to the influxdb-python side of house? Every request that comes into the HTTP or UDP endpoints on the influxdb side is handled concurrently in a separate goroutine, be that a read query or a write. Are you finding bottlenecks at the influxdb-python layer for sending data through to the backend? Are you having trouble pulling information back from the backend that you would need this done asynchronously?

@sebito91 Since we have to interact with InfluxDB via HTTP, I don't really think how InfluxDB handles things internally is very relevant here. The benefit we would be basically the same as the benefit anyone will have from having an HTTP wrapper library use aiohttp instead of requests.
Using a sync/blocking approach (e.g. using the requests library), the Python interpreter is blocked from doing any other work until the response of the HTTP request is returned. The traditional workaround for that is using threads, but async programming is a lot more scalable and resource efficient. If your application already depends on async programming, then you have to make it async the whole way.
I am running a small application that is sending async HTTP requests to many of endpoints, asynchronously receiving data through a couple of async websocket connections and periodically dumping that data (also asynchronously) to multiple databases. Having a sync/blocking component in the that process can become a significant bottleneck.

@gusutabopb thanks for the feedback, that's definitely good information to have. The library itself does need a bit of a rework + modernization, that's true...we'll have to get this prioritized. I'm always curious to hear what other users' workflow looks like, especially where like requests become a bottleneck for collection. You have to remember, we're "competing" against telegraf which is concurrent and applies batching...we don't have the concurrency at the moment, but we do have batching!

What is your collection/write interval? Is it every 10s, 1s, subsecond?

Are you seeing drops in measurements as a result of request duration?
Are you performing all writes, or a mix of writes/queries on the same client instance?

Sorry for all of the questions, but it'll help us drill to the right answer :D

For any modern application that has to operate at scale, async is a must. I'll sketch out our own usage to illustrate.
We run a web service that handles O(10,000) requests per second (across 4 servers) and another that handles millions of reqs/sec (across hundreds of servers). Both of these services are very latency sensitive.  (N.B., the service at millions-per-second-scale is not written in Python.)
We simply want our servers to write metrics to influxdb once per minute. But if the call to influxdb blocks (either on i/o, or--in the case of coroutines--by not yielding nicely), then all requests in flight in a particular server process at that instant are also blocked. And if that influxdb write takes more than a millisecond or two (ha! in practice it frequently takes seconds), the result is unacceptable performance characteristics, once per minute per process.
Hope that helps explain the motivation for considering async.

@sebito91
For context, since about 2 weeks ago I am not using influxdb-python at all, and am using my own async wrapper instead: https://github.com/plugaai/aioinflux. Documentation is still not very good, but it basically implements all the influxdb-python functionality in both an async AND sync way and satisfies all my production requirements at the moment.
Answers:

Subsecond. Anywhere between 1-5 times per second. Data comes at a much faster rate though. I accumulate data in asyncio.Queues and dump them periodically to InfluxDB/MongoDB (depending on the type of data).
Mostly LAN, but I wanted something that will work just as well if I eventually have move the databases to remote locations.
Not that I am aware. I did get a lot of asyncio warning messages saying that it took over 100ms for the event loop to execute a given task (due to blocking calls not returning the control flow to the event loop) before switching to aioinflux. Now I rarely ever see such messages. They look like this:

Executing <Handle <TaskWakeupMethWrapper object at 0x7f56c04bea98> created at /home/gustavo/anaconda3/lib/python3.6/asyncio/tasks.py:384> took 0.119 seconds

Writes happens 24/7. Queries are less often, but usually more intensive and happen whenever I or someone from my team is analyzing data.

Thanks @RonRothman + @gusutabopb, appreciate the feedback. I've started working on this.

@sebito91
I also do the same work just  like Mr.@gusutabopb
I think at first we can implements a full test async lib
and merge in official repo‘s branch
CC @RonRothman
Finally,this issue can be close

Like what is alluded in #406, influxdb-python can be monkey patched by gevent to be made asynchronous. It is as simple as:
from gevent import monkey
monkey.patch_all()
from influxdb import InfluxDBClient

client = <..>
client.query(<..>)

Client queries are now asynchronous. This works on py2 and py3 and requires no code changes. While having an asyncio client would be great, asyncio only exists in Python 3.
Parallel queries can be run via gevent's greenlets, eg:
import gevent
<patch as above>

queries = (<query1>, <query2>, <..>)
cmds = [gevent.spawn(client.query, query)
        for query in queries]
gevent.joinall(cmds)

These parallel greenlets are co-operative with other greenlets rather than blocking on I/O. Similarly for writing via client.write_points et al.
It is, however, best practice to run groups of co-routines (like greenlets) of different purposes in separate native threads so, for example, greenlets for application A do not conflict with greenlets of application B. They will not block each other when reading/writing over the network but actual code still needs to be run on the CPU for everything else, which will still block other greenlets from executing.
Making network requests asynchronous makes for better use of resources - they do not magically make executing code use no resources at all.

In case this is still active, you can use python-influxdb with python by using the loop.run_in_executor function using a ThreadPoolExecutor (though I would prefer an actual AsyncIO client).
from influxdb import InfluxDBClient

. . .

async def write_data(influx_client, data_points)
    loop = asyncio.get_event_loop()
    # Using None will create a ThreadPoolExecutor
    # you can also pass in an executor (Thread or Process)
    await loop.run_in_executor(None, influx_client.write_points, aggregates)

I ported this library. It's work with aiohttp in back-end and it's compatible with asyncio.
async-influxdb-python

@sebito91  : Any news on this feature?

To update the last comment: looks like the two most popular async-friendly HTTP clients in Python are now https://github.com/aio-libs/aiohttp/ and https://github.com/encode/httpx/. The latter happens to support both asyncio and trio.
It seems that @gusutabopb is not using aioinflux that much these days https://github.com/gusutabopb/aioinflux/issues/31#issuecomment-626729838, so having async support in the official client would be a great addition.
Until then, as it's been said here, the solution would be loop.run_in_executor.

Hi All,
the influxdb-client-python supports async/await.
For more info see:

https://influxdb-client.readthedocs.io/en/stable/usage.html#how-to-use-asyncio
https://influxdb-client.readthedocs.io/en/stable/api_async.html

Regards


List available named queries while in query mode

 Issue by carlos.garcia
Wednesday Nov 02, 2016 at 13:42 GMT
Originally opened as https://git.tk.informatik.tu-darmstadt.de/SPIN/ID2T-toolkit/issues/4

A command should be available to list all possible named queries while in query mode.

 Comment by aidmar.wainakh
Tuesday Feb 20, 2018 at 10:39 GMT

A help command was added, listing available commands and providing examples and additional information by typing "help [KEYWORD];"

 Comment by aidmar.wainakh
Tuesday Feb 20, 2018 at 10:39 GMT


wrap str in _bytes()

Need to wrap python str in _bytes(). While at it call the ShowFontSelector()in show_font_selector.

Thanks!


[tlul,prim] Do some splitting up in prim.core and avoid depending on prim:all in TLUL core files

The main motivation for this is to cut down the dependency tree for my rom_ctrl work (I've been messing around trying to run Symbiyosys on it), but I think this should be a win in general.

Can you add a big "DEPRECATED, DO NOT ADD ANYTHING NEW TO IT AND DONT DEPEND ON IT" warning somewhere?

My take on this is that people who Should Know Better (TM) already depend on prim:all, despite a project-wide agreement that it should go away. I'm not sure a deprecation warning will make any difference: it probably makes more sense to just do the work to split it up.

@imphil: I think I've diagnosed things correctly for the first patch, but would you mind checking over it to make sure I got this right?

Thanks for the explanation, that's really helpful. I'll update the comment to match and, yes, let's punt on a better fix for another day.


Bugfix/set root name rank

Codecov Report

Merging #7 (2cd4a93) into dev (75c6a76) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev       #7      +/-   ##
==========================================
+ Coverage   95.01%   95.03%   +0.01%
==========================================
  Files          10       10
  Lines         662      664       +2
==========================================
+ Hits          629      631       +2
  Misses         33       33

Impacted Files
Coverage Δ

multitax/multitax.py
97.88% <100.00%> (+0.01%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Remove d3.interpolators.

Seems insufficiently useful. Just make the behavior of d3.interpolator fixed. People can create custom interpolators easily enough.

@mbostock Can you please re-add this feature? I find it very useful.


Added specs and some housekeeping

Added Gemfile that uses the gemspec
Updated .gitignore to exclude Gemfile.lock
Added an initializer for a test Sinatra application
Added some specs to test config_directory and that initializers are loaded
Updated README with correct links and information

Sure, there was some more housekeeping I thought could be done since it looks like the project was adapted from another project. Example, jeweler isn't used, but the gemspec is still has a bunch of jeweler-y "bits" in there.
Any chance after the merge you could do a release of the gem? I'm using the gem in a project and would like to move away from the :git reference. Thanks.

David,
Definitely so.  I did not have a chance last night to do the pull but will
be able to this evening.  I'll do a release of the gem as well.
On Thu, Dec 1, 2011 at 8:52 AM, David Czarnecki <
<EMAIL_ADDRESS>
wrote:

Sure, there was some more housekeeping I thought could be done since it
looks like the project was adapted from another project. Example, jeweler
isn't used, but the gemspec is still has a bunch of jeweler-y "bits" in
there.
Any chance after the merge you could do a release of the gem? I'm using
the gem in a project and would like to move away from the :git reference.
Thanks.

Reply to this email directly or view it on GitHub:
https://github.com/chadwpry/sinatra-initializers/pull/1#issuecomment-2975493

David,
I've made a few changes this evening after adding your pull request.  I'll
be deploying the new version in a few minutes.  Let me know if there is
anything that is missing/strange.
Cheers,
Chad
On Thu, Dec 1, 2011 at 8:52 AM, David Czarnecki <
<EMAIL_ADDRESS>
wrote:

Sure, there was some more housekeeping I thought could be done since it
looks like the project was adapted from another project. Example, jeweler
isn't used, but the gemspec is still has a bunch of jeweler-y "bits" in
there.
Any chance after the merge you could do a release of the gem? I'm using
the gem in a project and would like to move away from the :git reference.
Thanks.

Reply to this email directly or view it on GitHub:
https://github.com/chadwpry/sinatra-initializers/pull/1#issuecomment-2975493

I would still exclude the Gemfile.lock from the project, http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/.

David,
Great point.  I've excluded it from the project, fixed a missing file, updated the version, and deployed to rubygems.  Let me know if there is anything that may have been missed.
Thank you for the patience.


libgnutls not loading libintl.8.dylib since last release

Recent build (version 3.5.19) appears to be broken on OSX.  I am getting:
dyld: Library not loaded: @rpath/libintl.8.dylib
  Referenced from: /Users/travis/miniconda/lib/libgnutls.30.dylib

Ups, indeed there is a little hidden "libintl not found" message in the build logs, and everything points to gettext. I'm not a mac man but will try to fix it when I find a minute. Any help is welcome.
In the meantime, can you pin to the previous version?

So the problem is that I assumed wrongly that gettext had already centralized pinnings, which it does not and therefore it is not added automagically to the runtime dependencies. Also apparently pinning is not trivial:
https://github.com/conda-forge/conda-forge-pinning-feedstock/issues/11
Will hopefully fix in a second.

So the problem is that I assumed wrongly that gettext had already centralized pinnings

Do you want to send a PR to conda-forge-pinning with the global pinning?

Once #5 is merged this will be solved.
@ocefpaf I will send a PR tomorrow with the pin I used here, let's see if it is well received.

let's see if it is well received.

Thanks! It is always well received :smile:
We may need to figure out the information about the ABI first though to make it efficient.

The hotfix version has made it to the repos. Once we get a proper conda-forge wide pin, I will trigger a new build.

@SylvainCorlay thanks for the speedy report, hopefully we have caught this early enough that it has not broken many people envs.

Thanks! Double checking in my environment.

It is apparently fixed!

Many thanks for fixing this so quickly @sdvillal !


Class/enumeration selection dropdown not adjusted when typing the object name

Bug Report
Steps to Reproduce:
Create an attribute in a class and look to specify the type from a pre-existing class or enumeration in an environment that contains a meanignful number of pre-existing objects.
Expected Result:
While typing the object the dropdown selection should be progressively adjusted to that name.
Actual Result:
That dropdown selection adjustment doesn't happen following some code changes that took place, which makes the selection quite impossible and we have to work from the textual UI.
Environment:
legend-studio:                 6.7.0
legend-sdlc-server:         0.84.2
legend-engine-server:   3.9.3
Additional Context:
See attached snippet

This issue is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.

This issue was closed because it has been inactive for 35 days. Please re-open if this issue is still relevant.


groovy highlight issue(jenkinsfile)

This block are in quote/bin/cp -a -f ${env.WORKSPACE}/* ${env.GOPATH}/${env.PROJECT_PATH}/, but separated by '/*', before this are in quote, others are highlighted as comments!

Cannot reproduce.

Test code:
// copy code to the dir
sh "/bin/cp -a -a ${env.WORKSPACE}/* ${env.GOPATH}/${env.PROJECT_PATH}/"
// highlighting error, so here must add an '*/'

Are you using the latest version of Prism? Are you using any plugins?
Could you please provide the full example, if possible. Maybe the cause of the error lies somewhere else in the code.

OK!
But I still have this issue, maybe my develop environment is damaged.


Add Restart Policy

Right now, the container will not start if I reboot the server. So, it would better if there is a restart policy in the docker-compose.yml.
https://serverfault.com/questions/884759/how-does-restart-always-policy-work-in-docker-compose

Hello,
Thank you for your feedback.
The docker-compose.yml file has been updated and the latest version of docker-compose.yml now includes restart: always in each service.
I'm not sure if this is the result you were looking for.

Yes that will do it!


[new feature request] Is it possible to support screenshot as a server or resource?

I want LLM to read screenshot as a input, like what computer use do, but MCP can have a better permission control management.
Is it possible? or is there some clue or suggestion that can help me to contribute it.

You could definitely build an MCP server for this. The server could offer one tool which takes a screenshot, and returns it as an image.
Does that help?

Not sure if this is within the scope here.
We know that the Claude desktop app, through MCP, has access to images using the screenshot tool in the puppeteer server, although the image is available to Claude in base64 encoded format.
We could probably modify the filesystem server to also make images available to Claude also.
The question is, though, how can we actually give it to Claude so he can view it the same as if we uploaded an image directly in chat?

@rmensing I m sure you have to serve it base64 encoded, same as for any API request.
MCP server only provides some data ( context, prompt, tools) to host/client, and its up to you how you communicate with LLM. No difference where you get data: from MCP server or just performing generic API call to LLM.

@deksden In chat it cannot directly use the base64 formatted image. Although it could write code to convert it back to the image format, it still does not have the ability to view it. The only reason base64 is used in the API is so it can be sent in a text format. once it is received it is converted back to an image more than likely.
There would need to be the functionality in the Claude desktop app MCP client implementation for it to attach the image, or other documents for that matter, the same as you do in the chat interface. Unfortunately we don't have any documentation on the interface between the MCP client code and the desktop app as far as what the desktop app can or can't do. My guess is that they could probably code it to accept the images and view them, it's only a matter of will they. It could be a case of them having a reason to not implement it.

As this is supported in MCP, and demonstrated in the examples, I'm going to close this out as resolved. Please start a discussion if you have other questions.


#can add hover effect to the events day

Is your feature request related to a problem? Please describe.
when the user visits the page again after adding an event he/she is not able to see any description or title(complete title) of event
Describe the solution you'd like
If a user hovers to the day having events, a side box displaying event related message will be displayed.
Describe alternatives you've considered
add event description like time, things to be done etc
Additional context
NA

Hi https://github.comgauravsingh1281,
I’d like to take up this task: #can add hover effect to the events day #140
I’m confident I can complete it and contribute to the project.
Could you please assign it to me? I’ll make sure to deliver by the deadline and follow the project’s guidelines closely. If there are any specific requirements or preferences, feel free to let me know.
Looking forward to your approval!
Thanks,
@naitikhoriya1


Add @scottmmjackson as codeowner and rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Question:  Error: @charset may only be used at the root of a document.

I update bourbon 4.2.1 and got error  Error: @charset may only be used at the root of a document.
Can I resolve this error?

How are you compiling the Sass? What’s your dev environment?

Sorry for lack information.
This is my environment.
% ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]

% sass -v
Sass 3.4.12 (Selective Steve)

% npm ls | grep sass
├─┬<EMAIL_ADDRESS>
Updating command is like this
bourbon update --path=./sass/core/lib/

and I compile with grunt
sass: {
  dist: {
    options :{
      sourcemap: 'none',
      style : 'expanded',
      loadPath : ['sass'],
    },
    files: [{
      expand: true,
      cwd: 'sass',
      src: ['**/*.scss'],
      dest: 'web/css',
      ext: '.css'
    }]
  }
},

and use import like this
@import "core/lib/bourbon/bourbon";

We are seeing a similar problem. Our SCSS looks like
.embedded-container {
  @import "bourbon";
}

In our case, we are producing HTML / CSS that gets embedded in another site, so we want to make sure that all of our CSS is scoped to our container. For now, we can remain at version 4.0.2, but it'd be nice to know if it's possible to work around this

I am curious as to why @charset 'UTF-8' was added to every file as well. @tysongach?

Same issue here. Why was that added?
Isn't bourbon supposed to be a mixin library, and not produce any output?

@tbremer @kitop How are you both compiling your Sass?
These @charset’s were added so that we can use special characters in our source code. We are currently moving towards adding Bourbon’s documentation to the source of each mixin, so that it can be versioned and generated more easily.
It’s possible that we only need the @charset declaration on our main manifest: _bourbon.scss

@tysongach I'm just using Rails' asset pipeline. My error was because a mixin file (that imported bourbon) was imported inside another CSS rule (.foo { @import 'mixins' }) which I fixed now.
I see the point of adding the @charset anyway, just wish scss had another way to do that to eliminate the extra output.

@suisho @shepmaster This issue appears to be tied to importing Bourbon inside another CSS rule. Are you both doing that? If so, is there a specific reason your imported within another rule?

@tysongach yep! I attempted to explain why in my earlier comment. Let me know what more you'd like me to explain.

@shepmaster I’m not sure I understand the purpose of importing within .embedded-container. Bourbon is a library of mixins and functions and doesn’t output any styles on its own.
The scoping you mentioned is not actually scoping Bourbon to that class. Instead, you should be able to move the @import for Bourbon outside of that rule, then use Bourbon’s features within the class.
Have you tried moving the @import for Bourbon outside of that class already? Does it resolve the issue?

@tysongach that's... an excellent point. I'll have to dig into it tomorrow at work, to understand why it was originally put there!

@shepmaster Any update?
@suisho Please see comments above. Are you still having issues? Are you nesting imports?

Sorry for I miss out mentioned.
I found use nesting import too.
And this problem is occurred because my sass directory structure...
(I wrap and important main.scss file for design style guide.)
My problem is not resolved perfectly, but may can it.
Thank you.

@tysongach While we still aren't able to un-nest Bourbon, I don't think that it's Bourbons fault. Unfortunately for us, we use both Bootstrap and Bourbon, and these two projects have conflicting mixin names (like text-hide). We were importing Bourbon after Bootstrap to use the version from Bourbon, but Bootstrap needs to be nested so that the classes it creates are scoped appropriately. It seems we have gotten ourselves into a pickle! Any hints or advice would be appreciated, but I think that Bourbon is doing the right thing. Thanks for your hard work!

@shepmaster Thanks for the update. Unfortunately, I really don’t have any insight on how to solve your issue; a pickle indeed.
I’m unclear on how you’re using Bootstrap, but maybe try to remove any conflicts (e.g. the hide-text) by not importing those pieces of Bootstrap, so that then Bourbon can be imported before…

Are you trying import bourbon as a css rule?
Like:
.some-class { @import "bourbon"; }

It get the same error and when I fix this import, it's works fine.

Advise to not @import "bourbon"; from within a rule. There is no need to do so (you don't need to nest non-rendering SASS).


[Improvement] Support selecting a session cluster when submitting CDC jobs

Purpose
Support selecting a session cluster when submitting CDC jobs.  link issue #290

Configure the flink session cluster

Select the flink session cluster

LGTM


Assessments: bulk loader should support all kinds supported by assessments definitions

Currently only supports apps.
Needs to support: (in rough priority order)

[ ] Change Initiative
[ ] Org Unit
[ ] Measurable (should x-check qualifier?)

Hi, please I was looking at this issue and would appreciate some clarification.
For an app assessment, when you click the bulk edit button it shows a text area for bulk assessment.
Do we want to achieve a similar thing for the assessments of entity kinds listed in the description for this issue?

Hi @davidwatkins73, please is this issue still open?

Hi @judofosu
Yes this issue is still open.  Not sure how simple it would be.  It's basically tying to make the bulk assessment editor applicable for entities other than applications.
To get to the bulk editors go to the admin/assessment definitions page and you (may) see a bunch of assessments for different kinds (in this example CHANGE_INITIATIVEs and APPLICATIONs)

If you click on the "View Data" link you get taken to a page where you can access the bulk loader

Here you should be able to cut n' paste some data, however the code only accepts application asset_code values for the first column.  Really this should work for change initiatives via the external_id field and other entity kinds via their equivalent external_id fields.

Hi @davidwatkins73
For some entity kinds like Entity Relationship and Logical Data Flow, they do not have external_id and name attributes and for Legal Entity Relationship, it has only the external_id.
Please what do you suggest I use for those entities?


Cutscene skips

Shortens/removes various other cutscenes in dungeons or side quests

Is there a reason for this still being draft? You can always add more cs skips in future PRs

I only had it as draft from your suggestion; I guess enough time has passed and testing been done to make this ready for review.


Added RC4 128/128 to the RC4 cipher suite and RC4 128/128 unit test

RC4 128/128 is an additional RC4 cipher that is considered insecure. This pull request adds RC4 128/128 to the list of RC4 ciphers that are disabled when the RC4 attribute is set to 'disabled'. Microsoft security advisory (https://blogs.technet.microsoft.com/srd/2013/11/12/security-advisory-2868725-recommendation-to-disable-rc4/) includes RC4 128/128 as one of the ciphers to disable to completely disable RC4.

+1 can we get this merged and released?

+2 can you please merge and release the pull request for RC4 128/128?

@brianbohanon - Let me start with a Thank You and quickly follow that up with an apology.
I had setup some new accounts (for the supermarket and git etc) to author this and didn’t maintain or monitor them, I’ve fixed this now.
Thank you again for your contribution.


Error deserializing integer from scientific notation

Hi,
I have a data field that's an unsigned integer but sometimes gets formatted using scientific notation by my data provider. serde-json fails to deserialize the data-field when it's in scientific notation as it sees the field as a float:
use serde::Deserialize;
use serde_json;

#[derive(Deserialize, Debug)]
struct Foo {
    z: usize
}

fn main() {
    let json = r#"{"z":1e+06}"#;
    serde_json::from_str::<Foo>(json).unwrap();
}

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("invalid type: floating point `1000000`, expected usize", line: 1, column: 10)', src/main.rs:11:39
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Playground link here: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=8cc640da1d7465f24b715cefed2bdc71

A little bit smaller, but same error:
assert_eq!(Some(1_000_000), serde_json::from_str::<usize>("1e+06").ok());
The problem seems to be this line: https://github.com/serde-rs/json/blob/6c6823a6b3f97e4482b07eca02a991f30b19dfee/src/de.rs#L429
It should not try to parse it as float directly. Even something like "1.1e+3" should be parseable as usize. I'm not sure if one should try to parse the number, determine if parsing it into usize is possible and then return a result on top of that or what else to do.

@Alexhuszagh, thanks for the helpful context! The value is being sent by a vendor, so I don't have direct control over the formatting of the value, but I will try out your truncation suggestion. Thank again!

Therefore, I don't feel this is an issue with serde-json, but rather an esoteric use-case you have.

Just commenting because I encountered the issue recently and found this out.

I think the error message would be better if it kept the original string it tried to deserialize, because with big payloads the error is hard to track down when the message looks like a very valid integer failed to be considered as integer invalid type: floating point ``1671193560``, expected i64 at {locus}.

Sadly it might not be as esoteric a use-case as we might want, for example AWS API always return timestamps as scientific notation integers (even if the documentation examples don't show it):

{"Messages":[],"MetricDataResults":[{"Id":"expr_0","Label":"expr_0","StatusCode":"Complete","Timestamps":[1.67119356E9,1.6711935E9],"Values":[8.11615297282456,8.48669495866197]}]}

I know I should be reporting an issue with the time crate or directly Amazon for this particular instance, I just wanted to show an example of a not so contrived use case where I can't really do anything and receive integers in scientific notation.
Thanks for having the whole explanation here though!!


Add comment to interface for convenience.

Added comments to type definition for Typescript for convenience.
Description
Here is the part I changed.

Comments are from README.md. So, if there is any incorrect information on README.md, this comments also must be incorrect.

export interface INeuralNetworkTrainingOptions {
  /**
   * the maximum times to iterate the training data --> number greater than 0
   * @default 20000
   */
  iterations?: number;

  /**
   * the acceptable error percentage from training data --> number between 0 and 1
   * @default 0.005
   */
  errorThresh?: number;

  /**
   * true to use console.log, when a function is supplied it is used --> Either true or a function
   * @default false
   */
  log?: boolean | INeuralNetworkTrainingCallback;

  /**
   * iterations between logging out --> number greater than 0
   * @default 10
   */
  logPeriod?: number;

  /**
   * scales with delta to effect training rate --> number between 0 and 1
   * @default 0.3
   */
  learningRate?: number;

  /**
   * scales with next layer's change value --> number between 0 and 1
   * @default 0.1
   */
  momentum?: number;

  /**
   * a periodic call back that can be triggered while training --> null or function
   * @default null
   */
  callback?: INeuralNetworkTrainingCallback | number;

  /**
   * the number of iterations through the training data between callback calls --> number greater than 0
   * @default 10
   */
  callbackPeriod?: number;

  /**
   * the max number of milliseconds to train for --> number greater than 0
   * @default Infinity
   */
  timeout?: number;
  praxis?: null | 'adam'
}

Motivation and Context
Because brain.js is awesome.
How Has This Been Tested?

Screenshots (if appropriate):
Types of changes
NO CHANGE
Author's Checklist:

[ ] My code focuses on the main motivation and avoids scope creep.
[ ] My code passes current tests and adds new tests where possible.
[ ] My code is SOLID and DRY.
[x] I have updated the documentation as needed.

Reviewer's Checklist:

[ ] I kept my comments to the author positive, specific, and productive.
[ ] I tested the code and didn't find any new problems.
[ ] I think the motivation is good for the project.
[ ] I think the code works to satisfies the motivation.

Very nice job!


Async order; new item on top

Hello,
How can I sort result by ordering new item on top with async?
Thank you

There's no support for this within AngularFire2 but it is feasible to write a pipe that filters the result after the async pipe.
<li *ngFor="let item of items | async | newOnTop">

Check out the docs on pipes for more info.


input-method module: use xim for GTK Fcitx

Things done

[X] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] OS X
[ ] Linux

[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

Fcitx has a xim interface, which works better for GTK applications. On my KDE desktop, the fcitx IM module doesn't work for GTK applications. Only xim works.

This is related to GTK_IM_MODULE cache problems. (see #14019)
#14568 should fix this problem and is close to merge.
IMHO we shouldn't set xim as default as it has issues.
For the record, Fcitx main developer explained the details of xim problems in this comment :

... XIM is extremely outdated (90s), buggy (synchronous call everywhere, can easily freeze app if input method server quits), unmaintained (many TODOs in source which is never implemented for years), and lacks of important features comparing with what an native im module can provides, e.g. surrounding text support which is commonly used in Japanese input method.

Thanks! Closing this pull request.


Publicly visible projects?

Should there be an option to make a project publicly visible? There'd be a link somewhere, maybe on the home page, to browse the list of publicly visible projects.
We could use this to show off curated content repositories - e.g., a "stuff that's on mathcentre.ac.uk" project, or "open access resources for business studies".
And if projects can be public, should users be allowed to join on their own without being invited? They wouldn't get editing access, but would get the project's timeline items in their own timeline. Maybe it should be "watch this project" instead of joining the list of members.

Implemented in 659ca08e779889313eb0c67f7c39dc8295dff6e1


Occasional segfaults in event_loop teardown due to dead logger

Describe the bug
I am using distributed and pyarrow, which links to this SDK for s3 file access.
Using version 1.11.156, I see (intermittently, so a race condition of some kind) a segfault in the "EvntLoopCleanup" thread that AWS-SDK sets up.
See backtrace below.
Expected Behavior
No segfault
Current Behavior
Backtrace:
(gdb) info thread
  Id   Target Id                                           Frame
  1    Thread 0x7ffff7fe8740 (LWP 54918) "python"          _dl_close_worker (map=map@entry=0x5555c05d20a0,
    force=force@entry=false) at dl-close.c:794
  3    Thread 0x7fff809ff700 (LWP 54931) "jemalloc_bg_thd" 0x00007ffff7bc2065 in futex_abstimed_wait_cancelable (
    private=<optimized out>, abstime=0x7fff809fed70, expected=0, futex_word=0x7fff81016634)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  5    Thread 0x7fff15d9e700 (LWP 54934) "cuda-EvtHandlr"  0x00007ffff7132bb9 in __GI___poll (fds=0x55555b07c900, nfds=2,
    timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  10   Thread 0x7fff1559d700 (LWP 54941) "AwsEventLoop 1"  0x00007ffff713f947 in epoll_wait (epfd=37, events=0x7fff1559c950,
    maxevents=100, timeout=100000) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
  11   Thread 0x7ffed9cd2700 (LWP 54942) "cuda-EvtHandlr"  0x00007ffff7132bb9 in __GI___poll (fds=0x7ffed4000bd0, nfds=10,
    timeout=100) at ../sysdeps/unix/sysv/linux/poll.c:29
  12   Thread 0x7ffed9270700 (LWP 54943) "python"          0x00007ffff7bc2065 in futex_abstimed_wait_cancelable (
    private=<optimized out>, abstime=0x7ffed926fe80, expected=0, futex_word=0x55555b156768)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  55   Thread 0x7ffe91dda700 (LWP 54988) "jemalloc_bg_thd" 0x00007ffff7bc1ad3 in futex_wait_cancelable (
    private=<optimized out>, expected=0, futex_word=0x7fff81016704) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  57   Thread 0x7ffe8f728700 (LWP 54991) "jemalloc_bg_thd" 0x00007ffff7bc1ad3 in futex_wait_cancelable (
    private=<optimized out>, expected=0, futex_word=0x7fff810167d4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
* 84   Thread 0x7fff8eb84700 (LWP 55056) "EvntLoopCleanup" 0x00007fff82829b90 in Aws::Utils::Logging::s_aws_logger_redirect_get_log_level (logger=0x7fff8290b2f0 <Aws::Utils::Logging::s_sdkCrtLogger>, subject=1025)
    at /usr/local/src/conda/aws-sdk-cpp-1.11.156/src/aws-cpp-sdk-core/source/utils/logging/CRTLogging.cpp:73

(gdb) bt
#0  0x00007fff82829b90 in Aws::Utils::Logging::s_aws_logger_redirect_get_log_level (
    logger=0x7fff8290b2f0 <Aws::Utils::Logging::s_sdkCrtLogger>, subject=1025)
    at /usr/local/src/conda/aws-sdk-cpp-1.11.156/src/aws-cpp-sdk-core/source/utils/logging/CRTLogging.cpp:73
#1  0x00007fff81e2e7d3 in s_destroy ()
   from /opt/conda/envs/dask/lib/python3.9/site-packages/pyarrow/../../../././libaws-c-io.so.1.0.0
#2  0x00007fff81e28786 in s_aws_event_loop_group_shutdown_sync ()
   from /opt/conda/envs/dask/lib/python3.9/site-packages/pyarrow/../../../././libaws-c-io.so.1.0.0
#3  0x00007fff81e287d9 in s_event_loop_destroy_async_thread_fn ()
   from /opt/conda/envs/dask/lib/python3.9/site-packages/pyarrow/../../../././libaws-c-io.so.1.0.0
#4  0x00007fff81fa9359 in thread_fn ()
   from /opt/conda/envs/dask/lib/python3.9/site-packages/pyarrow/../../../././libaws-c-common.so.1
#5  0x00007ffff7bbb6db in start_thread (arg=0x7fff8eb84700) at pthread_create.c:463
#6  0x00007ffff713f61f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) p *CRTLogSystem._M_ptr
$8 = {_vptr.CRTLogSystemInterface = 0x0}

So it looks like in attempting to log something, the (static?) CRTLogSystem has already been torn down.
(I can attempt to build libaws-c-io with symbols as well to get more information).
Reproduction Steps
This is not that easy (I have not yet managed to minimise at all sorry!). Needs an NVIDIA gpu and a cuda toolkit in the host environment + nvidia container toolkit.
$ git clone https://github.com/dask/distributed
$ docker run --rm -it --gpus device=1 --network=host --volume $PWD:/workspace --workdir /workspace --entrypoint /bin/bash docker.io/gpuci/distributed:23.10-cuda11.5-devel-ubuntu18.04-py3.9
# in container
$ export PATH=/opt/conda/bin:/usr/local/cuda/bin:$PATH
$ export PARALLEL_LEVEL=${PARALLEL_LEVEL:-4}
$ cd /workspace
$ export DASK_DISTRIBUTED__ADMIN__SYSTEM_MONITOR__GIL__ENABLED=False
$ . /opt/conda/etc/profile.d/conda.sh
$ conda activate dask
$ python -m pip install -e .
$ python -m pip install git+https://github.com/dask/dask
# this might need to be run a few times
$ pytest distributed -v -m gpu --runslow -k 'ping_pong or transpose'

Possible Solution
No response
Additional Information/Context
SDK version 1.10.x doesn't exhibit this issue.
AWS CPP SDK version used
1.11.156
Compiler and Version used
g++ (conda-forge gcc 12.3.0-2) 12.3.0
Operating System and version
Ubuntu 18.04

Can you reproduce this on something other than a NIVDIA gpu? If so can you provide the detailed reproduction steps for that?

Can you reproduce this on something other than a NIVDIA gpu? If so can you provide the detailed reproduction steps for that?

I will give it a go and get back to you (it may take a little while), thanks!

@wence- has been busy with other tasks, but I finally succeeded in coming up with a reproducer that doesn't require GPUs, I'm not entirely sure the bug is the same as the stack I see is somewhat different from that in the original description:
(gdb) bt
#0  aws_mem_release (allocator=0x55c315d103b9, ptr=0x55c649b598d0) at /home/mambauser/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-common/source/allocator.c:210
#1  0x00007fbbf0accc55 in Aws::Crt::StlAllocator<char>::deallocate (this=0x55c649b598a0, this=0x55c649b598a0, p=<optimized out>)
    at /home/mambauser/aws-sdk-cpp/crt/aws-crt-cpp/include/aws/crt/StlAllocator.h:56
#2  std::allocator_traits<Aws::Crt::StlAllocator<char> >::deallocate (__n=<optimized out>, __p=<optimized out>, __a=...)
    at /opt/conda/envs/aws-segfault/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/alloc_traits.h:345
#3  std::__cxx11::basic_string<char, std::char_traits<char>, Aws::Crt::StlAllocator<char> >::_M_destroy (__size=<optimized out>, this=0x55c649b598a0)
    at /opt/conda/envs/aws-segfault/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h:245
#4  std::__cxx11::basic_string<char, std::char_traits<char>, Aws::Crt::StlAllocator<char> >::_M_dispose (this=0x55c649b598a0)
    at /opt/conda/envs/aws-segfault/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h:240
#5  std::__cxx11::basic_string<char, std::char_traits<char>, Aws::Crt::StlAllocator<char> >::_M_dispose (this=0x55c649b598a0)
    at /opt/conda/envs/aws-segfault/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h:237
#6  std::__cxx11::basic_string<char, std::char_traits<char>, Aws::Crt::StlAllocator<char> >::~basic_string (this=0x55c649b598a0, __in_chrg=<optimized out>)
    at /opt/conda/envs/aws-segfault/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/basic_string.h:672
#7  std::default_delete<std::__cxx11::basic_string<char, std::char_traits<char>, Aws::Crt::StlAllocator<char> > >::operator() (this=<optimized out>,
    __ptr=0x55c649b598a0) at /opt/conda/envs/aws-segfault/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/unique_ptr.h:85
#8  std::unique_ptr<std::__cxx11::basic_string<char, std::char_traits<char>, Aws::Crt::StlAllocator<char> >, std::default_delete<std::__cxx11::basic_string<char, std::char_traits<char>, Aws::Crt::StlAllocator<char> > > >::~unique_ptr (this=<optimized out>, __in_chrg=<optimized out>)
    at /opt/conda/envs/aws-segfault/x86_64-conda-linux-gnu/include/c++/11.4.0/bits/unique_ptr.h:361
#9  0x00007fbe99af3495 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x00007fbe99af3610 in exit () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x00007fbe99ad7d97 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x00007fbe99ad7e40 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#13 0x000055c646edb421 in _start ()

To run the reproducer a system with Docker available is required, first save the snippet below named aws-segfault.dockerfile:
aws-segfault.dockerfile
FROM mambaorg/micromamba:jammy

# Install runtime, build and debug dependencies
RUN micromamba create -c conda-forge -n aws-segfault \
        python=3.10 \
        cuda-version=11.8 \
        pyarrow=12.0.1 \
        aws-sdk-cpp=1.11.156 \
        pytest \
        pytest-cov \
        pytest-timeout \
        cmake \
        c-compiler \
        cxx-compiler \
        gcc_linux-64=11.* \
        make \
        gdb \
        git

SHELL ["micromamba", "run", "-n", "aws-segfault", "/bin/bash", "-c"]

# Install distributed from source in developer mode
RUN cd ${HOME} \
    && git clone https://github.com/dask/distributed \
    && cd distributed \
    && git checkout 2023.9.2 \
    && pip install -e .

# Build and install aws-sdk-cpp from source with debug config
# Note: we must unset SCCACHE_BUCKET that is predefined by the base image
RUN unset SCCACHE_BUCKET \
    && cd ${HOME} \
    && git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp \
    && cd aws-sdk-cpp \
    && git checkout 1.11.181 \
    && mkdir build \
    && cd build \
    && cmake .. \
        -DCMAKE_BUILD_TYPE=Debug \
        -DCMAKE_PREFIX_PATH=$CONDA_PREFIX \
        -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
        -DBUILD_ONLY="s3" \
        -DAUTORUN_UNIT_TESTS=OFF \
        -DENABLE_TESTING=OFF \
    && cmake --build . --config=Debug \
    && cmake --install . --config=Debug

COPY test_aws_segfault.py /home/mambauser/distributed/test_aws_segfault.py
WORKDIR /home/mambauser/distributed

And save the following named test_aws_segfault.py to the same local directory:
test_aws_segfault.py
import pytest

pytestmark = pytest.mark.gpu

from distributed import Client
from distributed.deploy.local import LocalCluster
from distributed.utils_test import gen_test

@gen_test()
async def test_aws_segfault():
    from pyarrow.fs import FSSpecHandler, PyFileSystem
    da = pytest.importorskip("dask.array")

    async with LocalCluster(
        protocol="tcp", n_workers=2, threads_per_worker=2, dashboard_address=":0", asynchronous=True
    ) as cluster:
        async with Client(cluster, asynchronous=True):
            assert cluster.scheduler_address.startswith("tcp://")
            x = da.ones((10000, 10000), chunks=(1000, 1000)).persist()
            await x
            y = (x + x.T).sum()
            await y

With both files present in the local directory, build the docker image:
docker build -t aws-segfault:latest -f aws-segfault.dockerfile .

Then start the container:
docker run --rm -ti aws-segfault:latest /bin/bash

Inside the container run:
micromamba activate aws-segfault
python -m pytest -vs test_aws_segfault.py
# Or run with gdb
# gdb --args python -m pytest -vs test_aws_segfault.py
# run

With the instructions above I consistently got a segfault and didn't need to run multiple times to reproduce.

This should be fixed with these two PR's:

https://github.com/aws/aws-sdk-cpp/pull/2859
https://github.com/aws/aws-sdk-cpp/pull/2885
Please let us know if you're still running into this error.

Thanks, we'll keep an eye out.


Problem with Super mario 3D World

I have an NVidia GPU geforce 210. I can play it but in black and white. With the graphic pack of AA(Antialiasing) Removal, i can see in color But the game is seen in half.
Any help with this?
thanks

update graphic drivers. not a graphic pack issue or a cemu issue

actually, you need a new graphic card. AFAIK this one is incompatible with Cemu


Broken link

[Enter feedback here]
There's a link on this page to the following resource: https://docs.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/network/progressive-web-apps. This link is broken and leads to a page that does not exist.

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

ID: 42ed05ac-9e2a-0809-47fb-75919b50d4ba
Version Independent ID: 00e0f6cf-74f8-29fa-3ac0-78291fd5f428
Content: Network Analysis Reference - Microsoft Edge Development
Content Source: microsoft-edge/devtools-guide-chromium/network/reference.md
Product: microsoft-edge
Technology: devtools
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

@DenysVuika
Thank you for bringing this issue to our attention.
Your Issue resulted in an update to the documentation.
Please follow PR #925 for future updates.


Code need to modify

This code is not working as not getting record from Application Are Setup for modification and it is throwing error
procedure EnableExampleExtension()
var
ApplicationAreaSetup: Record "Application Area Setup";
ExperienceTierSetup: Record "Experience Tier Setup";
ApplicationAreaMgmtFacade: Codeunit "Application Area Mgmt. Facade";
begin
if ExperienceTierSetup.Get(CompanyName()) then;
if not ExperienceTierSetup.Essential then
exit;
    if ApplicationAreaMgmtFacade.GetApplicationAreaSetupRecFromCompany(ApplicationAreaSetup, CompanyName()) then begin

ApplicationAreaSetup.Get(Companyname(),'','');
ApplicationAreaSetup."Example App Area" := true;
ApplicationAreaSetup.Modify();
        // Without this line the app area is enabled only at the next login
        ApplicationAreaMgmtFacade.SetupApplicationArea();
    end;
end;

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

ID: 4a3450e9-9c90-8384-3fd1-0a207713fad6
Version Independent ID: a0d40f3c-17e3-0024-c845-452b05b47354
Content: Extending Application Areas - Business Central
Content Source: dev-itpro/developer/devenv-extending-application-areas.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

@AmolSalvi can you please give more details about the error that you have mentioned in the issue above?
Secondly, the line of code ApplicationAreaSetup.Get(Companyname(),'',''); inside the IF statement does not exist in the documentation.

That's the code which need to add in documentation.
Without .Get statement system is not getting required application area and it throws error that application area setup not found.
I written following code.
If ExperienceTierSetup.Get(CompanyName()) then;
if not ExperienceTierSetup.Essential then
exit;
if ApplicationAreaMgmtFacade.GetApplicationAreaSetupRecFromCompany(ApplicationAreaSetup, CompanyName()) then begin
ApplicationAreaSetup.Get(CompanyName(), '', '');  //Added by me
ApplicationAreaSetup."DSVC WHT APP AREA" := true;
ApplicationAreaSetup.Modify();
ApplicationAreaMgmtFacade.SetupApplicationArea();

ApplicationAreaSetup.GET(CompanyName,'','') should already be called as part of the ApplicationAreaMgmt.GetApplicationAreaSetupRecFromCompany. Can you please try it again and send us the sample extension?

Thanks for the feedback. I am closing this issue as this is not really documentation related. Please use our support channel for further questions. Thanks.


 You should do:
$ go get -u google.golang.org/api/pubsub/v1beta2

But if we added import declarations to the top of the files (https://golang.org/s/go14customimport) then the go tool would've told you this automatically instead of confusing you.
/cc @gmlewis @mcgreevy

It worked. My fault for not using the correct import.
Thanks.
On Tue, Sep 29, 2015 at 11:20 AM Brad Fitzpatrick<EMAIL_ADDRESS>wrote:

You're cloning it from the wrong location. You should do:
$ go get -u google.golang.org/api/pubsub/v1beta2
But if we added import declarations to the top of the files (
https://golang.org/s/go14customimport) then the go tool would've told you
this automatically instead of confusing you.
/cc @gmlewis https://github.com/gmlewis @mcgreevy
https://github.com/mcgreevy
—
Reply to this email directly or view it on GitHub
https://github.com/google/google-api-go-client/issues/106#issuecomment-144092255
.


setPlaybackRate is not working. Changing video's speed is not working while using Vimeo source.

I am using Angular 10 and ngx-plyr 4.0.0 and plyr 3.6.3
Expected behaviour
User should be able to change speed of the video.
Actual behaviour
When I am adding Google Tag Manager scripts to my project I start receiving below error:

So whenever I try to change the speed of the video, it brings out the same error in console and there is no change in speed of the video.
Steps to reproduce
This is how I am using the plyr in HTML

Where vimeoSources is
[{
src: 'Some vimeo url',
provider: 'vimeo'
}]
and plyrOptions: Plyr.Options = {fullscreen : {enabled: true, fallback: true, iosNative: true, allowAudio: true}};
And in the index.html, when I have following Google Tag Manager scripts to head or body

Environment

Browser: Chrome
Version: v87.0.4280.88
Operating System: Windows
Version: 10

Console errors (if any)

Link to where the bug is happening
https://cinchy.tv/all-videos/424

Unfortunately, this API method is only for Pro and Business accounts:
https://github.com/vimeo/player.js/#setplaybackrateplaybackrate-number-promisenumber-rangeerrorerror
I will add this to the docs.

Unfortunately, this API method is only for Pro and Business accounts:
https://github.com/vimeo/player.js/#setplaybackrateplaybackrate-number-promisenumber-rangeerrorerror
I will add this to the docs.

Last I confirmed with my team,  we do have a pro account,  and the setPlayBack rate works when it is being used without Google tag manager APIs script in index.html. If I remove those Google scripts, it starts working, what's the reason for that?

Last I confirmed with my team,  we do have a pro account,  and the setPlayBack rate works when it is being used without Google tag manager APIs script in index.html. If I remove those Google scripts, it starts working, what's the reason for that?

Unfortunately, this API method is only for Pro and Business accounts:
https://github.com/vimeo/player.js/#setplaybackrateplaybackrate-number-promisenumber-rangeerrorerror
I will add this to the docs.

Unfortunately, this API method is only for Pro and Business accounts:
https://github.com/vimeo/player.js/#setplaybackrateplaybackrate-number-promisenumber-rangeerrorerror
I will add this to the docs.

Last I confirmed with my team, we do have a pro account, and the setPlayBack rate works when it is being used without Google tag manager APIs script in index.html. If I remove those Google scripts, it starts working, what's the reason for that?

Unfortunately, this API method is only for Pro and Business accounts:
https://github.com/vimeo/player.js/#setplaybackrateplaybackrate-number-promisenumber-rangeerrorerror
I will add this to the docs.

Unfortunately, this API method is only for Pro and Business accounts:
https://github.com/vimeo/player.js/#setplaybackrateplaybackrate-number-promisenumber-rangeerrorerror
I will add this to the docs.

Last I confirmed with my team, we do have a pro account, and the setPlayBack rate works when it is being used without Google tag manager APIs script in index.html. If I remove those Google scripts, it starts working, what's the reason for that?

In that case, I'll take a look. It could be we're not exposing the method for Vimeo.

In that case, I'll take a look. It could be we're not exposing the method for Vimeo.

Any update on this?

Sorry, will take a look ASAP.


Display a report not working for newby to django

Afternoon. I am so lost after week of slugging. I think I got quite far. But still cant add an easy report.
I am trying to make a simple report.
I have changed your menu structure.
I have one model addad to mysql database.
If I migrate, migration works perfect, so I know that the database connection works.
models.py
class test_list(models.Model):
DateCaptured = models.DateTimeField(null=True)
DeviceName = models.CharField(max_length=50, null=True)
DeviceModel = models.CharField(max_length=50, null=True)
So reports.py
class TestList(ReportView):
report_title = _("TestList")
report_model = test_list
# report_title = _("No-Group-By Report")
# date_field = "DateCaptured"
date_field = ""
group_by = ""
columns = [
    "DeviceName",
    "DeviceModel",
]

When I click on menu item on left a popup box comes saying
DataTables warning: table id=DataTables_Table_0 - Requested unknown parameter 'DeviceName' for row 0, column 0. For more information about this error, please see http://datatables.net/tn/4
Please help. I need to show a list view of some data with basic filter functions soon, and I am stuck.
Jakes

If i run python manage.py collectstatic
I get
django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
The only static directory I am seeing is
slick_reporting\static
can i reference that in settings.py?

Man I am going backwards.
Following these steps, i endup with reports no data:
clone the repo
git clone https://github.com/ra-systems/django-slick-reporting.git
create a virtual environment and activate it
python -m venv /path/to/new/virtual/environment
source /path/to/new/virtual/environment/bin/activate
cd django-slick-reporting/demo_proj
pip install -r requirements.txt
python manage.py migrate
python manage.py create_entries
python manage.py runserver
And the following error when i click on some reports:
http://<IP_ADDRESS>:8000/group-by-report/?start_date=2023-01-01+00%3A00%3A00&end_date=2023-10-16+18%3A36%3A24
4.2.6
ImproperlyConfigured
date_field or [start_date_field_name and end_date_field_name] must be set for <demo_app.reports.GroupByReport object at 0x0000017FBE6FDC40>

BTW I tried clone repo with those steps three times same result.

Hello Jakes, not at my PC so a brief pointer.
For  ReportView you need a date_field but for a ListReportView you can't have a date_field possibly even if set to "".
You probably don't need collectstatic for a localhost setup.
Watch out for groupby with a FKey. Only fields on the FK model can be columns.

Hello @gocamiot
For the Demo:
I suspect that the virtual env you use to test the demo, have django-slick-reporting installed.
You can check that by executing
pip freeze | grep django-slick-reporting
If so , then uninstall it, pip uninstall django-slick-reporting and run the demo.
I just checked the demo app on the repo and it's running fine.
For the empty data
If you see no data, make sure that some data actually exists in the model and are within the date filter (if any) .
Hope this helps

hey @RamezIssac ,
Ok, so clean install, like the steps. Works SPOT on now. Thank you. I will try and do that with my custom reports on your framework. I let you know. Thank you for coming back to me!
Have a blessed day mate.

Watch out for groupby with a FKey. Only fields on the FK model can be columns.

I will digest and try to figure out what you meant here. Thank you. Again much much apreciated.

My own reports now working. Thank you. I will keep you posted. Have a blessed day.


About your Biobert pretrain model

Hi Emily,
I still have one question.
For your model pretrained from Biobert, which version of Biobert you are using?
From biobert: https://github.com/naver/biobert-pretrained, there are 4 versions.
Thank you : )

We used Pre-trained weight of BioBERT v1.0 (+PubMed 200K +PMC 270K)


Microsoft Visual-Studio: Problems with multiple Files with same Name

-Version:  Microsoft Visual Studio 2017
Problems with multiple Files with same Name leads to warning:
warning MSB8027:
Multiple files named features.c result in output to the same location.
This can cause an incorrect builder result. The affected files are
......\iota.c\src\client\api\json_parser\outputs\features.c,
......\iota.c\src\core\models\outputs\features.c.

I have renamed the affected Files. I have not found another possibility.


Make code clearer

The code was using std::mem::swap() to work around the borrow-checker.
Without this call it's clearer what the code actually does.

I find add_all_to_batch() easier to read now. But I'm not really sure about the change of add_entries() which was sadly needed.


Fix Apple Silicon (M1) install.

Description
On the MacBook Pro with Apple Silicon (M1), uname returns darwin. However, the script (line 37) only looked for linux, resulting in the install not running with sudo. The fix includes checking for darwin so the script will have the proper permission to write in /usr/local/bin.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #634
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Extended the documentation

This should also fix #612


Show xml parsing errors

Description
Please describe your pull request:

Why is it necessary?
As a developer i will know the error :(
What does it improve?
Shows the xml parsing error
Does it have side effects?
Nope

Questions
Answers

BC breaks?
yes/no

Tests pass?
yes/no

Related tickets?
If this PR fixes an existing Issue ticket, please add its complete issue URL.

How to test?
Please describe how to best verify that this PR is correct.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-18143.
Please use this issue to track the state of your pull request.

thanks for your contribution @shyim :+1:
your PR will be merged soon


Expand Indicator Not Animating on Android 6.0

Only the expand animator (MorphButton) in the first row animates, the ones in the other rows do not animate. Reproduced on Nexus 5X and Genymotion Nexus 5X on sample downloaded from Play Store and on sample built from master.

Confirmed. It looks like a vector-compat library issue. I will try to implement a workaround later. Thanks!
ref.)  https://github.com/wnafee/vector-compat/issues/29

Hi. I have just released v0.8.5. I have changed the indicator implementation not to use the vector-compat library.

vector-compat is incompatible with the latest Gradle plugin
vector-compat is not working properly on Marshmallow

I decided to use native VectorDrawable since v0.8.5 demo app, so indicators will not animate on KitKat or older Android.

Cool thanks for following up on this issue and for your work on this lib!


Recursive check?

I'd like to check dependencies of dependencies for out-of-date versions.

Yep, I completely agree after thinking how it would actually work.

I hate to Lazarus this issue, but I have the same use case described above, and given that there are (very useful!) implementations of this in other build tools (Maven's dependencies plugin, lein-ancient, etc.) I'm surprised that this isn't a goal of the project.
@Olical if it's not too much to ask, would you care to go into more detail about why this is a non-goal?  I get that the implementation might be tricky, but given that a) this is valuable functionality, and b) there's prior art, that doesn't seem like it could be the sole reason not to have it as an objective.

Would deps-ancient or antq do the trick? They both seem great!
This codebase is now an amalgamation of other people's pull requests so I'm reluctant to dive in and do anything with it any more. I've got my hands full with work on Conjure and regular £££ work. With hindsight, I should've kept this project super simple and promoted others building forks etc since there's no one size fits all solution for this problem space.
Everyone has their own trade offs, wants and needs, there's no way I could ever support all of them I'm afraid. One of those things is checking every dependency, even those of transient dependencies. I've never once had a need for this so I presume it's for a very specific workflow. The best bet may be forking an existing tool that comes close to get it to work how you want.
I'm not really maintaining this project right now so I'd recommend trying to find a working solution with one of the alternatives out there.

For any future readers - antq doesn't recursively check dependency versions either, and deps-ancient no longer seems to be functional (I get nonsensical output on my current project).


mv version package to core/ledger/internal/pkg

Type of change

Improvement (improvement to code structure)

Description
To ensure the serializable isolation level for transactions, we have implemented optimistic concurrency control (OCC) in v1.0. Refer to this paper for more details -- https://www.eecs.harvard.edu/~htk/publication/1981-tods-kung-robinson.pdf
This OCC approach attaches a version to each state update and uses it to detect serializable violations. As this package is core to the ledger package and non-ledger packages must not use it, we move version package to core/ledger/internal/pkg
Additional details
A test in core/common/validation/statebased unnecessarily imported version package. This PR fixes that too as the core/ledger/internal/pkg can be imported only within the core/ledger
Related issues
FAB-17707

@mastersingh24 Agree. It is a valid point. After your comment, I did google search and found this article https://dave.cheney.net/2019/10/06/use-internal-packages-to-reduce-your-public-api-surface

Packages within an internal/ directory are therefore said to be internal packages

Among the many goals of ledger refactoring, one of them is to reduce the folder depth. core/ledger/internal/pkg/version is definitely not helping as compared to what you suggested, i.e., core/ledger/internal/version. Hence, I will push a PR to remove the pkg within the internal.


for latest code see pyqrcodeNG - outstanding pull requests

I ended up spending a bit of time looking at this before realizing that this project has not been active for the last 4 years and newer code is available.
TL'DR
pip install pyqrcodeng

will get latest code from https://github.com/pyqrcode/pyqrcodeNG with the same API as this project (note that repo as of 2020 is now officially unmaintained but the code is ahead of this repo and includes PRs made against this repo which are open).
Also consider https://github.com/heuer/segno which is maintained.
Thanks everyone who contributed to this project especially Michael who spent the time to get this started, polished and shared out.

Background reading:

#52
#55
https://github.com/pyqrcode/pyqrcodeNG/issues/16


Using templates

I haven't found any mention of mail gateway template support. How can this be implemented?

It is not currently supported. Any PR to add this is welcome!


A coprocessor to sample keys

@tspannhw thank you for this nice example.  It looks like you inspired an implementation of aggregation in the hbase-endpoint module.
I'm curious if you have run across a method to sample keys in order to find out what types of data are stored in a table?  Reasonable arguments would start-key, end-key, and sample-fraction.
Can you think of other ways to extract a key scheme?

This is a generic coprocessor, doing nothing special.
You can just use Phoenix and have a SQL table on top of them for optimum


Enhancement: Add composer scripts for easily running development tools

This PR

[x] adds composer scripts for easily running development tools, as well as a corresponding CONTRIBUTING.md

Build failure is unrelated and fixed with #40.

Build failure is unrelated and fixed with #45.

Thank you, @Jan0707!


Add Kubernetes storage ID validation

Closes #179

Codecov Report

Merging #180 into master will increase coverage by 0.87%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #180      +/-   ##
==========================================
+ Coverage   75.77%   76.65%   +0.87%
==========================================
  Files          27       27
  Lines        1218     1221       +3
==========================================
+ Hits          923      936      +13
+ Misses        218      213       -5
+ Partials       77       72       -5

Impacted Files
Coverage Δ

internal/storage/kubernetes/kubernetes.go
92.30% <100.00%> (+8.05%)
:arrow_up:

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 7c95b51...cdd5aa8. Read the comment docs.


Customize Elasticsearch index settings (mappings etc.) in config file

Would you be interested in PR implementing the above?

Yes that sounds interesting, especially if you could add some more unittest coverage.

Unfortunately it takes too much effort to build/deploy journalpump on our production OS (old CentOS). Closing the issues for now.


Adding a Header Section.

Issue Title: Add Header Section with Home Bar
Description:
The current application lacks a header section. A well-designed header can improve the user experience by providing easy navigation and access to important information. Adding a header section that includes a home bar.
Expected Behavior:
The header should be visible at the top of every page. It should include:

A home bar that takes users back to the main page.
The name or logo of the application.
Any other important links or information relevant to the application.

hey @Neel-07 i would love to work on this issue also

Hey @devham236 would you like to work on this issue?

done @devham236

Hello @Neel-07, I'd like to work on this issue. Could you please assign it to me?

Oh, I seem to be late, there is already a header bar. Sorry for bothering, I should've been more observant 😅

no issues @LyubomirT  you can star the repo, will be opening new issues shortly, keep an eye on the repo, and if you have any suggestions on improving or enhancing the site feel free open a new issue.